Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
21 lines (16 sloc) 384 Bytes
package gocv
#include <stdlib.h>
#include "version.h"
import "C"
// GoCVVersion of this package, for display purposes.
const GoCVVersion = "0.20.0"
// Version returns the current golang package version
func Version() string {
return GoCVVersion
// OpenCVVersion returns the current OpenCV lib version
func OpenCVVersion() string {
return C.GoString(C.openCVVersion())
You can’t perform that action at this time.