Motion Tracking test using openCV

BlitzMax Forums/BlitzMax Programming/Motion Tracking test using openCV

Here is a test of simple motion tracking for windows.

http://www.members.optusnet.com.au/ziltch/TrackerTest.zip

The zip contains an exe and the needed dll's for running the test. You will just need a webcam.

Included is also the source but you will need to download openCV from sourceforge if you wish to modify the dll I did the c code in. I used Devcpp to write the dll. My c is very rough , so if any one has any improvements, please tell me!

The main problem that i have been tring to improve is the FPS. with a 640x480 webcam the max I get is 3-4 FPS. I spent ages trying to figure out how to change the resolution of the camera but found out the commands in openCV to do this are not working.

When running the programing, after the webcam vid appears, you can use the left mouse button to draw tracking points.

Does this contain a Blitzmax wrapper for the OpenCV library?

No. It is not needed. The bitzmax code uses the openCV commands from the openCV dll's and I wrote a c dll to keep the tracking code simple.

The program also has a linedraw effect mode option on the webcam input.