OpenCV Tutorial demonstrates how a Python program is built to measure the distance of a hand using a single webcam
I love how the logic is unpacked at each stage, and it is the approach most programmers will use to simplify what can become complex as it progresses to completion. You test each stage before starting a new one, and this is where you’d notice the X measurement is not sufficient to provide accurate results, and why the diagonal measurement is more accurate. Then testing whether it is a linear relationship or not, and so you keep building up the following stages.
Although this was for hand recognition and distance interpretation, the type of approach could be followed for face tracking or anything else.
See OpenCV Knows Where Your Hand Is
#technology #opensource #programming #coding #Python
We have to say, [Murtaza]’s example game in his latest video isn’t very exciting. However, the OpenCV technique he uses to track a hand and determine its distance from a single camera i…
source https://gadgeteer.co.za/opencv-tutorial-demonstrates-how-a-python-program-is-built-to-measure-the-distance-of-a-hand-using-a-single-webcam/?pk_campaign=feed&pk_kwd=opencv-tutorial-demonstrates-how-a-python-program-is-built-to-measure-the-distance-of-a-hand-using-a-single-webcam
Comments