How to Build a Kick-Ass Mobile Document Scanner in Just 5 Minutes

Building a document scanner with OpenCV can be accomplished in just three simple steps: Step 1: Detect edges. Step 2: Use the edges in the image to find the contour (outline) representing the piece of paper being scanned. Step 3: Apply a perspective transform to obtain the top-down view of the document. Really. That’s it. Only three steps […]

Continue Reading 324

How-To: 3 Ways to Compare Histograms using OpenCV and Python

So you’ve extracted color histograms from a set of images… But how are you going to compare them for similarity? You’ll need a distance function to handle that. But which one? How you choose? And how do you compare histograms using Python and OpenCV? Don’t worry, I’ve got you covered. In this blog post I’ll […]

Continue Reading 103