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.032024.055K10K15K20K25K
* 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 7 May 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.5.4

Test: Features 2D

OpenBenchmarking.org metrics for this test profile configuration based on 398 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)
100th
5
78797 +/- 497
98th
5
80005 +/- 259
93rd
8
90839 +/- 11755
92nd
12
91311 +/- 1764
91st
4
92773 +/- 435
86th
11
97169 +/- 8247
86th
3
97431 +/- 2488
84th
3
100892 +/- 435
83rd
3
101753 +/- 4086
81st
5
107039 +/- 13266
81st
6
107291 +/- 2284
80th
7
107936 +/- 7704
Mid-Tier
75th
> 111006
72nd
3
115758 +/- 1436
71st
3
117806 +/- 1172
70th
3
117869 +/- 4355
69th
5
118987 +/- 2377
68th
3
121705 +/- 4100
66th
4
128634 +/- 8829
65th
11
131070 +/- 9964
64th
3
133984 +/- 3827
62nd
3
138940 +/- 6524
61st
3
140764 +/- 5612
61st
4
141292 +/- 323
57th
5
147038 +/- 1903
54th
3
154532 +/- 3011
52nd
3
159701 +/- 2630
52nd
3
160219 +/- 14050
52nd
4
160573 +/- 10256
Median
50th
165500
49th
4
167368 +/- 2932
48th
3
170811 +/- 9851
47th
3
173982 +/- 11558
46th
4
174526 +/- 9305
46th
3
174704 +/- 7190
46th
3
178009 +/- 7239
46th
3
178248 +/- 2302
42nd
3
186333 +/- 3290
41st
3
189083 +/- 3950
41st
3
189326 +/- 18467
38th
4
197583 +/- 16358
38th
3
201884 +/- 4384
32nd
6
227288 +/- 19074
31st
3
230418 +/- 22660
29th
4
241254 +/- 5519
28th
4
243324 +/- 24659
27th
3
246861 +/- 12743
Low-Tier
25th
> 261221
24th
6
265294 +/- 13632
24th
3
266229 +/- 2151
22nd
6
283782 +/- 20948
22nd
3
285719 +/- 14564
21st
3
296913 +/- 12585
15th
3
440411 +/- 29475
13th
3
498009 +/- 45698
5th
19
1395355 +/- 168821
OpenBenchmarking.orgDistribution Of Public Results - Test: Features 2D398 Results Range From 70958 To 4901143 ms70958167562264166360770457374553978650582747186843790940394103699811336021230206132681014234141520018161662217132261809830190643420030382099642219624622928502389454248605825826622679266277587028724742969078306568231622863258890335549434520983548702364530637419103838514393511840317224128326422493043215344418138451474246113464707950480455449011584080120160200

Based on OpenBenchmarking.org data, the selected test / test configuration (OpenCV 4.5.4 - Test: Features 2D) has an average run-time of 26 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: Features 2DRun-Time306090120150Min: 4 / Avg: 25.53 / Max: 167

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

OpenBenchmarking.orgPercent, Fewer Is BetterAverage Deviation Between RunsTest: Features 2DDeviation3691215Min: 0 / Avg: 1.01 / Max: 10

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: Features 2D46816640.46670.93341.40011.86682.3335

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