How to call Microsoft Computer Vision API in Cloud OCR activity

Hi I am trying to call Microsoft computer vision API for performing OCR using Microsoft Cloud OCR.

But getting the below error.

Have anyone tried similar?

@ddpadil

Regards

Main has thrown an exception

Source: Microsoft Cloud OCR

Message: Error performing OCR: MicrosoftCloudErrorRunEngine

Exception Type: Exception

System.Exception: Error performing OCR: MicrosoftCloudErrorRunEngine

Server stack trace:
at UiPath.Vision.VisionProcessor.ScrapeUsingHostService(OCRInput input, OCROptions options, CancellationToken cancelToken)
at UiPath.Vision.VisionProcessor.Scrape(OCRInput input, OCROptions options, CancellationToken cancelToken, Boolean useHostProcess)
at UiPath.Vision.VisionClient.Scrape(OCRInput input, OCROptions options, CancellationToken cancelToken, Boolean useHostProcess)
at UiPath.Vision.UiImage.ScrapeOCR(OCROptions options, CancellationToken cancellationToken)
at UiPath.Core.Activities.OCREngineActivity.<>c__DisplayClass36_0.b__0()
at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object args, Object server, Object& outArgs)
at System.Runtime.Remoting.Messaging.StackBuilderSink.AsyncProcessMessage(IMessage msg, IMessageSink replySink)

Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.EndInvokeHelper(Message reqMsg, Boolean bProxyCase)
at System.Runtime.Remoting.Proxies.RemotingProxy.Invoke(Object NotUsed, MessageData& msgData)
at System.Func1.EndInvoke(IAsyncResult result) at UiPath.Core.Activities.OCREngineActivity.EndExecute(AsyncCodeActivityContext context, IAsyncResult result) at System.Activities.AsyncCodeActivity1.System.Activities.IAsyncCodeActivity.FinishExecution(AsyncCodeActivityContext context, IAsyncResult result)
at System.Activities.AsyncCodeActivity.CompleteAsyncCodeActivityData.CompleteAsyncCodeActivityWorkItem.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager)

Hello Samurai,

I am getting the same error.

All I could find online regarding that, was about the api key from Microsoft Cloud.

I registered a free account, get the api key, set it in the api key section from the Cloud Ocr activity, but I still get the same error.

Any news regarding this?

Did you ever get this working? I’ve done the same as you and are getting the same error.