Scan to Word
About this tool
How to use it
- Choose this tool.
- Add your scanned pages in order, or one scanned PDF.
- Choose the document type to make, such as Word, and the language of the text.
- Press Generate.
- Download the document and check the text.
What you get back
Try Scan to Word in the Studio
Use it from your code
cURL
curl -X POST "https://app.h2i.davixlabs.io/v1/documents/from-scan" \
-H "X-Api-Key: $DAVIX_H2I_API_KEY" \
-F 'files=@document.pdf' \
-F 'to=docx' \
-F 'languages=eng+deu' \
-F 'font=serif'Node.js
const { DavixH2I } = require('@davixlabs/h2i-sdk');
const h2i = new DavixH2I({ apiKey: process.env.DAVIX_H2I_API_KEY, baseUrl: process.env.DAVIX_H2I_URL });
const result = await h2i.documents.fromScan({
"files": 'document.pdf',
"to": "docx",
"languages": "eng+deu",
"font": "serif"
});
console.log(result.data, result.requestId);PHP
<?php
require 'vendor/autoload.php';
$h2i = new \Davix\H2I\Client(['apiKey' => getenv('DAVIX_H2I_API_KEY'), 'baseUrl' => getenv('DAVIX_H2I_URL')]);
$result = $h2i->documents()->fromScan([
'files' => 'document.pdf',
'to' => 'docx',
'languages' => 'eng+deu',
'font' => 'serif',
]);
echo $result->requestId;