diff --git a/configs/opencv-ovms/envs/capi_yolov8_ensemble.env b/configs/opencv-ovms/envs/capi_yolov8_ensemble.env index cd3fa754..ddc2e90c 100644 --- a/configs/opencv-ovms/envs/capi_yolov8_ensemble.env +++ b/configs/opencv-ovms/envs/capi_yolov8_ensemble.env @@ -11,5 +11,5 @@ RENDER_MODE=1 cl_cache_dir=/home/intel/gst-ovms/.cl-cache WINDOW_WIDTH=1280 WINDOW_HEIGHT=720 -DETECTION_THRESHOLD=0.7 +DETECTION_THRESHOLD=0.5 DC=0 diff --git a/docs_src/OVMS/capiYolov8EnsemblePipelineRun.md b/docs_src/OVMS/capiYolov8EnsemblePipelineRun.md index f7ba13f1..c960d960 100644 --- a/docs_src/OVMS/capiYolov8EnsemblePipelineRun.md +++ b/docs_src/OVMS/capiYolov8EnsemblePipelineRun.md @@ -41,6 +41,7 @@ You can add multiple environment variable files to `configs/opencv-ovms/envs/` d | WINDOW_HEIGHT | 720 | display window height | | DETECTION_THRESHOLD | 0.7 | detection threshold value in floating point that needs to be between 0.0 to 1.0 | | INPUT_TYPE | RTSP_H264 | video input type to us, value: RTSP_H264, FILE_H264, RTSP_H265, or FILE_H265 | +| DC | 0 | direct console output results, value: 0 or 1 | details of yolov8s pipeline environment variable file can be viewed in [`configs/opencv-ovms/envs/capi_yolov8_ensemble.env`](https://github.com/intel-retail/automated-self-checkout/blob/main/configs/opencv-ovms/envs/capi_yolov8_ensemble.env). diff --git a/download_models/model_build/convert-model.py b/download_models/model_build/convert-model.py index 562d7116..85bcc197 100644 --- a/download_models/model_build/convert-model.py +++ b/download_models/model_build/convert-model.py @@ -1,4 +1,8 @@ - +# +# Copyright (C) 2024 Intel Corporation. +# +# SPDX-License-Identifier: Apache-2.0 +# from pathlib import Path from typing import Tuple, Dict diff --git a/download_models/model_build/convert-model.sh b/download_models/model_build/convert-model.sh index 7b918718..6be3b599 100755 --- a/download_models/model_build/convert-model.sh +++ b/download_models/model_build/convert-model.sh @@ -1,4 +1,9 @@ #!/bin/bash +# +# Copyright (C) 2024 Intel Corporation. +# +# SPDX-License-Identifier: Apache-2.0 +# if [ "$1" == "--refresh" ] then diff --git a/download_models/model_build/download-tools.sh b/download_models/model_build/download-tools.sh index af7184fb..0573c63e 100755 --- a/download_models/model_build/download-tools.sh +++ b/download_models/model_build/download-tools.sh @@ -1,4 +1,9 @@ #!/bin/bash +# +# Copyright (C) 2024 Intel Corporation. +# +# SPDX-License-Identifier: Apache-2.0 +# # tqdm needed? pip install -q "torch>=2.1" "torchvision>=0.16" "ultralytics==8.0.43" onnx --extra-index-url https://download.pytorch.org/whl/cpu diff --git a/download_models/model_build/quantize-model.py b/download_models/model_build/quantize-model.py index 1f9a5e60..7e95c044 100644 --- a/download_models/model_build/quantize-model.py +++ b/download_models/model_build/quantize-model.py @@ -1,5 +1,8 @@ - - +# +# Copyright (C) 2024 Intel Corporation. +# +# SPDX-License-Identifier: Apache-2.0 +# import os import threading