swtloc.core

Description

Functions

swt_strokes(edged_image, hstep_mat, ...)

Core Logic for Stroke Width Transform.

swt_strokes_jitted(edged_image, hstep_mat, ...)

Core Logic for Stroke Width Transform.

Classes

Fusion(letters, ...)

Class for fusing Individual Components (Letters) into Grouped Components Words, comparing aspects like : - Proximity of letters to each other - Relative minimum bounding box rotation angle from each other - Deviation in color between from one component to the other - Ratio of stroke widths from one to the other - Ratio of minimum bounding box height of one to the other

ProxyLetter(label, sw_median, color_median, ...)

A proxy class for the Letters object, housing only those properties which would be required by the Fusion Class.