Carnaux / NFT-Marker-Creator

This editor creates NFT markers for ARTOOKIT 5.x
https://carnaux.github.io/NFT-Marker-Creator/
334 stars 162 forks source link

SOLVED: What are good settings? #89

Closed SwaggerNiels closed 2 years ago

SwaggerNiels commented 2 years ago

I use NFT creator (web/node.js) and use a high confidence picture.

It detects it as outputted in the console but then it does not show the red cube, flamingo, etc. What could be the problem here?

SwaggerNiels commented 2 years ago

Found how to get these markers to work: Just set the change the app.js script all dpi default values: "72" to "120" and run it on a picture that actually has 120 dpi (you can use ctrl-R in paint.net to set the dpi/pixels-per-inch to 120) used this command: node .\app.js -i .\my_image.jpg -dpi=f -max_dpi=120 -min_dpi=20

Now it works! This took me a long time to figure out though. Its too bad that no one is maintaining these gems...

kalwalt commented 1 year ago

@SwaggerNiels i think Daniel @Carnaux is very busy lately and me too, so sometimes we have no time to answer. But i suggest to you to use 300 dpi for a NFT marker, if an image doesn't provide a dpi value add it manually in you preferred image editor. Daniel created also a wiki page for Creating-good-markers You can also take a look at the old docs for making NFT makers, consider that NFT-Marker_Creator is partially based on genTexData.cpp and so many commnds are similars. My dream is to collect all these docs in our webarkit.org website in a future, if we found time and help by other contributors. Hope that this can help you.

SwaggerNiels commented 1 year ago

Indeed the high dpi seemed to work, i just got impatient. Thank you for replying!