Skip to content

sjang42/fontto-processing

 
 

Repository files navigation

fontto-processing

Message Queue for fontto with RabbitMQ

INFO

How Work

  1. pull from rabbitMQ (with multithread)
  2. processing
    • pass deep neural network
    • noise reduction
    • svg conversion
    • ttf conversion
  3. request to fontto-server

Usage

test-publisher

help

node test-publisher/publisher.js --help

install dependency

cd test-publisher
npm install

run test publisher

node test-publisher/publisher.js --amqp-url amqp://<host>:5672 --queue <queue name> --interval 2000

python subscriber

help

python index.py --help

install dependency

pip install -r requirements.txt

run subscriber

python index.py --amqp-url amqp://<host>:5672 --queue <queue> --log-path output.log --thread-num 2

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 95.5%
  • JavaScript 3.9%
  • Shell 0.6%