Feed on Posts or Comments

Windows 7 and your Multi-Touch Table

Multitouch Ankit Singh on 30 Jun 2009

With Windows 7 supporting multi-touch gestures and devices you can now make your own FTIR, DI or even a simple webcam based system to communicate directly with Windows 7. Thus, making your complete OS work with multi-touch.

Community Core Vision (formerly known as tbeta) is program which gets feed from your camera and applies filters for blob tracking. This way you can actually make very cheap multi-touch interfaces, you can find a simple tutorial for that here. After that it sends the fingers or touch data using the TUIO protocol. Now all we need is a driver to convert those TUIO multi-touch signals into Windows 7 multi-touch messages. Here is a video of CCV demo and a link to the tutorial on how to set it up.

CCV Beta Preview (tbeta) from ~ on Vimeo.

After this is done follow the tutorial which uses another project called Multi-touch Vista. This project requires you to have Microsoft Visual Studio 2008. You can follow this tutorial and install the Windows 7 driver for Multi-touch Vista. If you follow the tutorial correctly you will be able to run your Multi-touch hardware on Windows 7 with all the gesture recognition done by the OS. You can try XPS Viewer, Photo Preview, Onscreen Keyboard and other applications to see the multi-touch in action (in other words you won’t have to use keyboard or a mouse to work on your computer). But again you need to have hardware for that. Here is a video taken by me demonstrating the multi-touch features of Windows 7.

Ankit Singh

Reporting from Driving Assessment ‘09

Conferences & Driving & US travel oszkar on 25 Jun 2009

During the fourth week of June 2009, the biannual Driving Assessment conference was held at the beautiful Big Sky Resort, Montana. This is one of the most important driving related conferences. Andrew Kun and I had a poster presentation here, with the following title: Comparison of the Effects of Two Push-to-Talk Button Implementations on Driver Hand Position and Visual Attention. The poster session went very well with lots of interested visitors.

There were also many other interesting presentations and posters. Most of the participants came from North America and interestingly, Sweden. Also, driving assessment related companies were present. Realtime Technologies and SeeingMachines showed a new feature of the RTI simulator, which allows constant monitoring of the object in the simulation at which the driver is looking at.

The nature around Big Sky is beautiful. It is primarily a ski center, but there is plenty to see during the summer too. Its proximity to Yellowstone National Park gives it even more value.

Oszkar

Better Tracking on the Touchkit

Multitouch mlitch21 on 23 Jun 2009

I’ve been working with the Touchkit for a while and have found that there are some tracking issues with the hardware. Particularly, when sliding a finger across the surface the tracker can lose the finger and pick it back up later. This issue causes a problem when writing an application for the Touchkit, since the programmer will expect an action like this to be continuous.

Testing:

I performed 65 trials of dragging my finger across the Touchkit in one continuous motion with average pressure. I recorded the points of presses and drags and plotted them in Matlab, while I varied the lighting, background color, and sensitivity of the table and found that white background, lights on and 30 vision threshold gave the best results. Next, I did 15 more trials with these or similar settings, and calculated the distance and time between the last drag point recorded and a new touch for the optimal settings. Finally, I wrote an algorithm that uses a pointer to the default finger tracking object, which I can update when I find that a new touch is not the same as the previously lost one, based on its time and distance apart.

Results:

I found that with the optimal settings, 57% of the trials yielded one continuous touch. With a distance parameter of 25 pixels and a time of 40 ms in my algorithm the success rate would be 93% (only one failed trial). Below are two Matlab graphs of the same continuous touch. The first is plotted  using the default tracking object’s data and the second is plotted using my pointer’s data.

bad

figure 1. Matlab graph of tracked data from the default object

good

figure 2. Matlab graph of tracked data from my pointer to the default object

The blue circles on the figure indicate a detected press. Notice the first figure shows several detected presses, while the second figure only detects one. Figure 2 shows that my algorithm correctly tracks the finger gesture.

Mike Litchfield

DTK Barcode Reader SDK Report

Mobile phone & Project54 & Software & Technology eric ojala on 22 Jun 2009

One upcoming necessity here at Project54 is the need to be able to scan licenses using a mobile phone camera. I designed an experiment involving many different camera capture formats and post camera capture image processing techniques to see which of these produced the most successful results using the DTKBarcode Barcode Reader SDK.

This scenario involved the following camera parameters:

  • HTC Touch Pro
  • 3MeagPixel Picture
  • Default Saturation
  • Default Sharpness
  • Default Contrast
  • Distance between camera and barcode: About 7 inches

Results:

These two barcodes are from the same picture, the bottom one (Figure 2) being the original. The only property physically different between them is the top right and bottom left corners of the top barcode were skewed two pixels inward using Adobe Photoshop CS3. The result of this skew is shown below (Figure 1). This minute change enabled the barcode to be read by the DTK Barcode Reader SDK.

Barcode Successfully Scanned

Figure 1 : SUCCESSFUL Scan by the DTK Barcode Reader (Photoshop Skewing)

UnsuccessfulBarcodeScan

Figure 2: FAILED Scan by the DTK Barcode Reader (Original HTC Camera Photo)

Conclusion:

I took well over 300 pictures with varying settings. I took my best three cases (Grayscale, Sharpness +5, Saturation +5), each with only 50% success, and applied additional image processing, post capture, with Photoshop. The most successful Camera settings and Photoshop techniques were additional Saturation, Sharpening and Color Level manipulation, with none being much more successful than the others. The best I could raise the scan success rate to was 75%, for one test case, using a combination of all three techniques. Keep in mind that I was sitting, using two hands, and stabilizing the camera with my elbows on the table. The realistic case would be more along the lines of someone standing, holding the phone with one hand and the license with another, with no additional stability support. It seems with this margin of error, the DTK Barcode Software will not be able to meet our needs.

Perhaps someone else has an answer or suggestion to solve this problem?

Eric Ojala

Alyssa Shooshan and Dean Hingson visit Project54

Project54 & UNH CEPS & UNH ECE Andrew Kun on 04 Jun 2009

Alyssa Shooshan, Senator Gregg’s chief of staff and Dean Hingson Senator Gregg’s new counsel, visited Project54 earlier this week. They toured our labs and the new Project54 garage (the location of our recent open house) and had a chance to see in person the results of Senator Gregg’s continued support for Project54. In the picture below you can see Alyssa and Dean (right) looking on as Michael Farrar demonstrates the Project54 handheld application.

Thanks for visiting Alyssa and Dean, we hope to see you again soon.

You can see more pictures from this visit on Flickr.

Andrew Kun

NH EPSCoR Conference and Workshop

Conferences & Grant writing & Science oszkar on 03 Jun 2009

On Wednesday June 3rd the New Hampshire EPSCoR Conference and Proposal Writing Workshop was held at the Common Man Inn in Plymouth, NH.

EPSCoR stands for Experimental Project to Stimulate Competitive Research, which is not very descriptive of its purpose. The goal of this huge project is to stimulate research in science and engineering in states of the USA, which have lower concentration of research funding than others. Since 2004, New Hampshire also participates in this program. It was started as a project of the NSF (National Science Foundation) but since then other government agencies have also implemented their EPSCoR initiatives (e.g. NASA EPSCoR). As it is known, the NSF and similar institutions provide some of the most important funds for research in the country, therefore EPSCoR is also of vital importance for research labs as ours, Project54.

The conference featured a number of NSF officials who presented the most important funding aids that their institution provides. Dr. Uma Venkateswaran, the national Program Director of NSF EPSCoR gave an introductory presentation, talking about the ways they can help fund research labs in New Hampshire. The main vehicles of funding are Research Infrastructure Improvement, Co-funding with NSF Directorates and Conference and Workshop Funding.

After her, officials of different NSF Directorates held presentations of their fields. For us the most important might be the presentation of Dr. Suzanne Iacono from the CISE Directorate (Computer and Information Science and Engineering). Among other topics, she mentioned the Human Centered Computing initiative at her Directorate which funds projects aiming to improve usability and introduce human values into interaction with computers. Our work on researching in-car user interfaces, handhelds and mutitouch surfaces shares many common ideas with this program.

It is important to mention that NSF provides funding through a grant system awarded to successful proposals. The success rate of proposals is only 25% percent, but as we figured out at the conference one can improve his/her chances by elaborately studying all of NSF’ guidelines and the vast number of different programs. I found the conference to be very informative. It was also very encouraging to hear, that so much is invested in advancing science and technology in the US.

Oszkar

Photo-Sharing Using Google Earth

Uncategorized Ankit Singh on 01 Jun 2009

We often use photo-sharing websites like Flickr, Picasa, Panoramio to show our friends our travel photos and interesting places. Many of these websites have the extra feature to geo-tag photos by placing them on a map (signifying the place they were taken). They also give kml feeds, which are files we can open in Google Earth and can actually see our photos.

“LIVE” TOUR USING GOOGLE EARTH

If you have a GPS enabled phone with a camera, you can show your friends photos almost immediately after you have clicked them on Google Earth. For that you will require a GPS-tagging app like GPS Today on your Phone and an account in Shozu linked to your account in Flickr. When you sign up for Shozu and install the app on your phone you can add sites like Flickr (you will have to authorize first) to which you can upload photos just after you have taken them. GPS today tags your photos with your current GPS coordinate. So, your friends just have to subscribe to your photostream kml feed, open with Google Earth and change the refresh in the file properties to a desirable value. This way your friends and family can actually track your adventure “live”.

EXTRA FEATURES YOU COULD IMPLEMENT

There are many other features which we can utilize in Google Earth besides just showing the location of the photograph:

1.     Orientation: We can also add the orientation tags like heading, tilt and roll to our photos specifying the direction in which the photo was taken. This becomes helpful when we have a lot of photos on one particular location and identifying them is a difficult task.

