aboutsummaryrefslogtreecommitdiff
path: root/21.02/_n_m_s_8hpp_source.xhtml
blob: af2a9dc4331ee142eee3eb20035723a7d64c12ad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
<!-- Copyright (c) 2020 ARM Limited. -->
<!--                                 -->
<!-- SPDX-License-Identifier: MIT    -->
<!--                                 -->
<!-- HTML header for doxygen 1.8.13-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="robots" content="NOINDEX, NOFOLLOW" />
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>ArmNN: tests/TfLiteYoloV3Big-Armnn/NMS.hpp Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/x-mathjax-config">
  MathJax.Hub.Config({
    extensions: ["tex2jax.js"],
    jax: ["input/TeX","output/HTML-CSS"],
});
</script><script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="stylesheet.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <img alt="ArmNN" src="Arm_NN_horizontal_blue.png" style="max-width: 10rem; margin-top: .5rem; margin-left 10px"/>
  <td style="padding-left: 0.5em;">
   <div id="projectname">
   &#160;<span id="projectnumber">21.02</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('_n_m_s_8hpp_source.xhtml','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">NMS.hpp</div>  </div>
</div><!--header-->
<div class="contents">
<a href="_n_m_s_8hpp.xhtml">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">//</span></div><div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment">// Copyright © 2020 Arm Ltd. All rights reserved.</span></div><div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment">// SPDX-License-Identifier: MIT</span></div><div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment">//</span></div><div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;</div><div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="preprocessor">#pragma once</span></div><div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;</div><div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="preprocessor">#include &lt;ostream&gt;</span></div><div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="preprocessor">#include &lt;vector&gt;</span></div><div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;</div><div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespaceyolov3.xhtml">yolov3</a> {<span class="comment"></span></div><div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="comment">/** Non Maxima Suprresion configuration meta-data */</span></div><div class="line"><a name="l00013"></a><span class="lineno"><a class="line" href="structyolov3_1_1_n_m_s_config.xhtml">   13</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structyolov3_1_1_n_m_s_config.xhtml">NMSConfig</a> {</div><div class="line"><a name="l00014"></a><span class="lineno"><a class="line" href="structyolov3_1_1_n_m_s_config.xhtml#ae82414d4f3be497637c3456351a19c03">   14</a></span>&#160;    <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="structyolov3_1_1_n_m_s_config.xhtml#ae82414d4f3be497637c3456351a19c03">num_classes</a>{0};      <span class="comment">/**&lt; Number of classes in the detected boxes */</span></div><div class="line"><a name="l00015"></a><span class="lineno"><a class="line" href="structyolov3_1_1_n_m_s_config.xhtml#a69e5cb89b98e22ca17e8a7d3d8aef10a">   15</a></span>&#160;    <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="structyolov3_1_1_n_m_s_config.xhtml#a69e5cb89b98e22ca17e8a7d3d8aef10a">num_boxes</a>{0};        <span class="comment">/**&lt; Number of detected boxes */</span></div><div class="line"><a name="l00016"></a><span class="lineno"><a class="line" href="structyolov3_1_1_n_m_s_config.xhtml#a4e90aada4569ce7e2b3e41649cfdc3f8">   16</a></span>&#160;    <span class="keywordtype">float</span> <a class="code" href="structyolov3_1_1_n_m_s_config.xhtml#a4e90aada4569ce7e2b3e41649cfdc3f8">confidence_threshold</a>{0.8f}; <span class="comment">/**&lt; Inclusion confidence threshold for a box */</span></div><div class="line"><a name="l00017"></a><span class="lineno"><a class="line" href="structyolov3_1_1_n_m_s_config.xhtml#a8f299d6494fbe8a199fed9344d10d99b">   17</a></span>&#160;    <span class="keywordtype">float</span> <a class="code" href="structyolov3_1_1_n_m_s_config.xhtml#a8f299d6494fbe8a199fed9344d10d99b">iou_threshold</a>{0.8f};        <span class="comment">/**&lt; Inclusion threshold for Intersection-Over-Union */</span></div><div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;};</div><div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="comment"></span></div><div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="comment">/** Box representation structure */</span></div><div class="line"><a name="l00021"></a><span class="lineno"><a class="line" href="structyolov3_1_1_box.xhtml">   21</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structyolov3_1_1_box.xhtml">Box</a> {</div><div class="line"><a name="l00022"></a><span class="lineno"><a class="line" href="structyolov3_1_1_box.xhtml#a058f249a5e6d20724cb0784b40a183e8">   22</a></span>&#160;    <span class="keywordtype">float</span> <a class="code" href="structyolov3_1_1_box.xhtml#a058f249a5e6d20724cb0784b40a183e8">xmin</a>;  <span class="comment">/**&lt; X-pos position of the low left coordinate */</span></div><div class="line"><a name="l00023"></a><span class="lineno"><a class="line" href="structyolov3_1_1_box.xhtml#a9c42f51718ed192ed1841a53d2b0e507">   23</a></span>&#160;    <span class="keywordtype">float</span> <a class="code" href="structyolov3_1_1_box.xhtml#a9c42f51718ed192ed1841a53d2b0e507">xmax</a>;  <span class="comment">/**&lt; X-pos position of the top right coordinate */</span></div><div class="line"><a name="l00024"></a><span class="lineno"><a class="line" href="structyolov3_1_1_box.xhtml#a5c6190dc7aa1bd7aafb9592a64f7046d">   24</a></span>&#160;    <span class="keywordtype">float</span> <a class="code" href="structyolov3_1_1_box.xhtml#a5c6190dc7aa1bd7aafb9592a64f7046d">ymin</a>;  <span class="comment">/**&lt; Y-pos position of the low left coordinate */</span></div><div class="line"><a name="l00025"></a><span class="lineno"><a class="line" href="structyolov3_1_1_box.xhtml#acee1a082369857c7ee64924a0d9bc706">   25</a></span>&#160;    <span class="keywordtype">float</span> <a class="code" href="structyolov3_1_1_box.xhtml#acee1a082369857c7ee64924a0d9bc706">ymax</a>;  <span class="comment">/**&lt; Y-pos position of the top right coordinate */</span></div><div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;};</div><div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;<span class="comment"></span></div><div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;<span class="comment">/** Detection structure */</span></div><div class="line"><a name="l00029"></a><span class="lineno"><a class="line" href="structyolov3_1_1_detection.xhtml">   29</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structyolov3_1_1_detection.xhtml">Detection</a> {</div><div class="line"><a name="l00030"></a><span class="lineno"><a class="line" href="structyolov3_1_1_detection.xhtml#ab19e728e80bc2fc43d8e82c3602f8333">   30</a></span>&#160;    <a class="code" href="structyolov3_1_1_box.xhtml">Box</a> <a class="code" href="structyolov3_1_1_detection.xhtml#ab19e728e80bc2fc43d8e82c3602f8333">box</a>;                    <span class="comment">/**&lt; Detection box */</span></div><div class="line"><a name="l00031"></a><span class="lineno"><a class="line" href="structyolov3_1_1_detection.xhtml#a058b8558da894ebfbef73d1a9b57deaa">   31</a></span>&#160;    <span class="keywordtype">float</span> <a class="code" href="structyolov3_1_1_detection.xhtml#a058b8558da894ebfbef73d1a9b57deaa">confidence</a>;           <span class="comment">/**&lt; Confidence of detection */</span></div><div class="line"><a name="l00032"></a><span class="lineno"><a class="line" href="structyolov3_1_1_detection.xhtml#a1ceea7e0cd778a72b2a6e1ffe886d407">   32</a></span>&#160;    std::vector&lt;float&gt; <a class="code" href="structyolov3_1_1_detection.xhtml#a1ceea7e0cd778a72b2a6e1ffe886d407">classes</a>; <span class="comment">/**&lt; Probability of classes */</span></div><div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;};</div><div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;<span class="comment"></span></div><div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;<span class="comment">/** Print identified yolo detections</span></div><div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;<span class="comment"> * @param[in, out] os          Output stream to print to</span></div><div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;<span class="comment"> * @param[in]      detections  Detections to print</span></div><div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;<span class="comment"> */</span></div><div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;<span class="keywordtype">void</span> <a class="code" href="namespaceyolov3.xhtml#a8151de4c14e5e853818753516cb87c26">print_detection</a>(std::ostream&amp; os,</div><div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;                     <span class="keyword">const</span> std::vector&lt;Detection&gt;&amp; detections);</div><div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;<span class="comment"></span></div><div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;<span class="comment">/** Compare a detection object with a vector of float values</span></div><div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;<span class="comment"> * @param detection [in] Detection object</span></div><div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;<span class="comment"> * @param expected  [in] Vector of expected float values</span></div><div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;<span class="comment"> * @return Boolean to represent if they match or not</span></div><div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;<span class="comment"> */</span></div><div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;<span class="keywordtype">bool</span> <a class="code" href="namespaceyolov3.xhtml#a81be14d2d01feb34d4d9a84f52121ea6">compare_detection</a>(<span class="keyword">const</span> <a class="code" href="structyolov3_1_1_detection.xhtml">yolov3::Detection</a>&amp; detection,</div><div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;                       <span class="keyword">const</span> std::vector&lt;float&gt;&amp; expected);</div><div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;<span class="comment"></span></div><div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;<span class="comment">/** Perform Non-Maxima Supression on a list of given detections</span></div><div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;<span class="comment"> * @param[in] config         Configuration metadata for NMS</span></div><div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;<span class="comment"> * @param[in] detected_boxes Detected boxes</span></div><div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;<span class="comment"> * @return A vector with the final detections</span></div><div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;<span class="comment"> */</span></div><div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;std::vector&lt;Detection&gt; <a class="code" href="namespaceyolov3.xhtml#a7cf18c5c3391effbaf3234792876cd52">nms</a>(<span class="keyword">const</span> <a class="code" href="structyolov3_1_1_n_m_s_config.xhtml">NMSConfig</a>&amp; config,</div><div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;                           <span class="keyword">const</span> std::vector&lt;float&gt;&amp; detected_boxes);</div><div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;} <span class="comment">// namespace yolov3</span></div><div class="ttc" id="structyolov3_1_1_detection_xhtml_a058b8558da894ebfbef73d1a9b57deaa"><div class="ttname"><a href="structyolov3_1_1_detection.xhtml#a058b8558da894ebfbef73d1a9b57deaa">yolov3::Detection::confidence</a></div><div class="ttdeci">float confidence</div><div class="ttdoc">Confidence of detection. </div><div class="ttdef"><b>Definition:</b> <a href="_n_m_s_8hpp_source.xhtml#l00031">NMS.hpp:31</a></div></div>
<div class="ttc" id="structyolov3_1_1_box_xhtml_a5c6190dc7aa1bd7aafb9592a64f7046d"><div class="ttname"><a href="structyolov3_1_1_box.xhtml#a5c6190dc7aa1bd7aafb9592a64f7046d">yolov3::Box::ymin</a></div><div class="ttdeci">float ymin</div><div class="ttdoc">Y-pos position of the low left coordinate. </div><div class="ttdef"><b>Definition:</b> <a href="_n_m_s_8hpp_source.xhtml#l00024">NMS.hpp:24</a></div></div>
<div class="ttc" id="structyolov3_1_1_n_m_s_config_xhtml_a69e5cb89b98e22ca17e8a7d3d8aef10a"><div class="ttname"><a href="structyolov3_1_1_n_m_s_config.xhtml#a69e5cb89b98e22ca17e8a7d3d8aef10a">yolov3::NMSConfig::num_boxes</a></div><div class="ttdeci">unsigned int num_boxes</div><div class="ttdoc">Number of detected boxes. </div><div class="ttdef"><b>Definition:</b> <a href="_n_m_s_8hpp_source.xhtml#l00015">NMS.hpp:15</a></div></div>
<div class="ttc" id="namespaceyolov3_xhtml"><div class="ttname"><a href="namespaceyolov3.xhtml">yolov3</a></div><div class="ttdef"><b>Definition:</b> <a href="_n_m_s_8cpp_source.xhtml#l00015">NMS.cpp:15</a></div></div>
<div class="ttc" id="structyolov3_1_1_box_xhtml_a058f249a5e6d20724cb0784b40a183e8"><div class="ttname"><a href="structyolov3_1_1_box.xhtml#a058f249a5e6d20724cb0784b40a183e8">yolov3::Box::xmin</a></div><div class="ttdeci">float xmin</div><div class="ttdoc">X-pos position of the low left coordinate. </div><div class="ttdef"><b>Definition:</b> <a href="_n_m_s_8hpp_source.xhtml#l00022">NMS.hpp:22</a></div></div>
<div class="ttc" id="structyolov3_1_1_box_xhtml_a9c42f51718ed192ed1841a53d2b0e507"><div class="ttname"><a href="structyolov3_1_1_box.xhtml#a9c42f51718ed192ed1841a53d2b0e507">yolov3::Box::xmax</a></div><div class="ttdeci">float xmax</div><div class="ttdoc">X-pos position of the top right coordinate. </div><div class="ttdef"><b>Definition:</b> <a href="_n_m_s_8hpp_source.xhtml#l00023">NMS.hpp:23</a></div></div>
<div class="ttc" id="namespaceyolov3_xhtml_a8151de4c14e5e853818753516cb87c26"><div class="ttname"><a href="namespaceyolov3.xhtml#a8151de4c14e5e853818753516cb87c26">yolov3::print_detection</a></div><div class="ttdeci">void print_detection(std::ostream &amp;os, const std::vector&lt; Detection &gt; &amp;detections)</div><div class="ttdoc">Print identified yolo detections. </div><div class="ttdef"><b>Definition:</b> <a href="_n_m_s_8cpp_source.xhtml#l00096">NMS.cpp:96</a></div></div>
<div class="ttc" id="structyolov3_1_1_detection_xhtml"><div class="ttname"><a href="structyolov3_1_1_detection.xhtml">yolov3::Detection</a></div><div class="ttdoc">Detection structure. </div><div class="ttdef"><b>Definition:</b> <a href="_n_m_s_8hpp_source.xhtml#l00029">NMS.hpp:29</a></div></div>
<div class="ttc" id="structyolov3_1_1_detection_xhtml_a1ceea7e0cd778a72b2a6e1ffe886d407"><div class="ttname"><a href="structyolov3_1_1_detection.xhtml#a1ceea7e0cd778a72b2a6e1ffe886d407">yolov3::Detection::classes</a></div><div class="ttdeci">std::vector&lt; float &gt; classes</div><div class="ttdoc">Probability of classes. </div><div class="ttdef"><b>Definition:</b> <a href="_n_m_s_8hpp_source.xhtml#l00032">NMS.hpp:32</a></div></div>
<div class="ttc" id="structyolov3_1_1_detection_xhtml_ab19e728e80bc2fc43d8e82c3602f8333"><div class="ttname"><a href="structyolov3_1_1_detection.xhtml#ab19e728e80bc2fc43d8e82c3602f8333">yolov3::Detection::box</a></div><div class="ttdeci">Box box</div><div class="ttdoc">Detection box. </div><div class="ttdef"><b>Definition:</b> <a href="_n_m_s_8hpp_source.xhtml#l00030">NMS.hpp:30</a></div></div>
<div class="ttc" id="structyolov3_1_1_box_xhtml"><div class="ttname"><a href="structyolov3_1_1_box.xhtml">yolov3::Box</a></div><div class="ttdoc">Box representation structure. </div><div class="ttdef"><b>Definition:</b> <a href="_n_m_s_8hpp_source.xhtml#l00021">NMS.hpp:21</a></div></div>
<div class="ttc" id="structyolov3_1_1_box_xhtml_acee1a082369857c7ee64924a0d9bc706"><div class="ttname"><a href="structyolov3_1_1_box.xhtml#acee1a082369857c7ee64924a0d9bc706">yolov3::Box::ymax</a></div><div class="ttdeci">float ymax</div><div class="ttdoc">Y-pos position of the top right coordinate. </div><div class="ttdef"><b>Definition:</b> <a href="_n_m_s_8hpp_source.xhtml#l00025">NMS.hpp:25</a></div></div>
<div class="ttc" id="structyolov3_1_1_n_m_s_config_xhtml_a8f299d6494fbe8a199fed9344d10d99b"><div class="ttname"><a href="structyolov3_1_1_n_m_s_config.xhtml#a8f299d6494fbe8a199fed9344d10d99b">yolov3::NMSConfig::iou_threshold</a></div><div class="ttdeci">float iou_threshold</div><div class="ttdoc">Inclusion threshold for Intersection-Over-Union. </div><div class="ttdef"><b>Definition:</b> <a href="_n_m_s_8hpp_source.xhtml#l00017">NMS.hpp:17</a></div></div>
<div class="ttc" id="namespaceyolov3_xhtml_a7cf18c5c3391effbaf3234792876cd52"><div class="ttname"><a href="namespaceyolov3.xhtml#a7cf18c5c3391effbaf3234792876cd52">yolov3::nms</a></div><div class="ttdeci">std::vector&lt; Detection &gt; nms(const NMSConfig &amp;config, const std::vector&lt; float &gt; &amp;detected_boxes)</div><div class="ttdoc">Perform Non-Maxima Supression on a list of given detections. </div><div class="ttdef"><b>Definition:</b> <a href="_n_m_s_8cpp_source.xhtml#l00113">NMS.cpp:113</a></div></div>
<div class="ttc" id="structyolov3_1_1_n_m_s_config_xhtml"><div class="ttname"><a href="structyolov3_1_1_n_m_s_config.xhtml">yolov3::NMSConfig</a></div><div class="ttdoc">Non Maxima Suprresion configuration meta-data. </div><div class="ttdef"><b>Definition:</b> <a href="_n_m_s_8hpp_source.xhtml#l00013">NMS.hpp:13</a></div></div>
<div class="ttc" id="structyolov3_1_1_n_m_s_config_xhtml_a4e90aada4569ce7e2b3e41649cfdc3f8"><div class="ttname"><a href="structyolov3_1_1_n_m_s_config.xhtml#a4e90aada4569ce7e2b3e41649cfdc3f8">yolov3::NMSConfig::confidence_threshold</a></div><div class="ttdeci">float confidence_threshold</div><div class="ttdoc">Inclusion confidence threshold for a box. </div><div class="ttdef"><b>Definition:</b> <a href="_n_m_s_8hpp_source.xhtml#l00016">NMS.hpp:16</a></div></div>
<div class="ttc" id="namespaceyolov3_xhtml_a81be14d2d01feb34d4d9a84f52121ea6"><div class="ttname"><a href="namespaceyolov3.xhtml#a81be14d2d01feb34d4d9a84f52121ea6">yolov3::compare_detection</a></div><div class="ttdeci">bool compare_detection(const yolov3::Detection &amp;detection, const std::vector&lt; float &gt; &amp;expected)</div><div class="ttdoc">Compare a detection object with a vector of float values. </div><div class="ttdef"><b>Definition:</b> <a href="_n_m_s_8cpp_source.xhtml#l00084">NMS.cpp:84</a></div></div>
<div class="ttc" id="structyolov3_1_1_n_m_s_config_xhtml_ae82414d4f3be497637c3456351a19c03"><div class="ttname"><a href="structyolov3_1_1_n_m_s_config.xhtml#ae82414d4f3be497637c3456351a19c03">yolov3::NMSConfig::num_classes</a></div><div class="ttdeci">unsigned int num_classes</div><div class="ttdoc">Number of classes in the detected boxes. </div><div class="ttdef"><b>Definition:</b> <a href="_n_m_s_8hpp_source.xhtml#l00014">NMS.hpp:14</a></div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_59425e443f801f1f2fd8bbe4959a3ccf.xhtml">tests</a></li><li class="navelem"><a class="el" href="dir_b7046834333ec325d3a0c415e99d3f12.xhtml">TfLiteYoloV3Big-Armnn</a></li><li class="navelem"><a class="el" href="_n_m_s_8hpp.xhtml">NMS.hpp</a></li>
    <li class="footer">Generated on Fri Mar 19 2021 15:26:05 for ArmNN by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
  </ul>
</div>
</body>
</html>