This commit is contained in:
NikolajDanger
2022-09-19 14:07:03 +02:00
parent 3cf229f0f5
commit ed4b409b18

View File

@ -1,7 +1,7 @@
# This script shows how to open a camera in OpenCV and grab frames and show these. # This script shows how to open a camera in OpenCV and grab frames and show these.
# Kim S. Pedersen, 2022 # Kim S. Pedersen, 2022
from cv2 import cv2 # Import the OpenCV library import cv2 # Import the OpenCV library
def gstreamer_pipeline(capture_width=1024, capture_height=720, framerate=30): def gstreamer_pipeline(capture_width=1024, capture_height=720, framerate=30):