Explore IRIS layout detection, OCR models, and document assembly for custom parsing pipelines.
IRIS is Scale’s OCR capability that transforms document images and PDFs into structured text. It provides a comprehensive “layout-then-OCR” pipeline that combines layout detection, specialized OCR models, and intelligent assembly to extract meaningful information from complex documents.
When to Use IRIS?
IRIS is designed for teams that need:
Custom OCR pipeline control: Fine-tune layout detection, OCR models, and assembly for specialized document types
Maximum accuracy optimization: Experiment with the OCR models available through SGP to find the best fit for your specific documents
Minimum latency requirements: Optimize processing speed for your specific use case through custom configuration
Specialized model development: Use OCR models you deploy in SGP for unique document challenges
Multi-language experimentation: Evaluate available OCR models on the languages in your documents
For Standard Production Use
Deprecation notice: Reducto is being deprecated. Use Iris for new projects.
Existing projects that need stable batch document processing without custom requirements can stay on Reducto within Dex until it is retired:
Production stability with proven reliability
Good for batch processing with somewhat high but acceptable latency
Auto-scaling with your workload
Lower operational complexity
Before production use, validate parsing accuracy on representative documents from your workload.See the When to choose Iris? guide for a detailed comparison.
IRIS Capabilities
IRIS provides advanced capabilities for teams with specialized OCR needs:
Layout-Aware Processing: Automatically detects and classifies different regions (text, tables, images, etc.) before applying specialized OCR
SGP-hosted OCR models: Choose the SGP models that read text regions (text_ocr) and tables (table_ocr), named as vendor/name (default openai/gpt-5.4)
Table-Specific Processing: Apply specialized OCR models optimized for tabular data extraction
Extensible Architecture: Add custom OCR models by deploying them in SGP; layout detection uses one of the built-in models
Multi-Language Evaluation: Test deployed models on your required languages and document types
Complete Pipeline Control: Configure layout detection and content extraction through IrisParseEngineOptions
How IRIS Works
The default Iris mode follows the three stages below. Two alternatives change this pipeline:
native_text_mode=True uses the embedded text layer of native PDFs after layout detection and calls no OCR models. Regions without embedded text, including scanned pages, produce blank content.
e2e_ocr sends a full page to one end-to-end model, bypassing separate layout detection. Set its required e2e_response_parser; do not also set layout, text_ocr, or table_ocr.
Native-text and end-to-end OCR modes are mutually exclusive.
1. Layout Detection
Detects and classifies regions in document images with bounding boxes and content types:
Text regions for paragraphs and body content
Table regions for structured tabular data
Image regions for figures and diagrams
Other content types as needed
Supported layout detection models:
rt_detr_bce: RT-DETR model (best performance)
pp_doclayout_v3: PP-DocLayoutV3 model
whole_page: No detection; each page is one region
2. OCR Processing
Applies specialized OCR models to each detected region based on content type:
Text OCR: Optimized for continuous text (paragraphs, headings, etc.)
Table OCR: Specialized models for accurate table extraction
Image Handling: Describes image regions with image_description_model, embeds them as base64, or skips them, depending on img_method
Text and table regions go to the SGP models you name in text_ocr and table_ocr, written as vendor/name (for example openai/gpt-5.4, the default). Any vision model available through SGP can be used, including models you deploy in SGP. Use e2e_ocr instead for full-page OCR. A task-conditioned model configuration can supply model-specific prompts and output formats. See Getting Started with IRIS for a parsing walkthrough.
3. Assembly
Combines extracted content into a Dex parse result: a list of chunks, each with its text and the blocks (regions) it came from, including each block’s type, bounding box, page number, and confidence.
Core Features
Modular Architecture
The layout detector and the OCR models are configured independently. Add custom OCR models by deploying them in SGP.
Inspection and Debugging
Each parse result keeps the layout and OCR output for every region, so you can inspect the processing:
Layout detection bounding boxes and classifications (block.bbox, block.type)
Individual OCR outputs per region (block.content, plus block.error when a region could not be read)
Final assembled output (chunk.content)
Configuration Management
Set options on IrisParseEngineOptions in each parse request:
Language support comes from the OCR models you configure, and the models available depend on your deployment. Confirm that a model suited to each required language is available, then evaluate accuracy on representative text, tables, and scanned pages.
Key Advantages
Extensibility
Use gateway model paths and configurable prompts to adapt OCR to your document types. Custom models must be deployed in SGP before IRIS can use them.
Transparency
Inspect every pipeline stage to understand model behavior, debug issues, and optimize results for your specific documents.
Flexibility
Mix and match components—use different OCR models for text vs. tables, choose layout detectors based on document type, and customize assembly output.
API Integration
The default model_gateway="sgp" (SDK 0.8.2 and later) uses your SGP account and API key to access the models configured for your deployment.
Learn about IRIS’s multi-stage OCR pipeline and configuration options
Integrate IRIS into your Dex-based document processing workflows
IRIS provides the building blocks for robust document OCR while giving you complete control over the processing pipeline.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Scale","description":"Documentation for Scale's GenAI Platform (SGP): building, evaluating, tracing and deploying AI agents, plus document understanding, OCR and inference.","colors":{"primary":"#3f2e7b","light":"#ca62ff","dark":"#3f2e7b"},"logo":{"light":"https://mintcdn.com/scalegp/YkQgtlZ7_jaCP1h0/logo/light.svg?fit=max\u0026auto=format\u0026n=YkQgtlZ7_jaCP1h0\u0026q=85\u0026s=3afcca56833a7bfb1c8bf1eec6176590","dark":"https://mintcdn.com/scalegp/YkQgtlZ7_jaCP1h0/logo/dark.svg?fit=max\u0026auto=format\u0026n=YkQgtlZ7_jaCP1h0\u0026q=85\u0026s=522975ce3d7a84c5946bc7f8a6702767"},"favicon":{"light":"https://mintcdn.com/scalegp/vT4TaGb2QZ2PoL0h/favicon-light.svg?fit=max\u0026auto=format\u0026n=vT4TaGb2QZ2PoL0h\u0026q=85\u0026s=9dcad04e938e90fdf4e9ecb28e5ad9f8","dark":"https://mintcdn.com/scalegp/vT4TaGb2QZ2PoL0h/favicon-dark.svg?fit=max\u0026auto=format\u0026n=vT4TaGb2QZ2PoL0h\u0026q=85\u0026s=f516033dd3f7c77f7f362c4f12a9508c"},"background":{"decoration":"windows"},"footer":{"socials":{"x":"https://x.com/scale_ai","facebook":"https://www.facebook.com/scaleapi","linkedin":"https://www.linkedin.com/company/scaleai"}},"contextual":{"options":["copy","view","chatgpt","claude"],"display":"header"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"scalegp","hasAudioNarration":false,"actualSubdomain":"scalegp","customDomains":["docs.gp.scale.com"],"gitSource":{"type":"github","owner":"scaleapi","repo":"sgp-docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"REMOVE_BRANDING":{"status":"ENABLED"},"CONTEXTUAL_FEEDBACK":{"status":"ENABLED"},"CODE_SNIPPET_FEEDBACK":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6b0dca37e43ddb6642629e0a","clientVersion":"0.0.4377","searchFilterCounts":[{"language":"default","tag":"API Reference","count":235},{"language":"default","tag":"AgentOps API","count":141},{"language":"default","tag":"Guides","count":132},{"language":"default","tag":"Agentex API","count":60},{"language":"default","tag":"Evaluations","count":56},{"language":"default","tag":"Dex API","count":48},{"language":"default","tag":"Evaluation Datasets","count":34},{"language":"default","tag":"Models","count":32},{"language":"default","tag":"Knowledge Bases","count":31},{"language":"default","tag":"Capabilities","count":27}]},"assistantConfig":{},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[{"filePath":"styles.css","content":"@font-face{font-family:'Aeonik';src:url('https://fonts.gstatic.com/s/inter/v18/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1ZL7W0Q5nw.woff2');font-weight:normal;font-style:normal;font-display:swap}h1,h2,h3{font-family:'aeonik';letter-spacing:normal!important}"}]}
{"page":{"pagePath":"docs/capabilities/ocr/introduction-to-iris","slug":"/docs/capabilities/ocr/introduction-to-iris","pageMetadata":{"title":"Introduction to IRIS","description":"Explore IRIS layout detection, OCR models, and document assembly for custom parsing pipelines.","href":"/docs/capabilities/ocr/introduction-to-iris"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Explore IRIS layout detection, OCR models, and document assembly for custom parsing pipelines.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,hr:`hr`,li:`li`,ol:`ol`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`IRIS is Scale’s OCR capability that transforms document images and PDFs into structured text.`}),` It provides a comprehensive “layout-then-OCR” pipeline that combines `,_jsx(_components.strong,{children:`layout detection, specialized OCR models, and intelligent assembly`}),` to extract meaningful information from complex documents.`]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`when-to-use-iris`,children:`When to Use IRIS?`}),`\n`,_jsx(_components.p,{children:`IRIS is designed for teams that need:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Custom OCR pipeline control:`}),` Fine-tune layout detection, OCR models, and assembly for specialized document types`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Maximum accuracy optimization:`}),` Experiment with the OCR models available through SGP to find the best fit for your specific documents`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Minimum latency requirements:`}),` Optimize processing speed for your specific use case through custom configuration`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Specialized model development:`}),` Use OCR models you deploy in SGP for unique document challenges`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Multi-language experimentation:`}),` Evaluate available OCR models on the languages in your documents`]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`for-standard-production-use`,children:`For Standard Production Use`}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Deprecation notice:`}),` Reducto is being deprecated. Use Iris for new projects.`]})}),`\n`,_jsxs(_components.p,{children:[`Existing projects that need stable batch document processing without custom requirements can stay on `,_jsx(_components.strong,{children:`Reducto within Dex`}),` until it is retired:`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Production stability`}),` with proven reliability`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Good for batch processing`}),` with somewhat high but acceptable latency`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Auto-scaling`}),` with your workload`]}),`\n`,_jsx(_components.li,{children:_jsx(_components.strong,{children:`Lower operational complexity`})}),`\n`]}),`\n`,_jsx(_components.p,{children:`Before production use, validate parsing accuracy on representative documents from your workload.`}),`\n`,_jsxs(_components.p,{children:[`See the `,_jsx(_components.strong,{children:_jsx(_components.a,{href:`/docs/capabilities/ocr/when-to-choose-iris`,children:`When to choose Iris?`})}),` guide for a detailed comparison.`]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`iris-capabilities`,children:`IRIS Capabilities`}),`\n`,_jsx(_components.p,{children:`IRIS provides advanced capabilities for teams with specialized OCR needs:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Layout-Aware Processing:`}),` Automatically detects and classifies different regions (text, tables, images, etc.) before applying specialized OCR`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`SGP-hosted OCR models:`}),` Choose the SGP models that read text regions (`,_jsx(_components.code,{children:`text_ocr`}),`) and tables (`,_jsx(_components.code,{children:`table_ocr`}),`), named as `,_jsx(_components.code,{children:`vendor/name`}),` (default `,_jsx(_components.code,{children:`openai/gpt-5.4`}),`)`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Table-Specific Processing:`}),` Apply specialized OCR models optimized for tabular data extraction`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Extensible Architecture:`}),` Add custom OCR models by deploying them in SGP; layout detection uses one of the built-in models`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Multi-Language Evaluation:`}),` Test deployed models on your required languages and document types`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Complete Pipeline Control:`}),` Configure layout detection and content extraction through `,_jsx(_components.code,{children:`IrisParseEngineOptions`})]}),`\n`]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`how-iris-works`,children:`How IRIS Works`}),`\n`,_jsx(_components.p,{children:`The default Iris mode follows the three stages below. Two alternatives change this pipeline:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`native_text_mode=True`}),` uses the embedded text layer of native PDFs after layout detection and calls no OCR models. Regions without embedded text, including scanned pages, produce blank content.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`e2e_ocr`}),` sends a full page to one end-to-end model, bypassing separate layout detection. Set its required `,_jsx(_components.code,{children:`e2e_response_parser`}),`; do not also set `,_jsx(_components.code,{children:`layout`}),`, `,_jsx(_components.code,{children:`text_ocr`}),`, or `,_jsx(_components.code,{children:`table_ocr`}),`.`]}),`\n`]}),`\n`,_jsx(_components.p,{children:`Native-text and end-to-end OCR modes are mutually exclusive.`}),`\n`,_jsx(Heading,{level:`3`,id:`1-layout-detection`,children:`1. Layout Detection`}),`\n`,_jsx(_components.p,{children:`Detects and classifies regions in document images with bounding boxes and content types:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Text regions`}),` for paragraphs and body content`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Table regions`}),` for structured tabular data`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Image regions`}),` for figures and diagrams`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Other content types`}),` as needed`]}),`\n`]}),`\n`,_jsx(_components.p,{children:`Supported layout detection models:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`rt_detr_bce:`}),` RT-DETR model (best performance)`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`pp_doclayout_v3:`}),` PP-DocLayoutV3 model`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`whole_page:`}),` No detection; each page is one region`]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`2-ocr-processing`,children:`2. OCR Processing`}),`\n`,_jsx(_components.p,{children:`Applies specialized OCR models to each detected region based on content type:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Text OCR:`}),` Optimized for continuous text (paragraphs, headings, etc.)`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Table OCR:`}),` Specialized models for accurate table extraction`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Image Handling:`}),` Describes image regions with `,_jsx(_components.code,{children:`image_description_model`}),`, embeds them as base64, or skips them, depending on `,_jsx(_components.code,{children:`img_method`})]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`Text and table regions go to the SGP models you name in `,_jsx(_components.code,{children:`text_ocr`}),` and `,_jsx(_components.code,{children:`table_ocr`}),`, written as `,_jsx(_components.code,{children:`vendor/name`}),` (for example `,_jsx(_components.code,{children:`openai/gpt-5.4`}),`, the default). Any vision model available through SGP can be used, including models you deploy in SGP. Use `,_jsx(_components.code,{children:`e2e_ocr`}),` instead for full-page OCR. A task-conditioned model configuration can supply model-specific prompts and output formats. See `,_jsx(_components.a,{href:`/docs/capabilities/ocr/getting-started-with-iris`,children:`Getting Started with IRIS`}),` for a parsing walkthrough.`]}),`\n`,_jsx(Heading,{level:`3`,id:`3-assembly`,children:`3. Assembly`}),`\n`,_jsx(_components.p,{children:`Combines extracted content into a Dex parse result: a list of chunks, each with its text and the blocks (regions) it came from, including each block’s type, bounding box, page number, and confidence.`}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`core-features`,children:`Core Features`}),`\n`,_jsx(Heading,{level:`3`,id:`modular-architecture`,children:`Modular Architecture`}),`\n`,_jsx(_components.p,{children:`The layout detector and the OCR models are configured independently. Add custom OCR models by deploying them in SGP.`}),`\n`,_jsx(Heading,{level:`3`,id:`inspection-and-debugging`,children:`Inspection and Debugging`}),`\n`,_jsx(_components.p,{children:`Each parse result keeps the layout and OCR output for every region, so you can inspect the processing:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Layout detection bounding boxes and classifications (`,_jsx(_components.code,{children:`block.bbox`}),`, `,_jsx(_components.code,{children:`block.type`}),`)`]}),`\n`,_jsxs(_components.li,{children:[`Individual OCR outputs per region (`,_jsx(_components.code,{children:`block.content`}),`, plus `,_jsx(_components.code,{children:`block.error`}),` when a region could not be read)`]}),`\n`,_jsxs(_components.li,{children:[`Final assembled output (`,_jsx(_components.code,{children:`chunk.content`}),`)`]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`configuration-management`,children:`Configuration Management`}),`\n`,_jsxs(_components.p,{children:[`Set options on `,_jsx(_components.code,{children:`IrisParseEngineOptions`}),` in each parse request:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`5`,language:`python`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`python`,children:_jsxs(_components.code,{language:`python`,numberOfLines:`5`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`IrisParseEngineOptions(`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` layout`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"rt_detr_bce\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` text_ocr`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"openai/gpt-5.4\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` table_ocr`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"openai/gpt-5.4\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`performance-optimization`,children:`Performance Optimization`}),`\n`,_jsx(_components.p,{children:`Choose layout and OCR configurations by measuring latency and accuracy on representative documents.`}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`common-use-cases`,children:`Common Use Cases`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Document Digitization:`}),` Convert scanned documents and PDFs to searchable text`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Form Processing:`}),` Extract structured data from forms with mixed content types`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Table Extraction:`}),` Accurately capture tabular data from complex documents`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Multi-Language Documents:`}),` Evaluate and process documents in languages supported by your configured models`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Research and Analysis:`}),` Extract text and data from academic papers, reports, and technical documents`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Archive Processing:`}),` Batch process large document collections`]}),`\n`]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`getting-started`,children:`Getting Started`}),`\n`,_jsx(_components.p,{children:`IRIS is integrated with Dex for seamless document processing:`}),`\n`,_jsx(Heading,{level:`3`,id:`python-package`,children:`Python Package`}),`\n`,_jsx(_components.p,{children:`Use programmatically through the Dex SDK:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`13`,language:`python`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`python`,children:_jsxs(_components.code,{language:`python`,numberOfLines:`13`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`from`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` dex_sdk.client `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` DexClient`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`from`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` dex_core.models.parse_job `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` IrisParseEngineOptions, IrisParseJobParams`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Initialize client and project`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`dex_client `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` DexClient(`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`base_url`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"your-dex-url\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`project `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` dex_client.create_project(`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`name`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"ocr-project\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Upload and parse document`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`dex_file `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` project.upload_file(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"document.pdf\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`parse_job `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` dex_file.start_parse_job(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` IrisParseJobParams(`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`options`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`IrisParseEngineOptions())`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`result `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` parse_job.get_result()`})]}),`\n`]})})}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`language-support`,children:`Language Support`}),`\n`,_jsx(_components.p,{children:`Language support comes from the OCR models you configure, and the models available depend on your deployment. Confirm that a model suited to each required language is available, then evaluate accuracy on representative text, tables, and scanned pages.`}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`key-advantages`,children:`Key Advantages`}),`\n`,_jsx(Heading,{level:`3`,id:`extensibility`,children:`Extensibility`}),`\n`,_jsx(_components.p,{children:`Use gateway model paths and configurable prompts to adapt OCR to your document types. Custom models must be deployed in SGP before IRIS can use them.`}),`\n`,_jsx(Heading,{level:`3`,id:`transparency`,children:`Transparency`}),`\n`,_jsx(_components.p,{children:`Inspect every pipeline stage to understand model behavior, debug issues, and optimize results for your specific documents.`}),`\n`,_jsx(Heading,{level:`3`,id:`flexibility`,children:`Flexibility`}),`\n`,_jsx(_components.p,{children:`Mix and match components—use different OCR models for text vs. tables, choose layout detectors based on document type, and customize assembly output.`}),`\n`,_jsx(Heading,{level:`3`,id:`api-integration`,children:`API Integration`}),`\n`,_jsxs(_components.p,{children:[`The default `,_jsx(_components.code,{children:`model_gateway=\"sgp\"`}),` (SDK `,_jsx(_components.code,{children:`0.8.2`}),` and later) uses your SGP account and API key to access the models configured for your deployment.`]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`next-steps`,children:`Next Steps`}),`\n`,_jsx(_components.p,{children:`To start using IRIS:`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`Review the `,_jsx(_components.a,{href:`/docs/capabilities/ocr/getting-started-with-iris`,children:`Getting Started with IRIS`}),` guide for step-by-step instructions`]}),`\n`,_jsx(_components.li,{children:`Learn about IRIS’s multi-stage OCR pipeline and configuration options`}),`\n`,_jsx(_components.li,{children:`Integrate IRIS into your Dex-based document processing workflows`}),`\n`]}),`\n`,_jsx(_components.p,{children:`IRIS provides the building blocks for robust document OCR while giving you complete control over the processing pipeline.`})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Introduction to IRIS","description":"Explore IRIS layout detection, OCR models, and document assembly for custom parsing pipelines.","href":"/docs/capabilities/ocr/introduction-to-iris"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"When to Use IRIS?","slug":"when-to-use-iris","depth":2,"children":[{"title":"For Standard Production Use","slug":"for-standard-production-use","depth":3,"children":[]}]},{"title":"IRIS Capabilities","slug":"iris-capabilities","depth":2,"children":[]},{"title":"How IRIS Works","slug":"how-iris-works","depth":2,"children":[{"title":"1. Layout Detection","slug":"1-layout-detection","depth":3,"children":[]},{"title":"2. OCR Processing","slug":"2-ocr-processing","depth":3,"children":[]},{"title":"3. Assembly","slug":"3-assembly","depth":3,"children":[]}]},{"title":"Core Features","slug":"core-features","depth":2,"children":[{"title":"Modular Architecture","slug":"modular-architecture","depth":3,"children":[]},{"title":"Inspection and Debugging","slug":"inspection-and-debugging","depth":3,"children":[]},{"title":"Configuration Management","slug":"configuration-management","depth":3,"children":[]},{"title":"Performance Optimization","slug":"performance-optimization","depth":3,"children":[]}]},{"title":"Common Use Cases","slug":"common-use-cases","depth":2,"children":[]},{"title":"Getting Started","slug":"getting-started","depth":2,"children":[{"title":"Python Package","slug":"python-package","depth":3,"children":[]}]},{"title":"Language Support","slug":"language-support","depth":2,"children":[]},{"title":"Key Advantages","slug":"key-advantages","depth":2,"children":[{"title":"Extensibility","slug":"extensibility","depth":3,"children":[]},{"title":"Transparency","slug":"transparency","depth":3,"children":[]},{"title":"Flexibility","slug":"flexibility","depth":3,"children":[]},{"title":"API Integration","slug":"api-integration","depth":3,"children":[]}]},{"title":"Next Steps","slug":"next-steps","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"scalegp","siteName":"Scale","title":"Introduction to IRIS - Scale","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{"V5":{"href":"/docs/capabilities/ocr/introduction-to-iris","matchLevel":0},"V4 (legacy)":{"href":"/home","matchLevel":4}},"firstHrefInLanguage":{}},"lastModified":"2026-11-20T18:34:26.406Z","originalFileLocation":"docs/capabilities/ocr/introduction-to-iris.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Explore IRIS layout detection, OCR models, and document assembly for custom parsing pipelines.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Scale\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/scalegp/KjwNgkAP0XyDRKtA/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/scalegp/KjwNgkAP0XyDRKtA/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/scalegp/KjwNgkAP0XyDRKtA/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/scalegp/KjwNgkAP0XyDRKtA/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/scalegp/KjwNgkAP0XyDRKtA/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/scalegp/KjwNgkAP0XyDRKtA/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/scalegp/KjwNgkAP0XyDRKtA/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/scalegp/KjwNgkAP0XyDRKtA/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/scalegp/KjwNgkAP0XyDRKtA/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Introduction to IRIS - Scale\">\u003cmeta data-mint-head property=\"og:description\" content=\"Explore IRIS layout detection, OCR models, and document assembly for custom parsing pipelines.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Scale\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.gp.scale.com/docs/capabilities/ocr/introduction-to-iris\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://scalegp.mintlify.site/_mintlify/api/og/v2?division=OCR\u0026amp;title=Introduction+to+IRIS\u0026amp;description=Explore+IRIS+layout+detection%2C+OCR+models%2C+and+document+assembly+for+custom+parsing+pipelines.\u0026amp;theme=4eb366a505141b7fa10bcb74\u0026amp;signature=2dab2faa2de2452ec97c71ea8543c5c8393b4d65c4d0ea42c6cf9cba8b1ad0d2\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Introduction to IRIS - Scale\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Explore IRIS layout detection, OCR models, and document assembly for custom parsing pipelines.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://scalegp.mintlify.site/_mintlify/api/og/v2?division=OCR\u0026amp;title=Introduction+to+IRIS\u0026amp;description=Explore+IRIS+layout+detection%2C+OCR+models%2C+and+document+assembly+for+custom+parsing+pipelines.\u0026amp;theme=4eb366a505141b7fa10bcb74\u0026amp;signature=2dab2faa2de2452ec97c71ea8543c5c8393b4d65c4d0ea42c6cf9cba8b1ad0d2\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/scalegp/KjwNgkAP0XyDRKtA/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Scale\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#3f2e7b\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.gp.scale.com/docs/capabilities/ocr/introduction-to-iris\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/capabilities/ocr/introduction-to-iris.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.gp.scale.com/#organization\",\"name\":\"Scale\",\"url\":\"https://docs.gp.scale.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/scalegp/YkQgtlZ7_jaCP1h0/logo/light.svg?fit=max\u0026auto=format\u0026n=YkQgtlZ7_jaCP1h0\u0026q=85\u0026s=3afcca56833a7bfb1c8bf1eec6176590\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.gp.scale.com#website\",\"name\":\"Scale\",\"url\":\"https://docs.gp.scale.com\",\"publisher\":{\"@id\":\"https://docs.gp.scale.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.gp.scale.com/docs/capabilities/ocr/introduction-to-iris#webpage\",\"url\":\"https://docs.gp.scale.com/docs/capabilities/ocr/introduction-to-iris\",\"name\":\"Introduction to IRIS\",\"description\":\"Explore IRIS layout detection, OCR models, and document assembly for custom parsing pipelines.\",\"dateModified\":\"2026-11-20T18:34:26.406Z\",\"isPartOf\":{\"@id\":\"https://docs.gp.scale.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.gp.scale.com/docs/capabilities/ocr/introduction-to-iris#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.gp.scale.com/docs/capabilities/ocr/introduction-to-iris#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Scale\",\"item\":\"https://docs.gp.scale.com\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Introduction to IRIS\",\"item\":\"https://docs.gp.scale.com/docs/capabilities/ocr/introduction-to-iris\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.gp.scale.com/docs/capabilities/ocr/introduction-to-iris#article\",\"headline\":\"Introduction to IRIS\",\"name\":\"Introduction to IRIS\",\"description\":\"Explore IRIS layout detection, OCR models, and document assembly for custom parsing pipelines.\",\"url\":\"https://docs.gp.scale.com/docs/capabilities/ocr/introduction-to-iris\",\"mainEntityOfPage\":{\"@id\":\"https://docs.gp.scale.com/docs/capabilities/ocr/introduction-to-iris#webpage\"},\"dateModified\":\"2026-11-20T18:34:26.406Z\",\"publisher\":{\"@id\":\"https://docs.gp.scale.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.gp.scale.com#website\"}}]}\u003c/script>","agentPointerHref":"/docs/capabilities/ocr/introduction-to-iris.md","siteName":"Scale","nav":{"global":null,"versions":[{"version":"V5","tabs":[{"tab":"Guides","pages":[{"title":"Guides","href":"/docs/v5/overview"}]},{"tab":"AgentOps API","pages":[{"title":"AgentOps API","href":"/reference/v5/inference/run-inference-with-free-form-payload"}]},{"tab":"AgentOps SDK","href":"https://scaleapi.github.io/sgp-sdk-docs/api/python/"},{"tab":"Agentex API","pages":[{"title":"Agentex API","href":"/reference/agentex/agents/get-agent-by-id"}]},{"tab":"Agentex SDK","href":"https://scaleapi.github.io/agentex-sdk-docs/api/python/"},{"tab":"Capabilities","groups":[{"group":"Getting Started","pages":[{"title":"SGP Capabilities Overview","href":"/docs/capabilities/overview"},{"title":"Capabilities Changelog","href":"/docs/capabilities/changelog"}]},{"group":"Document Understanding","pages":[{"title":"Introduction to Dex","href":"/docs/capabilities/document-understanding/introduction-to-dex"},{"title":"Getting Started with Dex","href":"/docs/capabilities/document-understanding/getting-started-with-dex"},{"group":"Core Functionality","pages":[{"title":"File Management","href":"/docs/capabilities/document-understanding/file-management"},{"title":"Parse","href":"/docs/capabilities/document-understanding/parse"},{"title":"Chunking","href":"/docs/capabilities/document-understanding/chunking"},{"title":"Vector Stores","href":"/docs/capabilities/document-understanding/vector-stores"},{"title":"Indexing","href":"/docs/capabilities/document-understanding/indexing"},{"title":"Extract","href":"/docs/capabilities/document-understanding/extract"},{"title":"Research","href":"/docs/capabilities/document-understanding/research"}]},{"title":"Best Practices","href":"/docs/capabilities/document-understanding/best-practices"},{"title":"API Reference","href":"/docs/capabilities/document-understanding/api-reference"},{"title":"Dex SDK API Reference","href":"/docs/capabilities/document-understanding/dex-sdk-api-reference"},{"title":"Troubleshooting Dex","description":"Resolve Dex SDK installation, configuration, parsing, and extraction issues.","href":"/docs/capabilities/document-understanding/troubleshooting"}]},{"group":"OCR","pages":[{"title":"Introduction to IRIS","href":"/docs/capabilities/ocr/introduction-to-iris"},{"title":"Getting Started with IRIS","description":"Configure IRIS OCR through the Dex SDK, parse documents, and inspect structured results.","href":"/docs/capabilities/ocr/getting-started-with-iris"},{"title":"DEX model engine choices","href":"/docs/capabilities/ocr/when-to-choose-iris"}]},{"group":"Workflows","pages":[{"title":"How to use Workflows","href":"/docs/capabilities/workflows/introduction-to-workflows"},{"title":"Guide to automating evals on Workflows","href":"/docs/capabilities/workflows/evals-in-workflows"},{"title":"Guide to document understanding in Workflows","href":"/docs/capabilities/workflows/dex-parsing-in-workflows"},{"title":"How to run Workflows using a script","href":"/docs/capabilities/workflows/run-workflows-using-a-script"}]},{"group":"Training","pages":[{"title":"Introduction to Train","href":"/docs/capabilities/training/introduction-to-train"},{"title":"Getting Started with Train","href":"/docs/capabilities/training/getting-started-with-train"},{"title":"Custom Images","href":"/docs/capabilities/training/custom-images"},{"title":"Storage Mounts","href":"/docs/capabilities/training/storage-mounts"}]},{"group":"Code Authoring","pages":[{"title":"Introduction to Code Authoring","href":"/docs/capabilities/code-authoring/introduction-to-code-authoring"}]}]},{"tab":"Dex API","pages":[{"title":"Dex API","href":"/reference/dex/projects/list-projects"}]}]},{"version":"V4 (legacy)","pages":[{"title":"V4 (legacy)","href":"/home"}]}]},"basePath":"","title":"Introduction to IRIS - Scale","deploymentId":"dpl_Ab6nteg7kvyK8iL73naC2n7fmsWK","buildId":"dpl_Ab6nteg7kvyK8iL73naC2n7fmsWK","dynamics":[],"chunks":[]}