Skip to main content

A tool for generating ghost images to confuse AI models.

Project description

PixelPhantomX: Ghost images to confuse AI models

PixelPhantomX is a powerful image obfuscation tool designed to generate ghost images that confuse AI models. In an era where generative AI scrapes and repurposes artwork without the consent of creators, this tool acts as a defensive mechanism. By applying various adversarial techniques, such as noise injection, color-space manipulation, edge distortion, and watermarking, PixelPhantomX helps protect digital images from unauthorized AI training and exploitation.

Image

Features

  • Adversarial Noise Injection (Inspired by Glaze & Nightshade)
  • Customizable Noise Levels (Min/Max)
  • Watermarking (Visible & Invisible Steganographic Protection)
  • Edge Distortion for AI Confusion
  • Metadata Poisoning to mislead AI training
  • Command-line Interface for easy use

Installation

Direct Install from PyPI

pip install PixelPhantomX

Alternatively, install via setup.py:

python setup.py install

Otherwise, install the required dependencies:

pip install -r requirements.txt

Usage

Run the tool via the command line:

python PixelPhantomX.py -iP input_image_path -n noise -oP output_image_path -w watermark_text

Parameters:

Parameter Description
-iP Path to the input image (with extension)
-n Noise level (Min or Max)
-oP Output image path (without extension)
-w Custom watermark text (default: Protected)

Example:

python PixelPhantomX.py -iP Input.png -oP Output -n Min -w AdityaBhatt3010

Help Menu

To view available commands, run:

python PixelPhantomX.py -h

Alternative Usage - Interactive Mode

For a guided, interactive experience instead of command-line arguments, use:

python PixelPhantomX_Minimal.py

Screenshots

  • Help Prompt Screenshot

    python PixelPhantomX.py -h
    

    Image

  • Run Code Example:

    python PixelPhantomX.py -iP Input.png -oP Output -n Min -w AdityaBhatt3010
    

    Image

  • Input Image Screenshot
    Image

  • Output Image Screenshot
    Image

License

This project is licensed under the MIT License.

Author

Aditya Bhatt\

Contributing

Pull requests are welcome! For major changes, please open an issue first to discuss what you'd like to change.


Disclaimer:

This tool is intended for ethical use only. The author is not responsible for any misuse of this software.

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

pixelphantomx-1.0.0.tar.gz (3.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pixelphantomx-1.0.0-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

Details for the file pixelphantomx-1.0.0.tar.gz.

File metadata

  • Download URL: pixelphantomx-1.0.0.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for pixelphantomx-1.0.0.tar.gz
Algorithm Hash digest
SHA256 53c6f62cb2bf2210d98053fb7046e2bfa877a4b8928dafd0495610aad7215674
MD5 3b97109c14a5570e0a3ef3d21a27b398
BLAKE2b-256 d710f73f92fcb2f1683439c7412ea80626d51e8d8c497bfa6757e039f721775e

See more details on using hashes here.

File details

Details for the file pixelphantomx-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: pixelphantomx-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 3.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for pixelphantomx-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 82c33caeaabdaba51195368c0801dcab7f5e201e21b90ffb725068a3875d17dc
MD5 c569fa5aa7cd14f6811ccd4c88a24d59
BLAKE2b-256 78ec2507614a5904561f99c0811e9f5b4212e44534ee897a14dd26f40b1c0af2

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