Files
gocv/version.go
deadprogram cb5ffa9dcc Release: prepare for release 0.42
Signed-off-by: deadprogram <ron@hybridgroup.com>
2025-07-25 15:24:17 +02: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.42.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())
}