The archive includes two datasets. The dataset of 20,000 synthetic images was generated for the neural-network training. Filename structure: [sequence number]-[edge class]-[line width in mpx]-[SD in mpx]-[contrast level]-[noise level]. The dataset of 200 natural images was collected to test pre-trained model. Filename structure: [line type, code]-[line width in nm]-[SD in nm]-[pixel density in mpx/mm]. Pixel density is reciprocal to the image resolution. Line type and code structure: [diw/ijp]: direct-written or inkjet-printed line, [first number]: sequence number, [a/b]: printed line or interline space, [last number]: 0 - original image, 1 - vertically mirrored and gamma-corrected image, 2 - horizontally mirrored and gamma-corrected image, 3 - 180° rotated and gamma-corrected image, 4 - solely gamma-corrected image. Gamma correction was randomly set in the range [0.5, 1.5].