"We offer new support options and therefor the forums are now in read-only mode! Please check out our Support Center for more information." - Vuforia Engine Team

Issue with creating Multi-Target cuboid

Hello,

I'm trying to do some experiment with box recognition and tracking. I took the real box took pictures of each side. I have created cuboid target in the target manager. I have used real size of the box (in meters 0.26x0.4x0.18). When I try to upload images I get "Please provide an image with appropriate aspect ratio." error for each side.

Two questions:

1. Why do I get "Please provide an image with appropriate aspect ratio."? I use pictures taken from real box (of course I cut exactly box side from picture from camera)  and I use real measures.

2. How to make it work? Looks like the engine is too picky.

Hello,

The error you're facing is not related the length values you entered into the target manager. It is a result of the image files uploaded to the target manager not matching the aspect ratio of the boxes front/back/top/bottom/side dimensions.

Thanks for reply.

But it is hard to cut from real picture exactly with needed ratio. Shouldn't the Target Manager be more forgiving and post process pictures toward required rate?

[quote=medabit]

Hello,

The error you're facing is not related the length values you entered into the target manager. It is a result of the image files uploaded to the target manager not matching the aspect ratio of the boxes front/back/top/bottom/side dimensions.

I see another error half of the times. "An error occurred while uploading the image. Please try later."(see attachment).

And after this error I see my picture uploaded as single image which I haven't created. It creates itself somehow (see attachment).

Hello,

Sorry for the difficulties you've been having. The only way I can effectively troubleshoot this is to attempt to replicate it in my environment.

Hello,

I'll take a look. It would be optimal to get the sides, front and back targets, too, if you can provide those. Otherwise, I'll have to create my own.

I have done what you suggested. I have altered the pics to match each side physical dimensions and uploaded it to Target Manager. I didn't have issues with it. Then I have printed it out and glued to the box sides. Works fine. I mean my weird box is recognized and tracked well.

Hi. I'm having the same problem. The upload engine is too picky. There should be a greater tolerance in the allowed aspect ratio. I have rotated the pictures by 90° in an attempt to correct the "wrong" aspect ratio.

Ok. So I got it to work buy resizing some of my images by just a few pixels on one of the sides so that the aspect ratio is more accurately that of my provided dimensions. A bit of a pain.