schwittlick / ofxDarknet

darknet neural network addon for openFrameworks
MIT License
496 stars 89 forks source link

Add native cv::Mat support #28

Closed colejd closed 1 year ago

colejd commented 7 years ago

Hello! This is my first pull request, so please bear with me if I messed something up.

I made some changes to support using ofxDarknet directly with opencv Mat objects. If OPENCV is defined, these can be used, otherwise the user can fall back on the methods that take ofImages.

I didn't see the need for ofxOpenCV to be in there, so I took it out -- does it actually get used if you don't have OPENCV defined?

Thanks!

schwittlick commented 6 years ago

Sorry for the belated reply :sweat_smile: You have a point, I'll try to include it in the new update.. :)