Facivacy

Facivacy is an app you can use to hide the identity of people in images.

The app is built using SwiftUI. The app also uses the Vision framework to automatically detect people’s faces. The face covering is achieved by using Core Image to apply a filter to protect the identity of the face and Core Graphics is used to render the image.

Overview

Simulator Screen Shot - iPhone 13 - 2022-05-12 at 17 35 04 Simulator Screen Shot - iPhone 13 - 2022-05-12 at 17 36 12

This is the screen you will see when you first startup the app. You can easily add an image from your Image Library by pressing “Add an image” button. You can also change the app settings in the Manage Menu by pressing the “Manage” button in the top-left hand corner.

Simulator Screen Shot - iPhone 13 - 2022-05-12 at 21 41 13

Simulator Screen Shot - iPhone 13 - 2022-05-12 at 21 45 23

Once you have an image, you can automatically cover faces by pressing the wand button in the top-right hand corner. This will find the faces in the images and will cover them. You can change the threshold that is required to detect a face and the method of covering the face in the Manage Menu.

Simulator Screen Shot - iPhone 13 - 2022-05-12 at 21 41 25

If the face that you wish to cover is not automatically detected, you can manually cover a region of the image. You can do this by tapping anywhere in the image and a selection tool will show. You can drag the selection tool around or pinch it to change the size of the selection tool. Once you have the selection tool positioned as you wish you can tap conceal (or if you wish to cance, press the cancel button in the top-left hand corner).

Simulator Screen Shot - iPhone 13 - 2022-05-12 at 21 44 16

If at any time you wish to cover or uncover a face you can go to the Manage menu screen and tap the button next to their face.

When you are happy the image, click the share button at the top of the screen and this will present the standard system share sheet.

GitHub

View Github