mirror of
https://github.com/Stirling-Tools/Stirling-PDF.git
synced 2024-11-14 03:20:14 +01:00
43 lines
996 B
JSON
43 lines
996 B
JSON
|
{
|
||
|
"name": "OCR images",
|
||
|
"pipeline": [
|
||
|
{
|
||
|
"operation": "/api/v1/convert/img/pdf",
|
||
|
"parameters": {
|
||
|
"fitOption": "fillPage",
|
||
|
"colorType": "color",
|
||
|
"autoRotate": true,
|
||
|
"fileInput": "automated"
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"operation": "/api/v1/general/merge-pdfs",
|
||
|
"parameters": {
|
||
|
"sortType": "orderProvided",
|
||
|
"fileInput": "automated"
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"operation": "/api/v1/misc/ocr-pdf",
|
||
|
"parameters": {
|
||
|
"languages": [
|
||
|
"eng"
|
||
|
],
|
||
|
"sidecar": false,
|
||
|
"deskew": false,
|
||
|
"clean": false,
|
||
|
"cleanFinal": false,
|
||
|
"ocrType": "skip-text",
|
||
|
"ocrRenderType": "hocr",
|
||
|
"removeImagesAfter": false,
|
||
|
"fileInput": "automated"
|
||
|
}
|
||
|
}
|
||
|
],
|
||
|
"_examples": {
|
||
|
"outputDir": "{outputFolder}/{folderName}",
|
||
|
"outputFileName": "{filename}-{pipelineName}-{date}-{time}"
|
||
|
},
|
||
|
"outputDir": "{outputFolder}",
|
||
|
"outputFileName": "{filename}"
|
||
|
}
|