![]() ![]() If you are running a version of Go older than v1.10 and not modifying GoCV source, precompile the GoCV package to significantly decrease your build times: go install gocv.io/x/gocvīy default, pkg-config is used to determine the correct flags for compiling and linking OpenCV. The version program should output the following: gocv version: 0.32.0 Once you have installed OpenCV, you should be able to build or run any of the command examples: go run. You can install it by using Homebrew: brew install pkgconfig Pkg-config is used to determine the correct flags for compiling and linking OpenCV. If this is your first time installing OpenCV 4.7.0: brew install opencv If you already have an earlier version of OpenCV installed, you should update: brew upgrade opencv You can install OpenCV 4.7.0 using Homebrew. Install the GoCV package: go get -u -d gocv.io/x/gocv This page has information on how to install and use GoCV on macOS.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |