Node Parameters
The following parameters are used in the Object Detection node.
Name: Input the node name used in a specific flow.
- default: object-detection
- type: string
Device: Select the target detection mode to be used. Currently available are CPU, GPU, VPU, and TPU.
- default: CPU
- type: string
In case you select VPU as your target device, you will be displayed with an additional field where you can indicate how many VPU target devices you would like to run your models on, or run the edge inference on both CPU and VPU. To do that, simply enter
MYRIAD,MYRIAD,CPU as an example. This means, that the inference will be performed on 2x VPUs and 1x CPU.
Model Name: Select one of the most popular public models for object detection or link a custom trained model.
- Available models: See here
- default: yolov3
- type: string
Detection Labels: Select the target object(s) to be detected. A single or multiple objects can be selected.
- default: person
- type: string
Custom Model: You can link your own custom model by adding the model URL. Please refer to
this guide with detailed instructions.
Detection Score Threshold: Refers to the threshold value for confidence score filtering.
- default: 0.5
- range: (0.0~1.0)
Detection Overlap Threshold: Refers to the threshold value for overlap (non-maximum-suppression) filtering.
- default: 0.7
- range: [0.0, 1.0]
Detection Size Width / Height: Refers to the threshold values for size filtering.
- range: [0.0, 1.0]
- default:
min_width: 0.01, max_width: 0.5
min_height: 0.01, max_height: 0.5
Requests: Since the pipe-lining relies on the availability of the parallel slack, running multiple inference requests in parallel is essential. If you are using multiple VPUs, it is recommended to apply the same number of requests as the number target VPU devices.
- default: 1
- type: integer
Show Result: Defines if the detection output boxes should be shown or not.
- default: true
- type: boolean
If you are using object detection in combination with Object Tracking or Counting, then it is recommended to disable the "show result" functionality as it might have an impact on the tracking quality in your application.
Text Color: Refers to the color of the text in the boxes which are shown on the preview video stream.
- Default: [255, 255, 100]
Line Color: Refers to the color of the line for the boxes which are showing the detection results in the preview video stream.
- Default: [0, 0, 200]