Mindket

OPF Image Anonymizer

Newversion 1 · updated

Overview

Covers personal details in screenshots and other images with black bars you can edit, using OCR and OpenAI's Privacy Filter, for anyone who shares chats, emails or documents.

OPF Image Anonymizer is a kit in the Productivity category, listed by Mindket. It is free. This is version 1, last updated on . Download it on this page, a zip of its files. Nothing in it runs by itself.

At a glance

You need
  • Python with pip, on Windows, macOS or Linux
  • Gradio 6.13.0, the version this project pins
  • The Python packages listed in requirements.txt
  • The system packages listed in packages.txt, which the Space installs with apt-get. The README names Tesseract for OCR
Runs in
  • A web browser: open the Space on Hugging Face
  • Windows, macOS or Linux with Python, for your own copy
  • A Python script, through the Gradio API call the README shows
  • The clipboard: paste an image in and copy the result out
Start with
pip install -U huggingface_hub
hf download ysharma/OPF-Image-Anonymizer --repo-type space --local-dir OPF-Image-Anonymizer
cd OPF-Image-Anonymizer

Platform

WindowsOperating system
macOSOperating system
LinuxOperating system

About

What it is

This app hides personal information in images. It reads the text in a screenshot with OCR, runs the words through OpenAI's Privacy Filter, and draws black bars over whatever the filter marks as personal. You can then adjust the bars and save the picture.

Who it suits

Anyone who shares screenshots of chats, emails or documents and needs names, contact details or account numbers covered first. It also fits developers who want to call the detection from a script.

IndustryWho uses itHow they use itExample
Customer supportSupport agentsCover names and emails in a chat screenshot before sharing itA ticket image safe to pass to another team
Social mediaWriters and community managersHide handles and contact details in a screenshot before postingA PNG ready to publish
Legal and complianceAnalystsBlank out account numbers and addresses in a document imageA redacted copy for review
EducationTeachersRemove student names from a shared screenshotCourse material without personal details

If your images never hold personal details, you can skip it.

Where to use it

  • A web browser: open the Space on Hugging Face
  • Windows, macOS or Linux with Python, for your own copy
  • A Python script, through the Gradio API call the README shows
  • The clipboard: paste an image in and copy the result out
Use caseWhoWhat they get back
Redact a screenshotAnyone sharing chats or emailsThe image with black bars over detected personal text
Tune the barsCareful editorsBars moved, added or deleted until the picture is right
Detect in a scriptDevelopersImage size and a list of boxes with labels and text

How to set it up

You need Python and pip for your own copy. The README names a GPU for the filter, and Hugging Face hosts the Space on zero-a10g hardware.

  • Python with pip, on Windows, macOS or Linux
  • Gradio 6.13.0, the version this project pins
  • The Python packages listed in requirements.txt
  • The system packages listed in packages.txt, which the Space installs with apt-get. The README names Tesseract for OCR
  1. Install the Hugging Face hub package.
  2. Download the Space's files into a folder.
  3. Move into that folder.
  4. Install Gradio 6.13.0 and the packages in requirements.txt.
  5. Run app_v2.py.
pip install -U huggingface_hub
hf download ysharma/OPF-Image-Anonymizer --repo-type space --local-dir OPF-Image-Anonymizer
cd OPF-Image-Anonymizer
pip install gradio==6.13.0
pip install -r requirements.txt
python app_v2.py

How to use it

Drop an image onto the page or paste it from the clipboard. Choose which of the eight categories to hide, then check the bars. Drag to draw one, click to select it, drag to move it and press Delete to remove it. Save a PNG or copy the result.

ToolWhat it does
Canvas editorDraw, select, move and delete black bars over the image
Category togglesSwitch each of the eight personal data types on or off from the sidebar
anonymize_screenshotThe Gradio API call that returns the image size and a list of boxes

To call it from Python, the README shows this client code.

