Code Monkey home page Code Monkey logo

faster_rcnn_for_textdetection's Introduction

Faster_RCNN for text detection


使用Faster_RCNN做文本检测

软件支持:

  • python2.7

  • tesnsorflow_gpu, cython, python-opencv, easydict, etc.

将ICDAR2011数据集简单制作成VOC2007格式, 放入Faster_RCNN

以下链接是处理好的ICDAR2011数据

链接: https://pan.baidu.com/s/15vVdxmLI7uI1IAMOqJrHKQ 密码: asqb

将VGG_imagenet.npy放到Faster-RCNN_TF\data\pretrain_model文件夹下

链接: https://pan.baidu.com/s/1z4xSXJk7U81SpPusqr0trA 密码: xjph


VOC2007结构

  • JPEGImages文件夹 : 训练图片和测试图片

  • Annatations文件夹 : xml格式的标签文件

  • ImageSets文件夹 : Action暂时不用 Layout暂时不用

  • Main存放的是图像物体识别的数据,Main里面有test.txt , train.txt, val.txt,trainval.txt.


数据制作

  • 直接将ICAR2011的训练集图片放入JPRGImages

  • xml.py: 用于制作.xml文件

  • generate_maintxt.py: 用于生成Main文件夹下的.txt文件


构建Cython模块

cd $FRCN_ROOT/lib
make

测试模型

cd $FRCN_ROOT
python ./tools/demo.py --model model_path

thumbnial.jpg


训练模型

cd $FRCN_ROOT
./experiments/scripts/faster_rcnn_end2end.sh  DEVICE   DEVICE_ID  VGG16 pascal_voc

faster_rcnn_for_textdetection's People

Contributors

qalexball avatar

Watchers

James Cloos avatar  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.