how to get length of image of camera


Recommended Posts

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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.