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

Commit 3cfc9dd

Browse files
committed
Update README.md
1 parent 15bf626 commit 3cfc9dd

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

+4
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@ The captured file location may be specified and is also reported in a callback.
5252

5353
On Android a pinch/spread gesture controls zoom, and a tap overrides any automatic focus and metering (if available). Some `connect_camera()` options are platform specific.
5454

55+
Be aware Preview operation depends on a physical GPU for adequate frame rate, it is not recommended for devices with a software emulated GPU.
56+
5557
## Install
5658

5759
A [camera provider](https://github.com/Android-for-Python/camera4kivy#camera-provider) may be required. On a destop the camera provider is installed once. On Android the camera provider is [added to each project](https://github.com/Android-for-Python/camera4kivy#android-camera-provider).
@@ -295,6 +297,8 @@ class CustomAnalyzer(Preview):
295297
### Add your Preview annotation or image replacement code here
296298
```
297299

300+
The `analyze_pixels_callback()` is called each time new pixels are available, and the `canvas_instructions_callback()` is called on each iteration of the Kivy event loop. The availability of new pixels depends on the camera data rate, and the latency of any analysis code included with the previous call of `analyze_pixels_callback()`. Thus `analyze_pixels_callback()` is typically called at a rate less than `canvas_instructions_callback()`, so the annotation update rate is typically less than the image frame rate.
301+
298302
On Android this is an alternative to analyze_pixels_callback(), it is used for Android only analysis packages.
299303
```
300304
def analyze_imageproxy_callback(self, image_proxy, image_pos,

0 commit comments

Comments
 (0)