Skip to content

Latest commit

 

History

History
113 lines (70 loc) · 3.47 KB

README.md

File metadata and controls

113 lines (70 loc) · 3.47 KB

About The Project

Fight Club - Intensity
Ponyo - Step
SpiderMan: No way home - Intensity
Encanto - Hue

(back to top)

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

If you have a suggestion that would make this better, you can simply open an issue with the tag "enhancement". You can also fork the repo and create a pull request. Don't forget to give the project a star! Thanks again!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

(back to top)

Installation

Movie BarCode requires an installation of Python 3.6 or greater, as well as pip. (Pip is typically bundled with Python installations.)

To install from PyPI with pip:

$ python -m pip install movie-barcode

Sometimes, the PyPI release becomes slightly outdated. To install from the source with pip:

$ python -m pip install git+https://github.com/MarcBresson/movie-barcode

(back to top)

Usage - QuickStart

Process a collection of movies at once :

>>> from movie_barcode import Movies

# Default output directories are ./images and ./npy
>>> movies = Movies(images_output_dir, computed_colors_output_dir)

# Will open a dialog. If a movie has already been computed, it will recover the npy file.
>>> movies.load()
>>> movies.compute()
>>> movies.save() # optional. It allows to directly load the computed array on movies.load()
>>> movies.export_every_barcode()

(back to top)

License

Distributed under the EUPL 1.2 License. See LICENSE.txt for more information.

(back to top)

Contact

Marc Bresson - marco.bresson@gmail.com

(back to top)