Development of algorithms for recognizing handwritten characters based on the analytical properties of the image