Closed kimjsik08 closed 9 months ago
Hi @kimjsik08 , do you have depthai-sdk version 1.2.3 installed, as per requirements.txt?
Hello, I applied your fix and now I am getting a new type of error!
File "C:\Users\kimjs\PycharmProjects\OakD\depthai-experiments\gen2-record-replay\record.py", line 17, in <module>
_quality_choices = tuple(str(q).split('.')[1] for q in EncodingQuality)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\kimjs\PycharmProjects\OakD\depthai-experiments\gen2-record-replay\record.py", line 17, in <genexpr>
_quality_choices = tuple(str(q).split('.')[1] for q in EncodingQuality)
~~~~~~~~~~~~~~~~~^^^
IndexError: list index out of range
Hi @kimjsik08 , Could you please try https://github.com/luxonis/depthai-experiments/pull/480 ?
I think you could change that line 17 into:
_quality_choices = tuple([q.name for q in EncodingQuality])
Should fix the problem.
_quality_choices = tuple([q.name for q in EncodingQuality])
This fixed the problem. Thanks, I appreciate it!
I am having this error:
I tried to manually go through sdk files and find "EncodingQuality" function, but I could not. Am I missing something here?
Maybe it has to do something with the fact that I had a problem installing something from requirements.txt file?
Maybe this error is not an issue because I already had depthai 2.21 installed...