Code Monkey home page Code Monkey logo

drrg's Introduction

This is an implementation of our CVPR2020 paper. The complete code will be provided after returning to school. Please wait patiently!

1.Prerequisites

python 3.7;
PyTorch 1.2.0;
Numpy >=1.16;
CUDA 10.1;
GCC >=9.0;
NVIDIA GPU(with 10G or larger GPU memory for inference);

2.Description

  • Generally, this code has following features:
    1.Just include complete inference code
    2.Support TD500 and CTW1500 datasets

3.Parameter setting

4.Pretrained Models

  • CTW1500 pretrained model: CTW1500
  • TD500 pretrained model: TD500

5.Running tests

  • Preparation
  1. git clone https://github.com/anoycode22/DRRG.git
  2. put your test images in "data/TD500/Test" or data/ctw1500/test/text_image
  3. put the pretrained model into "model/TD500/" or "model/Ctw1500"
  4. cd ./csrc and make
  5. cd ./nmslib/lanms and make
  • CTW1500
  1. set the parameter in config according to model/Ctw1500/ctw1500_test.txt
  2. python eval_TextGraph.py --exp_name Ctw1500 --test_size \(512, 1024\)
  • TD500
  1. set the parameter in config according to model/TD500/TD500_test.txt
  2. python eval_TextGraph.py --exp_name TD500 --test_size \(512, 640\)

6.Qualitative results(view)

References

(S. Zhang, X. Zhu, H.-J. Bo, C. Liu, C. Yang, H. Wang, and X.-C. Yin, "Deep relational reasoning graph network for arbitrary shape text detection", CVPR 2020).

drrg's People

Contributors

anoycode22 avatar gxym avatar

Watchers

 avatar

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.