com.unity.perception icon indicating copy to clipboard operation
com.unity.perception copied to clipboard

Perception 1.0.0 Mac: annotations work in the editor version but not in builds

Open calingc opened this issue 2 years ago • 2 comments

Hi, I've recently upgraded to Perception 1.0.0 and I've noticed that there are no annotations being output when making the build for mac - the build is made on my personal mac. In the editor mode, the annotations work just fine, so this only happens for the player version. I'm using the perception output endpoint, not the solo one.

I've noticed however that this happens only if there are more than 1 objects/image for which I'm trying to output annotations. If there's only 1 object/image, then the annotations work just fine.

I've tried using different unity versions: 2021.3.15f1, 2021.3.16f1 and 2022.2.0.f1 but I get the same behaviour. With perception 0.9 the build would work just fine.

Any help would be appreciated!

calingc avatar Jan 13 '23 12:01 calingc

As reference: I have some products of interest on a shelf: this is the mask I get in the editor version: Instance_2

and here is the mask (no entries) I get from the build: Instance_2

calingc avatar Jan 13 '23 14:01 calingc

Hi @calingc. I tried to replicate this issue but was not successful. The output looks correct for me with mac builds on both perception and solo endpoints. The images you posted have different resolutions. The first image is UHD while the second one is 600x600. Is it possible that the camera's field of view does not encompass any labeled objects in the second image? Can you try setting the resolution of your build to UHD and checking the output?

mkamalza avatar Feb 28 '23 22:02 mkamalza