File size: 2,102 Bytes
af1afb3
 
 
 
42310ef
 
 
 
 
 
 
 
 
 
 
 
 
 
e0b3895
 
42310ef
 
 
 
 
 
 
 
 
 
 
9d96bb5
 
 
 
e0b3895
42310ef
 
af1afb3
 
42310ef
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
35
36
37
38
39
40
41
42
# OpenCV Zoo

A zoo for models tuned for OpenCV DNN with benchmarks on different platforms.

Guidelines:
- To clone this repo, please install [git-lfs](https://git-lfs.github.com/), run `git lfs install` and use `git lfs clone https://github.com/opencv/opencv_zoo`.
- To run benchmark on your hardware settings, please refer to [benchmark/README](./benchmark/README.md).

## Models & Benchmarks

Hardware Setup:
- `CPU x86_64`: INTEL CPU i7-5930K @ 3.50GHz, 6 cores, 12 threads.
- `CPU ARM`: Raspberry 4B, BCM2711B0 @ 1.5GHz (Cortex A-72), 4 cores, 4 threads.
<!--
- `GPU CUDA`: NVIDIA Jetson Nano B01, 128-core Maxwell, Quad-core ARM A57 @ 1.43 GHz.
-->

***Important Notes***:
- The time data that shown on the following table presents the time elapsed from preprocess (resize is excluded), to a forward pass of a network, and postprocess to get final results.
- The time data that shown on the following table is the median of 10 runs. Different metrics may be applied to some specific models.
- View [benchmark/config](./benchmark/config) for more details on benchmarking different models.

<!--
| Model | Input Size | CPU x86_64 (ms) | CPU ARM (ms) | GPU CUDA (ms) |
|-------|------------|-----------------|--------------|---------------|
| [YuNet](./models/face_detection_yunet) | 160x120 | 2.17   | 8.87    | 14.95  |
| [DB](./models/text_detection_db)       | 640x480 | 148.65 | 2759.88 | 218.25 |
| [CRNN](./models/text_recognition_crnn) | 100x32  | 23.23  | 235.87  | 195.20 |
-->
| Model | Input Size | CPU x86_64 (ms) | CPU ARM (ms) |
|-------|------------|-----------------|--------------|
| [YuNet](./models/face_detection_yunet)   | 160x120 | 2.35   | 8.72    |
| [DB](./models/text_detection_db)         | 640x480 | 137.38 | 2780.78 |
| [CRNN](./models/text_recognition_crnn)   | 100x32  | 50.21  | 234.32  |
| [SFace](./models/face_recognition_sface) | 112x112 | 8.69 | 96.79 |
| [PP-ResNet](./models/image_classification_ppresnet) | 224x224 | 56.05 | 602.58


## License

OpenCV Zoo is licensed under the [Apache 2.0 license](./LICENSE). Please refer to licenses of different models.