I then try to give origami a first try with, which results in an error:
cd /path/to/origami
python -m origami.batch.detect.segment
Traceback (most recent call last):
File "/home/sebastian/.asdf/installs/python/3.7.2/lib/python3.7/runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "/home/sebastian/.asdf/installs/python/3.7.2/lib/python3.7/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/home/sebastian/Code/origami/origami/batch/detect/segment.py", line 7, in <module>
from origami.core.segment import SegmentationPredictor
File "/home/sebastian/Code/origami/origami/core/segment.py", line 9, in <module>
from origami.core.page import Page, Annotations
File "/home/sebastian/Code/origami/origami/core/page.py", line 6, in <module>
import shapely
ModuleNotFoundError: No module named 'shapely'
First off, thanks for origami, this looks promising and useful!
I'm following the installation instructions in
README.md
.I am not using conda but asdf, so I skipped:
and directly installed requirements with PIP:
I then try to give origami a first try with, which results in an error:
To fix this, installed shapely with:
Shapely should be added to
requirements.txt
.