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

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 18 March 2024.
Core15.6%Features 2D9.1%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.7

Test: Core

OpenBenchmarking.org metrics for this test profile configuration based on 305 public results since 18 March 2023 with the latest data as of 12 March 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
86th
5
44444 +/- 589
86th
9
44499 +/- 2566
82nd
8
45783 +/- 2719
81st
6
46664 +/- 760
81st
11
46701 +/- 1616
77th
11
48277 +/- 4395
Mid-Tier
75th
> 48888
74th
4
49658 +/- 2448
73rd
9
50355 +/- 1046
68th
3
53773 +/- 586
68th
3
53899 +/- 424
65th
4
54983 +/- 632
64th
7
55243 +/- 99
61st
5
59038 +/- 280
60th
4
61724 +/- 3681
59th
3
64761 +/- 1024
56th
6
66590 +/- 1683
55th
3
68090 +/- 783
53rd
4
69534 +/- 464
51st
4
71614 +/- 390
Median
50th
72002
48th
3
73576 +/- 1909
48th
4
73606 +/- 1914
45th
4
76327 +/- 738
41st
3
77793 +/- 1305
41st
6
78490 +/- 3660
39th
3
82624 +/- 7285
36th
3
84921 +/- 718
35th
4
85773 +/- 3062
32nd
4
88824 +/- 1930
30th
3
92087 +/- 5956
30th
4
92180 +/- 7573
29th
3
95024 +/- 1996
28th
3
95663 +/- 3685
Low-Tier
25th
> 98738
20th
3
103367 +/- 1218
20th
3
103375 +/- 8567
19th
3
107341 +/- 710
15th
3
119003 +/- 7934
15th
3
119650 +/- 1539
14th
4
121115 +/- 1989
2nd
4
338508 +/- 11658
OpenBenchmarking.orgDistribution Of Public Results - Test: Core302 Results Range From 40301 To 607572 ms40301516476299374339856859703110837711972313106914241515376116510717645318779919914521049122183723318324452925587526722127856728991330125931260532395133529734664335798936933538068139202740337341471942606543741144875746010347144948279549414150548751683352817953952555087156221757356358490959625560760120406080100

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.84 / Max: 67

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

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

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.49570.99141.48711.98282.4785

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, ARMv8 Neoverse-N1, ARMv8 Neoverse-N1 80-Core, ARMv8 Neoverse-V1, Phytium D2000