Hi,
I downloaded repo "GEN2-RECORD-REPLAY" from "https://github.com/luxonis/depthai-experiments/tree/update_record_replay/gen2-record-replay"
When I run "record.py", I have the following error:
Exception has occurred: AttributeError
*
'depthai.CameraBoardSocket' object has no attribute 'upper'
File "C:\Users\wubi\Desktop\depthai-tutorials-master\gen2-record-replay\record.py", line 52, in create_cam cam = oak.create_camera(socket, encode=dai.VideoEncoderProperties.Profile.MJPEG) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\wubi\Desktop\depthai-tutorials-master\gen2-record-replay\record.py", line 95, in <module> cam = create_cam(socket) ^^^^^^^^^^^^^^^^^^ AttributeError: 'depthai.CameraBoardSocket' object has no attribute 'upper'
Could you please help me out here?
Thanks!
Wu Bi