Presentation is loading. Please wait.

Presentation is loading. Please wait.

Text Reader And Typer Project By: Brandon Smith. What it does ● First, a picture containing text is used as an input. ● The program scans it for distinct.

Similar presentations


Presentation on theme: "Text Reader And Typer Project By: Brandon Smith. What it does ● First, a picture containing text is used as an input. ● The program scans it for distinct."— Presentation transcript:

1 Text Reader And Typer Project By: Brandon Smith

2 What it does ● First, a picture containing text is used as an input. ● The program scans it for distinct characters. ● The user can create a word/sentence/etc. using the characters found in the input image by typing a code for a given character. ● When user is finished, the characters selected are written to a new image that is an output.

3 Example ● Example of what it would look like to type some letters. Top is input, bottom is output.

4 How to Use ● 1. The BF533 needs to be connected normally to the computer. ● 2. After program compiling, the file “imgInput” must have a 1000x24 image file loaded that contains distinct characters. Conveniently, some images bmp files that will work are already located in the same directory as this text file, though other files will work. To use a custom font, make a 1000x24 file in MSPaint, and save as a 256 color image. ● 3. After running the program, wait for a light sequence to appear on the board. This will be delayed for a second as the image is analyzed. Also, in the project console, you’ll see the text “** characters were read successfully” which says how many characters were found and recognized. For the default fonts, this should be 63. ● 4. Push a button to confirm that you are ready to begin. Now, the right three lights will flash. At this time, you can push the PF8, PF9, and PF10 can be used to trigger different options, which are shown by the left lights. PF8 toggles whether spaces will be entered between letters automatically, which is on by default, but push PF8 to toggle is using a cursive font, like FontScript. Push PF9 to reverse the colors in the end, by default, text will be black and the background white, but can be toggled for a black background and white text. PF10 will trigger whether the input “443” will add a space, or the 63rd character in the input, which is off by default. Push the fourth button PF11 to finish setting these three options. ● 5. Now, you input the text. Each of the 64 characters is represented by pushing 3 of the four buttons. By default, pushing the first button 3 times, or “111”, types an “a” in the normal fonts, or whichever character is first if it’s not “a”. Similarly, “112” types a “b”, and so on. “444”, pushing the last button 3 times, ends this mode, while “443” types a space if that is on. While doing this, the last two lights are used to show when you have pushed one button, or two buttons, while if you have not started or just finished a 3-button sequence, no lights are on, which is done to help keep place when pushing the buttons. ● 6. Wait a moment, until the program generates the text image. It is finished when the light sequence restarts, but faster, and the project console says “The image file is ready to view! Just open imgOutput!” ● 7. Halt the program, it is finished, but don’t reset the data. ● 8. Use image viewer to open “imgOutput”. The finished text image is then shown.


Download ppt "Text Reader And Typer Project By: Brandon Smith. What it does ● First, a picture containing text is used as an input. ● The program scans it for distinct."

Similar presentations


Ads by Google