https://github.com/abbasjoyia99/deeperasekit
DeepEraseKit is a universal Swift package for iOS and macOS that removes backgrounds in real time while capturing video. Powered by Apple's Vision framework, it supports multiple background options: none, blur, color, and image, making it ideal for virtual backgrounds and augmented reality applications.
https://github.com/abbasjoyia99/deeperasekit
apple background-subtraction backgroundremover customization deep-learning learning macos swift swift-package-manager swiftui video-game videobackground videoprocessing vision-language-model
Last synced: 14 days ago
JSON representation
DeepEraseKit is a universal Swift package for iOS and macOS that removes backgrounds in real time while capturing video. Powered by Apple's Vision framework, it supports multiple background options: none, blur, color, and image, making it ideal for virtual backgrounds and augmented reality applications.
- Host: GitHub
- URL: https://github.com/abbasjoyia99/deeperasekit
- Owner: abbasjoyia99
- Created: 2025-02-28T11:13:42.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2025-02-28T11:47:03.000Z (8 months ago)
- Last Synced: 2025-07-22T05:44:42.955Z (3 months ago)
- Topics: apple, background-subtraction, backgroundremover, customization, deep-learning, learning, macos, swift, swift-package-manager, swiftui, video-game, videobackground, videoprocessing, vision-language-model
- Language: Swift
- Homepage:
- Size: 26.4 KB
- Stars: 26
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# DeepEraseKit
DeepEraseKit is a universal Swift package for iOS and macOS that removes backgrounds in real time while capturing video. Powered by Apple's Vision framework, it supports multiple background options: none, blur, color, and image, making it ideal for virtual backgrounds and augmented reality applications.
https://github.com/user-attachments/assets/96589a8a-0aad-4d9d-a7f4-69379546d760
## Features
- **Real-time Background Removal**: Uses Vision framework for seamless segmentation.
- **Multiple Background Modes**:
- None (transparent background)
- Blur (adjustable intensity)
- Color (custom solid color background)
- Image (replace background with a custom image)
- **Universal Support**: Works across all iOS devices.
- **Optimized for Performance**: Uses Metal and Core Image for efficient processing.## Installation
### Swift Package Manager
1. Open Xcode and go to **File > Swift Packages > Add Package Dependency**
2. Enter the repository URL: `https://github.com/abbasjoyia99/DeepEraseKit.git`
3. Choose the latest version and add it to your project.## Usage
```swift
import DeepEraseKitlet backgroundManager = DeepEraseKit()
backgroundManager.setBackground(.blur(radius: 10.0))
backgroundManager.startCapturing()
```### Changing Background
```swift
backgroundManager.setBackground(.color(UIColor.blue))
backgroundManager.setBackground(.image(UIImage(named: "background")))
```## Requirements
- iOS 15.0+
- Swift 5.9
- Vision Framework## Contribution
We welcome contributions! Please submit a pull request or open an issue.## License
DeepEraseKit is available under the MIT license. See the LICENSE file for more details.