Xilinx / RFSoC-PYNQ

Python productivity for RFSoC platforms
Other
52 stars 26 forks source link

[RFSoC 4x2] Errors in the notebook "display_port_introduction" #34

Open Darol23 opened 4 months ago

Darol23 commented 4 months ago

Errors have been found in the notebook "display_port_introduction" of the RFSoC 4x2 here: https://discuss.pynq.io/t/rfsoc-4x2-issue-with-the-notebook-display-port-introduction/7077

1) change "capture = cv2.VideoCapture(0)" to "capture = cv2.VideoCapture(0,cv2.CAP_V4L2)"

2) change "capture.read(frame)" into "ret, img = capture.read() frame[:] = img "

Thank you for your attention