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, 16 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 13 April 2024.
Core15.7%Features 2D9.0%Video12.0%Graph API10.2%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.5.4

Test: DNN - Deep Neural Network

OpenBenchmarking.org metrics for this test profile configuration based on 386 public results since 14 October 2021 with the latest data as of 17 September 2022.

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)
99th
5
4724 +/- 233
96th
5
6106 +/- 738
89th
11
7377 +/- 714
85th
6
7811 +/- 909
85th
4
7884 +/- 1003
Mid-Tier
75th
> 9096
69th
7
10566 +/- 887
67th
3
10688 +/- 152
63rd
19
11029 +/- 1425
61st
5
11432 +/- 268
56th
3
12625 +/- 454
54th
3
13020 +/- 245
54th
5
13084 +/- 132
Median
50th
13749
50th
3
14099 +/- 1612
49th
4
14421 +/- 830
43rd
3
16295 +/- 562
40th
3
16922 +/- 233
40th
4
17200 +/- 1424
40th
6
18172 +/- 2675
36th
3
20128 +/- 939
32nd
3
24054 +/- 3368
31st
4
24343 +/- 171
30th
3
24895 +/- 687
28th
3
25809 +/- 1690
Low-Tier
25th
> 33452
25th
4
34689 +/- 2889
24th
3
36589 +/- 2924
24th
5
37255 +/- 5051
22nd
3
40830 +/- 2200
20th
3
42376 +/- 2035
17th
3
45827 +/- 777
17th
3
46248 +/- 1326
9th
3
96240 +/- 10463
8th
3
106320 +/- 6008
6th
3
125045 +/- 5611
OpenBenchmarking.orgDistribution Of Public Results - Test: DNN - Deep Neural Network386 Results Range From 3918 To 4460886 ms39189305818219827133836047844961853875862789871703880617889531898445810735981162738125187813410181430158151929816084381697578178671818758581964998205413821432782232418232155824106982499838258897826781182767258285639829455383034678312381832129583302098339123834803783569518365865837477983836938392607840152184104358419349842826384371778446091880160240320400

Based on OpenBenchmarking.org data, the selected test / test configuration (OpenCV 4.5.4 - Test: DNN - Deep Neural Network) has an average run-time of 6 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-Time816243240Min: 1 / Avg: 5.33 / Max: 37

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

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

Does It Scale Well With Increasing Cores?

No, based on the automated analysis of the collected public benchmark data, this test / test settings does not generally scale well with increasing CPU core counts. Data based on publicly available results for this test / test settings, separated by vendor, result divided by the reference CPU clock speed, grouped by matching physical CPU core count, and normalized against the smallest core count tested from each vendor for each CPU having a sufficient number of test samples and statistically significant data.

IntelAMDOpenBenchmarking.orgRelative Core Scaling To BaseOpenCV CPU Core ScalingTest: DNN - Deep Neural Network4816321.40632.81264.21895.62527.0315

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)
ARMv7 32-bit
armv7l
ARMv7 Cortex-A72 4-Core
ARMv8 64-bit
aarch64
ARMv8 9-Core, Ampere ARMv8 Neoverse-N1 256-Core, Ampere eMAG ARMv8 32-Core