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

Commit b3fe0b5

Browse files
committed
Update README.md
1 parent 229a7a2 commit b3fe0b5

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -491,7 +491,8 @@ The api has a builtin mechanism so that images are analyzed only when the previo
491491
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:
492492

493493
```python
494-
Clock.schedule_interval(self.analyze_filter,60)
494+
self.enable_analyze_frame = True
495+
Clock.schedule_interval(self.analyze_filter,60)
495496

496497
def analyze_filter(self, dt):
497498
self.enable_analyze_frame = True
@@ -500,7 +501,7 @@ Conversely, you can explicitly decrease the analysis frame rate without changing
500501
scale, mirror):
501502
if self.enable_analyze_frame:
502503
self.enable_analyze_frame = False
503-
# add usual analyse code inside if block
504+
# place usual analyse code inside this if block
504505
```
505506
One could modify this in various ways, for example a single sample after some delay.
506507

0 commit comments

Comments
 (0)