webcam mouse movement = mouseTrap

View: New views
20 Messages — Rating Filter:   Alert me  
< Prev | 1 - 2 | Next >

webcam mouse movement = mouseTrap

by Flavio Percoco Premoli :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Greetings!!

I'm working right now in a new project called mouseTrap. It is based in
at-spi and OpenCV libraries using the python programing language.

mouseTrap is an accessibility application to move the mouse pointer with
a web cam and face detect features without using the mouse or keyboard,
it  will use the eye track too (working on it ) so there wont be no need
to move the head.

I'm trying to install the vxl library which gives me a compiling error
(any help??) to test the opengazer features and so implement them in
mouseTrap.

Well, I won't bother you with a long mail, here are the demo links:

The first one uses a complete face detection (with require a lot of CPU
usage), the second one is the one that uses the latest improvements
where i changed the complete face detection for a point tracker (less
CPU Usage). Well, I'm working on it, and i hope you like it.

1) http://www.flaper87.org/files/videos/mouseTrapCam.ogg

2) OGG: http://www.flaper87.org/files/videos/mouseTrapCam2.ogg

2) AVI: http://www.flaper87.org/files/videos/mouseTrapCam2.avi

Thanks for reading

--
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)"






Re: webcam mouse movement = mouseTrap

by Steve Lee-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi and thanks Flavio, that looks pretty smooth.

There are some here who have managed to build OpenGazer so may help.
Can you supply specific errors you are getting?
Plus there was a discussion which should be in the archive.

--
Steve Lee
--
Open Source Assistive Technology Software
web: fullmeasure.co.uk
blog: eduspaces.net/stevelee/weblog


On 20/05/2008, Flavio Percoco Premoli <flaper87@...> wrote:

> Greetings!!
>
>  I'm working right now in a new project called mouseTrap. It is based in
> at-spi and OpenCV libraries using the python programing language.
>
>  mouseTrap is an accessibility application to move the mouse pointer with a
> web cam and face detect features without using the mouse or keyboard, it
> will use the eye track too (working on it ) so there wont be no need to move
> the head.
>
>  I'm trying to install the vxl library which gives me a compiling error (any
> help??) to test the opengazer features and so implement them in mouseTrap.
>
>  Well, I won't bother you with a long mail, here are the demo links:
>
>  The first one uses a complete face detection (with require a lot of CPU
> usage), the second one is the one that uses the latest improvements where i
> changed the complete face detection for a point tracker (less CPU Usage).
> Well, I'm working on it, and i hope you like it.
>
>  1) http://www.flaper87.org/files/videos/mouseTrapCam.ogg
>
>  2) OGG:
> http://www.flaper87.org/files/videos/mouseTrapCam2.ogg
>
>  2) AVI:
> http://www.flaper87.org/files/videos/mouseTrapCam2.avi
>
>  Thanks for reading
>
>  --
>  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)"
>
>
>
>
>
>




Re: webcam mouse movement = mouseTrap

by Flavio Percoco Premoli :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Steve Lee wrote:
> Hi and thanks Flavio, that looks pretty smooth.
>
> There are some here who have managed to build OpenGazer so may help.
> Can you supply specific errors you are getting?
> Plus there was a discussion which should be in the archive.
>
>    

Sure!!

I'll read the complete discussion.

This is the error I'm getting:

    [  8%] Built target netlib_lbfgsb_example
    [  8%] Built target netlib_lsqr_test
    [  8%] Built target netlib_slamch_test
    [  8%] Built target netlib_tricall
    [  8%] Built target netlib_showme
    [  8%] Building CXX object
    core/testlib/CMakeFiles/testlib.dir/testlib_main.o
    /home/flaper87/Paquetes/vxl-1.10.0-beta1/core/testlib/testlib_main.cxx:
    In function 'void testlib_enter_stealth_mode()':
    /home/flaper87/Paquetes/vxl-1.10.0-beta1/core/testlib/testlib_main.cxx:69:
    error: 'getenv' was not declared in this scope
    /home/flaper87/Paquetes/vxl-1.10.0-beta1/core/testlib/testlib_main.cxx:
    In function 'int testlib_run_test_unit(size_t, int, char**)':
    /home/flaper87/Paquetes/vxl-1.10.0-beta1/core/testlib/testlib_main.cxx:100:
    error: 'getenv' was not declared in this scope
    make[2]: *** [core/testlib/CMakeFiles/testlib.dir/testlib_main.o]
    Error 1
    make[1]: *** [core/testlib/CMakeFiles/testlib.dir/all] Error 2
    make: *** [all] Error 2


