Skip to content

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Blurster

Blurster is an iOS app for blurring the background in portrait images.

SwiftUI

This app uses DeepLabV3 – a pretrained image segmentation model from CoreML. Below you can see a demonstration of the app.

All iOS code is here.

PyTorch

Here is an example of how the PyTorch DeepLabV3 model with a ResNet-101 backbone works with an image when it's pre-resized to the same size as CoreML model (513-by-513 pixels).

All Python code is here.

Installation

pip install -r requirements.txt

Usage

# Convert data/1.jpg to data/2.jpg with a segmentation mask 513x513
python main.py data/1.jpg data/2.jpg -s 513

About

An iOS app for blurring the background in portrait images on-device using semantic segmentation model.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages