cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
vsslasd
Level 8

PowerApps ComputerVision OCRText without Flow

I watched the following PowerApps ComputerVision OCRText  video:

https://www.youtube.com/watch?v=qXSRKfYqYMM&t=844s

 

Has Microsoft resolved this so that the ComputerVision OCRText connector will work directly within PowerApps without having to use Flow as discussed in the video above ?

 

If so, can someone please describe the exact syntact to execute the OCRText Command on an image?

 

We would prefer to not use Flow, if possible.

Thank you.

4 REPLIES 4
Community Support Team
Community Support Team

Re: PowerApps ComputerVision OCRText without Flow

Hi @vsslasd,

 

 

See if the following article helps here:

https://www.carlosag.net/PowerApps/Connectors/Computer-Vision-API

Quoted:

"

OCRText

Summary: Optical Character Recognition (OCR) to Text

Description: Optical Character Recognition (OCR) detects text in an image and extracts the recognized characters into a text file.

 

Syntax:

ComputerVisionAPI.OCRText ([internal][Optional]string language, [internal][Optional]boolean detectOrientation, string format, OCRTextParameterImage Image)

 

Parameters:

Name

Type

Summary

Required

Related Action

language

string

(Language)

The language code of the text to be detected in the image.

False

 

detectOrientation

boolean

(Detect Orientation)

he BCP-47 language code of the text to be detected in the image.

False

 

format

string

(Image Source)Values: [Image Content, Image URL]

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

True

 

Image

OCRTextParameterImage

 

 

True

 

 

Returns:

          Type:OCRTextResponse

"

 

Regards,

Michael

Community Support Team _ Michael Shao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
TopShelf-MSFT
Level 10

Re: PowerApps ComputerVision OCRText without Flow

Thanks for posting @vsslasd - can you review the above reply and advise if it addresses your question?

 

@TopShelf-MSFT

vsslasd
Level 8

Re: PowerApps ComputerVision OCRText without Flow

Thank you, Michael. Are you saying this works without Flow ?

That was our goal, to not have to use Flow with this product.

 

MJDuane
Level: Powered On

Re: PowerApps ComputerVision OCRText without Flow

Followed the youtube example from Paul, but I am getting an error message from the following expression on the flow     Set(varOCR,OCRTest.Run(First(colPhoto).Url).ocrtext)     "Invalid number of argument received 1 expected 2" any ideas where I have gone wrong??

 

Thanks

Michael.

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors (Last 30 Days)
Users online (7,101)