sceneform-android icon indicating copy to clipboard operation
sceneform-android copied to clipboard

camera delay on sample-augmented-faces project (Performance issue)

Open dulyabaVolpis opened this issue 3 years ago • 10 comments

I've build 'sample-augmented-faces' project and noticed that it has some camera delay. This delay is present on every device that I have (even the new ones), and some of them have bigger delay then others (for example Samsung devices) It works fine if I comment out this line: "config.setAugmentedFaceMode(Config.AugmentedFaceMode.MESH3D)", but then I'm unable to use augmented faces feature.

Is it a known issue of this library? Do you have any advices on how to fix this issue?

dulyabaVolpis avatar Dec 01 '21 15:12 dulyabaVolpis

Hey guys, I am having the same issue. Anyone got any idea why? On Samsung S10 and S20 there's a delay of around 0.5 seconds! While on Samsung S8 - there's none. Very fishy issue it is!

egorix avatar Dec 04 '21 10:12 egorix

Hi, Could you please try to clone the ARCore sample: https://github.com/google-ar/arcore-android-sdk/tree/master/samples%2Faugmented_faces_java And run it with with ARCore 1.27.0 and 1.28.0 ?

ThomasGorisse avatar Dec 04 '21 10:12 ThomasGorisse

@devbridie Does it remind you something on the 1.27.0? Or some pushed configuration?

ThomasGorisse avatar Dec 04 '21 11:12 ThomasGorisse

Not aware of any performance issue with this setup; please let me know if this occurs in augmented_faces_java on the latest SDK.

devbridie avatar Dec 06 '21 14:12 devbridie

Hi, Could you please try to clone the ARCore sample: https://github.com/google-ar/arcore-android-sdk/tree/master/samples%2Faugmented_faces_java And run it with with ARCore 1.27.0 and 1.28.0 ?

I've tried it and it has the same problem Attaching a video of how this delay looks like https://drive.google.com/file/d/1W-awIZPEnnEuvqrhMNSeOwT0O5BJwGdk/view?usp=sharing

dulyabaVolpis avatar Dec 06 '21 16:12 dulyabaVolpis

@ThomasGorisse @devbridie have you noticed a delay that I'm talking about on the video in previous message ? Do you know how it can be fixed ?

dulyabaVolpis avatar Dec 08 '21 11:12 dulyabaVolpis

I created an issue directly on the ARCore repo: https://github.com/google-ar/arcore-android-sdk/issues/1326 @dulyabaVolpis Did you also tried the 1.27.0?

ThomasGorisse avatar Dec 08 '21 12:12 ThomasGorisse

@ThomasGorisse yes, I've tried it. seems like 1.27.0 is a little bit slower

dulyabaVolpis avatar Dec 08 '21 13:12 dulyabaVolpis

@dulyabaVolpis Please provide a fingerprint so we attempt to repro with the affected device. To obtain one, please use adb shell getprop ro.build.fingerprint.

devbridie avatar Dec 09 '21 15:12 devbridie

@devbridie samsung/beyond1qlteue/beyond1q:11/RP1A.200720.012/G973U1UES6GUG1:user/release-keys

dulyabaVolpis avatar Dec 09 '21 16:12 dulyabaVolpis

Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar Aug 18 '23 05:08 github-actions[bot]

Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, please feel free to create a new issue with up-to-date information.

github-actions[bot] avatar Aug 25 '23 05:08 github-actions[bot]