Scan2wiki

From BITPlan Wiki
Jump to navigation Jump to search

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