Entries Tagged as 'MacFun'

iPinchVU - Preview

Here is a short preview of the upcoming version of iPinchMe, called iPinchVU. It uses the handvu library for hand tracking:

Drawing a box with your hand opens iTunes, moving left/right triggers play/pause or switches to the next track. I really hope to release this version soon, but I am incredibly busy right now. Anyways, thanks to everyone who is reading this and commenting. Without knowing that there are people out there appreciating this work, I would have stopped a long time ago.

MacTheClapper - Clap your hands twice to execute an Applescript

I am proud to release a little side project of mine: MacTheClapper.

Description
: MacTheClapper is a small program running in your system menu that listens on your Mac’s builtin microphone and executes a user defined applescript when it detects a double clap (or finger snap) sound.

Download: mactheclapper.zip

Howto: Download the application and unzip. Start the program. A small “MC” icon will appear in your system menu. Click on the icon and choose “Settings”. A dialog will popup with wich you may configure MacTheClapper. Everything should be mostly self explanatory. Be sure to quit MacTheClapper and restart in case you changed the AppleScript command. Once you have configured MacTheClapper,  click “Start” in the MacTheClapper menu.  Clapping twice loud enough should now trigger the AppleScript command.

That’s it for now. Drop a comment if you liked the program or have some trouble using it.

For all of you who don’t know what the “clapper” is:


iPinchMe and HandVU

I’ve decided to stop experimenting and just use some mature open source code. Instead of using my own homebrew hand tracking code, the next version of iPinchMe will use HandVU. Results seem to be promising. Hopefully, I will find some time these days to release the new version. As HandVU is GPL-licensed, the next version of iPinchMe will be released together with all of its source code under a GPL license.

iPinchMe - New Version

Just finished a new version of iPinchMe. It now has its own homepage, where you will find the current release. Here is an example which is based on the version currently available for download.

Enjoy!

iPinchMe Development Continues - CamShift, Skin Histograms and Cover Flow

Edit: New Version available.

I decided to stop using background differencing and use a skin histogram based approach combined with the camshift algorithm. Since everybody was screaming Fluidtunes, Coverflow, etc. I am testing my current development version mainly with iTunes:

Coverflow can now be controlled by a sort of waving motion. Songs are selected with the pinch gesture. Hopefully, this version of iPinchMe will soon be available for download.

TuxRacer and iPinchMe - Promises to be Fun

Another possible application for iPinchMe:

(I sure hope to find serious applications as well:-)

iPinchMe and Google Earth

Seems that iPinchMe is able to control Google Earth:

iSightmaster now called iPinchMe - Video Preview

Here’s a preview of the upcoming tool “iPinchMe”, it will allow you to bind applescripts to certain pinch gestures. Check out the video for a short demonstration. In the demo, a single pinch is bound to an AppleScript which send the “leftarrow key down” command to the currently active application, in this cae iPhoto. The result is a kind of hands free image browsing solution. If anyone likes this sort off stuff and/or has some ideas that could be incorporated in the final app: Just drop me a comment.

Controlling iSight Autoexposure programmatically

One of the things that make computer vision with Apple’s builtin iSight quite cumbersome, are the extremely annoying auto-exposure and auto-whitebalance features. Also, Apple does not seem to care one bit about providing any kind of documentation on how to deactivate these features (and/or control other features) of your iSight. Anyways, after a long time of googling/research I found an Objective-C class at phoboslab.org, which allows to control UVC compliant USB webcams.

With the help of this class and a few tweaks to its code I was finally able to deactivate auto-exposure and auto-whitebalance of my builtin iSight.

Here are my steps:

1.  Get the UVCCameraControl class and include it in your project.

2.  Instantiate this class after you started your QTCapture session with something like this:
“cameraControl = [[UVCCameraControl alloc] initWithVendorID:0×05ac productID:0×8507];”
(You might have to adjust the parameters, USB Prober is your friend)

3. In the file “UVCCameraControl.h” change the line “#define UVC_PROCESSING_UNIT_ID 0×02″ to
“#define UVC_PROCESSING_UNIT_ID 0×03″

4. In  the method  “- (BOOL)sendControlRequest:(IOUSBDevRequest)controlRequest” remove the calls to USBInterfaceOpen() and USBInterfaceClose().

That’s it! At least this is how it worked out for me on my MacBook Pro (latest Generation). If you still have some problems, just drop a comment.

Note: This does not seem to work, if you access your iSight via the old sequence grabber component. Be sure to use the newer Quicktime API.

iSightMaster - Progress

Work on iSightMaster has continued. Here is the first screenshot of the current version:

Screenshot

iSightMaster is now using  the incredibly helpful OpenCV library. The final release date remains “when it’s done”.

   


   Twitter
   Impressum