Skip to content

config: fix up opencv version compatibility#286

Open
lzufalcon wants to merge 1 commit intoliuruoze:masterfrom
lzufalcon:master
Open

config: fix up opencv version compatibility#286
lzufalcon wants to merge 1 commit intoliuruoze:masterfrom
lzufalcon:master

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.

1 participant