Detecting handwritten digits on a WebCam using TensorFlow and OpenCV

preview_player
Показать описание
Detecting handwritten digits using mnist and TensorFlow is the "hello world" of Machine Learning. We can make it more interesting by reading handwritten digits on a paper from a webcam. Here's some simple code that used OpenCV and TensorFlow to do just that.

Рекомендации по теме
Комментарии
Автор

hi may i know why will need to create another three python files such as Digit recognizer DL LR and NN for this?

kaiying
Автор

Can I use a custom dataset, for example a deck of cards that the program will recognize the digits on?

sysadmin
Автор

I use OpenCV 4.2.0 and TensorFlow 1.5.0 what I should modify in code in order to be execute correctly?

nadanada-pkbk
Автор

I guess your model has attribute (786, ) which is a 1D matrix and image from cam is (28, 28, 1) which is a 3D matrix.
ValueError: Input 0 of layer sequential is incompatible with the layer: expected axis -1 of input shape to have value 784 but received input with shape [None, 28, 28]

md.khaledhasan
Автор

So basically if we copy this code and paste it on tensor flow or open cv. We'll get desired output right?

hameedjasim
Автор

The code isn't working for some reason...displays only the number 6 for any number

krishnavamsiyerrapatruni
Автор

So where is the code, this what we see when we click on the link above { THIS IS NOT THE WEB PAGE YOU ARE LOOKING FOR }

oureibrahimat