- GoCV Go wrapper for OpenCV
- GoNum for numerical computations
Download Go from the Go downloads page for Windows. Run the installer.
Install Homebrew and run brew install go
We're using GoCV as the Go wrapper for OpenCV. Follow its instructions on how to install GoCV and OpenCV for your system. Ignore anything under "Cache Builds" or "Custom Environment"
You can use any editor to write Go code but VS Code has a great extension for Go. Be sure to click "Install All" when prompted by Visual Studio Code to install Go tools and utilities.
To build 2019-MOE-Vision.go
run go build
. This generates a 2019-MOE-Vision
or 2019-MOE-Vision.exe
executable. You can run this in Terminal with ./2019-MOE-Vision
or in PowerShell ./2019-MOE-Vision.exe
. When you run go build
using recent versions of Go, it should pull in packages automatically using go mod
.
TBD