Wizzup?
2009-11-03 11:14:20
This is currently a problem in the Mufasa OCR. Identifying is fine.
There are currently two methods, and both are far from perfect:
My quick method could use some extra tweaking, but I don't believe it will be the best solution in the end… We need a more specific algorithm.
This algorithm could be relatively slow; as long as it very accurate.
We could collect a lot of colour data. HSL/RGB/Lab and other. If we can filter out the uptext with pure tolerance, that would be a huge advantage.
However, I don't think that alone won't work. So we will have to check each pixels. Add several checks. (Is it an edge pixel, if so, is there a shadow pixel? If not, is it even part of a character?)
Perhaps a floodfill of some sort, with tolerance comparisons, and some other extra checks.
Perhaps it is time we define these checks. (Or come up with another algo)
~Wizz
There are currently two methods, and both are far from perfect:
- Blob search by BenLand100. Slow(relatively, it is still faster than SCAR), and not very accurate. (It may be better with tweaking?)
- I made a quick filtering method, using posterizing, and contrast. It should get an extra (Floodfill) filter procedure, to filter noise. It's pretty fast (3x faster than SCAR), and quite accurate; but it fails in situations where the uptext colors are very much alike to the background colours.
My quick method could use some extra tweaking, but I don't believe it will be the best solution in the end… We need a more specific algorithm.
This algorithm could be relatively slow; as long as it very accurate.
We could collect a lot of colour data. HSL/RGB/Lab and other. If we can filter out the uptext with pure tolerance, that would be a huge advantage.
However, I don't think that alone won't work. So we will have to check each pixels. Add several checks. (Is it an edge pixel, if so, is there a shadow pixel? If not, is it even part of a character?)
Perhaps a floodfill of some sort, with tolerance comparisons, and some other extra checks.
Perhaps it is time we define these checks. (Or come up with another algo)
~Wizz