579
edits
No edit summary |
|||
Line 760: | Line 760: | ||
<source lang="bash"> | <source lang="bash"> | ||
# MODELS_PATH has the following structure | |||
#. | |||
#├── InceptionV1_onnxrt | |||
#│ ├── graph_inceptionv1_info.txt | |||
#│ ├── graph_inceptionv1.onnx | |||
#│ └── labels.txt | |||
#├── InceptionV2_onnxrt | |||
#│ ├── graph_inceptionv2_info.txt | |||
#│ ├── graph_inceptionv2.onnx | |||
#│ └── labels.txt | |||
#├── InceptionV3_onnxrt | |||
#│ ├── graph_inceptionv3_info.txt | |||
#│ ├── graph_inceptionv3.onnx | |||
#│ └── labels.txt | |||
#├── InceptionV4_onnxrt | |||
#│ ├── graph_inceptionv4_info.txt | |||
#│ ├── graph_inceptionv4.onnx | |||
#│ └── labels.txt | |||
#├── TinyYoloV2_onnxrt | |||
#│ ├── graph_tinyyolov2_info.txt | |||
#│ ├── graph_tinyyolov2.onnx | |||
#│ └── labels.txt | |||
#└── TinyYoloV3_onnxrt | |||
# ├── graph_tinyyolov3_info.txt | |||
# ├── graph_tinyyolov3.onnx | |||
# └── labels.txt | |||
model_array=(inceptionv1 inceptionv2 inceptionv3 inceptionv4 tinyyolov2 tinyyolov3) | model_array=(inceptionv1 inceptionv2 inceptionv3 inceptionv4 tinyyolov2 tinyyolov3) | ||
model_upper_array=(InceptionV1 InceptionV2 InceptionV3 InceptionV4 TinyYoloV2 TinyYoloV3) | model_upper_array=(InceptionV1 InceptionV2 InceptionV3 InceptionV4 TinyYoloV2 TinyYoloV3) | ||
MODELS_PATH=/path/to/models/ | |||
INTERNAL_PATH=onnxrt | |||
EXTENSION=".onnx" | |||
gst-launch-1.0 \ | gst-launch-1.0 \ |
edits