lucasb-eyer/pydensecrf

Python wrapper to Philipp Krähenbühl's dense (fully connected) CRFs with gaussian edge potentials.

51
/ 100
Established

Implemented as a Cython wrapper around the original C++ library, it provides both high-level 2D convenience methods (DenseCRF2D) for standard image segmentation tasks and lower-level APIs for custom pairwise potentials and label compatibilities. Supports configurable unary potentials from network outputs or hard labels, spatial and bilateral Gaussian pairwise terms with learnable parameters, and mean-field inference via iterative optimization. Targets computer vision pipelines that need structured prediction post-processing, commonly following deep learning segmentation models.

2,013 stars. No commits in the last 6 months.

Stale 6m No Package No Dependents
Maintenance 0 / 25
Adoption 10 / 25
Maturity 16 / 25
Community 25 / 25

How are scores calculated?

Stars

2,013

Forks

425

Language

C++

License

MIT

Last pushed

Mar 05, 2024

Commits (30d)

0

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/ml-frameworks/lucasb-eyer/pydensecrf"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.