A plugin for browse-ocrd to scan book pages with an android phone camera
pip install browse-ocrd-physical-import
browse-ocrd
The open the view "Scan" to start scanning
A plugin for browse-ocrd to scan book pages with an android phone camera
License: MIT License
A plugin for browse-ocrd to scan book pages with an android phone camera
pip install browse-ocrd-physical-import
browse-ocrd
The open the view "Scan" to start scanning
If I do make deps install
, I get this from the pip install .
step:
...
Installing build dependencies ... done
Getting requirements to build wheel ... error
ERROR: Command errored out with exit status 1:
command: venv/bin/python3 venv/lib/python3.6/site-packages/pip/_vendor/pep517/_in_process.py get_requires_for_build_wheel /tmp/tmp9xqrears
cwd: /tmp/pip-req-build-__hipvz1
Complete output (22 lines):
Traceback (most recent call last):
File "venv/lib/python3.6/site-packages/pip/_vendor/pep517/_in_process.py", line 280, in <module>
main()
File "venv/lib/python3.6/site-packages/pip/_vendor/pep517/_in_process.py", line 263, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
File "venv/lib/python3.6/site-packages/pip/_vendor/pep517/_in_process.py", line 114, in get_requires_for_build_wheel
return hook(config_settings)
File "/tmp/pip-build-env-c622edag/overlay/lib/python3.6/site-packages/setuptools/build_meta.py", line 150, in get_requires_for_build_wheel
config_settings, requirements=['wheel'])
File "/tmp/pip-build-env-c622edag/overlay/lib/python3.6/site-packages/setuptools/build_meta.py", line 130, in _get_build_requires
self.run_setup()
File "/tmp/pip-build-env-c622edag/overlay/lib/python3.6/site-packages/setuptools/build_meta.py", line 254, in run_setup
self).run_setup(setup_script=setup_script)
File "/tmp/pip-build-env-c622edag/overlay/lib/python3.6/site-packages/setuptools/build_meta.py", line 145, in run_setup
exec(compile(code, __file__, 'exec'), locals())
File "setup.py", line 6, in <module>
from ocrd_physical_import import __version__
File "/tmp/pip-req-build-__hipvz1/ocrd_physical_import/__init__.py", line 1, in <module>
from .view import ViewScan
File "/tmp/pip-req-build-__hipvz1/ocrd_physical_import/view.py", line 1, in <module>
import cv2
ModuleNotFoundError: No module named 'cv2'
This is despite the fact that opencv-python-headless
is installed in the currently active venv (and I can python -c "import cv2"
).
What am I doing wrong?
Also, is this the correct way to control an Android device, or should I rather merge the physical_import
branch in browse-ocrd
itself?
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.