You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

24 lines
552 B

#ifndef __DARKNET_WRAPER_HEADER__
#define __DARKNET_WRAPER_HEADER__
#include "../../components/base/basicFunctionality.h"
#include <opencv2/opencv.hpp>
#include <opencv2/core.hpp>
#include <opencv2/imgcodecs.hpp>
#include <opencv2/highgui.hpp>
#include <opencv2/dnn/dnn.hpp>
using namespace cv;
class darknetWraper{
private:
void * m_pNET;
public:
darknetWraper();
~darknetWraper();
bool l_n( CSTR conf, CSTR weights, uint8_t clear = 0, uint8_t batch = 1 );
bool detect( cv::Mat &Picture );
};
#endif