changeset 6:4ce4a3586612 draft

Uploaded
author greg
date Fri, 13 Oct 2017 11:14:41 -0400
parents 082207e70b34
children bf7605fdba9c
files yolo.xml
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/yolo.xml	Fri Oct 13 11:10:51 2017 -0400
+++ b/yolo.xml	Fri Oct 13 11:14:41 2017 -0400
@@ -5,11 +5,12 @@
     </requirements>
     <command detect_errors="exit_code"><![CDATA[
     cp -R /home/greg/_conda/envs/__darknet@1.0/bin/* . &&
-darknet detect cfg/yolo.cfg yolo.weights '$input' 2> $output_log
+darknet detect cfg/yolo.cfg yolo.weights '$input' -thresh $thresh 2> $output_log
 && mv ./predictions.png $output
     ]]></command>
     <inputs>
         <param name="input" type="data" format="jpg" label="Select input image" />
+        <param name="thresh" type="float" value="0.25" label="Object detection threshold" />
     </inputs>
     <outputs>
         <data name="output_log" format="txt" label="${tool.name} darknet output log) on ${on_string}" />