Skip to content

TensorFlow下利用MNIST训练模型并识别自己手写的数字

Notifications You must be signed in to change notification settings

WeiSen0011/digit_recognition

 
 

Repository files navigation

digit_recognition

TensorFlow下利用MNIST训练模型并识别自己手写的数字

test2.m:利用matlab将图片转为28*28像素

test3.m:完成灰度化与二值化处理

运行完前两个文件,图片的预处理就算成功了

也可以使用opencv.py:利用opencv对图片就行预处理

图片实例:包含官方数据集和自己的手写数据集

带有(改)的py文件是加了防止过拟合处理的代码

卷积识别手写数字.py : 用来训练模型并保存

读取卷积识别手写数字.py: 读取模型并用来识别自己手写的数字

About

TensorFlow下利用MNIST训练模型并识别自己手写的数字

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 92.3%
  • MATLAB 7.7%