Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AI Generated Fruits and Real Fruits Classification using Image Processing #435

Merged
merged 8 commits into from
Jan 13, 2024
Merged

Conversation

AgrawalTitiksha
Copy link
Contributor

Pull Request for DL-Simplified 💡

Issue Title : AI Generated Fruits and Real Fruits Classification using Image Processing

  • Info about the related issue (Aim of the project) : The aim of this project to identify and predict the real fruits and AI generated fruits using Image Processing methods.
  • Name: Titiksha Agrawal
  • GitHub ID: 117917014
  • Email ID: agrawaltn2311@gmail.com
  • Idenitfy yourself: (Mention in which program you are contributing in. Eg. For a JWOC 2022 participant it's, JWOC Participant) SWOC 2024 contributor

Closes: #416

Describe the add-ons or changes you've made 📃

As per the problem statement, the project aims to classify whether an image is Real or generated by AI.
The dataset provide for same consisted of 302 images in total.
After loading the dataset, extracting its features, resizing, reshaping and preprocessing it we trained our machine learning and deep learning models and calculated their accuracy and cross verified it by prediction also.
Following are the model we used :
Principle Component Analysis (PCA)
Linear Discriminant Analysis (LDA)
Support Vector Machine (SVM) (All the three kernel viz., linear, poly and RBF)
CNN (VGG16)
CNN (ResNet)
The accuracy percentage of our models was very satisfying (all nearly about 95% -100% accurate) and also the predictions were accurate.

Type of change ☑️

What sort of change have you made:

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Code style update (formatting, local variables)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How Has This Been Tested? ⚙️

Describe how it has been tested
Describe how have you verified the changes made

Checklist: ☑️

  • My code follows the guidelines of this project.
  • I have performed a self-review of my own code.
  • I have commented my code, particularly wherever it was hard to understand.
  • I have made corresponding changes to the documentation.
  • My changes generate no new warnings.
  • I have added things that prove my fix is effective or that my feature works.
  • Any dependent changes have been merged and published in downstream modules.

Copy link

Our team will soon review your PR. Thanks @AgrawalTitiksha :)

@abhisheks008
Copy link
Owner

Please add the README.md file. Follow the README template for creating that, https://github.com/abhisheks008/DL-Simplified/blob/main/.github/readme_template.md

@abhisheks008
Copy link
Owner

Hi @AgrawalTitiksha this is the project structure please follow it.

Project Name
- Dataset
  - README.md (Put the URL of the dataset incase of multiple datapoints) / dataset.csv
- Images
  - Img1.png
  - Img2.png
  - Img3.png
- Model
  - project_name.ipynb
  - README.md (Follow the README template given in the previous comment)
- requirements.txt

Please update your project according to the project structure. Put the main README.md file inside the Model folder.

@AgrawalTitiksha

Copy link
Owner

@abhisheks008 abhisheks008 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved. Good work!
@AgrawalTitiksha

@abhisheks008 abhisheks008 added Status: Approved Approved PR by the PA. Level: HARD SWOC S4 Issues under Social Winter of Code, 2025 and removed Status: Requested Changes Changes requested. labels Jan 13, 2024
@abhisheks008 abhisheks008 merged commit 3b07eec into abhisheks008:main Jan 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Level: HARD Points Updated Status: Approved Approved PR by the PA. SWOC S4 Issues under Social Winter of Code, 2025
Projects
None yet
Development

Successfully merging this pull request may close these issues.

AI Generated Fruits and Real Fruits Classification using Image Processing
2 participants