Speed Up Typing And Other Tasks With Your Head Using Switch Via Cam [Windows]

Ryan Dube 13-09-2012

webcam gesture controlWouldn’t it be really cool if you could wear a headset and use facial and head movements to control your computer? Blink a couple of times and press the enter key. Nod once and press the space bar. Speak, and the sentence appears on the screen.


You’ve heard about mouse gestures to control a computer, but what about head or face gestures? Here at MUO, we’ve often covered interesting special effects ManyCam - Do More Things With Your Webcam Read More that you can accomplish with a webcam, but how about combining the two concepts? In this article I wanted to explore using a program called Switch Viacam to control the left and right arrow keys during different tasks, including writing, working on spreadsheets, and creating a flow diagram.

The idea is that instead of wasting time navigating around a document or a spreadsheet while you’re trying to type in information, you don’t have to remove your fingers from the letter keys. Just nod your head left or right, and there goes the cursor. It’s a cool concept, but does it work?

Configuring Switch Viacam as a Video Switch

The whole idea of Switch Viacam is that it turns your webcam into a “switch”. What does that mean? Well, basically it means that whatever condition you set up using the software’s ability to sense movement in a small part of your webcam frame – that condition will turn the switch on while there’s motion, and off when there’s none.

My goal in this little exercise is to make two conditions – which is the max you can have with Switch Viacam. The first condition will be leaning my head to the left, which will trigger a left-arrow key press. Leaning my head to the right will trigger the right-arrow key press. Pretty cool, right?

Here’s Switch Viacam when I first launched it, with my webcam set above the monitor.


webcam gesture control

First, you click on “Enable sensor” for Sensor 1, which will introduce a square on the webcam video that you can place and adjust anywhere on the screen that you want. In my case, I’ve drawn a small square to the left of my head, and defined it as a “Left” event.

windows gestures

Each sensor has several settings. I suggest you take the time to adjust the sensors by moving your head into the “sensor zone” and watch the “Motion detection” number. Adjust the “Motion Detection threshold” so that it’s just sensitive enough to capture movement, without giving too many false alarms.


windows gestures

So, I enabled the right sensor, and drew the red box just to the right side of my head on the webcam display. Now that I’m looking at that photo, I’m starting to look a bit like a robot with those two colored boxes on the sides of my head…

windows gestures

So, now it’s time to test the software and see if it can actually be effective in a situation where you want to be fast and productive. My first test involved just a typing test. I opened up Notepad, typed in a couple of sentences, and then placed the cursor at the beginning of the second sentence.


windows gesture control

A quick nod of my head to the left and there goes the cursor, one space to the left. It works!

Speed Up Typing And Other Tasks With Your Head Using Switch Via Cam [Windows] racecontrol7

It helped when I adjusted the threshold so that sensor wasn’t so sensitive, otherwise the cursor would occasionally move when there was no noticeable movement in the sensor box. With the right threshold, the “switch” only occurs when there really is movement in that part of the webcam video.


Writing is one thing, but what about navigating a graphical diagram, like a flowchart? To test whether this would be possible (or useful, for that matter), I launched my favorite mindmap tool called FreeMind How To Use FreeMind To Design Or Manage A Website When you think of tools that you can use to create web pages, you probably think of things like Kompozer or Firebug. However, what if I told you that one tool that can really boost... Read More . In FreeMind, you are able to move around a mind map using arrow keys, so I thought it might be really useful if I could move around by just nodding my head, making editing the boxes and bubbles a lot faster.

Sure enough, with the “Main Page” center bubble highlighted, I moved my head to the right side of the display, and sure enough the selection to the right of the Main Page became highlighted.

windows gesture control

It would be even more cool if I could create two more sensors for up and down – but Switch ViaCam doesn’t have that ability. I’m not complaining though, because I could always turn one sensor into a “tab” instead, and just use my head gestures to tab through objects on the screen.

My last test was to navigate through a spreadsheet using the Switch ViaCam tool. As I suspected by this point, it worked without a hitch.

Speed Up Typing And Other Tasks With Your Head Using Switch Via Cam [Windows] racecontrol9

Of course, the software isn’t limited to just arrow keys. You can program the sensors to do just about anything when they sense movement. Examples include the enter key, tab, escape, space, shift and a bunch more.

webcam gesture control

The one single drawback that I was able to find with this software is that I couldn’t use it to control games – like swaying my head left or right to steer a race car. That would be kind of cool – sort of like playing a Wii using nothing more than your computer and its webcam. Alas – it didn’t work for me. However, as a productivity tool, it is very effective and it’s something that I can envision using to speed up a lot of the different tasks that I have to do in Word, Excel and other office applications.

Given the number of actions you can enable for each sensor, with enough creativity I’m sure you could come up with your own set of tasks you could accomplish with this tool. Do you have any ideas? Share them in the comments section below – blow us away with your ingenuity!

Image Credit: Web Camera via Shutterstock

Related topics: Face Recognition, Touch Typing, Webcam.

Affiliate Disclosure: By buying the products we recommend, you help keep the site alive. Read more.

Whatsapp Pinterest

Leave a Reply

Your email address will not be published. Required fields are marked *

  1. Paul Hays
    December 10, 2012 at 6:25 pm

    Wow. "Follow" Ryan, as in I will now be. Very interesting and thought provoking stuff you write. Grats.

  2. venkatp16
    September 15, 2012 at 6:10 am

    This is really cooolll

  3. elhaj
    September 15, 2012 at 12:10 am

    I guess watching someone using this software would be even more interesting then using it

    • Ryan Dube
      September 15, 2012 at 1:54 am

      haha....good point elhaj. I did feel a little goofy after a while, twitching my head left and right. :-)

  4. Sushil
    September 14, 2012 at 5:12 pm

    WOW!! it's just awesome....

  5. druv vb
    September 14, 2012 at 9:20 am

    Nice article. Head and Eye tracking softwares were made for people with physical disabilities. These software migrated to an even larger audience for much "cooler" ways to interact with a computer.
    I've been using voice and hand tracking by webcam since last year, its rather cool.

    • Ryan Dube
      September 15, 2012 at 1:53 am

      Wow, you've used voice and hand tracking with webcam for that long? That's impressive - I've heard some people have a difficulty sticking with it, but I supposed once you use it long enough, using gestures like that probably becomes second nature?

      • druv vb
        September 17, 2012 at 7:14 am

        Last year I was still on Windows XP! Voice recognition had a number of problems when trying to input words in documents. I was using hand tracking to select and move windows around my twin screen setup.
        This year, moving to Windows 7, I had a little go at built-in speech recognition. It works rather well. Will try hand tracking using Switch Viacam, as it has more customising options.
        Being able to select, drag and move windows and objects around using just the mouse seems tiring...
        Would be nice to browse the net just by hovering your hands above the keyboard.

  6. GrrGrrr
    September 13, 2012 at 8:45 pm

    wow, this could be very useful at times.

  7. Alex Perkins
    September 13, 2012 at 7:31 pm

    Really cool, but couldn't they use this to spy on people?

    • Ryan Dube
      September 15, 2012 at 1:49 am

      Definitely - any webcam could be used to spy on people, regardless what software you have installed, right?