google-ar / arcore-android-sdk

ARCore SDK for Android Studio
https://developers.google.com/ar
Other
4.95k stars 1.22k forks source link

Performance issue in front camera #1028

Open Anasmirza20 opened 4 years ago

Anasmirza20 commented 4 years ago

SPECIFIC ISSUE ENCOUNTERED

VERSIONS USED

I face some performance issues in your arcore-android-sdk example. When I add this line in the session configuration:-

config.setAugmentedFaceMode(AugmentedFaceMode.MESH3D);

After added this front camera efficiency is too much degrade and it takes some milliseconds to update the screen on the movement of a mobile phone but when I remove this line on the code it works perfectly. I know after added this line front camera detects faces and maybe this is the reason for poor performance. But please let me know how to improve this. Thanks for your help...

Anasmirza20 commented 4 years ago

Hi team, Again no response from your side. If you see this message I wanna provide you the feedback to fix the front camera performance issue. Could you please add the support of cameraX library in AR-Core, Amazing jetpack library with more features and much better quality than your so-called Fragment. I tried this for face tracking in firebase, Its works perfectly without lacking. They also have HDR, Night Mode and Beauty support which may be much more helpful to make complex face filters. Thanks...