Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions include/easypr/config.h
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
#ifndef EASYPR_CONFIG_H_
#define EASYPR_CONFIG_H_

#define CV_VERSION_THREE_ZERO

namespace easypr {

enum Color { BLUE, YELLOW, WHITE, UNKNOWN };
Expand Down Expand Up @@ -131,7 +129,7 @@ private:\
}

// Load model. compatitable withe 3.0, 3.1 and 3.2
#ifdef CV_VERSION_THREE_TWO
#if (CV_VERSION_MAJOR >= 3) && (CV_VERSION_MINOR >= 2)
#define LOAD_SVM_MODEL(model, path) \
model = ml::SVM::load(path);
#define LOAD_ANN_MODEL(model, path) \
Expand Down