March 2020
Intermediate to advanced
366 pages
9h 8m
English
Hand gestures are analyzed by the recognize function; this is where the real magic takes place. This function handles the entire process flow, from the raw grayscale image to a recognized hand gesture. It returns the number of fingers and the illustration frame. It implements the following procedure:
def recognize(img_gray: np.ndarray) -> Tuple[int,np.ndarray]: # segment arm region segment = segment_arm(img_gray)
Read now
Unlock full access