Skip to content

JosephKJ/MASON

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
lib
 
 
 
 
 
 
 
 

Unsupervised Segmentation using MASON

Unsupervised Segmentation of Images

Installation

  1. Clone this repository
git clone https://github.com/JosephKJ/MASON

Let's call the directory as ROOT

  1. Clone the Caffe repository
cd $ROOT
git clone https://github.com/Microsoft/caffe.git

[optional]

cd caffe
git reset --hard 1a2be8e
  1. Setup CAFFE

  2. Get the ImageNet pretrained VGG-16 network(caffemodel only) and place it in ./model folder.

caffemodel_url: http://www.robots.ox.ac.uk/~vgg/software/very_deep/caffe/VGG_ILSVRC_16_layers.caffemodel

Demo

You can run python segment_image.py.

This script will take the image located in ./data/demo/2007_000363.jpg, computes the objectness heatmap, uses it with GrabCut and gets the result displayed on screen. (NB: This method doesnot require any bounding box annotation.)

Output alt text (Legend: Input image -- Objectness heat map -- Segmentation using MASON and GrabCut -- Segmentation using GrabCut alone)

semi-supervised-SS.py expects bounding box information from a dataset. The code can work out of the box with Pascal VOC dataset.

About

(ECCV-W 2018) Segmentations using MASON

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages