GitXplorerGitXplorer
p

FaceFilter

public
5 stars
0 forks
0 issues

Commits

List of commits on branch master.
Unverified
b62e17e7ea6101b619dc6617353aa44fdce941d4

Fix non-square preview images

ppd95 committed 5 years ago
Unverified
e14acc46889cfcab09b6f110cb9e016dc688b40c

Reset scrollview offset when a new image was load

ppd95 committed 5 years ago
Unverified
e83dc4d7ded237687b03f05e22e214f853ac9558

Remember content offset when enabling overview mode and restore when coming back

ppd95 committed 5 years ago
Unverified
bbb72901367d2948e89bac47dea97660146b49d6

Updated to latest version

ppd95 committed 5 years ago
Unverified
fa37b211ee82e796b03df81fd70d8c446659dc8f

Add missing model.reset()

ppd95 committed 5 years ago
Unverified
8e51f1cb3a2a521b84a6229cf920971c7f8b31c8

Make sure filter value ranges are updated

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