Getting problem in implementing OCR through google vision APIs when clicking image in potrait mode

This thread was migrated from an old forum. It may contain information that are no longer valid. For further assistance, please post a new question or open a support ticket from the Customer Support portal.

Hi I am implmenting ocr by sending rawbytes of the image to the TextRecogniser in google vision API but the problem is my application is able to extract the text when I am using landscape mode in Kony Camera Widget but if I am uisng portrait mode it is not recognising an text. I am using kony camera widget to capture image not the android native camera permission.

Hi,

Sorry for late response.

I have a sample project for this, I hope this sample can solve your problem.

It's using kony camera widget and supports potrait & landscape.

I am tested using Kony Visualizer Version 8 Service Pack 1 Fix Pack 14.

Thanks,

Hi,

The rawbytes you are getting is not the issue here .When you send the rawbytes to googleVision API , You need to set the configuration of googleVision Framework. in iOS.

If you want you can create NFI for it.

Thanks,

HI @Svwvh Awnold​ Thank you so much for the project that you shared but I am facing one problem , It is asking for a google API key for a project that need billing account enabled , so is this chargeable ??

and also if you can provide a sample key that could work for this if possible that would be really helpful.

Hi @Shovix Ali​ ,

I am sorry that I cannot share my api key.

For this Google Vision to make it work you need to put your credit card in the Google Cloud Billing. Yes this is chargeable. But for the First 1000 units/month is free. https://cloud.google.com/vision/pricing

Thanks,