Skip to content

In this project has been implemented an algorithm to identify the italian sign language (LIS - Lingua Italiana dei Segni) through Opencv, Mediapipe Hand Detection and a K-nn classifier.

License

Notifications You must be signed in to change notification settings

xandrew94x/LIS-Detection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LIS-Detection

In this project has been implemented an algorithm to detect the italian sign language (LIS - Lingua Italiana dei Segni) through Opencv, Mediapipe Hand Detection and a K-nn classifier.

🔨 Technologies

  • Python 3.8.13
  • Mediapipe 0.9.2.1
  • Opencv 4.6.0.66
  • Sklearn 1.1.2
  • Pickle 4.0

📚 Install

pip install - pip/requirements.txt

📊 Dataset

Dataset was acquired using a previously created tool: acqTool

  • LIS alphabet letters were recorded (26 classes).
  • 500 vectors for each classes,
  • Vectors was normalized using the MinMaxScaler [0,1],
  • Each vector is composed by 42 features:
$$V_{i} = (x_{1}, y_{1}, ... , x_{n}, y_{n})$$

where:

  • x_{n} and x_{n} are the position in pixels,
  • (x_{n} , x_{n} ) is nth landmark on 2D image. 8

Note: only right hand was used during the acquisition. Download Here

🚸 Classifier

The classifier chosen is K-NN ( sklearn ).

Confusion Matrix:

confusion_matrix_knn

🚀 Launch

python hand_detection_main.py -c {classifier.pkl}

📄 License

This project is released under the GNU General Public License v3.0

About

In this project has been implemented an algorithm to identify the italian sign language (LIS - Lingua Italiana dei Segni) through Opencv, Mediapipe Hand Detection and a K-nn classifier.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages