user9538877
user9538877

Reputation: 198

AR.js Marker Not Training properly

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

enter image description here

How can I get the exact .patt file

Upvotes: 0

Views: 1609

Answers (1)

droid001
droid001

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.

pattern screenshot

Marker

Upvotes: 2

Related Questions