%3CLINGO-SUB%20id%3D%22lingo-sub-2121341%22%20slang%3D%22en-US%22%3EComputer%20Vision%20OCR%20(Read%20API)%20previews%2073%20human%20languages%20and%20new%20features%20on%20cloud%20and%20on-premise%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2121341%22%20slang%3D%22en-US%22%3E%3CH1%20id%3D%22toc-hId-1269928055%22%20id%3D%22toc-hId-1269928019%22%3EOverview%3C%2FH1%3E%0A%3CP%3EBusinesses%20today%20are%20applying%20Optical%20Character%20Recognition%20(OCR)%20and%20document%20AI%20technologies%20to%20rapidly%20convert%20their%20large%20troves%20of%20documents%20and%20images%20into%20actionable%20insights.%20These%20insights%20power%20robotic%20process%20automation%20(RPA)%2C%20knowledge%20mining%2C%20and%20industry-specific%20solutions.%20However%2C%20there%20are%20several%20challenges%20to%20successfully%20implementing%20these%20scenarios%20at%20scale.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH1%20id%3D%22toc-hId--537526408%22%20id%3D%22toc-hId--537526444%22%3EThe%20challenge%3C%2FH1%3E%0A%3CP%3EYour%20customers%20are%20global%2C%20and%20their%20content%20is%20global%20so%20your%20systems%20should%20also%20speak%20and%20read%20international%20languages.%20Nothing%20is%20more%20frustrating%20than%20not%20reaching%20your%20global%20customers%20due%20to%20lack%20of%20support%20for%20their%20native%20languages.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ESecondly%2C%20your%20documents%20are%20large%2C%20with%20potentially%20hundreds%20and%20even%20thousands%20of%20pages.%20To%20complicate%20things%2C%20they%20have%20print%20and%20handwritten%20style%20text%20mixed%20into%20the%20same%20documents.%20To%20make%20matters%20worse%2C%20they%20have%20multiple%20languages%20in%20the%20same%20document%2C%20possibly%20even%20in%20the%20same%20line.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThirdly%2C%20you%20are%20a%20business%20that%E2%80%99s%20trusted%20by%20your%20customers%20to%20protect%20their%20data%20and%20information.%20If%20your%20customers%20are%20in%20industries%20such%20as%20healthcare%2C%20insurance%2C%20banking%2C%20and%20finance%2C%20you%20have%20stringent%20data%20privacy%20and%20security%20needs.%20You%20need%20the%20flexibility%20to%20deploy%20your%20solutions%20on%20the%20world%E2%80%99s%20most%20trusted%20cloud%20or%20on-premise%20within%20your%20environment.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EFinally%2C%20you%20should%20not%20have%20to%20choose%20between%20world-class%20AI%20quality%2C%20world%20languages%20support%2C%20and%20deployment%20on%20cloud%20or%20on-premise.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH1%20id%3D%22toc-hId-1949986425%22%20id%3D%22toc-hId-1949986389%22%3EComputer%20Vision%20OCR%20(Read%20API)%3C%2FH1%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fcognitive-services%2Fcomputer-vision%2Fconcept-recognizing-text%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3EMicrosoft%E2%80%99s%20Computer%20Vision%20OCR%20(Read)%3C%2FA%3E%20technology%20is%20available%20as%20a%20Cognitive%20Services%20Cloud%20API%20and%20as%20Docker%20containers.%20Customers%20use%20it%20in%20diverse%20scenarios%20on%20the%20cloud%20and%20within%20their%20networks%20to%20help%20automate%20image%20and%20document%20processing.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3C%2FP%3E%3CDIV%20class%3D%22video-embed-center%20video-embed%22%3E%3CIFRAME%20class%3D%22embedly-embed%22%20src%3D%22https%3A%2F%2Fcdn.embedly.com%2Fwidgets%2Fmedia.html%3Fsrc%3Dhttps%253A%252F%252Fwww.youtube.com%252Fembed%252FTX7XwwIG5lw%253Ffeature%253Doembed%26amp%3Bdisplay_name%3DYouTube%26amp%3Burl%3Dhttps%253A%252F%252Fwww.youtube.com%252Fwatch%253Fv%253DTX7XwwIG5lw%26amp%3Bimage%3Dhttps%253A%252F%252Fi.ytimg.com%252Fvi%252FTX7XwwIG5lw%252Fhqdefault.jpg%26amp%3Bkey%3Dfad07bfa4bd747d3bdea27e17b533c0e%26amp%3Btype%3Dtext%252Fhtml%26amp%3Bschema%3Dyoutube%22%20width%3D%22600%22%20height%3D%22337%22%20scrolling%3D%22no%22%20title%3D%22YouTube%20embed%22%20frameborder%3D%220%22%20allow%3D%22autoplay%3B%20fullscreen%22%20allowfullscreen%3D%22true%22%3E%3C%2FIFRAME%3E%3C%2FDIV%3E%3CP%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH1%20id%3D%22toc-hId-142531962%22%20id%3D%22toc-hId-142531926%22%3EWhat%E2%80%99s%20New%3C%2FH1%3E%0A%3CP%3EWe%20are%20announcing%20Computer%20Vision's%20%3CA%20href%3D%22https%3A%2F%2Fwestus.dev.cognitive.microsoft.com%2Fdocs%2Fservices%2Fcomputer-vision-v3-2-preview-2%2Foperations%2F5d986960601faab4bf452005%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3ERead%20API%20v3.2%20public%20preview%3C%2FA%3E%20as%20a%20cloud%20service%20and%20Docker%20container.%20It%20includes%20the%20following%20updates%3A%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fcognitive-services%2Fcomputer-vision%2Flanguage-support%23optical-character-recognition-ocr%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%20data-linktype%3D%22relative-path%22%3EOCR%20for%2073%20languages%3C%2FA%3E%26nbsp%3Bincluding%20Simplified%20and%20Traditional%20Chinese%2C%20Japanese%2C%20Korean%2C%20and%20several%20Latin%20languages.%3C%2FLI%3E%0A%3CLI%3ENatural%20reading%20order%20for%20the%20text%20line%20output.%3C%2FLI%3E%0A%3CLI%3EHandwriting%20style%20classification%20for%20text%20lines.%3C%2FLI%3E%0A%3CLI%3EText%20extraction%20for%20selected%20pages%20for%20a%20multi-page%20document.%3C%2FLI%3E%0A%3CLI%3EAvailable%20as%20a%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fcognitive-services%2Fcomputer-vision%2Fcomputer-vision-how-to-install-containers%3Ftabs%3Dversion-3-2%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%20data-linktype%3D%22relative-path%22%3EDistroless%20container%3C%2FA%3E%26nbsp%3Bfor%20on-premise%20deployment.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH1%20id%3D%22toc-hId--1664922501%22%20id%3D%22toc-hId--1664922537%22%3EFirst%20wave%20of%20language%20expansion%3C%2FH1%3E%0A%3CP%3EWith%20the%20latest%20Read%20preview%20version%2C%20we%20are%20announcing%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fcognitive-services%2Fcomputer-vision%2Flanguage-support%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3EOCR%20support%20for%2073%20languages%3C%2FA%3E%2C%20including%20Chinese%20Simplified%2C%20Chinese%20Traditional%2C%20Japanese%2C%20Korean%2C%20and%20several%20Latin%20languages%2C%20a%2010x%20increase%20from%20the%20Read%203.1%20GA%20version.%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThanks%20to%20Read%E2%80%99s%20universal%20model%2C%20to%20extract%20the%20text%20in%20these%20languages%2C%20use%20the%20Read%20API%20call%20without%20the%20optional%20language%20parameter.%20We%20recommend%20not%20using%20the%20language%20parameter%20if%20you%20are%20unsure%20of%20the%20language%20of%20the%20input%20document%20or%20image%20at%20run%20time.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThe%20latest%20Read%20preview%20supports%20the%20following%20languages%3A%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22Read3.2-Preview-Languages.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F254311iAC5BDA5C8AD7426E%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22Read3.2-Preview-Languages.png%22%20alt%3D%22Read%203.2%20Preview%20Languages%22%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3ERead%203.2%20Preview%20Languages%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EFor%20example%2C%20once%20you%20have%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fcognitive-services%2Fcomputer-vision%2Fquickstarts-sdk%2Fclient-library%3Ftabs%3Dvisual-studio%26amp%3Bpivots%3Dprogramming-language-rest-api%23prerequisites%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ecreated%20a%20Computer%20Vision%20resource%3C%2FA%3E%2C%20the%20following%20curl%20code%20will%20call%20the%20Read%203.2%20preview%20with%20the%20sample%20image.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EMake%20the%20following%20changes%20in%20the%20command%20where%20needed%3A%3C%2FP%3E%0A%3COL%3E%0A%3CLI%3EReplace%20the%20value%20of%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CCODE%3E%3CSUBSCRIPTIONKEY%3E%3C%2FSUBSCRIPTIONKEY%3E%3C%2FCODE%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Ewith%20your%20subscription%20key.%3C%2FLI%3E%0A%3CLI%3EReplace%20the%20first%20part%20of%20the%20request%20URL%20(%3CCODE%3Ewestcentralus%3C%2FCODE%3E)%20with%20the%20text%20in%20your%20own%20endpoint%20URL.%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CPRE%20class%3D%22lia-code-sample%20language-bash%22%3E%3CCODE%3Ecurl%20-v%20-X%20POST%20%22https%3A%2F%2Fwestcentralus.api.cognitive.microsoft.com%2Fvision%2Fv3.2-preview.2%2Fread%2Fanalyze%22%20-H%20%22Content-Type%3A%20application%2Fjson%22%20-H%20%22Ocp-Apim-Subscription-Key%3A%20%3CSUBSCRIPTION%20key%3D%22%22%3E%22%20--data-ascii%20%22%7B%5C%22url%5C%22%3A%5C%22https%3A%2F%2Fupload.wikimedia.org%2Fwikipedia%2Fcommons%2Fthumb%2Fa%2Faf%2FAtomist_quote_from_Democritus.png%2F338px-Atomist_quote_from_Democritus.png%5C%22%7D%22%3C%2FSUBSCRIPTION%3E%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EThe%20response%20will%20include%20an%26nbsp%3B%3C%2FSPAN%3E%3CCODE%3EOperation-Location%3C%2FCODE%3E%3CSPAN%3E%26nbsp%3Bheader%2C%20whose%20value%20is%20a%20unique%20URL.%20You%20use%20this%20URL%20to%20query%20the%20results%20of%20the%20Read%20operation.%20The%20URL%20expires%20in%2048%20hours.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CPRE%20class%3D%22lia-code-sample%20language-bash%22%3E%3CCODE%3Ecurl%20-v%20-X%20GET%20%22https%3A%2F%2Fwestcentralus.api.cognitive.microsoft.com%2Fvision%2Fv3.2-preview.2%2Fread%2FanalyzeResults%2F%7BoperationId%7D%22%20-H%20%22Ocp-Apim-Subscription-Key%3A%20%7Bsubscription%20key%7D%22%20--data-ascii%20%22%7Bbody%7D%22%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH1%20class%3D%22lia-align-left%22%20id%3D%22toc-hId-822590332%22%20id%3D%22toc-hId-822590296%22%3ENatural%20reading%20order%20output%20(Latin%20languages)%3C%2FH1%3E%0A%3CP%20class%3D%22lia-align-left%22%3EOCR%20services%20typically%20output%20text%20in%20a%20certain%20order%20in%20their%20output.%20With%20the%20new%20Read%20preview%2C%20choose%20to%20get%20the%20text%20lines%20in%20the%20natural%20reading%20order%20instead%20of%20the%20default%20left%20to%20right%20and%20top%20to%20bottom%20ordering.%20Use%20the%20new%26nbsp%3B%3CEM%3EreadingOrder%3C%2FEM%3E%26nbsp%3Bquery%20parameter%20with%20the%20%E2%80%9C%3CEM%3Enatural%3C%2FEM%3E%E2%80%9D%26nbsp%3Bvalue%20for%20a%20more%20human-friendly%20reading%20order%20output%20as%20shown%20in%20the%20following%20example.%3C%2FP%3E%0A%3CP%20class%3D%22lia-align-left%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThe%20following%20visualization%20of%20the%20JSON%20formatted%20service%20response%20shows%20the%20text%20line%20order%20for%20the%20same%20document.%20Note%20the%20first%20column's%20text%20lines%20output%20in%20order%20before%20listing%20the%20second%20column%20and%20finally%20the%20third%20column.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-align-left%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22ocr-read-order-example.png%22%20style%3D%22width%3A%20852px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F254168i6B2E989758BBAB7A%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22ocr-read-order-example.png%22%20alt%3D%22OCR%20Read%20order%20example%22%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3EOCR%20Read%20order%20example%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-align-left%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-align-left%22%3EFor%20example%2C%20the%20following%20curl%20code%20sample%20calls%20the%20Read%203.2%20preview%20to%20analyze%20the%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fmicrosoft-365-app-certification%2Fmedia%2Fdec01.png%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Esample%20newsletter%20image%3C%2FA%3E%20and%20output%20a%20natural%20reading%20order%20for%20the%20extracted%20text%20lines.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CPRE%20class%3D%22lia-code-sample%20language-bash%22%3E%3CCODE%3Ecurl%20-v%20-X%20POST%20%22https%3A%2F%2Fwestcentralus.api.cognitive.microsoft.com%2Fvision%2Fv3.2-preview.2%2Fread%2Fanalyze%3FreadingOrder%3Dnatural%20-H%20%22Content-Type%3A%20application%2Fjson%22%20-H%20%22Ocp-Apim-Subscription-Key%3A%20%3CSUBSCRIPTION%20key%3D%22%22%3E%22%20--data-ascii%20%22%7B%5C%22url%5C%22%3A%5C%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fmicrosoft-365-app-certification%2Fmedia%2Fdec01.png%5C%22%7D%22%3C%2FSUBSCRIPTION%3E%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EThe%20response%20will%20include%20an%26nbsp%3B%3C%2FSPAN%3E%3CCODE%3EOperation-Location%3C%2FCODE%3E%3CSPAN%3E%26nbsp%3Bheader%2C%20whose%20value%20is%20a%20unique%20URL.%20You%20use%20this%20URL%20to%20query%20the%20results%20of%20the%20Read%20operation.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CPRE%20class%3D%22lia-code-sample%20language-bash%22%3E%3CCODE%3Ecurl%20-v%20-X%20GET%20%22https%3A%2F%2Fwestcentralus.api.cognitive.microsoft.com%2Fvision%2Fv3.2-preview.2%2Fread%2FanalyzeResults%2F%7BoperationId%7D%22%20-H%20%22Ocp-Apim-Subscription-Key%3A%20%7Bsubscription%20key%7D%22%20--data-ascii%20%22%7Bbody%7D%22%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH2%20class%3D%22lia-align-left%22%20id%3D%22toc-hId-1513151806%22%20id%3D%22toc-hId-1513151770%22%3E%3CSPAN%20style%3D%22color%3A%20inherit%3B%20font-family%3A%20inherit%3B%20font-size%3A%2030px%3B%22%3EHandwriting%20style%20classification%20(Latin%20languages)%3C%2FSPAN%3E%3C%2FH2%3E%0A%3CP%20class%3D%22lia-align-left%22%3EWhen%20you%20apply%20OCR%20on%20business%20forms%20and%20applications%2C%20it%E2%80%99s%20useful%20to%20know%20which%20parts%20of%20the%20form%20has%20handwritten%20text%20in%20them%20so%20that%20they%20can%20be%20handled%20differently.%20For%20example%2C%20comments%20and%20the%20signature%20areas%20of%20agreements%20typically%20contain%20handwritten%20text.%20With%20the%20latest%20Read%20preview%2C%20the%20service%20will%20classify%20Latin%20languages-only%20text%20lines%20as%20handwritten%20style%20or%20not%20along%20with%20a%20confidence%20score.%3C%2FP%3E%0A%3CP%20class%3D%22lia-align-left%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-align-left%22%3EFor%20example%2C%20in%20the%20following%20image%2C%20you%20see%20the%20appearance%20object%20in%20the%20JSON%20response%20with%20the%20style%20classified%20as%20handwriting%20along%20with%20a%20confidence%20score.%3C%2FP%3E%0A%3CP%20class%3D%22lia-align-left%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-align-left%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22sanjeev_jagtap_1-1613027644240.png%22%20style%3D%22width%3A%20726px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F254124i9123CD1B35534690%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22sanjeev_jagtap_1-1613027644240.png%22%20alt%3D%22OCR%20handwriting%20style%20classification%20for%20text%20lines%22%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3EOCR%20handwriting%20style%20classification%20for%20text%20lines%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20class%3D%22lia-align-left%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-align-left%22%3EThe%20following%20code%20analyzes%20the%20%3CA%20href%3D%22https%3A%2F%2Fintelligentkioskstore.blob.core.windows.net%2Fvisionapi%2Fsuggestedphotos%2F2.png%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3Esample%20handwritten%20image%3C%2FA%3E%20with%20the%20Read%203.2%20preview.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CPRE%20class%3D%22lia-code-sample%20language-bash%22%3E%3CCODE%3Ecurl%20-v%20-X%20POST%20%22https%3A%2F%2Fwestcentralus.api.cognitive.microsoft.com%2Fvision%2Fv3.2-preview.2%2Fread%2Fanalyze%20-H%20%22Content-Type%3A%20application%2Fjson%22%20-H%20%22Ocp-Apim-Subscription-Key%3A%20%3CSUBSCRIPTION%20key%3D%22%22%3E%22%20--data-ascii%20%22%7B%5C%22url%5C%22%3A%5C%22https%3A%2F%2Fintelligentkioskstore.blob.core.windows.net%2Fvisionapi%2Fsuggestedphotos%2F2.png%5C%22%7D%22%3C%2FSUBSCRIPTION%3E%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EThe%20response%20will%20include%20an%26nbsp%3B%3C%2FSPAN%3E%3CCODE%3EOperation-Location%3C%2FCODE%3E%3CSPAN%3E%26nbsp%3Bheader%2C%20whose%20value%20is%20a%20unique%20URL.%20You%20use%20this%20URL%20to%20query%20the%20results%20of%20the%20Read%20operation.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CPRE%20class%3D%22lia-code-sample%20language-bash%22%3E%3CCODE%3Ecurl%20-v%20-X%20GET%20%22https%3A%2F%2Fwestcentralus.api.cognitive.microsoft.com%2Fvision%2Fv3.2-preview.2%2Fread%2FanalyzeResults%2F%7BoperationId%7D%22%20-H%20%22Ocp-Apim-Subscription-Key%3A%20%7Bsubscription%20key%7D%22%20--data-ascii%20%22%7Bbody%7D%22%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH1%20class%3D%22lia-align-left%22%20id%3D%22toc-hId-1502648702%22%20id%3D%22toc-hId-1502648666%22%3EExtract%20text%20from%20select%20pages%20of%20a%20document%3C%2FH1%3E%0A%3CP%20class%3D%22lia-align-left%22%3EMany%20standard%20business%20forms%20have%20fillable%20sections%20followed%20by%20long%20informational%20sections%20that%20are%20identical%20between%20documents%2C%20and%20versions%20of%20those%20documents.%20At%20other%20times%2C%20you%20will%20be%20interested%20in%20applying%20OCR%20to%20specific%20pages%20of%20interest%20for%20business-specific%20reasons.%3C%2FP%3E%0A%3CP%20class%3D%22lia-align-left%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20class%3D%22lia-align-left%22%3EThe%20following%20curl%20code%20sample%20calls%20the%20Read%203.2%20preview%20to%20analyze%20the%20%3CA%20href%3D%22https%3A%2F%2Fwww.annualreports.com%2FHostedData%2FAnnualReports%2FPDF%2FNASDAQ_MSFT_2019.pdf%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3Efinancial%20report%20PDF%20document%3C%2FA%3E%20with%20the%20%3CEM%3Epages%3C%2FEM%3E%20input%20parameter%20set%20to%20the%20page%20range%2C%20%223-5%22.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CPRE%20class%3D%22lia-code-sample%20language-bash%22%3E%3CCODE%3Ecurl%20-v%20-X%20POST%20%22https%3A%2F%2Fwestcentralus.api.cognitive.microsoft.com%2Fvision%2Fv3.2-preview.2%2Fread%2Fanalyze%3Fpages%3D3-5%20-H%20%22Content-Type%3A%20application%2Fjson%22%20-H%20%22Ocp-Apim-Subscription-Key%3A%20%3CSUBSCRIPTION%20key%3D%22%22%3E%22%20--data-ascii%20%22%7B%5C%22url%5C%22%3A%5C%22https%3A%2F%2Fwww.annualreports.com%2FHostedData%2FAnnualReports%2FPDF%2FNASDAQ_MSFT_2019.pdf%5C%22%7D%22%3C%2FSUBSCRIPTION%3E%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EThe%20response%20will%20include%20an%26nbsp%3B%3C%2FSPAN%3E%3CCODE%3EOperation-Location%3C%2FCODE%3E%3CSPAN%3E%26nbsp%3Bheader%2C%20whose%20value%20is%20a%20unique%20URL.%20You%20use%20this%20URL%20to%20query%20the%20results%20of%20the%20Read%20operation.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CPRE%20class%3D%22lia-code-sample%20language-bash%22%3E%3CCODE%3Ecurl%20-v%20-X%20GET%20%22https%3A%2F%2Fwestcentralus.api.cognitive.microsoft.com%2Fvision%2Fv3.2-preview.2%2Fread%2FanalyzeResults%2F%7BoperationId%7D%22%20-H%20%22Ocp-Apim-Subscription-Key%3A%20%7Bsubscription%20key%7D%22%20--data-ascii%20%22%7Bbody%7D%22%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThe%20following%20JSON%20extract%20shows%20the%20resulting%20OCR%20output%20that%20extracted%20the%20text%20from%20pages%203%2C%204%2C%20and%205.%20You%20should%20see%20a%20similar%20output%20for%20your%20sample%20documents.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CPRE%20class%3D%22lia-code-sample%20language-json%22%3E%3CCODE%3E%22readResults%22%3A%20%5B%0A%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%22page%22%3A%203%2C%0A%20%20%20%20%20%20%20%20%22angle%22%3A%200%2C%0A%20%20%20%20%20%20%20%20%22width%22%3A%208.5%2C%0A%20%20%20%20%20%20%20%20%22height%22%3A%2011%2C%0A%20%20%20%20%20%20%20%20%22unit%22%3A%20%22inch%22%2C%0A%20%20%20%20%20%20%20%20%22lines%22%3A%20%5B%5D%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%22page%22%3A%204%2C%0A%20%20%20%20%20%20%20%20%22angle%22%3A%200%2C%0A%20%20%20%20%20%20%20%20%22width%22%3A%208.5%2C%0A%20%20%20%20%20%20%20%20%22height%22%3A%2011%2C%0A%20%20%20%20%20%20%20%20%22unit%22%3A%20%22inch%22%2C%0A%20%20%20%20%20%20%20%20%22lines%22%3A%20%5B%5D%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20%22page%22%3A%205%2C%0A%20%20%20%20%20%20%20%20%22angle%22%3A%200%2C%0A%20%20%20%20%20%20%20%20%22width%22%3A%208.5%2C%0A%20%20%20%20%20%20%20%20%22height%22%3A%2011%2C%0A%20%20%20%20%20%20%20%20%22unit%22%3A%20%22inch%22%2C%0A%20%20%20%20%20%20%20%20%22lines%22%3A%20%5B%5D%0A%20%20%20%20%20%20%7D%0A%5D%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH1%20id%3D%22toc-hId--304805761%22%20id%3D%22toc-hId--304805797%22%3EOn-premise%20option%20with%20Distroless%20container%3C%2FH1%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22sanjeev_jagtap_3-1613027644248.png%22%20style%3D%22width%3A%20200px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F254126i55D26341C58C22DE%2Fimage-size%2Fsmall%3Fv%3D1.0%26amp%3Bpx%3D200%22%20role%3D%22button%22%20title%3D%22sanjeev_jagtap_3-1613027644248.png%22%20alt%3D%22sanjeev_jagtap_3-1613027644248.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThe%20Read%203.2%20preview%20OCR%20container%20provides%3A%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3EAll%20features%20from%20the%20Read%20cloud%20API%20preview%3C%2FLI%3E%0A%3CLI%3EDistroless%20container%20release%3C%2FLI%3E%0A%3CLI%3EPerformance%20and%20memory%20enhancements%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fcognitive-services%2Fcomputer-vision%2Fcomputer-vision-how-to-install-containers%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3EInstall%20and%20run%20the%20Read%20containers%3C%2FA%3E%20to%20get%20started%20and%20find%20the%20recommended%20configuration%20settings.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH1%20id%3D%22toc-hId--2112260224%22%20id%3D%22toc-hId--2112260260%22%3EGet%20Started%3C%2FH1%3E%0A%3CUL%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fazure.microsoft.com%2Ffree%2Fcognitive-services%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3ECreate%20a%20Computer%20Vision%20resource%3C%2FA%3E%20in%20Azure.%3C%2FLI%3E%0A%3CLI%3EFollow%20our%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fcognitive-services%2Fcomputer-vision%2Fquickstarts-sdk%2Fclient-library%3Ftabs%3Dvisual-studio%26amp%3Bpivots%3Dprogramming-language-csharp%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3ESDK%20and%20REST%20API%20QuickStarts%3C%2FA%3E.%3C%2FLI%3E%0A%3CLI%3ELearn%20more%20about%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fazure%2Fcognitive-services%2Fcomputer-vision%2Fconcept-recognizing-text%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3E%20OCR%20(Read)%3C%2FA%3E%20and%20%3CA%20href%3D%22https%3A%2F%2Fazure.microsoft.com%2Fen-us%2Fservices%2Fcognitive-services%2Fform-recognizer%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3EForm%20Recognizer%3C%2FA%3E.%3C%2FLI%3E%0A%3CLI%3ESee%20the%20list%20of%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fcognitive-services%2Fcomputer-vision%2Flanguage-support%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3EOCR%20supported%20languages%3C%2FA%3E.%3C%2FLI%3E%0A%3CLI%3ELearn%20more%20about%20the%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fcognitive-services%2Fcomputer-vision%2Fcomputer-vision-how-to-install-containers%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3ERead%20containers%3C%2FA%3E%20and%20download%20them%20from%20Docker%20Hub.%3C%2FLI%3E%0A%3CLI%3EWrite%20to%20us%20at%20%3CA%20href%3D%22mailto%3Aformrecog_contact%40microsoft.com%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3Eformrecog_contact%40microsoft.com%3C%2FA%3E%3C%2FLI%3E%0A%3C%2FUL%3E%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-2121341%22%20slang%3D%22en-US%22%3E%3CP%3EAnnouncing%20Computer%20Vision's%20%3CA%20href%3D%22https%3A%2F%2Fwestus.dev.cognitive.microsoft.com%2Fdocs%2Fservices%2Fcomputer-vision-v3-2-preview-2%2Foperations%2F5d986960601faab4bf452005%22%20rel%3D%22noopener%20noreferrer%22%20target%3D%22_blank%22%3ERead%20API%20v3.2%20public%20preview%3C%2FA%3E%20as%20a%20cloud%20service%20and%20Docker%20container.%20It%20includes%26nbsp%3B%3CA%20style%3D%22background-color%3A%20%23ffffff%3B%22%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fcognitive-services%2Fcomputer-vision%2Flanguage-support%23optical-character-recognition-ocr%22%20data-linktype%3D%22relative-path%22%20rel%3D%22noopener%20noreferrer%22%20target%3D%22_blank%22%3EOCR%20support%20for%2073%20languages%3C%2FA%3E%26nbsp%3Bincluding%20Simplified%20and%20Traditional%20Chinese%2C%20Japanese%2C%20Korean%2C%20and%20several%20Latin%20languages.%20New%20features%20include%20natural%20reading%20order%2C%20handwriting%20style%20classification%20for%20text%20lines%2C%20and%20text%20extraction%20for%20selected%20pages%20for%20a%20multi-page%20document.%3C%2FP%3E%3C%2FLINGO-TEASER%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2121341%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3ECognitive%20Services%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EComputer%20Vision%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EForm%20Recognizer%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EUpdates%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Microsoft

