Display camera frame

This commit is contained in:
2019-12-29 18:39:08 +01:00
parent 643cfbbd92
commit ac651c5e64
140 changed files with 21847 additions and 0 deletions

21
vendor/gocv.io/x/gocv/mat_noprofile.go generated vendored Normal file
View File

@@ -0,0 +1,21 @@
// +build !matprofile
package gocv
/*
#include <stdlib.h>
#include "core.h"
*/
import "C"
// newMat returns a new Mat from a C Mat
func newMat(p C.Mat) Mat {
return Mat{p: p}
}
// Close the Mat object.
func (m *Mat) Close() error {
C.Mat_Close(m.p)
m.p = nil
return nil
}