public async void Sample4HOCRText() { await _api.Init("eng", OcrEngineMode.TesseractOnly); using (var stream = LoadSample("sample4.jpg")) { var result = await _api.SetImage(stream); Assert.IsTrue(result); var htmlResult = _api.GetHOCRText(0); Assert.IsTrue(htmlResult.Contains("Good font for the OCR")); } }