Britefury / py-bsds500

Python port of the BSDS 500 evaluation suite

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Python port of BSDS 500 boundary prediction evaluation suite

Uses quite a lot of code from the original BSDS evaluation suite at berkeley.edu/Research/Projects/CS/vision/bsds/

Takes the original C++ source code that provides the matchPixels function for Matlab and wraps it with Cython to make it available from Python.

Provides a Python implementation of the morphological thinning operation.

Compile the extension module with:

python setup.py build_ext --inplace

Then run:

python verify.py <path_to_bsds500_root_directory>

You should get output that (almost) matches the text files in the bench/data/test_2 directory within the BSDS package.

About

Python port of the BSDS 500 evaluation suite


Languages

Language:C++ 78.1%Language:Python 17.7%Language:C 4.2%