Ring lab phone page: stream size and fps, decode time, save a raw video frame; bench FPS option

This commit is contained in:
2026-11-17 13:56:42 +01:00
parent 3c1f897f7a
commit 7765f22f61
3 changed files with 28 additions and 4 deletions
+2 -1
View File
@@ -136,7 +136,8 @@ def neg_trials(n):
def seqs(n):
r = random.Random(47)
out = []
for d, contrast, fps in itertools.product([60, 70, 80, 100, 120, 150], [0.45, 0.3], [15, 7]):
fpss = [int(x) for x in os.environ.get("FPS", "15,7").split(",")]
for d, contrast, fps in itertools.product([60, 70, 80, 100, 120, 150], [0.45, 0.3], fpss):
for _ in range(n):
s = camera(r, d, contrast, r.choice([0.7, 1.5]), 1920)
iv = int(os.environ.get("IV", "500"))