PTCInc / vuforia-engine

Bug and feedback issue tracker for the Vuforia Engine SDK
https://developer.vuforia.com
19 stars 0 forks source link

White Image from GetCameraImage() #143

Open riccardokhm opened 1 week ago

riccardokhm commented 1 week ago

Summarize the bug: I'm trying to process the frame retrieved from the GetCameraImage method but it always returns a white image. Sometimes it effectively returns the camera frame without augmentation but it seldomly happens.

Affected Vuforia Engine version: v10.24.4

Affected platform:

Affected device:

Additional comments Does the GetCameraImage method work at a predefined resolution?

ptc-thesbyro commented 1 week ago

Hi,

Thank you for reaching out.

Could you try with the sample code provided in here, and see if that returns images from the camera? And, augmentations are not included in image frames from GetCameraImage().

I believe the GetCameraImage() method only returns a predefined resolution, but I will double-check.

riccardokhm commented 1 week ago

Hi, thanks for your reply.

Actually, it ended up that I successfully got the camera frame but on Windows, still trying with iOs. Just for the sake of completeness, what kind of geometrical operations do you perform on the frame when we call the GetCameraImage? The image seems somehow scaled and de-zoomed.

Regards, Riccardo

ptc-thesbyro commented 1 week ago

If the image seems scaled/zoomed, it could be because the camera image has a different aspect ratio from the screen. But it's difficult to say without some reproducible steps and setup. Let me know if you want us to have a look.

Hope it helps,