EasyPR
EasyPR copied to clipboard
config: fix up opencv version compatibility
Fix up errors like https://github.com/liuruoze/EasyPR/issues/152
EasyPR/src/core/chars_identify.cpp:22:3: error: expected '(' for function-style cast or type construction LOAD_ANN_MODEL(ann_, kDefaultAnnPath); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ EasyPR/include/easypr/config.h:141:42: note: expanded from macro 'LOAD_ANN_MODEL' model = ml::ANN_MLP::loadml::ANN_MLP(path); ~~~~~~~~~~~^
Tested in Mac OSX with opencv 3.4.1.
Signed-off-by: Wu Zhangjin [email protected]