Step 6Using the camera to control something.
I have attached the arduino code files.
The system responds very quickly, even to fast, small movements. Now, we can use the Wii camera directly in all our projects. Look for cheap busted Wii remotes on ebay to salvage.
If you are getting too much noise in the system (i.e. the camera is seeing too many extraneous light sources) you can use the IR filter from the Wii remote. This will filter the lights which are disrupting the camera.
| « Previous Step | Download PDFView All Steps | Next Step » |
















































I do animatronics as a hobby and one of the 'holy grails' is real time Lip Syncing where the mask will move it's lips in time with yours.
If one thinks of the lips as a flexible circle with points every 90 degree's then it's easy to put reflective points on the lips at that location/ Then it's easy to work out how open, cloded, or wide the mouth is and du0plicate it on the puppet.
Using an industrual face mask (for dusting) you can make a fully self contain system complete with camera and IR 'spotlight' that will protect the eyes and provice a dark environment.
Take Care
Marcwolf
the wiimote its just too big, any sugestion?
A way to power it by usb would came in handy too.
thanks
Very flexible, I like.
You can take this idea further. If I know the time of day and my position on the earth (longitude, latitude and possibly altitude as well) then I know where the sun should be. Then, by using a IR camera (or several of of them), you can measure where the sun is. Then, working backwards, I know (within some error) what the angular orientation of the cameras and therefore the orientation of the robot, airplane, etc as well.
This gives you a fixed orientation measurement that doesn't require integration as apposed to inertial navigation systems which builds up error over time.
Of course that would only work during the day. I wonder what IR signal the moon has?
For orientation, that method would work great, except at around midday. Especially if your vehicle is on a tilt. That can be compensated for, though. But then again you can get hall effect compass systems for fairly cheap nowdays, which also have no accumulative errors or anything.
Now if your vehicle was on a body without any magnetic field, like the moon or something, then that would work very well. Especially if you could use the earth as a second reference point for when the sun is directly overhead.
I also tried the moon the other night, being a full moon, and I think that it wasn't bright enough either. Though I didn't try putting my sunglasses in front of the lense to test that out.
also does anybody know if the IR cameras from the Nyko or other brand wii remotes will work?