In this tutorial we will learn how to fill holes in a binary image. Consider the image on the left in Figure 1. Let's say we want to find a binary mask that separates the coin from the background ...
Search Results for: c
Find frame rate (frames per second-fps) in OpenCV (Python/C++)
In OpenCV the class VideoCapture handles reading videos and grabbing frames from connected cameras. There is a lot of information you can find about the video file you are playing by using the ...
Delaunay Triangulation & Voronoi Diagram Using OpenCV ( C++ / Python )
In a previous post I discussed two libraries for facial landmark detection, and had pointed to several interesting applications like Face Morphing, Face Replacement etc. that use facial landmarks. In ...
OpenCV (C++ vs Python) vs MATLAB for Computer Vision
We often confuse our tools for our craft. Tools help you practice your craft, but they do not make you a good craftsman. A good craftsman has many different tools in her pocket, and she judiciously ...
Facial Landmark Detection
Who sees the human face correctly: the photographer, the mirror, or the painter? -- Pablo Picasso If Picasso was alive today, he would have definitely added one more profession to that list -- a ...
Why does OpenCV use BGR color format ?
One of the elements of good design is the principle of least astonishment ( a.k.a principle of least surprise). A good intuitive design makes the user not think. When you see a handle on a door, ...