Unity-Technologies / arfoundation-samples

Example content for Unity projects based on AR Foundation
Other
3.09k stars 1.16k forks source link

face detection and tracking not working on (Android) xiaomi poco f1 #82

Closed shubhamguptak closed 4 years ago

shubhamguptak commented 5 years ago

hello sir i am testing ar foundations's sample project on my android phone and it seems that some of features like face tracking and face blend shapes are not working. Can you please fix the issue

tdmowrer commented 5 years ago

ARFoundation exposes the functionality of ARCore (on Android) and ARKit (on iOS). ARCore does not currently support face tracking, so it is unavailable in ARFoundation on Android. If and when ARCore does support face tracking, we will add support for it in ARFoundation.

shubhamguptak commented 5 years ago

ok so can you suggest any face tracking sdk for now

On Thu, Jan 3, 2019 at 12:05 AM Tim Mowrer notifications@github.com wrote:

ARFoundation exposes the functionality of ARCore (on Android) and ARKit (on iOS). ARCore does not currently support face tracking, so it is unavailable in ARFoundation on Android. If and when ARCore does support face tracking, we will add support for it in ARFoundation.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Unity-Technologies/arfoundation-samples/issues/82#issuecomment-450945063, or mute the thread https://github.com/notifications/unsubscribe-auth/AlFFUIApZR1NbwEyWy_y5sAaLFkTgWvHks5u_Pv3gaJpZM4ZmKko .

tdmowrer commented 5 years ago

Some people have had success with OpenCV. You can feed it the image you get from the Camera Image API.

atomixgroup commented 5 years ago

Hi dear. i opened this project with unity 2019.1.0f1 and build for android then open in android 5 but everything is black why? Help me please

tdmowrer commented 5 years ago

@ra94 Face tracking in ARFoundation is not yet supported on Android. Additionally, ARCore requires a minimum API level of 24, which means Android 7.0. ARCore will not work on Android 5.

timneill40 commented 5 years ago

Hi,

This may seem like a repeat question but.....

Looking for Face Tracking on Unity AR Foundation building to Android (Honor 8X Api 25).

Able to do it fine with Augmented Faces (ARCore).

AR Foundation seems not to be rendering face mesh as directed per Unity manual.

I am missing something obvious?

Any advice or help will be greatly appreciated,

tim

tdmowrer commented 5 years ago

ARFoundation does not yet support ARCore 1.7 (which is when face detection was added). Support is coming soon.

timneill40 commented 5 years ago

Thank you

On Tue, 14 May 2019 at 04:09, Tim Mowrer notifications@github.com wrote:

ARFoundation does not yet support ARCore 1.7 (which is when face detection was added). Support is coming soon.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Unity-Technologies/arfoundation-samples/issues/82?email_source=notifications&email_token=ALWU4QBFL7JLCTTVCFTGDBTPVIUNZA5CNFSM4GMYVEUKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODVKEI3I#issuecomment-492061805, or mute the thread https://github.com/notifications/unsubscribe-auth/ALWU4QBZGIIOFR4B76KEMX3PVIUNZANCNFSM4GMYVEUA .

SameelNawaz commented 5 years ago

AR Foundation Face Mesh sample for Android renders the material over eyes and mouth, any ways to fix that ? Screenshot_20190611-223311

tdmowrer commented 5 years ago

AR Foundation Face Mesh sample for Android renders the material over eyes and mouth, any ways to fix that ? Screenshot_20190611-223311

Not that I'm aware of. This is the mesh ARCore gives us.

In the AugmentedFaces sample in Google's ARCore SDK for Unity, they use the mesh mostly for occlusion, so it's not as noticeable in that example. The ARFoundation sample is just showing you the raw mesh produced by their face detection API.

Cross22 commented 5 years ago

Create a texture with alpha channel to exclude the eyes.

makakaorg commented 4 years ago

Create a texture with alpha channel to exclude the eyes.

Mesh is generated by script "AR Face Mesh Visualizer" & there is single material with single texture for whole face. Do you have an example?

SameelNawaz commented 4 years ago

Any news on this one ? Do we have a working fix ?

SameelNawaz commented 4 years ago

@Cross22 , would you like to explain your suggestions please ?

shubhamguptak commented 4 years ago

yes it's working fine now

On Thu, 2 Apr, 2020, 10:11 pm Sameel Nawaz, notifications@github.com wrote:

Any news on this one ? Do we have a working fix ?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Unity-Technologies/arfoundation-samples/issues/82#issuecomment-607958584, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJIUKUHJXQSLSHUXIJIHGG3RKS5ZXANCNFSM4GMYVEUA .

SameelNawaz commented 4 years ago

@miscrealitystudios , I meant the issue where ArCore mesh renders above Eyes and mouth.

shubhamguptak commented 4 years ago

yes the arcore doesn't support eye tracking in pocof1 device

On Thu, 2 Apr, 2020, 10:13 pm Sameel Nawaz, notifications@github.com wrote:

@miscrealitystudios https://github.com/miscrealitystudios , I meant the issue where ArCore mesh renders above Eyes and mouth.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Unity-Technologies/arfoundation-samples/issues/82#issuecomment-607960026, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJIUKUESOKPOMWQMWGI34BTRKS6D3ANCNFSM4GMYVEUA .

21-Kameswaran-N commented 3 years ago

hello sir i am testing ar foundations's sample project on my android phone and it seems that some of features like face tracking and face blend shapes are not working. Can you please fix the issue

In ARCamera Game Object you can find ARCameraManager. in that chage the facing direction to user. only front cam support arcore face tracking

tdmowrer commented 3 years ago

Also note that blend shapes are an ARKit-only feature (you need to downcast the face subsystem to the ARKit specific one in order to access them), so they are not supported on Android.

21-Kameswaran-N commented 3 years ago

Thank you for your support. Just few hours before I used arcore unity samples from GitHub. It's solved my problem.

Thanks for your support keep rocking🎸🎶🎶

On Thu, 15 Jul, 2021, 9:40 pm Tim Mowrer, @.***> wrote:

Also note that blend shapes are an ARKit-only feature (you need to downcast the face subsystem @./api/UnityEngine.XR.ARSubsystems.XRFaceSubsystem.html> to the ARKit specific one @./api/UnityEngine.XR.ARKit.ARKitFaceSubsystem.html> in order to access them), so they are not supported on Android.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Unity-Technologies/arfoundation-samples/issues/82#issuecomment-880826285, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOF4UOBPC6LV7RNQEJZL3HTTX4B5RANCNFSM4GMYVEUA .