Skip to content

Commit

Permalink
Removed unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
jgfranco17 committed Jul 9, 2023
1 parent 6a1da74 commit 9f27518
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion torchcam/camera.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ def run(self) -> None:
try:
while self.is_running:
frame_start_time = perf_counter()
ret, frame = self.camera.read()
_, frame = self.camera.read()
display_frame = self.estimator.colormap(frame) if self.estimator.live_render else frame
frame_end_time = perf_counter()
fps = round(1 / (frame_end_time - frame_start_time))
Expand Down

0 comments on commit 9f27518

Please sign in to comment.