cv.threshold applies fixed threshold value to each pixel. Six different thresholding types available: BINARY, TRUNC, TOZERO, TOZERO_INV. Returns original image and threshold value as outputs
Videos are processed by looping through frames one at a time. VideoCapture() creates video capture objects for streaming or displaying. VideoWriter() saves output videos to disk. get() method retrieves video metadata like frame height and width
Face recognition identifies people by drawing boxes and giving precise names. Tutorial uses Adam Geitgey's code from GitHub repository. Project requires installation of opencv-python and face_recognition libraries
Pre-built CPU-only OpenCV packages for Python. Available under MIT license. Supports Python 3.7 through 3.12
Python offers multiple libraries for image processing and display. Five main libraries: OpenCV, Matplotlib, Pillow, Scikit-Image, Tensorflow
Install opencv-python package for Python 3. Use pip install opencv-contrib-python for full OpenCV functionality. Install opencv-python-headless for GUI-less version. Install opencv-contrib-python-headless for GUI-less version