From 7f167ffa6a2ea2975396c64d5e9cc44235d1e91b Mon Sep 17 00:00:00 2001 From: "Gerber, Mike" Date: Mon, 19 Sep 2022 19:13:46 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Install=20ImageMagick=20in=20cor?= =?UTF-8?q?e=20images?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit OCR-D has been complaining: 16:42:12.171 WARNING ocrd_exif - ImageMagick 'identify' not available, Consider installing ImageMagick for more robust pixel density estimation Fix this by installing imagemagick. Fixes gh-60. --- Dockerfile-core | 2 ++ Dockerfile-core-cuda10.0 | 2 ++ Dockerfile-core-cuda10.1 | 2 ++ 3 files changed, 6 insertions(+) diff --git a/Dockerfile-core b/Dockerfile-core index 073e5e1..443db85 100644 --- a/Dockerfile-core +++ b/Dockerfile-core @@ -18,6 +18,8 @@ RUN echo "APT::Acquire::Retries \"3\";" > /etc/apt/apt.conf.d/80-retries && \ # XML utils libxml2-utils \ xmlstarlet \ +# OCR-D uses ImageMagick for pixel density estimation + imagemagick \ && \ apt-get clean && \ rm -rf /var/lib/apt/lists/* diff --git a/Dockerfile-core-cuda10.0 b/Dockerfile-core-cuda10.0 index ede7d03..f1a2d60 100644 --- a/Dockerfile-core-cuda10.0 +++ b/Dockerfile-core-cuda10.0 @@ -18,6 +18,8 @@ RUN echo "APT::Acquire::Retries \"3\";" > /etc/apt/apt.conf.d/80-retries && \ # XML utils libxml2-utils \ xmlstarlet \ +# OCR-D uses ImageMagick for pixel density estimation + imagemagick \ && \ apt-get clean && \ rm -rf /var/lib/apt/lists/* diff --git a/Dockerfile-core-cuda10.1 b/Dockerfile-core-cuda10.1 index 96967db..569a567 100644 --- a/Dockerfile-core-cuda10.1 +++ b/Dockerfile-core-cuda10.1 @@ -18,6 +18,8 @@ RUN echo "APT::Acquire::Retries \"3\";" > /etc/apt/apt.conf.d/80-retries && \ # XML utils libxml2-utils \ xmlstarlet \ +# OCR-D uses ImageMagick for pixel density estimation + imagemagick \ && \ apt-get clean && \ rm -rf /var/lib/apt/lists/*