sahamone / ocr

MIT License
0 stars 0 forks source link

letter detection & grid detection #3

Open sahamone opened 1 month ago

sahamone commented 1 month ago

-Détection de la grille

sahamone commented 1 month ago

@ArthosGamos -> grid detection @sahamone -> letter detection

sahamone commented 1 month ago

The basic functions for letter detection have been implemented, but the main function of this system is not functional at all.

We need to check that the startColomn and endColom are set to the correct value (currently this is not the case).

We also need to see how to adapt the value at which we consider that there are potentially interesting characters (calculate the minimum amount of white to have to trigger the function).

For the moment, the current state of the branch on commit a0351ba is only a working base but not at all something functional, apart from the auxiliary commands to get the color of a pixel, save the image in BMP or load the image in BMP.

sahamone commented 1 month ago

The logic of the letter detection function has been reviewed and simplified: :

For the moment, the code isn't working, as the pixel average remains at 0 for no reason.