Skip to main content

Hi,

I have a requirement in which I have to verify if the signature exists or not in a PDF document. It can be a digitally signed or in text format. Please refer below sample signature for reference.

 

Hi ​@Sakshi ,

 

You can use Python or JS in order to check the signature availability, which is usually embedded as cryptographic metadata in the PDF. If you are planning to use Python, this can be verified using libraries like PyPDF2 or pypdf for parsing and checking signature fields.

 

However, for text-based extraction, you can still use the PDF package to extract text content. Search the extracted text for keywords or patterns typical of a signature (e.g., "Signed by", "Signature:", or specific signer names). Use string matching or regular expressions to confirm the presence.

 

 


@Padmakumar ​@Sakshi Document Automation will do this. With AI vision support, we can check for the existence of a signature. 


@Padmakumar ​@Sakshi Document Automation will do this. With AI vision support, we can check for the existence of a signature. 

 

My bad. DA + Gen AI does offer this.

 

@Sakshi  Below is the reference for the same.

Vision-powered generative AI data extraction

 


Hi,

I have a requirement in which I have to verify if the signature exists or not in a PDF document. It can be a digitally signed or in text format. Please refer below sample signature for reference.

 

1.If PDF is digitally signed then PDFs contain embedded certificate metadata. You can detect this using:

  • Check for keys like:
  • 1.pdfAuthor
  • 2.pdfSubject
  • 3.pdfTitle
  • Or any custom metadata indicating a signature

2.Convert PDF to Image + OCR

  • Use PDF to Image conversion

  • Apply IQ Bot or Document Automation to extract visible signature stamps or certificate blocks

3.For Text-Based or Handwritten Signatures

4.If the signature is typed (e.g., "Signed by someone") or scanned:

  • Extract Text from PDF

  • Use PDF Package > Extract Text

  • Search for keywords like "Signed By", "Signature", or specific names

  • Use Regex or Contains Logic

  • After extracting text, use String: Contains or Regex to verify presence of signature phrases

  • OCR for Scanned Signatures

  • If the signature is an image (e.g., handwritten), convert the PDF to image and apply OCR via IQ Bot or third-party tools