Skip to main content

generate movie barcode

Project description


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)

Project details


Download files

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

Source Distribution

movie-barcode-1.0.1.tar.gz (11.5 kB view hashes)

Uploaded Source

Built Distribution

movie_barcode-1.0.1-py3-none-any.whl (12.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page