Archive | Tutorials

Text skew correction with OpenCV and Python

Today’s tutorial is a Python implementation of my favorite blog post by Félix Abecassis on the process of text skew correction (i.e., “deskewing text”) using OpenCV and image processing functions. Given an image containing a rotated block of text at an unknown angle, we need to correct the text skew by: Detecting the block of text in the […]

Continue Reading 8

Seam carving with OpenCV, Python, and scikit-image

Easily one of my all-time favorite papers in computer vision literature is Seam Carving for Content-Aware Image Resizing by Avidan and Shamir from Mitsubishi Electric Research Labs (MERL). Originally published in the SIGGRAPH 2007 proceedings, I read this paper for the first time during my computational photography class as an undergraduate student. This paper, along with […]

Continue Reading 18

macOS: Install OpenCV 3 and Python 3.5

Last week I covered how to install OpenCV 3 with Python 2.7 bindings on macOS Sierra and above. In today’s tutorial we’ll learn how to install OpenCV 3 with Python 3.5 bindings on macOS. I decided to break these install tutorials into two separate guides to keep them well organized and easy to follow. To learn how to […]

Continue Reading 62