File: numpy.rst

package info (click to toggle)
python-av 16.0.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,684 kB
  • sloc: python: 7,607; sh: 182; ansic: 174; makefile: 135
file content (24 lines) | stat: -rw-r--r-- 566 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
Numpy
=====


Video Barcode
-------------

A video barcode shows the change in colour and tone over time. Time is represented on the horizontal axis, while the vertical remains the vertical direction in the image.

See https://moviebarcode.tumblr.com/ for examples from Hollywood movies, and here is an example from a sunset timelapse:

.. image:: ../_static/examples/numpy/barcode.jpg

The code that created this:

.. literalinclude:: ../../examples/numpy/barcode.py


Generating Video
----------------

.. literalinclude:: ../../examples/numpy/generate_video.py