maddevsio / go-idmatch

ID cards recognition based on gocv
https://idmatch.co
42 stars 13 forks source link

docker-compose failed #43

Closed tamal-appsbee closed 4 years ago

tamal-appsbee commented 5 years ago

Docker compose failed with following error:

pkg-config --cflags -- opencv4

Package opencv4 was not found in the pkg-config search path. Perhaps you should add the directory containing `opencv4.pc' to the PKG_CONFIG_PATH environment variable Package 'opencv4', required by 'virtual:world', not found pkg-config: exit status 1

Lezh1k commented 5 years ago

Hello. Did you build opencv4 from sources or get it in some another way?

tamal-appsbee commented 5 years ago

It's working now, I did build from source and added "cmake -D OPENCV_ENABLE_NONFREE=1" before build

Thanks

Lezh1k commented 5 years ago

Should work with -DOPENCV_GENERATE_PKGCONFIG=ON OPENCV_ENABLE_NONFREE isn't related to that issue.

tamal-appsbee commented 5 years ago

ok, I shall try that out. Thanks