MCPcopy Create free account
hub / github.com/cvzone/cvzone / findDistance

Method findDistance

cvzone/PoseModule.py:97–119  ·  view source on GitHub ↗

Find the distance between two landmarks input should be (x1,y1) (x2,y2) :param p1: Point1 (x1,y1) :param p2: Point2 (x2,y2) :param img: Image to draw output on. If no image input output img is None :return: Distance between the points

(self, p1, p2, img=None, color=(255, 0, 255), scale=5)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 4

mainFunction · 0.95
FaceMeshExample.pyFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected