↧
How to build rav1e on Ubuntu
This will fetch and build the current git master of rav1e. The build process has been tested on Ubuntu 18.04 with rav1e git revision 49dcaada4. sudo apt update sudo apt -y install cargo git perl nasm...
View ArticleHow to take a webcam picture using OpenCV in Python
This code opens /dev/video0 and takes a single picture, closing the device afterwards: import cv2 video_capture = cv2.VideoCapture(0) # Check success if not video_capture.isOpened(): raise...
View ArticleHow to set cv2.VideoCapture() image size in Python
Use cv2.CAP_PROP_FRAME_WIDTH and cv2.CAP_PROP_FRAME_HEIGHT in order to tell OpenCV which image size you would like. import cv2 video_capture = cv2.VideoCapture(0) # Check success if not...
View Article
More Pages to Explore .....