Create an object recognizer using the specific tranning data and parameters, it will always return the most similar object

Namespace: Emgu.CV
Assembly: Emgu.CV (in Emgu.CV.dll) Version: 2.2.1.1150 (2.2.1.1150)

Syntax

         
 C#  Visual Basic  Visual C++ 
public EigenObjectRecognizer(
	Image<Gray, byte>[] images,
	string[] labels,
	ref MCvTermCriteria termCrit
)
Public Sub New ( _
	images As Image(Of Gray, Byte)(), _
	labels As String(), _
	ByRef termCrit As MCvTermCriteria _
)
public:
EigenObjectRecognizer(
	array<Image<Gray, unsigned char>^>^ images, 
	array<String^>^ labels, 
	MCvTermCriteria% termCrit
)

Parameters

images
array<Image<(Of <(<'Gray, Byte>)>)>>[]()[][]
The images used for training, each of them should be the same size. It's recommended the images are histogram normalized
labels
array<String>[]()[][]
The labels corresponding to the images
termCrit
MCvTermCriteria%
The criteria for recognizer training

See Also