<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Hand detection using openCV</title>
	<atom:link href="http://www.andol.info/hci/830.htm/feed" rel="self" type="application/rss+xml" />
	<link>http://www.andol.info/hci/830.htm</link>
	<description>Just value your mind</description>
	<lastBuildDate>Thu, 09 Feb 2012 10:55:27 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: anil</title>
		<link>http://www.andol.info/hci/830.htm/comment-page-2#comment-4742</link>
		<dc:creator>anil</dc:creator>
		<pubDate>Sun, 22 Jan 2012 08:38:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.andol.info/?p=830#comment-4742</guid>
		<description>@andol
we r developing a virtual keyboard..
we want 2 give keypress interrupt to system whenever a particular hand gesture take place....
we used sendKey method in C#..
we r developing our project in C#..
will u plz tell us how exactly do it(keypress)..</description>
		<content:encoded><![CDATA[<p>@andol<br />
we r developing a virtual keyboard..<br />
we want 2 give keypress interrupt to system whenever a particular hand gesture take place&#8230;.<br />
we used sendKey method in C#..<br />
we r developing our project in C#..<br />
will u plz tell us how exactly do it(keypress)..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andol</title>
		<link>http://www.andol.info/hci/830.htm/comment-page-2#comment-4053</link>
		<dc:creator>Andol</dc:creator>
		<pubDate>Wed, 21 Dec 2011 15:37:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.andol.info/?p=830#comment-4053</guid>
		<description>@spiffy
have you got different gestures for left and right click operations?</description>
		<content:encoded><![CDATA[<p>@spiffy<br />
have you got different gestures for left and right click operations?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: spiffy</title>
		<link>http://www.andol.info/hci/830.htm/comment-page-2#comment-4050</link>
		<dc:creator>spiffy</dc:creator>
		<pubDate>Wed, 21 Dec 2011 14:37:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.andol.info/?p=830#comment-4050</guid>
		<description>hi andol 
    when will you reply me??</description>
		<content:encoded><![CDATA[<p>hi andol<br />
    when will you reply me??</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: spiffy</title>
		<link>http://www.andol.info/hci/830.htm/comment-page-2#comment-3919</link>
		<dc:creator>spiffy</dc:creator>
		<pubDate>Sat, 17 Dec 2011 16:31:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.andol.info/?p=830#comment-3919</guid>
		<description>i am using c++ language</description>
		<content:encoded><![CDATA[<p>i am using c++ language</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andol</title>
		<link>http://www.andol.info/hci/830.htm/comment-page-1#comment-3897</link>
		<dc:creator>Andol</dc:creator>
		<pubDate>Fri, 16 Dec 2011 19:23:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.andol.info/?p=830#comment-3897</guid>
		<description>@spiffy
there needs two distinguishable gestures that are associated with left and right click. In that case, left and right clicks may need two other finger gestures, such like bending a finger.</description>
		<content:encoded><![CDATA[<p>@spiffy<br />
there needs two distinguishable gestures that are associated with left and right click. In that case, left and right clicks may need two other finger gestures, such like bending a finger.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andol</title>
		<link>http://www.andol.info/hci/830.htm/comment-page-2#comment-3896</link>
		<dc:creator>Andol</dc:creator>
		<pubDate>Fri, 16 Dec 2011 19:20:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.andol.info/?p=830#comment-3896</guid>
		<description>@Spiffy
hi Spiffy, can I ask what programme languages do you use in your project, since there are slightly differences of  pointer position control by using c, c++, c# or java.
cheers</description>
		<content:encoded><![CDATA[<p>@Spiffy<br />
hi Spiffy, can I ask what programme languages do you use in your project, since there are slightly differences of  pointer position control by using c, c++, c# or java.<br />
cheers</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: spiffy</title>
		<link>http://www.andol.info/hci/830.htm/comment-page-2#comment-3894</link>
		<dc:creator>spiffy</dc:creator>
		<pubDate>Fri, 16 Dec 2011 18:36:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.andol.info/?p=830#comment-3894</guid>
		<description>hi andol
 i am doing work on computer control using fingure movement in opencv.i have done till moving pointer by recognizing fingure movement.plz help me how can i perform left and right click?</description>
		<content:encoded><![CDATA[<p>hi andol<br />
 i am doing work on computer control using fingure movement in opencv.i have done till moving pointer by recognizing fingure movement.plz help me how can i perform left and right click?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: spiffy</title>
		<link>http://www.andol.info/hci/830.htm/comment-page-1#comment-3893</link>
		<dc:creator>spiffy</dc:creator>
		<pubDate>Fri, 16 Dec 2011 18:22:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.andol.info/?p=830#comment-3893</guid>
		<description>hi andol.i am doing work on computer control using fingure movement.i have done worke  till by decteing fingure movement of pointer can you plz help me how in i perform left and right click?</description>
		<content:encoded><![CDATA[<p>hi andol.i am doing work on computer control using fingure movement.i have done worke  till by decteing fingure movement of pointer can you plz help me how in i perform left and right click?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sam</title>
		<link>http://www.andol.info/hci/830.htm/comment-page-2#comment-3487</link>
		<dc:creator>sam</dc:creator>
		<pubDate>Sun, 23 Oct 2011 16:41:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.andol.info/?p=830#comment-3487</guid>
		<description>hey, i want to do hand gesture recognition in java. i tried it using JAI bt came to kno that it is under development. Will you please suggest any API using java that can be used for this purpose.....</description>
		<content:encoded><![CDATA[<p>hey, i want to do hand gesture recognition in java. i tried it using JAI bt came to kno that it is under development. Will you please suggest any API using java that can be used for this purpose&#8230;..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nareen</title>
		<link>http://www.andol.info/hci/830.htm/comment-page-2#comment-3466</link>
		<dc:creator>Nareen</dc:creator>
		<pubDate>Wed, 19 Oct 2011 14:50:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.andol.info/?p=830#comment-3466</guid>
		<description>Hi Andol, 

I want to implement a patient monitoring system. The system should check whether a patient has taken a pill or not and also whether the patient has had water afterward or not. It sounds easy since I am thinking of using same glass and location and a well as already saved images of patient movements (gestures) while taking medication. I am new to programming and just came across OpenCV. I think by using opencv I can easily implement such a program. But I don&#039;t know where to start from? What features of OpenCV do I need to use? I am thinking of capturing images from a webcam and comparing those images with already saved images to find any match. Any idea? Any help would be greatly appreciated. Thank you!</description>
		<content:encoded><![CDATA[<p>Hi Andol, </p>
<p>I want to implement a patient monitoring system. The system should check whether a patient has taken a pill or not and also whether the patient has had water afterward or not. It sounds easy since I am thinking of using same glass and location and a well as already saved images of patient movements (gestures) while taking medication. I am new to programming and just came across OpenCV. I think by using opencv I can easily implement such a program. But I don&#8217;t know where to start from? What features of OpenCV do I need to use? I am thinking of capturing images from a webcam and comparing those images with already saved images to find any match. Any idea? Any help would be greatly appreciated. Thank you!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: priyanka.s.awaraddi</title>
		<link>http://www.andol.info/hci/830.htm/comment-page-2#comment-3435</link>
		<dc:creator>priyanka.s.awaraddi</dc:creator>
		<pubDate>Sat, 15 Oct 2011 03:48:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.andol.info/?p=830#comment-3435</guid>
		<description>hi....
i&#039;m presently working on finding the free empty slots in parking area...but i dont know any algorith to find the free parking area number....the parking slots have a fixed number...
please help me</description>
		<content:encoded><![CDATA[<p>hi&#8230;.<br />
i&#8217;m presently working on finding the free empty slots in parking area&#8230;but i dont know any algorith to find the free parking area number&#8230;.the parking slots have a fixed number&#8230;<br />
please help me</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Fyre</title>
		<link>http://www.andol.info/hci/830.htm/comment-page-2#comment-3334</link>
		<dc:creator>Fyre</dc:creator>
		<pubDate>Mon, 03 Oct 2011 18:19:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.andol.info/?p=830#comment-3334</guid>
		<description>Hi andol,
I liked your code very and i have similar project going on. It would be very nice of you if you just help me with the mouse controlling and clicking part. I have got the tracking and the center of gravity of the hand all i need to do is that i need to map the mouse cursor and its functions with the hand and its features. I am looking forward for left click with 1 finger right click with 2 fingers and scroll up with three fingers and so on . The movement will be done when there is no finger or when all 5 fingers are present.

Do help
Thnks</description>
		<content:encoded><![CDATA[<p>Hi andol,<br />
I liked your code very and i have similar project going on. It would be very nice of you if you just help me with the mouse controlling and clicking part. I have got the tracking and the center of gravity of the hand all i need to do is that i need to map the mouse cursor and its functions with the hand and its features. I am looking forward for left click with 1 finger right click with 2 fingers and scroll up with three fingers and so on . The movement will be done when there is no finger or when all 5 fingers are present.</p>
<p>Do help<br />
Thnks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shahrukh Khan</title>
		<link>http://www.andol.info/hci/830.htm/comment-page-2#comment-2951</link>
		<dc:creator>Shahrukh Khan</dc:creator>
		<pubDate>Sun, 14 Aug 2011 17:46:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.andol.info/?p=830#comment-2951</guid>
		<description>hi Andol,
 i am Shahrukh Khan from india . I am working on a project which is will recognize hand gestures on the android platform. i figured you might help in a small tutorial on Introduction to javaCV+android. also if this is alot to ask for can you atleast tell me the approach to start using javaCV and hand gesture recognisation. i dont even know how to get the secondary camera feed from the android phone !! 
for ex: http://www.eyesight-tech.com/
Thank you in advance (&quot;,)</description>
		<content:encoded><![CDATA[<p>hi Andol,<br />
 i am Shahrukh Khan from india . I am working on a project which is will recognize hand gestures on the android platform. i figured you might help in a small tutorial on Introduction to javaCV+android. also if this is alot to ask for can you atleast tell me the approach to start using javaCV and hand gesture recognisation. i dont even know how to get the secondary camera feed from the android phone !!<br />
for ex: <a href="http://www.eyesight-tech.com/" rel="nofollow">http://www.eyesight-tech.com/</a><br />
Thank you in advance (&#8220;,)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: andrew wesa</title>
		<link>http://www.andol.info/hci/830.htm/comment-page-2#comment-2784</link>
		<dc:creator>andrew wesa</dc:creator>
		<pubDate>Wed, 22 Jun 2011 01:15:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.andol.info/?p=830#comment-2784</guid>
		<description>pleaseee andoll can u helppp for code or description of how to do motion detection plzzz :) i wana to mix two techniques ( skin colour detection &amp; motion detection  ) to reduce the noise plzzz help me andol :)</description>
		<content:encoded><![CDATA[<p>pleaseee andoll can u helppp for code or description of how to do motion detection plzzz <img src='http://www.andol.info/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  i wana to mix two techniques ( skin colour detection &amp; motion detection  ) to reduce the noise plzzz help me andol <img src='http://www.andol.info/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andol</title>
		<link>http://www.andol.info/hci/830.htm/comment-page-2#comment-2779</link>
		<dc:creator>Andol</dc:creator>
		<pubDate>Mon, 20 Jun 2011 12:29:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.andol.info/?p=830#comment-2779</guid>
		<description>@David
&#039;capture the image on a new window&#039; - does that mean capturing a window as image sources?</description>
		<content:encoded><![CDATA[<p>@David<br />
&#8216;capture the image on a new window&#8217; &#8211; does that mean capturing a window as image sources?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: david</title>
		<link>http://www.andol.info/hci/830.htm/comment-page-2#comment-2773</link>
		<dc:creator>david</dc:creator>
		<pubDate>Sat, 18 Jun 2011 07:21:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.andol.info/?p=830#comment-2773</guid>
		<description>hi andol,
my project is Finger detection of hand gesture recognition for controlling a robot using OpenCV, can you explain about this process?
and how to capture the image on a new window....because its a video sequence.

thank you very much andol :D</description>
		<content:encoded><![CDATA[<p>hi andol,<br />
my project is Finger detection of hand gesture recognition for controlling a robot using OpenCV, can you explain about this process?<br />
and how to capture the image on a new window&#8230;.because its a video sequence.</p>
<p>thank you very much andol <img src='http://www.andol.info/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andol</title>
		<link>http://www.andol.info/hci/830.htm/comment-page-2#comment-2765</link>
		<dc:creator>Andol</dc:creator>
		<pubDate>Wed, 15 Jun 2011 20:53:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.andol.info/?p=830#comment-2765</guid>
		<description>@Setia
can i have more details of system environments, like opencv version, linked libraries and so on. 
this error may happen due to your system environment settings.</description>
		<content:encoded><![CDATA[<p>@Setia<br />
can i have more details of system environments, like opencv version, linked libraries and so on.<br />
this error may happen due to your system environment settings.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: setia, Indonesia</title>
		<link>http://www.andol.info/hci/830.htm/comment-page-2#comment-2761</link>
		<dc:creator>setia, Indonesia</dc:creator>
		<pubDate>Wed, 15 Jun 2011 06:17:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.andol.info/?p=830#comment-2761</guid>
		<description>hi andol,
i find one error when i compile this source code

Linking…
LINK : fatal error LNK1104: cannot open file “odbccp32.libv.lib”
how to solve this problem ?
need your help....thank you</description>
		<content:encoded><![CDATA[<p>hi andol,<br />
i find one error when i compile this source code</p>
<p>Linking…<br />
LINK : fatal error LNK1104: cannot open file “odbccp32.libv.lib”<br />
how to solve this problem ?<br />
need your help&#8230;.thank you</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andol</title>
		<link>http://www.andol.info/hci/830.htm/comment-page-2#comment-2441</link>
		<dc:creator>Andol</dc:creator>
		<pubDate>Sun, 20 Mar 2011 10:09:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.andol.info/?p=830#comment-2441</guid>
		<description>i do not.</description>
		<content:encoded><![CDATA[<p>i do not.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ateendra</title>
		<link>http://www.andol.info/hci/830.htm/comment-page-2#comment-2438</link>
		<dc:creator>ateendra</dc:creator>
		<pubDate>Sat, 19 Mar 2011 18:00:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.andol.info/?p=830#comment-2438</guid>
		<description>hi, i am getting an inverted mask video, what must i do. secondly, the method you show here is not robust, do you have haar feature detector, or convex hull detector?</description>
		<content:encoded><![CDATA[<p>hi, i am getting an inverted mask video, what must i do. secondly, the method you show here is not robust, do you have haar feature detector, or convex hull detector?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tomasa Kovacic</title>
		<link>http://www.andol.info/hci/830.htm/comment-page-2#comment-1874</link>
		<dc:creator>Tomasa Kovacic</dc:creator>
		<pubDate>Wed, 16 Feb 2011 11:41:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.andol.info/?p=830#comment-1874</guid>
		<description>Let me start by saying nice post. Im not sure if it has been talked about, but when using Chrome I can never get the entire site to load without refreshing many times. Could just be my computer. Thanks.</description>
		<content:encoded><![CDATA[<p>Let me start by saying nice post. Im not sure if it has been talked about, but when using Chrome I can never get the entire site to load without refreshing many times. Could just be my computer. Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andol</title>
		<link>http://www.andol.info/hci/830.htm/comment-page-2#comment-1655</link>
		<dc:creator>Andol</dc:creator>
		<pubDate>Mon, 20 Dec 2010 16:12:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.andol.info/?p=830#comment-1655</guid>
		<description>This is good indeed, cheers mate</description>
		<content:encoded><![CDATA[<p>This is good indeed, cheers mate</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Asee Shrestha</title>
		<link>http://www.andol.info/hci/830.htm/comment-page-2#comment-1646</link>
		<dc:creator>Asee Shrestha</dc:creator>
		<pubDate>Sat, 18 Dec 2010 16:42:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.andol.info/?p=830#comment-1646</guid>
		<description>For anyone who is trying to achieve the mouse control in linux (Ubuntu)
$ sudo apt-get install xdotool

and use it to control the mouse cursor.
all you need is format command to send input to the xdotool 
using sprintf() function</description>
		<content:encoded><![CDATA[<p>For anyone who is trying to achieve the mouse control in linux (Ubuntu)<br />
$ sudo apt-get install xdotool</p>
<p>and use it to control the mouse cursor.<br />
all you need is format command to send input to the xdotool<br />
using sprintf() function</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andol</title>
		<link>http://www.andol.info/hci/830.htm/comment-page-2#comment-1349</link>
		<dc:creator>Andol</dc:creator>
		<pubDate>Tue, 19 Oct 2010 16:31:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.andol.info/?p=830#comment-1349</guid>
		<description>As long as the mouse positions can be taken over by the hand&#039;s positions.</description>
		<content:encoded><![CDATA[<p>As long as the mouse positions can be taken over by the hand&#8217;s positions.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sam</title>
		<link>http://www.andol.info/hci/830.htm/comment-page-2#comment-1348</link>
		<dc:creator>sam</dc:creator>
		<pubDate>Tue, 19 Oct 2010 15:32:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.andol.info/?p=830#comment-1348</guid>
		<description>can i use the windows API other than the Hooks library?</description>
		<content:encoded><![CDATA[<p>can i use the windows API other than the Hooks library?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andol</title>
		<link>http://www.andol.info/hci/830.htm/comment-page-2#comment-1346</link>
		<dc:creator>Andol</dc:creator>
		<pubDate>Tue, 19 Oct 2010 14:14:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.andol.info/?p=830#comment-1346</guid>
		<description>A mechanism called HOOKS may be required to intercept the communications between the mouse and the system, this is a reference: &lt;a class=&quot;outlink&quot; rel=&quot;external&quot; href=&quot;http://msdn.microsoft.com/en-us/library/ms644959(VS.85).aspx&quot; rel=&quot;nofollow&quot;&gt;http://msdn.microsoft.com/en-us/library/ms644959(VS.85).aspx&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>A mechanism called HOOKS may be required to intercept the communications between the mouse and the system, this is a reference: <a class="outlink" rel="external" href="http://msdn.microsoft.com/en-us/library/ms644959(VS.85).aspx" rel="nofollow">http://msdn.microsoft.com/en-us/library/ms644959(VS.85).aspx</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sam</title>
		<link>http://www.andol.info/hci/830.htm/comment-page-2#comment-1344</link>
		<dc:creator>sam</dc:creator>
		<pubDate>Tue, 19 Oct 2010 13:53:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.andol.info/?p=830#comment-1344</guid>
		<description>no what i meant was you have to talk to the windows API through the windows.h file rght?.
so could you please explain what should i do after detecting hand contours? thanks.</description>
		<content:encoded><![CDATA[<p>no what i meant was you have to talk to the windows API through the windows.h file rght?.<br />
so could you please explain what should i do after detecting hand contours? thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andol</title>
		<link>http://www.andol.info/hci/830.htm/comment-page-2#comment-1341</link>
		<dc:creator>Andol</dc:creator>
		<pubDate>Mon, 18 Oct 2010 20:07:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.andol.info/?p=830#comment-1341</guid>
		<description>1. Detecting the hand contours is necessary because this provides the hand&#039;s position for the point&#039;s references. 
2. Not sure the mapping requires the windows.h file since this step has not been tested in my previous projects. But this mapping is essential as it is needed to provide some reference points to match these two coordinates between the desktop and webcam range.</description>
		<content:encoded><![CDATA[<p>1. Detecting the hand contours is necessary because this provides the hand&#8217;s position for the point&#8217;s references.<br />
2. Not sure the mapping requires the windows.h file since this step has not been tested in my previous projects. But this mapping is essential as it is needed to provide some reference points to match these two coordinates between the desktop and webcam range.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sam</title>
		<link>http://www.andol.info/hci/830.htm/comment-page-2#comment-1340</link>
		<dc:creator>sam</dc:creator>
		<pubDate>Mon, 18 Oct 2010 16:29:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.andol.info/?p=830#comment-1340</guid>
		<description>hi Andol, i want to use this code to move my mouse pointer. i have read all the comments here so far and found that this question has been raised several times. so please guide me whether my summation is correct or wrong.
1. you have to detect hand contours(this will give the detected hand as a rectangle)
2. map hand coordinates to mouse coordinates using the windows API(windows.h file)
i have a question here. in order to map coordinates you have to get the current coordinates of the hand rght? but how you gonna find them? and do we have to make some reference point for that?
im waiting for your answer. thanks a lot :)</description>
		<content:encoded><![CDATA[<p>hi Andol, i want to use this code to move my mouse pointer. i have read all the comments here so far and found that this question has been raised several times. so please guide me whether my summation is correct or wrong.<br />
1. you have to detect hand contours(this will give the detected hand as a rectangle)<br />
2. map hand coordinates to mouse coordinates using the windows API(windows.h file)<br />
i have a question here. in order to map coordinates you have to get the current coordinates of the hand rght? but how you gonna find them? and do we have to make some reference point for that?<br />
im waiting for your answer. thanks a lot <img src='http://www.andol.info/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Raion</title>
		<link>http://www.andol.info/hci/830.htm/comment-page-2#comment-1226</link>
		<dc:creator>Raion</dc:creator>
		<pubDate>Tue, 24 Aug 2010 18:50:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.andol.info/?p=830#comment-1226</guid>
		<description>haha yes you&#039;re right i was mistakenly considering it only detecting hands due to the ceiling light illumination. i realized when the light fell on my face it detected that as well.</description>
		<content:encoded><![CDATA[<p>haha yes you&#8217;re right i was mistakenly considering it only detecting hands due to the ceiling light illumination. i realized when the light fell on my face it detected that as well.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andol</title>
		<link>http://www.andol.info/hci/830.htm/comment-page-2#comment-1222</link>
		<dc:creator>Andol</dc:creator>
		<pubDate>Fri, 20 Aug 2010 20:38:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.andol.info/?p=830#comment-1222</guid>
		<description>Hi Raion, this code was designed to detect human skins no matter face or hands, i am not sure why this code only detected hands when you used it, but the hsv parameters should be adjusted if the environments change. this is a full code example. hope this helps.</description>
		<content:encoded><![CDATA[<p>Hi Raion, this code was designed to detect human skins no matter face or hands, i am not sure why this code only detected hands when you used it, but the hsv parameters should be adjusted if the environments change. this is a full code example. hope this helps.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Raion</title>
		<link>http://www.andol.info/hci/830.htm/comment-page-2#comment-1220</link>
		<dc:creator>Raion</dc:creator>
		<pubDate>Thu, 19 Aug 2010 21:55:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.andol.info/?p=830#comment-1220</guid>
		<description>Hi Andol, for the life of me i can&#039;t figure out why this code detects hands and not face or any other part of the body of the same color. If you had given a simple explanation somewhere i think i missed it. Can you please explain this? Also it&#039;s amazing that you&#039;re putting up all the codes like this. That&#039;s a lot of work on your part so thanks for that.</description>
		<content:encoded><![CDATA[<p>Hi Andol, for the life of me i can&#8217;t figure out why this code detects hands and not face or any other part of the body of the same color. If you had given a simple explanation somewhere i think i missed it. Can you please explain this? Also it&#8217;s amazing that you&#8217;re putting up all the codes like this. That&#8217;s a lot of work on your part so thanks for that.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jenil</title>
		<link>http://www.andol.info/hci/830.htm/comment-page-2#comment-1178</link>
		<dc:creator>Jenil</dc:creator>
		<pubDate>Sat, 31 Jul 2010 10:01:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.andol.info/?p=830#comment-1178</guid>
		<description>Hello Anmol , I am in my Final Year of Engineering and have taken the project of controling mouse and games with various hand gesture and finger movements. So please if you can help me on it. I have searched a lot on net and have realised that is can be done with opencv but how i dont know so if you can please help me with various steps and source code.I want to learn new language and stuff so please guide me. And it will be very helpful if you provide a video tutorial.
Waiting for your reply.</description>
		<content:encoded><![CDATA[<p>Hello Anmol , I am in my Final Year of Engineering and have taken the project of controling mouse and games with various hand gesture and finger movements. So please if you can help me on it. I have searched a lot on net and have realised that is can be done with opencv but how i dont know so if you can please help me with various steps and source code.I want to learn new language and stuff so please guide me. And it will be very helpful if you provide a video tutorial.<br />
Waiting for your reply.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andol</title>
		<link>http://www.andol.info/hci/830.htm/comment-page-2#comment-1136</link>
		<dc:creator>Andol</dc:creator>
		<pubDate>Tue, 13 Jul 2010 18:10:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.andol.info/?p=830#comment-1136</guid>
		<description>Well done Tushar, i &#039;d like to share a post for your progresses, waiting for your good news.</description>
		<content:encoded><![CDATA[<p>Well done Tushar, i &#8216;d like to share a post for your progresses, waiting for your good news.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tushar</title>
		<link>http://www.andol.info/hci/830.htm/comment-page-2#comment-1135</link>
		<dc:creator>Tushar</dc:creator>
		<pubDate>Tue, 13 Jul 2010 17:19:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.andol.info/?p=830#comment-1135</guid>
		<description>Hi Andol,
              I figured it out...Actually cvConvexitydefects does the trick its give the start and the end points and the depth so we can determine the fingers from that....I am working on it as soon as I am up with something will post it here</description>
		<content:encoded><![CDATA[<p>Hi Andol,<br />
              I figured it out&#8230;Actually cvConvexitydefects does the trick its give the start and the end points and the depth so we can determine the fingers from that&#8230;.I am working on it as soon as I am up with something will post it here</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andol</title>
		<link>http://www.andol.info/hci/830.htm/comment-page-1#comment-1134</link>
		<dc:creator>Andol</dc:creator>
		<pubDate>Tue, 13 Jul 2010 12:13:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.andol.info/?p=830#comment-1134</guid>
		<description>@Tushar though you could refer this http://code.google.com/p/hand-gesture-detection/</description>
		<content:encoded><![CDATA[<p>@Tushar though you could refer this <a href="http://code.google.com/p/hand-gesture-detection/" rel="nofollow">http://code.google.com/p/hand-gesture-detection/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tushar</title>
		<link>http://www.andol.info/hci/830.htm/comment-page-1#comment-1133</link>
		<dc:creator>Tushar</dc:creator>
		<pubDate>Mon, 12 Jul 2010 20:33:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.andol.info/?p=830#comment-1133</guid>
		<description>Can you help me. I was going through the wiki page for open cv and was able to detect the contour of my hand...I want to know how to detect the tips of my finger....It would be really great if you could direct me to some source where I can learn how to do it</description>
		<content:encoded><![CDATA[<p>Can you help me. I was going through the wiki page for open cv and was able to detect the contour of my hand&#8230;I want to know how to detect the tips of my finger&#8230;.It would be really great if you could direct me to some source where I can learn how to do it</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andol</title>
		<link>http://www.andol.info/hci/830.htm/comment-page-1#comment-1132</link>
		<dc:creator>Andol</dc:creator>
		<pubDate>Mon, 12 Jul 2010 18:37:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.andol.info/?p=830#comment-1132</guid>
		<description>@Tushar, detecting finger tips is available, which requires clear finger contour detection. Sorry i do not have any codes about finger tip detection at this moment.</description>
		<content:encoded><![CDATA[<p>@Tushar, detecting finger tips is available, which requires clear finger contour detection. Sorry i do not have any codes about finger tip detection at this moment.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tushar</title>
		<link>http://www.andol.info/hci/830.htm/comment-page-1#comment-1131</link>
		<dc:creator>Tushar</dc:creator>
		<pubDate>Mon, 12 Jul 2010 17:59:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.andol.info/?p=830#comment-1131</guid>
		<description>Hi Andol,
             I need to detect the tips of the fingers...Can you help me with the code for this... I want to know which finger is visible. Please let me know if this is possible. I am new at opencv so any help would be great</description>
		<content:encoded><![CDATA[<p>Hi Andol,<br />
             I need to detect the tips of the fingers&#8230;Can you help me with the code for this&#8230; I want to know which finger is visible. Please let me know if this is possible. I am new at opencv so any help would be great</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sudharsan.n.s</title>
		<link>http://www.andol.info/hci/830.htm/comment-page-1#comment-1128</link>
		<dc:creator>sudharsan.n.s</dc:creator>
		<pubDate>Fri, 09 Jul 2010 17:52:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.andol.info/?p=830#comment-1128</guid>
		<description>cheers too..... and is there any HaarCascade training set for detecting hand, i searched that many times, but i got nothing..... if there is anything means just help me out, because detecting hand using skin color does not satisfy the result... 

hearing for your reply..........</description>
		<content:encoded><![CDATA[<p>cheers too&#8230;.. and is there any HaarCascade training set for detecting hand, i searched that many times, but i got nothing&#8230;.. if there is anything means just help me out, because detecting hand using skin color does not satisfy the result&#8230; </p>
<p>hearing for your reply&#8230;&#8230;&#8230;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andol</title>
		<link>http://www.andol.info/hci/830.htm/comment-page-1#comment-1125</link>
		<dc:creator>Andol</dc:creator>
		<pubDate>Wed, 07 Jul 2010 20:31:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.andol.info/?p=830#comment-1125</guid>
		<description>indeed, the color range matters, cheers</description>
		<content:encoded><![CDATA[<p>indeed, the color range matters, cheers</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sudharsan.n.s</title>
		<link>http://www.andol.info/hci/830.htm/comment-page-1#comment-1124</link>
		<dc:creator>sudharsan.n.s</dc:creator>
		<pubDate>Wed, 07 Jul 2010 20:14:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.andol.info/?p=830#comment-1124</guid>
		<description>just if we use this value for hsv
 Hsv hsv_min = new Hsv(0, 30, 80);
 Hsv hsv_max = new Hsv(20, 150, 255);

instead of this 
Hsv hsv_min = new Hsv(127, 66, 57);
Hsv hsv_max = new Hsv(183, 203, 124);

it works fine...</description>
		<content:encoded><![CDATA[<p>just if we use this value for hsv<br />
 Hsv hsv_min = new Hsv(0, 30, 80);<br />
 Hsv hsv_max = new Hsv(20, 150, 255);</p>
<p>instead of this<br />
Hsv hsv_min = new Hsv(127, 66, 57);<br />
Hsv hsv_max = new Hsv(183, 203, 124);</p>
<p>it works fine&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: asad kahn</title>
		<link>http://www.andol.info/hci/830.htm/comment-page-1#comment-1123</link>
		<dc:creator>asad kahn</dc:creator>
		<pubDate>Wed, 07 Jul 2010 09:21:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.andol.info/?p=830#comment-1123</guid>
		<description>Thanx dear  but still didnt find appropriate way. Is there any one  knows about the handshpe date base use for  for tracking? waiting for reply.</description>
		<content:encoded><![CDATA[<p>Thanx dear  but still didnt find appropriate way. Is there any one  knows about the handshpe date base use for  for tracking? waiting for reply.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andol</title>
		<link>http://www.andol.info/hci/830.htm/comment-page-1#comment-1122</link>
		<dc:creator>Andol</dc:creator>
		<pubDate>Mon, 05 Jul 2010 10:21:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.andol.info/?p=830#comment-1122</guid>
		<description>as well as this one http://www.andol.info/hci/1116.htm, and this one http://www.andol.info/hci/905.htm</description>
		<content:encoded><![CDATA[<p>as well as this one <a href="http://www.andol.info/hci/1116.htm" rel="nofollow">http://www.andol.info/hci/1116.htm</a>, and this one <a href="http://www.andol.info/hci/905.htm" rel="nofollow">http://www.andol.info/hci/905.htm</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andol</title>
		<link>http://www.andol.info/hci/830.htm/comment-page-1#comment-1121</link>
		<dc:creator>Andol</dc:creator>
		<pubDate>Mon, 05 Jul 2010 10:20:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.andol.info/?p=830#comment-1121</guid>
		<description>though this may help: http://www.andol.info/hci/895.htm</description>
		<content:encoded><![CDATA[<p>though this may help: <a href="http://www.andol.info/hci/895.htm" rel="nofollow">http://www.andol.info/hci/895.htm</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: asad kahn</title>
		<link>http://www.andol.info/hci/830.htm/comment-page-1#comment-1120</link>
		<dc:creator>asad kahn</dc:creator>
		<pubDate>Mon, 05 Jul 2010 09:23:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.andol.info/?p=830#comment-1120</guid>
		<description>Dear Andol I m working on gesture recognition i need to detect and track the hand so which kind of method is beneficial for me if u have code plz send as well.</description>
		<content:encoded><![CDATA[<p>Dear Andol I m working on gesture recognition i need to detect and track the hand so which kind of method is beneficial for me if u have code plz send as well.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lama</title>
		<link>http://www.andol.info/hci/830.htm/comment-page-1#comment-1116</link>
		<dc:creator>Lama</dc:creator>
		<pubDate>Tue, 29 Jun 2010 15:03:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.andol.info/?p=830#comment-1116</guid>
		<description>Hi, 
Do you know some free (natural) hand gesture or whole human or upper body database? 
I read about the Massey Gesture Database, but the link does not work :( 
Help me please.</description>
		<content:encoded><![CDATA[<p>Hi,<br />
Do you know some free (natural) hand gesture or whole human or upper body database?<br />
I read about the Massey Gesture Database, but the link does not work <img src='http://www.andol.info/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /><br />
Help me please.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andol</title>
		<link>http://www.andol.info/hci/830.htm/comment-page-1#comment-1092</link>
		<dc:creator>Andol</dc:creator>
		<pubDate>Sat, 12 Jun 2010 08:33:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.andol.info/?p=830#comment-1092</guid>
		<description>Rajkumar, my thinking is that, to separate the hand from contours may require convexity detection.</description>
		<content:encoded><![CDATA[<p>Rajkumar, my thinking is that, to separate the hand from contours may require convexity detection.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rajkumar</title>
		<link>http://www.andol.info/hci/830.htm/comment-page-1#comment-1091</link>
		<dc:creator>Rajkumar</dc:creator>
		<pubDate>Thu, 10 Jun 2010 16:07:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.andol.info/?p=830#comment-1091</guid>
		<description>Hi,

First of all,great work. I found it quite useful.I am currently doing a similar thing although on a depth based camera which does not have colour.. 

Right now I have the contour of the hand and the arm and its a  motion tracking system. I now need to cut the hand from the arm and use the hand to control a cursor on screen. Could you give me an idea as to how i should separate the hand and how to control a cursor?</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>First of all,great work. I found it quite useful.I am currently doing a similar thing although on a depth based camera which does not have colour.. </p>
<p>Right now I have the contour of the hand and the arm and its a  motion tracking system. I now need to cut the hand from the arm and use the hand to control a cursor on screen. Could you give me an idea as to how i should separate the hand and how to control a cursor?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andol</title>
		<link>http://www.andol.info/hci/830.htm/comment-page-1#comment-1072</link>
		<dc:creator>Andol</dc:creator>
		<pubDate>Sat, 22 May 2010 15:32:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.andol.info/?p=830#comment-1072</guid>
		<description>hi JP Talusan, if you had had a look at the source loading codes in opencv, you would find that it is able to load live webcam images, still images, and .avi video files. Here is a simple instance:
#include &quot;cv.h&quot;
#include &quot;highgui.h&quot;
int main( int argc, char** argv )
{
    IplImage* pImg; 
    if( argc == 2 &amp;&amp; 
        (pImg = cvLoadImage( argv[1], 1)) != 0 ) //argv[1] is a parameter of image path.
    {
        cvNamedWindow( &quot;Image&quot;, 1 );
        cvShowImage( &quot;Image&quot;, pImg );
        cvWaitKey(0); 
        cvDestroyWindow( &quot;Image&quot; );
        cvReleaseImage( &amp;pImg ); 
        return 0;
    }
    return -1;
}
cheers.</description>
		<content:encoded><![CDATA[<p>hi JP Talusan, if you had had a look at the source loading codes in opencv, you would find that it is able to load live webcam images, still images, and .avi video files. Here is a simple instance:<br />
#include &#8220;cv.h&#8221;<br />
#include &#8220;highgui.h&#8221;<br />
int main( int argc, char** argv )<br />
{<br />
    IplImage* pImg;<br />
    if( argc == 2 &#038;&#038;<br />
        (pImg = cvLoadImage( argv[1], 1)) != 0 ) //argv[1] is a parameter of image path.<br />
    {<br />
        cvNamedWindow( &#8220;Image&#8221;, 1 );<br />
        cvShowImage( &#8220;Image&#8221;, pImg );<br />
        cvWaitKey(0);<br />
        cvDestroyWindow( &#8220;Image&#8221; );<br />
        cvReleaseImage( &#038;pImg );<br />
        return 0;<br />
    }<br />
    return -1;<br />
}<br />
cheers.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JP Talusan</title>
		<link>http://www.andol.info/hci/830.htm/comment-page-1#comment-1071</link>
		<dc:creator>JP Talusan</dc:creator>
		<pubDate>Sat, 22 May 2010 12:00:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.andol.info/?p=830#comment-1071</guid>
		<description>Sir, i know this code works for a live webcam feed, how do you make it work for an input of still image and .avi video files only</description>
		<content:encoded><![CDATA[<p>Sir, i know this code works for a live webcam feed, how do you make it work for an input of still image and .avi video files only</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andol</title>
		<link>http://www.andol.info/hci/830.htm/comment-page-1#comment-930</link>
		<dc:creator>Andol</dc:creator>
		<pubDate>Wed, 17 Mar 2010 08:22:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.andol.info/?p=830#comment-930</guid>
		<description>Hi Bon, i am not sure if the hand detection algorithm fits fire detection by openCV, though thay have some features in common. You can have a try using hand detection algorithm with some improvements according to fire features.</description>
		<content:encoded><![CDATA[<p>Hi Bon, i am not sure if the hand detection algorithm fits fire detection by openCV, though thay have some features in common. You can have a try using hand detection algorithm with some improvements according to fire features.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bon</title>
		<link>http://www.andol.info/hci/830.htm/comment-page-1#comment-928</link>
		<dc:creator>bon</dc:creator>
		<pubDate>Wed, 17 Mar 2010 04:58:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.andol.info/?p=830#comment-928</guid>
		<description>algorithm your is great, do you have algorithm fire detection using openCV ? Can you send to me .
my email : trung_lvt@yahoo.com</description>
		<content:encoded><![CDATA[<p>algorithm your is great, do you have algorithm fire detection using openCV ? Can you send to me .<br />
my email : <a href="mailto:trung_lvt@yahoo.com">trung_lvt@yahoo.com</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andol</title>
		<link>http://www.andol.info/hci/830.htm/comment-page-1#comment-916</link>
		<dc:creator>Andol</dc:creator>
		<pubDate>Fri, 12 Mar 2010 20:22:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.andol.info/?p=830#comment-916</guid>
		<description>Hi Finch, after ive got the while-black result, i use: 
&quot;cvSmooth&quot; to reduce the noises, &quot;cvCandy&quot; to extract lines, &quot;cvFindContours&quot; to extract the most possible hand contours, once i ve got the right contours, i use &quot;cvBoundingRect&quot; to locate the position of hand as a rectangle, then draw out the rectangle which is the picture you see. Or you can refer here for detail codes here &lt;a style =&quot;color:#db492c&quot; href=&quot;http://download.andol.info/hsv.cpp&quot; rel=&quot;internal&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://download.andol.info/hsv.cpp&lt;/a&gt;. PS: thanks for your codes sharing.</description>
		<content:encoded><![CDATA[<p>Hi Finch, after ive got the while-black result, i use:<br />
&#8220;cvSmooth&#8221; to reduce the noises, &#8220;cvCandy&#8221; to extract lines, &#8220;cvFindContours&#8221; to extract the most possible hand contours, once i ve got the right contours, i use &#8220;cvBoundingRect&#8221; to locate the position of hand as a rectangle, then draw out the rectangle which is the picture you see. Or you can refer here for detail codes here <a style ="color:#db492c" href="http://download.andol.info/hsv.cpp" rel="internal" target="_blank" rel="nofollow">http://download.andol.info/hsv.cpp</a>. PS: thanks for your codes sharing.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Finch</title>
		<link>http://www.andol.info/hci/830.htm/comment-page-1#comment-914</link>
		<dc:creator>Finch</dc:creator>
		<pubDate>Fri, 12 Mar 2010 20:03:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.andol.info/?p=830#comment-914</guid>
		<description>Hello Andol, thanks for the advice, your helping me on my way but i have a few questions. 

Im trying to make an application that responds to hand gestures. At the moment all I want to do it figure out where (in terms of x,y) the center of the hand is in the image and how many fingers are being held up.  

So once I have the black and white image you show in this post, how do i then draw areas round them and get the .Center values from it ?  I see in another one of your posts you have managed to draw a very precise contour round the hand, how did you manage that ?  I know you only do OpenCV and not Emgu but if you show me the specific method calls you would use I can probably figure out the Emgu equivalents.

Thank you for your time.

Also, I see a few people asking how to do it in the Emgu CV version. Well...

&lt;code&gt;
Capture camera = new Capture()
Image originalImage = camera.QueryFrame() ; // Raw image

/* All the colour segmentation is done in Hsv not Bgr so we need a Hsv version of our image */
Image hsvImage = originalImage.convert();

/* Now we need to define the upper (max) and lower (min) Hsv values that we want to extract from the image */
Hsv hsv_min = new Hsv(127, 66, 57);
Hsv hsv_max = new Hsv(183, 203, 124);

/* Note: I am trying to detect hands in my webcam image and in a dark room, you will need to play around with the parameters in hsv_min &amp; hsv_max to find the colours you want to extract 

Now, the process of checking if pixels are in range of these min and max values results in a greyscale image, so we&#039;ll need one of those. */

Image greyedImage = hsvImage.InRange(hsv_min, hsv_max);

/* BAM ! A greyscale image containing only the pixels with Hsv values between the hsv_min &amp; hsv_max ranges. *.


&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>Hello Andol, thanks for the advice, your helping me on my way but i have a few questions. </p>
<p>Im trying to make an application that responds to hand gestures. At the moment all I want to do it figure out where (in terms of x,y) the center of the hand is in the image and how many fingers are being held up.  </p>
<p>So once I have the black and white image you show in this post, how do i then draw areas round them and get the .Center values from it ?  I see in another one of your posts you have managed to draw a very precise contour round the hand, how did you manage that ?  I know you only do OpenCV and not Emgu but if you show me the specific method calls you would use I can probably figure out the Emgu equivalents.</p>
<p>Thank you for your time.</p>
<p>Also, I see a few people asking how to do it in the Emgu CV version. Well&#8230;</p>
<p><code><br />
Capture camera = new Capture()<br />
Image originalImage = camera.QueryFrame() ; // Raw image</p>
<p>/* All the colour segmentation is done in Hsv not Bgr so we need a Hsv version of our image */<br />
Image hsvImage = originalImage.convert();</p>
<p>/* Now we need to define the upper (max) and lower (min) Hsv values that we want to extract from the image */<br />
Hsv hsv_min = new Hsv(127, 66, 57);<br />
Hsv hsv_max = new Hsv(183, 203, 124);</p>
<p>/* Note: I am trying to detect hands in my webcam image and in a dark room, you will need to play around with the parameters in hsv_min &amp; hsv_max to find the colours you want to extract </p>
<p>Now, the process of checking if pixels are in range of these min and max values results in a greyscale image, so we'll need one of those. */</p>
<p>Image greyedImage = hsvImage.InRange(hsv_min, hsv_max);</p>
<p>/* BAM ! A greyscale image containing only the pixels with Hsv values between the hsv_min &amp; hsv_max ranges. *.</p>
<p></code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sobia</title>
		<link>http://www.andol.info/hci/830.htm/comment-page-1#comment-905</link>
		<dc:creator>sobia</dc:creator>
		<pubDate>Mon, 22 Feb 2010 18:43:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.andol.info/?p=830#comment-905</guid>
		<description>hi Andol
i have to control a robotic car by fingers i hv saw ur code.it working for hand exraction.nw i hve to count of fingers in a particular moment.plaese help me wat i do next..</description>
		<content:encoded><![CDATA[<p>hi Andol<br />
i have to control a robotic car by fingers i hv saw ur code.it working for hand exraction.nw i hve to count of fingers in a particular moment.plaese help me wat i do next..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andol</title>
		<link>http://www.andol.info/hci/830.htm/comment-page-1#comment-903</link>
		<dc:creator>Andol</dc:creator>
		<pubDate>Fri, 19 Feb 2010 10:43:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.andol.info/?p=830#comment-903</guid>
		<description>sorry, i just did some code projects in Windows, ubutun has not yet been tested.But i think, the codes would be mostly the same.</description>
		<content:encoded><![CDATA[<p>sorry, i just did some code projects in Windows, ubutun has not yet been tested.But i think, the codes would be mostly the same.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Namesake</title>
		<link>http://www.andol.info/hci/830.htm/comment-page-1#comment-900</link>
		<dc:creator>Namesake</dc:creator>
		<pubDate>Wed, 17 Feb 2010 13:50:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.andol.info/?p=830#comment-900</guid>
		<description>Hi Andol,
After detecting the hand, Is there a way to connect the mouse pointer to coordinate(x,y)? I am using Ubuntu. What command should I use to do so?</description>
		<content:encoded><![CDATA[<p>Hi Andol,<br />
After detecting the hand, Is there a way to connect the mouse pointer to coordinate(x,y)? I am using Ubuntu. What command should I use to do so?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kabir hossain</title>
		<link>http://www.andol.info/hci/830.htm/comment-page-1#comment-887</link>
		<dc:creator>kabir hossain</dc:creator>
		<pubDate>Thu, 04 Feb 2010 04:11:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.andol.info/?p=830#comment-887</guid>
		<description>Hi, i got your code.This is working well but i want to find the hand location.I have used contour but still can not find hand location.can your help me?plz</description>
		<content:encoded><![CDATA[<p>Hi, i got your code.This is working well but i want to find the hand location.I have used contour but still can not find hand location.can your help me?plz</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andol</title>
		<link>http://www.andol.info/hci/830.htm/comment-page-1#comment-882</link>
		<dc:creator>Andol</dc:creator>
		<pubDate>Tue, 02 Feb 2010 05:44:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.andol.info/?p=830#comment-882</guid>
		<description>the way is to assign different gesture to left click and right click, e.g. four fingers means left click, full palm means right click.</description>
		<content:encoded><![CDATA[<p>the way is to assign different gesture to left click and right click, e.g. four fingers means left click, full palm means right click.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Avesum</title>
		<link>http://www.andol.info/hci/830.htm/comment-page-1#comment-881</link>
		<dc:creator>Avesum</dc:creator>
		<pubDate>Mon, 01 Feb 2010 10:09:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.andol.info/?p=830#comment-881</guid>
		<description>how can i perform left click and right click by my finger using webcam in open CV library plz help..</description>
		<content:encoded><![CDATA[<p>how can i perform left click and right click by my finger using webcam in open CV library plz help..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andol</title>
		<link>http://www.andol.info/hci/830.htm/comment-page-1#comment-870</link>
		<dc:creator>Andol</dc:creator>
		<pubDate>Thu, 21 Jan 2010 11:54:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.andol.info/?p=830#comment-870</guid>
		<description>once you segment clean hand contours, the next step would be detect the convexities by using a function in openCV called &#039;CvConvexityDefect&#039; to get the hand&#039;s features.</description>
		<content:encoded><![CDATA[<p>once you segment clean hand contours, the next step would be detect the convexities by using a function in openCV called &#8216;CvConvexityDefect&#8217; to get the hand&#8217;s features.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: quarks</title>
		<link>http://www.andol.info/hci/830.htm/comment-page-1#comment-869</link>
		<dc:creator>quarks</dc:creator>
		<pubDate>Thu, 21 Jan 2010 11:35:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.andol.info/?p=830#comment-869</guid>
		<description>hi thanks for this i had done still but i dont know how to proceed again (ie) to detect the gesture and perform mouse clicks help me please</description>
		<content:encoded><![CDATA[<p>hi thanks for this i had done still but i dont know how to proceed again (ie) to detect the gesture and perform mouse clicks help me please</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andol</title>
		<link>http://www.andol.info/hci/830.htm/comment-page-1#comment-848</link>
		<dc:creator>Andol</dc:creator>
		<pubDate>Mon, 18 Jan 2010 15:24:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.andol.info/?p=830#comment-848</guid>
		<description>first, detecting the hand, and then finding a centre of detected hand as a rectangle, and at last connecting the cursor to coordinates of the hand.</description>
		<content:encoded><![CDATA[<p>first, detecting the hand, and then finding a centre of detected hand as a rectangle, and at last connecting the cursor to coordinates of the hand.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: quarks</title>
		<link>http://www.andol.info/hci/830.htm/comment-page-1#comment-847</link>
		<dc:creator>quarks</dc:creator>
		<pubDate>Mon, 18 Jan 2010 09:13:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.andol.info/?p=830#comment-847</guid>
		<description>hi i need to get the coordinates of the hand while moving ..... please help me ...its urgent</description>
		<content:encoded><![CDATA[<p>hi i need to get the coordinates of the hand while moving &#8230;.. please help me &#8230;its urgent</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: quarks</title>
		<link>http://www.andol.info/hci/830.htm/comment-page-1#comment-846</link>
		<dc:creator>quarks</dc:creator>
		<pubDate>Mon, 18 Jan 2010 09:10:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.andol.info/?p=830#comment-846</guid>
		<description>hi i would like to control cursor movements by using hand so please help me   to find coordinates of hand..please help me in this urgent</description>
		<content:encoded><![CDATA[<p>hi i would like to control cursor movements by using hand so please help me   to find coordinates of hand..please help me in this urgent</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andol</title>
		<link>http://www.andol.info/hci/830.htm/comment-page-1#comment-775</link>
		<dc:creator>Andol</dc:creator>
		<pubDate>Sat, 28 Nov 2009 12:51:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.andol.info/?p=830#comment-775</guid>
		<description>sorry, i am not using EmguCV, so the source code is based on openCV rather than EmguCV. You can refer to the code here: http://www.andol.info/hci/830.htm/attachment/handdetection-2</description>
		<content:encoded><![CDATA[<p>sorry, i am not using EmguCV, so the source code is based on openCV rather than EmguCV. You can refer to the code here: <a href="http://www.andol.info/hci/830.htm/attachment/handdetection-2" rel="nofollow">http://www.andol.info/hci/830.htm/attachment/handdetection-2</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andol</title>
		<link>http://www.andol.info/hci/830.htm/comment-page-1#comment-774</link>
		<dc:creator>Andol</dc:creator>
		<pubDate>Sat, 28 Nov 2009 12:50:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.andol.info/?p=830#comment-774</guid>
		<description>Please referring to here: http://www.andol.info/hci/830.htm/attachment/handdetection-2</description>
		<content:encoded><![CDATA[<p>Please referring to here: <a href="http://www.andol.info/hci/830.htm/attachment/handdetection-2" rel="nofollow">http://www.andol.info/hci/830.htm/attachment/handdetection-2</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nguyen Van Bao</title>
		<link>http://www.andol.info/hci/830.htm/comment-page-1#comment-773</link>
		<dc:creator>Nguyen Van Bao</dc:creator>
		<pubDate>Sat, 28 Nov 2009 09:40:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.andol.info/?p=830#comment-773</guid>
		<description>great….
i using EgmuCV, can you send me Hand detection using EmguCV code, my email:baonv2109@gmail.com
thank you!!</description>
		<content:encoded><![CDATA[<p>great….<br />
i using EgmuCV, can you send me Hand detection using EmguCV code, my email:baonv2109@gmail.com<br />
thank you!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nguyen Van Bao</title>
		<link>http://www.andol.info/hci/830.htm/comment-page-1#comment-772</link>
		<dc:creator>Nguyen Van Bao</dc:creator>
		<pubDate>Sat, 28 Nov 2009 09:39:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.andol.info/?p=830#comment-772</guid>
		<description>great….
i using EgmuCV, can you send me Hand detection using EmguCV, my email:baonv2109@gmail.com
thank you!!</description>
		<content:encoded><![CDATA[<p>great….<br />
i using EgmuCV, can you send me Hand detection using EmguCV, my email:baonv2109@gmail.com<br />
thank you!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nguyen Van Bao</title>
		<link>http://www.andol.info/hci/830.htm/comment-page-1#comment-771</link>
		<dc:creator>Nguyen Van Bao</dc:creator>
		<pubDate>Sat, 28 Nov 2009 09:29:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.andol.info/?p=830#comment-771</guid>
		<description>great....
i using EgmuCV, can you Hand detection using EgmuCV, my email:baonv2109@gmail.com
thank !!</description>
		<content:encoded><![CDATA[<p>great&#8230;.<br />
i using EgmuCV, can you Hand detection using EgmuCV, my email:baonv2109@gmail.com<br />
thank !!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andol</title>
		<link>http://www.andol.info/hci/830.htm/comment-page-1#comment-757</link>
		<dc:creator>Andol</dc:creator>
		<pubDate>Mon, 09 Nov 2009 09:03:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.andol.info/?p=830#comment-757</guid>
		<description>well, if haar is adopted to detect the hand&#039;s gestures, the first thing you should do is to capture enough number of samples including positive and negative. Then you can train your application according to these samples you have gathered. for more details, it is possible to refer the machine learning part of openCV.</description>
		<content:encoded><![CDATA[<p>well, if haar is adopted to detect the hand&#8217;s gestures, the first thing you should do is to capture enough number of samples including positive and negative. Then you can train your application according to these samples you have gathered. for more details, it is possible to refer the machine learning part of openCV.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Edwin</title>
		<link>http://www.andol.info/hci/830.htm/comment-page-1#comment-756</link>
		<dc:creator>Edwin</dc:creator>
		<pubDate>Mon, 09 Nov 2009 05:01:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.andol.info/?p=830#comment-756</guid>
		<description>Hello, I need your help on hand detection in OpenCV, I am quite poor at computer programing and I want to use this technique to control a robot eye. I have successfully managed to acquire and capture the image from my web cam and now need to move on to the next step. I was told i have to use the Haar libraries and the same concept of Face detection by my professors. What should i do? Thank you</description>
		<content:encoded><![CDATA[<p>Hello, I need your help on hand detection in OpenCV, I am quite poor at computer programing and I want to use this technique to control a robot eye. I have successfully managed to acquire and capture the image from my web cam and now need to move on to the next step. I was told i have to use the Haar libraries and the same concept of Face detection by my professors. What should i do? Thank you</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hand detection using openCV by Andol &#171; Dogsmile&#39;s Blog</title>
		<link>http://www.andol.info/hci/830.htm/comment-page-1#comment-723</link>
		<dc:creator>Hand detection using openCV by Andol &#171; Dogsmile&#39;s Blog</dc:creator>
		<pubDate>Sun, 25 Oct 2009 07:19:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.andol.info/?p=830#comment-723</guid>
		<description>[...] Reference: http://www.vimeo.com/4026184 http://www.andol.info/hci/830.htm [...]</description>
		<content:encoded><![CDATA[<p>[...] Reference: <a href="http://www.vimeo.com/4026184" rel="nofollow">http://www.vimeo.com/4026184</a> <a href="http://www.andol.info/hci/830.htm" rel="nofollow">http://www.andol.info/hci/830.htm</a> [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>

