Coder Social home page Coder Social logo

document_layout_analysis's Introduction

Document_layout_analysis

Implementation code for document layout analysis

This work is implemented by "Machine fancy behavour Lab" Team

Presentation(Chinese):

link: https://pan.baidu.com/s/1qk9LP3zi6xX4V2sB-3PBiQ code: dumw

PPT(Chinese):

link: https://pan.baidu.com/s/1kgwZ5_-apCpG-W_EnuPW-g code: q1kv

contect us:

Contents

  1. Environment Setup
  2. Demo
  3. Training Models

Environment setup

  • Clone the repository
git clone https://github.com/JaMesLiMers/Hakathon_layout_analysis.git && cd Hakathon_layout_analysis
  • Setup python environment
conda create -n torch python=3.6
source activate torch
pip install -r requirements.txt

Demo

  • Some of ouf model structure and performance
  • Setup your environment
  • Download the trained model and put into Hakathon_layout_analysis/save/
  • trained model avaliable in:
https://drive.google.com/open?id=1YSNEL5xzaLlfLiU7t1sEnSGPa3SI9-3O
  • Put input image into Hakathon_layout_analysis/test/Image('.jpg' file)
  • Run test.py/ test_second.py
python ./test.py --resume model_epoch_409.pkl
python ./test_second.py --resume model_second_epoch_409.pkl
  • Output will be generated in Hakathon_layout_analysis/test/Output

Training Models

  • Setup your environment
  • Download test data(Not avaliable now) put into Hakathon_layout_analysis/Data/
  • Download pretrained models(alexnet_bn_.pth), avaliable in:
https://drive.google.com/open?id=1YSNEL5xzaLlfLiU7t1sEnSGPa3SI9-3O
  • Run train code:
python ./train.py
python ./train_second.py
  • Output will be generated in Hakathon_layout_analysis/save/

document_layout_analysis's People

Contributors

jameslimers avatar woquinocoin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

document_layout_analysis's Issues

dataset

请问您能提供训练的数据集吗?

how to get trained model?

how to get trained model? please put trained model to baidu's pan.
国内好像获得不了训练的模型。能否传到百度网盘上。

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.