Overview

Businesses today are applying Optical Character Recognition (OCR) and document AI technologies to rapidly convert their large troves of documents and images into actionable insights. These insights power robotic process automation (RPA), knowledge mining, and industry-specific solutions. However, there are several challenges to successfully implementing these scenarios at scale.

 

The challenge

Your customers are global, and their content is global so your systems should also speak and read international languages. Nothing is more frustrating than not reaching your global customers due to lack of support for their native languages.

 

Secondly, your documents are large, with potentially hundreds and even thousands of pages. To complicate things, they have print and handwritten style text mixed into the same documents. To make matters worse, they have multiple languages in the same document, possibly even in the same line.

 

Thirdly, you are a business that’s trusted by your customers to protect their data and information. If your customers are in industries such as healthcare, insurance, banking, and finance, you have stringent data privacy and security needs. You need the flexibility to deploy your solutions on the world’s most trusted cloud or on-premise within your environment.

 

Finally, you should not have to choose between world-class AI quality, world languages support, and deployment on cloud or on-premise.

 

Computer Vision OCR (Read API)

Microsoft’s Computer Vision OCR (Read) technology is available as a Cognitive Services Cloud API and as Docker containers. Customers use it in diverse scenarios on the cloud and within their networks to help automate image and document processing.

 

 

