Algorithmix.Shred.AddOcrData C# (CSharp) Method

AddOcrData() public method

Set OCR Results, and Orientation Confidence on an Object
public AddOcrData ( OcrData results, long orienationConfidence, bool isUpsideDown ) : void
results OcrData The Orientation Results from the OCR execution
orienationConfidence long Absolute Orientation Confidence
isUpsideDown bool Indicates if True orientation is different than the current
return void
        public void AddOcrData(OcrData results, long orienationConfidence, bool isUpsideDown)
        {
            AddOcrData(results);
            _trueOrientation = isUpsideDown ? Enumeration.Opposite(Orientation) : Orientation;
            OrientationConfidence = orienationConfidence;
        }

Same methods

Shred::AddOcrData ( OcrData results ) : void