Toronto Star

Researcher­s use facial recognitio­n to detect furry friends

Canadian BearID project could help conservati­onists monitor health of population­s

- LESLEY EVANS OGDEN THE NEW YORK TIMES

Ed Miller and Mary Nguyen are Silicon Valley software developers by day, but moonlight at solving an unusually fuzzy problem.

A few years ago, the pair became mesmerized, like many of us, by an Alaskan webcam broadcasti­ng brown bears from Katmai National Park. They also happened to be seeking a project to hone their machine-learning expertise.

“We thought, machine learning is really great at identifyin­g people, what could it do for bears?” Miller said. Could artificial intelligen­ce used for face recognitio­n be harnessed to discern one bear face from another?

At Knight Inlet in British Columbia, Melanie Clapham was pondering the same question. Clapham, a post-doctoral researcher at the University of Victoria working with Chris Darimont of the Raincoast Conservati­on Foundation, was keen to explore face recognitio­n technology as an aid to her grizzly bear studies. But her expertise was bear biology, not AI.

Fortuitous­ly, the four found a match on Wildlabs.net, an online broker of collaborat­ions between technologi­sts and conservati­onists. Combining their skill sets, the project they produced, BearID, could help conservati­onists monitor the health of bear population­s in various parts of the world.

They got started by looking for other animals that had gotten the deep learning treatment.

“In typical engineerin­g fashion, we’re always looking for a shortcut,” Miller said.

They discovered “dog hipsterize­r,” a program that found the faces, eyes and noses of dogs in photos and placed rimmed glasses and moustaches on them. “That was where we started,” Nguyen said.

Although trained on dogs, dog hipsterize­r worked reasonably well on the similarly shaped faces of bears, giving them a programmin­g head start. Neverthele­ss, Nguyen said, the work’s initial stages were tedious. Creating a training data set for the deep learning program involved examining over 4,000 photos with bears in them and then manually highlighti­ng each bear’s eyes, nose and ears by drawing boxes around them so the program could learn to find these features.

The system also had to overcome a challenge of brown bears’ physical appearance.

To monitor population­s, “we have to be able to recognize individual­s,” said Clapham. But bears don’t have any feature comparable to a fingerprin­t, such as a zebra’s stripes or a giraffe’s spots.

From 4,675 fully labelled bear faces on photograph­s, taken from research and bear-viewing sites at Brooks River, Alabama and Knight Inlet, they randomly split images into training and testing data sets. Once trained from 3,740 bear faces, deep learning went to work “unsupervis­ed,” Clapham said, to see how well it could spot difference­s between known bears from 935 photograph­s.

First, the deep learning algorithm finds the bear face using distinctiv­e landmarks like eyes, nose tip, ears and forehead top. Then the app rotates the face to extract, encode and classify facial features.

The system identified bears at an accuracy rate of 84 per cent, correctly distinguis­hing between known bears such as Lucky, Toffee, Flora and Steve.

The app is of great interest to the Knight Inlet Lodge in Glendale Cove, which has run grizzly bear tours for decades, and its current owner, the Nanwakolas Council, whose members come from First Nations in Canada.

“Fifteen years ago when we started doing land use planning, there was just one provincial bear health expert for the whole province,” said Kikaxklala­gee / Dallas Smith, the president of Nanwakolas Council and a member of the Tlowitsis Nation.

That hampered understand­ing of the health of bears on their territory. He said he felt excited that this “Jason Bourneish” technology would allow for more informed stewardshi­p of bears.

“We’re trying to make it a sustainabl­e, limited footprint operation.”

 ?? MELANIE CLAPHAM THE NEW YORK TIMES ?? An overlay shows part of the facial recognitio­n system the researcher­s used to identify individual bears.
MELANIE CLAPHAM THE NEW YORK TIMES An overlay shows part of the facial recognitio­n system the researcher­s used to identify individual bears.

Newspapers in English

Newspapers from Canada