Biometric and document checks: face comparison, face detection, and document reading.
Vision scopes work on images rather than identifiers. You send one or more images, and Pruva returns a comparison score, detected faces, or the data read off a document.
Sending images
Image inputs are sent as base64 data URIs in the JSON body, the same way any other field is sent. Keep in mind that images make requests large; send a reasonably sized image rather than a full resolution photo.
Images are biometric data. Pruva stores any returned images to secure storage and returns them as short lived links, never as raw bytes in the stored record. Do not log full image payloads on your side either.
Face comparison
face_compare compares two faces and returns how closely they match. The common use is matching a live selfie against an ID portrait.
string
required
The first image, as a base64 data URI. Typically the live selfie.
string
required
The second image, as a base64 data URI. Typically the ID portrait.
The result carries a similarity score and whether the faces are considered a match.
Face detection
face_detect finds faces in a single image and returns each one. This scope is priced per face, since one image can contain several. See per item pricing.
The result carries the fields read from the document, which vary by document type.
For collecting selfies and documents from an end user in the browser without handling the images yourself, use the Widget instead of sending images to these scopes directly.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Pruva","colors":{"primary":"#0E1B33","light":"#5CE7C4","dark":"#0E1B33"},"logo":{"light":"https://mintcdn.com/pruva/Fx4CbPAvAjzbG-0A/images/logo-full.svg?fit=max\u0026auto=format\u0026n=Fx4CbPAvAjzbG-0A\u0026q=85\u0026s=eda396502461243bcf8833cbeaca6454","dark":"https://mintcdn.com/pruva/_JGWsaXjVVi0gqhJ/images/logo-full-media.svg?fit=max\u0026auto=format\u0026n=_JGWsaXjVVi0gqhJ\u0026q=85\u0026s=278fd2ce17b359f1657720634a61558c","href":"https://pruva.com"},"favicon":{"light":"https://mintcdn.com/pruva/SiV4CrzXFDEcTHYg/images/favicon.svg?fit=max\u0026auto=format\u0026n=SiV4CrzXFDEcTHYg\u0026q=85\u0026s=a3dc41f8d63dcbb87835473b47513251","dark":"https://mintcdn.com/pruva/SiV4CrzXFDEcTHYg/images/favicon.svg?fit=max\u0026auto=format\u0026n=SiV4CrzXFDEcTHYg\u0026q=85\u0026s=a3dc41f8d63dcbb87835473b47513251"},"appearance":{"default":"light"},"background":{"decoration":"windows"},"navbar":{"primary":{"type":"button","label":"Dashboard","href":"https://app.pruva.com"}},"footer":{"socials":{"website":"https://pruva.com"}},"fonts":{"heading":{"family":"DM Sans"},"body":{"family":"DM Sans"}},"icons":{"library":"tabler"},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"pruva","hasAudioNarration":false,"actualSubdomain":"pruva","customDomains":["docs.pruva.com"],"gitSource":{"type":"github","owner":"mintlify-community","repo":"docs-billstack-81f8a9cb","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":"","_id":"6b10fa619ffae5051c41b2f8"},"entitlements":{},"buildId":"6aea21dfb134fd962b475ef3:success","clientVersion":"0.0.4448","searchFilterCounts":[{"language":"default","tag":"Guides","count":28},{"language":"default","tag":"API Reference","count":6},{"language":"default","tag":"Endpoints","count":6},{"language":"default","tag":"Widgets \u0026 SDK","count":6},{"language":"default","tag":"Verification scopes","count":5},{"language":"default","tag":"Core concepts","count":4},{"language":"default","tag":"Get started","count":4},{"language":"default","tag":"Reference","count":2}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"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":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"auth-vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":true},"customCss":[]}
{"page":{"pagePath":"scopes/vision","slug":"/scopes/vision","pageMetadata":{"title":"Vision scopes","description":"Biometric and document checks: face comparison, face detection, and document reading.","href":"/scopes/vision"},"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: \"Biometric and document checks: face comparison, face detection, and document reading.\"\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`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,..._provideComponents(),...props.components},{CodeBlock,Heading,Note,ParamField,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Vision scopes work on images rather than identifiers. You send one or more images, and Pruva returns a comparison score, detected faces, or the data read off a document.`}),`\n`,_jsx(Heading,{level:`2`,id:`sending-images`,children:`Sending images`}),`\n`,_jsx(_components.p,{children:`Image inputs are sent as base64 data URIs in the JSON body, the same way any other field is sent. Keep in mind that images make requests large; send a reasonably sized image rather than a full resolution photo.`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`json`,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:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{ `}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:`\"image\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"data:image/jpeg;base64,/9j/4AAQSkZJRgABAQ...\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})]}),`\n`]})})}),`\n`,_jsx(Warning,{children:_jsx(_components.p,{children:`Images are biometric data. Pruva stores any returned images to secure storage and returns them as short lived links, never as raw bytes in the stored record. Do not log full image payloads on your side either.`})}),`\n`,_jsx(Heading,{level:`2`,id:`face-comparison`,children:`Face comparison`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`face_compare`}),` compares two faces and returns how closely they match. The common use is matching a live selfie against an ID portrait.`]}),`\n`,_jsx(ParamField,{body:`selfie`,type:`string`,required:true,id:`param-selfie`,children:_jsx(_components.p,{children:`The first image, as a base64 data URI. Typically the live selfie.`})}),`\n`,_jsx(ParamField,{body:`idphoto`,type:`string`,required:true,id:`param-idphoto`,children:_jsx(_components.p,{children:`The second image, as a base64 data URI. Typically the ID portrait.`})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`5`,language:`shellscript`,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:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`5`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://api.pruva.africa/v1/face_compare`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -X`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"X-Pruva-Key: pruva_live_YOUR_KEY\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type: application/json\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -d`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{ \"selfie\": \"data:image/jpeg;base64,...\", \"idphoto\": \"data:image/jpeg;base64,...\" }'`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`The result carries a similarity score and whether the faces are considered a match.`}),`\n`,_jsx(Heading,{level:`2`,id:`face-detection`,children:`Face detection`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`face_detect`}),` finds faces in a single image and returns each one. This scope is priced `,_jsx(_components.strong,{children:`per face`}),`, since one image can contain several. See `,_jsx(_components.a,{href:`/concepts/billing`,children:`per item pricing`}),`.`]}),`\n`,_jsx(ParamField,{body:`image`,type:`string`,required:true,id:`param-image`,children:_jsx(_components.p,{children:`The image to scan, as a base64 data URI.`})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`5`,language:`shellscript`,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:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`5`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://api.pruva.africa/v1/face_detect`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -X`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"X-Pruva-Key: pruva_live_YOUR_KEY\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type: application/json\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -d`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{ \"image\": \"data:image/jpeg;base64,...\" }'`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`The result lists the detected faces, each with its attributes and a cropped image link.`}),`\n`,_jsx(Heading,{level:`2`,id:`document-reader`,children:`Document reader`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`document_read`}),` reads the data off an identity document, returning the fields it can extract.`]}),`\n`,_jsx(ParamField,{body:`image`,type:`string`,required:true,id:`param-image-1`,children:_jsx(_components.p,{children:`The document image, as a base64 data URI.`})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`5`,language:`shellscript`,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:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`5`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://api.pruva.africa/v1/document_read`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -X`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"X-Pruva-Key: pruva_live_YOUR_KEY\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type: application/json\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -d`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{ \"image\": \"data:image/jpeg;base64,...\" }'`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`The result carries the fields read from the document, which vary by document type.`}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[`For collecting selfies and documents from an end user in the browser without handling the images yourself, use the `,_jsx(_components.a,{href:`/widgets/overview`,children:`Widget`}),` instead of sending images to these scopes directly.`]})})]})}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":"Vision scopes","description":"Biometric and document checks: face comparison, face detection, and document reading.","href":"/scopes/vision"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Sending images","slug":"sending-images","depth":2,"children":[]},{"title":"Face comparison","slug":"face-comparison","depth":2,"children":[]},{"title":"Face detection","slug":"face-detection","depth":2,"children":[]},{"title":"Document reader","slug":"document-reader","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"pruva","siteName":"Pruva","title":"Vision scopes - Pruva","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-08-08T16:42:30.702Z","originalFileLocation":"scopes/vision.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=\"light\"}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=\"Biometric and document checks: face comparison, face detection, and document reading.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Pruva\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/pruva/TDkzdb56Um8d-EGV/_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/pruva/TDkzdb56Um8d-EGV/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/pruva/TDkzdb56Um8d-EGV/_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/pruva/TDkzdb56Um8d-EGV/_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/pruva/TDkzdb56Um8d-EGV/_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/pruva/TDkzdb56Um8d-EGV/_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/pruva/TDkzdb56Um8d-EGV/_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/pruva/TDkzdb56Um8d-EGV/_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/pruva/TDkzdb56Um8d-EGV/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Vision scopes - Pruva\">\u003cmeta data-mint-head property=\"og:description\" content=\"Biometric and document checks: face comparison, face detection, and document reading.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Pruva\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.pruva.com/scopes/vision\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://pruva.mintlify.site/_mintlify/api/og/v2?division=Verification+scopes\u0026amp;title=Vision+scopes\u0026amp;description=Biometric+and+document+checks%3A+face+comparison%2C+face+detection%2C+and+document+reading.\u0026amp;theme=909a2b91d9f637ac7392f0b9\u0026amp;signature=d24dded298d0451928e8905e78633c93e8ad22a567f8da9ba5cbc27fe98da0ca\">\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=\"Vision scopes - Pruva\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Biometric and document checks: face comparison, face detection, and document reading.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://pruva.mintlify.site/_mintlify/api/og/v2?division=Verification+scopes\u0026amp;title=Vision+scopes\u0026amp;description=Biometric+and+document+checks%3A+face+comparison%2C+face+detection%2C+and+document+reading.\u0026amp;theme=909a2b91d9f637ac7392f0b9\u0026amp;signature=d24dded298d0451928e8905e78633c93e8ad22a567f8da9ba5cbc27fe98da0ca\">\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/pruva/TDkzdb56Um8d-EGV/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Pruva\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0E1B33\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.pruva.com/scopes/vision\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/scopes/vision.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.pruva.com/#organization\",\"name\":\"Pruva\",\"url\":\"https://docs.pruva.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/pruva/Fx4CbPAvAjzbG-0A/images/logo-full.svg?fit=max\u0026auto=format\u0026n=Fx4CbPAvAjzbG-0A\u0026q=85\u0026s=eda396502461243bcf8833cbeaca6454\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.pruva.com#website\",\"name\":\"Pruva\",\"url\":\"https://docs.pruva.com\",\"publisher\":{\"@id\":\"https://docs.pruva.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.pruva.com/scopes/vision#webpage\",\"url\":\"https://docs.pruva.com/scopes/vision\",\"name\":\"Vision scopes\",\"description\":\"Biometric and document checks: face comparison, face detection, and document reading.\",\"dateModified\":\"2026-08-08T16:42:30.702Z\",\"isPartOf\":{\"@id\":\"https://docs.pruva.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.pruva.com/scopes/vision#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.pruva.com/scopes/vision#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Verification scopes\",\"item\":\"https://docs.pruva.com/scopes/overview\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Vision scopes\",\"item\":\"https://docs.pruva.com/scopes/vision\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.pruva.com/scopes/vision#article\",\"headline\":\"Vision scopes\",\"name\":\"Vision scopes\",\"description\":\"Biometric and document checks: face comparison, face detection, and document reading.\",\"url\":\"https://docs.pruva.com/scopes/vision\",\"mainEntityOfPage\":{\"@id\":\"https://docs.pruva.com/scopes/vision#webpage\"},\"dateModified\":\"2026-08-08T16:42:30.702Z\",\"publisher\":{\"@id\":\"https://docs.pruva.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.pruva.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Pruva\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Pruva\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/scopes/vision.md","siteName":"Pruva","nav":{"global":null,"tabs":[{"tab":"Guides","pages":[{"group":"Get started","pages":[{"title":"introduction","href":"/get-started/introduction"},{"title":"Quickstart","href":"/get-started/quickstart"},{"title":"Authentication","href":"/get-started/authentication"},{"title":"Environments","href":"/get-started/environments"}]},{"group":"Core concepts","pages":[{"title":"How a verification works","href":"/concepts/how-verification-works"},{"title":"Scopes and activation","href":"/concepts/scopes-and-activation"},{"title":"Wallet and billing","href":"/concepts/billing"},{"title":"References and retrieval","href":"/concepts/references"}]},{"group":"Verification scopes","pages":[{"title":"Overview","href":"/scopes/overview"},{"title":"KYC scopes","href":"/scopes/kyc"},{"title":"KYB scopes","description":"Business verification: company search, tax ID, and TIN.","href":"/scopes/kyb"},{"title":"Vision scopes","href":"/scopes/vision"},{"title":"AML scopes","description":"Anti money laundering screening: adverse media, PEPs, and sanctions.","href":"/scopes/aml"}]},{"group":"Widgets \u0026 SDK","pages":[{"title":"Overview","href":"/widgets/overview"},{"title":"Embedding the widget","href":"/widgets/embedding"},{"title":"Widget types","href":"/widgets/types"},{"title":"Customization","href":"/widgets/customization"},{"title":"React Native SDK","href":"/widgets/react-native"},{"title":"Webhooks","href":"/widgets/webhooks"}]},{"group":"Guides","pages":[{"title":"Verifying a webhook signature","href":"/guides/verifying-signatures"},{"title":"Handling failed checks","href":"/guides/handling-failures"},{"title":"Going live checklist","href":"/guides/going-live"}]},{"group":"Reference","pages":[{"title":"Rate limits","href":"/reference/rate-limits"},{"title":"Status and support","href":"/reference/status"},{"title":"Changelog","href":"/reference/changelog"}]},{"title":"Changelog","href":"/reference/changelog"}]},{"tab":"API Reference","pages":[{"title":"API Reference","href":"/api-reference/overview"}]}]},"basePath":"","title":"Vision scopes - Pruva","deploymentId":"dpl_XLevHnGPjzxq9mbREha5Faad63Sp","buildId":"dpl_XLevHnGPjzxq9mbREha5Faad63Sp","dynamics":[],"chunks":[]}