I know it is the beta1 but even with the stable i get the same error :(

I hope you can help me!!

Thanks

--
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)"






Re: webcam mouse movement = mouseTrap

by Flavio Percoco Premoli :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Steve Lee wrote:
> Hi and thanks Flavio, that looks pretty smooth.
>
> There are some here who have managed to build OpenGazer so may help.
> Can you supply specific errors you are getting?
> Plus there was a discussion which should be in the archive.
>
>    

An extended information about the project can be found here:

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

If case anyone is interested.

Best Regards.

--
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)"






Re: webcam mouse movement = mouseTrap

by Simon Judge :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hey Flavio,

That is fantastic!!!

Should you be linking up with

http://blogs.sun.com/wwalker/entry/low_cost_control_of_the

(from a mail from Steve a while back)?

I assume since you are using Python and OpenCV it will be able to work
across operating systems?

I look forward to playing with this, in fact, I'll do it now!

Cheers.

Simon

-----Original Message-----
From: oats-sig-bounces@...
[mailto:oats-sig-bounces@...] On Behalf Of Flavio Percoco
Premoli
Sent: Tuesday, May 20, 2008 4:34 PM
To: oats-sig@...
Subject: [oats-sig] webcam mouse movement = mouseTrap

Greetings!!

I'm working right now in a new project called mouseTrap. It is based in
at-spi and OpenCV libraries using the python programing language.

mouseTrap is an accessibility application to move the mouse pointer with a
web cam and face detect features without using the mouse or keyboard, it
will use the eye track too (working on it ) so there wont be no need to move
the head.

I'm trying to install the vxl library which gives me a compiling error (any
help??) to test the opengazer features and so implement them in mouseTrap.

Well, I won't bother you with a long mail, here are the demo links:

The first one uses a complete face detection (with require a lot of CPU
usage), the second one is the one that uses the latest improvements where i
changed the complete face detection for a point tracker (less CPU Usage).
Well, I'm working on it, and i hope you like it.

1) http://www.flaper87.org/files/videos/mouseTrapCam.ogg

2) OGG: http://www.flaper87.org/files/videos/mouseTrapCam2.ogg

2) AVI: http://www.flaper87.org/files/videos/mouseTrapCam2.avi

Thanks for reading

--
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)"







**********************************************************************
This message  may  contain  confidential  and  privileged information.
If you are not  the intended  recipient please  accept our  apologies.
Please do not disclose, copy or distribute  information in this e-mail
or take any  action in reliance on its  contents: to do so is strictly
prohibited and may be unlawful. Please inform us that this message has
gone  astray  before  deleting it.  Thank  you for  your co-operation.

NHSmail is used daily by over 100,000 staff in the NHS. Over a million
messages  are sent every day by the system.  To find  out why more and
more NHS personnel are  switching to  this NHS  Connecting  for Health
system please visit www.connectingforhealth.nhs.uk/nhsmail
**********************************************************************





Re: webcam mouse movement = mouseTrap

by Simon Judge :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Oh no, I thought the links were binaries! I can't play with it!

Videos look good though.

Be sure to add it as a project to oatsoft.org (-;

Simon

-----Original Message-----
From: oats-sig-bounces@...
[mailto:oats-sig-bounces@...] On Behalf Of Flavio Percoco
Premoli
Sent: Tuesday, May 20, 2008 4:34 PM
To: oats-sig@...
Subject: [oats-sig] webcam mouse movement = mouseTrap

Greetings!!

I'm working right now in a new project called mouseTrap. It is based in
at-spi and OpenCV libraries using the python programing language.

mouseTrap is an accessibility application to move the mouse pointer with a
web cam and face detect features without using the mouse or keyboard, it
will use the eye track too (working on it ) so there wont be no need to move
the head.

I'm trying to install the vxl library which gives me a compiling error (any
help??) to test the opengazer features and so implement them in mouseTrap.

Well, I won't bother you with a long mail, here are the demo links:

The first one uses a complete face detection (with require a lot of CPU
usage), the second one is the one that uses the latest improvements where i
changed the complete face detection for a point tracker (less CPU Usage).
Well, I'm working on it, and i hope you like it.

