How shabaaz1729/imgsplicing works
Project Identification
• Purpose: The project “ImgSplicing” is focused on detecting image splicing using deep learning. It leverages feature extraction (HOG and GLCM Texture Features) to form a 23-value feature vector that is then classified using three different classifiers: Perceptron, Sigmoid Neuron, and Feed Forward Neural Network.
• Type: This is a machine learning / deep learning project primarily designed for image forensics.
Analyzing the File Structure
• The Code Directory contains Jupyter notebooks for each classifier:
• FeedForwardNetwork.ipynb (and its checkpoint file)
• Perceptron.ipynb
• Sigmoid Neuron.ipynb
• The Images Directory holds sample input images (both authentic and spliced).
• The top-level files include LICENSE and README.md.
• This layout suggests a research-oriented or experimental setup where different models are tried separately but work on a shared feature extraction process and dataset.
Insights from the README
• The README outlines the key steps:
• Feature Extraction (using HOG and GLCM to generate a feature vector)
• Classification (three different models are implemented)
• Dataset details (images drawn from a well-known DVMM dataset with authentic and spliced images)
• There is no explicit separation between “frontend” or “backend” as in a full-stack web application; instead, the focus is on data processing and model evaluation.
a. Data Input / Dataset:
• Source images (authentic and spliced) that are fed into the system.
b. Preprocessing and Feature Extraction:
• A module where raw images are processed.
• Within this module, further subdivide into:
• HOG Feature Extraction component.
• GLCM Texture Feature Extraction component.
• That their outputs merge to form the 23-value feature vector.
c. Classifiers (Modeling Components):
• Create three distinct blocks representing:
• Perceptron Classifier.
• Sigmoid Neuron Classifier.
• Feed Forward Neural Network.
• These blocks can be connected in a way that indicates either parallel execution (all models receive the same feature vector) or comparative evaluation if results are aggregated later.
d. Results / Evaluation:
• Although not explicitly detailed in the README, this is a typical end-point for such pipelines.
• If applicable, connect the classifiers to a shared “Results” module that aggregates evaluations.
Final Detailed Recommendations
• A title (“ImgSplicing System Architecture”) at the top.
• Component (Data Input, Feature Extraction, Classifier 1, Classifier 2, Classifier 3, and Evaluation) is separated and clearly defined.
• Optionally, add side notes that indicate where configuration or parameter tuning might occur (for example, hyperparameters in each classifier notebook).