Go for Mobile and graphics, GUI

By pjain      Published July 29, 2019, 12:47 a.m. in blog Programming   

Go for Mobile

SO libs in GO

OpenCV and Go

  • Problem OpenCV2.4 has C bindings while OpenCV3 has C++ only bindings and more optimized algorithms. Therefore bit of a pain.

opencv and go lang - Google Search go-opencv/go-opencv: Go bindings for OpenCV / 2.x API in gocv / 1.x API in opencv Using OpenCV 3 from #golang – Peter Leyssens – Medium OpenCV with Gobot


https://gobot.io/documentation/platforms/opencv/ OSX> brew tap homebrew/science && brew install opencv http://docs.opencv.org/doc/tutorials/introduction/windows_install/windows_install.html#windows-installation

package main
import (
        cv "github.com/lazywei/go-opencv/opencv"
func main() {
        window := opencv.NewWindowDriver()
        camera := opencv.NewCameraDriver(0)
        work := func() {
                camera.On(camera.Event("frame"), func(data interface{}) {
        robot := gobot.NewRobot("cameraBot",
                []gobot.Device{window, camera},



There are no comments yet

Add new comment

Similar posts

UXD Critique of Top Flutter Apps

Design Patterns Gallery for Flutter

Responsive Design and Go Mobile First

Networking for Corporate and Data Centers