Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Onenote OCR capabilities in a desktop software

Tags:

c#

ocr

onenote

Is there an API to use Onenote OCR capabilities to recognise text in images automatically?

like image 892
Salah Alshaal Avatar asked Aug 12 '14 12:08

Salah Alshaal


People also ask

Does Microsoft OneNote have OCR?

OneNote supports Optical Character Recognition (OCR), a tool that lets you copy text from a picture or file printout and paste it in your notes so you can make changes to the words.

How do I use OCR with OneNote?

Step 1: Launch Microsoft OneNote, import the image file into this software before you can start using OCR in OneNote. Step 2: Right-click on the image. You should be able to see an option called "Copy Text from Picture". Once you click on that, the text bits will be copied to the clipboard.

Does Windows have built in OCR?

There are of course various apps to do Optical Character Recognition (OCR) but Windows 10 has a built-in tool which makes the process very quick and easy for small amounts of text. Surprisingly we will be using the built-in Windows Search tool, and the process goes as follows.

Does Windows 10 have OCR capability?

Windows 10 has built in OCR capabilities that you can utilize to search for the documents on your Windows 10 PC.


1 Answers

If you have OneNote client on the same machine as your program will execute you can create a page in OneNote and insert the image through the COM API. Then you can read the page in XML format which will include the OCR'ed text.

You want to use

  1. Application.CreateNewPage to create a page
  2. Application.UpdatePageContent to insert the image
  3. Application.GetPageContent to read the page content and look for OCRData and OCRText elements in the XML.

OneNote COM API is documented here: http://msdn.microsoft.com/en-us/library/office/jj680120(v=office.15).aspx

like image 196
Omer Atay - MSFT Avatar answered Sep 28 '22 00:09

Omer Atay - MSFT