cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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
Highlighted
Community Support
Community Support

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

Re: PowerApps ComputerVision OCRText without Flow

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

 

@Anonymous

Highlighted
Advocate V
Advocate V

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.

 

Highlighted
Frequent Visitor

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
secondImage

New Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

August 2020 CYST Challenge

Check out the winners of the recent 'Can You Solve These?' community challenge!

Experience what’s next for Power Apps

Join us for an in-depth look at the new Power Apps features and capabilities at the free Microsoft Business Applications Launch Event.

Check this Out

Helpful information

Featuring samples like Return to the Workplace and Emergency Response Applications

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Users online (4,275)