Skip to content

Latest commit

 

History

History
 
 

minimal-hand

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

Minimal Hand

Input

Input

(Image from https://github.com/CalciferZh/minimal-hand/blob/master/teaser.gif)

Output

Output

Usage

Automatically downloads the onnx and prototxt files on the first run. It is necessary to be connected to the Internet while downloading.

For the sample image,

$ python3 minimal-hand.py

If you want to specify the input image, put the image path after the --input option.

$ python3 minimal-hand.py --input IMAGE_PATH

The pre-trained model is for left hand.
If you want to input the right hand image, add the --right-hand option it will be flipped internally.

$ python3 minimal-hand.py --right-hand

By adding the --video option, you can input the video.
If you pass 0 as an argument to VIDEO_PATH, you can use the webcam input instead of the video file.

$ python3 minimal-hand.py --video VIDEO_PATH

Reference

Framework

TensorFlow

Model Format

ONNX opset = 11

Netron