Skip to content

Commit

Permalink
Update PiBayerArray recipe
Browse files Browse the repository at this point in the history
  • Loading branch information
waveform80 committed Jan 28, 2017
1 parent cad57ca commit 8d94c03
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions docs/recipes2.rst
Original file line number Diff line number Diff line change
Expand Up @@ -768,8 +768,10 @@ captures:

.. literalinclude:: examples/bayer_data.py

This recipe is also encapsulated in the :class:`~PiBayerArray` class in the
:mod:`picamera.array` module, which means the same can be achieved as follows:
An enhanced version of this recipe (which also handles different bayer orders
caused by flips and rotations) is also encapsulated in the
:class:`~picamera.array.PiBayerArray` class in the :mod:`picamera.array`
module, which means the same can be achieved as follows:

.. literalinclude:: examples/bayer_array.py

Expand Down

0 comments on commit 8d94c03

Please sign in to comment.