MCPcopy
hub / github.com/everythingishacked/Semaphore / is_arm_crossed

Function is_arm_crossed

semaphore.py:137–138  ·  view source on GitHub ↗
(elbow, wrist, max_dist)

Source from the content-addressed store, hash-verified

135 return angle
136
137def is_arm_crossed(elbow, wrist, max_dist):
138 return dist.euclidean([elbow['x'], elbow['y']], [wrist['x'], wrist['y']]) < max_dist
139
140def is_arms_crossed(elbowL, wristL, elbowR, wristR, mouth_width):
141 max_dist = mouth_width * ARM_CROSSED_RATIO

Callers 1

is_arms_crossedFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected