OcrCandidate

Description

	class OcrCandidate
	{
		public:

			float score;
			atl::String name;

			explicit OcrCandidate(atl::String name = "", real score = 0.0f):
				score(score),
				name(name)
			{}

			const bool operator<(const OcrCandidate& left) const; //compares score

			bool operator == (const OcrCandidate& left) const;

			bool operator != (const OcrCandidate& left) const;
	};

Among results of RecognizeCharacters_MLP_Deprecated and RecognizeCharacters_SVM_Deprecated there is an two-dimensional array of OcrCandidate. Each column of that array contains candidates, which were in queue to recognize and probability of its recognition. Value of score is always in range \([0, 1]\).

See Also