robocar-road/vendor/gocv.io/x/gocv/version.go

21 lines
384 B
Go
Raw Normal View History

2020-01-04 13:10:36 +00:00
package gocv
/*
#include <stdlib.h>
#include "version.h"
*/
import "C"
// GoCVVersion of this package, for display purposes.
2022-06-09 14:40:23 +00:00
const GoCVVersion = "0.31.0"
2020-01-04 13:10:36 +00:00
// 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())
}