-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathInterHand_8hpp_source.html
94 lines (92 loc) · 14.4 KB
/
InterHand_8hpp_source.html
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
<!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="viewport" content="width=device-width, initial-scale=1"/>
<title>kNOw SIGN: src/InterHand.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="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>
<link href="doxygen.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;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">kNOw SIGN
</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>
<!-- 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 id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle">
<div class="title">InterHand.hpp</div> </div>
</div><!--header-->
<div class="contents">
<a href="InterHand_8hpp.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="preprocessor">#include <opencv2/imgproc/imgproc.hpp></span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="preprocessor">#include <opencv2/opencv.hpp></span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="preprocessor">#include <vector></span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="preprocessor">#include <string></span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="preprocessor">#include "<a class="code" href="FrameGen_8hpp.html">FrameGen.hpp</a>"</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="preprocessor">#include "<a class="code" href="main_8hpp.html">main.hpp</a>"</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span> </div><div class="line"><a name="l00014"></a><span class="lineno"><a class="line" href="classInterHand.html"> 14</a></span> <span class="keyword">class </span><a class="code" href="classInterHand.html">InterHand</a>{</div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span>  <span class="keyword">public</span>:</div><div class="line"><a name="l00016"></a><span class="lineno"><a class="line" href="classInterHand.html#a136e1699504597176fca533f663e9681"> 16</a></span>  <a class="code" href="classFrameGen.html">FrameGen</a> <a class="code" href="classInterHand.html#a136e1699504597176fca533f663e9681">m</a>;</div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span>  <a class="code" href="classInterHand.html#a8fd23f52ca3716d11727c4c8d1c0a6ce">InterHand</a>();</div><div class="line"><a name="l00018"></a><span class="lineno"><a class="line" href="classInterHand.html#a0f74795c1eda45b994053f26ef22431f"> 18</a></span>  std::vector<std::vector<cv::Point> > <a class="code" href="classInterHand.html#a0f74795c1eda45b994053f26ef22431f">contours</a>;</div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span> </div><div class="line"><a name="l00020"></a><span class="lineno"><a class="line" href="classInterHand.html#abf887236563ad99fcdf9680505dbcee3"> 20</a></span>  cv::Rect <a class="code" href="classInterHand.html#abf887236563ad99fcdf9680505dbcee3">rect</a>;</div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span>  </div><div class="line"><a name="l00022"></a><span class="lineno"><a class="line" href="classInterHand.html#a3b2c164aef28efe481bb16a0029add6d"> 22</a></span>  <span class="keywordtype">int</span> <a class="code" href="classInterHand.html#a3b2c164aef28efe481bb16a0029add6d">cIdx</a>;</div><div class="line"><a name="l00023"></a><span class="lineno"><a class="line" href="classInterHand.html#ac13447c7b219cd11bc12507989c4b41c"> 23</a></span>  <span class="keywordtype">int</span> <a class="code" href="classInterHand.html#ac13447c7b219cd11bc12507989c4b41c">frameNumber</a>;</div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span>  </div><div class="line"><a name="l00025"></a><span class="lineno"><a class="line" href="classInterHand.html#abbd0052ecd47d27c335549d837a7bd2a"> 25</a></span>  cv::Rect <a class="code" href="classInterHand.html#abbd0052ecd47d27c335549d837a7bd2a">bRect</a>;</div><div class="line"><a name="l00026"></a><span class="lineno"><a class="line" href="classInterHand.html#aac95c13e1f1f3aec8bb3f2c1df09c371"> 26</a></span>  <span class="keywordtype">double</span> <a class="code" href="classInterHand.html#aac95c13e1f1f3aec8bb3f2c1df09c371">bRect_width</a>;</div><div class="line"><a name="l00027"></a><span class="lineno"><a class="line" href="classInterHand.html#a8f1bcce773e4292086d87627d6ffcf5c"> 27</a></span>  <span class="keywordtype">double</span> <a class="code" href="classInterHand.html#a8f1bcce773e4292086d87627d6ffcf5c">bRect_height</a>;</div><div class="line"><a name="l00028"></a><span class="lineno"><a class="line" href="classInterHand.html#ac0878ee0f12710051462a905528a1ff9"> 28</a></span>  <span class="keywordtype">bool</span> <a class="code" href="classInterHand.html#ac0878ee0f12710051462a905528a1ff9">isHand</a>;</div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span> </div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span>  <span class="keywordtype">bool</span> <a class="code" href="classInterHand.html#aed1e3dd25f07b8dd0029e697c2b9e2a4">detectIfHand</a>();</div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span> </div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span>  </div><div class="line"><a name="l00038"></a><span class="lineno"> 38</span>  </div><div class="line"><a name="l00039"></a><span class="lineno"> 39</span>  </div><div class="line"><a name="l00040"></a><span class="lineno"> 40</span>  </div><div class="line"><a name="l00041"></a><span class="lineno"> 41</span>  </div><div class="line"><a name="l00042"></a><span class="lineno"> 42</span>  <span class="keyword">private</span>:</div><div class="line"><a name="l00043"></a><span class="lineno"> 43</span>  </div><div class="line"><a name="l00044"></a><span class="lineno"><a class="line" href="classInterHand.html#acef4b33c8c1feccafd98de0382e3588e"> 44</a></span>  <span class="keywordtype">int</span> <a class="code" href="classInterHand.html#acef4b33c8c1feccafd98de0382e3588e">fontFace</a>;</div><div class="line"><a name="l00045"></a><span class="lineno"> 45</span> </div><div class="line"><a name="l00052"></a><span class="lineno"> 52</span>  <span class="keywordtype">void</span> <a class="code" href="classInterHand.html#a76b56749b6c3f0becb69d5ffc757f796">analyzeContours</a>();</div><div class="line"><a name="l00053"></a><span class="lineno"> 53</span> </div><div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  </div><div class="line"><a name="l00055"></a><span class="lineno"> 55</span> </div><div class="line"><a name="l00056"></a><span class="lineno"> 56</span> };</div><div class="line"><a name="l00057"></a><span class="lineno"> 57</span> </div><div class="line"><a name="l00058"></a><span class="lineno"> 58</span> </div><div class="line"><a name="l00059"></a><span class="lineno"> 59</span> </div><div class="line"><a name="l00060"></a><span class="lineno"> 60</span> </div><div class="line"><a name="l00061"></a><span class="lineno"> 61</span> </div><div class="ttc" id="classInterHand_html_a76b56749b6c3f0becb69d5ffc757f796"><div class="ttname"><a href="classInterHand.html#a76b56749b6c3f0becb69d5ffc757f796">InterHand::analyzeContours</a></div><div class="ttdeci">void analyzeContours()</div><div class="ttdoc">define the hand area for processing </div><div class="ttdef"><b>Definition:</b> InterHand.cpp:10</div></div>
<div class="ttc" id="classInterHand_html_a3b2c164aef28efe481bb16a0029add6d"><div class="ttname"><a href="classInterHand.html#a3b2c164aef28efe481bb16a0029add6d">InterHand::cIdx</a></div><div class="ttdeci">int cIdx</div><div class="ttdef"><b>Definition:</b> InterHand.hpp:22</div></div>
<div class="ttc" id="classInterHand_html_abbd0052ecd47d27c335549d837a7bd2a"><div class="ttname"><a href="classInterHand.html#abbd0052ecd47d27c335549d837a7bd2a">InterHand::bRect</a></div><div class="ttdeci">cv::Rect bRect</div><div class="ttdef"><b>Definition:</b> InterHand.hpp:25</div></div>
<div class="ttc" id="FrameGen_8hpp_html"><div class="ttname"><a href="FrameGen_8hpp.html">FrameGen.hpp</a></div></div>
<div class="ttc" id="classInterHand_html_a136e1699504597176fca533f663e9681"><div class="ttname"><a href="classInterHand.html#a136e1699504597176fca533f663e9681">InterHand::m</a></div><div class="ttdeci">FrameGen m</div><div class="ttdef"><b>Definition:</b> InterHand.hpp:16</div></div>
<div class="ttc" id="classInterHand_html_aed1e3dd25f07b8dd0029e697c2b9e2a4"><div class="ttname"><a href="classInterHand.html#aed1e3dd25f07b8dd0029e697c2b9e2a4">InterHand::detectIfHand</a></div><div class="ttdeci">bool detectIfHand()</div><div class="ttdoc">return the results of the hand detection </div><div class="ttdef"><b>Definition:</b> InterHand.cpp:15</div></div>
<div class="ttc" id="classInterHand_html"><div class="ttname"><a href="classInterHand.html">InterHand</a></div><div class="ttdoc">Class to handle intermediate processing of the hand detection such as hand bounding rectangle and con...</div><div class="ttdef"><b>Definition:</b> InterHand.hpp:14</div></div>
<div class="ttc" id="classInterHand_html_abf887236563ad99fcdf9680505dbcee3"><div class="ttname"><a href="classInterHand.html#abf887236563ad99fcdf9680505dbcee3">InterHand::rect</a></div><div class="ttdeci">cv::Rect rect</div><div class="ttdef"><b>Definition:</b> InterHand.hpp:20</div></div>
<div class="ttc" id="classInterHand_html_acef4b33c8c1feccafd98de0382e3588e"><div class="ttname"><a href="classInterHand.html#acef4b33c8c1feccafd98de0382e3588e">InterHand::fontFace</a></div><div class="ttdeci">int fontFace</div><div class="ttdef"><b>Definition:</b> InterHand.hpp:44</div></div>
<div class="ttc" id="classInterHand_html_a8f1bcce773e4292086d87627d6ffcf5c"><div class="ttname"><a href="classInterHand.html#a8f1bcce773e4292086d87627d6ffcf5c">InterHand::bRect_height</a></div><div class="ttdeci">double bRect_height</div><div class="ttdef"><b>Definition:</b> InterHand.hpp:27</div></div>
<div class="ttc" id="classFrameGen_html"><div class="ttname"><a href="classFrameGen.html">FrameGen</a></div><div class="ttdoc">Class for video capturing from camera module. It takes the frames from the camera and passes it to ot...</div><div class="ttdef"><b>Definition:</b> FrameGen.hpp:14</div></div>
<div class="ttc" id="classInterHand_html_ac13447c7b219cd11bc12507989c4b41c"><div class="ttname"><a href="classInterHand.html#ac13447c7b219cd11bc12507989c4b41c">InterHand::frameNumber</a></div><div class="ttdeci">int frameNumber</div><div class="ttdef"><b>Definition:</b> InterHand.hpp:23</div></div>
<div class="ttc" id="classInterHand_html_ac0878ee0f12710051462a905528a1ff9"><div class="ttname"><a href="classInterHand.html#ac0878ee0f12710051462a905528a1ff9">InterHand::isHand</a></div><div class="ttdeci">bool isHand</div><div class="ttdef"><b>Definition:</b> InterHand.hpp:28</div></div>
<div class="ttc" id="main_8hpp_html"><div class="ttname"><a href="main_8hpp.html">main.hpp</a></div></div>
<div class="ttc" id="classInterHand_html_a0f74795c1eda45b994053f26ef22431f"><div class="ttname"><a href="classInterHand.html#a0f74795c1eda45b994053f26ef22431f">InterHand::contours</a></div><div class="ttdeci">std::vector< std::vector< cv::Point > > contours</div><div class="ttdef"><b>Definition:</b> InterHand.hpp:18</div></div>
<div class="ttc" id="classInterHand_html_aac95c13e1f1f3aec8bb3f2c1df09c371"><div class="ttname"><a href="classInterHand.html#aac95c13e1f1f3aec8bb3f2c1df09c371">InterHand::bRect_width</a></div><div class="ttdeci">double bRect_width</div><div class="ttdef"><b>Definition:</b> InterHand.hpp:26</div></div>
<div class="ttc" id="classInterHand_html_a8fd23f52ca3716d11727c4c8d1c0a6ce"><div class="ttname"><a href="classInterHand.html#a8fd23f52ca3716d11727c4c8d1c0a6ce">InterHand::InterHand</a></div><div class="ttdeci">InterHand()</div><div class="ttdef"><b>Definition:</b> InterHand.cpp:4</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by  <a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.13
</small></address>
</body>
</html>