Computer Vision

cv2 videocapture

cv2 videocapture | OpenCV Video Capture

In this OpenCV Tutorial, you’ll learn how to capture video from a camera in OpenCV Python. If you want to capture video from your laptop camera then use this cv2.VideoCapture(0). I highly recommend you get the “Computer Vision: Models, Learning, and Inference Book” to learn computer vision.

Histogram Equalization OpenCV

Histogram Equalization OpenCV

In this OpenCV Tutorial, you’ll learn how to perform histogram equalization in OpenCV Python. Histogram equalization is used in image processing for contrast adjustment. I highly recommend you get the “Computer Vision: Models, Learning, and Inference Book” to learn computer vision. In the following example, I will use this image. Output: