Skip to main content

Privacy-first CLI to blur faces and license plates (OpenCV Haar cascades)

Project description

PlainSight

Privacy-first CLI that blurs faces and license plates in images and videos using OpenCV's cascades.

pip install -r requirements.txt
python plainsight.py input.jpg --out out.jpg
python plainsight.py input.mp4 --out out.mp4

Options:

  • --plates to enable license plate detection
  • --strength 25 blur kernel size (odd integer)
  • --show to preview window
  • --scale 1.2 detection scale factor

Notes

  • Uses OpenCV Haar cascades available in cv2.data.haarcascades
  • Works offline, no cloud calls
  • Good default for quick anonymization; not perfect for edge cases

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

abstergo_censor-0.1.1.tar.gz (818.5 kB view details)

Uploaded Source

File details

Details for the file abstergo_censor-0.1.1.tar.gz.

File metadata

  • Download URL: abstergo_censor-0.1.1.tar.gz
  • Upload date:
  • Size: 818.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.13

File hashes

Hashes for abstergo_censor-0.1.1.tar.gz
Algorithm Hash digest
SHA256 ef169ccf7d19ea566ca26df2fd8ab1e0c069fb043024369b7187cad19cd6e09c
MD5 5286368ea7fa30f84be6b464c30630e5
BLAKE2b-256 82e27cd2428ee1b3ec993a642ec82575233aa9115f272c6c698938c3998c2985

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page