I use to pass a picture to Power Automate with this code, placed on a OnTimerEnd statement:
ClearCollect(Pic1; {Photo: Camera1_1.Stream; time: Now()});;
ClearCollect(colFaceData1; StarliveFaceAPI_v1.Run("Image1.jpg"; First(Pic1).Photo));;
In the new Power Automate (V2) I tried in several ways to get the picture in Power Automate. I used a text input and I used a File input, but in both ways the body did no pass. The best I got was using this code and a use a text input in the PowerApps(v2)
ClearCollect(Picture; Camera1_1.Stream);;
Set(Pic1Raw;
JSON(First(Picture);JSONFormat.IncludeBinaryData)
);;
Set(Pic1_64;
Mid(Pic1Raw; 24;Len(Pic1Raw) - 24)
);;
StarliveFaceAPI_v1_test.Run(Pic1_64)
I did not get any result back. Can someone tell me