How to push points to array
Hello ! I want to make Braille's translator. Letter in Braille is in an array[2][3]. For example:
I want to find points where dots are which make a letter and then push it to two dimensional array to compare it with arrays which contain schema of letters in the same way and save found letter to file.
I have a problem because I don't know how to push found dots to array in proper way. Is there any solution or function to make this ?
I write in C++.
Following your example image, just make a 3x2 Mat of type 8UC1, initialize it to 255 (white), and set to 0 (black) the coordinates <row, col=""> that correspond to a dot
I don't exactly know if you understand my intentions. I want to read Braille image and then detect where dots and push to array to compare it. Actually, Im new in OpenCV and maybe I don't understand properly your comment.
I have a problem because I don't know how to push found dots to array in proper way - I did understand you, but you said you had problems in pushing to array already found results. If you don't even know how to find/identify the dots, well that's a totally different issue.
Yes, my bad, but thank you for responding me. I think that your idea for pushing dots coordinates to array is also the hint how to find them.