Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

A minimal ctypes-based port of some vlfeat functions.

Project Description

This is a minimal port of a few components of the matlab interface of the vlfeat library for computer vision to Python.

vlfeat’s core library is written in C. In practice, though, a significant amount of the library lies in the MATLAB interface. This project is a port of a few functions from that interface to python/numpy, using ctypes. It contains only a few functions (the ones needed for py-sdm). The process isn’t very hard, it just takes some effort. Patches adding additional functionality are welcome.

There’s also a fork of vlfeat floating around that includes Boost::Python wrappers. I couldn’t get it to work, and didn’t try too hard because I saw that some of the functions I needed had significant amounts of matlab code anyway. You might be more interested in it, though; Andreas Mueller’s version appears to be the most recently updated.


The package can be installed by pip or easy_install normally. However, in order to actually use it, you’ll also need to download the vlfeat binary library. You can either install (or your platform’s equivalent) somewhere where ctypes can find it yourself, or use the included script for doing so; run it with python -m If you add a -h argument, it’ll show you how to do it with a pre-downloaded binary distribution. If you install Python packages with sudo, you may need to do the same for the download script.

Release History

This version
History Node


History Node


History Node


History Node


History Node


History Node


Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
(30.8 kB) Copy SHA256 Hash SHA256
Source None Mar 13, 2017

Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Google Google Cloud Servers