dilmerv / UnityARFoundationEssentials

AR Foundation examples created with Unity and ARKit
https://www.youtube.com/@dilmerv
MIT License
787 stars 223 forks source link

Position AR content on ImageTracked #15

Open bakkermark opened 4 years ago

bakkermark commented 4 years ago

Hi Dilmer,

Normally I use Vuforia but through the help of your videos i am learning AR Foundation. But i have a question: with Vuforia you can drag/drop by example a sprite on the image marker and position it exactly on the X,Y position you want. When you scan the imagetarget the sprite will be positioned exactly on the X,Y position on the recognised imagetarget.

Is this also possible with AR Foundation Image Tracking? And how can this be accomplished in the Unity Editor?

For customers in the past we used Vuforia to by example show video's and AR buttons on certain position on a poster and when the user scans the poster all AR elements are shown on the correct position on the poster. I like to reuse this functionality but in this case with AR foundation.

shacharoz commented 4 years ago

from my experience , i still use vuforia for image targets. to the best of my knowledge (and please correct me if I'm wrong) ar foundation doesn't still have great image target tracking. i would be very happy to switch away from vuforia.

Shachar Oz Design & Business for Emergent Tech Products flux-experiences.com/design Portfolio https://behance.net/shacharoz | +39-351-519-0003

On Tue, Jul 14, 2020 at 7:15 PM Bakalino notifications@github.com wrote:

Hi Dilmer,

Normally I use Vuforia but through the help of your videos i am learning AR Foundation. But i have a question: with Vuforia you can drag/drop by example a sprite on the image marker and position it exactly on the X,Y position you want. When you scan the imagetarget the sprite will be positioned exactly on the X,Y position on the recognised imagetarget.

Is this also possible with AR Foundation Image Tracking? And how can this be accomplished in the Unity Editor?

For customers in the past we used Vuforia to by example show video's and AR buttons on certain position on a poster and when the user scans the poster all AR elements are shown on the correct position on the poster. I like to reuse this functionality but in this case with AR foundation.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/dilmerv/UnityARFoundationEssentials/issues/15, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAEQ52S7GAA3LUU3UHI2ROLR3SHDLANCNFSM4OZXETMQ .

bakkermark commented 4 years ago

Hi Shacharoz,

I agree; Vuforia is better with image target recognitions. But mainly the positive thing i find that you can place AR content in the editor on an ImageTarget so you can really position objects like buttons, video's, 3D animations, etc.

But do you think with AR Foundation you can also position this kind of content on the right position?

shacharoz commented 4 years ago

to the best of my knowledge, ar foundation cannot do image targets. more than that, I think that vuforia has much better interface to image targets.

but ar foundation aims to control the area tracking. and this is done way better than vuforia. Shachar Oz Design & Business for Emergent Tech Products flux-experiences.com/design Portfolio https://behance.net/shacharoz | +39-351-519-0003

On Tue, Jul 14, 2020 at 8:32 PM Bakalino notifications@github.com wrote:

Hi Shacharoz,

I agree; Vuforia is better with image target recognitions. But mainly the positive thing i find that you can place AR content in the editor on an ImageTarget so you can really position objects like buttons, video's, 3D animations, etc.

But do you think with AR Foundation you can also position this kind of content on the right position?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/dilmerv/UnityARFoundationEssentials/issues/15#issuecomment-658342110, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAEQ52XPNQ3KIDXGUQX3BHDR3SQCTANCNFSM4OZXETMQ .

bakkermark commented 4 years ago

Image recognition can be done. Dilmer has several videos on this topic! But also he only instantiate 3D objects in the center of the recognized image. I like to see some example of instantiated it on specific position relative on the recognized image.

newyellow commented 3 years ago

@bakkermark @shacharoz I developed some editor script to help with this workflow: https://github.com/newyellow/arfoundation-helper

For me that the best thing about Unity is the 3D content editor. Since AR Foundation has very few features working with Unity Editor, you have to almost everything through coding. That makes manage AR content awkward. So I developed these scripts to help.