React Native Project

Job ID: 32998116

Budget: $50 – $400 USD

Hello,

I'm looking to covert parts of a web-based library to React Native. The goal is to use the tfjs-react-native library to upscale an image to 4x. There is an open source web-based library that does the same - so I'm thinking we borrow the work that's already been done.

The summary of actions would be:
1. User takes a photo or uses a photo from the gallery (both would need to be supported).
2. The images is converted to a tensor using a few lines of code.
3. The images width and height are looped through the predict method of the model.
4. The end result is a 4x-scaled image.

There is a model ready to go in the web-based project to be passed to tfjs-react-native.

This is the core piece that needs to be ported from web-based over to React Native for this to work:
https://github.com/thekevinscott/UpscalerJS/blob/main/packages/upscalerjs/src/upscale.ts

Thanks for looking!
Related categories: JavaScript React Native