Yuantao Feng
commited on
Commit
·
d34bdca
1
Parent(s):
0f20198
Improve hardware namings on the table of benchmark results (#27)
Browse files
README.md
CHANGED
@@ -1,21 +1,21 @@
|
|
1 |
-
# OpenCV Zoo
|
2 |
|
3 |
A zoo for models tuned for OpenCV DNN with benchmarks on different platforms.
|
4 |
|
5 |
Guidelines:
|
6 |
-
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
## Models &
|
16 |
-
|
17 |
-
| Model | Input Size | CPU
|
18 |
-
|
19 |
| [YuNet](./models/face_detection_yunet) | 160x120 | 1.45 | 6.22 | 12.18 |
|
20 |
| [DB-IC15](./models/text_detection_db) | 640x480 | 142.91 | 2835.91 | 208.41 |
|
21 |
| [DB-TD500](./models/text_detection_db) | 640x480 | 142.91 | 2841.71 | 210.51 |
|
@@ -29,16 +29,16 @@ Guidelines:
|
|
29 |
| [YoutuReID](./models/person_reid_youtureid) | 128x256 | 35.81 | 521.98 | 90.07 |
|
30 |
|
31 |
Hardware Setup:
|
32 |
-
- `CPU
|
33 |
-
- `CPU
|
34 |
-
- `GPU
|
35 |
|
36 |
***Important Notes***:
|
37 |
-
- The
|
38 |
-
- The time data
|
39 |
- Batch size is 1 for all benchmark results.
|
|
|
40 |
- View [benchmark/config](./benchmark/config) for more details on benchmarking different models.
|
41 |
-
- `---` means this model is not availble to run on the device.
|
42 |
|
43 |
## License
|
44 |
|
|
|
1 |
+
# OpenCV Zoo and Benchmark
|
2 |
|
3 |
A zoo for models tuned for OpenCV DNN with benchmarks on different platforms.
|
4 |
|
5 |
Guidelines:
|
6 |
+
- Clone this repo to download all models and demo scripts:
|
7 |
+
```shell
|
8 |
+
# Install git-lfs from https://git-lfs.github.com/
|
9 |
+
git clone https://github.com/opencv/opencv_zoo && cd opencv_zoo
|
10 |
+
git lfs install
|
11 |
+
git lfs pull
|
12 |
+
```
|
13 |
+
- To run benchmarks on your hardware settings, please refer to [benchmark/README](./benchmark/README.md).
|
14 |
+
|
15 |
+
## Models & Benchmark Results
|
16 |
+
|
17 |
+
| Model | Input Size | INTEL-CPU | RPI-CPU | JETSON-GPU |
|
18 |
+
|-------|------------|-----------|---------|------------|
|
19 |
| [YuNet](./models/face_detection_yunet) | 160x120 | 1.45 | 6.22 | 12.18 |
|
20 |
| [DB-IC15](./models/text_detection_db) | 640x480 | 142.91 | 2835.91 | 208.41 |
|
21 |
| [DB-TD500](./models/text_detection_db) | 640x480 | 142.91 | 2841.71 | 210.51 |
|
|
|
29 |
| [YoutuReID](./models/person_reid_youtureid) | 128x256 | 35.81 | 521.98 | 90.07 |
|
30 |
|
31 |
Hardware Setup:
|
32 |
+
- `INTEL-CPU`: [Intel Core i7-5930K](https://www.intel.com/content/www/us/en/products/sku/82931/intel-core-i75930k-processor-15m-cache-up-to-3-70-ghz/specifications.html) @ 3.50GHz, 6 cores, 12 threads.
|
33 |
+
- `RPI-CPU`: [Raspberry Pi 4B](https://www.raspberrypi.com/products/raspberry-pi-4-model-b/specifications/), Broadcom BCM2711, Quad core Cortex-A72 (ARM v8) 64-bit SoC @ 1.5GHz.
|
34 |
+
- `JETSON-GPU`: [NVIDIA Jetson Nano B01](https://developer.nvidia.com/embedded/jetson-nano-developer-kit), 128-core NVIDIA Maxwell GPU.
|
35 |
|
36 |
***Important Notes***:
|
37 |
+
- The data under each column of hardware setups on the above table represents the elapsed time of an inference (preprocess, forward and postprocess).
|
38 |
+
- The time data is the median of 10 runs after some warmup runs. Different metrics may be applied to some specific models.
|
39 |
- Batch size is 1 for all benchmark results.
|
40 |
+
- `---` represents the model is not availble to run on the device.
|
41 |
- View [benchmark/config](./benchmark/config) for more details on benchmarking different models.
|
|
|
42 |
|
43 |
## License
|
44 |
|