Dear All,
I'm able to stream the frames from my RGB888 supported camera using qv4l2. Now I want to stream the frames using opencv application and python.
I've tried the below code and it shows distorted images and not clear.
import numpy as np import cv2 cap = cv2.VideoCapture(4) if not(cap.isOpened()): cap.open() while(cap.isOpened()): ret, frame = cap.read() cv2.imshow('frame',frame) if cv2.waitKey(1) & 0xFF == ord('q'): break cap.release() cv2.destroyAllWindows()
BTW, my camera produces the RGB888 format frames.
Can you please support on this issue ?
Regards, Titus S.