Abstract:
In the fast-paced environment of T20 International (T20i) cricket, precise identification of
fielding players, particularly during the last overs, remains a technical challenge due to
fluctuating lighting, occlusion, and non-frontal camera angles. This thesis proposes CricXpert,
a hybrid AI system which employs computer vision and large language models (LLMs) to
handle two fundamental problems: player recognition and natural language-based statistic
retrieval.
In order to address these issues, the system combines multiple AI components: facial
recognition with MTCNN and FaceNet, spatio-temporal gait analysis with a GRU model
trained on MediaPipe pose features, and spatial classification with ResNet50, SVM, KNN, and
Logistic Regression in a stacking ensemble. When face or gait data are insufficient, EAST and
Tesseract are used in an OCR pipeline to identify jersey names and numbers. GPT-4o is
prompt-engineered to generate SQL queries from user inquiries in order to retrieve statistics
from a structured MySQL database.
Experiments on a custom-built dataset of six cricket players annotated under match-like
situations yielded high-performance metrics, including 98.14% accuracy in spatial recognition
and 95% in temporal gait classification and 95.83% in facial recognition. The LLM achieved
85-90% SQL translation accuracy with a response time of around 2s. Cricket coaches and data
scientists validated the system's real-world utility, usability, and domain relevance, with all
evaluation categories earning at least 4.5 on a 5-point Likert scale.
The findings demonstrate that integrating deep learning with classical ML classifiers and
prompt-engineered LLMs yields a reliable, interpretable, and low-latency solution for player
recognition and sports analytics. This end-to-end framework not only enhances identification
accuracy in challenging circumstances, but it also allows non-technical users to engage with
structured cricket data using natural language.