Permalink
Fetching contributors…
Cannot retrieve contributors at this time
23 lines (18 sloc) 353 Bytes
// What it does:
//
// This program outputs the current OpenCV library version to the console.
//
// How to run:
//
// go run ./cmd/version/main.go
//
// +build example
package main
import (
"fmt"
"gocv.io/x/gocv"
)
func main() {
fmt.Printf("gocv version: %s\n", gocv.Version())
fmt.Printf("opencv lib version: %s\n", gocv.OpenCVVersion())
}