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

BarCode and QR Code Recognition #651

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

Mikeyzgoat
Copy link
Contributor

Related Issue

  • The main goal of this project is to classify images of barcodes, QR codes, and product labels using both traditional machine learning (SIFT + SVM) and deep learning (CNN). This classification can be useful for automated product identification, inventory management, and retail automation.

  • CodePeak 2025 Participant

  • Contributor

Closes: #618

Describe the add-ons or changes you've made

  1. Loaded and preprocessed the dataset (grayscale conversion, resizing, and normalization).
  2. Extracted features using the SIFT algorithm for the traditional ML approach.
  3. Trained an SVM classifier using the extracted features.
  4. Designed and trained a CNN model for classification.
  5. Compared model accuracies and visualized results using Matplotlib.

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?

  • The models were trained and tested on the dataset using an 80-20 train-test split.
  • The SIFT + SVM model was evaluated using accuracy scores on the test set.
  • The CNN model was tested by computing the classification accuracy on unseen data.
  • Training and testing loss were monitored during CNN training to ensure proper convergence.
  • Sample predictions were manually verified to check model performance.

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.

@Mikeyzgoat
Copy link
Contributor Author

@prathimacode-hub here is the PR

@prathimacode-hub
Copy link
Owner

It's taking more time to open your PR as it includes lot of files in form of dataset. @Mikeyzgoat

@Mikeyzgoat
Copy link
Contributor Author

No issues, take your time. Kindly update the same in codepeak if done. Thanks!

@prathimacode-hub prathimacode-hub changed the title Added model files, README.md. Dataset to be added manually! BarCode and QR Code Recognition Mar 24, 2025
@prathimacode-hub prathimacode-hub added the codepeak 25 This label is applicable for all CodePeak issues label Mar 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
codepeak 25 This label is applicable for all CodePeak issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

CodePeak 2025 : Barcode and QR Code Recognition
2 participants