Giter Club home page Giter Club logo

facefilter's Introduction

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.