go-opencv/opencv/calib3d/go_calib3d_test.go
2015-02-13 16:47:55 +08:00

24 lines
660 B
Go

package go_calib3d
import "testing"
// [[[ 0. 25. 0.]
// [ 0. -25. 0.]
// [-47. 25. 0.]
// [-47. -25. 0.]]]
// [[[ 1136.4140625 1041.89208984]
// [ 1845.33190918 671.39581299]
// [ 302.73373413 634.79998779]
// [ 1051.46154785 352.76107788]]]
// (1920, 1080)
// [[ 4.82812906e+03 0.00000000e+00 9.59500000e+02]
// [ 0.00000000e+00 4.82812906e+03 5.39500000e+02]
// [ 0.00000000e+00 0.00000000e+00 1.00000000e+00]]
func TestMain(t *testing.T) {
// objPoints := opencv.CreateMat(4, 3, opencv.CV_64F)
// spew.Dump(objPoints.Get(0, 0))
// InitIntrinsicParams2D(objPoints)
xxx := NewGoCalib3d()
xxx.Foo()
}