Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/pezhvak98/privacy-face-blur

a program developed with streamlit to blur people's faces in images automatically and manually
https://github.com/pezhvak98/privacy-face-blur

dlib face-blurring face-detection opencv-python streamlit streamlit-application

Last synced: 23 days ago
JSON representation

a program developed with streamlit to blur people's faces in images automatically and manually

Awesome Lists containing this project

README

        

# Privacy Face Blur

**Privacy Face Blur** is a user-friendly application designed to automatically and manually blur faces in images, ensuring privacy by anonymizing faces in photos.

## Online Demo
You can use the online [demo](https://privacy-face-blur-pezhvak.streamlit.app/)
> **Note :** There may be **inconsistencies** due to differences in installed packages in Streamlit

## Features

- **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.

## Installation

### Clone the Repository

To get started, clone the repository to your local machine using the following command:
```bash
git clone https://github.com/pezhvak98/Privacy-Face-Blur.git
cd Privacy-Face-Blur
```
### Installation Script

To install this app and all the required dependencies after cloning, simply run the installation script:
```bash
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 in `streamlit`. You don't need to use it on your system. The installation script takes care of all the tasks.

## Usage

To run the PrivacyFaceBlur app, execute the following command in your terminal:
```bash
streamlit app.py
```
You can now view your Streamlit app directly in your browser.

```bash
Local URL: http://localhost:
Network URL: http://:
```
---