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.
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
-
Run Code Example:
python PixelPhantomX.py -iP Input.png -oP Output -n Min -w AdityaBhatt3010
-
Input Image Screenshot
-
Output Image Screenshot
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
53c6f62cb2bf2210d98053fb7046e2bfa877a4b8928dafd0495610aad7215674
|
|
| MD5 |
3b97109c14a5570e0a3ef3d21a27b398
|
|
| BLAKE2b-256 |
d710f73f92fcb2f1683439c7412ea80626d51e8d8c497bfa6757e039f721775e
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
82c33caeaabdaba51195368c0801dcab7f5e201e21b90ffb725068a3875d17dc
|
|
| MD5 |
c569fa5aa7cd14f6811ccd4c88a24d59
|
|
| BLAKE2b-256 |
78ec2507614a5904561f99c0811e9f5b4212e44534ee897a14dd26f40b1c0af2
|