Skip to content

JavaryGames/digit_recognition

Repository files navigation

Digit Recognition module for Godot 3.x

Usage:

DigitRecognition.recognize(image.get_data())

Where image is of type Image with a monochromatic format. The input to recognize is essentially an array of pixels from a 28x28 image, where each pixel is a byte (0-255 range).

This uses the Kann library to drive the neural network for the digit recognition. The MNIST database was used for training data.

Check the MLP example at Kann repository to see how to train the network. The generated file should be put in this module as data/mnist_mlp.knw.

Compiling

As usual with Godot modules: put the contents of this repo in the module/digit_recognition folder of the Godot source, then build Godot as usual.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •