Privacy Face Blur is a user-friendly application designed to automatically and manually blur faces in images, ensuring privacy by anonymizing faces in photos.
You can use the online demo
Note : There may be inconsistencies due to differences in installed packages in Streamlit
-
Automatic Face Blurring: Automatically blurs faces, then allows manual selection of additional faces..
-
Manual Face Blurring: Allows users to manually select faces or regions to blur.
To get started, clone the repository to your local machine using the following command:
git clone https://github.com/pezhvak98/Privacy-Face-Blur.git
cd Privacy-Face-Blur
To install this app and all the required dependencies after cloning, simply run the installation script:
chmod +x install.sh
./install.sh
The install.sh
script will take care of installing all the prerequisites needed to run PrivacyFaceBlur
on your system. Installation items are listed below:
-
Python 3.x
-
pip (Python package installer)
-
Streamlit: For building the web application interface.
-
OpenCV: For image processing and face detection.
-
Dlib: For face detection algorithms.
-
Numpy: For numerical operations on images.
-
Streamlit-Drawable-Canvas: For interactive canvas drawing in Streamlit.
-
Pillow: For image manipulation.
Note: The
requirements.txt
file is only for running this program instreamlit
. You don't need to use it on your system. The installation script takes care of all the tasks.
To run the PrivacyFaceBlur app, execute the following command in your terminal:
streamlit app.py
You can now view your Streamlit app directly in your browser.
Local URL: http://localhost:<Your-Local-Port>
Network URL: http://<Your-IP>:<Your-Local-Port>