google-ar / arcore-unity-sdk

ARCore SDK for Unity
https://developers.google.com/ar
Other
1.4k stars 402 forks source link

Augmented Images: Ability to deserialize and persist AugmentedImageDatabase created from images at runtime #489

Open vjleo opened 5 years ago

vjleo commented 5 years ago

How to load a imgdb created on the tool?

This question has the answer for ANDROID: https://stackoverflow.com/questions/51034792/how-to-use-image-database-file-created-using-arcoreimg-tool

But there is no deserialize function on AugmentedImageDatabase in the Unity SDK.

When will this be available?

It's very bad practice to download many images, and generate on the device.

Using latest version of the SDK and unity 2018.2.20f1

Thanks

efan4ik commented 5 years ago

Take a look at (Create database file section) https://developers.google.com/ar/develop/unity/augmented-images/guide

Use AugmentedImageDatabase instead of imgdb.

vjleo commented 5 years ago

Sorry, I probably not mande myself clear.

I need to load the imgdb during runtime. Not on the editor.

Just like the native code for Android I have posted.

JolofNar commented 5 years ago

This would be an incredibly useful feature. The ability to download a premade AugmentedImageDatabase from a server and deserializeing it would be a lot more efficient than downloading a lot of textures and adding them at runtime.

vjleo commented 5 years ago

I don't think we are asking for much...

It seems it's already implemented In the native Android SDK.

kndol commented 5 years ago

I need these features:

vjleo commented 5 years ago

Any news on this?

btw, thanks for the great work!

vjleo commented 4 years ago

Hi!

as @JolofNar said "The ability to download a premade AugmentedImageDatabase from a server and deserializeing it would be a lot more efficient than downloading a lot of textures and adding them at runtime.""

Any news?

Leo

JolofNar commented 4 years ago

It’s been awhile since I built for this., but the solution that seemed to work was building the aug image db as an asset bundle then importing it that way.

On Wed, 9 Oct 2019 at 19:41, Leonardo Schenkel notifications@github.com wrote:

Hi!

as @JolofNar https://github.com/JolofNar said "The ability to download a premade AugmentedImageDatabase from a server and deserializeing it would be a lot more efficient than downloading a lot of textures and adding them at runtime.""

Any news?

Leo

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/google-ar/arcore-unity-sdk/issues/489?email_source=notifications&email_token=ALNYUTHDFG2NK2LHGNPZLNTQNYQXFA5CNFSM4GSGWD32YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEAY42GI#issuecomment-540134681, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALNYUTFFGLTKQCKTI6LZ7STQNYQXFANCNFSM4GSGWD3Q .