I have a set of medical forms that may or may not contain a 2d datamatrix into a corner of the page. I need to detect if the 2d datamatrix is present or not. For now, it's not necessary to read the content of the barcode. I've been looking for different libraries but I can't find one with OCR or something that may detect the presence of the 2d datamatrix. I need to do this with Python.
Attached is a medical form example where a 2d datamatrix is located at the right bottom of the page. In this case, the algorithm should say "True" as the datamatrix exists in the page.
PS: I've tested AWS Textract and is not detecting the datamatrix.





