This is a simple test using OpenCv DNN module load SSD model running in different language, compare their running speed.
- Python 3.6.3
- OpenCv 3.3.0.10 (opencv-python)
- .NET Framework 4.7
- EmguCV 3.3.0.2824
- OpenCvSharp 3.3.1.20171117 🆕
- VC14
- OpenCv 3.3.1
- Windows 10 Pro 64bit
- Intel Core i7-7820HQ @ 2.90GHz
GPU didn't list because OpenCV DNN module can't enable GPU right now
- SSD / PASCAL VOC models : 07++12+COCO: SSD512 from here
- Python with OpenCV: 1510 ms
- C# with OpenCvSharp: 1917 ms 🆕
- C# with EmguCV: 4041 ms
- C++ with OpenCV: 9306 ms
- 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.