{"id":25395870,"url":"https://github.com/trinetra110/pixelguard","last_synced_at":"2025-04-10T16:58:59.690Z","repository":{"id":277571954,"uuid":"932851372","full_name":"trinetra110/PixelGuard","owner":"trinetra110","description":"PixelGuard is a powerful Python-based tool designed to detect image tampering using SHA-256 hashing, metadata analysis, and pixel-level comparison. It helps verify the authenticity of images and identify unauthorized modifications, making it useful for digital forensics, cybersecurity, and content verification.","archived":false,"fork":false,"pushed_at":"2025-02-14T16:43:14.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-14T17:33:28.647Z","etag":null,"topics":["digital-forensics","image-forensics","image-tampering-detection"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/trinetra110.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-02-14T16:29:59.000Z","updated_at":"2025-02-14T16:43:18.000Z","dependencies_parsed_at":"2025-02-14T17:44:27.107Z","dependency_job_id":null,"html_url":"https://github.com/trinetra110/PixelGuard","commit_stats":null,"previous_names":["trinetra110/pixelguard"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trinetra110%2FPixelGuard","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trinetra110%2FPixelGuard/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trinetra110%2FPixelGuard/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trinetra110%2FPixelGuard/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/trinetra110","download_url":"https://codeload.github.com/trinetra110/PixelGuard/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248259633,"owners_count":21074166,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["digital-forensics","image-forensics","image-tampering-detection"],"created_at":"2025-02-15T20:38:46.211Z","updated_at":"2025-04-10T16:58:59.671Z","avatar_url":"https://github.com/trinetra110.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# **PixelGuard: Image Tampering Detection Tool** 🛡️🔍  \n\n\u003cimg src=\"https://readme-typing-svg.herokuapp.com?color=45ffaa\u0026size=40\u0026width=900\u0026height=80\u0026lines=Welcome-to-PixelGuard\"/\u003e\n\n**PixelGuard** is a powerful Python-based tool designed to detect image tampering using **SHA-256 hashing, metadata analysis, and pixel-level comparison**. It helps verify the authenticity of images and identify unauthorized modifications, making it useful for **digital forensics, cybersecurity, and content verification**.  \n\n🔹 **Verifies image integrity using cryptographic hashing**  \n🔹 **Detects changes in metadata and file properties**  \n🔹 **Performs pixel-level comparison to identify modifications**  \n\n## 🚀 Features  \n\n✅ **SHA-256 Hashing**: Generates unique hashes to verify image integrity.  \n✅ **Metadata Analysis**: Extracts format, dimensions, and file size for validation.  \n✅ **Pixel-Level Comparison**: Detects subtle changes in image content.  \n✅ **User-Friendly CLI**: Simple interactive command-line interface.  \n✅ **Supports Multiple Formats**: Works with **JPG, PNG, BMP, and WEBP** images.  \n\n## 🛠️ Tech Stack  \n\n| **Technology**  | **Description**              |\n|---------------|--------------------------|\n| **🐍 Python**  | Programming Language       |\n| **📷 Pillow**  | Image Processing Library   |\n| **🔑 hashlib** | Cryptographic Hashing      |\n| **📂 OS**      | File Handling Utilities    |\n\n## 📌 Prerequisites  \n\n- **Python 3.x** (Download: [Python.org](https://www.python.org/downloads/))  \n\n## ⚡ Installation \u0026 Usage  \n\n### **1️⃣ Clone the Repository**  \n```bash\ngit clone https://github.com/trinetra110/PixelGuard.git\ncd PixelGuard\n```\n\n### **2️⃣ Install Dependencies**  \n```bash\npip install -r requirements.txt\n```\n\n### **3️⃣ Run the Application**  \n```bash\npython main.py\n```\n\n## 🎯 How to Use  \n\nWhen you run **PixelGuard**, you will see the following menu:  \n\n```\n📌 Select an option:\n1️⃣  Generate a hash for an original image\n2️⃣  Compare a suspect image with a stored hash\n3️⃣  Compare two images (original and suspect)\n0️⃣  Exit\n```\n\n### **1️⃣ Generate a Hash for an Original Image**  \n- Select option `1`.  \n- Enter the filename (ensure the image is in the `images/` directory).  \n- The tool will compute a **SHA-256 hash** and display it.  \n- **Save this hash** securely for future verification.  \n\n### **2️⃣ Compare a Suspect Image with a Stored Hash**  \n- Select option `2`.  \n- Enter the suspect image filename (ensure the image is in the `images/` directory).  \n- Provide the stored hash of the original image.  \n- The tool will compare the hashes and detect any tampering.  \n\n### **3️⃣ Compare Two Images (Original vs. Suspect)**  \n- Select option `3`.  \n- Enter both filenames (original and suspect) (ensure the images are in the `images/` directory).  \n- The tool performs:  \n  ✅ **Metadata Analysis** (format, dimensions, file size)  \n  ✅ **Hash Comparison** (SHA-256 integrity check)  \n  ✅ **Pixel-Level Analysis** (detects modified pixels)  \n\n## 🔄 Supported File Formats  \nPixelGuard supports the following image formats:  \n\n- **JPG** (`.jpg`, `.jpeg`)  \n- **PNG** (`.png`)  \n- **BMP** (`.bmp`)  \n- **WEBP** (`.webp`)  \n\n## 🏆 Why Use PixelGuard?  \n\n🔹 **Ensure Image Authenticity**: Detect unauthorized modifications in digital images.  \n🔹 **Ideal for Digital Forensics**: Helps cybersecurity professionals verify media integrity.  \n🔹 **Fast \u0026 Lightweight**: Works efficiently on local machines.  \n\n## 📜 License  \n\nThis project is licensed under the **MIT License**.  \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrinetra110%2Fpixelguard","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftrinetra110%2Fpixelguard","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrinetra110%2Fpixelguard/lists"}