2022-08-21 20:31:19 +00:00
|
|
|
package gocv
|
|
|
|
|
|
|
|
/*
|
|
|
|
#include <stdlib.h>
|
|
|
|
#include "version.h"
|
|
|
|
*/
|
|
|
|
import "C"
|
|
|
|
|
|
|
|
// GoCVVersion of this package, for display purposes.
|
2023-10-15 09:53:35 +00:00
|
|
|
const GoCVVersion = "0.35.0"
|
2022-08-21 20:31:19 +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())
|
|
|
|
}
|