I have the following flow:

What I am trying to do here is upload an image from Power Apps, an image that is taken within the same app, and have it write the text it sees in the image through text recognition. It takes a file submission from the Power App activation, and it takes the contentBytes from the text recognition. I have tested the flow and it works, but when I try to use it from within the app with the following code:
Set(varImgTxt, 'ImgToTextV2'.Run(varImage).textinimg)
It gives me an error with the Run(varImage), saying the following: Invalid argument type (Image). Expecting a Record value instead.
Not sure why it is asking for a Record, and I can not seem to fix it. Any assistance would be appreciated 🙂 thanks in advance.