Topic has a solution and is locked
Log in or register to post comments

Issue with creating Multi-Target cuboid

April 13, 2017 - 9:37am #1
Topic solved

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.

Issue with creating Multi-Target cuboid

August 18, 2019 - 7:58am #17

medabit wrote:

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.

For example, assuming that W=0.26, H=0.40, and L=0.18, the aspect ratios must be:

  • Front & back images -> 0.26:0.40 (i.e. W:H)
  • Left & right side images -> 0.18:0.40 (i.e. L:H)
  • Top & bottom images -> 0.26:0.18 (i.e.W:L)

Hope this helps.

Thanks.

 

Thank you so much is work for me : )

Issue with creating Multi-Target cuboid

August 18, 2019 - 7:56am #16

Thank you so much is work for me : )

Issue with creating Multi-Target cuboid

January 29, 2018 - 2:25am #15

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.

Issue with creating Multi-Target cuboid

January 29, 2018 - 1:55am #14

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. I have also worked from a small real world box and the cropped images do have the correct aspect ratios to within a very small fractional error. This should be allowed.

 

The only thing I can do now is to resize the images so that the attached edges have exactly the same amount of pixels so that there can be NO error whatsoever. Would be great if this was not so precise.

Issue with creating Multi-Target cuboid

May 23, 2017 - 8:57am #13

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. Thanks for help.

Issue with creating Multi-Target cuboid

May 19, 2017 - 12:15pm #12

Hello,

Hmm. The problem is not with aspect ratio. As I mentioned I was able to load all sides but top and bottom. Why top and bottom are special? I have prepared all in the same way. When aspect ratio is wrong the Target Manager just says it "Please provide an image with appropriate aspect ratio." In my case it say just that picture invalid. I'm sure that aspect ratio is right. And I haven't skewed pics in any way. Just has cropped side part as precise as I could. 

I'll try to do it in the way you have suggested. But I still think that it should work the way I did to be practical. And it almost works actually. Just 2 sides out of 6 haven't worked out. So I still thing that there is some bug in the tool.

Thank you for different approach suggestion.

Issue with creating Multi-Target cuboid

May 18, 2017 - 5:57pm #11

Hello,

After reviewing the images you provided I've determined that this is not going to work. In order to get the Target Manager to accept your images, they must be skewed from their original aspect ratios. Doing so will make them undetectable as they will no longer match the printed source.

I've created several of my own cuboid targets, but I did so in a different order than what I believe you did. It looks like first created the physical cuboid object, took pictures and measurements, and then uploaded to the Target Manager.

I first identify the images, digitally alter them to meet the desired dimensions, upload them to the Target Manager and then print+combine the images to create my cuboid. For simplicity, I keep each side-pair's dimensions consistent so that it is simpler track that aspect ratios are consistent.

I'm attaching a couple of examples. Hopefully this will help.

Good luck!


AttachmentSize
Package icon Cuboid.zip508.32 KB
Package icon Cube.zip916.32 KB

Issue with creating Multi-Target cuboid

May 15, 2017 - 2:11pm #10

Sides are attached. Box is .041x0.175x0.255 in meters.

AttachmentSize
Image icon back.JPG1.83 MB
Image icon front.JPG1.91 MB
Image icon left.JPG1.9 MB
Image icon right.JPG1.8 MB

Issue with creating Multi-Target cuboid

May 15, 2017 - 1:58pm #9

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.

Thanks.

Issue with creating Multi-Target cuboid

May 13, 2017 - 5:38pm #8

The pics are attached. The ratio is 1.6  0.41x0.255.

AttachmentSize
Image icon bottom.jpg2.08 MB
Image icon top.jpg1.86 MB

Issue with creating Multi-Target cuboid

May 12, 2017 - 3:17pm #7

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.

Please provide me the same targets you're using and are causing the errors. If you do not feel comfortable posting them here, PM me with a link where I can download them.

Thanks.

Issue with creating Multi-Target cuboid

May 11, 2017 - 12:30pm #6

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).

AttachmentSize
Image icon Error.jpg20.4 KB
Image icon single.jpg38.45 KB

Issue with creating Multi-Target cuboid

May 10, 2017 - 1:45pm #5

Hello again,

So I have managed to cut and upload (despite not user friendly experience)  front, back, left and right pictures of my cuboid target. But for some reason I can't do top and bottom. It simply says "Uploaded Image is Invalid."  I took all pics under the same conditions, with the same camera and have preprocessed (crop) them the same way. Why top and bottom are invalid and rest are OK? Could somebody help me please?

Issue with creating Multi-Target cuboid

May 8, 2017 - 2:14pm #4

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?

Issue with creating Multi-Target cuboid

May 5, 2017 - 3:09pm #3

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.

For example, assuming that W=0.26, H=0.40, and L=0.18, the aspect ratios must be:

  • Front & back images -> 0.26:0.40 (i.e. W:H)
  • Left & right side images -> 0.18:0.40 (i.e. L:H)
  • Top & bottom images -> 0.26:0.18 (i.e.W:L)

Hope this helps.

Thanks.

Issue with creating Multi-Target cuboid

May 4, 2017 - 1:29pm #2

Any tweaks how to create trackable cuboid target from the real box side images?

Log in or register to post comments