becta logo
[oats-sig] webcam mouse movement = mouseTrap

Flavio Percoco Premoli flaper87 at gmail.com
Wed May 21 21:16:00 BST 2008

Article: [oats-sig] webcam mouse movement = mouseTrap

Hey guys!!

Thanks all for your Opinions and motivations, I'm really glad you all 
like the project.

@Steve:  where does pyatspi get used, just for selecting useful windows 
to auto-focus?

Well, pyatspi is used for several things:

1) Mouse movement listener
2) Keybindings listener
3) In the widgetsTrap feature is used to get all the selectable and 
focusable widgets.
4) Execute the movements of the mouse

It would be really nice to create mouseTrap as a multi-platform 
application so I/We could think in a way to reduce the use of pyatspi 
which is the only library that isn't multi-platform in the mouseTrap 
API. I don't know IA2 so I'll take a look at it immediately. :)

I've no problems to share the code with you so I'll create an svn under 
my domain and I'll create a private project for mouseTrap. I'll send you 
the username and password that will allow you to download the code. The 
user and password is because I don't want to make it completely public 
until a first version can be released :P (Nothing to worry about, I just 
want to do a great job :P )

I'll added a file in de source called TESTS with a list of things that I 
would like you to test ( If you can, it is not obligatory :P ) to know 
how mouseTrap works in other computers and architectures.

Right now, My first goal is to reduce the CPU Usage and improve de 
facedetection (reducing time and producing best results ) just after 
this, I'll get to work in the mouse click execution ( Ideas are 
welcomed, I'm thinking to use the eyebrows up/down movement or the eyes 
blink ). I'll be making a lot of changes in the code this days. I'll 
keep you all in touch.

@Simon: How can I add the project to oatsoft? I logged in but I don't 
know where I shoud add it.


Well, I think this is it for now, I hope we can share many ideas and 
knowledge.

Again thanks to all.

P.S:  Right now I don't remember if i sent this link [0] to the list. So 
I send it again. Feel free to give your opinions too.

[0] 
http://www.flaper87.org/2008/05/21/mousetrap-an-accessible-control-of-the-mouse-via-web-cam

P.S 2: I'll send the svn info tomorrow, today I had to travel and my 
bateries ran out of charge :P

P.S 3 and hopping it to be the last P.S :) : I would like to work a 
little bit in the arts of mouseTrap, I completely sucks creating images 
with gimp or inkscape so as I said before, and help is welcomed.

Have a nice day

Bests

-- 
Flavio Percoco Premoli, A.K.A. [Flaper87]
http://www.flaper87.org
Usuario Linux registrado #436538
Geek by nature, Linux by choice, Archer of course.
Key Fingerprint: 2AAC 589E 6E61 98FC 1D80 D36B 3094 6CEA 26FD 9E19
The Solution to everything:
python -c "from struct import pack; print  pack('5b', (41*len('99')), pow(8,2)+20, 4900**0.5, range(78)[-1], 10)"




  Main Becta Site  | Return to top