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

8 Minutes, 55 Seconds

Average Run Time

18 Minutes, 40 Seconds

Test Dependencies

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

Accolades

40k+ 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.052024.072024.092024.115K10K15K20K25K
* 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 22 December 2024.
Core15.6%Features 2D9.3%Video12.0%Graph API9.7%Image Processing13.9%DNN13.2%Object Detection11.6%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.7

Test: Core

OpenBenchmarking.org metrics for this test profile configuration based on 322 public results since 18 March 2023 with the latest data as of 28 November 2024.

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)
95th
13
42937 +/- 1620
95th
7
43032 +/- 1494
94th
11
43762 +/- 713
87th
5
44444 +/- 589
87th
9
44499 +/- 2566
83rd
8
45783 +/- 2719
82nd
6
46664 +/- 760
82nd
11
46701 +/- 1616
78th
11
48277 +/- 4395
Mid-Tier
75th
> 49608
75th
4
49658 +/- 2448
74th
9
50355 +/- 1046
69th
3
53773 +/- 586
69th
3
53899 +/- 424
67th
4
54983 +/- 632
65th
7
55243 +/- 99
62nd
5
59038 +/- 280
62nd
4
61724 +/- 3681
60th
3
64761 +/- 1024
58th
6
66590 +/- 1683
57th
3
68090 +/- 783
55th
4
69534 +/- 464
53rd
4
71614 +/- 390
51st
3
73576 +/- 1909
51st
4
73606 +/- 1914
Median
50th
74076
47th
4
76327 +/- 738
44th
3
77793 +/- 1305
43rd
6
78490 +/- 3660
41st
3
82624 +/- 7285
39th
3
84921 +/- 718
38th
4
85773 +/- 3062
35th
4
88824 +/- 1930
33rd
3
92087 +/- 5956
33rd
4
92180 +/- 7573
32nd
3
95024 +/- 1996
31st
3
95663 +/- 3685
Low-Tier
25th
> 99414
22nd
3
103367 +/- 1218
22nd
3
103375 +/- 8567
21st
3
107341 +/- 710
17th
3
119003 +/- 7934
17th
3
119650 +/- 1539
16th
4
121115 +/- 1989
14th
3
129150 +/- 1138
3rd
4
338508 +/- 11658
Detailed Performance Overview
OpenBenchmarking.orgDistribution Of Public Results - Test: Core322 Results Range From 40301 To 1050098 ms403016049780693100889121085141281161477181673201869222065242261262457282653302849323045343241363437383633403829424025444221464417484613504809525005545201565397585593605789625985646181666377686573706769726965747161767357787553807749827945848141868337888533908729928925949121969317989513100970910299051050101306090120150

Based on OpenBenchmarking.org data, the selected test / test configuration (OpenCV 4.7 - Test: Core) has an average run-time of 10 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: CoreRun-Time1326395265Min: 2 / Avg: 9.73 / Max: 67

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

OpenBenchmarking.orgPercent, Fewer Is BetterAverage Deviation Between RunsTest: CoreDeviation246810Min: 0 / Avg: 0.5 / Max: 6

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.

OpenBenchmarking.orgRelative Core Scaling To BaseOpenCV CPU Core ScalingTest: Core68121632640.49010.98021.47031.96042.4505

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 rev 3 4-Core
ARMv8 64-bit
aarch64
ARMv8 Cortex-A72 4-Core, ARMv8 Cortex-A76 4-Core, ARMv8 Neoverse-N1, ARMv8 Neoverse-N1 128-Core, ARMv8 Neoverse-N1 80-Core, ARMv8 Neoverse-V1, HiSilicon TSV110, Phytium D2000