Python implementation of A. Levin D. Lischinski and Y. Weiss. A Closed Form Solution to Natural Image Matting. IEEE Conf. on Computer Vision and Pattern Recognition (CVPR), June 2006, New York
MIT License
435
stars
107
forks
source link
Add package setup script to support pip install (#20) #22
I make some necessary changes to release the package, as described in issue #20. Detailed changes are
setup.py
script to supportpip install
& an__init__.py
for package import management.closed-form-matting
andsolve-foreground-background
, which will be installed into user's binary folder.opencv-python
package does not support Python 2.7 and will fail the CI.Before merging this PR, you could install the package by running
And maybe do some testing, though all tests are passed in Travis CI.
To publish this package to PyPI, please follow this tutorial https://packaging.python.org/tutorials/packaging-projects/