Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Visibility TypeError #24

Open
Oh-JongJin opened this issue Mar 16, 2022 · 1 comment
Open

Visibility TypeError #24

Oh-JongJin opened this issue Mar 16, 2022 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@Oh-JongJin
Copy link
Contributor

[000001ee3b9ae790] mmdevice audio output error: cannot initialize COM (error 0x80010106)
[000001ee3b9af2c0] mmdevice audio output error: cannot initialize COM (error 0x80010106)
QWindowsWindow::setGeometry: Unable to set geometry 942x393+9+9 (frame: 942x393+9+9) on QWidgetWindow/"QFrameClassWindow" on "\\.\DISPLAY2". Resulting geometry: 942x393+969+85 (frame: 942x393+969+85) margins: 0, 0, 0, 0)
Process producer:
Traceback (most recent call last):
  File "C:\Users\User\anaconda3\envs\nd01\lib\multiprocessing\process.py", line 315, in _bootstrap
    self.run()
  File "C:\Users\User\anaconda3\envs\nd01\lib\multiprocessing\process.py", line 108, in run
    self._target(*self._args, **self._kwargs)
  File "D:\Workspace\update_ui\src\video_thread_mp.py", line 63, in producer
    visibility_front = target_info.minprint(epoch[:-2], rear_left_range, rear_right_range,
  File "D:\Workspace\update_ui\src\target_info.py", line 18, in minprint
    result = minrgb(upper_left, lower_right, cp_image)
  File "D:\Workspace\update_ui\src\target_info.py", line 45, in minrgb
    t_idx = np.where(sum_rgb == np.min(sum_rgb))
  File "<__array_function__ internals>", line 180, in amin
  File "C:\Users\User\anaconda3\envs\nd01\lib\site-packages\numpy\core\fromnumeric.py", line 2916, in amin
    return _wrapreduction(a, np.minimum, 'min', axis, None, out,
  File "C:\Users\User\anaconda3\envs\nd01\lib\site-packages\numpy\core\fromnumeric.py", line 86, in _wrapreduction
    return ufunc.reduce(obj, axis, dtype, out, **passkwargs)
ValueError: zero-size array to reduction operation minimum which has no identity
@Oh-JongJin Oh-JongJin added the bug Something isn't working label Mar 16, 2022
@Oh-JongJin Oh-JongJin self-assigned this Mar 16, 2022
@Oh-JongJin
Copy link
Contributor Author

ValueError: zero-size array to reduction operation minimum which has no identity

It occurs when the image is cropped or resized and the coordinate value suitable for the image is not given.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant