Is there an API to use Onenote OCR capabilities to recognise text in images automatically?
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.
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.
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.
Windows 10 has built in OCR capabilities that you can utilize to search for the documents on your Windows 10 PC.
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
Application.CreateNewPage
to create a pageApplication.UpdatePageContent
to insert the imageApplication.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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With