Hi all,
Actually my task is to extract text from image without using OCR tool .is there any possibility of doing without using OCR tool.
can anyone help me about this problem.
Thanks
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
mandark rajpathak11 reputationPosted Jul 22, 2015, 1:06 AM EDT
Gedion Nketiah8 reputationPosted Sep 17, 2015, 12:05 AM EDT
1) Have a user read it and type it (human recognition or transcript operators).
2) Perform automated optical character recognition (OCR).
I don't think you mean the first, and I'm not sure why you don't want the second. But if you want to automate the process, you must use an OCR engine such as modi, leadtools or tesseract.
Jony Green103 reputationPosted Oct 18, 2015, 6:49 PM EDT
Marvin ReidRank #1,963 · 746 reputationPosted Sep 19, 2022, 1:12 PM EDT
If the input files you are using are already searchable in nature, such as PDF or DOCX, you can use the LEADTOOLS GetText() method to get the text without running OCR. In cases outside of this, this will run OCR which would be required to extract the text. Here is an example that you can build on:
using (var document = DocumentFactory.LoadFromFile(@“C:\input\1.pdf”, new LoadDocumentOptions())) { var ocrEngine = OcrEngineManager.CreateEngine(OcrEngineType.LEAD); var rasterCodecs = new RasterCodecs(); var documentWriter = new DocumentWriter(); ocrEngine.Startup(rasterCodecs, documentWriter, null, LEAD_VARS.OcrLEADRuntimeDir); document.Text.OcrEngine = ocrEngine; // get text var page = document.Pages[0]; var pageText = page.GetText(); if (pageText != null) { pageText.BuildText(); var text = pageText.Text; Console.WriteLine(text); } }https://www.leadtools.com/help/sdk/v22/dh/dox/documentpage-gettext().html
https://www.leadtools.com/help/sdk/v22/tutorials/dotnet-console-parse-the-text-of-a-document.html
Rajanikant HawaldarRank #110 · 20.2K reputationPosted Sep 20, 2022, 7:21 AM EDT
https://www.c-sharpcorner.com/article/ocr-using-tesseract-in-C-Sharp/
Leon DRank #851 · 2.6K reputationPosted Sep 20, 2022, 10:47 PM EDT
You have to use an OCR tool to read text from images. Spire.OCR can help you achieve this task:
https://www.e-iceblue.com/Tutorials/Spire.OCR/Quick-Start-for-.NET-Core/How-to-use-Spire.OCR-for-.NET-in-.NET-Core-Applications.html
Naresh BeniwalRank #365 · 6.8K reputationPosted Oct 30, 2022, 5:37 AM EDT
https://geekflare.com/convert-image-to-text/