USB WEBCAM FRAME CHANGE IS VERY SLOW

camera_id = “/dev/video0”

# Open video capture with V4L2 backend

video_capture = cv2.VideoCapture(camera_id, cv2.CAP_V4L2)

THIS IS THE PIECE OF CODE I HAVE USED AND ITS WORKING FINE AND I AM ABLE TO ACCESS THE WEBCAM BUT THERE IS TOO MUCH LAG DURING THE FRAME CHANGE

Hello,

What NVIDIA product are you using? Once I know this info, I can move your topic to the correct category.

nvidia jetson orin nano developer kit

Hi,
We suggest run gstreamer pipeline in cv2.VideoCapture(). Please refer to FAQ to run the USB camera in gst-launch-1.0:
Jetson AGX Orin FAQ

And then apply to the sample for a try:
V4l2src using OpenCV Gstreamer is not working in Jetson Xavier NX - #3 by DaneLLL

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.