This demo demonstrates the recognition of semaphore alphabet.
For each arm (segment shoulder-elbow), its angle with the vertical axe is calculated. The pair of left and right arm angles gives the letter.
-> python3 demo.py -h
usage: demo.py [-h] [-m {full,lite,831}] [-i INPUT] [-o OUTPUT]
optional arguments:
-h, --help show this help message and exit
-m {full,lite,831}, --model {full,lite,831}
Landmark model to use (default=full
-i INPUT, --input INPUT
'rgb' or 'rgb_laconic' or path to video/image file to
use as input (default: rgb)
-o OUTPUT, --output OUTPUT
Path to output video file