I'm looking at making a pretty cheap and easy odometer, eventually for an electric car or similar vehicle.
My idea is pretty much to implement a big computer mouse, and track the speed of motion with that: Aa computer mouse takes photos of the surface it is on, and finds the difference between concurrentsequential images in both the xX and the yY directions.
What I am wanting to do is to attach a downwards-facing camera; something like this, to the bottom of the vehicle, and use an arduino nanoArduino Nano to do the image processing to achieve a result similar to a computer mouse.
I was wondering whether anyone knows of an libraries/documentation on anything similar, or if anyone has any pointers on reasons why this would not work, or ways it would work.
Thanks all.