Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to train the AI? #2

Open
schoettl opened this issue May 13, 2021 · 2 comments
Open

How to train the AI? #2

schoettl opened this issue May 13, 2021 · 2 comments

Comments

@schoettl
Copy link

Amazing work! And so simple to run.

But I don't quiet understand how to train the AI. You write "it will wait 1 second, start recording data for 30 seconds, then save a file with the data"

It provides me with a json file to download. But does it also update it's data files in the application directory? And if yes, which one? data/2D/ or data/3D/ ?

And, during training, do I have to make the hand signs with both hands in parallel?

Thank you!

@joshstovall
Copy link
Member

During training, you just need to make one hand sign. You could make both though for double the data. We just flip the axis to make it work the same for both hands. It will create the JSON file to download. But as of now, you would need to manually update the directory files and re-train the model. Maybe @ryankemmer could chime in. He is the expert with the ML/Python side of things.

Feel free to ask any questions. I'm really glad people are finding this project interesting. 🤓

@schoettl
Copy link
Author

Thanks Josh! I know now, how to generate the JSON files and that I have to download and save them locally.

If I want to use them, I don't know in which directory to put them (2D or 3D). And what do you mean with "re-train the model".

The standard AI wasn't too accurate and sometimes recognized other things as hand sign. But maybe I can enhance with a better background and more light :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants