CprE 575: Computational Perception
This homework must be submitted as a zip file containing all code files and images. The HTML file may need to be modified to include all code and image files.
Supporting material can be found on the class webpage. You may learn more about braille here.
All braille characters were generated using this translator.
All problems after question 1 may be solved in any language (Python, Java, C++, MATLAB, etc.) as long as you are utilizing the OpenCV library or MATLAB.
Mark all dots in the following images with a plus symbol in red using only basic morphological operations. Edit the web template to display your result images and the code that was used to generate it for this and all subsequent parts. This question must be completed in both MATLAB and OpenCV.
![]() |
![]() |
This portion should be written in MATLAB.
![]() |
![]() |
This portion should be written in OpenCV.
![]() |
![]() |
Write a program that is able to identify and mark horizontal and vertical lines between the braille letters in the input image. Your resulting image for the first input should contain 6 vertical lines and 3 horizontal lines overlayed over the input image.
| Input | Output |
![]() |
![]() |
![]() |
![]() |
Write a program that will modify the given image into two separate outputs: one output containing only the braille character at the given coordinate with everything else colored white and one containing the opposite (the braille character at the coordinate colored white). The coordinate (1, 1) represents the top left braille character.
Input Images:
![]() |
![]() |
| Coordinates | Only the Letter | Everything Except the Letter |
|
![]() |
![]() |
|
![]() |
![]() |
Find all Q braille characters (⠟) in the given images and color them green.
You may find cutouts of all braille characters in the ’braille_cutouts’ folder.
| Input | Output |
![]() |
![]() |
![]() |
![]() |
Repeat the previous problem but for Q (⠟), W (⠺), and Y (⠽). Each different letter category should be colored in a separate color.
You may find cutouts of all braille characters in the ’braille_cutouts’ folder.
| Input | Output |
![]() |
![]() |
![]() |
![]() |
In this problem you must find the characters Q (⠟), W (⠺), and Y (⠽) and replace them with their corresponding English characters. To achieve full points the original braille characters must not be visible.
You may find cutouts of all braille characters in the ’braille_cutouts’ folder.
You may find cutouts of all English characters in the ’english_cutouts’ folder.
| Input | Output |
![]() |
![]() |
![]() |
![]() |
Find all instances of the letter S (⠎) in the input images and color them green.
You may find cutouts of all braille characters in the ’braille_cutouts’ folder.
| Input | Output |
![]() |
![]() |
![]() |
![]() |
Write a program that will generate an image where all braille letters in the input are converted into English characters.
You may find cutouts of all braille characters in the ’braille_cutouts’ folder.
You may find cutouts of all English characters in the ’english_cutouts’ folder.
| Input | Output |
![]() |
![]() |
![]() |
![]() |
Write a program that will translate the given word into English text and print it to the console. You should submit a screenshot of your terminal window.
You may find cutouts of all braille characters in the ’braille_cutouts’ folder.
| Input | Output |
![]() |
![]() |
![]() |
![]() |
Write a program that will translate all of the given words into English text and print it to the console. Each word should be printed on a new line. You should submit a screenshot of your terminal window.
You may find cutouts of all braille characters in the ’braille_cutouts’ folder.
| Input | Output |
![]() |
![]() |
![]() |
![]() |
Write a program that is able to print the given braille paragraphs to the console. The program must retain all newlines and spaces that are in the input text. You should submit a screenshot of your terminal window.
You may find cutouts of all braille characters in the ’braille_cutouts’ folder.
| Input | Output |
![]() |
![]() |
![]() |
![]() |
This problem is similar to EC1, except the paragraphs now also contain numbers. Check the section Braille Numbers—Internationally Standardised on this page for information on describing numbers in braille. You should submit a screenshot of your terminal window.
You may find cutouts of all braille characters, including the ’number indicator’, in the ’braille_cutouts’ folder.
| Input | Output |
![]() |
![]() |
![]() |
![]() |
This document was last modified on 2026-02-03.