Archive | Image Processing

Bubble sheet multiple choice scanner and test grader using OMR, Python and OpenCV

Over the past few months I’ve gotten quite the number of requests landing in my inbox to build a bubble sheet/Scantron-like test reader using computer vision and image processing techniques. And while I’ve been having a lot of fun doing this series on machine learning and deep learning, I’d be lying if I said this little […]

Continue Reading 149

Ordering coordinates clockwise with Python and OpenCV

Today we are going to kick-off a three part series on calculating the size of objects in images along with measuring the distances between them. These tutorials have been some of the most heavily requested lessons on the PyImageSearch blog. I’m super excited to get them underway — and I’m sure you are too. However, before we start learning how to […]

Continue Reading 50

OpenCV shape detection

This tutorial is the second post in our three part series on shape detection and analysis. Last week we learned how to compute the center of a contour using OpenCV. Today, we are going to leverage contour properties to actually label and identify shapes in an image, just like in the figure at the top of this post. […]

Continue Reading 235

OpenCV center of contour

Today, we are going to start a new 3-part series of tutorials on shape detection and analysis. Throughout this series, we’ll learn how to: Compute the center of a contour/shape region. Recognize various shapes, such as circles, squares, rectangles, triangles, and pentagons using only contour properties. Label the color of a shape. While today’s post is […]

Continue Reading 95
[email]
[email]