Skip to content

Hasini31/LOOK_DGC

ย 
ย 

Repository files navigation

LOOK-DGC
๐Ÿ” An Open Source Digital Image Forensics Toolkit

License: MIT Python 3.11+ Platform Docker Ready Online + Offline Ready


๐Ÿ“‹ Table of Contents


๐ŸŽฏ Introduction

"Forensic Image Analysis is the application of image science and domain expertise to interpret the content of an image and/or the image itself in legal matters." - Scientific Working Group on Imaging Technologies

LOOK-DGC is a comprehensive digital image forensics toolkit developed by Gopichand. It provides a fully integrated environment for analyzing digital images to detect tampering, forgery, and manipulation.

๐ŸŒŸ Why LOOK-DGC?

  • ๐Ÿ”“ Open Source: Free and accessible to everyone
  • ๐ŸŽ“ Educational: Learn digital forensics techniques
  • ๐Ÿ”ฌ Research-Ready: Implement latest algorithms from research papers
  • ๐Ÿ›ก๏ธ Professional: Used by investigators and security professionals
  • ๐ŸŒ Community-Driven: Democratizing image forensics tools worldwide

๐Ÿš€ Quick Start

Option 1: Docker (Recommended)

# Clone the repository
git clone https://github.com/Gooichand/LOOK-DGC.git
cd LOOK-DGC

# Run with Docker Compose
docker-compose up

Option 2: Direct Installation

# Clone and setup
git clone https://github.com/Gooichand/LOOK-DGC.git
cd LOOK-DGC

# Windows
Launch-LOOK-DGC.bat

# Linux/macOS
./launch-look-dgc.sh

โšก Features

๐Ÿ–ฅ๏ธ Modern Interface

  • ๐ŸŽจ Qt-based GUI: Professional multi-window management
  • ๐Ÿ“ Format Support: JPEG, PNG, TIFF, BMP, WebP, PGM, PFM, GIF
  • โšก Responsive Viewer: Real-time pan, zoom, and navigation
  • ๐Ÿ”„ Interactive Analysis: Live algorithm parameter adjustment
  • ๐Ÿ“Š Export Capabilities: Visual and textual result export
  • โ“ Built-in Help: Comprehensive tutorials and explanations

๐Ÿ› ๏ธ Analysis Tools

๐Ÿ“‹ General Tools
  • ๐Ÿ“ท Original Image: Unaltered reference display
  • ๐Ÿ” File Digest: Cryptographic hashes and file information
  • โš™๏ธ Hex Editor: Raw byte-level file examination
  • ๐Ÿ” Similar Search: Online reverse image search integration
๐Ÿ“Š Metadata Tools
  • ๐Ÿ—๏ธ Header Structure: Interactive file structure visualization
  • ๐Ÿ“‹ EXIF Full Dump: Complete metadata extraction and analysis
  • ๐Ÿ–ผ๏ธ Thumbnail Analysis: Embedded thumbnail comparison
  • ๐ŸŒ Geolocation Data: GPS coordinate mapping and visualization
๐Ÿ”ฌ Inspection Tools
  • ๐Ÿ” Enhancing Magnifier: Forgery-detection enhanced magnification
  • ๐Ÿ“ˆ Channel Histogram: RGB/composite histogram analysis
  • โš–๏ธ Global Adjustments: Brightness, hue, saturation manipulation
  • โ†”๏ธ Reference Comparison: Synchronized dual-image comparison
๐ŸŽจ Color Analysis
  • ๐Ÿ“Š RGB/HSV Plots: Interactive 2D/3D color space visualization
  • ๐Ÿ”„ Space Conversion: Multiple color space transformations
  • ๐Ÿงฎ PCA Projection: Principal component analysis projection
  • ๐Ÿ“ Pixel Statistics: Comprehensive per-pixel statistical analysis
๐Ÿ“ก Noise Analysis
  • ๐Ÿ”Š Noise Separation: Multi-type noise component extraction
  • ๐Ÿ“Š Min/Max Deviation: Block-based statistical deviation analysis
  • ๐Ÿ”ข Bit Plane Analysis: Individual bit layer examination
  • ๐Ÿ†” PRNU Identification: Camera sensor pattern noise analysis
๐Ÿ“ท JPEG Analysis
  • ๐Ÿ“Š Quality Estimation: Quantization table analysis
  • โšก Error Level Analysis: Compression level difference visualization
  • ๐Ÿ”„ Multiple Compression: Machine learning compression detection
  • ๐Ÿ‘ป JPEG Ghost Maps: Compression artifact trace visualization
โš ๏ธ Tampering Detection
  • ๐Ÿ“‹ Copy-Move Forgery: Feature descriptor cloning detection
  • โœ‚๏ธ Composite Splicing: DCT statistical splicing detection
  • ๐Ÿ”„ Image Resampling: 2D interpolation trace detection
  • ๐ŸŽ›๏ธ Contrast Enhancement: Color distribution manipulation analysis
๐Ÿ”ง Additional Tools
  • ๐Ÿ” Median Filtering: Nonlinear filtering trace detection
  • ๐Ÿ’ก Illuminant Mapping: 3D surface light direction estimation
  • ๐Ÿ”ด Dead/Hot Pixels: Sensor defect detection and correction
  • ๐Ÿ‘๏ธ Stereogram Decoder: Hidden 3D image extraction

๐Ÿ“ธ Screenshots

General Tools
๐Ÿ“‹ General Tools: Original Image, File Digest, Hex Editor, Similar Search

Visual Inspection
๐Ÿ”ฌ Visual Inspection: Magnifier, Histogram, Reference Comparison

