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, 24 Seconds

Average Run Time

18 Minutes, 40 Seconds

Test Dependencies

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

Accolades

20k+ 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.113K6K9K12K15K
* 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 3 December 2023.
Core15.5%Features 2D9.1%Video12.1%Graph API10.4%Image Processing14.2%DNN12.9%Object Detection10.8%Stitching15.0%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 292 public results since 18 March 2023 with the latest data as of 21 August 2023.

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
94th
7
43032 +/- 1494
93rd
11
43762 +/- 713
85th
5
44444 +/- 589
85th
9
44499 +/- 2566
81st
8
45783 +/- 2719
80th
6
46664 +/- 760
80th
11
46701 +/- 1616
76th
11
48277 +/- 4395
Mid-Tier
75th
> 48627
73rd
4
49658 +/- 2448
71st
9
50355 +/- 1046
66th
3
53773 +/- 586
66th
3
53899 +/- 424
64th
4
54983 +/- 632
62nd
7
55243 +/- 99
59th
5
59038 +/- 280
59th
4
61724 +/- 3681
57th
3
64761 +/- 1024
55th
6
66590 +/- 1683
54th
3
68090 +/- 783
51st
4
69534 +/- 464
Median
50th
70815
49th
4
71614 +/- 390
47th
3
73576 +/- 1909
47th
4
73606 +/- 1914
43rd
4
76327 +/- 738
39th
3
77793 +/- 1305
39th
6
78490 +/- 3660
37th
3
82624 +/- 7285
34th
3
84921 +/- 718
33rd
4
85773 +/- 3062
30th
4
88824 +/- 1930
29th
3
92087 +/- 5956
29th
4
92180 +/- 7573
27th
3
95024 +/- 1996
27th
3
95663 +/- 3685
Low-Tier
25th
> 97175
19th
3
103367 +/- 1218
19th
3
103375 +/- 8567
18th
3
107341 +/- 710
14th
3
119003 +/- 7934
14th
3
119650 +/- 1539
14th
4
121115 +/- 1989
2nd
4
338508 +/- 11658
OpenBenchmarking.orgDistribution Of Public Results - Test: Core292 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 9 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.18 / Max: 67

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

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

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: Core681232640.67081.34162.01242.68323.354

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