question

NandiniNammi-7994 avatar image
0 Votes"
NandiniNammi-7994 asked JialeXueMSFT-4441 commented

Capture image and extract the text from that image using Wpf Application in c#

i am trying to capture the image and extract the text from that image using wpf application in c#.

windows-wpfdotnet-wpf-xaml
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

Castorix31 avatar image
0 Votes"
Castorix31 answered JialeXueMSFT-4441 commented

You can use Windows.Media.Ocr
(Add references to
C:\Program Files (x86)\Windows Kits\10\UnionMetadata\Windows.winmd
and
C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETCore\v4.5\System.Runtime.WindowsRuntime.dll)
in WPF)


· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

I need it breif is it possible please. Thank you

0 Votes 0 ·
JialeXueMSFT-4441 avatar image JialeXueMSFT-4441 NandiniNammi-7994 ·

Hi @NandiniNammi-7994 , Here is a related example: WPF-WIN10-OCR on this answer, hope it helps.

0 Votes 0 ·