swarmnyc / arcore-augmented-image-swarm

We made this app to test Augmented Image of Google ARCore.
31 stars 9 forks source link

ARCORE DATABASE.IMGDB bug #1

Closed scarled closed 5 years ago

scarled commented 5 years ago

Hello, I try to put another image for recognition and i made a new database with arcoreimg build-db but it dosent work.Then i try to make a new database with the same photo as you(swarm.png) and it the same issue but if i put your database it work. How you exactly made the database with arcoreimg build-db and the input and output file or another way. Thanks.

weironghuang31 commented 5 years ago

sorry for reply very late, did you figure out the problem already? have you check the image quality by the tool? https://developers.google.com/ar/develop/java/augmented-images/arcoreimg

chnouman commented 5 years ago

@wadehuang36 I also facing the same issue as mentioned by scarled.

weironghuang31 commented 5 years ago

I simply just followed the doc to create the db by use this command

./arcoreimg build-db --input_image_list_path=/path/to/image_list_file.txt \
                       --output_db_path=/path/to/myimages.imgdb

this is my image file https://github.com/swarmnyc/arcore-augmented-image-swarm/blob/master/app/models/images/imgdb-list.txt

By the wany, the image has the name, I use "swarm" in the code, if you use other names, you have to change the code, https://github.com/swarmnyc/arcore-augmented-image-swarm/blob/master/app/src/main/java/com/swarmnyc/arswarm/app/SwarmArFragment.kt#L64

chnouman commented 5 years ago

yes figured it out thanks @wadehuang36