I recently purchased the Video Experimenter Kit and tried using it with an Iduino UNO. I tried the ObjectTracking Program and initially could not get it to run. I edited out the tv.capture and search for max and min sections in the code and just left the code that creates the box and coordinates- that seemed to work as confirmed by my TV. When I enabled the tv.capture line again the program hung at that line. Help
The issue seems to be with the output signal from the IR camera I am using. The tv.capture function worked fine using an Iduino UNO when I used a high quality DVD player as the video source.
When I compared the video signals of the IR camera and DVD player using an o-scope, it showed that the timing was slightly different. I tried changing the [#define _NTSC_TIME_SCANLINE 63.55] value in the video_properties.h file and that didn’t seem to help. I then experimented with the value of ‘W’ in the main program. It was 128 originally, and I found that I could get the IR camera to work if I lowered that value to 119 or less.
I was hoping to find the source code for tv.cature in order to see how all the parameters in the video_properties.h file were used, so that I could make an intelligent change to the timing in the tv.capture file. I was unable to find what I was looking for- what did I miss?