First implementation

This commit is contained in:
2019-12-19 00:08:07 +01:00
parent 8eee198344
commit 5e45401858
130 changed files with 20421 additions and 0 deletions

20
vendor/gocv.io/x/gocv/version.go generated vendored Normal file
View File

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