1) http://www.flaper87.org/files/videos/mouseTrapCam.ogg

2) OGG: http://www.flaper87.org/files/videos/mouseTrapCam2.ogg

2) AVI: http://www.flaper87.org/files/videos/mouseTrapCam2.avi

Thanks for reading

--
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)"







**********************************************************************
This message  may  contain  confidential  and  privileged information.
If you are not  the intended  recipient please  accept our  apologies.
Please do not disclose, copy or distribute  information in this e-mail
or take any  action in reliance on its  contents: to do so is strictly
prohibited and may be unlawful. Please inform us that this message has
gone  astray  before  deleting it.  Thank  you for  your co-operation.

NHSmail is used daily by over 100,000 staff in the NHS. Over a million
messages  are sent every day by the system.  To find  out why more and
more NHS personnel are  switching to  this NHS  Connecting  for Health
system please visit www.connectingforhealth.nhs.uk/nhsmail
**********************************************************************





Re: webcam mouse movement = mouseTrap

by Steve Lee-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

That's the same Flavio in both cases Simon ;-)

I spotted pyatspi (great) is used which is GNOME only, but IA2 reduces
the gap evenif no python binding yet.

@Flavio: where does pyatspi get used, just for selecting useful
windows to auto-focus?
Can we look at the code? Don't be shy about it not looking too neat.
It works well and polish can follow. ;-)

Cheers

Steve

On 21/05/2008, Simon Judge <simon.judge@...> wrote:

> Hey Flavio,
>
>  That is fantastic!!!
>
>  Should you be linking up with
>
>  http://blogs.sun.com/wwalker/entry/low_cost_control_of_the
>
>  (from a mail from Steve a while back)?
>
>  I assume since you are using Python and OpenCV it will be able to work
>  across operating systems?
>
>  I look forward to playing with this, in fact, I'll do it now!
>
>  Cheers.
>
>  Simon
>
>
>  -----Original Message-----
>  From: oats-sig-bounces@...
>  [mailto:oats-sig-bounces@...] On Behalf Of Flavio Percoco
>  Premoli
>  Sent: Tuesday, May 20, 2008 4:34 PM
>  To: oats-sig@...
>  Subject: [oats-sig] webcam mouse movement = mouseTrap
>
>  Greetings!!
>
>  I'm working right now in a new project called mouseTrap. It is based in
>  at-spi and OpenCV libraries using the python programing language.
>
>  mouseTrap is an accessibility application to move the mouse pointer with a
>  web cam and face detect features without using the mouse or keyboard, it
>  will use the eye track too (working on it ) so there wont be no need to move
>  the head.
>
>  I'm trying to install the vxl library which gives me a compiling error (any
>  help??) to test the opengazer features and so implement them in mouseTrap.
>
>  Well, I won't bother you with a long mail, here are the demo links:
>
>  The first one uses a complete face detection (with require a lot of CPU
>  usage), the second one is the one that uses the latest improvements where i
>  changed the complete face detection for a point tracker (less CPU Usage).
>  Well, I'm working on it, and i hope you like it.
>
>  1) http://www.flaper87.org/files/videos/mouseTrapCam.ogg
>
>  2) OGG: http://www.flaper87.org/files/videos/mouseTrapCam2.ogg
>
>  2) AVI: http://www.flaper87.org/files/videos/mouseTrapCam2.avi
>
>  Thanks for reading
>
>  --
>  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)"
>
>
>
>
>
>
>
>
> **********************************************************************
>  This message  may  contain  confidential  and  privileged information.
>  If you are not  the intended  recipient please  accept our  apologies.
>  Please do not disclose, copy or distribute  information in this e-mail
>  or take any  action in reliance on its  contents: to do so is strictly
>  prohibited and may be unlawful. Please inform us that this message has
>  gone  astray  before  deleting it.  Thank  you for  your co-operation.
>
>  NHSmail is used daily by over 100,000 staff in the NHS. Over a million
>  messages  are sent every day by the system.  To find  out why more and
>  more NHS personnel are  switching to  this NHS  Connecting  for Health
>  system please visit www.connectingforhealth.nhs.uk/nhsmail
>  **********************************************************************
>
>
>
>
>


--
Steve Lee
--
Open Source Assistive Technology Software
web: fullmeasure.co.uk
blog: eduspaces.net/stevelee/weblog




