You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{"info":"This is a generated file; do not edit or check into version control.","plugins":{"ios":[{"name":"onnxruntime","path":"/Users/neteshpaudel/.pub-cache/hosted/pub.dev/onnxruntime-1.4.1/","native_build":true,"dependencies":[]}],"android":[{"name":"onnxruntime","path":"/Users/neteshpaudel/.pub-cache/hosted/pub.dev/onnxruntime-1.4.1/","native_build":true,"dependencies":[]}],"macos":[{"name":"onnxruntime","path":"/Users/neteshpaudel/.pub-cache/hosted/pub.dev/onnxruntime-1.4.1/","native_build":true,"dependencies":[]}],"linux":[{"name":"onnxruntime","path":"/Users/neteshpaudel/.pub-cache/hosted/pub.dev/onnxruntime-1.4.1/","native_build":true,"dependencies":[]}],"windows":[{"name":"onnxruntime","path":"/Users/neteshpaudel/.pub-cache/hosted/pub.dev/onnxruntime-1.4.1/","native_build":true,"dependencies":[]}],"web":[]},"dependencyGraph":[{"name":"onnxruntime","dependencies":[]}],"date_created":"2025-01-30 15:37:32.599262","version":"3.24.5","swift_package_manager_enabled":false}
|`initializeOrt()`| Initializes the ONNX runtime environment. Call this method once before using `removeBg`. | None|`Future<void>`|
65
79
|`removeBg(Uint8List imageBytes)`| Removes the background from an image. |`imageBytes` - The image in byte array format. |`Future<ui.Image>` - The processed image with the background removed. |
80
+
|`addBackground({required Uint8List image, required Color bgColor})`| Adds a background color to the given image. |`image` - The original image in byte array format. <br> `bgColor` - The background color to be applied. |`Future<Uint8List>` - The modified image with the background color applied. |
0 commit comments