You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "C:\Users\User\depthai\emotion.py", line 5, in <module>
from depthai_sdk.classes import TwoStagePacket, Detections, ImgDetection, DetectionPacket, TextPosition
ImportError: cannot import name 'TextPosition' from 'depthai_sdk.classes' (C:\Users\User\AppData\Roaming\Python\Python311\site-packages\depthai_sdk\classes\__init__.py)
(depthai) PS C:\Users\User\depthai> python emotion.py
Downloading C:\Users\User\.cache\blobconverter\face-detection-retail-0004_openvino_2021.4_6shave.blob...
[==================================================]
Done
Downloading C:\Users\User\.cache\blobconverter\age-gender-recognition-retail-0013_openvino_2021.4_6shave.blob...
[==================================================]
Done
Closing OAK camera
Traceback (most recent call last):
File "C:\Users\User\depthai\emotion.py", line 39, in <module>
oak.start(blocking=True) # This call will block until the app is stopped (by pressing 'Q' button)
^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\User\AppData\Roaming\Python\Python311\site-packages\depthai_sdk\oak_camera.py", line 305, in start
self.poll()
File "C:\Users\User\AppData\Roaming\Python\Python311\site-packages\depthai_sdk\oak_camera.py", line 331, in poll
self._oak.check_sync()
File "C:\Users\User\AppData\Roaming\Python\Python311\site-packages\depthai_sdk\oak_device.py", line 43, in check_sync
sync.check_queue(block=False) # Don't block!
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\User\AppData\Roaming\Python\Python311\site-packages\depthai_sdk\oak_outputs\xout\xout_base.py", line 94, in check_queue
self.visualize(packet)
File "C:\Users\User\AppData\Roaming\Python\Python311\site-packages\depthai_sdk\oak_outputs\xout\xout_frames.py", line 67, in visualize
self.callback(packet)
TypeError: cb() missing 1 required positional argument: 'visualizer'
In https://github.com/luxonis/depthai-experiments/blob/master/gen2-emotion-recognition/main.py
The text was updated successfully, but these errors were encountered: