Open bherbruck opened 3 months ago
@bherbruck thanks for the report!
We've updated the requirements on main and are working on a release with support for the new numpy.
Unfortunately we didn't have this as requirement on previous versions, we'll do our best to put a warning in our documentation for the older versions. CC: @jakaskerl
Linking the PR as well https://github.com/luxonis/depthai-python/pull/1039
The latest version of
numpy
(v2.0.0
) seems to breakdai.ImgFrame
. It is auto-installed when installing thedepthai
package.Specifically, it causes frames to be a single grayscale color.
I recommend hard-coding the version into the build-tools or updating the library to work with it, could be an
opencv
thing. This could break all past versions that don't have a pinned version ofnumpy
(or maybeopencv
) inrequirements.txt
. I had this issue onopencv-python==4.10.0.84
and everydepthai>=2.0.0.0
.A workaround is to do this in your
requirements.txt