Categories: MSDN / DotNet / Java / Scripts / Linux / PHP Ask - La ask - La Answer

Webcam Image Comaprison

hi all, i've been working on a personal project that involves capturing images via a webcam to keep a car on a predefined track. i tried out some methods but they were too slow to keep up with the car.

there are 3 possible outcomes for the software. (the car is in the center of the track, the car is heading to the left of the track {need to turn right} and the car is heading to the right of the track {need to turn left} )i tried converting the bitmap image captured to black and white and then compare it with 3 reference images. but this method is too slow.

i was thinking about detecting colour changes at certain area of the image, however, i have no idea on how to implement that. anyone care to provide any advice?
[747 byte] By [moss] at [2007-11-11 8:26:42]