Re: webcam mouse movement = mouseTrap

by Simon Judge :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Ah! Oops! (-;

S

-----Original Message-----
From: oats-sig-bounces@...
[mailto:oats-sig-bounces@...] On Behalf Of Steve Lee
Sent: Wednesday, May 21, 2008 9:42 AM
To: OATs Project Special Interest Group
Subject: Re: [oats-sig] webcam mouse movement = mouseTrap

That's the same Flavio in both cases Simon ;-)

I spotted pyatspi (great) is used which is GNOME only, but IA2 reduces the
gap evenif no python binding yet.

@Flavio: where does pyatspi get used, just for selecting useful windows to
auto-focus?
Can we look at the code? Don't be shy about it not looking too neat.
It works well and polish can follow. ;-)

Cheers

Steve

On 21/05/2008, Simon Judge <simon.judge@...> wrote:

> Hey Flavio,
>
>  That is fantastic!!!
>
>  Should you be linking up with
>
>  http://blogs.sun.com/wwalker/entry/low_cost_control_of_the
>
>  (from a mail from Steve a while back)?
>
>  I assume since you are using Python and OpenCV it will be able to
> work  across operating systems?
>
>  I look forward to playing with this, in fact, I'll do it now!
>
>  Cheers.
>
>  Simon
>
>
>  -----Original Message-----
>  From: oats-sig-bounces@...
>  [mailto:oats-sig-bounces@...] On Behalf Of Flavio
> Percoco  Premoli
>  Sent: Tuesday, May 20, 2008 4:34 PM
>  To: oats-sig@...
>  Subject: [oats-sig] webcam mouse movement = mouseTrap
>
>  Greetings!!
>
>  I'm working right now in a new project called mouseTrap. It is based
> in  at-spi and OpenCV libraries using the python programing language.
>
>  mouseTrap is an accessibility application to move the mouse pointer
> with a  web cam and face detect features without using the mouse or
> keyboard, it  will use the eye track too (working on it ) so there
> wont be no need to move  the head.
>
>  I'm trying to install the vxl library which gives me a compiling
> error (any
>  help??) to test the opengazer features and so implement them in
mouseTrap.
>
>  Well, I won't bother you with a long mail, here are the demo links:
>
>  The first one uses a complete face detection (with require a lot of
> CPU  usage), the second one is the one that uses the latest
> improvements where i  changed the complete face detection for a point
tracker (less CPU Usage).

>  Well, I'm working on it, and i hope you like it.
>
>  1) http://www.flaper87.org/files/videos/mouseTrapCam.ogg
>
>  2) OGG: http://www.flaper87.org/files/videos/mouseTrapCam2.ogg
>
>  2) AVI: http://www.flaper87.org/files/videos/mouseTrapCam2.avi
>
>  Thanks for reading
>
>  --
>  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)"
>
>
>
>
>
>
>
>
> **********************************************************************
>  This message  may  contain  confidential  and  privileged information.
>  If you are not  the intended  recipient please  accept our  apologies.
>  Please do not disclose, copy or distribute  information in this
> e-mail  or take any  action in reliance on its  contents: to do so is
> strictly  prohibited and may be unlawful. Please inform us that this
> message has  gone  astray  before  deleting it.  Thank  you for  your
co-operation.

>
>  NHSmail is used daily by over 100,000 staff in the NHS. Over a
> million  messages  are sent every day by the system.  To find  out why
> more and  more NHS personnel are  switching to  this NHS  Connecting  
> for Health  system please visit www.connectingforhealth.nhs.uk/nhsmail
>  
> **********************************************************************
>
>
>
>
>


--
Steve Lee
--
Open Source Assistive Technology Software
web: fullmeasure.co.uk
blog: eduspaces.net/stevelee/weblog





**********************************************************************
This message  may  contain  confidential  and  privileged information.
If you are not  the intended  recipient please  accept our  apologies.
Please do not disclose, copy or distribute  information in this e-mail
or take any  action in reliance on its  contents: to do so is strictly
prohibited and may be unlawful. Please inform us that this message has
gone  astray  before  deleting it.  Thank  you for  your co-operation.

NHSmail is used daily by over 100,000 staff in the NHS. Over a million
messages  are sent every day by the system.  To find  out why more and
more NHS personnel are  switching to  this NHS  Connecting  for Health
system please visit www.connectingforhealth.nhs.uk/nhsmail
**********************************************************************





