http://www.emgu.com
Train the planar object detector using the specific image

Namespace: Emgu.CV.Features2D
Assembly: Emgu.CV (in Emgu.CV.dll) Version: 2.4.0.1717 (2.4.0.1717)

Syntax

C#
public void Train(
	Image<Gray, byte> image,
	int npoints,
	int patchSize,
	int nstructs,
	int structSize,
	int nviews,
	ref LDetector keyPointDetector,
	ref PatchGenerator patchGenerator
)
Visual Basic
Public Sub Train ( _
	image As Image(Of Gray, Byte), _
	npoints As Integer, _
	patchSize As Integer, _
	nstructs As Integer, _
	structSize As Integer, _
	nviews As Integer, _
	ByRef keyPointDetector As LDetector, _
	ByRef patchGenerator As PatchGenerator _
)
Visual C++
public:
void Train(
	Image<Gray, unsigned char>^ image, 
	int npoints, 
	int patchSize, 
	int nstructs, 
	int structSize, 
	int nviews, 
	LDetector% keyPointDetector, 
	PatchGenerator% patchGenerator
)

Parameters

image
Type: Emgu.CV..::..Image<(Of <(<'Gray, Byte>)>)>
The training image
npoints
Type: System..::..Int32
Use 300 for default
patchSize
Type: System..::..Int32
Use 31 for default
nstructs
Type: System..::..Int32
Use 50 for default
structSize
Type: System..::..Int32
Use 9 for default
nviews
Type: System..::..Int32
Use 5000 for default
keyPointDetector
Type: Emgu.CV.Features2D..::..LDetector%
The keypoint detector to be used
patchGenerator
Type: Emgu.CV.Features2D..::..PatchGenerator%
The patch generator to be used

See Also