natliblux / nautilusocr Goto Github PK
View Code? Open in Web Editor NEWMETS/ALTO OCR enhancing tool by the National Library of Luxembourg (BnL)
License: GNU General Public License v3.0
METS/ALTO OCR enhancing tool by the National Library of Luxembourg (BnL)
License: GNU General Public License v3.0
Hi!
I stumbled across this project by accident and think it's a really cool approach! Huge props!
While looking at the code, I noticed that you're using argparse
to create the CLI. Any specific reason for choosing argparse
over something like click
(based on optparse
)? I am personally not a huge fan of argparse
because it can sometimes lead to unexpected behaviour due to it's automagic differentiation between arguments and options. I also think that a proper CLI built with click
leads to much more readable code (although I agree that this might be a bit subjective, but here is a simple example).
If you welcome contributions from others on this, I would be down to cleaning up your entrypoint a bit and introduce a proper CLI for this awesome tool. As always, feel free to close this issue in case this is not something you want to change!
Cheers,
Eric
Hi
I'm trying to use this library with docker but this error raises on the installation process:
#8 39.21 The conflict is caused by:
#8 39.21 The user requested numpy==1.16.6
#8 39.21 kraken 2.0.8 depends on numpy
#8 39.21 langid 1.1.6 depends on numpy
#8 39.21 opencv-python 4.4.0.42 depends on numpy>=1.17.3
This is my Docker file for reference:
FROM python:3.8.5
RUN apt-get update
RUN apt-get -y install libhunspell-dev
RUN apt-get -y install libgl1-mesa-glx
RUN pip install --upgrade pip
RUN git clone https://github.com/natliblux/nautilusocr
WORKDIR ./nautilusocr
RUN pip3 install -r requirements.txt
How can I solve the issue?
It is safe to pump up numpy's version?
Thanks
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.