Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

config: fix up opencv version compatibility #286

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

lzufalcon
Copy link

Fix up errors like #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 wuzhangjin@gmail.com

Fix up errors like liuruoze#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::load<ml::ANN_MLP>(path);
                              ~~~~~~~~~~~^

Tested in Mac OSX with opencv 3.4.1.

Signed-off-by: Wu Zhangjin <wuzhangjin@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant