OcrCandidate
Description
class OcrCandidate { public: float score; ftl::String name; explicit OcrCandidate(ftl::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 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]\).