(Image from https://github.com/facebookresearch/co-tracker/blob/main/gradio_demo/videos/bear.mp4)
Shape : (1, 3, 854, 480)
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 video,
$ python3 cotracker3.pyIf you want to specify the input video, put the video path after the --input option.
You can use --savepath option to change the name of the output file to save.
$ python3 cotracker3.py --input IMAGE_PATH --savepath SAVE_IMAGE_PATHBy default, the ailia SDK is used. If you want to use ONNX Runtime, use the --onnx option.
$ python3 cotracker3.py --onnxPytorch 2.4
ONNX opset=20