Skip to content

Commit

Permalink
Merge pull request #2 from karaage0703/20201011_fix_typo
Browse files Browse the repository at this point in the history
Fix typo
  • Loading branch information
Kazuhito00 authored Oct 11, 2020
2 parents cc7ed99 + fdf5917 commit acc3fdb
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 acc3fdb

Please sign in to comment.