public void AddOcrData(OcrData results) { OcrResult = results; if (OCR.StripNewLine(OcrResult.Text).Length <= OCR_EMPTY_THRESHOLD) { using (Bitmap bmp = new Bitmap(Filepath)) { IsEmpty = Filter.IsEmpty(bmp); } } else { IsEmpty = false; } }