Document Classification Showcase Demo Code Sample
Classify documents with custom-trained AI. This feature uses a specialized AI model to analyze documents and return a JSON output that identifies the document type. It supports multipage documents and is trained on 19 categories, primarily in English:
"advertisement"
"budget"
"email"
"file_folder"
"form"
"handwritten"
"id"
"invoice"
"letter"
"memo"
"news_article"
"passport"
"presentation"
"questionnaire"
"receipt"
"resume"
"scientific_publication"
"scientific_report"
"specification"
This demo allows you to:
Upload your own PDF file
Perform classification of the document
Produce a JSON report
Implementation steps To add Document Classification capability in WebViewer:
Step 1: Choose your preferred web stack. Step 2: Add the ES6 JavaScript sample code provided in this guide.
Once you generate your license key, it will automatically be included in your sample code below.