'Extract metadata info and Validate digital signature from PDF file using Python

Im trying to validate a PDF which is digitaly signed, and to extract the signers name. Is there any library for doing this job in python? So far I've just come across Itext but it is for Java. This is not a Computer Vision Problem as some of you are Sugesting, basically I want to replicate what Adobe Acrobat does to PDF, that it extracts certain information from the certificate. enter image description here

enter image description here



Solution 1:[1]

“signature presence detection”, which is do-able and can even be done using Custom Vision service. You can take that even further where certain forms have the expected printed name next to the signature. If the problem can be framed as a “detection” problem, this is more do-able currently. I have implemented this at a couple partners using simple techniques (bounding boxes of forms, Custom Vision NNs).

For a multiple reasons this is hard to do...As humans having multiple (versions) of their signatures etc. You can make a work-able demo, but from my experience it’s not going to be want to that really wants.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Ram-msft