A tool to create barcodes for movies using different sorting functions.
Project description
About The Project
Fight Club - Intensity |
---|
Ponyo - Step |
---|
SpiderMan: No way home - Intensity |
---|
Encanto - Hue |
---|
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!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
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
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()
License
Distributed under the EUPL 1.2 License. See LICENSE.txt
for more information.
Contact
Marc Bresson - marco.bresson@gmail.com
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file movie-barcode-1.1.2.tar.gz
.
File metadata
- Download URL: movie-barcode-1.1.2.tar.gz
- Upload date:
- Size: 12.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.10.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d0b931c2098f35f7bff3bd07e9fc2f14be933bb244fcac2bc2565737615beabe |
|
MD5 | f298fad07003a461fb6f8f02682baf0b |
|
BLAKE2b-256 | 708fb44c0b8f30bc2c842c4b3fb71e29cc41d229a4bcc76ffdc170145ee41561 |
File details
Details for the file movie_barcode-1.1.2-py3-none-any.whl
.
File metadata
- Download URL: movie_barcode-1.1.2-py3-none-any.whl
- Upload date:
- Size: 13.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.10.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 09e9d2e677cd03405ac11b9e9b60407110e501865e45356768a36630413946c6 |
|
MD5 | 76b2e8b818e998c3caad062373e787ce |
|
BLAKE2b-256 | a14e1591a2d84670c84bfb5a57e11715d3f157321dbf09f2575de0fd9ede545a |