I have the following needs. There are several forms, i.e. Spaces - for example, those used in surveys. Those that are not filled with information, I will now call up image templates. Besides image templates, I also have many images, which are essentially image templates filled with information. For example, there is a survey, and there are two spaces to fill in - these are image templates. Many people have filled in the blanks with their personal information, and these are images.
Image templates are scanned in perfect shape. But many scanned images are tilted or misaligned or possibly scaled. Therefore, I have the following requirement - each image must be recognized to which image template it belongs to. After its recognition, it should be correctly skewed, aligned and scaled to the image template.
I know this is a difficult task and therefore I need a library, preferably C# . I found AForge , but so far I have only seen a suitable method for skewing. Essentially, I need a library that accepts an image template and image as input, and sets a flag if the image does not match the image template. But if it matches, it should return the appropriate angle, alignment and scaling.
If you have ideas or use such a library, I will be very grateful.
Wish you all the best,
Peter
source share