| | |
| | | #include "box.h" |
| | | #include "demo.h" |
| | | |
| | | #pragma comment(lib, "opencv_core249.lib") |
| | | #pragma comment(lib, "opencv_imgproc249.lib") |
| | | #pragma comment(lib, "opencv_highgui249.lib") |
| | | //#pragma comment(lib, "opencv_gpu249.lib") |
| | | //#pragma comment(lib, "opencv_photo249.lib") |
| | | //#pragma comment(lib, "opencv_video249.lib") |
| | | |
| | | #ifdef OPENCV |
| | | #include "opencv2/highgui/highgui_c.h" |
| | | #endif |
| | |
| | | |
| | | void test_yolo(char *cfgfile, char *weightfile, char *filename, float thresh) |
| | | { |
| | | image *alphabet = load_alphabet(); |
| | | image **alphabet = load_alphabet(); |
| | | network net = parse_network_cfg(cfgfile); |
| | | if(weightfile){ |
| | | load_weights(&net, weightfile); |