from gradio_client import Client, handle_file
client = Client("YOUR_SPACE_ID")
result = client.predict(handle_file("screenshot.png"), api_name="/anonymize_screenshot")

Example

Say you paste a screenshot of a support chat. The app finds a customer name and an email address and covers each with a black bar. You delete one bar that hid a harmless word, then save the PNG.

For newcomers and experts

Personal information means things like a name, an address or an account number. To try the app, open the Space, drop in any screenshot and look at where the black bars land. Nothing needs installing online.

Under the hood, Tesseract returns each word with its box, and the app rebuilds the full text while remembering which characters belong to which box. The filter reads that text in a single forward pass with a 128k context. Detected character spans are matched back to words, grouped by line and merged into padded rectangles. Because boxes come from OCR, words it misses may stay uncovered, so review the result.

  1. You drop or paste an image
  2. OCR finds each word and its box
  3. The privacy filter marks personal text
  4. Marked words become black bars
  5. You edit the bars, then save or copy

Good to know

  • License: apache-2, as listed on Hugging Face
  • Cost to run: none named. The hosted Space uses Hugging Face's zero-a10g hardware
  • Data it reaches: your image goes to the backend for detection. Editing and export stay local, and you can paste from or copy to the clipboard
  • Not for: a final guarantee of redaction. You can edit the bars, so review them before sharing

README and files

README

OPF Image Anonymizer

Covers personal details in screenshots and other images with black bars you can edit, using OCR and OpenAI's Privacy Filter, for anyone who shares chats, emails or documents.

Made by ysharma on Hugging Face. These notes are Mindket's, written from its Space page and README; the app's own files and license are on Hugging Face.

About

What it is: This app hides personal information in images. It reads the text in a screenshot with OCR, runs the words through OpenAI's Privacy Filter, and draws black bars over whatever the filter marks as personal. You can then adjust the bars and save the picture.

Who it suits: Anyone who shares screenshots of chats, emails or documents and needs names, contact details or account numbers covered first. It also fits developers who want to call the detection from a script.

Industry | Who uses it | How they use it | Example
Customer support | Support agents | Cover names and emails in a chat screenshot before sharing it | A ticket image safe to pass to another team
Social media | Writers and community managers | Hide handles and contact details in a screenshot before posting | A PNG ready to publish
Legal and compliance | Analysts | Blank out account numbers and addresses in a document image | A redacted copy for review
Education | Teachers | Remove student names from a shared screenshot | Course material without personal details

If your images never hold personal details, you can skip it.

Where to use it:

  • A web browser: open the Space on Hugging Face
  • Windows, macOS or Linux with Python, for your own copy
  • A Python script, through the Gradio API call the README shows
  • The clipboard: paste an image in and copy the result out
Use case | Who | What they get back
Redact a screenshot | Anyone sharing chats or emails | The image with black bars over detected personal text
Tune the bars | Careful editors | Bars moved, added or deleted until the picture is right
Detect in a script | Developers | Image size and a list of boxes with labels and text

How to set it up: You need Python and pip for your own copy. The README names a GPU for the filter, and Hugging Face hosts the Space on zero-a10g hardware.

  • Python with pip, on Windows, macOS or Linux
  • Gradio 6.13.0, the version this project pins
  • The Python packages listed in requirements.txt
  • The system packages listed in packages.txt, which the Space installs with apt-get. The README names Tesseract for OCR
  1. Install the Hugging Face hub package.
  2. Download the Space's files into a folder.
  3. Move into that folder.
  4. Install Gradio 6.13.0 and the packages in requirements.txt.
  5. Run app_v2.py.
pip install -U huggingface_hub
hf download ysharma/OPF-Image-Anonymizer --repo-type space --local-dir OPF-Image-Anonymizer
cd OPF-Image-Anonymizer
pip install gradio==6.13.0
pip install -r requirements.txt
python app_v2.py

