Skip to content

Image Anonymizer automatically detects and blurs regions of interest in images using YOLO object detection and Gaussian blur. Accessible via Streamlit web app or for local use.

Notifications You must be signed in to change notification settings

ippen/image-anonymizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Image Anonymizer

This application is designed to anonymize regions of interest, such as faces or license plates, in images. It utilizes YOLO (You Only Look Once) object detection models to detect objects in images and applies a Gaussian blur to anonymize them.

How it Works

  1. Upload Image: Users can upload an image containing regions of interest.
  2. Select Models: Users can select the models for blurring.
  3. Detect Objects: The application detects objects in the uploaded image using the selected YOLO object detection models.
  4. Anonymize: Detected objects are anonymized by applying a Gaussian blur effect to the corresponding regions in the image.
  5. Download: Users can download the anonymized image with the blurred regions.

Usage

Website

The application is publicly available at Image Anonymizer. You can visit the website to blur regions of interest in images.

Running Locally

To run the application locally, follow these steps:

  1. Clone the repository:
git clone https://github.com/ippen/image-anonymizer.git
  1. Navigate to the project directory:
cd image-anonymizer
  1. Install the required dependencies:
pip install -r requirements.txt
  1. Run the Streamlit application:
streamlit run image_anonymizer.py
  1. Access the application in your web browser at http://localhost:8501.

Components

image_anonymizer.py

This Python script contains the main functionality of the application. It includes functions for detecting objects in images, anonymizing the detected objects, loading the YOLO models, and the main Streamlit application.

requirements.txt

This file lists all the Python libraries and their versions required to run the application. You can install these dependencies using pip:

pip install -r requirements.txt

Models

The YOLO models used for object detection are stored in data/models/. Users can select the models for blurring in the application interface.

About

Image Anonymizer automatically detects and blurs regions of interest in images using YOLO object detection and Gaussian blur. Accessible via Streamlit web app or for local use.

Resources

Stars

Watchers

Forks

Languages