Click here to Skip to main content
14,766,261 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I want to measure length of an object from photo.

How can I do it?

Please help me.

What I have tried:

I got some codes in opencv but I want it in javascript so that I can use it on web app.
Posted
Updated 20-Aug-20 5:41am
Comments
Richard MacCutchan 20-Aug-20 11:12am
   
You need a frame of reference. e.g the scale of the picture and the actual dimensions of some feature in the image.
Member 14589077 20-Aug-20 12:34pm
   
thanks

1 solution

There is no one way to do this. There are many techniques, but not every technique is going to be valid to use for every photo.

Start doing some research on this by Googling for "measure length of object in a photo". You'll come up with lots of results for various techniques.
   

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900