ocr-docker

Ocr Docker Docker Image

OCR-Docker是基于Python和Flask的易用系统,可从图像(png、jpg、tiff)和PDF文件(单页或多页)中提取多种语言的文本,利用tesseract-ocr实现免费OCR功能。

2 次收藏下载次数: 0状态:社区镜像维护者:techblog仓库类型:镜像最近更新:3 年前
下载命令
点击查看

OCR-Docker

Extract text from images & pdf files

OCR-Docker is a Python & https://flask.palletsprojects.com/en/1.1.x/ powerd, easy to use system that hepls us to easely extrat text from images and pdf files in multiple languages.

Features

  • Extract text from images (png, jpg, tiff).
  • Extract text from pdf files (single or multiple pages).

Components and Frameworks used in TTS-STT

  • https://github.com/tesseract-ocr/ - open source ocr
  • https://github.com/tesseract-ocr/tessdata - tesseract-ocr data models
  • ghostscript
  • https://imagemagick.org/index.php
  • https://pypi.org/project/pytesseract/
  • https://pypi.org/project/Pillow/
  • https://pypi.org/project/image/
  • https://flask.palletsprojects.com/en/1.1.x/
  • https://pypi.org/project/loguru/
  • https://pypi.org/project/PyYAML/

The OCR (Optical Character Recognition) feature is free thanks to https://github.com/tesseract-ocr/ which is an Open Source OCR project.

Installation

docker-compose from hub

yaml
version: "3.7"
services:
  ocr:
    image: techblog/ocr-docker:latest
    ports:
      - "8080:8080"
    container_name: tts-stt
    labels:
      - "com.ouroboros.enable=true"
    networks:
      - default
    restart: unless-stopped

Now, run docker-copmose up -d to pull and run your container. Open your browser and nevigate to your container ip address wieh port 8080, you should see the following screen.

镜像拉取方式

您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。

轩辕镜像加速拉取命令点我查看更多 ocr-docker 镜像标签

docker pull docker.xuanyuan.run/techblog/ocr-docker:<标签>

DockerHub 原生拉取命令

docker pull techblog/ocr-docker:<标签>
专业版 · 高速稳定拉取镜像
50GB 仅 ¥8/年
高速镜像下载在线技术支持99.95% SLA 保障付费会员免广告