You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Benchmark framework implementation and 3 models added:
* benchmark framework: benchmarks based on configs
* added impl and benchmark for YuNet (face detection)
* added impl and benchmark for DB (text detection)
* added impl and benchmark for CRNN (text recognition)
Copy file name to clipboardExpand all lines: README.md
+33-1
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,38 @@
2
2
3
3
A zoo for models tuned for OpenCV DNN with benchmarks on different platforms.
4
4
5
+
Guidelines:
6
+
- 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`.
7
+
- To run benchmark on your hardware settings, please refer to [benchmark/README](./benchmark/README.md).
- The time data that shown on the following tables presents the time elapsed from preprocess (resize is excluded), to a forward pass of a network, and postprocess to get final results.
20
+
- The time data that shown on the following tables is averaged from a 100-time run.
21
+
- View [benchmark/config](./benchmark/config) for more details on benchmarking different models.
22
+
23
+
<!--
24
+
| Model | Input Size | CPU x86_64 (ms) | CPU ARM (ms) | GPU CUDA (ms) |
Data for benchmarking will be downloaded and loaded in [data](./data) based on given config.
6
+
7
+
Time is measured from data preprocess (resize is excluded), to a forward pass of a network, and postprocess to get final results. The final time data presented is averaged from a 100-time run.
self._useGroundTruth=kwargs.pop('useDetectionLabel', False) # If it is enable, 'sizes' will not work
78
+
assert (self._sizesandnotself._useGroundTruth) or (notself._sizesandself._useGroundTruth), 'If \'useDetectionLabel\' is True, \'sizes\' should not exist.'
0 commit comments