Difference between revisions of "Scan2wiki"
(7 intermediate revisions by the same user not shown) | |||
Line 3: | Line 3: | ||
{{OsProject | {{OsProject | ||
|id=scan2wiki | |id=scan2wiki | ||
+ | |state=active | ||
|owner=Wolfgang Fahl | |owner=Wolfgang Fahl | ||
|title=scan2wiki | |title=scan2wiki | ||
− | |||
− | |||
|url=https://github.com/WolfgangFahl/scan2wiki | |url=https://github.com/WolfgangFahl/scan2wiki | ||
+ | |version=0.3.0 | ||
+ | |date=2024-02-22 | ||
+ | |since=2021-03-21 | ||
|storemode=property | |storemode=property | ||
}} | }} | ||
+ | {{pip|scan2wiki}} | ||
+ | = Motivation = | ||
+ | We would like to scan results from different scanners but also get input directly from cameras or smartphones. The scanned results should then be put | ||
+ | into a SemanticMediaWiki to be able to search and annotate the results. | ||
+ | |||
+ | == Barcode scanning use case == | ||
+ | see [https://github.com/zauberzeug/nicegui/discussions/2028 nicegui barcode scan and amazon lookup application] | ||
+ | |||
− | = | + | = How to = |
− | |||
== Prerequisites == | == Prerequisites == | ||
+ | If you'd like to transfer the scanned results to a Semantic MediaWiki you might want to install one and contact the author for support. | ||
+ | |||
+ | = Start the webserver = | ||
+ | == scan2wiki script == | ||
+ | This script is an alternative to the one supplied with the python software - it automatically updates the software. You might want to first clone the software locally and modify the location in this script. | ||
+ | <source lang='bash'> | ||
+ | #!/bin/bash | ||
+ | # Start scan software | ||
+ | # WF 2018-12-24 | ||
+ | # WF 2021-11-26 | ||
+ | cd $HOME/Documents/pyworkspace/scan2wiki | ||
+ | git pull | ||
+ | scripts/run -k -s | ||
+ | sleep 1 | ||
+ | tail -f /var/log/scan2wiki/scan2wiki.log | ||
+ | </source> | ||
+ | |||
+ | |||
+ | = Tickets = | ||
+ | {{Ticket|9|.pdf directories should be ignored|scan2wiki}} | ||
+ | {{Ticket|8|replace pdfminer with faster library and or approach|scan2wiki}} | ||
+ | {{Ticket|7|add archive,folder,document,paper hierarchy|scan2wiki}} | ||
+ | {{Ticket|6|setup procedure to find wikis that have OCRDocuments|scan2wiki}} | ||
+ | {{Ticket|5|add folder watch|scan2wiki}} |
Latest revision as of 10:21, 22 February 2024
OsProject
OsProject | |
---|---|
edit | |
id | scan2wiki |
state | active |
owner | Wolfgang Fahl |
title | scan2wiki |
url | https://github.com/WolfgangFahl/scan2wiki |
version | 0.3.0 |
description | |
date | 2024-02-22 |
since | 2021-03-21 |
until |
Installation
pip install scan2wiki
# alternatively if your pip is not a python3 pip
pip3 install scan2wiki
# local install from source directory of scan2wiki
pip install .
upgrade
pip install scan2wiki -U
# alternatively if your pip is not a python3 pip
pip3 install scan2wiki -U
Motivation
We would like to scan results from different scanners but also get input directly from cameras or smartphones. The scanned results should then be put into a SemanticMediaWiki to be able to search and annotate the results.
Barcode scanning use case
see nicegui barcode scan and amazon lookup application
How to
Prerequisites
If you'd like to transfer the scanned results to a Semantic MediaWiki you might want to install one and contact the author for support.
Start the webserver
scan2wiki script
This script is an alternative to the one supplied with the python software - it automatically updates the software. You might want to first clone the software locally and modify the location in this script.
#!/bin/bash
# Start scan software
# WF 2018-12-24
# WF 2021-11-26
cd $HOME/Documents/pyworkspace/scan2wiki
git pull
scripts/run -k -s
sleep 1
tail -f /var/log/scan2wiki/scan2wiki.log
Tickets
Issue 9 - .pdf directories should be ignored Issue 8 - replace pdfminer with faster library and or approach Issue 7 - add archive,folder,document,paper hierarchy Issue 6 - setup procedure to find wikis that have OCRDocuments Issue 5 - add folder watch