OpenCV is the huge open-source library for the computer vision, machine learning, and image processing and now it plays a major role in real-time operation which is very important in today’s systems.
Note: For more information, refer to Introduction to OpenCV
Depth Map : A depth map is a picture where every pixel has depth information(rather than RGB) and it normally represented as a greyscale picture. Depth information means the distance of surface of scene objects from a viewpoint. An example of pixel value depth map can be found here : Pixel Value Depth Map using Histograms
Stereo Images : Two images with slight offset. For example, take a picture of an object from the center. Move your camera to your right by 6cms while keeping the object at the center of the image. Look for the same thing in both pictures and infer depth from the difference in position. This is called stereo matching. To have best results, avoid distortions.
- Collect or take stereo images.
- Import OpenCV and matplotlib libraries.
- Read both left and right images.
- Calculate disparity using stereo.compute.
Attention geek! Strengthen your foundations with the Python Programming Foundation Course and learn the basics.
To begin with, your interview preparations Enhance your Data Structures concepts with the Python DS Course.
- Arithmetic Operations on Images using OpenCV | Set-2 (Bitwise Operations on Binary Images)
- Erosion and Dilation of images using OpenCV in python
- Addition and Blending of images using OpenCV in Python
- Python | Denoising of colored images using opencv
- Python | Create video using multiple images using OpenCV
- Python | Grayscaling of Images using OpenCV
- Python - Process images of a video using OpenCV
- Drawing with Mouse on Images using Python-OpenCV
- Measure similarity between images using Python-OpenCV
- Concatenate images using OpenCV in Python
- Draw geometric shapes on images using OpenCV
- Arithmetic Operations on Images using OpenCV | Set-1 (Addition and Subtraction)
- OpenCV - Facial Landmarks and Face Detection using dlib and OpenCV
- Transition from OpenCV 2 to OpenCV 3.x
- Python | Find depth of a dictionary
- PyQt5 QSpinBox - Getting depth
- PyQt5 QCalendarWidget - Bit Depth
- Web crawling using Breadth First Search at a specified depth
- Working with Images in Python
- Get emotions of images using Microsoft emotion API in Python
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to email@example.com. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.