Skip to content

In this project i tried to build a Ai where based on specific Jersey color player will be detected and also jersey-number detected for that player only

License

Notifications You must be signed in to change notification settings

Ashingharoy1991/Jersey-number-detection

Repository files navigation

Jersey-number-detection

Developed a ML model that provides Jersey number detection based on specific jersey colour

  • Project Agenda
    • EasyOcr recognition model was trained withopen source Roboflow dataset
    • For EasyOcr training I used sagemaker Studio lab for Gpu , currently what i provied in Ocr_training.ipynb file that same code i run in sagemaker Studio lab Gpu evn
    • Then prdicted the player as a person with the help of Yolov8 pretrained "s" model as you can see in (fig-1) "Output Image"
    • After detection I have done colour classification with the opencv and calculate the pixel value for blue and white colour
    • Then made a condition that satisfied if the white colour pixel value more then blue colour pixel value then only draw the box and detecte the jersey number for that player, as you can see in (fig-2) "Output Image"
    • For my custom train EasyOcr model i used only jersey number dataset and i did not train any text detection model or EasyOcr craft model, but for real time applycation we can train our won text detection model or we can tain EasyOcr Craft model
    • Also I want to add one thing for player detection we can used Transfer learning with Yolov8 or any available pretrained CNN model with pytorch and tenseflow, in feature i will do the project based on this with new problem statement.

About

In this project i tried to build a Ai where based on specific Jersey color player will be detected and also jersey-number detected for that player only

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published