Mercurial > repos > greg > yolo
comparison yolo.xml @ 16:9ff212b691b5 draft
Uploaded
author | greg |
---|---|
date | Tue, 17 Oct 2017 11:20:19 -0400 |
parents | d88ebe9130f3 |
children | 7328540fd212 |
comparison
equal
deleted
inserted
replaced
15:d88ebe9130f3 | 16:9ff212b691b5 |
---|---|
12 #set full_name = $i.name | 12 #set full_name = $i.name |
13 #set head = $full_name.split('.')[0] | 13 #set head = $full_name.split('.')[0] |
14 #set output_filename = "%s_predictions.png" % $head | 14 #set output_filename = "%s_predictions.png" % $head |
15 ln -s $input_filename input_dir/$full_name && | 15 ln -s $input_filename input_dir/$full_name && |
16 darknet detect cfg/yolo.cfg yolo.weights 'input_dir/$full_name' -thresh $thresh 2> /dev/null && | 16 darknet detect cfg/yolo.cfg yolo.weights 'input_dir/$full_name' -thresh $thresh 2> /dev/null && |
17 mv ./predictions.png output_dir/$output_filename | 17 mv ./predictions.png output_dir/$output_filename && |
18 #end for | 18 #end for |
19 ]]></command> | 19 ]]></command> |
20 <inputs> | 20 <inputs> |
21 <param name="input" format="jpg" type="data_collection" collection_type="list" label="Collection of image files" /> | 21 <param name="input" format="jpg" type="data_collection" collection_type="list" label="Collection of image files" /> |
22 <param name="thresh" type="float" value="0.25" label="Object detection threshold" /> | 22 <param name="thresh" type="float" value="0.25" label="Object detection threshold" /> |