├── .gitignore ├── BackgroundRemovalWithCoreMLSample.xcodeproj ├── project.pbxproj └── project.xcworkspace │ ├── contents.xcworkspacedata │ └── xcshareddata │ └── IDEWorkspaceChecks.plist ├── BackgroundRemovalWithCoreMLSample ├── AppDelegate.swift ├── Assets.xcassets │ ├── AppIcon.appiconset │ │ └── Contents.json │ ├── Contents.json │ └── cat.imageset │ │ ├── 5122257268_42d3a32729_z.jpg │ │ └── Contents.json ├── Base.lproj │ ├── LaunchScreen.storyboard │ └── Main.storyboard ├── CoreMLHelpers │ ├── Array+Extensions.swift │ ├── CGImage+CVPixelBuffer.swift │ ├── CGImage+RawBytes.swift │ ├── CGImagePropertyOrientation.swift │ ├── CVPixelBuffer+Helpers.swift │ ├── LICENSE.txt │ ├── MLMultiArray+Helpers.swift │ ├── MLMultiArray+Image.swift │ ├── Math.swift │ ├── NonMaxSuppression.swift │ ├── Predictions.swift │ ├── UIImage+CVPixelBuffer.swift │ ├── UIImage+Extensions.swift │ └── UIImage+RawBytes.swift ├── DeepLabV3.mlmodel ├── Info.plist └── ViewController.swift ├── LICENSE ├── README.md └── ScreenShot.png /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tbchen/BackgroundRemovalWithCoreMLSample/HEAD/.gitignore -------------------------------------------------------------------------------- /BackgroundRemovalWithCoreMLSample.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tbchen/BackgroundRemovalWithCoreMLSample/HEAD/BackgroundRemovalWithCoreMLSample.xcodeproj/project.pbxproj -------------------------------------------------------------------------------- /BackgroundRemovalWithCoreMLSample.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tbchen/BackgroundRemovalWithCoreMLSample/HEAD/BackgroundRemovalWithCoreMLSample.xcodeproj/project.xcworkspace/contents.xcworkspacedata -------------------------------------------------------------------------------- /BackgroundRemovalWithCoreMLSample.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tbchen/BackgroundRemovalWithCoreMLSample/HEAD/BackgroundRemovalWithCoreMLSample.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist -------------------------------------------------------------------------------- /BackgroundRemovalWithCoreMLSample/AppDelegate.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tbchen/BackgroundRemovalWithCoreMLSample/HEAD/BackgroundRemovalWithCoreMLSample/AppDelegate.swift -------------------------------------------------------------------------------- /BackgroundRemovalWithCoreMLSample/Assets.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tbchen/BackgroundRemovalWithCoreMLSample/HEAD/BackgroundRemovalWithCoreMLSample/Assets.xcassets/AppIcon.appiconset/Contents.json -------------------------------------------------------------------------------- /BackgroundRemovalWithCoreMLSample/Assets.xcassets/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tbchen/BackgroundRemovalWithCoreMLSample/HEAD/BackgroundRemovalWithCoreMLSample/Assets.xcassets/Contents.json -------------------------------------------------------------------------------- /BackgroundRemovalWithCoreMLSample/Assets.xcassets/cat.imageset/5122257268_42d3a32729_z.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tbchen/BackgroundRemovalWithCoreMLSample/HEAD/BackgroundRemovalWithCoreMLSample/Assets.xcassets/cat.imageset/5122257268_42d3a32729_z.jpg -------------------------------------------------------------------------------- /BackgroundRemovalWithCoreMLSample/Assets.xcassets/cat.imageset/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tbchen/BackgroundRemovalWithCoreMLSample/HEAD/BackgroundRemovalWithCoreMLSample/Assets.xcassets/cat.imageset/Contents.json -------------------------------------------------------------------------------- /BackgroundRemovalWithCoreMLSample/Base.lproj/LaunchScreen.storyboard: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tbchen/BackgroundRemovalWithCoreMLSample/HEAD/BackgroundRemovalWithCoreMLSample/Base.lproj/LaunchScreen.storyboard -------------------------------------------------------------------------------- /BackgroundRemovalWithCoreMLSample/Base.lproj/Main.storyboard: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tbchen/BackgroundRemovalWithCoreMLSample/HEAD/BackgroundRemovalWithCoreMLSample/Base.lproj/Main.storyboard -------------------------------------------------------------------------------- /BackgroundRemovalWithCoreMLSample/CoreMLHelpers/Array+Extensions.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tbchen/BackgroundRemovalWithCoreMLSample/HEAD/BackgroundRemovalWithCoreMLSample/CoreMLHelpers/Array+Extensions.swift -------------------------------------------------------------------------------- /BackgroundRemovalWithCoreMLSample/CoreMLHelpers/CGImage+CVPixelBuffer.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tbchen/BackgroundRemovalWithCoreMLSample/HEAD/BackgroundRemovalWithCoreMLSample/CoreMLHelpers/CGImage+CVPixelBuffer.swift -------------------------------------------------------------------------------- /BackgroundRemovalWithCoreMLSample/CoreMLHelpers/CGImage+RawBytes.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tbchen/BackgroundRemovalWithCoreMLSample/HEAD/BackgroundRemovalWithCoreMLSample/CoreMLHelpers/CGImage+RawBytes.swift -------------------------------------------------------------------------------- /BackgroundRemovalWithCoreMLSample/CoreMLHelpers/CGImagePropertyOrientation.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tbchen/BackgroundRemovalWithCoreMLSample/HEAD/BackgroundRemovalWithCoreMLSample/CoreMLHelpers/CGImagePropertyOrientation.swift -------------------------------------------------------------------------------- /BackgroundRemovalWithCoreMLSample/CoreMLHelpers/CVPixelBuffer+Helpers.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tbchen/BackgroundRemovalWithCoreMLSample/HEAD/BackgroundRemovalWithCoreMLSample/CoreMLHelpers/CVPixelBuffer+Helpers.swift -------------------------------------------------------------------------------- /BackgroundRemovalWithCoreMLSample/CoreMLHelpers/LICENSE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tbchen/BackgroundRemovalWithCoreMLSample/HEAD/BackgroundRemovalWithCoreMLSample/CoreMLHelpers/LICENSE.txt -------------------------------------------------------------------------------- /BackgroundRemovalWithCoreMLSample/CoreMLHelpers/MLMultiArray+Helpers.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tbchen/BackgroundRemovalWithCoreMLSample/HEAD/BackgroundRemovalWithCoreMLSample/CoreMLHelpers/MLMultiArray+Helpers.swift -------------------------------------------------------------------------------- /BackgroundRemovalWithCoreMLSample/CoreMLHelpers/MLMultiArray+Image.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tbchen/BackgroundRemovalWithCoreMLSample/HEAD/BackgroundRemovalWithCoreMLSample/CoreMLHelpers/MLMultiArray+Image.swift -------------------------------------------------------------------------------- /BackgroundRemovalWithCoreMLSample/CoreMLHelpers/Math.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tbchen/BackgroundRemovalWithCoreMLSample/HEAD/BackgroundRemovalWithCoreMLSample/CoreMLHelpers/Math.swift -------------------------------------------------------------------------------- /BackgroundRemovalWithCoreMLSample/CoreMLHelpers/NonMaxSuppression.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tbchen/BackgroundRemovalWithCoreMLSample/HEAD/BackgroundRemovalWithCoreMLSample/CoreMLHelpers/NonMaxSuppression.swift -------------------------------------------------------------------------------- /BackgroundRemovalWithCoreMLSample/CoreMLHelpers/Predictions.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tbchen/BackgroundRemovalWithCoreMLSample/HEAD/BackgroundRemovalWithCoreMLSample/CoreMLHelpers/Predictions.swift -------------------------------------------------------------------------------- /BackgroundRemovalWithCoreMLSample/CoreMLHelpers/UIImage+CVPixelBuffer.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tbchen/BackgroundRemovalWithCoreMLSample/HEAD/BackgroundRemovalWithCoreMLSample/CoreMLHelpers/UIImage+CVPixelBuffer.swift -------------------------------------------------------------------------------- /BackgroundRemovalWithCoreMLSample/CoreMLHelpers/UIImage+Extensions.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tbchen/BackgroundRemovalWithCoreMLSample/HEAD/BackgroundRemovalWithCoreMLSample/CoreMLHelpers/UIImage+Extensions.swift -------------------------------------------------------------------------------- /BackgroundRemovalWithCoreMLSample/CoreMLHelpers/UIImage+RawBytes.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tbchen/BackgroundRemovalWithCoreMLSample/HEAD/BackgroundRemovalWithCoreMLSample/CoreMLHelpers/UIImage+RawBytes.swift -------------------------------------------------------------------------------- /BackgroundRemovalWithCoreMLSample/DeepLabV3.mlmodel: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tbchen/BackgroundRemovalWithCoreMLSample/HEAD/BackgroundRemovalWithCoreMLSample/DeepLabV3.mlmodel -------------------------------------------------------------------------------- /BackgroundRemovalWithCoreMLSample/Info.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tbchen/BackgroundRemovalWithCoreMLSample/HEAD/BackgroundRemovalWithCoreMLSample/Info.plist -------------------------------------------------------------------------------- /BackgroundRemovalWithCoreMLSample/ViewController.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tbchen/BackgroundRemovalWithCoreMLSample/HEAD/BackgroundRemovalWithCoreMLSample/ViewController.swift -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tbchen/BackgroundRemovalWithCoreMLSample/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tbchen/BackgroundRemovalWithCoreMLSample/HEAD/README.md -------------------------------------------------------------------------------- /ScreenShot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tbchen/BackgroundRemovalWithCoreMLSample/HEAD/ScreenShot.png --------------------------------------------------------------------------------