-
Notifications
You must be signed in to change notification settings - Fork 84
/
pipeline_vehicle_detection.yaml
34 lines (33 loc) · 1.56 KB
/
pipeline_vehicle_detection.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
Pipelines:
- name: object
inputs: [StandardCamera]
infers:
- name: ObjectDetection
model: /opt/openvino_toolkit/models/intel/vehicle-license-plate-detection-barrier-0106/FP32/vehicle-license-plate-detection-barrier-0106.xml
engine: CPU
label: /opt/openvino_toolkit/models/intel/vehicle-license-plate-detection-barrier-0106/FP32/vehicle-license-plate-detection-barrier-0106.labels
batch: 1
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
- name: VehicleAttribsDetection
model: /opt/openvino_toolkit/models/intel/vehicle-attributes-recognition-barrier-0039/FP32/vehicle-attributes-recognition-barrier-0039.xml
engine: CPU
label: to/be/set/xxx.labels
batch: 1
- name: LicensePlateDetection
model: /opt/openvino_toolkit/models/intel/license-plate-recognition-barrier-0001/FP32/license-plate-recognition-barrier-0001.xml
engine: CPU
label: to/be/set/xxx.labels
batch: 1
outputs: [ImageWindow, RViz, RosTopic]
connects:
- left: StandardCamera
right: [ObjectDetection]
- left: ObjectDetection
right: [{VehicleAttribsDetection: label == vehicle && confidence >= 0.8}, {LicensePlateDetection: label == license && confidence >= 0.8}]
- left: ObjectDetection
right: [ImageWindow, RosTopic, RViz]
- left: VehicleAttribsDetection
right: [ImageWindow, RosTopic, RViz]
- left: LicensePlateDetection
right: [ImageWindow, RosTopic, RViz]
OpenvinoCommon: