Monday, July 27th, 2009, 228 days ago

HSV.cpp – hands detection demonstration

hdoutputorig

hdoutput

This is a screenshot of demonstration hands detection using the code hsv.cpp. Comparing with the old version within black background and green contours lines, this version actually is based on that. Besides, two functions are added in this new version: using rectangle to locate the hands location, and using eslipe to illustrate the angle of hands motion.

hsv.cpp source code

Related post may interest you

Hand gesture detection and recognition using openCV

Posted in Design, HCI, Research | Share on facebook twitter digg delicious

4 Responses to “HSV.cpp – hands detection demonstration”

  1. Zoran says:

    I have already seen it somethere…
    Zoran

  2. quarks says:

    hi
    i would like to detect the gesture of the hand such as (you shown above) during motion to trigger some other input such as (to open a folder).
    i had exceuted your code but i dont know, how to make to detect my gesture and to trigger some other actions (to open folder)
    my email id is:infoquarks@gmail.com

  3. Ayush says:

    Hi, why are you using BGR values in hsv_min & hsv_max??

    CvScalar hsv_min = cvScalar(0, 30, 80, 0);
    CvScalar hsv_max = cvScalar(20, 150, 255, 0);

    moreover, whats the need to convert the image from BGR to HSV ?

Leave a Reply

You can use these XHTML tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>