Document Intelligence marriage certificate model

This content applies to: checkmark v4.0 (GA)

The Document Intelligence Marriage Certificate model uses powerful Optical Character Recognition (OCR) capabilities to analyze and extract key fields from Marriage Certificates. Marriage certificates can be of various formats and quality including phone-captured images, scanned documents, and digital PDFs. The API analyzes document text; extracts key information such as Spouse names, Issue date, and marriage place; and returns a structured JSON data representation. The model currently supports English-language document formats.

Automated marriage certificate processing

Automated marriage certificate processing is the process of extracting key fields from Marriage certificates. Historically, the marriage certificate analysis process is achieved manually and, hence, very time consuming. Accurate extraction of key data from marriage certificates is typically the first and one of the most critical steps in the marriage certificate automation process.

Development options

Document Intelligence v4.0: 2024-11-30 (GA) supports the following tools, applications, and libraries:

Feature Resources Model ID
prebuilt-marriageCertificate.us Document Intelligence Studio
REST API
C# SDK
Python SDK
Java SDK
JavaScript SDK
prebuilt-marriageCertificate.us

Input requirements

The following file formats are supported.

Model PDF Image:
JPEG/JPG, PNG, BMP, TIFF, HEIF
Office:
Word (DOCX), Excel (XLSX), PowerPoint (PPTX), HTML
Read
Layout
General document
Prebuilt
Custom extraction
Custom classification
  • Photos and scans: For best results, provide one clear photo or high-quality scan per document.
  • PDFs and TIFFs: For PDFs and TIFFs, up to 2,000 pages can be processed. (With a free-tier subscription, only the first two pages are processed.)
  • File size: The file size for analyzing documents is 500 MB for the paid (S0) tier and 4 MB for the free (F0) tier.
  • Image dimensions: The dimensions must be between 50 pixels x 50 pixels and 10,000 pixels x 10,000 pixels.
  • Password locks: If your PDFs are password-locked, you must remove the lock before submission.
  • Text height: The minimum height of the text to be extracted is 12 pixels for a 1024 x 768-pixel image. This dimension corresponds to about 8-point text at 150 dots per inch.
  • Custom model training: The maximum number of pages for training data is 500 for the custom template model and 50,000 for the custom neural model.
  • Custom extraction model training: The total size of training data is 50 MB for template model and 1 GB for the neural model.
  • Custom classification model training: The total size of training data is 1 GB with a maximum of 10,000 pages. For 2024-11-30 (GA), the total size of training data is 2 GB with a maximum of 10,000 pages.
  • Office file types (DOCX, XLSX, PPTX): The maximum string length limit is 8 million characters.

Try marriage certificate document data extraction

To see how data extraction works for the marriage certificate card service, you need the following resources:

Screenshot of keys and endpoint location in the Azure portal.

Document Intelligence Studio

  1. On the Document Intelligence Studio home page, select Marriage Certificate.

  2. You can analyze the sample Marriage certificates or upload your own files.

  3. Select the Run analysis button and, if necessary, configure the Analyze options:

    Screenshot of Run analysis and Analyze options buttons in the Document Intelligence Studio.

Supported languages and locales

For a complete list of supported languages, see our prebuilt model language support page.

Field extraction

  • For supported document extraction fields, see the marriage certificate model schema page in our GitHub sample repository.

  • The marriage certificate key-value pairs and line items extracted are in the documentResults section of the JSON output.

Next steps