Wiimote Project

Wiimote Projects => Wiimote Interactive Whiteboard => Topic started by: pradito on June 21, 2011, 12:12:25 AM

Title: how IR dot can represent mouse pointer
Post by: pradito on June 21, 2011, 12:12:25 AM
Hi..I'm freshman, and I have a question about algorithm..

how IR dot can represent mouse pointer, whats the algorithm?
how they can connected?
Title: Re: how IR dot can represent mouse pointer
Post by: boonjin on June 21, 2011, 01:48:42 AM
Hi..I'm freshman, and I have a question about algorithm..

how IR dot can represent mouse pointer, whats the algorithm?
how they can connected?

Hi,

You may refer the Wiimote Whiteboard chapter in the Coding4fun book
http://books.google.com/books?id=d1QC69atuocC&lpg=PP1&dq=brian%20peak%20coding4fun&pg=PA377#v=onepage&q&f=false (http://books.google.com/books?id=d1QC69atuocC&lpg=PP1&dq=brian%20peak%20coding4fun&pg=PA377#v=onepage&q&f=false)

Basically, the relation between the Wiimote's view and the actual cursor position is mapped using planar homography.

Regards,
Boon Jin
Title: Re: how IR dot can represent mouse pointer
Post by: pradito on June 21, 2011, 11:51:28 AM
thanks a lot Boon Jin.. it's very helpful..
do you know any reference else ?

I am looking schema how wiimote's IR camera detect a dot, and use it represent a mouse with left click ability in laptop.. I mean, what step in program/ what first should I do ?

will you help me... thanks a lot
Title: Re: how IR dot can represent mouse pointer
Post by: boonjin on June 21, 2011, 07:10:12 PM
thanks a lot Boon Jin.. it's very helpful..
do you know any reference else ?

I am looking schema how wiimote's IR camera detect a dot, and use it represent a mouse with left click ability in laptop.. I mean, what step in program/ what first should I do ?

will you help me... thanks a lot

The book link that I have provided should give quite the details you need.

However, certain parts of the book is not available and thus you may need to purchase one. :)

Alternatively, you can just go through the source code to understand how it works. It should be available at the Coding4Fun book website. The code there should contain more comments as compared to the Johnny Lee's Wiimote Whiteboard.

Regards,
Boon Jin
Title: Re: how IR dot can represent mouse pointer
Post by: zainey on June 21, 2011, 10:17:16 PM
Hi,

Try this link.

http://www.wiimoteproject.com/glovepie-projects/glovepie-wii-whiteboard/

Bye.
Title: Re: how IR dot can represent mouse pointer
Post by: pradito on June 21, 2011, 11:52:29 PM
Thanks for many help.. Mr. boonjin and Mr. Zainey.. :)

I have a problem with my college teacher question, he said "how wiimote detect an IR dot in the whiteboard?, how do you know the coordinate when you point any IR dot in whiteboard?"..

at that time I answered, "maybe we can use calibration 4 point in the corner to be a limit", but I haven't any idea to explain more.. I have try to searching in google the algorithm for detect IR dot with wiimote's camera but I haven't meet yet..

could you help me with this problem?
you are an expert master wiimote project..

so many thanks for your help...
Title: Re: how IR dot can represent mouse pointer
Post by: boonjin on June 22, 2011, 05:20:45 AM
Thanks for many help.. Mr. boonjin and Mr. Zainey.. :)

I have a problem with my college teacher question, he said "how wiimote detect an IR dot in the whiteboard?, how do you know the coordinate when you point any IR dot in whiteboard?"..

at that time I answered, "maybe we can use calibration 4 point in the corner to be a limit", but I haven't any idea to explain more.. I have try to searching in google the algorithm for detect IR dot with wiimote's camera but I haven't meet yet..

could you help me with this problem?
you are an expert master wiimote project..

so many thanks for your help...

Hi,

I have already provided the algorithm at the first post.

You may google to look for more information.

The calibration will produce a homography matrix that can be used to map any new points from the Wiimote to the corresponding points on the screen.

Regards,
Boon Jin