I am trying to run this sample code
AsposeOcr api = new AsposeOcr();
// Recognize image
string result = api.RecognizeImage(dataDir + "Sampleocr.bmp");
// Display the recognized text
Console.WriteLine(result);
I am getting the follow error. Is this example compatible with this version of aspose ocr? if not can you point me to the correctly location for this version?
Severity | Code | Description | Project | File | Line | Suppression State |
---|---|---|---|---|---|---|
Error | CS0246 | The type or namespace name ‘AsposeOcr’ could not be found (are you missing a using directive or an assembly reference?) | OCRText | C:\Users\612630008\source\repos\OCRText\Program.cs | 24 | Active |