Ask Your Question

Revision history [back]

Hi, I fixed this problem with installation of v4l drivers instead of uv4l drivers. With OpenCV2, my simple source code is :

import cv2

capture = cv2.VideoCapture(0) // For camera in dev/video0 capture.set(3, 640) // ID 3 for width capture.set(4,480) // ID4 for height

while True: ret, im = capture.read() cv2.imshow("Picamera", im)

Cyb