Re: webcam mouse movement = mouseTrap

by Stephen Emslie :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Looks like a great project Flavio. If you're kind enough to make the
source available then perhaps we can try to build it on our own
systems.


Stephen Emslie


On Wed, May 21, 2008 at 9:42 AM, Steve Lee <steve@...> wrote:

> That's the same Flavio in both cases Simon ;-)
>
> I spotted pyatspi (great) is used which is GNOME only, but IA2 reduces
> the gap evenif no python binding yet.
>
> @Flavio: where does pyatspi get used, just for selecting useful
> windows to auto-focus?
> Can we look at the code? Don't be shy about it not looking too neat.
> It works well and polish can follow. ;-)
>
> Cheers
>
> Steve
>
> On 21/05/2008, Simon Judge <simon.judge@...> wrote:
>> Hey Flavio,
>>
>>  That is fantastic!!!
>>
>>  Should you be linking up with
>>
>>  http://blogs.sun.com/wwalker/entry/low_cost_control_of_the
>>
>>  (from a mail from Steve a while back)?
>>
>>  I assume since you are using Python and OpenCV it will be able to work
>>  across operating systems?
>>
>>  I look forward to playing with this, in fact, I'll do it now!
>>
>>  Cheers.
>>
>>  Simon
>>
>>
>>  -----Original Message-----
>>  From: oats-sig-bounces@...
>>  [mailto:oats-sig-bounces@...] On Behalf Of Flavio Percoco
>>  Premoli
>>  Sent: Tuesday, May 20, 2008 4:34 PM
>>  To: oats-sig@...
>>  Subject: [oats-sig] webcam mouse movement = mouseTrap
>>
>>  Greetings!!
>>
>>  I'm working right now in a new project called mouseTrap. It is based in
>>  at-spi and OpenCV libraries using the python programing language.
>>
>>  mouseTrap is an accessibility application to move the mouse pointer with a
>>  web cam and face detect features without using the mouse or keyboard, it
>>  will use the eye track too (working on it ) so there wont be no need to move
>>  the head.
>>
>>  I'm trying to install the vxl library which gives me a compiling error (any
>>  help??) to test the opengazer features and so implement them in mouseTrap.
>>
>>  Well, I won't bother you with a long mail, here are the demo links:
>>
>>  The first one uses a complete face detection (with require a lot of CPU
>>  usage), the second one is the one that uses the latest improvements where i
>>  changed the complete face detection for a point tracker (less CPU Usage).
>>  Well, I'm working on it, and i hope you like it.
>>
>>  1) http://www.flaper87.org/files/videos/mouseTrapCam.ogg
>>
>>  2) OGG: http://www.flaper87.org/files/videos/mouseTrapCam2.ogg
>>
>>  2) AVI: http://www.flaper87.org/files/videos/mouseTrapCam2.avi
>>
>>  Thanks for reading
>>
>>  --
>>  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)"
>>
>>
>>
>>
>>
>>
>>
>>
>> **********************************************************************
>>  This message  may  contain  confidential  and  privileged information.
>>  If you are not  the intended  recipient please  accept our  apologies.
>>  Please do not disclose, copy or distribute  information in this e-mail
>>  or take any  action in reliance on its  contents: to do so is strictly
>>  prohibited and may be unlawful. Please inform us that this message has
>>  gone  astray  before  deleting it.  Thank  you for  your co-operation.
>>
>>  NHSmail is used daily by over 100,000 staff in the NHS. Over a million
>>  messages  are sent every day by the system.  To find  out why more and
>>  more NHS personnel are  switching to  this NHS  Connecting  for Health
>>  system please visit www.connectingforhealth.nhs.uk/nhsmail
>>  **********************************************************************
>>
>>
>>
>>
>>
>
>
> --
> Steve Lee
> --
> Open Source Assistive Technology Software
> web: fullmeasure.co.uk
> blog: eduspaces.net/stevelee/weblog
>
>
>
>




Re: webcam mouse movement = mouseTrap

by Flavio Percoco Premoli :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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)"






Re: webcam mouse movement = mouseTrap

by Simon Judge :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

To add a project, click 'add oats' from here:

http://www.oatsoft.org/Software

