Showing posts with label biometrics. Show all posts
Showing posts with label biometrics. Show all posts

Thursday, August 27, 2009

Mifare Cards Now Supported by NetSecure

Although I've always believed in the philosophy behind Object Oriented Programming (OOP), I have to admit that in most cases, I still program in traditional, structured, procedural style. This even though languages like C# or Java treats everything as classes, even the main program itself.

The most OOP-heavy program I've ever written is our *ahem* best-selling NetSecure biometric time and attendance system. Since NetSecure aims to support as many devices as possible for identification and verification purposes, early on, I designed it to use OOP heavily. All devices I support (fingerprint scanners, RFID readers, magstripe readers, pinpads, etc.) are derived and implemented from two other layers of abstract classes. At the bottom is a generic InputDevice abstract class. Then a generic ProximityReader abstract class is derived from it. Then finally, an RFID-specific implementation like the GigaTMS' GP20/30 RFID reader is implemented.

Recently, a big client requested for support of Philips Mifare cards. I've been twiddling with the ACR120 Mifare reader for some time. I've written small programs to test its capabilities, but have never actually written a full-blown program to make use of it. I was estimating it could take me a couple of weeks to write all the code to integrate it to NetSecure.

When I finally got down to coding and followed my object models, I realized that the ACR120 reader is just like a GPxx RFID reader. So I created an ACR120MifareReader class that is derived from ProximityReader; implemented the abstract interfaces to allow the main program to connect/disconnect to it and retrieve inputs; and voila -- I was done in about an hour! Turns out that very little changes were needed on the main NetSecure code itself as most access to devices go through the class abstraction interfaces.

Monday, June 29, 2009

When do humans develop fingerprints?

The human fetus starts developing fingerprints at 3 months old!

Tuesday, March 31, 2009

Fingerprint Recognition with Neurotechnology

Since our company, Mozcom, bagged the distributorship of Neurotechnology products in the Philippines, I've been spending some time understanding their software development kits (SDK) and programming models. We were introduced to Neurotech because of the Department of Health (DOH) Integrated Drug Testing Operations Operations Management Information System (IDTOMIS) project. In a nutshell, its a drug testing system where biometrics are acquired in order to accurately identify the person being tested. The developers, Qsys, used Neurotech's Megamatcher SDK for the application.

Writing code for fingeprint identification or verification is nothing new to me. I've been writing code using the DigitalPersona Platinum SDK for 4 to 5 years now, starting with a simple biometric timekeeper, and graduating into a complex client/server system called NetSecure that can support multiple input devices like RFID readers, smart card readers, pinpads, barcode readers, and controlling physical access through electro-mechanical relays and electric locks.

DigitalPersona has recently revamped their SDK. Unlike before wherein you have to buy either the Gold SDK (for C/C++ developers) or the Platinum SDK (for Visual Basic/Studio developers), now they are giving away their One Touch SDK. So I guess they're moving into the model of giving-away-the-razors-to-sell-more-razor-blades. They probably figured that with more people writing code for their scanners, their hardware sales should compensate the loss for the SDK sale. That is a big relief for programmers as the SDK was quite pricey -- about USD1,500 for the Platinum SDK.

One great thing about the DigitalPersona SDK though is its royalty-free runtime license. You can develop an application with it and deploy as many as you want without having to buy any license for deployment -- you just buy the scanner. So even though Doc T has been bugging me to learn more about Neurotech's products, I was hesitant at first because it involves runtime licenses, over-and-above the cost of the SDK. But I eventually decided to take the plunge to know more about their products -- especially since fingerprinting is getting common and I wanted to venture into facial recognition, of which Neurotech also has a solution.

Below are some of the advantages that I found developing using the Neurotech VeriFinger SDK.


  1. The VeriFinger SDK is a stripped-down version of the Megamatcher. It supports only fingerprint identification and scans about 5,000 fingerprints per second. This is actually pretty fast in comparison to the DigitalPersona (DP) SDK. With the NetSecure deployments that we've had where users numbered in the hundreds, doing a template-to-template comparison with DP SDK is really, really slow. You can realistically only use DP SDK to do brute force matching of maybe 50 templates or less. In contrast, Neurotech's performance is more of what I needed. (The latest Megamatcher 3.0 already claims a speed of 40,000 fingerprint matches per second.)

  2. The VeriFinger supports lots of 3rd party scanners. Obviously, the DP SDK only supports the DigitalPersona U.are.U series of scanners that they also manufacture. Not that there's anything wrong with these scanners. In fact, we've been pretty happy supporting the sale of DP Scanner in the Philippines as a DigitalPersona reseller. But for customers who require other brands of scanners, VeriFinger is the way to go. It supports more than 45 fingerprint scanners including drivers for Windows, Linux and Mac OS X. DigitalPersona only started supporting Linux fairly recently. The US Embassy in Manila and the Comelec are using other brands of scanners.

  3. One feature that the VeriFinger SDK has that DP SDK does not, is the ability to load a fingerprint image for feature extraction from a file. The DP SDK require that the image be captured directly from the scanner. But what if the fingerprint database is from a traditional index card system that needs to be scanned and migrated? Neurotech recommends that hardcopy prints be scanned at around 500dpi for accurate feature extraction and conversion to their template format.

  4. Neurotechnology uses their own proprietary template format. However, they provide all the necessary tools and add-ons to let your application comply with industry standards and formats (ex. NIST, WSQ). DP SDK does not provide such features. There are also several template formats to choose from -- the smallest one being only around 300 bytes, while the largest one at around 6,000 bytes. DigitalPersona templates are at around 700 bytes. While those figures are not really relevant when you are storing templates in large SQL databases, they do become important when you consider things like the Philippine governments' attempt to have a unified ID system that plans to embed the template onto a smart card chip, which are usually only a few hundred or kilobytes.

  5. And of course, if you plan to eventually support a multi-biometric system wherein you have to mix fingerprints with facial recognition, or iris recognition, then DP SDK becomes a dead-end. Neurotechnology's Megamatcher gives you that upgrade path to develop more complex systems.

Wednesday, January 14, 2009

Face Recognition with Picasa

Picasa has this really eery technology called "Name Tags". It can go through your photos and find images of people who look similar. Finding a face in a photo must be a complex task from the point of view of a computer. While it may be obvious to a human eye, everything is just pixels from the point of view of a computer. So determining facial features must be a daunting task. But not only can it detect faces well, it can also figure out which faces look "similar". Then it allows the user to define a name tag to associate with that face.


Above is a screenshoot of Picasa finding several photos of Caitlin in my differenet web albums. Of course, it would be impossible to find her face in all photos from birth to 5 years old, but what it did find automatically was still pretty impressive. You still have to manually correct some of the choices, but it sure beats doing this manually one photo at a time.
It leads one to wonder what such a Big Brother-like technology can do. Can you use it to recognize a person within a crowd in real-time? I'm sure the US Dept. of Homeland Security or CIA would want to have such a technology that can do real-time scanning for suspected terrorists in high-density areas like airports, train stations, and so on.