Getting Digicam Feed from the Raspberry Pi.

Python code:.

import cv2.
import numpy as np.
cap1 = cv2.VideoCapture().
whilst Correct:.
ret1, img1 = cap1.examine().
cv2.imshow(‘ video output1’, img1).
k= cv2.waitKey(10) & 0xff.
if k= =-LRB- **********):.
fracture.
cap1. launch().
cv2.destroyAllWindows().

resource

2 thoughts on “Live streaming WEBCAM with Raspberry Pi 3 & OpenCV (Python code)”

Leave a Reply

Your email address will not be published. Required fields are marked *