A Blog by Jonathan Low

 

May 5, 2019

Facial Recognition Meets Its Match: Farm Animals

In a pig's eye...JL

Yifan Wang reports in the Wall Street Journal:

Cow and pig faces aren’t so easy to tell apart with software originally designed for flatter human faces. And an array of four-legged creatures from China to Ireland have been kicking up a fuss when technicians show up to take their pictures to better train the algorithms.For better results, technicians recommend adding side profiles of animals, which have more distinguishing depth and features than those of humans.
Developing reliable facial-recognition software depends on getting clear, well-lit and straight-ahead images.
No one told the farm animals.
“There were pigs biting and dragging on my clothes,” says Deng Changshun, chief executive of a Beijing-based developer of animal-recognition software, called Innovationai Co. “Others were attacking me with their snouts.”
Cows have tried to hide, licked cameras and untied equipment cables with their tongues. Pigs have squirmed out of reach. Donkeys have kicked away camera phones and sneezed in photographers’ faces.
Human facial recognition has made a range of tasks easier, such as verifying passenger identity at train stations and catching criminals from surveillance footage. If animal recognition can reach similar levels of accuracy, it could help track herd health and reduce waste in agriculture, among the least digitized industries in the world, according to the McKinsey Global Institute.
Farmers need to be able to tell animals apart to track their health and behavior. Insurers hope facial recognition can help combat fraud by farmers. Insurers have relied on farmers to identify animals by ear tags, but the animals often chew them off.
Unfortunately, cow and pig faces aren’t so easy to tell apart with software originally designed for flatter human faces. And an array of four-legged creatures from China to Ireland have been kicking up a fuss when technicians show up to take their pictures to better train the algorithms.
For better results, technicians recommend adding side profiles of animals, which have more distinguishing depth and features than those of humans. Chen Zenghui, Innovationai’s product director, said he can discern how some donkeys have high cheekbones while others are blessed with sharp jawlines. He can tell cattle apart based on the slant of their eyes and the curve of their mouths.
The limited database of available animal faces, which companies say numbers in the hundreds of thousands—compared with millions for humans—slows the pace at which computers can learn. Hence the messy and frustrating effort to collect more animal portraits.
“It’s not like you can tell a donkey to stand still and raise its chin up slightly,” said Mr. Chen. “That’s just impossible.”
Facial-recognition software for animals, which is commercially available, doesn’t provide the same degree of speed and accuracy as similar technology for humans. The machines take longer to make a differentiation and can require high-definition photos or more profile shots from different angles.
Animal faces require hundreds of reference points, many more than humans, to derive algorithms that can achieve similar levels of differentiation, scientists say.
“At the beginning, we weren’t even sure where exactly the focal point of a cow’s nose should be,” said Huang Xianjun, chief executive of Beijing-based Deepfinch Ltd., a facial-recognition company. “The nostrils, or the tip, or maybe the area between the eyes?”
Employees at Cainthus Ireland Ltd., a Dublin-based cow-recognition startup, learned to set up their video cameras out of reach of the cows’ tongues, which are as rough as sandpaper. The beasts have damaged cameras and bitten through the clips holding them in place.
“Any way you can think that an animal with no hands could possibly cause problems with a camera—the cows did that,” said Cainthus President David Hunt. “And then they also established a whole bunch of other ways they could mess with the cameras that would never occur to any sane person ever.”
Pigs, fleeter of foot and smoother of tongue, have resorted to other means of resistance.
“The pigs would move around so much that we had no choice but to have someone hold them down,” said Huang Hua, former vice president of marketing at Yingzi Technology Ltd., an agricultural-technology firm in the southern Chinese city of Guangzhou. “Sometimes it took dozens of attempts before we could get a good shot of one side of a pig’s face.”
Animals are generally “not the camera-loving type,” said Sun Lu, product manager for Deepfinch. During three days of trying to record videos of cows in 2017 and 2018, the beasts would head for the far corner whenever Mr. Sun and his team showed up.
Mr. Sun and his team got 12 different phone models and four special selfie sticks that can hold multiple phones. Still, Mr. Sun had to chase a cow for five minutes before he could get a satisfactory shot.
“They are not good models, for sure,” he said.
On his first outing to photograph pigs, Innovationai’s Mr. Deng made the error of arriving just before feeding time. He tried to hide as 30 hungry hogs turned on him. He slid and fell. “I had to throw out everything I was wearing,” he said.

0 comments:

Post a Comment