Detail Analysis
๐ŸŽฏ Detail Analysis: Gradient, Edge Filter, Wavelet, Frequency Split

Color Analysis
๐ŸŽจ Color Analysis: RGB/HSV Plots, Space Conversion, PCA, Statistics

Noise Analysis
๐Ÿ“ก Noise Analysis: Noise Separation, Min/Max Deviation, Bit Planes

JPEG Analysis
๐Ÿ“ท JPEG Analysis: Quality Estimation, Error Level Analysis

Tampering Detection
โš ๏ธ Tampering Detection: Copy-Move, Splicing, Resampling, Filtering


๐Ÿ’ป Installation

๐Ÿ“‹ Prerequisites

  • ๐Ÿ Python 3.11+
  • ๐Ÿ’พ 4GB+ RAM (recommended)
  • ๐Ÿ–ฅ๏ธ Windows/Linux/macOS

๐Ÿš€ Method 1: Quick Start (Recommended)

Windows

git clone https://github.com/Gooichand/LOOK-DGC.git
cd LOOK-DGC
Launch-LOOK-DGC.bat

Linux/macOS

git clone https://github.com/Gooichand/LOOK-DGC.git
cd LOOK-DGC
chmod +x launch-look-dgc.sh
./launch-look-dgc.sh

๐Ÿ”ง Method 2: Manual Setup

1๏ธโƒฃ Clone Repository

git clone https://github.com/Gooichand/LOOK-DGC.git
cd LOOK-DGC

2๏ธโƒฃ Create Virtual Environment

# Using venv
python -m venv .venv

# Activate (Windows)
.venv\Scripts\activate.bat

# Activate (Linux/macOS)
source .venv/bin/activate

3๏ธโƒฃ Install Dependencies

cd gui
pip install -r requirements.txt

4๏ธโƒฃ Launch Application

python look-dgc.py

๐Ÿง Linux Additional Setup

If you encounter Qt platform plugin errors:

sudo apt install -y libxcb-cursor-dev

๐Ÿณ Docker Setup

๐Ÿš€ Quick Docker Start

Windows

# Install VcXsrv X Server first
# Download: https://sourceforge.net/projects/vcxsrv/

# Run LOOK-DGC
docker-compose -f docker-compose.windows.yml up

Linux

# Allow X11 forwarding
xhost +local:docker

# Run LOOK-DGC
docker-compose up

macOS

# Install XQuartz first
# Download: https://www.xquartz.org/

# Run LOOK-DGC
docker-compose up

๐Ÿ”ง Manual Docker Commands

Build Image

docker build -t look-dgc:latest .

Run Container

# Windows
docker run -it --rm -e DISPLAY=host.docker.internal:0 look-dgc

# Linux
docker run -it --rm -e DISPLAY=$DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix look-dgc

# macOS
docker run -it --rm -e DISPLAY=host.docker.internal:0 look-dgc

๐Ÿ“ Volume Mounts

  • ./images:/app/images - Input images
  • ./output:/app/output - Analysis results

๐Ÿ“š Documentation

๐Ÿ“– Additional Resources

๐ŸŽ“ Learning Resources

  • ๐Ÿ“š Research Papers: Implementation references in bibliography
  • ๐ŸŽฏ Practical Examples: Try analyzing known edited vs. original images
  • ๐Ÿ”ฌ Algorithm Details: Source code documentation and comments
  • ๐ŸŒ Community: Join discussions and contribute improvements

๐Ÿค Contributing

We welcome contributions from the community! Here's how you can help:

๐Ÿ› Bug Reports

  • Use GitHub Issues to report bugs
  • Include system information and steps to reproduce
  • Attach sample images if relevant (ensure no sensitive data)

๐Ÿ’ก Feature Requests

  • Suggest new analysis algorithms
  • Propose UI/UX improvements
  • Request additional file format support

๐Ÿ”ง Code Contributions

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes with tests
  4. Submit a pull request

๐Ÿ“– Documentation

  • Improve existing documentation
  • Add tutorials and examples
  • Translate to other languages

๐ŸŒŸ Acknowledgments

๐Ÿ”ฌ Research Foundation

This project implements algorithms from cutting-edge research papers in digital image forensics:

  • Image Resampling: "Exposing Digital Forgeries by Detecting Traces of Re-sampling" (Popescu & Farid)
  • JPEG Ghosts: "Exposing Digital Forgeries from JPEG Ghosts" (H. Farid)
  • Noise Analysis: "Using noise inconsistencies for blind image forensics" (Mahdian & Saic)
  • Noiseprint: "A CNN-based camera model fingerprint" (Cozzolino & Verdoliva)

๐Ÿ› ๏ธ Technology Stack

  • ๐Ÿ Python: Core programming language
  • ๐Ÿ‘๏ธ OpenCV: Computer vision and image processing
  • ๐Ÿงฎ NumPy/SciPy: Mathematical computations and algorithms
  • ๐Ÿค– TensorFlow: Machine learning and AI-powered detection
  • ๐Ÿ–ฅ๏ธ PySide6: Modern Qt-based user interface
  • ๐Ÿณ Docker: Containerization and easy deployment

๐Ÿ” LOOK-DGC - Making Digital Image Forensics Accessible to Everyone
Developed with โค๏ธ by Gopichand

โญ Star this project โ€ข ๐Ÿ› Report Bug โ€ข ๐Ÿ’ก Request Feature


Ready to become a digital detective? Clone the repository and start your first investigation! ๐Ÿ•ต๏ธโ™‚๏ธ

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Perl 64.6%
  • HTML 33.1%
  • Python 1.8%
  • C++ 0.5%
  • PostScript 0.0%
  • Makefile 0.0%