-
Notifications
You must be signed in to change notification settings - Fork 652
Speed calculation
-
Take one frame|snapshot from video and open it in Paint or another editor (Gimp, Photoshop etc). Remember it resoltion: 1280x720 pixels
-
Find some big feature on road wich can find on satellite from Gooogle.Map. For example Pillar on the left side. Move mouse cursor to the pillar and remember it pixel coordinates: (420, 347)
-
Normalize pixel coordinates - divide they on frame size: (420/1280, 347/720) = (0,328125, 0,481944444444444)
-
Find this pillar on Google.Maps and remember it geographic cooordinates (right click on map, left on coordinates - copied to clipboard).
-
Open or create geo_bind.ini text file with any text editor and write values to the first binding pair
-
Repeate 3 times steps 2-5 and create 4 bindings points.
-
Ready! You can run example and see on result with speed calculation