HowTos:
http://www.oatsoft.org/Info/HowTos/SubmissionGuide
http://www.oatsoft.org/Forge/Info/ForgeFAQ/how-do-i-manage-my-software-relea
ses-on-the-oats-site
http://www.oatsoft.org/Forge/Info/ForgeFAQ/how-do-i-use-my-forge-pages

I think there might be a permissions problem at the moment with adding
releases, let me know if there is a problem.

RE clicking:  you would make me a very happy man if you could produce a
click from a blink. I have been prodding/looking for something that JUST
does this for ages.  Occasionally we have clients who can only blink, or
maybe just move a muscle to raise their eye brow. It is VERY hard to get a
physical or EMG switch to pick this up, a video based switch (i.e. something
that triggers off a blink or small movement) would be GREAT!  

Nowadays we might use eye gaze for such a person, however I think such a
video-switch would still have uses (e.g. people with problems with eyes,
people wanting simple systems, people wanting a backup method of access....)

Anyway, keep up the good work, look forward to playing with the
binaries/tests when I get a chance.

Cheers.

Simon

Cheers.
 
Simon

-----Original Message-----
From: oats-sig-bounces@...
[mailto:oats-sig-bounces@...] On Behalf Of Flavio Percoco
Premoli
Sent: Wednesday, May 21, 2008 9:16 PM
To: OATs Project Special Interest Group
Subject: Re: [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-mo
use-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)"







**********************************************************************
This message  may  contain  confidential  and  privileged information.
If you are not  the intended  recipient please  accept our  apologies.
Please do not disclose, copy or distribute  information in this e-mail
or take any  action in reliance on its  contents: to do so is strictly
prohibited and may be unlawful. Please inform us that this message has
gone  astray  before  deleting it.  Thank  you for  your co-operation.

NHSmail is used daily by over 100,000 staff in the NHS. Over a million
messages  are sent every day by the system.  To find  out why more and
more NHS personnel are  switching to  this NHS  Connecting  for Health
system please visit www.connectingforhealth.nhs.uk/nhsmail
**********************************************************************





Re: webcam mouse movement = mouseTrap

by Jonathan Chetwynd :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
Flavio,


looks to be a really exciting project.

had you tried this with os x**?

the avi demo does not work for me using
ppc 10.5.2
quicktime Version 7.4.5 (25)
the video downloads and plays ‘white-screen’ with no audio.

**I filed a bug enhancement with apple when they introduced the webcam in laptops, along these lines…

comments posted there..

cheers

~:"

my logo

Jonathan Chetwynd

j.chetwynd@...
http://www.openicon.org/

+44 (0) 20 7978 1764




Re: webcam mouse movement = mouseTrap

by Steve Lee-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

2008/5/20 Flavio Percoco Premoli <flaper87@...>:
>   /home/flaper87/Paquetes/vxl-1.10.0-beta1/core/testlib/testlib_main.cxx:69:
>   error: 'getenv' was not declared in this scope

getenv is declared in stdlib.h (C) or cstdlib (C++) and that is not
explicitly included in the testlib_main.cxx which IMHO is a bug. My
Guess is that on some systems it gets included indirectly via the
other includes depending on conditional compilation.

--
Steve Lee
--
Open Source Assistive Technology Software
web: fullmeasure.co.uk
blog: eduspaces.net/stevelee/weblog




Re: webcam mouse movement = mouseTrap

by Steve Lee-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

2008/5/21 Flavio Percoco Premoli <flaper87@...>:
> Well, pyatspi is used for several things:
>
> 1) Mouse movement listener
> 2) Keybindings listener

hmm, interesting, how so as you are simulating the the mouse?

> 4) Execute the movements of the mouse

I guessed that, I wonder if driving X might be better in the long run
but don't know the issues. Will Walker has worked on X and pyatspi so
may give us some info.

> 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. :)

Yes that is currently the platform dependent bit if you use UI widget sets etc.
IAccessibile2 basically extends MSAA on windows to be very similar in
semantics to AT-SPI.
For now you need to create other code and no one has yet done it
(though NVDA uses IA2 with Python).
A port of pyatspi to 1A2 has been dreamed about ;-)

> 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 )

Yeh I know the feeling. Sometimes it good to overcome that and release
early as it can save you work in the long run if some spots something
or has an idea ;-)

> 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.

will do :-)


--
Steve Lee
--
Open Source Assistive Technology Software
web: fullmeasure.co.uk
blog: eduspaces.net/stevelee/weblog