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

Highlighted
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
Better Together’ Contest Finalists Announced!

'Better Together’ Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

thirdimage

Power Apps Community User Group Member Badge

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

sixthImage

Join THE global Microsoft Power Platform event series

Attend for two days of expert-led learning and innovation on topics like AI and Analytics, powered by Dynamic Communities

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

thirdimage

Microsoft Business Applications Virtual Launch

Join us for the Microsoft Business Applications Virtual Launch Event on Thursday, April 2, 2020, at 8:00 AM PST.

thirdimage

Community Summit North America

Innovate, Collaborate, Grow - The top training and networking event across the globe for Microsoft Business Applications

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