Update README.md
Browse files
README.md
CHANGED
|
@@ -10,31 +10,41 @@ datasets:
|
|
| 10 |
|
| 11 |
# Model Card for Model ID
|
| 12 |
|
| 13 |
-
This model is designed for classifying images as either 'real
|
|
|
|
|
|
|
|
|
|
| 14 |
|
| 15 |
## Model Details
|
| 16 |
|
| 17 |
### Model Description
|
| 18 |
|
| 19 |
-
|
| 20 |
|
|
|
|
|
|
|
| 21 |
|
| 22 |
-
|
| 23 |
|
| 24 |
-
|
| 25 |
|
|
|
|
| 26 |
|
| 27 |
|
| 28 |
### Out-of-Scope Use
|
| 29 |
|
| 30 |
-
The model may not perform well on images outside the scope of art or where the visual characteristics are drastically different from those in the training dataset.
|
|
|
|
|
|
|
| 31 |
|
| 32 |
## Bias, Risks, and Limitations
|
| 33 |
|
| 34 |
-
|
|
|
|
| 35 |
|
| 36 |
### Recommendations
|
| 37 |
|
|
|
|
| 38 |
|
| 39 |
## How to Get Started with the Model
|
| 40 |
|
|
@@ -42,14 +52,14 @@ Prepare Data: Organize your images into appropriate folders and preprocess them
|
|
| 42 |
Train the Model: Use the provided code to train the model on your dataset.
|
| 43 |
Evaluate: Test the model on a separate set of images to assess performance.
|
| 44 |
|
| 45 |
-
|
| 46 |
|
| 47 |
## Training Details
|
| 48 |
|
| 49 |
### Training Data
|
| 50 |
|
| 51 |
-
Dataset:
|
| 52 |
-
Preprocessing: Images are resized,
|
| 53 |
|
| 54 |
### Training Procedure
|
| 55 |
|
|
|
|
| 10 |
|
| 11 |
# Model Card for Model ID
|
| 12 |
|
| 13 |
+
This model is designed for classifying images as either 'real' or 'fake-Ai generated' using a Convolutional Neural Network (CNN) combined with Error Level Analysis (ELA).
|
| 14 |
+
|
| 15 |
+
Our goal is to accurately classify the source of the image with at least 85% accuracy and achieve at least 80% in the Recall test.
|
| 16 |
+
|
| 17 |
|
| 18 |
## Model Details
|
| 19 |
|
| 20 |
### Model Description
|
| 21 |
|
| 22 |
+
CNN is a type of deep learning model specifically designed to process and analyze visual data by applying convolutional layers that automatically detect patterns and features in images.
|
| 23 |
|
| 24 |
+
Error Level Analysis (ELA) detects changes in digital images by comparing the differences between the original and a compressed version of the image.
|
| 25 |
+
It highlights areas where alterations may have occurred, making it useful for identifying image tampering.
|
| 26 |
|
| 27 |
+
After running ELA we feed the CNN with the result of comparing original and a compressed version of the same image and then we get the output.
|
| 28 |
|
| 29 |
+
### Direct Use
|
| 30 |
|
| 31 |
+
This model can be used to classify images as 'real' or 'fake- Ai generated' based on the presence of anomalies and features characteristic of each category.
|
| 32 |
|
| 33 |
|
| 34 |
### Out-of-Scope Use
|
| 35 |
|
| 36 |
+
The model may not perform well on images outside the scope of art or where the visual characteristics are drastically different from those in the training dataset.
|
| 37 |
+
|
| 38 |
+
may not detect ai-images from newer diffusion models that has another method of creating ai images.
|
| 39 |
|
| 40 |
## Bias, Risks, and Limitations
|
| 41 |
|
| 42 |
+
ELA can be very good in detecting tamparing such as photoshop,
|
| 43 |
+
there is many diffusion engines that not tamper the image making the ELA weak against those ai-images.
|
| 44 |
|
| 45 |
### Recommendations
|
| 46 |
|
| 47 |
+
Test this model with different hyperparameters / more CNN layers
|
| 48 |
|
| 49 |
## How to Get Started with the Model
|
| 50 |
|
|
|
|
| 52 |
Train the Model: Use the provided code to train the model on your dataset.
|
| 53 |
Evaluate: Test the model on a separate set of images to assess performance.
|
| 54 |
|
| 55 |
+
|
| 56 |
|
| 57 |
## Training Details
|
| 58 |
|
| 59 |
### Training Data
|
| 60 |
|
| 61 |
+
Dataset: DataScienceProject/Art_Images_Ai_And_Real_
|
| 62 |
+
Preprocessing: Images are resized, image quallity changed , ELA version of this image created.
|
| 63 |
|
| 64 |
### Training Procedure
|
| 65 |
|