We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c55822b commit 3ad926eCopy full SHA for 3ad926e
app/gear.py
@@ -50,7 +50,7 @@ def addToStream(x):
50
def shouldTakeFrame(x):
51
global framesToDrop
52
framesToDrop += 1
53
- return framesToDrop % 5 == 0
+ return framesToDrop % 10 == 0
54
55
def passAll(x):
56
redisgears.executeCommand('xadd', 'all', 'MAXLEN', '~', '1000', '*', 'image', 'data:image/jpeg;base64,' + base64.b64encode(x['img']))
0 commit comments