Logo Lanfrica
  • Home
  • Atlas
  • Insights
  • Docs
  • Sign in

Β© 2026 Lanfrica. All rights reserved. All copyrights of the resources shown on the Lanfrica website belong to the original copyright holders, unless explicitly stated otherwise.

mlkinteh2/African-Football-Player-Face-Classifier-Hakimi-Salah-Mahrez-Minteh-

Record type:

softwaremodel
Creator:
mlk
Host:
# African Football Player Face Classifier (Flask Web App) A Flask-based web application that recognizes African football players from their facial images using **Machine Learning** and **Computer Vision**. The app uses **OpenCV**, **Wavelet Transform**, and a **Support Vector Machine (SVM)** model to classify uploaded images of players. --- ## Overview This project demonstrates the integration of **AI and Web Development**. It automatically detects faces from uploaded images, extracts features using **Wavelet Transform**, and predicts the correct player using a pre-trained **SVM model**. Users interact with a simple web interface built using **HTML, CSS, and JavaScript**, while the backend is powered by **Python Flask**. --- ## Players in the Dataset | Player Name | Country | |--------------|----------| | Achraf Hakimi | πŸ‡²πŸ‡¦ Morocco | | Mohamed Salah | πŸ‡ͺπŸ‡¬ Egypt | | Riyad Mahrez | πŸ‡©πŸ‡Ώ Algeria | | Yankuba Minteh | πŸ‡¬πŸ‡² Gambia | > *Note: The dataset was manually collected. Yankuba Minteh’s dataset was limited, so image augmentation techniques (flipping, rotation, brightness adjustment) were applied to increase the samples.* --- ## Machine Learning Overview - **Face Detection:** Haar Cascade Classifier (OpenCV) - **Feature Extraction:** Wavelet Transform (`pywt`) + raw pixel features - **Model Used:** Support Vector Machine (SVM) - **Framework:** scikit-learn - **Accuracy:** ~90% (SVM performed best among tested models) --- ## πŸ“Š Model Performance | Model | Accuracy | Best Parameters | |--------|-----------|----------------| | 🧩 SVM | **0.90** | {'C': 1, 'kernel': 'linear'} | | 🌲 Random Forest | 0.72 | {'n_estimators': 10} | | πŸ“ˆ Logistic Regression | 0.84 | {'C': 1} | **Confusion Matrix (SVM):** --- ## 🧩 Tech Stack | Area | Technology | |------|-------------| | Backend | Python (Flask) | | Frontend | HTML, CSS, JavaScript | | Machine Learning | scikit-learn (SVM) | | Computer Vision | OpenCV | | Feature Extraction | PyWavelets | | Data Handling | NumPy, …

Visit

github.com

Tasks

computer visionimage classification

Similar

Romeo10/malagasy-face-classifier-modelPlayer Incentives as Determinants of Team Performance of Elite Male Football Clubs in Malawiwku572/hakimi-healthcare-platformTskTsks/home-advantage-african-footballAuraaax/Auras-African-Football-Leaguerah-salah/medical-telegram-warehouse

Romeo10/malagasy-face-classifier-model

Player Incentives as Determinants of Team Performance of Elite Male Football Clubs in Malawi

This study examined the extent to which player incentives determine team performance in elite male f

wku572/hakimi-healthcare-platform

Healthcare appointment platform for Ethiopia as a real DevOps learning project. # Hakimi / αˆ€αŠͺሜ Hak

TskTsks/home-advantage-african-football

Dataset and analysis code for: "Quantifying Home Advantage in African Football Competitions Using St

Auraaax/Auras-African-Football-League

Aura's African Football League is a website for African football. It has three user types: administr

rah-salah/medical-telegram-warehouse

End-to-end ELT pipeline for Ethiopian medical Telegram data # Medical Telegram Warehouse An end-to