Text this: Two-step skeletization of binary images based on the Zhang-Suen model and the producing mask