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, 12 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.092018.022018.062018.102019.012019.042019.072019.102020.012020.082020.112021.022021.052021.082021.112022.022022.052022.082022.112023.022023.052023.082023.112024.022024.052024.085K10K15K20K25K
* 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 October 2024.
Core15.6%Features 2D9.2%Video12.0%Graph API9.9%Image Processing13.9%DNN13.0%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 319 public results since 18 March 2023 with the latest data as of 19 October 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
83rd
8
45783 +/- 2719
82nd
6
46664 +/- 760
82nd
11
46701 +/- 1616
78th
11
48277 +/- 4395
Mid-Tier
75th
> 49587
75th
4
49658 +/- 2448
74th
9
50355 +/- 1046
69th
3
53773 +/- 586
69th
3
53899 +/- 424
66th
4
54983 +/- 632
65th
7
55243 +/- 99
62nd
5
59038 +/- 280
61st
4
61724 +/- 3681
60th
3
64761 +/- 1024
57th
6
66590 +/- 1683
57th
3
68090 +/- 783
54th
4
69534 +/- 464
53rd
4
71614 +/- 390
Median
50th
73347
50th
3
73576 +/- 1909
50th
4
73606 +/- 1914
47th
4
76327 +/- 738
43rd
3
77793 +/- 1305
43rd
6
78490 +/- 3660
41st
3
82624 +/- 7285
38th
3
84921 +/- 718
37th
4
85773 +/- 3062
34th
4
88824 +/- 1930
33rd
3
92087 +/- 5956
33rd
4
92180 +/- 7573
31st
3
95024 +/- 1996
30th
3
95663 +/- 3685
Low-Tier
25th
> 99404
21st
3
103367 +/- 1218
21st
3
103375 +/- 8567
20th
3
107341 +/- 710
16th
3
119003 +/- 7934
16th
3
119650 +/- 1539
16th
4
121115 +/- 1989
13th
3
129150 +/- 1138
2nd
4
338508 +/- 11658
OpenBenchmarking.orgDistribution Of Public Results - Test: Core319 Results Range From 40301 To 972620 ms40301589487759596242114889133536152183170830189477208124226771245418264065282712301359320006338653357300375947394594413241431888450535469182487829506476525123543770562417581064599711618358637005655652674299692946711593730240748887767534786181804828823475842122860769879416898063916710935357954004972651306090120150

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.71 / 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.4 / 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)
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