Skip to content

Beta release 1 (same as v0.3.1)

Compare
Choose a tag to compare
@davidplowman davidplowman released this 19 Aug 11:14
· 338 commits to main since this release

Actually identical to release 0.3.1, here are the release notes again:

0.3.2 Beta Release 1

Added

  • All the preview implementations now support a "display transform", allowing the preview image to be horizontally and/or vertically flipped (whilst not affecting the underlying image). The Picamer2.start_preview method allows a libcamera transform to be passed.
  • Added APIs to capture and copy buffers/arrays from multiple streams at once: capture_buffers, capture_arrays, switch_mode_and_capture_buffers, switch_mode_and_capture_arrays.
  • Allow entries from the sensor_modes property to be used directly as the raw stream configuration.
  • Support for version 2.0 tuning files, including a find_tuning_algo method to make them easier to use.
  • Demo Qt applications have been moved out of the examples folder to apps. A new "app_full.py" exists which allows phots and videos to be recorded, and gives control through a GUI of various camera and image tuning parameters.
  • Added a sensor_modes field to the Picamera2 object. This can be queried to find out exactly what raw camera modes are supported, giving details of the maximum framerate and the field of view.

Changed

  • Installation through pip now avoids installing the Qt and OpenGL dependencies by default. If you want them, use "pip3 install picamera2[gui]" or just do "sudo apt install -y python3-qt5 python3-opengl" first.
  • Fixed bug displaying overlays using DRM (pykms seems to have changed underneath us).
  • There's been some refactoring which has changed the way asynchronous calls (with wait=False) work. You should now call picam2.wait() to obtain the result, and you can set the signal_function so that you can avoid calling it before it's finished. The previous fields like "async_result" have been removed.
  • JpegEncoder defaults to producing YUV420 output now, though the constructor allows other colour subsampling modes to be chosen.
  • Fix bug where framerates had to be integer values.
  • Fix typo in align_configuration method.
  • Allow in-place image manipulation (using the MappedArray class) even when the image rows have padding.