cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Advocate V
Advocate V

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
Community Support

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.
Anonymous
Not applicable

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

 

@Anonymous

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

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

 

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
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Community Highlights

Community Highlights

Check out the Power Platform Community Highlights

Top Solution Authors
Top Kudoed Authors
Users online (9,501)