What’s New

We are announcing Computer Vision's Read API v3.2 public preview as a cloud service and Docker container. It includes the following updates:

  • OCR for 73 languages including Simplified and Traditional Chinese, Japanese, Korean, and several Latin languages.
  • Natural reading order for the text line output.
  • Handwriting style classification for text lines.
  • Text extraction for selected pages for a multi-page document.
  • Available as a Distroless container for on-premise deployment.

 

First wave of language expansion

With the latest Read preview version, we are announcing OCR support for 73 languages, including Chinese Simplified, Chinese Traditional, Japanese, Korean, and several Latin languages, a 10x increase from the Read 3.1 GA version. 

 

Thanks to Read’s universal model, to extract the text in these languages, use the Read API call without the optional language parameter. We recommend not using the language parameter if you are unsure of the language of the input document or image at run time.

 

The latest Read preview supports the following languages:

Read 3.2 Preview LanguagesRead 3.2 Preview Languages

 

For example, once you have created a Computer Vision resource, the following curl code will call the Read 3.2 preview with the sample image.

 

Make the following changes in the command where needed:

  1. Replace the value of <subscriptionKey> with your subscription key.
  2. Replace the first part of the request URL (westcentralus) with the text in your own endpoint URL.

 

curl -v -X POST "https://westcentralus.api.cognitive.microsoft.com/vision/v3.2-preview.2/read/analyze" -H "Content-Type: application/json" -H "Ocp-Apim-Subscription-Key: <subscription key>" --data-ascii "{\"url\":\"https://upload.wikimedia.org/wikipedia/commons/thumb/a/af/Atomist_quote_from_Democritus.png/338px-Atomist_quote_from_Democritus.png\"}"

 

