0
|
1 <tool id="yolo" name="YOLO" version="1.0">
|
|
2 <description>real-time object detection</description>
|
|
3 <requirements>
|
|
4 <requirement type="package" version="1.0">darknet</requirement>
|
|
5 </requirements>
|
|
6 <command detect_errors="exit_code"><![CDATA[
|
3
|
7 cp -R /home/greg/_conda/envs/__darknet@1.0/bin/* . &&
|
6
|
8 darknet detect cfg/yolo.cfg yolo.weights '$input' -thresh $thresh 2> $output_log
|
0
|
9 && mv ./predictions.png $output
|
|
10 ]]></command>
|
|
11 <inputs>
|
7
|
12 <param name="input" type="data" format="jpg,png" label="Select input image" />
|
6
|
13 <param name="thresh" type="float" value="0.25" label="Object detection threshold" />
|
0
|
14 </inputs>
|
|
15 <outputs>
|
|
16 <data name="output_log" format="txt" label="${tool.name} darknet output log) on ${on_string}" />
|
|
17 <data name="output" format="png"/>
|
|
18 </outputs>
|
|
19 <tests>
|
|
20 <test>
|
|
21 </test>
|
|
22 </tests>
|
|
23 <help>
|
|
24 **What it does**
|
|
25
|
|
26 You only look once (YOLO) is a state-of-the-art, real-time object detection system.
|
|
27
|
|
28 -----
|
|
29
|
|
30 **Options**
|
|
31
|
|
32 </help>
|
|
33 <citations>
|
|
34 <citation type="bibtex">
|
|
35 @misc{darknet13,
|
|
36 author = {Joseph Redmon},
|
|
37 title = {Darknet: Open Source Neural Networks in C},
|
|
38 url = {http://pjreddie.com/darknet/},
|
|
39 year = {2013--2016}}
|
|
40 </citation>
|
|
41 <citation type="bibtex">
|
|
42 @article{redmon2016yolo9000,
|
|
43 title={YOLO9000: Better, Faster, Stronger},
|
|
44 author={Redmon, Joseph and Farhadi, Ali},
|
|
45 journal={arXiv preprint arXiv:1612.08242},
|
|
46 year={2016}}
|
|
47 </citation>
|
|
48 </citations>
|
|
49 </tool>
|