Inspiration
Braille books are pages are hard to make- they require expensive machines or stamping equipment, and it is hard to get precise results. Normal fonts don't work, as braille has special rules.
What it does
The program provides a way of converting text into a printable image with translated braille markings. The size, spacing, color, margin, and page size can be customized in the config. Simply translate the text, print it, and create indentations using a pen/blunt point where the dots are. You will then have a paper with readable braille.
How I built it
The program uses Pillow (Python image library) to create the images. The translation is done by a dictionary in Dictionary that has 6-digit binary codes to represent the 6 dots of a braille character. The program has 2 classes, a Paper class and a Character class. The Character class is used to create a character set, which the Paper class uses to display Braille.
Challenges I ran into
A large challenge was incorporating the rules of braille. Another challenge was creating multiple files for long text.
What's next for Braille Project
The program doesn't translate beyond the letter. It doesn't use any abbreviations that braille has, nor slang/common phrases. The next step would be to add those as well as make the interface nicer.
Limitations
The program is unusable by a person who is blind. However, it can be used by someone to create text for someone who is blind.
Built With
- pillow
- python
Log in or sign up for Devpost to join the conversation.