Skip to main content

Turn your favorite movies into 1D representations using their frames' average color.

Project description

Movie Art

Turn your favorite movies into their 1D representation, where each pixel column corresponds to the average color of a given frame in the movie.

Examples

Barbie (2023)

Barbie (2023)

Pulp Fiction (1994)

Pulp Fiction (1994)

Test Video (512 frames transitioning from black to white)

Test Video (512 frames transitioning from black to white)

Installation

pip install movie_art

Usage

python -m movie_art [input.mp4] [output.jpg] --width [width] --height [height]

i.e.

python -m movie_art pulp_fiction.mp4 pulp_fiction_output.jpg --width 512 --height 128

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_art-0.1.1.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

movie_art-0.1.1-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

Details for the file movie_art-0.1.1.tar.gz.

File metadata

  • Download URL: movie_art-0.1.1.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.5

File hashes

Hashes for movie_art-0.1.1.tar.gz
Algorithm Hash digest
SHA256 92b16e7d373714dd0b426794d3327e32a2559b3a09772595316f3f4cf6bb83ef
MD5 ebef3a8f42adbf7df2d097ac28d0af10
BLAKE2b-256 8840b9d7c393c5213395543a164a6013d27cd142c89c95fa87e085f0c57a1e36

See more details on using hashes here.

File details

Details for the file movie_art-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: movie_art-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 4.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.5

File hashes

Hashes for movie_art-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7c88dc622dcf299f6ec8cb7a66ef7d5e55fe5b11819500b8de7e15a6d6a8a710
MD5 8faab49ca1defb12d47d694b29d11162
BLAKE2b-256 cc2ef0c673d61fa9aaaba382b432badfd30a20cc20282009d67c9be1ab1fb88b

See more details on using hashes here.

Supported by

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