Reputation: 198
I have this custom logo where it creates the .patt file which is not working properly is there any design rules for AR.js
Is there any problem with the custom marker I have followed the design principles
https://jeromeetienne.github.io/AR.js/three.js/examples/marker-training/examples/generator.html
I have this image
How can I get the exact .patt file
Upvotes: 0
Views: 1609
Reputation: 172
The trick is that the background should be rgb(240,240,240) and you should have an eye on the grid which is going to be produced. As you can see from the produced .patt file there are 16 values per row so if you have an image which is hitting that grid well then you're more likely to get a good recognition result.
Upvotes: 2