-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Pipeline Server versions of automated self checkout (#600)
--------- Signed-off-by: Brian McGinn <[email protected]>
- Loading branch information
1 parent
f2e8932
commit ccdcc89
Showing
19 changed files
with
746 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule performance-tools
updated
6 files
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# | ||
# Copyright (C) 2024 Intel Corporation. | ||
# | ||
# SPDX-License-Identifier: Apache-2.0 | ||
# | ||
|
||
FROM intel/dlstreamer-pipeline-server:2022.2.0-ubuntu20-gpu419.40 | ||
|
||
COPY ./requirements.txt /requirements.txt | ||
RUN pip3 install --upgrade pip --no-cache-dir -r /requirements.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
{ | ||
"type": "GStreamer", | ||
"template": [ | ||
"{auto_source} ! decodebin", | ||
" ! gvadetect model={models[object_detection][yolov5s][FP16-INT8][network]} name=detection", | ||
" ! gvametaconvert name=metaconvert ! gvametapublish name=destination", | ||
" ! appsink name=appsink" | ||
], | ||
"description": "Object detection with yolov5s", | ||
"parameters": { | ||
"type": "object", | ||
"properties": { | ||
"detection-properties": { | ||
"element": { | ||
"name": "detection", | ||
"format": "element-properties" | ||
} | ||
}, | ||
"detection-device": { | ||
"element": { | ||
"name": "detection", | ||
"property": "device" | ||
}, | ||
"type": "string", | ||
"default": "{env[DETECTION_DEVICE]}" | ||
} | ||
} | ||
} | ||
} |
30 changes: 30 additions & 0 deletions
30
src/pipeline-server/asc/detection/yolov5_effnet/pipeline.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
{ | ||
"type": "GStreamer", | ||
"template": [ | ||
"{auto_source} ! decodebin", | ||
" ! gvadetect model={models[object_detection][yolov5s][FP16-INT8][network]} name=detection", | ||
" ! gvaclassify model={models[object_classification][efficientnet-b0][network]} name=classification", | ||
" ! gvametaconvert name=metaconvert ! gvametapublish name=destination", | ||
" ! appsink name=appsink" | ||
], | ||
"description": "Object detection with yolov5s", | ||
"parameters": { | ||
"type": "object", | ||
"properties": { | ||
"detection-properties": { | ||
"element": { | ||
"name": "detection", | ||
"format": "element-properties" | ||
} | ||
}, | ||
"detection-device": { | ||
"element": { | ||
"name": "detection", | ||
"property": "device" | ||
}, | ||
"type": "string", | ||
"default": "{env[DETECTION_DEVICE]}" | ||
} | ||
} | ||
} | ||
} |
36 changes: 36 additions & 0 deletions
36
src/pipeline-server/asc/detection/yolov5_full/pipeline.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
{ | ||
"type": "GStreamer", | ||
"template": [ | ||
"{auto_source} ! decodebin", | ||
" ! gvadetect model={models[object_detection][yolov5s][FP16-INT8][network]} name=detection", | ||
" ! gvatrack name=tracking tracking-type=zero-term-imageless", | ||
" ! gvaclassify model={models[object_classification][efficientnet-b0][network]} inference-region=roi-list name=classification", | ||
" ! gvapython class=ObjectFilter module=/home/pipeline-server/extensions/tracked_object_filter.py name=tracked_object_filter", | ||
" ! gvadetect model={models[text_detection][horizontal-text-detection-0002][network]} name=text_detection inference-region=roi-list", | ||
" ! gvainference model={models[text_recognition][text-recognition-0012][network]} name=text_recognition inference-region=roi-list object-class=text", | ||
" ! gvapython class=OCR module=/home/pipeline-server/gvapython/OCR_post_processing_0012.py name=ocr_postprocess", | ||
" ! gvapython name=barcode class=BarcodeDetection module=/home/pipeline-server/gvapython/barcode_nv12_to_gray.py", | ||
" ! gvametaconvert name=metaconvert add-empty-results=true ! gvametapublish name=destination", | ||
" ! appsink name=appsink" | ||
], | ||
"description": "Object detection with yolov5s", | ||
"parameters": { | ||
"type": "object", | ||
"properties": { | ||
"detection-properties": { | ||
"element": { | ||
"name": "detection", | ||
"format": "element-properties" | ||
} | ||
}, | ||
"detection-device": { | ||
"element": { | ||
"name": "detection", | ||
"property": "device" | ||
}, | ||
"type": "string", | ||
"default": "{env[DETECTION_DEVICE]}" | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.