Skip to content
This repository was archived by the owner on Nov 14, 2023. It is now read-only.

Commit 4dcb572

Browse files
committed
Update README.md
1 parent a087f8b commit 4dcb572

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Diff for: README.md

+5-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Camera4Kivy
33

44
*Yet Another Camera for Kivy*
55

6-
2023/02/09 : Android users: camerax_provider has been updated to version 0.0.3
6+
2023/02/09 : Android users: camerax_provider has been updated to version 0.0.3
77

88
- [Overview](#overview)
99
- [Install](#install)
@@ -32,6 +32,7 @@ Camera4Kivy
3232
- [mirrored](#mirrored)
3333
- [filepath_callback](#filepath-callback)
3434
- [sensor_resolution](#sensor-resolution)
35+
- [default_zoom](#default-zoom)
3536
- [analyze_pixels_resolution](#analyze-pixels-resolution)
3637
- [enable_analyze_pixels](#enable-analyze-pixels)
3738
- [enable_analyze_imageproxy](#enable-analyze-imageproxy)
@@ -290,6 +291,9 @@ The filepath_callback can also be used to reset any 'video recording' indicator
290291
##### sensor_resolution
291292
Overrides the default sensor resolution, which is the highest resolution available, except Raspberry Pi where it is (1024, 768). Tuple of two integers, for example `sensor_resolution = (640, 480)`. The resulting capture resolution obtained depends on the behavior of the camera provider (for example it is ignored by GStreamer). The capture resolution also depends on the relative orientation and aspect ratio of the Preview. Treat the value specified as a request that may not be exactly honored.
292293

294+
##### default_zoom
295+
Set the default zoom when the camera is connected, `0.5` is the default value.
296+
293297
##### analyze_pixels_resolution
294298
Sets the pixels resolution passed by `analyze_pixels_callback()`. A scalar, representing the number of pixels on the long edge, the short edge is determined using the aspect ratio. For example `analyze_pixels_resolution = 720`. The default is the minimum of cropped sensor resolution and 1024.
295299

0 commit comments

Comments
 (0)