Giter Site home page Giter Site logo

newspapers_clustering_using_py-faster-rcnn's Introduction

Newspapers_clustering_using_py-faster-rcnn

In this repository we propose a Deep Learning approach for document clustering. This is an improvment of a previous work that used traditional Machine Learning approach.

Description

We use py-faster-rcnn code from R.Ghirschik to learn text and image detection.

Dataset

The used dataset is an ensemble of 102 Russian newpapers pages annotated and taken from UCL Machine learning site. This is the dataset we use to tune faster-rcnn code (68 for training, 34 for testing)

We show below an example with ground truth:

page

ground truth

Formatting data

To use faster-rcnn code, we need to reformate dataset like Pascal-VOC challenge (comprising xml annotation files for bouding boxes).

But first of all, clone our fork of py-faster-rcnn code into your home for example. This forl contains appropriate to deal with our newspapers dataset. Then open import_data.py, fill main_path variable with following path yourhome/py-faster-rcnn/data/NewsPapers/UCL and run it :

python import_data.py

It will create appropriate reformatting of our newspapers dataset into yourhome/py-faster-rcnn/data/NewsPapers/UCL

Training/testing

Now go to yourhome/py-faster-rcnn and run the following command line

./experiments/scripts/faster_rcnn_alt_opt.sh 0 VGG_CNN_M_1024 newspapers

You will get test results into yourhome/py-faster-rcnn/data/NewsPapers/UCL/results, containing bounding boxes for text and for illustration, for each test image present into yourhome/py-faster-rcnn/data/NewsPapers/UCL/ImageSets/Main/test.txt

Results

We present here after some testing results for text/illustration

example

text

illustration

example

text

illustration

example

text

illustration

newspapers_clustering_using_py-faster-rcnn's People

Contributors

ykacer avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

jsydj hkcaesar

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.