Skip to content

CharNet: Convolutional Character Networks with added preprocesses and C++ postprocess

Notifications You must be signed in to change notification settings

gdroguski/CharNet

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Convolutional Character Networks

This project hosts the testing code for CharNet, described in paper:

Convolutional Character Networks
Linjie Xing, Zhi Tian, Weilin Huang, and Matthew R. Scott;
In: Proceedings of the IEEE International Conference on Computer Vision (ICCV), 2019.

I also added Fast Non-Maximum Suppression algorithm written in C++ and exported to dll to replace current vanilla postprocess (speedup ~30x) and made some code refactoring and added possibility to apply specified preprocess from a config.

The code for my Fast NMS algorithm is in the other repo: repo_link.

How to

pip install -r requirements.txt
python setup.py build develop
pip install [torch, torchivsion]
  1. For some config, please run the following command line in config dir. Please replace images_dir with the directory testing images. The results will be in results_dir.

    python predict.py configs/<some_config>.yaml <images_dir> <results_dir>
    
  2. If there is WinError for importing a module *.dll it means that you don't have the C++ runtime available, to do so install vcredist or set USE_CPP flag to False in config

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%