Sign inSign up

kunalshah/textract

By kunalshah

Updated over 6 years ago

Extract text from a file using textract

Image
2

1.6K

kunalshah/textract repository overview

Extract text from a binary file/image/other text formats

Credits
  1. textract
How to use this docker image

The docker image uses /data folder as a volume where document will be read/written. Hence the user needs to provide the folder that would be mapped to /data

For example, Download BookReporter.pdf file to the Downloads folder of your home directory (~/Downloads)

To extract text from BookReporter.pdf and save it to file BookReporter.txt, run

docker run \
--rm \
-v "`pwd`:/data" \
kunalshah/textract:latest \
-o converted.txt \
file.pdf

See converted text file

cat converted.txt
About textract
CLI options

Read here

Supported file types

Read here

Tag summary

Content type

Image

Digest

sha256:886fbae38

Size

446.7 MB

Last updated

over 6 years ago

docker pull kunalshah/textract