Skip to content

Commit

Permalink
Merge 'make it compilable with OpenCV 2.x and 3.x'
Browse files Browse the repository at this point in the history
  • Loading branch information
sohgo committed Oct 27, 2020
2 parents 9815fd7 + 3dc7207 commit be78263
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions src/kocr_cnn.cpp
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
#include <vector>
#include <string>
#include <string.h>
#include <opencv/cv.h>
#include <opencv/highgui.h>
#include <opencv/cv.hpp>
#include "opencv2/core/version.hpp"
#if CV_MAJOR_VERSION == 2
#include <opencv2/highgui/highgui.hpp>
#elif CV_MAJOR_VERSION == 3
#include <opencv2/highgui.hpp>
#endif

#include "forward_cnn.h"
#include "cropnums.h"
Expand Down

0 comments on commit be78263

Please sign in to comment.