2.    TimeStamp: When people have a lot of photos for a small location it sometimes become untidy or confusing to see all the photos. In Google Earth the Time Slider creates a 4th dimension for viewing the photos. We can view photos over a user specified time interval which can be in seconds and even years. Here is a Yahoo Pipe (used to generate feeds for different websites) which gives the user the same kml feed which the Flickr provides, but adds the extra feature of TimeStamp and removes the limitation of 20 photos which the official Flickr feed has. You just have to give the user’s ID in the second field (e.g. - the ID of the user with the Flickr URL www.flickr.com/photos/31413502@N06/ is ID 31413502@N06) and after running the Pipe, select “Get as kml” option. (Sometimes it may not work the first time, try running the pipe a couple of times to make it work)

The photo below shows two pics taken almost at the same location but marked differently with orientation tag, and also showing a Timeline from the first pic to the second pic.

Do try these exiting features of Google Earth.

Ankit Singh

2009 IEEE International Conference on Technologies for Homeland Security - HST 2009

Conferences & DSP & People & Project54 & SDR & Software & Technology Ivan Elhart on 14 May 2009

On Monday, May 11, I was honored to present my work at a very prestigious IEEE conference on Homeland Security technologies, held in Waltham, MA. During the technical session on the interoperability and field deployable communications, I gave a presentation on the design and development of a software defined Project 25 data base station. Here is a picture taken during my presentation:

First, I took a couple minutes to introduce data communication and talk about potential benefits of having data messages in public safety communication system. I continued my presentation by talking about the problem of very expensive Project 25 equipment that hinders the implementation of data communication in small police departments. Our approach towards a software defined data base station seems a promising and cost effective way for local departments to bring data messages into their cruisers. A very precise and rigorous testing procedure performed in our laboratory showed the compliance of the base station with commercially available P25 radio equipment. Also, the test procedure produced promising and encouraging results prior the real world deployment in a local NH police department. Finally, I concluded my presentation with a demo video which demonstrates an application of querying a remote server using the data base station and Project54’s speech user interface. Here are the slides:

After the presentation I answered a few great questions and received a lot of positive comments about our work on the radio interoperability at UNH and Project54.

Special thanks to Dan Farfan from KinetX Inc., who was so kind to take pictures of me presenting.

Ivan Elhart

Project54 Open House

Project54 & UNH CEPS & UNH ECE Andrew Kun on 12 May 2009

Last Thursday we held a Project54 Open House celebrating the ten year anniversary of this effort. The event was held at our new garage facility in Morse Hall, on the UNH Durham campus. We’ve just recently moved into this facility, which was renovated for our use with the generous support of UNH CEPS Dean Joe Klewicki.

The turnout was excellent: 26 first responders, as well as around 40 faculty, staff, students, industry partners (our colleagues from 54ward) and friends attended the event. Ross Lenharth (picture below, left), the person in charge of the Project54 technology deployment effort, greeted our guests and Tom Prasol (picture below, right), Project Director in Senator Judd Gregg’s Portsmouth, NH office conveyed Senator Gregg’s congratulations and hopes for continued success.

Ross Lenharth Tom Prasol

Several first responder agencies helped out by demonstrating various aspects of the Project54 system as it is deployed in their vehicles. Lieutenant Mark Liebl of the New Hampshire State Police was on hand to demonstrate the Project54 system in a cruiser. Cruisers of the Lee, NH Police and the Merrimack County Sheriff’s office are equipped with mobile network cards that allow officers to access remote databases using a commercial wireless network. Sergeant Tom Dronsfield from Lee and Corporal Brendan Merchant from Merrimack County Sheriff’s were on hand to demonstrate this capability. The Project54 system is also used in firefighting applications as demonstrated by Inspector Brendan O’Sullivan from the Durham Fire Department and Chief Tom Perly from the Madbury Fire Department.

All of us at Project54 want to thank the first responders who helped us make this open house a success. We also want to thank all of our guests for helping us celebrate our anniversary. Finally, we thank Senator Gregg for his continued support of Project54.

You can see more pictures from the event on Flickr.

Andrew Kun

Flywheel Energy Storage

R&D & Renewable energy & Science & Talk zeljko.medenica on 10 May 2009

Last week an interesting lecture was held by Dr. Frank Rudolph of Beacon Power about flywheel energy storage systems as part of the UNH’s energy club series of seminars on renewable energy.

Flywheels are not a new concept, but the technological development in the last 10 years or so made it feasible to become a commercial product. How a flywheel storage system works? The concept is actually pretty simple: it absorbs energy from the grid and stores it in a high-density rotating flywheel. The flywheel thus acts as a kinetic energy battery. Since it spins at very high speeds (>20000 rpm) it is capable of providing very high bursts of energy in a very short period of time. It consists of an electric motor enclosed in a vacuum container and suspended on magnetic bearings. This way almost no losses are encountered due to inertia in the bearings and the surrounding air. After the power loss the motor acts as a generator, converting stored kinetic energy into electric energy.

There are many possible uses for flywheels: trains, cars, uninterruptible power supplies, pulse power, but one of the most interesting is the frequency regulation of the grid. By observing frequency changes it is possible to determine if the power demand is higher (frequency drops) or lower (frequency rises) than the supply. Given the property of the flywheels to deliver high amounts of energy in short periods of time, it sounds like a very promising solution to a very complex problem of power management.

Zeljko Medenica

Next Page »