CONCEPT FOR SPEED CAMERA APP

The place to discuss anything and everything about running your LiveCode on Android

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
newtronsols
Posts: 192
Joined: Tue Mar 11, 2014 12:57 pm

CONCEPT FOR SPEED CAMERA APP

Post by newtronsols » Mon Jan 26, 2015 2:31 am

My phone camera takes 3 images to create a HDR image. Each image is taken .x second apart.
So imagine if that was a picture of a moving car - from behind. There would be 3 number plates spaced 0.x seconds apart.
By calculating the pixel distance between each number plate the distance moved by the car could be calculated. So we know the time .x between images and the pixel distance moved. If say 1 pixel = .1 metre [would need a reference scale?], theoretically the speed of the car could be calculated in mph/kph.

By processing the component images of a hdr image of a moving car the speed of a car could be determined.

Problems:
-ref pixel scale. In theory if a government site like UK DVLC was accessed - number plate captured - identify the car - then access a database of car widths to determine the pixel scale.
- car angle to camera. If the car is not perfectly square with the camera. Then the width/distance moved would be more difficult to calc.

Just an idea for someone to play with...

Post Reply

Return to “Android Deployment”