Just a quick update on my previous post. I hooked my code up to a D-Bus daemon, and used it to detect if I was sitting behind my desk or not.
I had to position the camera a bit lower, because it would sometimes not recognize my face when I was looking at the bottom of my screen. Having a dual-monitor setup doesn’t help either, since you should ideally position the webcam in the middle of the two displays to have good coverage. I positioned the webcam in the middle of the two displays at the bottom and tilted it upwards, which gives good results:
I guesstimated that if the system couldn’t detect a face for a period of 10 seconds, I would be away from my desk (or at least not paying attention to the screen). I played around a bit with pygtk and notify-python to create a status icon and show notification bubbles whenever my status changed. Here’s what happens when it detects that I’m away from my desk (notice the bubble in the upper right corner):
When I return, the system will change its status icon accordingly and notify me again:
OpenCV is fun!
vahid
June 29, 2008 — 03:04
Nice work Jo.
Mixing the nofity and opencv is a great idea in HCI
Jo Vermeulen
June 29, 2008 — 05:29
Thanks Vahid!
The idea is not new though. Eric Horvitz from Microsoft Research has done impressive research in this area (be sure to check out the movies at the bottom of the page).
Jhon
September 24, 2008 — 23:33
Could you upload your sources, I really want to learn DBUS and py-notify?
Besides, it looks really nice your software, I would like to have a copy.
Jo Vermeulen
October 12, 2008 — 07:24
When I find some time to do so, I surely will. For learning D-Bus, you can already have a look at the source code for PydgetRFID.
Mauro
November 10, 2008 — 06:39
Where can I find the final script (with a status icon)?
games
November 22, 2008 — 00:30
This article I so true, keep on writing like this, enjoyment to read 63
free satellite
February 12, 2009 — 08:37
Development of digital technologies occurs prompt rates. Does not lag behind progress and digital TV. Speaking about digital TV, we first of all mean satellite TV. The digital satellite TV becomes more and more accessible to simple users. The market paid satellite tv also is not necessary on a place. The new digital standard of TV of high clearness HDTV actively develops and takes root. The satellite TV becomes more and more directed on the spectator. Besides digital quality of the image, advantage of satellite systems also is also the extensive cover zone of the companion.
Pay Per Click Management
March 2, 2009 — 02:35
Now isnt that awesome, I have been thinking of the utility and marketability of this and I foresee a great scope. Try thinking of packaging this as a plugin or app..
The call centres and other professional companies would really want to take this up to track on the time the employees are working on the system.
Great achievement this is….
Background Check
March 3, 2009 — 14:06
Interesting findings.
Craigslist Proxy
May 28, 2009 — 11:07
Nice post there. Raised a few things I hadn't thought about before. Thx.
Craigslist Proxy
June 5, 2009 — 23:16
Interesting post. I have made a twitter post about this. Others no doubt will like it like I did.
housedesign
June 7, 2009 — 02:27
Nice post..
China Tour
June 14, 2009 — 07:15
Different point of view from that post. Interesting to say the least.
ClubPenguinCheats
August 20, 2009 — 19:30
I really want to learn DBUS and py-notify. Besides, it looks really nice your software, I would like to have a copy.
ClubPenguinCheats
August 21, 2009 — 00:30
I really want to learn DBUS and py-notify. Besides, it looks really nice your software, I would like to have a copy.
Payday Loans
April 20, 2010 — 00:37
Interesting facts, I learned new something today…
air jordan 14
July 5, 2010 — 07:29
Mark S. is definitely on the right track. If you want to get a professional looking email address, Id recommend buying your name domain name, like or
air jordan 3.5
If its common it might be difficult to get, however, be creative and you can usually find something.