EasyPR icon indicating copy to clipboard operation
EasyPR copied to clipboard

config: fix up opencv version compatibility

Open lzufalcon opened this issue 7 years ago • 0 comments

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]

lzufalcon avatar Jun 10 '18 05:06 lzufalcon