How to use it: Drop an image onto the page or paste it from the clipboard. Choose which of the eight categories to hide, then check the bars. Drag to draw one, click to select it, drag to move it and press Delete to remove it. Save a PNG or copy the result.

Tool | What it does
Canvas editor | Draw, select, move and delete black bars over the image
Category toggles | Switch each of the eight personal data types on or off from the sidebar
anonymize_screenshot | The Gradio API call that returns the image size and a list of boxes

To call it from Python, the README shows this client code.

from gradio_client import Client, handle_file
client = Client("YOUR_SPACE_ID")
result = client.predict(handle_file("screenshot.png"), api_name="/anonymize_screenshot")

Example: Say you paste a screenshot of a support chat. The app finds a customer name and an email address and covers each with a black bar. You delete one bar that hid a harmless word, then save the PNG.

For newcomers and experts: Personal information means things like a name, an address or an account number. To try the app, open the Space, drop in any screenshot and look at where the black bars land. Nothing needs installing online.

Under the hood, Tesseract returns each word with its box, and the app rebuilds the full text while remembering which characters belong to which box. The filter reads that text in a single forward pass with a 128k context. Detected character spans are matched back to words, grouped by line and merged into padded rectangles. Because boxes come from OCR, words it misses may stay uncovered, so review the result.

You drop or paste an image
OCR finds each word and its box
The privacy filter marks personal text
Marked words become black bars
You edit the bars, then save or copy

Good to know:

  • License: apache-2, as listed on Hugging Face
  • Cost to run: none named. The hosted Space uses Hugging Face's zero-a10g hardware
  • Data it reaches: your image goes to the backend for detection. Editing and export stay local, and you can paste from or copy to the clipboard
  • Not for: a final guarantee of redaction. You can edit the bars, so review them before sharing

On Hugging Face, 13 November 2026

  • Likes: 20
  • Built with: gradio
  • License: apache-2.0

Links

Try it

Open the Space in your browser, or copy it to your own Hugging Face account from its page. Nothing in this kit runs by itself.

Files
README.md  5 KB

1 file, 5 KB, downloaded as a zip.

What’s new

  • Version 1 · 2026-11-12

Compare with similar

Listed Hugging Face Spaces in the same category that share the most tags with this one.

ProductLikesBuilt withLicenseLast change
OPF Image Anonymizer This page20gradioapache-2.0
MusicGenShares gradio5,116gradiocc-by-nc-4.0
Kokoro TTSShares gradio3,556gradioapache-2.0
Background RemovalShares gradio2,988gradiomit
Omni Image EditorShares gradio2,922gradiomit
Diffusers Image OutpaintShares gradio2,565gradioapache-2.0
Numbers as Mindket last read them, on 2026-11-12.

Reviews

No ratings yet

Write a review

No reviews yet.

More from Mindket

See all from Mindket

anaksor-ocr

Sokheng · Kit

Reads Khmer and English text from documents, receipts and photos of signs, using a detector for text lines and a recogniser for each line. Suits developers who…

New

Qwen2.5-7B-Instruct as GGUF files in eight quantization sizes, to chat with locally through llama.cpp. For people who want a capable 7.6B model on their own co…

New

ACE-Step 1.5 XL SFT

ACE-Step · Kit

Generates music from text with a 4B diffusion decoder, 50 steps and guidance control, aiming for higher audio quality than the base. For creators with a GPU of…

New

Similar in Productivity

See all in Productivity

Guizang PPT Skill

op7418 · Skill

Skill that makes single-file HTML slide decks, slide illustrations and platform covers in two visual styles, with a presenter mode for rehearsal. For speakers…

New29.8k

Frontend Slides

zarazhangrui · Skill

Builds HTML presentations from scratch or from a PowerPoint file and shows visual style previews to pick from, for people who want web slides with no CSS or Ja…

New32.3k

IPTV

iptv-org · Kit

Collects publicly available live TV channels from many countries into playlists that any video player with live streaming can open. Made for viewers and for de…

New144k