Closed Thalisson closed 5 years ago
This one will be difficult since it's using both upper and lower case characters. The letters appear to roughly be in the same location in each image, so maybe you could use the fixed_blob_locations
setting like in this example.
OK thank you for answering. I'm going to run some tests. What I got closer was the example cryptographp
Could you help me out with some tips on how to use the deep fixed_blob_locations
?
Here's a working example: https://github.com/skotz/cbl-js/blob/master/examples/paulebe/index.html
Basically you're specifying a list of rectangles in the image for each character. This only works when the characters are generally in the same place on each image, which for your images might just work. I'd give it a shot and see if it helps.
To get the locations, use an image editor and find the top left and lower right pixels around a character.
In this example the upper left is (11, 8) and the lower right is (36, 33), so your first character would be something like this:
fixed_blob_locations: [
{ x1: 11, y1: 8, x2: 36, y2: 33 },
/* another one for each character location */
],
You'll probably have to play around with the locations so it works for every image.
Great, thanks for your help. I understood how this works. I will play a bit and give a certain classification to the code and the result.
Thank you very much
I tried many method it didn't work, can u help me for this? Many thanks!