native_cutout 0.1.0
native_cutout: ^0.1.0 copied to clipboard
AI-powered background removal using native platform APIs (iOS Vision Framework, Android ML Kit).
0.1.0 #
- Initial release of the native Flutter background-removal plugin.
- iOS implementation powered by Vision Framework
VNGenerateForegroundInstanceMaskRequest(iOS 17+). - Android implementation powered by ML Kit Subject Segmentation.
- Added
CutoutOptions.cropToSubjectfor optional subject-bound cropping. - Added
CutoutOptions.writeToCachewith file-backed PNG output enabled by default. - Added typed result models:
CutoutFileSuccess,CutoutBytesSuccess, andCutoutFailure. - Added cache cleanup via
NativeCutout.clearCache(). - Added Android model lifecycle APIs:
isModelAvailable(),downloadModel(),downloadProgress, andclearModel(). - Expanded the example app and README to cover model management, output modes, and result comparison.