Ask Your Question
0

How to measure road widths from surveyed photographs

asked 2017-09-15 11:01:33 -0600

GIST gravatar image

I'm new to OpenCV and haven't been able to find any examples or methodologies to solve the following problem. I've been tasked to find out if it would be possible to determine the road widths from images taken by a Dash Camera that is connected to a GPS receiver. Any advice in how to get started in solving the following will be appreciated. I'm also open to suggestion regarding camera's that would allow me to achieve the following. The roads that we are going to survey is primarily asphalt and has road markings for the lanes.

Currently the surveyor that is surveying the visual road condition is using a Logitech C920 Web Camera attached to G-Star IV GPS receiver. We would like to see if we could capture the road width's from the images that is currently being captured every 10 meters. The following is an example of the photographs been take by the following equipment.

image description

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2017-09-15 14:56:47 -0600

daveg2 gravatar image

Always try to break down your problem into more simple parts. Whilst there may not be many examples of people trying to measure the width of roads, there are many people doing similar things that could help. This problem could be broken into two steps:

  1. Find edges of road.
  2. Measure distance between edges.

There are many ways to detect edges using opencv, I suggest starting here: http://docs.opencv.org/2.4/doc/tutori... More specifically for edges of a road, here's an example of one to get started: https://mistywest.com/machine-learnin...

Once you've figured out a robust way of finding the edges, you'll need to calibrate the camera at a certain distance in order to get the resolution. Again, there are many ways you could do this, but opencv have a nice example using a checkerboard here: http://docs.opencv.org/2.4/doc/tutori...

Hope that helps, Dave

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2017-09-15 11:01:33 -0600

Seen: 1,118 times

Last updated: Sep 15 '17