pjreddie / darknet

Convolutional Neural Networks
http://pjreddie.com/darknet/
Other
25.51k stars 21.32k forks source link

opencv4 support #2619

Open georgercarder opened 10 months ago

georgercarder commented 10 months ago

darknet currently only supports opencv2 which is becoming increasingly difficult to build on many platforms, archlinux in my case. "opencv4" is the current standard for archlinux and others and it contains opencv2 as a module.

The changes in the pr are some simple "header gymnastics", use of an explicit cvIplImage function, and small tweaks to the Makefile.