Files
sjy01-image-proc/vendor/gocv.io/x/gocv/version.go
2024-10-24 15:46:01 +08:00

21 lines
384 B
Go

package gocv
/*
#include <stdlib.h>
#include "version.h"
*/
import "C"
// GoCVVersion of this package, for display purposes.
const GoCVVersion = "0.36.1"
// 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())
}