Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FR: Update camera APIs in the MLKit samples and improve performance #55

Closed
samtstern opened this issue Mar 21, 2019 · 18 comments
Closed

Comments

@samtstern
Copy link

This bug is meant to track all of the other bugs about making the MLKit camera samples perform better, so that it can be discussed in one place.

@samtstern
Copy link
Author

Camera preview FPS very low: firebase/quickstart-android#841

@samtstern samtstern reopened this Mar 21, 2019
@samtstern
Copy link
Author

OutOfMemoryError in ML Kit samples: firebase/quickstart-android#775

@samtstern
Copy link
Author

Low camera preview quality: firebase/quickstart-android#832

@samtstern
Copy link
Author

Update sample to Camera2 API: firebase/quickstart-android#677

@samtstern
Copy link
Author

Image processing is super battery hungry: firebase/quickstart-android#703

@nhattv18
Copy link

Camera preview FPS very low: firebase/quickstart-android#841

Hi samtstern,
We will discuss the issue here?

@samtstern
Copy link
Author

@nhattv18 yep! A lot of these issues are basically the same, we need to re-write most of the camera code in these samples to improve performance and use a more modern API.

@dev-gloomyfox
Copy link

OOM issue caused by convertBitmapToByteBuffer method.

When this method call, Direct ByteBuffer allocate every time. When this ByteBuffer moved local variable, oom is not occurs.

@MrGilberts
Copy link

Where the normal people could see the progress. I was working in a solution but, it only works good in galaxy s9. the galaxy s7 its too slow , And i would like to see the progress.

@samtstern
Copy link
Author

Our plan is to move directly from Camera1 to the new camerax library as soon as it gets out of alpha and into a beta (or higher) release. This should improve the sample and hopefully remove a lot of code.

@bembem1011
Copy link

When does your team finish upgrading to cameraX to improve performance ? @samtstern

@samtstern
Copy link
Author

samtstern commented Jul 18, 2019 via email

@KaidoNinja
Copy link

Would really love to see this example with CameraX, any progress?

@aantelov87
Copy link

any progress?

@KaidoNinja
Copy link

CameraX is in Beta, so it's time to upgrade. :)
https://developer.android.com/jetpack/androidx/releases/camera

@Anasmirza20
Copy link

Could you please let me know how much time it will take to upgrade the project using CameraX API.

@ulukaya ulukaya transferred this issue from firebase/quickstart-android Jun 30, 2020
@ulukaya ulukaya transferred this issue from another repository Jun 30, 2020
@kriefsacha
Copy link

Hi, there is update on this ?

@cs-googler
Copy link

cs-googler commented Jan 8, 2021

We made some changes to Firebase ML Kit to better distinguish the on-device APIs from cloud based APIs. "ML Kit"(without firebase branding) contains all the on-device APIs. Here's the migration guide from firebase mlkit to mlkit.

For the standalone MLKit, the sample app demonstrate how cameraX can be used, please refer to this quickstart app

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests