go-opencv/README.md
2013-12-17 11:31:55 +08:00

1,001 B

#Go OpenCV binding

Why fork?

Original project (https://code.google.com/p/go-opencv) looks abandoned. Therefore, I decide to fork it and host it on Github, so that others can help to maintain this package.

TODOs

  • More details doc
  • Implement more bindings

Install

Linux

  • install Go1 and OpenCV
  • go get github.com/lazywei/go-opencv
  • cd ${GoOpenCVRoot}/samples && go run hellocv.go

Windows

  • install Go1 and MinGW
  • install OpenCV-2.4.x to MinGW dir
    • libopencv*.dll --> ${MinGWRoot}\bin
    • libopencv*.lib --> ${MinGWRoot}\lib
    • include\opencv --> ${MinGWRoot}\include\opencv
    • include\opencv2 --> ${MinGWRoot}\include\opencv2
  • go get code.google.com/p/go-opencv/trunk/opencv
  • cd ${GoOpenCVRoot}/trunk/samples && go run hellocv.go

Contribute

  • Fork this repo
  • Create new feature branch, git checkout -b your-feature-branch
  • Commit your change and push it to your repo git commit -m 'new feature'; git push origin your-feature-branch
  • Open pull request!