Sign inSign up

jpksf/ocr

By jpksf

Updated about 10 years ago

Image
Artifact
0

1.3K

jpksf/ocr repository overview

#Please be kind, this was for the POC, I'll clean it up eventually FROM alpine:edge RUN apk update && apk upgrade

RUN apk add --update build-base RUN apk add --update python
RUN apk add --update python-dev
RUN apk add --update py2-pip RUN apk add --update musl
RUN apk add --update libgcc
RUN apk add --update leptonica
RUN apk add --update libstdc++
RUN apk add --update tesseract-ocr-dev
RUN apk add --update tesseract-ocr
#RUN apk add --update tesseract-data-nld
#RUN apk add --update tesseract-data-eng
#RUN apk add --update tesseract-data
RUN apk add --update bash RUN apk add --update py-pillow

RUN pip install Image RUN pip install requests RUN pip install pytesseract #RUN pip install Pillow RUN pip install python-resize-image

COPY licensep.payload.json / COPY licensep.py /

RUN rm -rf /var/cache/*

#ENTRYPOINT ["python", "licensep.py"]

Tag summary

Content type

Image

Digest

Size

22.8 MB

Last updated

about 10 years ago

docker pull jpksf/ocr