Skip to content

Commit

Permalink
debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
timmarkhuff committed Sep 3, 2024
1 parent d3f8fff commit ec421f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/framegrab/grabber.py
Original file line number Diff line number Diff line change
Expand Up @@ -690,7 +690,7 @@ def _grab_implementation(self) -> np.ndarray:
# Buffer can be set as low as 1, but even still, if we simply read once, we will get the buffered (stale) frame.
# Assuming buffer size of 1, we need to read twice to get the current frame.
t1 = time.time()
for _ in range(2):
for _ in range(1):
t1_inner = time.time()
_, frame = self.capture.read()
t2_inner = time.time()
Expand Down

0 comments on commit ec421f3

Please sign in to comment.