Hemendra

how to get length of image of camera

Recommended Posts

 

please guide, how to get (measure) length between 2 points setting manually in image of camera. 

Thank you

 

 

Share this post


Link to post
Share on other sites

A couple issues:

1) you would have to have an image that is a set distance from the camera, and then calibrate it.  DAQFactory can only really figure out the distance in pixels, and you'd have to convert that to actual distance based on the actual image.

2) if you are using the browser control for your image, you aren't going to be able to get any mouse information if the mouse is over the control because the browser captures it all.  

#1 is pretty easy to solve.  Just put a tape measure in the image at the same distance from the camera and calibrate.  #2 requires some creative workaround.  I would consider using vertical or horizontal lines that go under the image and then use the keyboard to tweak them.  Then you can easily calculate the distance using the coordinates of those lines.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now