i want to develop desktop app to convert images to text than add that text to PDF and ms word document simple c# code can anyone help me i just uploaded the image in picturebox but i can not get it how to to the remaining task
Asked
Active
Viewed 961 times
-4
-
1Google for a c#/.NET pdf library! – TaW Jul 18 '16 at 10:32
-
Possible duplicate of [JPG to PDF Convertor in C#](http://stackoverflow.com/questions/1642280/jpg-to-pdf-convertor-in-c-sharp) – Gilad Green Jul 18 '16 at 10:32
-
Thanks but what about ms word document ? – Farhan Malik Jul 18 '16 at 10:43
1 Answers
0
You must use OCR(optical character recognition) librariys for example
TesseractOCR
Microsoft Cognitive Services - Computer Vision API
EmguCV with TesseractOCR
image to text with Tesseract OCR sample code https://github.com/charlesw/tesseract-samples tesseract for c# nuget link https://www.nuget.org/packages/Tesseract/
You can use it to convert text to pdf file itextsharp https://sourceforge.net/projects/itextsharp/
You can now convert to the Word file How to extract text from MS office documents in C#

Community
- 1
- 1

mesutpiskin
- 1,771
- 2
- 26
- 30
-
i want to convert text from textbox i don't want to create text file and than convert it. Is it possible? – Farhan Malik Jul 19 '16 at 14:01
-
-