Git Product home page Git Product logo

pdp's Introduction

Font-extractor

Semi-automatic extraction of characters from an image into a font for the generation of images and old documents.

This application can be tested online, or installed locally. To install it two solutions are provided : manually or from a docker image.

Manual installation

// Opencv installation
#Ubuntu Linux distribution
$ sudo apt-get install libopencv-dev
    
#MAC distribution (with Homebrew)
$ brew install opencv

// Libnavajo installation
$ git clone https://github.com/titi38/libnavajo.git
$ cd libnavajo
$ cmake .
$ make
$ sudo make install
    
// Font-extractor installation
$ git clone https://github.com/rtisne/Pdp.git
$ cd Pdp/server
$ make

Docker installation

First install docker https://docs.docker.com/engine/installation/

$ docker run -dti -p  80:8080 rtisne/font-extractor

This may take some times. After the installation just go to your docker ip address

How to use

To lauch the server, go into the server folder and make:

$ ./main

The server will be run by default on port 8080. You can change the port in the file libnavajo/src/WebServer.cc of libnavajo

#define DEFAULT_HTTP_PORT 8080

If you are in local, you can access to the server throught: http://localhost:8080

Demo

The application is host online : https://intranet.iut.u-bordeaux.fr/navajo/

Building and running unit tests

Tests are available to test the algorithm part that retrieves components in the image. To launch test go to the test folder and build:

$ cmake.
$ make
$ ./Unit_test

Development

Developed by:

Report link

pdp's People

Contributors

shqrk avatar tautret avatar aboschet avatar njournet avatar

Watchers

James Cloos avatar Romain TISNE avatar  avatar  avatar  avatar  avatar

Forkers

borismansencal

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.