0.3.2 • Published 9 months ago

react-native-background-remover v0.3.2

Weekly downloads
-
License
MIT
Repository
github
Last release
9 months ago

react-native-background-remover

This package is a React Native package that uses MLKit on Android and Vision on iOS to remove the background from an image.

Installation

yarn add react-native-background-remover

Usage

import { removeBackground } from 'react-native-background-remover';

// You can get the imageURI from the camera or the gallery.
const backgroundRemovedImageURI = removeBackground(imageURI);

Note: You need to use a real device on iOS to use this package. Otherwise, it will throw a warning and return the original image. You can still use an emulator on Android.

Note: This only works with iOS 15 and above. Otherwise, you will get an error.

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

License

MIT


Made with create-react-native-library

0.3.2

9 months ago

0.3.0

11 months ago

0.3.1

11 months ago

0.2.0

1 year ago

0.1.0

1 year ago