Deep Learning for Face Detection and Pain Assessment in Japanese macaques (Macaca fuscata).

Vanessa N Gris, Thomás R Crespo, Akihisa Kaneko, Munehiro Okamoto, Juri Suzuki, Jun-Nosuke Teramae, Takako Miyabe-Nishiwaki
{"title":"Deep Learning for Face Detection and Pain Assessment in Japanese macaques (<i>Macaca fuscata</i>).","authors":"Vanessa N Gris, Thomás R Crespo, Akihisa Kaneko, Munehiro Okamoto, Juri Suzuki, Jun-Nosuke Teramae, Takako Miyabe-Nishiwaki","doi":"10.30802/AALAS-JAALAS-23-000056","DOIUrl":null,"url":null,"abstract":"<p><p>Facial expressions have increasingly been used to assess emotional states in mammals. The recognition of pain in research animals is essential for their well-being and leads to more reliable research outcomes. Automating this process could contribute to early pain diagnosis and treatment. Artificial neural networks have become a popular option for image classification tasks in recent years due to the development of deep learning. In this study, we investigated the ability of a deep learning model to detect pain in Japanese macaques based on their facial expression. Thirty to 60 min of video footage from Japanese macaques undergoing laparotomy was used in the study. Macaques were recorded undisturbed in their cages before surgery (No Pain) and one day after the surgery before scheduled analgesia (Pain). Videos were processed for facial detection and image extraction with the algorithms RetinaFace (adding a bounding box around the face for image extraction) or Mask R-CNN (contouring the face for extraction). ResNet50 used 75% of the images to train systems; the other 25% were used for testing. Test accuracy varied from 48 to 54% after box extraction. The low accuracy of classification after box extraction was likely due to the incorporation of features that were not relevant for pain (for example, background, illumination, skin color, or objects in the enclosure). However, using contour extraction, preprocessing the images, and fine-tuning, the network resulted in 64% appropriate generalization. These results suggest that Mask R-CNN can be used for facial feature extractions and that the performance of the classifying model is relatively accurate for nonannotated single-frame images.</p>","PeriodicalId":94111,"journal":{"name":"Journal of the American Association for Laboratory Animal Science : JAALAS","volume":" ","pages":"403-411"},"PeriodicalIF":0.0000,"publicationDate":"2024-07-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://www.ncbi.nlm.nih.gov/pmc/articles/PMC11270042/pdf/","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Journal of the American Association for Laboratory Animal Science : JAALAS","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.30802/AALAS-JAALAS-23-000056","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"2024/3/1 0:00:00","PubModel":"Epub","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

Facial expressions have increasingly been used to assess emotional states in mammals. The recognition of pain in research animals is essential for their well-being and leads to more reliable research outcomes. Automating this process could contribute to early pain diagnosis and treatment. Artificial neural networks have become a popular option for image classification tasks in recent years due to the development of deep learning. In this study, we investigated the ability of a deep learning model to detect pain in Japanese macaques based on their facial expression. Thirty to 60 min of video footage from Japanese macaques undergoing laparotomy was used in the study. Macaques were recorded undisturbed in their cages before surgery (No Pain) and one day after the surgery before scheduled analgesia (Pain). Videos were processed for facial detection and image extraction with the algorithms RetinaFace (adding a bounding box around the face for image extraction) or Mask R-CNN (contouring the face for extraction). ResNet50 used 75% of the images to train systems; the other 25% were used for testing. Test accuracy varied from 48 to 54% after box extraction. The low accuracy of classification after box extraction was likely due to the incorporation of features that were not relevant for pain (for example, background, illumination, skin color, or objects in the enclosure). However, using contour extraction, preprocessing the images, and fine-tuning, the network resulted in 64% appropriate generalization. These results suggest that Mask R-CNN can be used for facial feature extractions and that the performance of the classifying model is relatively accurate for nonannotated single-frame images.

查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
用于日本猕猴(Macaca fuscata)人脸检测和疼痛评估的深度学习。
面部表情越来越多地被用于评估哺乳动物的情绪状态。识别研究动物的疼痛对它们的健康至关重要,并能带来更可靠的研究成果。将这一过程自动化有助于早期疼痛诊断和治疗。近年来,随着深度学习的发展,人工神经网络已成为图像分类任务的热门选择。在这项研究中,我们研究了深度学习模型根据日本猕猴的面部表情检测其疼痛的能力。研究使用了 30 到 60 分钟的日本猕猴腹腔手术视频片段。在手术前(无痛)和手术后一天(疼痛),猕猴在笼子里不受干扰地进行录像。使用 RetinaFace 算法(在面部周围添加一个边界框以提取图像)或 Mask R-CNN(对面部轮廓进行提取)对视频进行面部检测和图像提取处理。ResNet50 使用 75% 的图像来训练系统,其余 25% 用于测试。方框提取后的测试准确率从 48% 到 54% 不等。方框提取后分类准确率较低的原因可能是加入了与疼痛无关的特征(如背景、光照、肤色或围栏中的物体)。然而,通过轮廓提取、图像预处理和微调,该网络实现了 64% 的适当泛化。这些结果表明,面具 R-CNN 可用于面部特征提取,而且对于未注释的单帧图像,分类模型的性能相对准确。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
American Society of Laboratory Animal Practitioners Position Statement: Handling and Physical Restraint of Research Animals. American Society of Laboratory Animal Practitioners Position Statement: Definition of Animal Welfare. Effect of Novel High-fat Diet Feeding Methods on Food Wastage, Weight Gain, Hair Coat Grease Accumulation, and Scratching Behavior in C57BL/6NCrl Mice. Identification and Treatment of Fur Mites (Radfordia lemnina) in California Deer Mice (Peromyscus californicus) Using Selamectin. American Society of Laboratory Animal Practitioners Position Statement: Animal Care Principles.
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1