Closed kolhizin closed 5 years ago
Written code and tested on top 10 lines of sample (id=6). Works good. Added regularization to search of local maxima.
Need to refine to handle cases: 1) with non-integer size-factors 2) with increase of line height 3) find fails
Fixed size-factors, but found bug with filter "offset", i.e. it is not just offset -- it should be rescaled based on position in picture (seems like)
On filtered image everything works just fine. Thus issue with "offset" being not just "offset".
Had only to correct on height of filter.
Detect height of each line and extract it from source (or resized) image.
Line length should be based on actual length (not x-projection)