GithubHelp home page GithubHelp logo

citlabmodule's Introduction

CITlabModule

This project makes it possible to use the Handwriting Text Recognition (HRT) and the Layout Analysis (LA) from URO/CITlab and Planet i.s. in Transkribus fulfilling the interfaces of TranskribusInterfaces

Building

git clone https://github.com/Transkribus/CITlabModule.git
cd CITlabModule
mvn install

Requirements

general

  • java 1.8 or higher
  • planet_jar.jar of planet.de (not open available) containing basic libraries

for LA

  • OpenCV 3.10

for advanced LA

  • OpenCV 3.10
  • GCOC (see below)
  • tensorflow (see below)

for advanced HTR

  • tensorflow (see below)

Building GCOC dependencies for advanced LA

  • Ask for the GCOC.tar.gz
tar -xf GCOC.tar.gz
cd GCOC
cmake .
make install

The installation will create HOME/lib and HOME/include (if not existing), we are just interested in the lib file from HOME/lib in case of Linux, it is called libgcoj.so Put this lib somewhere java can find it (LD_LIBRARY_PATH). To add the JNI-Wrapper to your local Maven-Repo, follow:

cd JAVA
sh jar2mvnrepo.sh

Build tensorflow dependencies for advanced LA and HTR:

  • the dependency to tensorflow needs a c-lib (an *.so-file)
  • the library can be found at https://ci.tensorflow.org/view/Release/job/release-libtensorflow/TYPE=cpu-slave/
  • this library should match the version of the java dependency (1.3.0)
  • download the library and put the lib somewhere java can find it (LD_LIBRARY_PATH)
  • Note that compiling tensorflow on your device can make tensorflow running faster - especially if it can use gpu devices.

citlabmodule's People

Contributors

gundramleifert avatar jkloe avatar

Watchers

 avatar  avatar

Forkers

transkribus

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.