Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
karaage0703 committed Oct 10, 2020
1 parent cc7ed99 commit fdf5917
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions simple_demo.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def main():
cap_width = args.width
cap_height = args.height
fps = args.fps
frame_skip = args.frame_skip
skip_frame = args.skip_frame

model_path = args.model
score_th = args.score_th
Expand Down Expand Up @@ -83,7 +83,7 @@ def main():
debug_image = copy.deepcopy(frame)

frame_count += 1
if (frame_count % (frame_skip + 1)) != 0:
if (frame_count % (skip_frame + 1)) != 0:
continue

# 検出実施 #############################################################
Expand Down
4 changes: 2 additions & 2 deletions simple_tflite_demo.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def main():
cap_width = args.width
cap_height = args.height
fps = args.fps
frame_skip = args.frame_skip
skip_frame = args.skip_frame

model_path = args.model
score_th = args.score_th
Expand Down Expand Up @@ -102,7 +102,7 @@ def main():
debug_image = copy.deepcopy(frame)

frame_count += 1
if (frame_count % (frame_skip + 1)) != 0:
if (frame_count % (skip_frame + 1)) != 0:
continue

# 検出実施 #############################################################
Expand Down

0 comments on commit fdf5917

Please sign in to comment.