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

Request: offer image-enlarging/unscaling/enhancing library that uses AI #5873

Open
AndroidDeveloperLB opened this issue Mar 1, 2025 · 2 comments
Assignees
Labels
platform::android Android Solutions stat:awaiting googler Waiting for Google Engineer's Response type:feature Enhancement in the New Functionality or Request for a New Solution type:modelmaker Issues related to creation of custom on-device ML solutions

Comments

@AndroidDeveloperLB
Copy link

AndroidDeveloperLB commented Mar 1, 2025

I was told to create this request from here:
google-ai-edge/LiteRT#182 (comment)

MediaPipe Solution (you are using)

none

Programming language

Android Java

Are you willing to contribute it

None

Describe the feature and the current behaviour/state

All I've found are either very complicated, or very restricted, or require a server as it's too much work done locally

Will this change the current API? How?

No response

Who will benefit with this feature?

No response

Please specify the use cases for this feature

Every app that wishes to show/create a bit better image quality of given images, especially low quality or blurry ones

Any Other info

Please offer a very easy-to-use API, that I provide a Bitmap instance, a target resolution (can of any size, including larger), and I get an upscaled/enhanced version of it. You can also add flags such as requesting to add color in case it detects that it's black&white, for example.

Please also offer various trained models to use easily, and a tutorial of how to choose one of them, so that the extra size of the app would be our choice, as models can be quite large...
Maybe some of them would be more focused on certain types of content.

@AndroidDeveloperLB AndroidDeveloperLB added the type:feature Enhancement in the New Functionality or Request for a New Solution label Mar 1, 2025
@kuaashish kuaashish assigned kuaashish and unassigned kalyan2789g Mar 3, 2025
@kuaashish kuaashish added platform::android Android Solutions type:modelmaker Issues related to creation of custom on-device ML solutions labels Mar 3, 2025
@kuaashish kuaashish assigned whhone and unassigned kuaashish Mar 10, 2025
@kuaashish kuaashish added the stat:awaiting googler Waiting for Google Engineer's Response label Mar 10, 2025
@whhone
Copy link
Contributor

whhone commented Mar 10, 2025

We are currently not planning such a capability/pipeline in MediaPipe, and if anything changes we'll comment here.

Meanwhile, MediaPipe offers an ImageToTensorCalculator + InferenceCalculator which you can try to use along with your custom model to create a custom pipeline to upscale the image.

@AndroidDeveloperLB
Copy link
Author

@whhone Thank you.
I don't know how to use any of these, let alone together.
In the beginning we had TensorFlow Lite, then we got Lite-RT, and now we have MediaPipe?
I can't keep up even with the names...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
platform::android Android Solutions stat:awaiting googler Waiting for Google Engineer's Response type:feature Enhancement in the New Functionality or Request for a New Solution type:modelmaker Issues related to creation of custom on-device ML solutions
Projects
None yet
Development

No branches or pull requests

5 participants