mirror of
https://github.com/Stirling-Tools/Stirling-PDF.git
synced 2024-11-14 11:30:12 +01:00
63bdc0d59e
* init * revert * pipelines fixes for lists * pipeline fixes to allow json lists * formatting * pipeline changes * langs --------- Co-authored-by: a <a>
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}"
|
|
} |