GitXplorerGitXplorer
p

FaceFilter

public
5 stars
0 forks
0 issues

Commits

List of commits on branch master.
Unverified
98673c113efc01ac9f97ed4856f2195dfffb132d

Improve handling of "default filter"

ppd95 committed 5 years ago
Unverified
b3da8823e5df53653d81ddedf05312fe14b3887d

Explicitly reset model before detecting more

ppd95 committed 5 years ago
Unverified
14dc5566f7b075f4c15891b6063b623082b3eb4c

-Do not crash in overviewImage if there are no faces

ppd95 committed 5 years ago
Unverified
64a3916ffd5243d8c3e58b0dfa69fcd8e8b450ff

Various UI fixes

ppd95 committed 5 years ago
Unverified
ee183fd45457b5aed89627eae6c4ebb06a1b059f

Remove print()

ppd95 committed 5 years ago
Unverified
d6d4df67d325f763147b9681b303ece58578de1d

Use gray color for page view controller to make the "dots" visible

ppd95 committed 5 years ago

README

The README file for this repository.

Face Filter

A simple proof-of-concept prototype for iPhone to process an image and pixelate/blur the faces detected.

To do its job, the app relies on Apples "Vision" framework to detect faces in the image and then applies Core Image filters (Gaussian blur, square or hexagonal pixellate) onto them. If not all faces have been detected, a long-press gesture allows the user to quickly add one. For each face the filter can be adjusted. The resulting filtered image can then be shared.

Features

  • Import from photo library or directly from camera
  • Automatic face detection using Vision framework
  • Add a face manually using long-press gesture
  • Filter configuration for each face
  • Overview image showing "faces only"
  • Share the resulting image directly from the app or store it in the photo library
  • Basic photo editing extension integrated. (=does not yet provide all the configuration features)

How to build

  1. Install Xcode and open the project FaceFilter.xcodeproj

  2. Choose a simulator and press "run"
    (You will have to add images to the iOS Simulator using drag & drop, the camera is not available here.)

  3. If you want to deploy the app to your device, you should checkout Config.xcconfig to see what settings need to be set. Especially the DEVELOPMENT_TEAM is required to sign the app for physical device deployment. Afterwards you should select your device and press "run".

If you want to develop you can create a LocalConfig.xcconfig file to set PRODUCT_BUNDLE_IDENTIFIER and DEVELOPMENT_TEAM permanently to your chosen values.

Demo

Demo

Acknowledgement