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

Method findDistance

cvzone/HandTrackingModule.py:135–157  ·  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 Image w

(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 1

mainFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected