Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I researched many models , large , medium etc but nano model might not be accurate but it will be good for a great user experience as it uses less resources and it is much faster, choosing a higher accurate model is tradeoff between user experience and accuracy. Also large models will make app heavy use more resources so only small amount of people will be able to experience the ai tagging feature , so I've kept yolov8n model.
I have added an unkown label and changed few paramaters to increase bit of accuracy and reduce wrongly classified images, though it does not drastically increase accuracy , its a minor change.
Currently model can categorize image just in these categories:
To increase classes, I tried training model spent hours finding a dataset but I was not able to find a dataset with bounding labels, my laptop supports training of small nano models so if anyone finds a suitable dataset with many classes and bounding labels do tag me, I'll train the model to add more classes to it , I'll create a seperate issue for training the model.
Fixes #236