David J. Barnes

567 W 18th Street
Chicago, Il 60616 U.S.A.
+1 (312) 351-52849
Hello@DavidJBarnes.com
David J Barnes | Software Engineer Welcome
Current Projects
Publicly Available Software
Research Interests
Tutorials and Code Examples
Professional Experience
Charity & Volunteer Work
On Robotics and Mechatronics

Tutorials and Code Examples


OpenCV Object Tracking Based on Pixel Color

This example provides a quick overview of how to track an object in OpenCV using pixel values. The algorithm is far more efficient than using cvGet2D(). Instead the IplImage imageData matrix is accessed directly and pixels are read pixel by pixel.

OpenCV Haar Training - Object Detection Based on Haar-like Features

OpenCV provides a way to train and create your own classifiers using Haar-like features in HaarTraining. The result of training is an xml file that contains the definitions of your classifier. This tutorial provides a high-level overview of creating a classifier.

Creating a Kalman Filter in C++ with OpenCV

Using a Kalman filter is a powerful way to track objects in motion. The below code was written in C++ and was tested and developed in CodeBlocks using OpenCV 1.1pre. The filter is used to predict the real position of an object being tracked. A dynamic model is developed using historical measurements. These measurements are then used to maximize the probability of the target.

Serial Port Programming in C++

A simple method for communicating with a PCs serial port. You can leverage the Windows API to connect to an available com port. The WritePort(param1, param2, param3, param4) takes four parameters and returns a bool(retVal) describing the sucess of the call.

----