Skip to content

Commit 1eacb56

Browse files
committed
V2.1.1 adjusts
1 parent 68041f9 commit 1eacb56

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
FROM ubuntu:20.04
2+
FROM ubuntu:21.04
33

44
# Cópia de arquivos do projeto OCR-SERVER
55
COPY usr/local/bin/ocr /usr/local/bin/ocr

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,10 @@ Author: Guilherme Chehab
3939
- Add support for stencil type and image encoding scans, changed default extraction method for unknown types/encodings
4040
- Fix: create subpaths on error folder
4141
- Fix: trying to reduce overhead on temporary folder
42+
- 2.1/2.1.1
43+
- Filter pipelines: disabled by default
44+
- Color reduction: disabled by default
45+
- Stock Ubuntu 20.x docker
4246
4347
## TODO:
4448
- Changes get_imgs and OCR processing to enable pages with more than one image -- it would not work on previous versions that assumed #pages = #imgs. Version 1.0.1 counts them diferently but does not treat it adequately -- shall require better pdf´s internal structure handling
@@ -102,15 +106,15 @@ O OCR-Server também está disponível como um container Docker, permitindo o r
102106

103107
Para execução do serviço, basta que o docker instalado no servidor e executar o seguinte comando:
104108

105-
docker run --name <NOME_CONTAINER> -d -v <DIRETORIO_BASE>:/var/ocr-server guilhermeadc/ocr-server
109+
docker run --name <NOME_CONTAINER> -d -v <DIRETORIO_BASE>:/var/ocr-server gchehab/ocr-server
106110

107111
Onde:
108112
--name : Nome atribuído à instância do container. Ex: ocr-server
109113
-d : Indicação executar o container em background
110114
-v : Diretório de compartilhamento entre o servidor host e o container.
111115
O parâmetro <DIRETORIO_BASE> deve ser substituído pelo diretório base para busca de arquivos.
112116

113-
Para vistualizar os logs de processamento do serviço, basta executar o seguinte comando:
117+
Para visualizar os logs de processamento do serviço, basta executar o seguinte comando:
114118

115119
docker logs <NOME_CONTAINER>
116120

0 commit comments

Comments
 (0)