Skip to content

Commit

Permalink
YOLO output filtering inserted.
Browse files Browse the repository at this point in the history
  • Loading branch information
sergiomsilva committed Nov 5, 2018
1 parent 1ddeb71 commit a4fda91
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions vehicle-detection.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@

R = detect(vehicle_net, vehicle_meta, img_path ,thresh=vehicle_threshold)

R = [r for r in R if r[0] in ['car','bus']]

print '\t\t%d cars found' % len(R)

if len(R):
Expand Down

0 comments on commit a4fda91

Please sign in to comment.