Skip to content

Latest commit

 

History

History
42 lines (36 loc) · 1.34 KB

README.md

File metadata and controls

42 lines (36 loc) · 1.34 KB

OpenCV DNN Speed Test in Python / C# / C++

This is a simple test using OpenCv DNN module load SSD model running in different language, compare their running speed.

Test environment

Python
C#
  • .NET Framework 4.7
  • EmguCV 3.3.0.2824
  • OpenCvSharp 3.3.1.20171117 🆕
C++
  • VC14
  • OpenCv 3.3.1

System

  • Windows 10 Pro 64bit

Hardware

  • Intel Core i7-7820HQ @ 2.90GHz
    GPU didn't list because OpenCV DNN module can't enable GPU right now

Model

  • SSD / PASCAL VOC models : 07++12+COCO: SSD512 from here

Result

result chart

RunTime

  • Python with OpenCV: 1510 ms
  • C# with OpenCvSharp: 1917 ms 🆕
  • C# with EmguCV: 4041 ms
  • C++ with OpenCV: 9306 ms

Source Code

  • Python : OpenCvSSD.py
  • C++ : OpenCvSsdCplus.cpp
  • C# EmguCV : emguCvSsd.cs
  • C# OpenCvSharp : OpenCvSharpDnn\

More detail please check blog article: OpenCV DNN speed compare in Python, C#, C++.
2017/12/15 add OpenCvSharp Dnn Test.