Log in or register to post comments

QR Code as a target gives me a 5 star rating but doesn't seem to actually initially detect that well

October 20, 2017 - 7:59am #1

So I decided to use QR Codes (or actually slightly distorted ones generated by this site: www.qrcode-monkey.com) and make 6 of them for the sides of a cuboid. I get 5 stars for each one, however the app doesn't easily detect printed images on the box. Once it's detected, then it remains persistent with tracking the images and rendering the content, but that initial detection seems to struggle.

the box is 15cmx15cm and the qr codes are printed on white matte paper. I've attached 2 of the QR images that i use.

Even though it gets 5 stars, are QR codes not recommended because they don't have much varying contrast (it's either black or white)? Because i also have a 10x10cm with images of photos that are 5 stars (similar to the template stones image that vuforia provides), and this gets detected easily.

Another question i have is, for the 512x512px "*_scaled.jpg" images that you get when you download the target database, what would happen if i manually insert my own images that are 1024x1024px? Would that make it easier for the phone to detect images?

 

Thank you.

AttachmentSize
Image icon qr-coder5.jpg629.74 KB
Image icon qr-coder2.jpg659.79 KB

QR Code as a target gives me a 5 star rating but doesn't seem to actually initially detect that well

October 22, 2017 - 12:36pm #5

wow, thanks for those ar marker generator links, the first one works really well.

now i'm wondering if i can change the processing code in the second link to give me textures that would seamlessly connect to all adjacent sides. Do you any any pre-existing ar marker generators that will give you already cube-mapped textures?

QR Code as a target gives me a 5 star rating but doesn't seem to actually initially detect that well

October 20, 2017 - 11:30am #4

There's alway VuMarks, Vuforia's version of barcode markers.

This ar marker generator works very well: http://www.brosvision.com/ar-marker-generator/

and another one here: https://github.com/ASPePeX/AR-Marker-Generator

 

 

QR Code as a target gives me a 5 star rating but doesn't seem to actually initially detect that well

October 20, 2017 - 9:14am #3

it's not so much repeating, as it is more similarly shaped objects used repeatedly in different orientations. I figured since i distorted the QR code shapes instead of using the original square shapes, this kind of repetitiveness would not be as bad. maybe i'm wrong, but i got 5 stars, so i was a bit confused. Detailed photos or graphics make for great targets, for for my app, i wanted something a little more bland and sterile, so it'd give no indication of what you're about to see. Is there a good place to download some recommended graphics that can be used as targets? I could see replacing the qr codes for more of a neutral but  detailed graphic that gave no indication of what the AR was going to render.

Ya I guess i should've assumed that the scaled image has no effect on the tracking since it was just being used as a material for the cube sides. so the app will still use the original jpg i uploaded? I guess the image is decoded into those .dat .xml files. So if the scaled images are just for visualization, can i disable ChildTargets before building this? I figure i want to turn off as much as possible, or does this as well have no bearing on the final app?

Thanks for the tip on images being too high res, i'll scale them down and reupload them and see if there's a difference.

 

Cheers

QR Code as a target gives me a 5 star rating but doesn't seem to actually initially detect that well

October 20, 2017 - 8:16am #2

I don't think the problem is contrast.  It might have more to do with lots of repeating elements within the marker.  

The scaled jpg is just for your visual representation of what the marker looks like.  Has no bearing on tracking.

Are these the images you are uploading?  Try reducing size to 800-1000 pixels square.  That's been the sweet spot for me.

Sounds strange, but sometimes too high quality image results in more features than you need and makes it track poorer.  

 

 

Log in or register to post comments