OpenCV

This is a benchmark of the OpenCV (Computer Vision) library's built-in performance tests.

To run this test with the Phoronix Test Suite, the basic command is: phoronix-test-suite benchmark opencv.

Project Site

opencv.org

Source Repository

github.com

Test Created

22 September 2020

Last Updated

18 March 2023

Test Maintainer

Michael Larabel 

Test Type

System

Average Install Time

9 Minutes, 13 Seconds

Average Run Time

18 Minutes, 40 Seconds

Test Dependencies

C/C++ Compiler Toolchain + JPEG Library + PNG Library + CMake + OpenCL + Vulkan

Accolades

30k+ Downloads

Supported Platforms


Public Result Uploads *Reported Installs **Reported Test Completions **Test Profile Page Views ***OpenBenchmarking.orgEventsOpenCV Popularity Statisticspts/opencv2017.092017.122018.032018.062018.092018.112019.012019.032019.052019.072019.092019.112020.012020.032020.092020.112021.012021.032021.052021.072021.092021.112022.012022.032022.052022.072022.092022.112023.012023.032023.052023.072023.092023.112024.012024.035K10K15K20K25K
* Uploading of benchmark result data to OpenBenchmarking.org is always optional (opt-in) via the Phoronix Test Suite for users wishing to share their results publicly.
** Data based on those opting to upload their test results to OpenBenchmarking.org and users enabling the opt-in anonymous statistics reporting while running benchmarks from an Internet-connected platform.
*** Test profile page view reporting began March 2021.
Data updated weekly as of 21 April 2024.
Core15.7%Features 2D9.1%Video12.0%Graph API10.1%Image Processing14.0%DNN12.9%Object Detection11.5%Stitching14.7%Test Option PopularityOpenBenchmarking.org

Revision History

pts/opencv-1.3.0   [View Source]   Sat, 18 Mar 2023 08:48:50 GMT
Update against OpenCV 4.7 upstream to fix GCC 13 build issues.

pts/opencv-1.2.0   [View Source]   Sat, 25 Jun 2022 08:38:29 GMT
Update against OpenCV 4.6 upstream.

pts/opencv-1.1.0   [View Source]   Thu, 14 Oct 2021 14:53:16 GMT
Update against OpenCV 4.5.4 upstream. Fixes: https://github.com/phoronix-test-suite/openbenchmarking/issues/18

pts/opencv-1.0.0   [View Source]   Tue, 22 Sep 2020 16:31:30 GMT
Initial commit for OpenCV 4.4.

Suites Using This Test

Machine Learning

HPC - High Performance Computing


Performance Metrics

Analyze Test Configuration:

OpenCV 4.6

Test: DNN - Deep Neural Network

OpenBenchmarking.org metrics for this test profile configuration based on 113 public results since 25 June 2022 with the latest data as of 4 June 2023.

Below is an overview of the generalized performance for components where there is sufficient statistically significant data based upon user-uploaded results. It is important to keep in mind particularly in the Linux/open-source space there can be vastly different OS configurations, with this overview intended to offer just general guidance as to the performance expectations.

Component
Percentile Rank
# Compatible Public Results
ms (Average)
98th
3
7590 +/- 352
89th
4
9753 +/- 1167
85th
4
10063 +/- 553
79th
5
11657 +/- 1147
Mid-Tier
75th
> 12084
64th
4
14221 +/- 622
62nd
3
15448 +/- 1211
54th
3
19147 +/- 1207
52nd
3
19642 +/- 2345
Median
50th
22299
47th
3
29055 +/- 3078
41st
4
32942 +/- 1138
41st
4
33067 +/- 889
39th
4
34163 +/- 1928
34th
3
39758 +/- 2808
26th
4
53532 +/- 4598
Low-Tier
25th
> 57352
17th
3
119148 +/- 8568
16th
6
121163 +/- 4946
9th
4
140938 +/- 1154
OpenBenchmarking.orgDistribution Of Public Results - Test: DNN - Deep Neural Network113 Results Range From 7037 To 470973 ms7037163162559534874441535343262711719908126990548998271091061183851276641369431462221555011647801740591833381926172018962111752204542297332390122482912575702668492761282854072946863039653132443225233318023410813503603596393689183781973874763967554060344153134245924338714431504524294617084709871020304050

Based on OpenBenchmarking.org data, the selected test / test configuration (OpenCV 4.6 - Test: DNN - Deep Neural Network) has an average run-time of 13 minutes. By default this test profile is set to run at least 3 times but may increase if the standard deviation exceeds pre-defined defaults or other calculations deem additional runs necessary for greater statistical accuracy of the result.

OpenBenchmarking.orgMinutesTime Required To Complete BenchmarkTest: DNN - Deep Neural NetworkRun-Time1020304050Min: 1 / Avg: 12.79 / Max: 52

Based on public OpenBenchmarking.org results, the selected test / test configuration has an average standard deviation of 1.5%.

OpenBenchmarking.orgPercent, Fewer Is BetterAverage Deviation Between RunsTest: DNN - Deep Neural NetworkDeviation48121620Min: 0 / Avg: 1.5 / Max: 17

Tested CPU Architectures

This benchmark has been successfully tested on the below mentioned architectures. The CPU architectures listed is where successful OpenBenchmarking.org result uploads occurred, namely for helping to determine if a given test is compatible with various alternative CPU architectures.

CPU Architecture
Kernel Identifier
Verified On
Intel / AMD x86 64-bit
x86_64
(Many Processors)
ARMv8 64-bit
aarch64
ARMv8 Cortex-A72 4-Core, Apple M1, Apple M2, Rockchip ARMv8 Cortex-A76 6-Core