Giter VIP home page Giter VIP logo

Comments (16)

aleonnet avatar aleonnet commented on August 15, 2024 4

Hi @CariusLars
I hope your're doing great. Is there any forecast of this feature on roadmap?
I'd like to try something like this:
https://twitter.com/OlexaLe/status/1174678765592567814

from ar_flutter_plugin.

mahmood1996 avatar mahmood1996 commented on August 15, 2024 3

Hey,
Is there any progress on image anchors yet?

Thanks
Mahmoud

from ar_flutter_plugin.

utof avatar utof commented on August 15, 2024 1

@infocodiste @mahmood1996 since i dont see any comments here #114 i suppose the image anchoring hasn't been implemented yet?

from ar_flutter_plugin.

CariusLars avatar CariusLars commented on August 15, 2024

Hi @aleonnet ,
unfortunately I am quite busy at the moment so I won't have time to work on this in the coming weeks. Is this something you might want to look into and contribute? I'd be happy to provide some guidance!
Cheers
Lars

from ar_flutter_plugin.

aleonnet avatar aleonnet commented on August 15, 2024

from ar_flutter_plugin.

CariusLars avatar CariusLars commented on August 15, 2024

Hey @aleonnet & sorry for the late answer!
Here's some tips on how you could start:

  • Have a look how the ARCore Flutter plugin (link to the example screen using this feature and the ARKit Flutter plugin [link to the example screen using this feature[(https://github.com/olexale/arkit_flutter_plugin/blob/master/example/lib/image_detection_page.dart) handle this feature
  • Try to unify the approaches by pulling as much functionality as possible to the Flutter side, here is how a workflow could look:
    • use the SessionManager to allow users to start a Image anchor session and let them provide the images to be tracked from the Flutter side (the session manager should then internally set up iOS and Android and pass the images through)
    • use callbacks in the Session Manager to handle events like images detected. The easiest to start with is just passing back the pose of the image center, users can then decide what to do, e.g. adding a node there
    • for more advanced applications, introduce ImageAnchor as an anchor type and allow interactions using the Anchor Manager, e.g. getting the current tracking state or start/stop tracking of specific images. For this, you can probably just subclass the ARAnchor and handle it with some bookkeeping on the platform sides, similar to how plane anchors work in the plugin now

from ar_flutter_plugin.

aleonnet avatar aleonnet commented on August 15, 2024

from ar_flutter_plugin.

CariusLars avatar CariusLars commented on August 15, 2024

Hi @aleonnet ,
without knowing the exact implementations, I'm not surprised that the iOS version is more performant. From my experience, ARKit is a LOT more performant than ARCore, and this fact is usually reinforced by the fact that iPhones/iPads are usually more powerful and optimized than their Android counterparts.
As for the managers: I've separated them to provide a more modular approach and make it clear which part of the plugin is responsible for each functionality, I found it easier to understand and work with than having everything in one huge controller.

Cheers
Lars

from ar_flutter_plugin.

Nico205 avatar Nico205 commented on August 15, 2024

Hey,
thanks for both of your efforts! :)
Is there any progress on image anchors yet?

Thanks and Friendly Regards
Nico

from ar_flutter_plugin.

aleonnet avatar aleonnet commented on August 15, 2024

from ar_flutter_plugin.

Nico205 avatar Nico205 commented on August 15, 2024

Hey,
thanks for the reply!
Okay, I might take a look at it aswell, since I want to play around with the feature :)

Friendly Regards
Nico

from ar_flutter_plugin.

Nico205 avatar Nico205 commented on August 15, 2024

Short progress update: I've implemented the image anchoring for Android as a PoC and it seems to work fine. Going to cleanup my code a bit and start on iOS integration.

Btw: I'm using some GLB models to test and I was unable to see their textures (just black, or only on the inside of the model), is there any known fix for that?

from ar_flutter_plugin.

sithu-aung avatar sithu-aung commented on August 15, 2024

Hello Nico , May I know how to go on with image anchoring. Please kindly share with me if you have an idea or tricks.

from ar_flutter_plugin.

Kurak5 avatar Kurak5 commented on August 15, 2024

Hi @Nico205,
Could you please share your solution, it will be a great help for me, thanks in advance.

from ar_flutter_plugin.

leeprobert avatar leeprobert commented on August 15, 2024

@Nico205 - the issue with the black GLB's - I'm seeing the same on iOS but I think it has something to do with how the textures are generated. Open up a new ticket for this and flag me in it, I'll help to investigate this.

from ar_flutter_plugin.

infocodiste avatar infocodiste commented on August 15, 2024

Hello @Nico205,
can you please share your solution for Image Anchoring? you can also help by putting a code snippet here.
Thanks.

from ar_flutter_plugin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.