RecognizeImage(imagePath) results in “Failed to find matching between the template and the image!” errors when the source file is a JPG from an iPhone. However, if I open the file in MS Paint (without editing) and Save As PNG, then I don’t get the error.
As a workaround, I’ve tried converting JPGs in code using bitmap.Save(path, ImageFormat.Png) but the problem remains.
The failure rate Aspose OMR from pictures taken with an iPhone 12 Pro Max even with good lighting and positioned carefully is very high and I’m wondering if there’s steps I can take to mitigate this problem and would like clarification on why Save As PNG seems to have a lower failure rate. Obviously I cannot ask our users to edit their photos in MS Paint before uploading to process their OMR, so I’m looking for assistance on how we can successfully use your product. Any guidance would be appreciated.
Attached are the OMR and PDF files generated by the template.
Template999.zip (818.5 KB)