The different ciphers need to have separate image preprocessing settings as some of the settings could remove essential information. Need to figure out what the optimal settings are and save these to the cipher's information file. See below for a bad image preprocessing for the Braille alphabet:
Original

Step 1. Grayscaling

Step 2. Noise removal (median blur)

Step 3. Thresholding

Step 4. Auto crop
Step 4.1. Thresholding with binary invert

Step 4.2. Dilation

Step 4.3. Find contours

Step 4.4. Chose contour

Step 4.5. Crop image

In the case of Braille this should ideally stop at grayscaling.
The different ciphers need to have separate image preprocessing settings as some of the settings could remove essential information. Need to figure out what the optimal settings are and save these to the cipher's information file. See below for a bad image preprocessing for the Braille alphabet:
Original
Step 1. Grayscaling
Step 2. Noise removal (median blur)
Step 3. Thresholding
Step 4. Auto crop
Step 4.1. Thresholding with binary invert
Step 4.2. Dilation
Step 4.3. Find contours
Step 4.4. Chose contour
Step 4.5. Crop image
In the case of Braille this should ideally stop at grayscaling.