image_background_remover 0.0.6 copy "image_background_remover: ^0.0.6" to clipboard
image_background_remover: ^0.0.6 copied to clipboard

A Flutter package that removes the background from images using an ONNX model.

0.0.6 #

Feat #

  • Added addBackground function to change background of color

0.0.5 #

Fix #

  • Minor bug fixes

0.0.4 #

Fix #

  • Solved ONNX session creation error

0.0.3 #

Added #

  • Added assets file.

0.0.2 #

Fix #

  • Removed incompatible platform support.

0.0.1 #

Added #

  • Initial release of the Background Remover Service Flutter package.
  • ONNX Runtime integration for background removal using the onnx model.
  • Functions to initialize ONNX session:
    • initializeOrt(): Initialize the ONNX environment and session.
  • Image processing capabilities:
    • removeBg(Uint8List imageBytes): Removes the background from an input image and returns the image with a transparent background.
    • _resizeImage(): Resizes an image to 320x320 for ONNXy model compatibility.
    • _imageToFloatTensor(): Converts RGBA image data into a normalized float tensor for model input.
    • _applyMaskToOriginalSizeImage(): Applies the generated mask back to the original image size.
  • Utility methods:
    • resizeMask(): Resizes the ONNX output mask to match the original image dimensions.
  • Designed for cross-platform support (iOS, Android, Web, and Desktop).
37
likes
0
points
1.06k
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter package that removes the background from images using an ONNX model.

Homepage
Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, image, onnxruntime

More

Packages that depend on image_background_remover