gts-gi / lace Goto Github PK
View Code? Open in Web Editor NEWThis project forked from brobertson/lace
HOCR visualization and editing webapp made with Python Flask
This project forked from brobertson/lace
HOCR visualization and editing webapp made with Python Flask
sudo apt-get install libmysqlclient-dev python-pip python-dev sqlite3 libxml-dev libxslt-dev libxml2-dev sudo pip install Flask sudo pip install Flask-SQLAlchemy sudo pip install Flask-Markdown sudo pip install MySQL-python sudo pip install flask_httpauth sudo pip install pillow sudo pip install lxml cd Lace cp example_local_settings.py local_settings.py vim local_settings.py #change to your local database uri: use sqlite3 for temporary use #Now install a text resource into the filestructure under static/Texts and #put its metadata in the database python ./import_to_lace_from_tar.py samples/robertson_2016-04-03-16-14_alciphronisrhet01schegoog_teubner-serif-2013-12-16-11-26-00067000.pyrnn.gz_full.tar.gz-processed #Note that, for convenience, the corresponding images are already stored #in Lace/static/Images/Color python ./lace.py #open Chrome at localhost:5000 #Click on 'Texts', there should be one, click on it, and on 'selected_hocr_output' #Both text and image should appear #Clicking on text should cause a popup with word image to appear #### Editing #### #For editing, install eXist-db 2.2 or higher, and upload to it the resources at Lace/eXist-db/db #set exist_db_uri variable in Lace/local_settings.py appropriately
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.