Unity_Detection2AR icon indicating copy to clipboard operation
Unity_Detection2AR copied to clipboard

Custom model gives bad bounding boxes

Open Kanyade opened this issue 4 years ago • 1 comments

Greetings!

I tried running this project with my custom model and it seems to work somewhat fine, it detects the objects (2 classes) but it does not show bounding boxes on my mobile.

The reason is that it gives irrealistic width, height values for the object which cannot be seen on the mobile screen(2220x1080) as seen in the picture below:

image

The original model seems to work fine:

image

This is the part where I added the debug messages in PhoneARCamera:

image

Another thing that bugs me is that the position values are negative with my custom model but it still places the anchor to the object in real life, so it can certainly detect it, but something is off. Any idea why this might be?

Kanyade avatar Sep 04 '21 14:09 Kanyade

Have you tried checking your custom anchors that you generated and correctly importing these for inference?

jgcbrouns avatar Jan 26 '22 10:01 jgcbrouns