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, 16 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.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 13 April 2024.
Core15.7%Features 2D9.0%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.4

Test: DNN - Deep Neural Network

OpenBenchmarking.org metrics for this test profile configuration based on 172 public results since 22 September 2020 with the latest data as of 4 August 2021.

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)
96th
3
3078 +/- 107
92nd
6
3176 +/- 42
89th
5
3882 +/- 215
87th
3
3935 +/- 38
84th
3
4218 +/- 120
82nd
3
4320 +/- 65
Mid-Tier
75th
> 4758
74th
6
4785 +/- 126
74th
3
4845 +/- 194
69th
3
5005 +/- 436
67th
3
5288 +/- 313
67th
3
5337 +/- 676
66th
5
5358 +/- 221
64th
3
5486 +/- 74
58th
3
6512 +/- 279
52nd
3
7218 +/- 79
52nd
3
7324 +/- 466
51st
3
7375 +/- 448
Median
50th
7535
48th
3
7725 +/- 475
45th
4
8269 +/- 372
42nd
3
8786 +/- 483
39th
3
9377 +/- 337
34th
4
10782 +/- 288
28th
6
12790 +/- 586
Low-Tier
25th
> 14815
17th
3
21012 +/- 857
10th
6
26047 +/- 281
6th
3
43939 +/- 6575
5th
3
47672 +/- 1767
OpenBenchmarking.orgDistribution Of Public Results - Test: DNN - Deep Neural Network172 Results Range From 2461 To 9166291 ms24611857383690155522927355699188461102123128540014686771651954183523120185082201785238506225683392751616293489331181703301447348472436680013851278403455542178324401109458438647676634950940513421753174945500771568404858673256050602623387964171566600433678371069669877150264733354175168187700095788337280666498249926843320386164808799757898303491663114080120160200

Based on OpenBenchmarking.org data, the selected test / test configuration (OpenCV 4.4 - Test: DNN - Deep Neural Network) has an average run-time of 3 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: DNN - Deep Neural NetworkRun-Time612182430Min: 1 / Avg: 2.59 / Max: 24

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

OpenBenchmarking.orgPercent, Fewer Is BetterAverage Deviation Between RunsTest: DNN - Deep Neural NetworkDeviation918273645Min: 0 / Avg: 8.9 / Max: 46

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: DNN - Deep Neural Network468240.69581.39162.08742.78323.479

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)
IBM POWER (PowerPC) 64-bit
ppc64le
POWER9 44-Core
ARMv8 64-bit
aarch64
ARMv8 Cortex-A53 4-Core