ReadDisplay package

Submodules

ReadDisplay.ReadImage module

This module is responsible for reading numbers off an image.

class ReadDisplay.ReadImage.ReadImage

Bases: object

This class opens an image, converts it to a string and prints it.

static readimage(image)

This function reads a number off of an image.

The image is converted from numpyarray to image, and then from image to string. The image_to_string() function is adjusted slightly for one digit numbers.

Parameters:image – Input image from which the number will be read.
Returns:A string containing the number that is read off of the image.

Module contents