<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"><channel><title>In Traction - Latest Comments in Fun with Python, OpenCV and face detection</title><link>http://intraction.disqus.com/</link><description></description><language>en</language><lastBuildDate>Fri, 13 Nov 2009 08:06:02 -0000</lastBuildDate><item><title>Re: Fun with Python, OpenCV and face detection</title><link>http://blog.jozilla.net/2008/06/27/fun-with-python-opencv-and-face-detection/#comment-22892470</link><description>You should install OpenCV first, and try to run the simple_winclient.py script. The software is available at &lt;a href="http://jozilla.net/Software/Facade" rel="nofollow"&gt;my website&lt;/a&gt;.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">jozilla</dc:creator><pubDate>Fri, 13 Nov 2009 08:06:02 -0000</pubDate></item><item><title>Re: Fun with Python, OpenCV and face detection</title><link>http://blog.jozilla.net/2008/06/27/fun-with-python-opencv-and-face-detection/#comment-22882308</link><description>hey!! i am nj here, i am trying to execute this program on windows I am getting following error. I saw a post with same thing, where u said u will be releasing new version so that it works on windows. Is it not released yet?</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">njay</dc:creator><pubDate>Fri, 13 Nov 2009 01:35:17 -0000</pubDate></item><item><title>Re: Fun with Python, OpenCV and face detection</title><link>http://blog.jozilla.net/2008/06/27/fun-with-python-opencv-and-face-detection/#comment-21859339</link><description>this is awesome, i have been wanting to do this with python for awhile now.  great stuff.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">club penguin cheats</dc:creator><pubDate>Wed, 04 Nov 2009 10:25:23 -0000</pubDate></item><item><title>Re: Fun with Python, OpenCV and face detection</title><link>http://blog.jozilla.net/2008/06/27/fun-with-python-opencv-and-face-detection/#comment-21345791</link><description>The script uses Gary Bishop's &lt;a href="http://sourceforge.net/projects/uncpythontools/files/CVtypes/1.1/" rel="nofollow"&gt;CVtypes&lt;/a&gt;, not python-opencv.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">jozilla</dc:creator><pubDate>Fri, 30 Oct 2009 07:39:17 -0000</pubDate></item><item><title>Re: Fun with Python, OpenCV and face detection</title><link>http://blog.jozilla.net/2008/06/27/fun-with-python-opencv-and-face-detection/#comment-17246159</link><description>I'm still having trouble with the escape key. Any tips?</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">online games</dc:creator><pubDate>Wed, 23 Sep 2009 18:23:41 -0000</pubDate></item><item><title>Re: Fun with Python, OpenCV and face detection</title><link>http://blog.jozilla.net/2008/06/27/fun-with-python-opencv-and-face-detection/#comment-16589858</link><description>I have do sudo apt-get install python-opencv. It is already installed. What can i do?</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">cyril84</dc:creator><pubDate>Mon, 14 Sep 2009 16:10:43 -0000</pubDate></item><item><title>Re: Fun with Python, OpenCV and face detection</title><link>http://blog.jozilla.net/2008/06/27/fun-with-python-opencv-and-face-detection/#comment-16589756</link><description>Hello, i have this:&lt;br&gt;&lt;br&gt;Traceback (most recent call last):&lt;br&gt;  File "opencv.py", line 2, in &amp;lt;module&amp;gt;&lt;br&gt;    from CVtypes import cv&lt;br&gt;ImportError: No module named CVtypes&lt;br&gt;&lt;br&gt;What is this mistake? how install cvtypes? &lt;br&gt;&lt;br&gt;Thinks</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">cyril84</dc:creator><pubDate>Mon, 14 Sep 2009 16:08:10 -0000</pubDate></item><item><title>Re: Fun with Python, OpenCV and face detection</title><link>http://blog.jozilla.net/2008/06/27/fun-with-python-opencv-and-face-detection/#comment-16534819</link><description>In synaptic you can fing python-opencv</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">nop</dc:creator><pubDate>Sun, 13 Sep 2009 08:39:25 -0000</pubDate></item><item><title>Re: Fun with Python, OpenCV and face detection</title><link>http://blog.jozilla.net/2008/06/27/fun-with-python-opencv-and-face-detection/#comment-16534635</link><description>yes, 9.04</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">nop</dc:creator><pubDate>Sun, 13 Sep 2009 08:26:26 -0000</pubDate></item><item><title>Re: Fun with Python, OpenCV and face detection</title><link>http://blog.jozilla.net/2008/06/27/fun-with-python-opencv-and-face-detection/#comment-16429309</link><description>Hello, i try your code but i have this:&lt;br&gt;&lt;br&gt;cyril@zilo2:~/Bureau/test$ sudo python webcam2.py&lt;br&gt;Traceback (most recent call last):&lt;br&gt;  File "webcam2.py", line 3, in &amp;lt;module&amp;gt;&lt;br&gt;    from CVtypes import cv&lt;br&gt;ImportError: No module named CVtypes&lt;br&gt;&lt;br&gt;i use ubuntu, how cab i install opencv? sudo apt-get install ?&lt;br&gt;&lt;br&gt;Thinks @+</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">cyril</dc:creator><pubDate>Fri, 11 Sep 2009 13:00:39 -0000</pubDate></item><item><title>Re: Fun with Python, OpenCV and face detection</title><link>http://blog.jozilla.net/2008/06/27/fun-with-python-opencv-and-face-detection/#comment-15479411</link><description>hi, i'm having this problem when i'm running your code..&lt;br&gt;&lt;br&gt;i have an integrated camera on my laptop, which works with some apps like cheese.&lt;br&gt;&lt;br&gt;while running this code, the camera(led) turns on, but nothing comes on the screen.&lt;br&gt;the script hangs and i have to ctrl+C to close it.&lt;br&gt;&lt;br&gt;any pointers to help me with this situation will be appreciated.&lt;br&gt;thanks</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">sreeraj</dc:creator><pubDate>Thu, 27 Aug 2009 14:00:26 -0000</pubDate></item><item><title>Re: Fun with Python, OpenCV and face detection</title><link>http://blog.jozilla.net/2008/06/27/fun-with-python-opencv-and-face-detection/#comment-15153851</link><description>The script I wrote was based on the OpenCV face detection sample too, but using gstreamer instead of OpenCV's HighGUI to interface the webcam (HighGUI didn't support the camera in the XO).</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">ClubPenguinCheats</dc:creator><pubDate>Thu, 20 Aug 2009 20:32:55 -0000</pubDate></item><item><title>Re: Fun with Python, OpenCV and face detection</title><link>http://blog.jozilla.net/2008/06/27/fun-with-python-opencv-and-face-detection/#comment-14568213</link><description>It might be good to use a specific GUI toolkit in this case, such as WxWindows.&lt;br&gt;&lt;br&gt;Have a look at Gary Bishop's blog post, where he grabs a bitmap from the camera and displays this in a Wx window: &lt;a href="http://wwwx.cs.unc.edu/%7Egb/wp/blog/2007/02/04/python-opencv-wrapper-using-ctypes/" rel="nofollow"&gt;http://wwwx.cs.unc.edu/~gb/wp/blog/2007/02/04/p...&lt;/a&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">jozilla</dc:creator><pubDate>Mon, 10 Aug 2009 08:23:45 -0000</pubDate></item><item><title>Re: Fun with Python, OpenCV and face detection</title><link>http://blog.jozilla.net/2008/06/27/fun-with-python-opencv-and-face-detection/#comment-14568182</link><description>Are you using Ubuntu?</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">jozilla</dc:creator><pubDate>Mon, 10 Aug 2009 08:22:07 -0000</pubDate></item><item><title>Re: Fun with Python, OpenCV and face detection</title><link>http://blog.jozilla.net/2008/06/27/fun-with-python-opencv-and-face-detection/#comment-14510094</link><description>Hello!&lt;br&gt;Your if script silently hangs on this line for me:&lt;br&gt;cascade = cv.LoadHaarClassifierCascade('haarcascade_frontalface_alt.xml', cv.Size(1,1))&lt;br&gt;&lt;br&gt;What can be the problem here? This xml exists in same directory and the is no any error output.&lt;br&gt;&lt;br&gt;Thanks in advance!</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">nop</dc:creator><pubDate>Sun, 09 Aug 2009 03:36:00 -0000</pubDate></item><item><title>Re: Fun with Python, OpenCV and face detection</title><link>http://blog.jozilla.net/2008/06/27/fun-with-python-opencv-and-face-detection/#comment-10304645</link><description>hi i want to put the window's webcam in other program both under python, but i dont how to do it, the project is a program with bottons and they controll a robot and the robot get the webcam, by the way im using linux mint 6</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">gabox</dc:creator><pubDate>Sat, 30 May 2009 19:15:26 -0000</pubDate></item><item><title>Re: Fun with Python, OpenCV and face detection</title><link>http://blog.jozilla.net/2008/06/27/fun-with-python-opencv-and-face-detection/#comment-5001488</link><description>Hello, Sir&lt;br&gt;I'm from Asia. I'm just starting to learn openCV.&lt;br&gt;Is there any opinion or advise from Sir as an expert to me to start learning opencv&lt;br&gt;&lt;br&gt;Thank you very much.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Simon</dc:creator><pubDate>Thu, 08 Jan 2009 21:26:28 -0000</pubDate></item><item><title>Re: Fun with Python, OpenCV and face detection</title><link>http://blog.jozilla.net/2008/06/27/fun-with-python-opencv-and-face-detection/#comment-4890374</link><description>You need to have &lt;a href="http://opencv.willowgarage.com/wiki/" rel="nofollow"&gt;OpenCV&lt;/a&gt; installed. I guess that is the problem. I didn't try it on Windows yet since there's no D-BUS support, but in theory the face detection code should work.&lt;br&gt;&lt;br&gt;I will probably release a first version of the code in the following weeks, so stay tuned!</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">jozilla</dc:creator><pubDate>Mon, 05 Jan 2009 04:38:15 -0000</pubDate></item><item><title>Re: Fun with Python, OpenCV and face detection</title><link>http://blog.jozilla.net/2008/06/27/fun-with-python-opencv-and-face-detection/#comment-4882562</link><description>When I tried runing the above code in windows xp, encountered the following error. &lt;br&gt;&lt;br&gt;D:\SW\CamFD&amp;gt;python test2.py&lt;br&gt;Traceback (most recent call last):&lt;br&gt;  File "test2.py", line 2, in &amp;lt;module&amp;gt;&lt;br&gt;    from CVtypes import cv&lt;br&gt;  File "D:\SW\CamFD\CVtypes.py", line 42, in &amp;lt;module&amp;gt;&lt;br&gt;    _cxDLL = cdll.cxcore100&lt;br&gt;  File "C:\Python25\lib\ctypes\__init__.py", line 423, in __getattr__&lt;br&gt;    dll = self._dlltype(name)&lt;br&gt;  File "C:\Python25\lib\ctypes\__init__.py", line 348, in __init__&lt;br&gt;    self._handle = _dlopen(self._name, mode)&lt;br&gt;WindowsError: [Error 126] The specified module could not be found&lt;br&gt;&lt;br&gt;Any help regarding this will be great!</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Venkat</dc:creator><pubDate>Sun, 04 Jan 2009 15:32:16 -0000</pubDate></item><item><title>Re: Fun with Python, OpenCV and face detection</title><link>http://blog.jozilla.net/2008/06/27/fun-with-python-opencv-and-face-detection/#comment-3127953</link><description>You're welcome, I'm glad it was useful for you.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">jozilla</dc:creator><pubDate>Fri, 17 Oct 2008 09:29:44 -0000</pubDate></item><item><title>Re: Fun with Python, OpenCV and face detection</title><link>http://blog.jozilla.net/2008/06/27/fun-with-python-opencv-and-face-detection/#comment-3127901</link><description>this is great stuff! thanks for this...&lt;br&gt;&lt;br&gt;We managed to get up to 4 faces recognized at the same time.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">randomm</dc:creator><pubDate>Fri, 17 Oct 2008 09:26:26 -0000</pubDate></item><item><title>Re: Fun with Python, OpenCV and face detection</title><link>http://blog.jozilla.net/2008/06/27/fun-with-python-opencv-and-face-detection/#comment-3006629</link><description>Ah thanks, that's very helpful!</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">jozilla</dc:creator><pubDate>Sun, 12 Oct 2008 07:25:30 -0000</pubDate></item><item><title>Re: Fun with Python, OpenCV and face detection</title><link>http://blog.jozilla.net/2008/06/27/fun-with-python-opencv-and-face-detection/#comment-2628971</link><description>I figured it out how to properly use cvWaitKey.&lt;br&gt;&lt;br&gt;In your code you are waiting just 10 ms for a key, and only after the image was processed.&lt;br&gt;So, if you wait a little bit longer(maybe 100ms, but this will slow down a lot the fps) you will be able to catch the keys.&lt;br&gt;&lt;br&gt;However, there is also another problem cvWaitKey returns -1 when no key was pressed, but return a string(char) holding the key pressed, so you need to do the following:&lt;br&gt;if k!=-1 and ord(k) == 0x1b: # ESC&lt;br&gt;            print 'ESC pressed. Exiting ...'&lt;br&gt;            break</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jhon</dc:creator><pubDate>Thu, 25 Sep 2008 14:18:10 -0000</pubDate></item><item><title>Re: Fun with Python, OpenCV and face detection</title><link>http://blog.jozilla.net/2008/06/27/fun-with-python-opencv-and-face-detection/#comment-800940</link><description>Nice script , worked fine for me @30fps</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">daxroc</dc:creator><pubDate>Wed, 02 Jul 2008 16:09:37 -0000</pubDate></item><item><title>Re: Fun with Python, OpenCV and face detection</title><link>http://blog.jozilla.net/2008/06/27/fun-with-python-opencv-and-face-detection/#comment-787303</link><description>You are right, I noticed yesterday that the cascade file was part of OpenCV. Thanks for clarifying!</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">jozilla</dc:creator><pubDate>Tue, 01 Jul 2008 01:34:30 -0000</pubDate></item></channel></rss>