Can I extract text from images?

I want to extract text from imagen and I found an article on this → Article. but I can’t use it as this is extracting the text based on a property → SearchResult result = index.Search("Einstein");

is there any other ways to extract text from images like how it is done in parser →

using (var parser = new GroupDocs.Parser.Parser(stream))
{
    // Extract text from the document
    var text = parser.GetText(new GroupDocs.Parser.Options.TextOptions(true));

    Return the extracted text
    return text?.ReadToEnd();
}

@Niteen_Jadhav

Could you please share the source file/image and complete source code (that you are using) to extract text from the image?

I am currently using atalasoft to extract text from images and unsearchable pdf’s but I am planning to move towards GroupDocs

@Niteen_Jadhav
We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.

Issue ID(s): SEARCHNET-3242

You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.

Hello,

Do you have any updates on this?

@Niteen_Jadhav

If your primary goal is to extract text, you should consider using GroupDocs.Parser. However, if you need to perform searches based on the extracted text, then GroupDocs.Search would be the appropriate choice. Just keep in mind that the Search API does not include built-in OCR capabilities and lacks methods such as parser.GetText.

ok, I have both the requirements. as of now, I am using Atalasoft to extract text from the images and for highlighting I am not doing anything.

@Niteen_Jadhav

You can use both Search and Parser APIs together to achieve your goal.

Can you please share me sample code?

@Niteen_Jadhav

We already published sample code on GitHub:

You can store the extracted text in a text file and perform search operation as demonstrated in build search query example above.