however I got below error: cv2.error: OpenCV(4.2.0) …/modules/imgcodecs/src/loadsave.cpp:730: error: (-215:Assertion failed) !buf.empty() in function ‘imdecode_’
for the second question, yes I did connect the PCAM 5C camera
and I tried below notebook, and can run successfully
so, what is the problem here, is it because binary file “…/overlay/cv_dfx_4_pr.bit” I used has bugs,
(and it’s the old version? v1.0?)
or because that HDMIVideo function is deprecated.
I just fixed the MIPI notebook, so let’s forget about it.
(I use the URL in setup.py in your repo and download the newest overlay for PYNQ-ZU, and adjust my code, now it’s working properly, thanks for your code and resource. )
However, I am running your notebook file for webcam, and it has below error, how can I fix it?
I also get the same issue (using an e-con systems see-3cam usb camera attatched to the Kria Kv260 running Pynq3.0.1 with Ubuntu 22.04).
When running the compsable overlay examples (08_webcam_pipeline or common->usb_webcam) the camera works upon first attempt after booting the board, but presents either this error:
You can try to unplug the camera and plug it back.
This issue should be fixed on Composable 1.1.0 (beta), but it seems that you are still on Composable 1.0.0
Thanks for the feedback, I am using the pynq composable overlay that came pre installed on the PYNQ 3.0.1 image (note: the images in my last post were copied and pasted from the original post not my jupyter nb, but messages are the same).
How would I go about updating to composable 1.1.0 (beta), do I clone the repo?
I am using the pynq composable overlay that came pre installed on the PYNQ 3.0.1 image (note: the images in my last post were copied and pasted from the original post not my jupyter nb, but messages are the same).
Then you should have the latest version of the composable overlay.
Yeah I’m not sure why it’s happening. Seems to corrupt the display port output as even after running the stop webcam block, the display port output doesnt return to ubuntu (in my case command line ubuntu 22.04) but remains black. It still can be communicated to through the root terminal notebook within jupyter however.
Update: changed usb webcam to a logitech C920 from the e-con systems see3CAM_CU30 and it seems to be more stable. Does not crash the display port output with every execution like before.