bump version to 4.8.0 (#190)
Browse files* bump version to 4.8.0
* update benchmark results on i7 & rpi
* correct python command on i7
* update results on jetson nano
* update results on atlas 200 cpu
* update results on vim3 cpu, sunrise x3 cpu
* update results on vim3 npu
* update results on edge2
* update results on rv1126 and vision2
* update results on axp
* update table
- benchmark/README.md +0 -0
- benchmark/benchmark.py +1 -1
- benchmark/color_table.svg +0 -0
- benchmark/table_config.yaml +1 -1
- models/face_detection_yunet/CMakeLists.txt +1 -1
- models/face_detection_yunet/demo.py +1 -1
- models/face_recognition_sface/demo.py +1 -1
- models/facial_expression_recognition/demo.py +1 -1
- models/handpose_estimation_mediapipe/demo.py +1 -1
- models/human_segmentation_pphumanseg/demo.py +1 -1
- models/image_classification_mobilenet/CMakeLists.txt +1 -1
- models/image_classification_mobilenet/demo.py +1 -1
- models/image_classification_ppresnet/demo.py +1 -1
- models/license_plate_detection_yunet/demo.py +1 -1
- models/object_detection_nanodet/demo.py +1 -1
- models/object_detection_yolox/README.md +1 -1
- models/object_detection_yolox/demo.py +1 -1
- models/object_tracking_dasiamrpn/demo.py +1 -1
- models/palm_detection_mediapipe/demo.py +1 -1
- models/person_detection_mediapipe/demo.py +1 -1
- models/person_reid_youtureid/demo.py +1 -1
- models/pose_estimation_mediapipe/demo.py +1 -1
- models/qrcode_wechatqrcode/demo.py +1 -1
- models/text_detection_db/CMakeLists.txt +1 -1
- models/text_detection_db/demo.py +1 -1
- models/text_recognition_crnn/demo.py +1 -1
- tools/quantize/requirements.txt +1 -1
benchmark/README.md
CHANGED
The diff for this file is too large to render.
See raw diff
|
|
benchmark/benchmark.py
CHANGED
@@ -9,7 +9,7 @@ from models import MODELS
|
|
9 |
from utils import METRICS, DATALOADERS
|
10 |
|
11 |
# Check OpenCV version
|
12 |
-
assert cv.__version__ >= "4.
|
13 |
"Please install latest opencv-python for benchmark: python3 -m pip install --upgrade opencv-python"
|
14 |
|
15 |
# Valid combinations of backends and targets
|
|
|
9 |
from utils import METRICS, DATALOADERS
|
10 |
|
11 |
# Check OpenCV version
|
12 |
+
assert cv.__version__ >= "4.8.0", \
|
13 |
"Please install latest opencv-python for benchmark: python3 -m pip install --upgrade opencv-python"
|
14 |
|
15 |
# Valid combinations of backends and targets
|
benchmark/color_table.svg
CHANGED
|
|
benchmark/table_config.yaml
CHANGED
@@ -216,7 +216,7 @@ Devices:
|
|
216 |
|
217 |
- name: "Atlas 200 DK"
|
218 |
display_info: "Atlas 200 DK\nAscend 310\nNPU"
|
219 |
-
platform: "NPU"
|
220 |
|
221 |
Suffixes:
|
222 |
- model: "MobileNet-V1"
|
|
|
216 |
|
217 |
- name: "Atlas 200 DK"
|
218 |
display_info: "Atlas 200 DK\nAscend 310\nNPU"
|
219 |
+
platform: "NPU (CANN)"
|
220 |
|
221 |
Suffixes:
|
222 |
- model: "MobileNet-V1"
|
models/face_detection_yunet/CMakeLists.txt
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
cmake_minimum_required(VERSION 3.24.0)
|
2 |
project(opencv_zoo_face_detection_yunet)
|
3 |
|
4 |
-
set(OPENCV_VERSION "4.
|
5 |
set(OPENCV_INSTALLATION_PATH "" CACHE PATH "Where to look for OpenCV installation")
|
6 |
|
7 |
# Find OpenCV
|
|
|
1 |
cmake_minimum_required(VERSION 3.24.0)
|
2 |
project(opencv_zoo_face_detection_yunet)
|
3 |
|
4 |
+
set(OPENCV_VERSION "4.8.0")
|
5 |
set(OPENCV_INSTALLATION_PATH "" CACHE PATH "Where to look for OpenCV installation")
|
6 |
|
7 |
# Find OpenCV
|
models/face_detection_yunet/demo.py
CHANGED
@@ -12,7 +12,7 @@ import cv2 as cv
|
|
12 |
from yunet import YuNet
|
13 |
|
14 |
# Check OpenCV version
|
15 |
-
assert cv.__version__ >= "4.
|
16 |
"Please install latest opencv-python to try this demo: python3 -m pip install --upgrade opencv-python"
|
17 |
|
18 |
# Valid combinations of backends and targets
|
|
|
12 |
from yunet import YuNet
|
13 |
|
14 |
# Check OpenCV version
|
15 |
+
assert cv.__version__ >= "4.8.0", \
|
16 |
"Please install latest opencv-python to try this demo: python3 -m pip install --upgrade opencv-python"
|
17 |
|
18 |
# Valid combinations of backends and targets
|
models/face_recognition_sface/demo.py
CHANGED
@@ -16,7 +16,7 @@ sys.path.append('../face_detection_yunet')
|
|
16 |
from yunet import YuNet
|
17 |
|
18 |
# Check OpenCV version
|
19 |
-
assert cv.__version__ >= "4.
|
20 |
"Please install latest opencv-python to try this demo: python3 -m pip install --upgrade opencv-python"
|
21 |
|
22 |
# Valid combinations of backends and targets
|
|
|
16 |
from yunet import YuNet
|
17 |
|
18 |
# Check OpenCV version
|
19 |
+
assert cv.__version__ >= "4.8.0", \
|
20 |
"Please install latest opencv-python to try this demo: python3 -m pip install --upgrade opencv-python"
|
21 |
|
22 |
# Valid combinations of backends and targets
|
models/facial_expression_recognition/demo.py
CHANGED
@@ -12,7 +12,7 @@ sys.path.append('../face_detection_yunet')
|
|
12 |
from yunet import YuNet
|
13 |
|
14 |
# Check OpenCV version
|
15 |
-
assert cv.__version__ >= "4.
|
16 |
"Please install latest opencv-python to try this demo: python3 -m pip install --upgrade opencv-python"
|
17 |
|
18 |
# Valid combinations of backends and targets
|
|
|
12 |
from yunet import YuNet
|
13 |
|
14 |
# Check OpenCV version
|
15 |
+
assert cv.__version__ >= "4.8.0", \
|
16 |
"Please install latest opencv-python to try this demo: python3 -m pip install --upgrade opencv-python"
|
17 |
|
18 |
# Valid combinations of backends and targets
|
models/handpose_estimation_mediapipe/demo.py
CHANGED
@@ -10,7 +10,7 @@ sys.path.append('../palm_detection_mediapipe')
|
|
10 |
from mp_palmdet import MPPalmDet
|
11 |
|
12 |
# Check OpenCV version
|
13 |
-
assert cv.__version__ >= "4.
|
14 |
"Please install latest opencv-python to try this demo: python3 -m pip install --upgrade opencv-python"
|
15 |
|
16 |
# Valid combinations of backends and targets
|
|
|
10 |
from mp_palmdet import MPPalmDet
|
11 |
|
12 |
# Check OpenCV version
|
13 |
+
assert cv.__version__ >= "4.8.0", \
|
14 |
"Please install latest opencv-python to try this demo: python3 -m pip install --upgrade opencv-python"
|
15 |
|
16 |
# Valid combinations of backends and targets
|
models/human_segmentation_pphumanseg/demo.py
CHANGED
@@ -12,7 +12,7 @@ import cv2 as cv
|
|
12 |
from pphumanseg import PPHumanSeg
|
13 |
|
14 |
# Check OpenCV version
|
15 |
-
assert cv.__version__ >= "4.
|
16 |
"Please install latest opencv-python to try this demo: python3 -m pip install --upgrade opencv-python"
|
17 |
|
18 |
# Valid combinations of backends and targets
|
|
|
12 |
from pphumanseg import PPHumanSeg
|
13 |
|
14 |
# Check OpenCV version
|
15 |
+
assert cv.__version__ >= "4.8.0", \
|
16 |
"Please install latest opencv-python to try this demo: python3 -m pip install --upgrade opencv-python"
|
17 |
|
18 |
# Valid combinations of backends and targets
|
models/image_classification_mobilenet/CMakeLists.txt
CHANGED
@@ -3,7 +3,7 @@ set(project_name "opencv_zoo_image_classification_mobilenet")
|
|
3 |
|
4 |
PROJECT (${project_name})
|
5 |
|
6 |
-
set(OPENCV_VERSION "4.
|
7 |
set(OPENCV_INSTALLATION_PATH "" CACHE PATH "Where to look for OpenCV installation")
|
8 |
find_package(OpenCV ${OPENCV_VERSION} REQUIRED HINTS ${OPENCV_INSTALLATION_PATH})
|
9 |
# Find OpenCV, you may need to set OpenCV_DIR variable
|
|
|
3 |
|
4 |
PROJECT (${project_name})
|
5 |
|
6 |
+
set(OPENCV_VERSION "4.8.0")
|
7 |
set(OPENCV_INSTALLATION_PATH "" CACHE PATH "Where to look for OpenCV installation")
|
8 |
find_package(OpenCV ${OPENCV_VERSION} REQUIRED HINTS ${OPENCV_INSTALLATION_PATH})
|
9 |
# Find OpenCV, you may need to set OpenCV_DIR variable
|
models/image_classification_mobilenet/demo.py
CHANGED
@@ -6,7 +6,7 @@ import cv2 as cv
|
|
6 |
from mobilenet import MobileNet
|
7 |
|
8 |
# Check OpenCV version
|
9 |
-
assert cv.__version__ >= "4.
|
10 |
"Please install latest opencv-python to try this demo: python3 -m pip install --upgrade opencv-python"
|
11 |
|
12 |
# Valid combinations of backends and targets
|
|
|
6 |
from mobilenet import MobileNet
|
7 |
|
8 |
# Check OpenCV version
|
9 |
+
assert cv.__version__ >= "4.8.0", \
|
10 |
"Please install latest opencv-python to try this demo: python3 -m pip install --upgrade opencv-python"
|
11 |
|
12 |
# Valid combinations of backends and targets
|
models/image_classification_ppresnet/demo.py
CHANGED
@@ -12,7 +12,7 @@ import cv2 as cv
|
|
12 |
from ppresnet import PPResNet
|
13 |
|
14 |
# Check OpenCV version
|
15 |
-
assert cv.__version__ >= "4.
|
16 |
"Please install latest opencv-python to try this demo: python3 -m pip install --upgrade opencv-python"
|
17 |
|
18 |
# Valid combinations of backends and targets
|
|
|
12 |
from ppresnet import PPResNet
|
13 |
|
14 |
# Check OpenCV version
|
15 |
+
assert cv.__version__ >= "4.8.0", \
|
16 |
"Please install latest opencv-python to try this demo: python3 -m pip install --upgrade opencv-python"
|
17 |
|
18 |
# Valid combinations of backends and targets
|
models/license_plate_detection_yunet/demo.py
CHANGED
@@ -6,7 +6,7 @@ import cv2 as cv
|
|
6 |
from lpd_yunet import LPD_YuNet
|
7 |
|
8 |
# Check OpenCV version
|
9 |
-
assert cv.__version__ >= "4.
|
10 |
"Please install latest opencv-python to try this demo: python3 -m pip install --upgrade opencv-python"
|
11 |
|
12 |
# Valid combinations of backends and targets
|
|
|
6 |
from lpd_yunet import LPD_YuNet
|
7 |
|
8 |
# Check OpenCV version
|
9 |
+
assert cv.__version__ >= "4.8.0", \
|
10 |
"Please install latest opencv-python to try this demo: python3 -m pip install --upgrade opencv-python"
|
11 |
|
12 |
# Valid combinations of backends and targets
|
models/object_detection_nanodet/demo.py
CHANGED
@@ -5,7 +5,7 @@ import argparse
|
|
5 |
from nanodet import NanoDet
|
6 |
|
7 |
# Check OpenCV version
|
8 |
-
assert cv.__version__ >= "4.
|
9 |
"Please install latest opencv-python to try this demo: python3 -m pip install --upgrade opencv-python"
|
10 |
|
11 |
# Valid combinations of backends and targets
|
|
|
5 |
from nanodet import NanoDet
|
6 |
|
7 |
# Check OpenCV version
|
8 |
+
assert cv.__version__ >= "4.8.0", \
|
9 |
"Please install latest opencv-python to try this demo: python3 -m pip install --upgrade opencv-python"
|
10 |
|
11 |
# Valid combinations of backends and targets
|
models/object_detection_yolox/README.md
CHANGED
@@ -22,7 +22,7 @@ python demo.py --input /path/to/image -v
|
|
22 |
```
|
23 |
Note:
|
24 |
- image result saved as "result.jpg"
|
25 |
-
- this model requires `opencv-python>=4.
|
26 |
|
27 |
|
28 |
## Results
|
|
|
22 |
```
|
23 |
Note:
|
24 |
- image result saved as "result.jpg"
|
25 |
+
- this model requires `opencv-python>=4.8.0`
|
26 |
|
27 |
|
28 |
## Results
|
models/object_detection_yolox/demo.py
CHANGED
@@ -5,7 +5,7 @@ import argparse
|
|
5 |
from yolox import YoloX
|
6 |
|
7 |
# Check OpenCV version
|
8 |
-
assert cv.__version__ >= "4.
|
9 |
"Please install latest opencv-python to try this demo: python3 -m pip install --upgrade opencv-python"
|
10 |
|
11 |
# Valid combinations of backends and targets
|
|
|
5 |
from yolox import YoloX
|
6 |
|
7 |
# Check OpenCV version
|
8 |
+
assert cv.__version__ >= "4.8.0", \
|
9 |
"Please install latest opencv-python to try this demo: python3 -m pip install --upgrade opencv-python"
|
10 |
|
11 |
# Valid combinations of backends and targets
|
models/object_tracking_dasiamrpn/demo.py
CHANGED
@@ -12,7 +12,7 @@ import cv2 as cv
|
|
12 |
from dasiamrpn import DaSiamRPN
|
13 |
|
14 |
# Check OpenCV version
|
15 |
-
assert cv.__version__ >= "4.
|
16 |
"Please install latest opencv-python to try this demo: python3 -m pip install --upgrade opencv-python"
|
17 |
|
18 |
# Valid combinations of backends and targets
|
|
|
12 |
from dasiamrpn import DaSiamRPN
|
13 |
|
14 |
# Check OpenCV version
|
15 |
+
assert cv.__version__ >= "4.8.0", \
|
16 |
"Please install latest opencv-python to try this demo: python3 -m pip install --upgrade opencv-python"
|
17 |
|
18 |
# Valid combinations of backends and targets
|
models/palm_detection_mediapipe/demo.py
CHANGED
@@ -6,7 +6,7 @@ import cv2 as cv
|
|
6 |
from mp_palmdet import MPPalmDet
|
7 |
|
8 |
# Check OpenCV version
|
9 |
-
assert cv.__version__ >= "4.
|
10 |
"Please install latest opencv-python to try this demo: python3 -m pip install --upgrade opencv-python"
|
11 |
|
12 |
# Valid combinations of backends and targets
|
|
|
6 |
from mp_palmdet import MPPalmDet
|
7 |
|
8 |
# Check OpenCV version
|
9 |
+
assert cv.__version__ >= "4.8.0", \
|
10 |
"Please install latest opencv-python to try this demo: python3 -m pip install --upgrade opencv-python"
|
11 |
|
12 |
# Valid combinations of backends and targets
|
models/person_detection_mediapipe/demo.py
CHANGED
@@ -6,7 +6,7 @@ import cv2 as cv
|
|
6 |
from mp_persondet import MPPersonDet
|
7 |
|
8 |
# Check OpenCV version
|
9 |
-
assert cv.__version__ >= "4.
|
10 |
"Please install latest opencv-python to try this demo: python3 -m pip install --upgrade opencv-python"
|
11 |
|
12 |
# Valid combinations of backends and targets
|
|
|
6 |
from mp_persondet import MPPersonDet
|
7 |
|
8 |
# Check OpenCV version
|
9 |
+
assert cv.__version__ >= "4.8.0", \
|
10 |
"Please install latest opencv-python to try this demo: python3 -m pip install --upgrade opencv-python"
|
11 |
|
12 |
# Valid combinations of backends and targets
|
models/person_reid_youtureid/demo.py
CHANGED
@@ -13,7 +13,7 @@ import cv2 as cv
|
|
13 |
from youtureid import YoutuReID
|
14 |
|
15 |
# Check OpenCV version
|
16 |
-
assert cv.__version__ >= "4.
|
17 |
"Please install latest opencv-python to try this demo: python3 -m pip install --upgrade opencv-python"
|
18 |
|
19 |
# Valid combinations of backends and targets
|
|
|
13 |
from youtureid import YoutuReID
|
14 |
|
15 |
# Check OpenCV version
|
16 |
+
assert cv.__version__ >= "4.8.0", \
|
17 |
"Please install latest opencv-python to try this demo: python3 -m pip install --upgrade opencv-python"
|
18 |
|
19 |
# Valid combinations of backends and targets
|
models/pose_estimation_mediapipe/demo.py
CHANGED
@@ -10,7 +10,7 @@ sys.path.append('../person_detection_mediapipe')
|
|
10 |
from mp_persondet import MPPersonDet
|
11 |
|
12 |
# Check OpenCV version
|
13 |
-
assert cv.__version__ >= "4.
|
14 |
"Please install latest opencv-python to try this demo: python3 -m pip install --upgrade opencv-python"
|
15 |
|
16 |
# Valid combinations of backends and targets
|
|
|
10 |
from mp_persondet import MPPersonDet
|
11 |
|
12 |
# Check OpenCV version
|
13 |
+
assert cv.__version__ >= "4.8.0", \
|
14 |
"Please install latest opencv-python to try this demo: python3 -m pip install --upgrade opencv-python"
|
15 |
|
16 |
# Valid combinations of backends and targets
|
models/qrcode_wechatqrcode/demo.py
CHANGED
@@ -12,7 +12,7 @@ import cv2 as cv
|
|
12 |
from wechatqrcode import WeChatQRCode
|
13 |
|
14 |
# Check OpenCV version
|
15 |
-
assert cv.__version__ >= "4.
|
16 |
"Please install latest opencv-python to try this demo: python3 -m pip install --upgrade opencv-python"
|
17 |
|
18 |
# Valid combinations of backends and targets
|
|
|
12 |
from wechatqrcode import WeChatQRCode
|
13 |
|
14 |
# Check OpenCV version
|
15 |
+
assert cv.__version__ >= "4.8.0", \
|
16 |
"Please install latest opencv-python to try this demo: python3 -m pip install --upgrade opencv-python"
|
17 |
|
18 |
# Valid combinations of backends and targets
|
models/text_detection_db/CMakeLists.txt
CHANGED
@@ -3,7 +3,7 @@ set(project_name "opencv_zoo_text_detection_db")
|
|
3 |
|
4 |
PROJECT (${project_name})
|
5 |
|
6 |
-
set(OPENCV_VERSION "4.
|
7 |
set(OPENCV_INSTALLATION_PATH "" CACHE PATH "Where to look for OpenCV installation")
|
8 |
find_package(OpenCV ${OPENCV_VERSION} REQUIRED HINTS ${OPENCV_INSTALLATION_PATH})
|
9 |
# Find OpenCV, you may need to set OpenCV_DIR variable
|
|
|
3 |
|
4 |
PROJECT (${project_name})
|
5 |
|
6 |
+
set(OPENCV_VERSION "4.8.0")
|
7 |
set(OPENCV_INSTALLATION_PATH "" CACHE PATH "Where to look for OpenCV installation")
|
8 |
find_package(OpenCV ${OPENCV_VERSION} REQUIRED HINTS ${OPENCV_INSTALLATION_PATH})
|
9 |
# Find OpenCV, you may need to set OpenCV_DIR variable
|
models/text_detection_db/demo.py
CHANGED
@@ -12,7 +12,7 @@ import cv2 as cv
|
|
12 |
from db import DB
|
13 |
|
14 |
# Check OpenCV version
|
15 |
-
assert cv.__version__ >= "4.
|
16 |
"Please install latest opencv-python to try this demo: python3 -m pip install --upgrade opencv-python"
|
17 |
|
18 |
# Valid combinations of backends and targets
|
|
|
12 |
from db import DB
|
13 |
|
14 |
# Check OpenCV version
|
15 |
+
assert cv.__version__ >= "4.8.0", \
|
16 |
"Please install latest opencv-python to try this demo: python3 -m pip install --upgrade opencv-python"
|
17 |
|
18 |
# Valid combinations of backends and targets
|
models/text_recognition_crnn/demo.py
CHANGED
@@ -16,7 +16,7 @@ sys.path.append('../text_detection_db')
|
|
16 |
from db import DB
|
17 |
|
18 |
# Check OpenCV version
|
19 |
-
assert cv.__version__ >= "4.
|
20 |
"Please install latest opencv-python to try this demo: python3 -m pip install --upgrade opencv-python"
|
21 |
|
22 |
# Valid combinations of backends and targets
|
|
|
16 |
from db import DB
|
17 |
|
18 |
# Check OpenCV version
|
19 |
+
assert cv.__version__ >= "4.8.0", \
|
20 |
"Please install latest opencv-python to try this demo: python3 -m pip install --upgrade opencv-python"
|
21 |
|
22 |
# Valid combinations of backends and targets
|
tools/quantize/requirements.txt
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
opencv-python>=4.
|
2 |
onnx
|
3 |
onnxruntime
|
4 |
onnxruntime-extensions
|
|
|
1 |
+
opencv-python>=4.8.0
|
2 |
onnx
|
3 |
onnxruntime
|
4 |
onnxruntime-extensions
|