<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"><channel><title>In Traction - Latest Comments</title><link xmlns="http://www.w3.org/2005/Atom" rel="http://api.friendfeed.com/2008/03#sup" href="http://disqus.com/sup/all.sup#forumcomments-bf201d54" type="application/json"/><link>http://intraction.disqus.com/</link><description></description><language>en</language><lastBuildDate>Mon, 07 Dec 2009 16:21:43 -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-25030126</link><description>Thanks a lot! I'll give it a try!</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">jozilla</dc:creator><pubDate>Mon, 07 Dec 2009 16:21: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-24833269</link><description>argh, it killed my tabs!!!</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">the-maxx</dc:creator><pubDate>Fri, 04 Dec 2009 15:52:35 -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-24833178</link><description>hi, i stumbled upon your little nice python script a few days ago and ported it to opencv 2.0 with its new python bindings. Hope anyone is interested, maybe you can update your version with this.&lt;br&gt;&lt;br&gt;import sys&lt;br&gt;import cv&lt;br&gt;&lt;br&gt;class FaceDetect():&lt;br&gt;	def __init__(self):&lt;br&gt;		cv.NamedWindow ("CamShiftDemo", 1)&lt;br&gt;		device = 0&lt;br&gt;		self.capture = cv.CaptureFromCAM(device)&lt;br&gt;		capture_size = (320,200)&lt;br&gt;		cv.SetCaptureProperty(self.capture, cv.CV_CAP_PROP_FRAME_WIDTH, capture_size[0])&lt;br&gt;		cv.SetCaptureProperty(self.capture, cv.CV_CAP_PROP_FRAME_HEIGHT, capture_size[1])   &lt;br&gt;&lt;br&gt;	def detect(self):&lt;br&gt;		cv.CvtColor(self.frame, self.grayscale, cv.CV_RGB2GRAY)&lt;br&gt;		   &lt;br&gt;		#equalize histogram&lt;br&gt;		cv.EqualizeHist(self.grayscale, self.grayscale)&lt;br&gt;		&lt;br&gt;		# detect objects&lt;br&gt;		faces = cv.HaarDetectObjects(image=self.grayscale, cascade=self.cascade, storage=self.storage, scale_factor=1.2,\&lt;br&gt;		min_neighbors=2, flags=cv.CV_HAAR_DO_CANNY_PRUNING)&lt;br&gt;	&lt;br&gt;		if faces:&lt;br&gt;			#print 'face detected!'&lt;br&gt;			for i in faces:&lt;br&gt;				if i[1] &amp;gt; 10:&lt;br&gt;					cv.Circle(self.frame, ((2*i[0][0]+i[0][2])/2,(2*i[0][1]+i[0][3])/2), (i[0][2]+i[0][3])/4, (128, 255, 128), 2, 8, 0)&lt;br&gt;		&lt;br&gt;	def run(self):&lt;br&gt;		# check if capture device is OK&lt;br&gt;		if not self.capture:&lt;br&gt;			print "Error opening capture device"&lt;br&gt;			sys.exit(1)&lt;br&gt;		&lt;br&gt;		self.frame = cv.QueryFrame(self.capture)&lt;br&gt;		self.image_size = cv.GetSize(self.frame)&lt;br&gt;&lt;br&gt;		# create grayscale version&lt;br&gt;		self.grayscale = cv.CreateImage(self.image_size, 8, 1)&lt;br&gt; &lt;br&gt;		# create storage&lt;br&gt;		self.storage = cv.CreateMemStorage(128)&lt;br&gt;		self.cascade = cv.Load('haarcascade_frontalface_default.xml')&lt;br&gt;&lt;br&gt;		while 1:&lt;br&gt;			# do forever&lt;br&gt;			# capture the current frame&lt;br&gt;			self.frame = cv.QueryFrame(self.capture)&lt;br&gt;			if self.frame is None:&lt;br&gt;				break&lt;br&gt;&lt;br&gt;			# mirror&lt;br&gt;			cv.Flip(self.frame, None, 1)&lt;br&gt;					&lt;br&gt;			# face detection&lt;br&gt;			self.detect()&lt;br&gt;&lt;br&gt;			# display webcam image&lt;br&gt;			cv.ShowImage('CamShiftDemo', self.frame)&lt;br&gt;			# handle events&lt;br&gt;			k = cv.WaitKey(10)&lt;br&gt;&lt;br&gt;			if k == 0x1b: # ESC&lt;br&gt;				print 'ESC pressed. Exiting ...'&lt;br&gt;				break&lt;br&gt;				sys.exit(1)&lt;br&gt;	&lt;br&gt;if __name__ == "__main__":&lt;br&gt; 	print "Press ESC to exit ..."&lt;br&gt;	face_detect = FaceDetect()&lt;br&gt;	face_detect.run()</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">the-maxx</dc:creator><pubDate>Fri, 04 Dec 2009 15:50:52 -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-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: Research update</title><link>http://blog.jozilla.net/2009/10/30/research-update/#comment-21486733</link><description>Thanks Ruben! :)</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">jozilla</dc:creator><pubDate>Sat, 31 Oct 2009 18:17:23 -0000</pubDate></item><item><title>Re: Research update</title><link>http://blog.jozilla.net/2009/10/30/research-update/#comment-21463134</link><description>Great one-minute movie, I enjoyed it :-) I see your website also got a nice update in the publications section, cool! &lt;br&gt;&lt;br&gt;Cheers&lt;br&gt;Ruben</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ruben</dc:creator><pubDate>Sat, 31 Oct 2009 06:25: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-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: How to efficiently perform a literature review</title><link>http://blog.jozilla.net/2009/02/07/how-to-efficiently-perform-a-literature-review/#comment-21343908</link><description>Thanks Juan!</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">jozilla</dc:creator><pubDate>Fri, 30 Oct 2009 06:18:37 -0000</pubDate></item><item><title>Re: How to efficiently perform a literature review</title><link>http://blog.jozilla.net/2009/02/07/how-to-efficiently-perform-a-literature-review/#comment-21248460</link><description>Excelent post Jo Very interesting and useful.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">jumagoca78</dc:creator><pubDate>Thu, 29 Oct 2009 04:50:52 -0000</pubDate></item><item><title>Re: New homepage</title><link>http://blog.jozilla.net/2009/03/17/new-homepage/#comment-20196389</link><description>Jesus Jo. Your blog is very good. I will be following you.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">jumagoca78</dc:creator><pubDate>Fri, 16 Oct 2009 10:20:35 -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: OneNote: a hidden Microsoft Office gem</title><link>http://blog.jozilla.net/2008/04/22/onenote-a-hidden-microsoft-office-gem/#comment-15153809</link><description>For projects and tasks as well as research I've been juggling Google apps, as well as Outlook tasks and cal, good old .txt files with .LOG tags added to the start as well as Tab groupings and sub groupings in IE and Firefox and don’t forget regular folders.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">ClubPenguinCheats</dc:creator><pubDate>Thu, 20 Aug 2009 20:31:45 -0000</pubDate></item><item><title>Re: Small update on face detection post</title><link>http://blog.jozilla.net/2008/06/27/small-update-on-face-detection-post/#comment-15153777</link><description>I really want to learn DBUS and py-notify. Besides, it looks really nice your software, I would like to have a copy.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">ClubPenguinCheats</dc:creator><pubDate>Thu, 20 Aug 2009 20:30:25 -0000</pubDate></item><item><title>Re: MIT Media Lab wearable projector prototype</title><link>http://blog.jozilla.net/2009/02/10/mit-media-lab-wearable-projector-prototype/#comment-14924715</link><description>thank you for sharing this post</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">richardz315</dc:creator><pubDate>Sun, 16 Aug 2009 20:44:59 -0000</pubDate></item><item><title>Re: OneNote: a hidden Microsoft Office gem</title><link>http://blog.jozilla.net/2008/04/22/onenote-a-hidden-microsoft-office-gem/#comment-14912085</link><description>I had never used One Note in past, I prefer a Google services, they gives some simplicity in my work, but after this article I have to review my opinion.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">freegiftcards</dc:creator><pubDate>Sun, 16 Aug 2009 12:34: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-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></channel></rss>