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

[Feature request] Possible to add support for Android? #639

Open
AndroidDeveloperLB opened this issue Oct 6, 2024 · 3 comments
Open

[Feature request] Possible to add support for Android? #639

AndroidDeveloperLB opened this issue Oct 6, 2024 · 3 comments

Comments

@AndroidDeveloperLB
Copy link

AndroidDeveloperLB commented Oct 6, 2024

Is your feature request related to a problem? Please describe.
Yes.
I'm interested in a solution for Android, to upscale images, but it seems very hard to find any solution of it.

Describe the solution you'd like
Having a library that Android apps can easily use, to upscale images.

Describe alternatives you've considered
Google offered only an example of using TensorFlowLite , but I can't find a way to create something myself, which uses a better model:

https://www.tensorflow.org/lite/examples/super_resolution/overview

https://github.com/tensorflow/tensorflow/blob/master/tensorflow/lite/g3doc/examples/super_resolution/overview.ipynb

Is it possible to add support for this repository on Android?

@Prurite
Copy link

Prurite commented Oct 23, 2024

Upscaling is a GPU intensive task and I think mobile devices can probably not provide the computational power required.

@AndroidDeveloperLB
Copy link
Author

AndroidDeveloperLB commented Oct 23, 2024

@Prurite Google provided a sample of it. Sadly of a tiny learning model that requires also a tiny image as input, but still...
https://github.com/tensorflow/examples/tree/master/lite/examples/super_resolution
Google uses something for its cameras too.
https://research.google/blog/see-better-and-further-with-super-res-zoom-on-the-pixel-3/

@78Alpha
Copy link

78Alpha commented Nov 26, 2024

That would end up CBS the entire program. For the conversion to tflite or the android pytorch, each model would need conversion and code changed to support the new tool chain. Otherwise, it would run in CPU mode and destroy battery life.

Usually the biggest issue is the model conversing. Need to know everything in it so it can be pulled apart and stitched back together. And if course, unexpected loss in accuracy.

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

No branches or pull requests

3 participants