Skip to content

Instantly share code, notes, and snippets.

@surfertas
Created August 3, 2020 11:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save surfertas/27091ee64c08240eace51fbd4007659e to your computer and use it in GitHub Desktop.
Save surfertas/27091ee64c08240eace51fbd4007659e to your computer and use it in GitHub Desktop.
Example param file for pipeline with a topic input used with the ros2_openvino_toolkit
Pipelines:
- name: object
inputs: [RealSenseCameraTopic]
infers:
- name: ObjectDetection
model: /opt/openvino_toolkit/open_model_zoo/model_downloader/object_detection/common/mobilenet-ssd/caffe/output/FP32/mobilenet-ssd.xml
engine: CPU
label: /opt/openvino_toolkit/open_model_zoo/model_downloader/object_detection/common/mobilenet-ssd/caffe/output/FP32/mobilenet-ssd.labels
batch: 1
confidence_threshold: 0.5
enable_roi_constraint: true # set enable_roi_constraint to false if you don't want to make the inferred ROI (region of interest) constrained into the camera frame
outputs: [ImageWindow, RosTopic]
connects:
- left: RealSenseCameraTopic
right: [ObjectDetection]
- left: ObjectDetection
right: [ImageWindow]
- left: ObjectDetection
right: [RosTopic]
OpenvinoCommon:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment