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, ...
applyColorMap for pseudocoloring in OpenCV ( C++ / Python )
In this tutorial we will first show a simple way to pseudocolor / false color a grayscale image using OpenCV's predefined colormaps. We will also show a way to define a custom colormap if ...
How Computer Vision Solved the Greatest Soccer Mystery of All Time
30th of July 1966. Wembley Stadium, London. World Cup Soccer finals. England 2, Germany 1. For the English team victory was tantalizingly within reach. Victory was just seconds away. Victory looked ...
Read an Image in OpenCV ( Python, C++ )
In OpenCV you can easily read in images with different file formats (JPG, PNG, TIFF etc.) using imread. The basic usage is shown below C++ Python The flags option is used to control ...
Turn your OpenCV Code into a Web API in under 10 minutes — Part 1
Wouldn't it be cool if you could expose your OpenCV python code as a web service ? Got 10 minutes ? Let's get started! I have created a video that walks you through the process. ...
How to compile OpenCV sample code ?
Let's say you want to compile and run the face detection sample code that comes with the OpenCV. This code is located at OpenCV 2.4.x : /path/to/opencv/samples/c/facedetect.cppOpenCV 3 : ...