cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Post Patron
Post Patron

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

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

Post Patron
Post Patron

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

Demo-Extravaganza 2020

Check out these cool Power Apps & vote on your favorite!

secondImage

Robotic Process Automation

Let's talk about the solution provided by Microsoft for Robotic Process Automation (RPA)

secondImage

Community Highlights

Check out whats happening in Power Apps

secondImage

Community User Group Member Badges

FIll out a quick form to claim your community user group member badge today!

Top Solution Authors
Top Kudoed Authors
Users online (10,444)