web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / ComputerVisionAPI V2 M...
Power Apps
Unanswered

ComputerVisionAPI V2 Method OCRV2 and OCRTextV2 missing parameters

(0) ShareShare
ReportReport
Posted on by 3

I'm trying to use the ComputerVision API with the OCRV2 or OCRTextV2 as the original OCR and OCRText methods are no longer available (unless I'm missing something).

The issue I'm having is that the API documentation for OCRTextV2 gives somes parameters:

https://docs.microsoft.com/en-us/connectors/cognitiveservicescomputervision/

Required Parameters
Image Source
string
Source of the image - either included or by reference url.
Key:
format
Image
dynamic
Key:
Image

But the PowerApps web studio gives me different ones and there is no way to insert the image in the request:
See First image

But it seems to work fine with DescribeContentV2
See second image.

Any idea what is wrong ?

chrome_2019-04-26_07-47-00.png
chrome_2019-04-26_07-46-06.png
Categories:
  • v-xida-msft Profile Picture
    Microsoft Employee on at

    Hi @matremblay ,

    Do you want to use the ComputerVisionAPI.OCRV2() function and the ComputerVisionAPI.OCRTextV2() function within your canvas app?

     

    Based on the issue that you mentioned, I have made a test, and the issue is confirmed on my side. Currently, within PowerApps, when you use ComputerVisionAPI.OCRV2() function or the ComputerVisionAPI.OCRTextV2() function, there is no place to provide the Image argument (second argument).

    I think this issue may be related to the Computer Vision API (the Image parameter is not be exposed within OCRV2 action and OCRTextV2 action). Currently, within PowerApps, I afraid that there is no way to achieve your needs.

     

    If you would like this feature to be improved within PowerApps, please submit an idea to PowerApps Ideas Forum:

    https://powerusers.microsoft.com/t5/PowerApps-Ideas/idb-p/PowerAppsIdeas

     

    As an alternative solution, you could consider achieve your needs using Microsoft Flow. I have made a test on my side, please take a try with the following workaround:8.JPG

     

    In addition, you could also consider take a try to create a custom connector based on Computer Vision API within your app to achieve your needs. Please check and see if the following blog or video would help in your scenario:

    https://powerapps.microsoft.com/en-us/blog/cognitive-services-with-powerapps-using-custom-connectors/

    https://www.youtube.com/watch?v=KKon0Yqwu38

     

    If you capture the picture within your canvas app using Camera control instead of Add Picture control, I think the following video would also achieve your needs:

    https://www.youtube.com/watch?v=qXSRKfYqYMM

     

    Best regards,

  • matremblay Profile Picture
    3 on at

    I see, IO will post a suggestion to try to push them to update the API.

    One thing, I'm not sure how to send the captured image from my Powerapp to the Microsoft Flow then trigger it, then retrieve the informations. Can you point me to the right direction ?

  • hongkong Profile Picture
    277 on at

    OCRTextV3 have been released for preview. Is it possible to use OCRTextV3 in Power App? Can we pass "Image" parameter and what is "Dynamic" type means in Power App?

     

    ocr.jpg

     

    Name Key Required Type Description

    Resource Subdomain or Region
    subdomainNameTruestring

    Azure subdomain or geographic region (e.g. westus)

    Image Source
    formatTruestring

    Source of the image - either included or by reference url.

    Image
    ImageTruedynamic

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 395 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 260 Most Valuable Professional

Last 30 days Overall leaderboard