How to measure distance of object (in image) with openCV.js
Hello,
Firstly i would like to mention that i am a absolute newbie to openCV. I am planning to detect the distance of the object from an image ,based on that i would decide where my camera should look. This would be implemented in nodejs in raspberry pi.
My question is how can detect/measure the distance of the object for this. As somebody in a fb community pointed to me use optical flow algorithm followed by euclidean distance .But unfortunately there isnt enough resources/ tutorials on it. The below links were available but i am not sure how to use them/or call them from my nodejs /javascript script.
And thus this post. Please help and guide me. Thanks in advance.
P.S - I have strong understanding of Python and Javascript.
great, now try to grasp a minimal understandig of the maths you're facing
Hi, shariq_azim I also looking for the same answer, if you get it please let me know if I get I will let you know.
@Adam108 -- please do not post answers here, if you have a question or a comment, thank you.