using System.Collections.Generic;

namespace CrossCutting.Generic
{
    public class InterpretationResult<TImage, TRect, TPoint>
    {
        public string RawText { get; set; }
        public IEnumerable<TRect> FoundRectangles { get; }

        public IEnumerable<IInterpretations> Interpretations { get; set; }
        public IEnumerable<ImageElementInterpretations<TPoint, TImage>> CharacterBlobs { get; set; }

        public InterpretationResult(string rawText, IEnumerable<TRect> foundRectangles, IEnumerable<IInterpretations> interpretations)
        {
            FoundRectangles = foundRectangles;
            RawText = rawText;
            Interpretations = interpretations;
        }
    }
}

