2019-12-18 23:08:07 +00:00
|
|
|
package gocv
|
|
|
|
|
|
|
|
/*
|
|
|
|
#include <stdlib.h>
|
|
|
|
#include "version.h"
|
|
|
|
*/
|
|
|
|
import "C"
|
|
|
|
|
|
|
|
// GoCVVersion of this package, for display purposes.
|
2022-01-03 18:21:35 +00:00
|
|
|
const GoCVVersion = "0.29.0"
|
2019-12-18 23:08:07 +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())
|
|
|
|
}
|