Skip to content

codeaudit/ReInspect

 
 

Repository files navigation

ReInspect

ReInspect is an neural network extension to Overfeat-GoogLeNet in Caffe. It is designed for high performance object detection in images with heavily overlapping instances. See the paper for details or the video for a demonstration.

Installation

ReInspect depends on Caffe and requires the ApolloCaffe pull request. With ApolloCaffe installed, you can run ReInspect with:

$ git clone http://github.com/russell91/reinspect
$ cd reinspect
$ python train.py --config config.json --gpu -1

Data should be placed in /path/to/reinspect/data/ and can be found here.

Demo

We provide a notebook to visualize the performance of the model. The data includes a pretrained model, so you can run this notebook on your own machine without training.

Running on your own data

The easiest way to run on your own data is to resize your images to 480x640 and provide labels for each object in each image with the idl text files.

Once you have verified that you can train on 480x640 images, you can also modify the image width and height options in config.json. We recommend you choose an image size which is an integer multiple of 32, and then modify the (15, 20) grid to (image_height / 32, image_width / 32).

About

End to end detection in crowded scenes

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.3%
  • Shell 0.7%