Category Archive: opencv

Oct 17

Structure-from-Motion Toy Lib Upgrades to OpenCV 3

sfm toy lib

The toy SfM library is upgraded to OpenCV 3.x and gets a ton of simplifications.


Mar 04

[Python] OpenCV capturing from a v4l2 device

A python snippet on capturing from a v4l2 camera into OpenCV


Mar 02

OpenCV Python YAML persistance

A python snippet for saving OpenCV FileStorage-compatible YAML files


May 08

Quickly: How to render a PDF to an image in C++?

How to render a PDF to an image in C++ using Poppler


Feb 17

Augmented Reality on libQGLViewer and OpenCV-OpenGL tips [w/code]

How to create an augmented reality app with QGLViewer, including some tips on camera calibration and extrinsic parameters from OpenCV to OpenGL.


Feb 07

Simplest 20-lines OpenCV video stabilizer [w/ code]

A simple and short video stabilizer with OpenCV.


Feb 05

Using Hidden Markov Models for staff line removal (in OMR) [w/code]

From left to right: Original binarized images, staff lines annotated by HMM,  staff lines removed.

So lately I'm into Optical Music Recognition (OMR), and a central part of that is doing staff line removal. That is when you get rid of the staff lines that obscure the musical symbols to make recognition much easier. There are a lot of ways to do it, but I'm going to share with you …

Continue reading »


Jan 21

Run length encoding in OpenCV [w/code]

RLE example

Code snippet for RLE calculation on OpenCV Mats


Jan 14

Simplest Color Balance with OpenCV [w/code]

Color balance

A very simple color balancing algorithm in OpenCV C++


Dec 18

Simple NURBS renderer [w/ code]

Screen Shot 2013-12-18 at 11.01.23 AM

Simple NURBS renderer, reading from a DXF


Older posts «