Customs & Border Management

Visual Recognition Made Simple

“A picture paints a thousand words”

but only if you know how to read it . . 

Visual Recognition does for huge numbers of images what text analytics does for large collections of written text: it allows pictures to be processed automatically to find material of interest. This can provide the basis for open source intelligence or provide a means to process collected images to automatically find specified targets, such as military infrastructure.

The number of images from public sources, soldiers with (body) cameras, coalition partners and other sources is exploding. Clearly achieving timely, accurate classification of the images by “throwing people at the problem” does not scale and can be error prone.

Cognitive computing – in the form of unsupervised (machine) learning – will transform our ability to classify images.

Let’s consider recognising a military aircraft in an image using the Watson Visual Recognition (web) service. The service uses semantic classifiers built with machine-learning technology to recognize visual entities such as settings, objects, and events based on content such as color, texture, shape, and edges. Watson Visual Recognition allows us to build a classifier specific to our problem (“spot a military aircraft”) by learning from images we provide.

VizRec 1

Figure 1 – Watson Visual Recognition Service (in IBM BlueMix)

To train the new classifier, we provide a set of positive (correct) and negative (incorrect) images as training sets, as shown in Figure 2. Careful examination of the negative images shows a combination of civil aircraft and birds.

VizReq 2

Figure 2 – Training Sets: Positive & Negative

Once the classifier is trained, we can ask it to “recognize” images for us. Sample actual results are shown in Figure 3, but if the classifier misbehaves or the confidence is not high enough it can be re-trained with more complete and/ or comprehensive image libraries.

VIZREQ 3

Figure 3 – Classification Results

For a real life problem, several classifiers would be built and applied to the same image, resulting in competing “image type” results with associated confidences. System accuracy could improve over time if the training sets are augmented with correct and incorrect classifications and the classifiers periodically re-trained.

Want to see this Watson Visual Recognition in action? We will be demonstrating it at or SPADE customer conference [3] in Berlin on the 12th & 13th April. Alternatively take a look at our BlueMix cloud integration platform.

References & Credits

  1. I’m grateful to my close colleague & friend Dr Doug Dykeman (@doug_dykeman) for showing me just how easy this can be!
  2. For insights into the underlying technology “Unsupervised One-Class Learning for Automatic Outlier Removal”
    by John Smith et al
  3. If you are interested in attending our SPADE conference, please contact your local IBM account representative – or me if you don’t have one!

Agree, disagree, disinterested?  I’d much appreciate an active debate on this topic!  Contact me through leaving a comment, twitter or LinkedIn!

Add Comment
No Comments

Leave a Reply

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

More Defence & Intelligence Stories

Customs in the cognitive era (part 1)

Norbert Kouwenhoven and I are writing an article about how cognitive computing can transform the way customs agencies supervise international merchandise trade. Over the next couple of months I plan to post a series of blog posts about customs in the cognitive era as we finalise the article. In part 1, we look at cognitive […]

Continue reading

Does Taking the Long View Help?

Traditionally, U.S. federal agency plans last the length of a four-year presidential election cycle. But many challenges facing government are on a much longer cycle – such as building Defense weapon systems, adapting to climate change, and creating energy independence. In 1996, Congress mandated the Defense Department to conduct a “quadrennial defense review” (QDR) of […]

Continue reading

Using Cognitive and Blockchain to drive innovation at the border

Cognitive Computing and Blockchain were areas of focus as officials representing customs, border security and immigration agencies from around the globe met in New York City as part of the 2016 CIBM Executive Forum (#2016CIBM). This year the forum focused on how agencies could leverage developments like cognitive computing and blockchain to drive innovation out […]

Continue reading