(11-03-2023, 03:22 PM)farmerjohn wrote: You are not allowed to view links. Register or Login to view.You may have perfect match in the center and complete disaster near edges (see for example right side of 104v)
I immediately had to try this page, of course.
Without making any changes to my tool, it failed from the start, because the very first guess for the first word on the page was not fully inside the search window. The tool keeps track of the offset, once it has found alignment, but it never got there. The quick fix is obvious: increasing the search window. This slowed things down a bit further, but at least I could observe that, indeed, it was not working very well near the right margin.
Only in one case did it miss the word completely, and in numerous cases the box was far too small.
I have some tunings of the tool in mind, to make it keep track in a more intelligent way.
The wrong box sizes will not be easy to fix, but I want to find at least part of the word inside the box, fully automatically.
(11-03-2023, 03:22 PM)farmerjohn wrote: You are not allowed to view links. Register or Login to view.Next are colors. Newer scans may be darker/lighter, so there can be perfect match in sense of coordinates, but no exact match when comparing pixel to pixel.This is effectively solved by comparing lightness values and computing the correlation coefficient. This is relatively insensitive to such colour effects.

