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

product detection.py #41

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

adityasingh-0803
Copy link

@adityasingh-0803 adityasingh-0803 commented Jan 10, 2025

Description
Added an AI-based product detection system using the Google Vision API. The system analyzes product images, classifies products into predefined labels, and provides confidence scores for each prediction.

Related Issue
Fixes #26

Motivation and Context
This change is required to enable accurate product detection and classification in an automated system. By leveraging AI, we can improve the speed and accuracy of product recognition, making it more reliable for use in applications like inventory management, e-commerce, etc.

How Has This Been Tested?
The code was tested by running it on various product images. The system successfully detected product labels and provided corresponding confidence scores. Testing was performed in a local environment with Google Cloud Vision API credentials configured.

Environment: Python 3.8, Google Cloud Vision API
Tests: Various product images (shoes, electronics, furniture) were used to ensure the system’s ability to classify and assign confidence correctly.

Types of changes

New feature (non-breaking change which adds functionality)

Checklist:
My code follows the code style of this project
I have updated the documentation accordingly
I have added tests to cover my changes
All new and existing tests passed
My changes generate no new warnings
I have checked my code and corrected any misspellings

@adityasingh-0803
Copy link
Author

@Varsha-1605 check it

@Varsha-1605
Copy link
Owner

@adityasingh-0803 show me it's demo.

@adityasingh-0803
Copy link
Author

adityasingh-0803 commented Jan 10, 2025

Implement YOLO Object Detection in Google Colab i have used this

@adityasingh-0803
Copy link
Author

should i raise another pr
for that with its demo

@Varsha-1605
Copy link
Owner

@adityasingh-0803 why another pr if it's a part of this pr .
You have to do it in this pr only.

Even you have not connected it with the database and the main application.

@Varsha-1605
Copy link
Owner

@adityasingh-0803 if you have implemented it with yolo then what is the purpose of ur pr?

@adityasingh-0803
Copy link
Author

sorry for that i am getting error in that so alternatively i have done with yolo

@Varsha-1605
Copy link
Owner

@adityasingh-0803 If you have done with yolo then why you raise this pull request???

@adityasingh-0803
Copy link
Author

i thought for better first then got error

@Varsha-1605
Copy link
Owner

@adityasingh-0803 so which works for this project raise that pull request and connect it to the database.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Custom Issue]: Implement Product Detection
2 participants