Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
jozefbaranec authored Jan 23, 2025
1 parent 046ba2b commit 59983f9
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,24 +23,24 @@ To use this Docker application, you'll need to have Docker installed on your sys
To run docker container as CLI you should share the folder with PDF to process using `-i` parameter. In this example it's current folder.

```bash
docker run -v $(pwd):/data -w /data --rm pdfix/lang-detect:latest lang-detect -i input.pdf -o output.pdf
docker run -v $(pwd):/data -w /data --rm pdfix/detect-language:latest lang-detect -i input.pdf -o output.pdf
```

Just detect language and save language code to txt file
```bash
docker run -v $(pwd):/data -w /data --rm pdfix/lang-detect:latest lang-detect -i input.pdf -o output.txt
docker run -v $(pwd):/data -w /data --rm pdfix/detect-language:latest lang-detect -i input.pdf -o output.txt
```
With PDFix License add these arguments.
```bash
--name ${LICENSE_NAME} --key ${LICENSE_KEY}
```

First run will pull the docker image, which may take some time. Make your own image for more advanced use.
The first run will pull the docker image, which may take some time. Make your own image for more advanced use.

For more detailed information about the available command-line arguments, you can run the following command:

```bash
docker run --rm pdfix/lang-detect:latest --help
docker run --rm pdfix/detect-language:latest --help
```

## Run OCR using REST API
Expand All @@ -49,13 +49,13 @@ Comming soon. Please contact us.
### Exporting Configuration for Integration
To export the configuration JSON file, use the following command:
```bash
docker run -v $(pwd):/data -w /data --rm pdfix/lang-detect:latest config -o config.json
docker run -v $(pwd):/data -w /data --rm pdfix/detect-language:latest config -o config.json
```

## License
- PDFix license https://pdfix.net/terms

Trial version of the PDFix SDK may apply a watermark on the page and redact random parts of the PDF including the scanned image in background. Contact us to get an evaluation or production license.
The trial version of the PDFix SDK may apply a watermark on the page and redact random parts of the PDF including the scanned image in the background. Contact us to get an evaluation or production license.

## Help & Support
To obtain a PDFix SDK license or report an issue please contact us at support@pdfix.net.
Expand Down

0 comments on commit 59983f9

Please sign in to comment.