OpenCV (cv2)
The most widely used computer-vision library: image processing, camera capture, features, calibration and DNN inference.
Easy
cap = cv2.VideoCapture(0)
while True:
ok, frame = cap.read()
cv2.imshow("camera", frame)
if cv2.waitKey(1) == ord("q"): break
Spotted a mistake or want to add detail? Suggest an improvement — Content Contributors' edits are reviewed by editors before they go live.
Discussion (0)
Sign in or join free to ask questions and discuss this topic.