Handwritten Digit Recognition Virtual Pen

in Threespeaklast month

▶️ Watch on 3Speak


I had a crazy idea of creating a “video game” using the Raspberry Pi 4 and a cool machine learning algorithm working on the backend. Happens that the idea was too big to execute fast and I got a bit frustrated trying to make everything perfect. So I decided to just divide it in small tasks and keep you updated, perhaps you have better ideas on how to optimize this.

Basically I want to be able to complete and verify a sudoku by virtually writing with a pen. The mechanism is a bit more complicated than the description.

I managed to build the first part, I adapted the Virtual Pen and Eraser created by the amazing team behind LearnOpenCV and created a CNN model to recognize the digits. Basically I write with my virtual pen a number and I can make my little processor predict which number I wrote. Sounds cool huh?

Thing is, it was a bit complicated to match matrices and dimensions ~ but it works okeish! Anyways, I want you to take a look at it, play around with it and send me some great input so I can make this idea real and fast.

And yes I did the video on my Mac cause I couldn’t manage to screen record my raspberry pi while executing cv2 🙄 but I built it and test it on the Pi and works crazy cooooool 🤯

What do you think?

GitHub: https://github.com/coding-ai/raspberrypi_handwritten_recognition


▶️ 3Speak

Sort:  

How great @aicoding! I congratulate you for your initiative, I am sure that soon you will be able to get your video game running correctly, it is exciting to see how the technological tools that are available are put into practice

Posted Using LeoFinance Beta

Thanks! Hopefully - working on it every day! That's true - I also love to see people creating something new from existing tools

Excellent, keep it up, you will surely make it. :)

Ha ha, welcome to a 3speak

:D :D :D thanks for having me!

Congratulations @aicoding! You have completed the following achievement on the Hive blockchain and have been rewarded with new badge(s) :

You received more than 50 HP as payout for your posts and comments.
Your next payout target is 100 HP.
The unit is Hive Power equivalent because your rewards can be split into HP and HBD
You received more than 2500 upvotes.
Your next target is to reach 2750 upvotes.

You can view your badges on your board and compare yourself to others in the Ranking
If you no longer want to receive notifications, reply to this comment with the word STOP

To support your work, I also upvoted your post!