The response will include an Operation-Location header, whose value is a unique URL. You use this URL to query the results of the Read operation. The URL expires in 48 hours.

 

curl -v -X GET "https://westcentralus.api.cognitive.microsoft.com/vision/v3.2-preview.2/read/analyzeResults/{operationId}" -H "Ocp-Apim-Subscription-Key: {subscription key}" --data-ascii "{body}"

 

 

Natural reading order output (Latin languages)

OCR services typically output text in a certain order in their output. With the new Read preview, choose to get the text lines in the natural reading order instead of the default left to right and top to bottom ordering. Use the new readingOrder query parameter with the “natural” value for a more human-friendly reading order output as shown in the following example.

 

The following visualization of the JSON formatted service response shows the text line order for the same document. Note the first column's text lines output in order before listing the second column and finally the third column.

 

OCR Read order exampleOCR Read order example

 

For example, the following curl code sample calls the Read 3.2 preview to analyze the sample newsletter image and output a natural reading order for the extracted text lines.

 

curl -v -X POST "https://westcentralus.api.cognitive.microsoft.com/vision/v3.2-preview.2/read/analyze?readingOrder=natural -H "Content-Type: application/json" -H "Ocp-Apim-Subscription-Key: <subscription key>" --data-ascii "{\"url\":\"https://docs.microsoft.com/en-us/microsoft-365-app-certification/media/dec01.png\"}"

 

The response will include an Operation-Location header, whose value is a unique URL. You use this URL to query the results of the Read operation.

 

curl -v -X GET "https://westcentralus.api.cognitive.microsoft.com/vision/v3.2-preview.2/read/analyzeResults/{operationId}" -H "Ocp-Apim-Subscription-Key: {subscription key}" --data-ascii "{body}"

 

 

Handwriting style classification (Latin languages)

When you apply OCR on business forms and applications, it’s useful to know which parts of the form has handwritten text in them so that they can be handled differently. For example, comments and the signature areas of agreements typically contain handwritten text. With the latest Read preview, the service will classify Latin languages-only text lines as handwritten style or not along with a confidence score.

 

For example, in the following image, you see the appearance object in the JSON response with the style classified as handwriting along with a confidence score.

 

OCR handwriting style classification for text linesOCR handwriting style classification for text lines

 

The following code analyzes the sample handwritten image with the Read 3.2 preview.

 

curl -v -X POST "https://westcentralus.api.cognitive.microsoft.com/vision/v3.2-preview.2/read/analyze -H "Content-Type: application/json" -H "Ocp-Apim-Subscription-Key: <subscription key>" --data-ascii "{\"url\":\"https://intelligentkioskstore.blob.core.windows.net/visionapi/suggestedphotos/2.png\"}"

 

The response will include an Operation-Location header, whose value is a unique URL. You use this URL to query the results of the Read operation.

 

curl -v -X GET "https://westcentralus.api.cognitive.microsoft.com/vision/v3.2-preview.2/read/analyzeResults/{operationId}" -H "Ocp-Apim-Subscription-Key: {subscription key}" --data-ascii "{body}"

 

 

Extract text from select pages of a document

Many standard business forms have fillable sections followed by long informational sections that are identical between documents, and versions of those documents. At other times, you will be interested in applying OCR to specific pages of interest for business-specific reasons.

 

The following curl code sample calls the Read 3.2 preview to analyze the financial report PDF document with the pages input parameter set to the page range, "3-5".

 

curl -v -X POST "https://westcentralus.api.cognitive.microsoft.com/vision/v3.2-preview.2/read/analyze?pages=3-5 -H "Content-Type: application/json" -H "Ocp-Apim-Subscription-Key: <subscription key>" --data-ascii "{\"url\":\"https://www.annualreports.com/HostedData/AnnualReports/PDF/NASDAQ_MSFT_2019.pdf\"}"

 

The response will include an Operation-Location header, whose value is a unique URL. You use this URL to query the results of the Read operation.

 

curl -v -X GET "https://westcentralus.api.cognitive.microsoft.com/vision/v3.2-preview.2/read/analyzeResults/{operationId}" -H "Ocp-Apim-Subscription-Key: {subscription key}" --data-ascii "{body}"

 

The following JSON extract shows the resulting OCR output that extracted the text from pages 3, 4, and 5. You should see a similar output for your sample documents.

 

"readResults": [
      {
        "page": 3,
        "angle": 0,
        "width": 8.5,
        "height": 11,
        "unit": "inch",
        "lines": []
      },
      {
        "page": 4,
        "angle": 0,
        "width": 8.5,
        "height": 11,
        "unit": "inch",
        "lines": []
      },
      {
        "page": 5,
        "angle": 0,
        "width": 8.5,
        "height": 11,
        "unit": "inch",
        "lines": []
      }
]

 

 

 

On-premise option with Distroless container

 

sanjeev_jagtap_3-1613027644248.png

 

The Read 3.2 preview OCR container provides:

  • All features from the Read cloud API preview
  • Distroless container release
  • Performance and memory enhancements

Install and run the Read containers to get started and find the recommended configuration settings.

 

 

Get Started