Ring lab phone page: stream size and fps, decode time, save a raw video frame; bench FPS option
This commit is contained in:
+2
-1
@@ -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"))
|
||||
|
||||
Reference in New Issue
Block a user