Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/djsutherland/vlfeat-ctypes
A ctypes interface to a (very small) subset of vlfeat.
https://github.com/djsutherland/vlfeat-ctypes
Last synced: 1 day ago
JSON representation
A ctypes interface to a (very small) subset of vlfeat.
- Host: GitHub
- URL: https://github.com/djsutherland/vlfeat-ctypes
- Owner: djsutherland
- License: bsd-3-clause
- Created: 2013-03-18T04:53:15.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2019-04-09T12:44:11.000Z (over 5 years ago)
- Last Synced: 2024-11-09T18:19:50.044Z (9 days ago)
- Language: Python
- Size: 38.1 KB
- Stars: 21
- Watchers: 6
- Forks: 9
- Open Issues: 6
-
Metadata Files:
- Readme: README.rst
- License: LICENSE.txt
Awesome Lists containing this project
README
==================================================
vlfeat-ctypes: minimal VLFeat interface for python
==================================================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.Installation
------------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 ``libvl.so`` (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 vlfeat.download``. 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.