You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 14, 2023. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+3-2Lines changed: 3 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -491,7 +491,8 @@ The api has a builtin mechanism so that images are analyzed only when the previo
491
491
Conversely, you can explicitly decrease the analysis frame rate without changing anything else using a flag set using Kivy Clock. Clock rates close to the actual analyze rate will exhibit jitter. For example for a one second analyze interval:
492
492
493
493
```python
494
-
Clock.schedule_interval(self.analyze_filter,60)
494
+
self.enable_analyze_frame =True
495
+
Clock.schedule_interval(self.analyze_filter,60)
495
496
496
497
defanalyze_filter(self, dt):
497
498
self.enable_analyze_frame =True
@@ -500,7 +501,7 @@ Conversely, you can explicitly decrease the analysis frame rate without changing
500
501
scale, mirror):
501
502
ifself.enable_analyze_frame:
502
503
self.enable_analyze_frame =False
503
-
#add usual analyse code inside if block
504
+
#place usual analyse code inside this if block
504
505
```
505
506
One could modify this in various ways, for example a single sample after some delay.
0 commit comments