Skip to content

A Machine Learning Application to search the Cricket players using the player's reference image and get the player's career stats data

Notifications You must be signed in to change notification settings

tarun7r/Cricket-API-Face-Recognition

Repository files navigation

Face-Recognition-Cricket-Players-API

An unofficial API to search players using the player's reference image and get the player career stats data

Setup Details

Follow the following instructions to run the application and start using the api in your local pc
  • Clone the repository
  • Open the terminal, navigate to the folder where your clone of this repository is located and type:

    $ pip install -r requirements.txt

  • Use the scrape_photos.py script to scrape the player images and save them in a folder
  • Use the train.py scipt to train the model to identify the player faces and train the model
  • Type $ python main.py in the terminal and the script will run for as long as you let it
  • Home Page

    • Upload the photo of the Crcikcet Player photo whose stats you want to know; The Machine learning model will predict the player name from the feature vectors (uploaded image) and fetch the player stats

    • Example: Stats of Virat Kohli | upload the Clear photo of Virat Kohli

    Prediction Page

    • The model has successfully predicted the Player and Fetched the Crcicket career stats data of the Player

    • Example: It Successfully Predicted the Person present in the uploaded image and fetched the stats

    Project Progress

    • successfully trained the model with players photos with an accuracy of 88%
    (Credits: Used the face_recognition python library to train the model and predict the player in the image)

    About

    A Machine Learning Application to search the Cricket players using the player's reference image and get the player's career stats data

    Topics

    Resources

    Stars

    Watchers

    Forks

    Releases

    No releases published

    Languages