Coder Social home page Coder Social logo

deepcontour's Introduction

###################################################################
#                                                                 #
#    Deep Contour Detector                       #
#    Wei Shen ([email protected])                          #
#                                                                 #
###################################################################

1. Introduction.
This is the testing code for the Deep Contour Detector proposed in

Wei Shen, Xinggang Wang, Yan Wang, Xiang Bai, Zhijiang Zhang. 
DeepContour: A Deep Convolutional Feature Learned by Positive-sharing Loss for Contour Detection. 
IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Boston, USA, 2015.

This code is modified from Piotr Dollar's Structured Edge Detection Toolbox [1,2].


###################################################################

2. License.

Please follow the license terms included in Structured Edge Detection Toolbox [1,2] and Caffe Deep Learning Toolbox [3].


###################################################################

3. Installation.

a) This code is written for the Matlab interpreter (tested with versions R2014a on Windows 7) and requires the Matlab Image Processing Toolbox and CUDA Toolkit (version 6.0 or later). 

b) First, download the binary dependencies from https://drive.google.com/file/d/0BwU2lgiGMpBmQmpGT3BudmV2Yms/view?usp=sharing and unzip them into the folder "bin".

c) Additionally, Piotr's Matlab Toolbox and Piotr's Structured Edge Detection Toolbox are also required. They can be downloaded at:
 http://vision.ucsd.edu/~pdollar/toolbox/doc/index.html and https://github.com/pdollar/edges respectively.

d) Finally, optionally download the BSDS500 dataset (necessary for evaluation):
 http://www.eecs.berkeley.edu/Research/Projects/CS/vision/grouping/
 After downloading BSR/ should contain BSDS500, bench, and documentation.

e) A fully trained deep contour model (deep_contour_model) for RGB images is available as part of this release. The architecture of the used deep network is described in deploy_cov4.prototxt.

###################################################################

4. Getting Started.

 - Make sure to carefully follow the installation instructions above.
 - Please run "Entry_DeepStructureEdge.m". 
 - The default parameter setting leads to 0.75 F-measure on BSDS500. 
   To achieve 0.76 F-measure, set "model.opts.nTreesEval=10" and "model.opts.multiscale=1" in "edgesDLDemo.m". Note that, the evaluation process under this setting is very time consuming.

###################################################################

5. Reference.

[1] P. Dollar and C. L. Zitnick. Structured forests for fast edge detection. In Proc. ICCV, pages 1841โ€“1848, 2013.

[2] P. Dollar and C. L. Zitnick. Fast edge detection using structured forests. arXiv preprint arXiv:1406.5549, 2014.

[3] Y. Jia, E. Shelhamer, J. Donahue, S. Karayev, J. Long, R. Girshick, S. Guadarrama, and T. Darrell. Caffe: Convolutional
architecture for fast feature embedding. arXiv preprint arXiv: 1408.5093, 2014.
###################################################################

deepcontour's People

Contributors

shenwei1231 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.