asingh33 / CNNGestureRecognizer

Gesture recognition via CNN. Implemented in Keras + Tensorflow/Theano + OpenCV
MIT License
981 stars 358 forks source link

Guess gesture detects the test images in ./img folder wrongly. #70

Open SumanDeedwaniya opened 3 years ago

SumanDeedwaniya commented 3 years ago

Hi,

I am trying to infer the gesture of test images present in ./imgs folder by loading the CNN with you pretrained weights file pretrained_weights_WinOS.hdf5 but the prediction is going wrong. Like for pppunch1.png image it is predicting PEACE gesture. Can you tell me where is it going wrong. Below is the screenshot of my output logs. Screenshot from 2021-07-23 17-48-48

asingh33 commented 3 years ago

Hey @SumanDeedwaniya Yeah there could be few false positives. I am using a very simplistic model, trained with a very limited set of images and its not 100% accurate model. I must have copied that image file from the validation set. To improve the accuracy, you may need to train it with more training data. Few model tweaking may also help.

sonalgan commented 3 years ago

Hi! Does your project need any help? I want to start contributing more.

asingh33 commented 3 years ago

@sonalgan Hey! Always welcome to contribute to this project. Appreciate any help.

Some of the new additions would be: