论文信息

Carlos Eduardo Bezerra / Cauê Bittencourt / Renalvo Alves 等 15 人

Frontiers in Veterinary Science

论文解读

AI 辅助整理
方法
结合目标检测、分割、轻量CNN分类、姿态估计和规则几何分析。
发现
轻量CNN分类准确率超92%,姿态描述符准确率最高达95.47%,视频中受视角影响。
机会点
可迁移至农业动物(如猪、牛)姿态分析,用于健康与福利监测,需验证与现有评估工具的一致性。

论文摘要

引言 体态可为猫提供具有临床参考价值的信息,但行为学解读颇具挑战性,因为体态信号往往较为细微、依赖具体情境,且易受观察者间差异影响。我们开发并评估了一种非侵入性计算机视觉框架,用于从低成本摄像头获取的侧视RGB图像中提取具有临床可解释性的猫体态描述符,旨在支持行为评估、福利监测及未来的临床决策辅助。方法 该框架在结构化处理流程中整合了目标检测、解剖分割、用于体态及侧视分类的轻量级卷积神经网络、姿态估计及基于规则的几何分析。系统从站立侧视帧中生成包括整体体态、头部俯仰角、背部倾斜度、背部曲率及尾部形态在内的描述符。结果 在基于图像的评估中,轻量级神经网络在侧视分类中达到92.6%的准确率,在整体体态分类中达到93.1%的准确率,同时其可训练参数数量约为基于VGG19的基线模型的三十八分之一。经图像质量及视角筛选后,头部俯仰角描述符准确率达88%,背部倾斜度达95%,背部曲率达90%,尾部形态达95.47%。在端到端视频实验中,筛选后的帧保留率在很大程度上取决于录制条件,尤其是侧视可见度及遮挡情况。尽管如此,保留帧仍能实现对头部俯仰角、背部倾斜度及尾部形态的高精度估计。讨论 上述研究结果表明,基于标准RGB视频的自动化体态分析能够生成结构化且具有临床可解释性的猫肢体语言描述符,对行为医学及动物福利评估具有应用价值。在临床或诊断应用之前,仍需针对既有的疼痛、应激及福利评估工具开展前瞻性验证研究。

全文

Frontiers in Veterinary Science

TYPE Original Research
PUBLISHED 01 September 2026
DOI 10.3389/fvets.2026.1881772
OPEN ACCESS
EDITED BY
Maria Giovanna Ciliberti,
University of Foggia, Italy
REVIEWED BY
Antonio Fernández-Caballero,
University of Castilla-La Mancha, Spain
Adnan Alrubaye,
University of Arkansas, United States
Yong Wan,
The University of Utah, United States
CORRESPONDENCE
Thales Vieira
thales@ic.ufal.br
RECEIVED 14 May 2026
REVISED 11 July 2026
ACCEPTED 27 July 2026
PUBLISHED 01 September 2026
CITATION
Bezerra CE, Bittencourt C, Alves R,
Ribeiro T, Azorín-Ortuño M, Nejar G,
Barreras A, Zemirline C, Lewiner T, Le
Bourdiec A, Pagny G, Barbosa A, Yang X,
Oliveira K and Vieira T (2026) Automated
analysis of feline posture using deep
learning and geometric modeling.
Front. Vet. Sci. 13:1881772.
doi: 10.3389/fvets.2026.1881772
COPYRIGHT
© 2026 Bezerra, Bittencourt, Alves,
Ribeiro, Azorín-Ortuño, Nejar, Barreras,
Zemirline, Lewiner, Le Bourdiec, Pagny,
Barbosa, Yang, Oliveira and Vieira. This is
an open-access article distributed under
the terms of theCreative Commons
Attribution License (CC BY).T h eu s e ,
distribution or reproduction in other
forums is permitted, provided the
original author(s) and the copyright
owner(s) are credited and that the
original publication in this journal is
cited, in accordance with accepted
academic practice. No use, distribution
or reproduction is permitted which does
not comply with these terms.
Automated analysis of feline
posture using deep learning and
geometric modeling
Carlos Eduardo Bezerra1, Cauê Bittencourt1, Renalvo Alves1,
Thiago Ribeiro1, María Azorín-Ortuño2, Gloria Nejar2,
Alba Barreras2, Claudine Zemirline3, Thomas Lewiner3,
Anahita Le Bourdiec3, Gaëlle Pagny3, Adriano Barbosa4,
Xu Yang1, Krerley Oliveira5 and Thales Vieira1

1Institute of Computing, Federal University of Alagoas (UFAL), Maceió, Brazil,2Isoquimen, Barcelona,
Spain, 3Ceva Santé Animale, Libourne, France,4Faculty of Exact Sciences and Technology, Federal
University of Grande Dourados (UFGD), Dourados, Brazil,5Institute of Mathematics, Federal University
of Alagoas (UFAL), Maceió, Brazil
Introduction: Body posture provides clinically relevant information in cats,
but behavioral interpretation can be challenging because postural signs are
often subtle, context-dependent, and subject to inter-observer variability.
We developed and evaluated a non-invasive computer vision framework for
extracting clinically interpretable feline posture descriptors from side-view RGB
images acquired using low-cost cameras, with the aim of supporting behavioral
assessment, welfare monitoring, and future clinical decision support.
Methods: The proposed framework combines object detection, anatomical
segmentation, lightweight convolutional neural networks for posture and
side-view classification, pose estimation, and rule-based geometric analysis
within a structured processing pipeline. From standing side-view frames,
the system generates descriptors including overall posture, head pitch, back
inclination, back curvature, and tail configuration.
Results: In image-based evaluation, the lightweight neural networks achieved
92.6% accuracy for side-view classification and 93.1% accuracy for overall
posture classification while using approximately 38 times fewer trainable
parameters than VGG19-based baselines. After image quality and viewpoint
filtering, descriptor accuracy reached 88% for head pitch, 95% for back
inclination, 90% for back curvature, and 95.47% for tail configuration. In end-
to-end video experiments, frame retention after filtering depended strongly on
recordingconditions,particularlyside-viewvisibilityandocclusion.Nevertheless,
retained frames still enabled high-accuracy estimation of head pitch, back
inclination, and tail configuration.
Discussion: These findings demonstrate that automated posture analysis from
standard RGB video can generate structured and clinically interpretable feline
body-language descriptors relevant to behavioral medicine and animal welfare
assessment. Further prospective validation against established pain, stress,
and welfare assessment instruments is required before clinical or diagnostic
application.
KEYWORDS
action recognition, computer vision, deeplearning,feline behavior,posture analysis
Frontiersin VeterinaryScience 01 frontiersin.org

Bezerra et al. 10.3389/fvets.2026.1881772
1 Introduction
In feline medicine and welfare assessment, body posture is
a clinically relevant behavioral signal, yet objective and scalable
interpretation remains difficult in routine practice (1, 2). Low-
cost RGB camera systems provide a practical opportunity for
non-invasive behavioral monitoring in domestic and clinical
environments (3). However, identifying meaningful postural
patterns or behavioral anomalies still relies largely on human
observation,whichistime-consuming,labor-intensive,andsubject
tointer-observervariability.
Automatically generating detailed posture-related descriptors
continuously over time can support veterinarians, veterinary
nurses, and animal behavior researchers, while also enabling
downstreamwelfaremonitoringapplications.Thesesubtlephysical
cues are often linked to pain, stress, neurological conditions,
or emotional states, and may otherwise go unnoticed in casual
observation. For example, an abnormal tail position or a persistent
head tilt can serve as early indicators of discomfort or illness (4).
In addition, automation supports large-scale behavioral studies by
providingconsistentandobjectivedataonfelinebodylanguage( 5).
Beyond reducing human effort, such systems can significantly
improve the speed, precision, and scalability of behavioral
analysis, unlocking new possibilities for practical applications and
scientificresearch.However,currentapproachestoanimalbehavior
monitoring rarely address detailed, automated recognition of
feline postures, and even fewer provide continuous, quantitative
descriptorsofbodyconfigurationovertime.
In feline behavioral medicine, posture interpretation is
particularly challenging due to the subtle and ambiguous nature
of cats’ expressive signals. Unlike more vocal species, cats often
mask vulnerability through minimal postural changes, such as
slightearflatteningortailtwitches,whichmayindicatepain,stress,
or emotional state depending on context (6). Although validated
ethograms provide standardized terminology and descriptors to
improveobjectivity,theirapplicationinroutineveterinarypractice
remainslimited(7).Accurateethogramscoringrequiresprolonged
observation, specialized training, and consistent interpretation,
making assessments highly dependent on observer expertise and
leading to inter-rater variability and potential misclassification of
behavioralstates.
These challenges are further amplified in busy clinical and
domestic environments, where time constraints, stress-induced
behavioral alterations, and multitasking hinder careful posture
assessment (8). Even trained veterinary professionals and nurses
may struggle to consistently detect nuanced posture-based
indicators without structured decision-support tools. As a result,
despitetheirrecognizedvalue,felineethogramsareunderutilizedin
dailypractice,highlightingtheneedforautomatedsystemscapable
of generating continuous, objective, and reproducible posture
descriptors that can complement clinical expertise and reduce
subjectivity. In routine consultations, hospitalization, and home
monitoring, sustained structured observation is often impractical;
consequently, subtle posture-derived indicators are underused in
day-to-daydecision-making.
To address these challenges, we propose a novel methodology
that automates cat posture analysis without manual intervention.
FIGURE 1
Example of an image capturing the cat’s side view.
Our approach leverages side-view images captured by a low-cost
RGB camera positioned in areas frequently visited by the cat. Side
views are particularly suitable for this task, as they provide a clear
profileoftheanimal’sposture,asillustratedin Figure1.
The choice of the side-view configuration was not arbitrary.
It was defined in consultation with animal behavior specialists,
who indicated that lateral observation is the most informative
perspective for evaluating feline posture in routine practice.
Clinically relevant indicators such as trunk curvature, head pitch,
and tail orientation are primarily expressed in the sagittal plane
and are more reliably assessed when the full body profile is
visible. Frontal or oblique views tend to introduce occlusions and
depth ambiguities that complicate both human interpretation and
geometric modeling. Therefore, the adoption of side-view imagery
aligns the proposed computational framework with established
professional assessment practices while ensuring anatomical
interpretability and methodological robustness. This perspective
also reflects practical ethogram-based observation workflows,
where sagittal-plane features are typically the most consistently
interpretable.
We propose an automated framework that integrates deep
learning-based detection, pose estimation, and rule-based
geometric analysis through a structured processing pipeline. The
method identifies key anatomical features and infers posture
descriptorssuch as backcurvature and tailorientation. It leverages
establishedmodels:YOLO(9)forobjectdetection,DensePose(10)
for anatomical part segmentation, and MMPose (11) for keypoint
estimation.Thesearecomplementedbylightweightneuralnetwork
classifiers and geometric rule-based algorithms that provide
accurate and interpretable posture classification. Experimental
results validate the effectiveness of our method, underscoring its
potential for use in behavioral monitoring and animal welfare
applications.
In summary, the novelty of the proposed fully automated
framework stems from five main contributions: (i) a multi-
model detection pipeline for robust feline keypoint estimation;
(ii) lightweight task-specific neural networks for side-view
Frontiersin VeterinaryScience 02 frontiersin.org

Bezerra et al. 10.3389/fvets.2026.1881772
validation and overall posture classification; (iii) novel geometric
algorithms for silhouette- and keypoint-based posture analysis;
(iv) an extensive experimental evaluation demonstrating high
accuracy across all stages of the proposed approach; and (v) a
clinically interpretable descriptor set aligned with feline behavioral
assessmentneedsinveterinaryandwelfarecontexts.
By converting routine RGB video into standardized posture
descriptors, this framework can improve reproducibility of
feline behavioral assessment acrossclinics, shelters, and research
environments.
It is important to note that the scope of the present study is
restricted to the accurate estimation of posture-related descriptors,
andnottotheassessmentofwelfare,pain,oremotionalstates.The
descriptors produced by the proposed framework, namely overall
posture, head pitch, back inclination, back curvature, and tail
configuration, are geometric quantities validated against human-
annotated ground truth; they do not, by themselves, constitute
indicators of any clinical or affective condition. Establishing a link
between these descriptors and clinically relevant outcomes would
require a dedicated study correlating them with validated pain,
stress,andwelfareassessmentinstruments(Section8).
The remainder of this paper is organized as follows. Section 2
reviews related work. Section 3 provides an overview of the
proposed methodology, including its underlying principles and
implementation steps. Section 4 describes the architectures of the
overallpostureclassifierandtheside-viewclassifier,whileSection5
detailsthegeometricfeatureextractionprocessforpostureanalysis.
Section6presentsthehigh-levelpostureclassification,introducing
the head pitch, back, and tail classifiers. Section 7 reports and
discusses the experimental results, emphasizing the effectiveness
and limitations of the proposed approach. Finally, Section 8
concludesthepaperandoutlinesdirectionsforfutureresearch.
2 Related work
Recent advances in artificial intelligence, especially in deep
learning and computer vision, have enabled a wide range of
applications in animal behavior research (12, 13). In this section,
we review some representative studies that illustrate the use of
these techniques, progressing from general applications involving
animalstomorespecificstudiesoncats,andfinallytoworkrelated
tofelinepostures.
2.1 Deep learning in animal behavior
analysis
Numerous studies have effectively applied deep learning
models to detect, monitor, and analyze animal behavior
and physiology. For instance, Oliveira et al. ( 14) provided a
comprehensive review of recent advances in deep learning-based
computer vision systems for livestock science, highlighting their
value in predicting phenotypes to support farm management and
breeding decisions. Saoud et al. (12) continued this line of work
by discussing the applications of deep learning techniques in
animal behavior research, focusing on tracking, pose estimation,
and behavioral analysis, while also identifying emerging trends
and future challenges in the field. In addition, Kyriazakis
et al. ( 15) demonstrated that deep learning object-detection
models, including YOLOv5, can support automated video-based
monitoring of clinically relevant post-weaning behavioral and
posture changes in pigs under practical farm conditions. Finally,
Xu et al. (16) presented a diverse wild mammal behavior dataset
andintroducedEfficient Dual-streamNeuralNetworks(EDNN), a
spatiotemporaldeeplearningmodelthatachievedhighrecognition
accuracy and demonstrated an efficient, generalizable approach
for automated animal behavior analysis. Although these studies
demonstrate the growing impact of deep learning in behavioral
research, they primarily address general or non-feline species and
donotfocusondetailed,posture-levelanalysis.
Several studies have employed models closely related to
those used in our work. Ranc et al. (17) used images captured
by unmanned aerial vehicles (UAVs) to detect and count
deer populations, implementing three versions of the YOLO
architecture alongside the Single Shot Multibox Detector
(SSD) (18). Similarly, Dias ( 19) proposed a computer vision
pipeline that combines YOLOv4 with a linear regression model to
estimate the weight of croakers in fish farms. Their approach also
identified feeding periods by analyzing spatial fish groupings in
images, thereby reducing manual monitoring efforts. Pereira(20)
explored sensory imprinting strategies in piglets, using continuous
video recording and heatmap analysis to assess post-weaning
feedingbehavior,anddemonstratedthatpigletsexposedtofamiliar
sensory cues exhibited improved feed intake patterns. In another
study, Zhang et al. (21) developed a method to recognize sheep
behavior through spatiotemporal video analysis, combining
YOLOv5, AlphaPose, and graph neural networks. This approach
enabled contact-free detection of key behaviors and contributed
to health monitoring in semi-housed farming systems. Finally, an
interesting generalization of the YOLO model was presented by
Kangetal.( 22),furtherillustratingtheversatilityofmodernobject
detection frameworks in animal-related computer vision tasks.
While these studies successfully apply YOLO-based architectures
to various species and contexts, none address fine-grained feline
posture estimation or combine detection, segmentation, and
keypointanalysisasproposedinourwork.
2.2 Feline recognition and behavioral
analysis
Beyond general animal research, a growing number of studies
have focused specifically on feline behavior using computer vision
and machine learning. One active line of research addresses
cat identification and emotion recognition. Lin and Kuo ( 23)
proposedanoninvasivecatfacerecognitionmethodtohelpidentify
missingpets,achieving94.1%accuracyusingConvolutionalNeural
Networks (CNNs) for facial part detection and Support Vector
Machines (SVMs) for classification based on features from 1,500
images of 150 cats. Similarly, Chen et al. (24) developed a method
forrecognizingandidentifyingindividualcatsusingacombination
ofAutoencodersandCNNs,providingvaluableinsightsintorobust
Frontiersin VeterinaryScience 03 frontiersin.org

Bezerra et al. 10.3389/fvets.2026.1881772
cat recognition models and serving as a reference point for fine-
grained animal identification. Vishwakarma et al. (25) introduced
a hybrid system that combines CNNs with Canny edge detection
to classify cat facial expressions into basic emotional categories.
Akbar et al. (26) tackled the challenge of monitoring feral cats in
Australia, a major threat to native wildlife, where camera traps
often capture partial or obscured views of animals. To address
this, they developed a deep learning approach based on body-
part identification, training ResNet-50 models on four anatomical
regions (flank, back leg, front leg, and tail) using a curated
dataset of 1,644 images from 10 individual cats. In the same
feline-computer-vision direction, Martvel et al. (27) presented an
automated landmark-based framework for cat facial analysis with
applications including pain-related inference. Additional studies,
such as those by Yang et al. (28) and Martvel et al. (29), further
explorefelineidentificationthroughdeeplearning.
Another important research direction involves tracking feline
behaviors such as eating and drinking. Eagan et al. (30) introduced
BeRSTID, a system that employs visual markers on collars
and low-cost cameras to automatically monitor feeding and
drinking activities of cats in shelters. Similarly, Nakajima et al.
(31) fine-tuned a YOLO model on a small annotated video
dataset of domestic cats and demonstrated that, even with
fewer than 100 training images, individual tracking performance
improved significantly. Additionally, other studies have focused
on distinguishing between cats and dogs, such as (32–34), which
explore interspecies image classification using various machine
learningtechniques.
While these studies demonstrate significant progress in feline
recognition, emotion, and behavior analysis, they primarily focus
on facial or part-based identification. In contrast, posture-based
assessment may offer practical advantages for routine behavioral
monitoring in veterinary and domestic settings. Postural cues
such as crouching, tail lashing, ear positioning, and piloerection
integrate information across multiple body regions and remain
observable at a distance, under variable lighting conditions,
and during free movement. In contrast, facial signals, although
informative in controlled or close-range settings, are often subtle,
breed-dependent, and sensitive to viewing angle, motion, and
handling stress, which limits their applicability in everyday clinical
and domestic environments. As a result, posture-based assessment
tends to exhibit higher robustness and inter-rater agreement in
real-world contexts, making it particularly suitable for automated,
continuousmonitoringsystems( 4).
Building on this body of research, our study prioritizes full-
body feline posture analysis, integrating detection, segmentation,
and geometric modeling to derive robust behavioral descriptors
thatarebettersuitedtoreal-worldwelfaremonitoring.
2.3 Posture estimation and analysis
Oneofthemostimportantresearchdirectionsinthisfieldisthe
identification and classification of cat postures. Before discussing
resultsspecifictocats,severalstudiesonhumanpostureestimation
provide valuable methodological insights (35–38). For instance,
(39) developed a posture-based tracking scheme for multiple fish
that accurately identified and tracked individual head and tail
positions, recorded movement trajectories, and enabled detailed
analysis of collective behaviors with minimal error. In veterinary
applications, Phelan et al. (40) further highlighted the potential of
computer vision and pose-based analysis for objective locomotion
assessmentincanines.
Focusingspecificallyonfelines,Suietal.( 41)aimedtoimprove
human-cat emotional interaction by recognizing and classifying
aggressive behaviors in kittens during their socialization stage
(3-7 weeks old). Unlike studies emphasizing basic emotional
categories, this work investigated the mechanisms of offensive
and defensive aggression through posture analysis. Using YOLOv5
and three classical image classification models (VGG16, ResNet50,
and MobileNetV2), the authors compared performance across
three aggressive postures, ultimately deploying the lightweight
MobileNetV2 model as a mobile application for real-time
behavioral recognition. Similarly, Fawzy et al. ( 42) proposed
DeepCat, a deep learning-based system designed to interpret cat
body language by detecting key features such as the tail, eyes, and
mouth. Trained on a dataset of 10,000 automatically labeled cat
images, DeepCat enables pet owners to better understand their
cats’ emotional states, and it is deployed as a Flutter-based mobile
applicationforreal-timeuseindomesticenvironments.
Beyondvision-basedsystems,somestudieshaveexplorednon-
wearable sensing mechanisms for animal posture analysis. For
example, Pons et al. (43) developed a depth-based tracking system
that detects animal body parts and postures, comparing multiple
classifiers under supervised and knowledge-based paradigms.
Their results demonstrated that depth tracking could be a viable
alternative to wearable sensors for animal behavior monitoring.
However, despite these advances, no previous work has provided
a detailed, keypoint-based analysis of feline posture using a
multi-model deep learning pipeline. To address this gap, we
propose an automated system that integrates YOLO for object
detection, DensePose for anatomical segmentation, and MMPose
for keypoint estimation. This framework enables fine-grained
posture interpretation from side-view images, offering a novel
perspective for understanding feline behavior and contributing a
newtoolforveterinarybehavioralmonitoring.
3 Method overview
Thisworkpresentsacomputervisionframeworkforautomated
feline posture analysis from images captured by low-cost RGB
cameras. The use of low-cost cameras was motivated by the
intended applicability of the framework in routine domestic,
shelter, and clinical environments, where affordability and ease
of deployment are important practical constraints. Figure2
summarizes the framework architecture and its multi-stage
processing pipeline. The framework outputs a set of clinically
interpretablehigh-levelposturedescriptors,including:
• catpresenceintheimage:presentorabsent;
• overall posture: lying down, sitting, crouching, standing or
other;
• headpitch:downorup;
Frontiersin VeterinaryScience 04 frontiersin.org

Bezerra et al. 10.3389/fvets.2026.1881772
FIGURE 2
Overview of the proposed framework for automated feline posture analysis and its multi-stage processing pipeline. An input RGB frame is first
processed by YOLO for cat detection and by DensePose for anatomical segmentation. After validating detection agreement and cropping the region
of interest, lightweight neural classifiers are applied to confirm standing posture and side-view orientation. Frames that satisfy these conditionsare
then processed by MMPose for skeletal keypoint estimation. Validated keypoints and silhouettes are used for geometric feature extraction, and
rule-based classifiers subsequently infer high-level posture descriptors. For clarity, some intermediate filtering and consistency checks are omitted.
• backcurvature:archedornon-arched;
• backinclination:negative,neutralorpositive;
• tailconfiguration:down,neutralorup.
By delivering structured and interpretable data, the proposed
approach enables non-invasive, continuous monitoring of feline
behavior,supportingearlydiagnosis,long-termbehavioralanalysis,
and improved animal care across both domestic and clinical
settings(44).
The image and video data analyzed in this study were derived
from a previously approved palatability study in dogs and/or cats
conducted by Isoquimen under animal experimentation project
authorization no. 10416, reviewed and approved by the Animal
Experimentation Commission of the Government of Catalonia
(Comissiód’ExperimentacióAnimal,GeneralitatdeCatalunya).
The resulting image and video dataset comprised more than
30 individual, non-pedigree domestic shorthair cats (Felis catus)
with diverse coat colors and patterns. Although this provides
some degree of visual diversity in terms of pelage, all data were
collected at a single research facility under controlled palatability-
testing conditions, which is acknowledged as a limitation to the
generalizabilityoftheframework.
We use images recorded with a low-cost RGB camera as input,
capableofcapturingimageswitharesolutionofatleast1280 ×720
pixels. To enable the analysis of features such as the head, back,
and tail of the cat, we analyzed only images that provide a side
view of the animal. For this reason, it is necessary to choose a
locationforplacingthecamerasuchthattheobservableareainthe
FIGURE 3
Side-view image of a cat, suitable for cat posture analysis.
capturedimagesisalocationthecatfrequentlypassesthrough;and
theimagescaptureasideviewofthecat,asillustratedin Figure3.
Video recordings are processed frame by frame as described in
Figure2. Given an input frame, we first detect cats in it using a
YOLOv5 model (9), pre-trained on the COCO dataset (45), which
includes a class for cat detection. Frames where YOLO detects
one or more cats are subsequently processed with a variant of
the DensePose model (46). DensePose was originally designed to
map each pixel of a detected human figure to specific anatomical
regions(e.g.,head,back,limbs).Sanakoyeuetal.( 10)extendedthis
approachbyfine-tuningDensePoseondatasetscontaininganimals
withsimilarmorphology,suchasfelines.Inthiswork,weemployed
Frontiersin VeterinaryScience 05 frontiersin.org

Bezerra et al. 10.3389/fvets.2026.1881772
FIGURE 4
Example of cat detection and DensePose estimation, illustrating a case where the bounding boxes produced by both models coincide. The bounding
boxes are depicted in red, and DensePose anatomical segments are color-coded.(a) YOLO bounding box.(b) DensePose segmentation and
bounding box.
the DensePose architecture based on Faster R-CNN with a Feature
Pyramid Network (FPN) and a ResNet-50 backbone, trained on
the AP-10K dataset (47). The model configuration is available in
the official DensePose repository.1 These models, however, are
not exclusively specialized for cats and may inadvertently detect
other species. To mitigate this, we combine the detection outputs
of YOLO and DensePose, ensuring that pose estimation is only
applied to regions confidently identified as cats, as illustrated in
Figure4.
We assess the agreement between YOLO and DensePose
detections by comparing the spatial proximity of the bounding
boxes generated by each model. Letcy be the center of a bounding
box detected by YOLO, andcd be the center of a bounding box
correspondingtoananimaldetectedbyDensePose.IftheEuclidean
distance between these centers satisfies‖ cy − cd ‖< Tbbox for any
pair of bounding boxes, the models are considered to agree on the
presence of a cat in that location, and posture analysis proceeds.
Otherwise, the frame is discarded. In this work, we useTbbox = 50
pixels.
Forframeswherethemodelsagree,theprocessreturnsanRGB
image cropped according to YOLO’s bounding box, along with the
corresponding cropped segmented image from DensePose (lower
right rectangle inFigure2). In the segmented output, each pixel is
encoded with an integer representing an anatomical part, which is
color-codedin Figure4b forvisualizationpurposesonly.
Next, the overall posture of the cat is classified by a lightweight
ConvolutionalNeuralNetwork(CNN)thatanalyzestheDensePose
image, assigning one of five classes: lying down, sitting, crouching,
standing, or other. This CNN was designed and trained from
scratchinthiswork,andisdetailedinSection4.
To estimate the remaining high-level posture descriptors, the
methodology requires that the cat be standing and that the image
depicts a side view. To this end, we employ a second lightweight
CNN with the same architectural design as the overall posture
classifier, but trained for binary classification to identify valid side-
view representations of the cat. Like the posture classifier, this
1 https://github.com/facebookresearch/detectron2/
blob/main/projects/DensePose/configs/evolution/
densepose_R_50_FPN_DL_WC1M_3x_Atop10P_CA_B_finesegm.yaml
model operates on DensePose segmentation maps and is also
described in Section 4. As a result, images where the cat is either
notstandingornotshowninasideviewareexcludedfromfurther
processing.
In the next step, the cropped RGB images are given as input
to a pose estimation model known as MMPose (11). This model
generates a skeleton for each image, providing the coordinates
of the cat’s body joints along with the confidence score for each
estimation.
It is important to note that both the segmented images
produced by DensePose and the joint positions estimated by
MMPose may contain inaccuracies due to occlusions; variations
in fur, texture, and color; unconventional postures; or limitations
in the models’ ability to generalize to feline anatomy. To address
these issues, the subsequent step cross-validates and refines the
detections by combiningthe two outputs, filtering out inconsistent
or erroneous results. Although MMPose provides anatomically
meaningful skeletal landmarks, the posture descriptors considered
in this work are primarily assessed from the external profile
of the animal in side view. In particular, back curvature and
tail configuration depend on contour information that is not
fully represented by the available skeletal keypoints. Furthermore,
MMPose does not provide an explicit tail-tip landmark and does
not directly encode the dorsal contour required for curvature
estimation. For these reasons, DensePose-derived silhouettes
constitute the primary geometric representation used for posture
analysis, while MMPose is employed in a complementary role
to validate anatomical consistency and improve the reliability of
featureextraction.
This process yields a consistent set of geometric features, such
asanatomicalkeypointsandsilhouettes.Finally,asetofclassifiersis
appliedtothevalidatedposturedatatoinferhigh-leveldescriptors,
asdetailedinSection6.
4 Overall posture and side view
classifiers
To classify the cat’s overall posture and validate its side-view
orientation prior to geometric analysis, we trained two lightweight
Convolutional Neural Networks using supervised learning. Both
Frontiersin VeterinaryScience 06 frontiersin.org

Bezerra et al. 10.3389/fvets.2026.1881772
FIGURE 5
Architectures of the proposed lightweight CNNs for overall posture classification and side-view validation.
networks take as input the segmentation maps produced by the
DensePose model, resized to 224× 224 pixels. Each pixel in these
maps is assigned an integer in the range [0,24], where 0 represents
thebackgroundandtheremainingvaluescorrespondto24distinct
body parts of the cat. The detailed architecture is illustrated in
Figure5.
To enable effective application of convolutional filters, we
introduce a custom layer that converts each segmentation map
from a tensor of shape 224× 224 × 1 into a one-hot encoded
binarytensorofshape224 ×224×25.Thistransformationprevents
the network from treating anatomical labels as ordinal quantities
andenablesconvolutionalfilterstolearnspatialrelationshipsacross
distinctanatomicalregions.
The subsequent layers follow a conventional CNN structure:
convolutional layers for feature extraction, pooling layers for
dimensionality reduction, a flattening layer, a dense layer with 256
units and ReLU activation, and a final softmax layer that outputs
thepredictedclass.
Specifically, the overall posture classifier takes segmentation
maps as input and predicts one of five cat postures: lying down,
crouching, standing, sitting, or other, as illustrated inFigure6.
This architecture was designed to maintain a low parameter
count (approximately 524 thousand parameters), enabling efficient
trainingandinferencewhilemaintainingcompetitiveclassification
performance.
The side-view classifier shares the same input representation
but performs binary classification, determining whether the image
corresponds to a valid side-view configuration. Examples of both
classesareshownin Figure7.
5 Geometric feature extraction for
posture analysis
This section describes how geometric features are extracted
from side-view images of cats, forming the foundation for
computing high-level posture descriptors. To ensure consistency
in posture estimation, outputs from DensePose and MMPose are
cross-validated during this step. Frames in which the two models
produceconflictingresultsarediscarded.
5.1 Anatomical keypoints
The geometric feature extraction begins by identifying the
centroid of the head (pointP) and the base of the tail (pointQ),
as illustrated inFigure8a. To determine pointP, we cross-validate
information from the DensePose segments and the MMPose
skeleton. An empirical analysis of segmented images revealed that
segments 6, 23, and 24 typically correspond to regions of the cat’s
head, although they occasionally represent other body parts, as
shown inFigure9. If the MMPose facial joints (eyes and nose) lie
within these segments, the image is considered valid. The centroid
of the largest among these DensePose segments is then selected as
point P. To determine the base of the tail position (pointQ), we
directlyuseitscorrespondingjointprovidedbyMMPose.
The next step is to identify the centroid of the tail tip (point
R). Since MMPose does not include a joint corresponding to this
anatomicallandmark,weproposeacustomalgorithmthatoperates
solely on the DensePose output. The algorithm assumes that the
tail tip corresponds to the DensePose-identified body pixel that is
farthestfromtheheadpoint Pintermsofshortest-pathdistanceon
theforegroundpixelgraph.
We construct a graph where each node represents a pixel
classified as part of the cat’s body. Initially, all image pixels are
treated as nodes and connected to their 4-connected neighbors,
forming a graph that reflects the 2D spatial structure of the
image. Background pixels are then removed, resulting in a graph
composed exclusively of connected foreground (body) pixels.
Dijkstra’s algorithm is applied to this graph to compute unit-
weightedshortest-pathdistancesfrom P.Thenodewiththegreatest
shortest-path distance is identified as pointR. In most side-view
images, this node corresponds to the tip of the tail (seeFigure8b).
Frontiersin VeterinaryScience 07 frontiersin.org

Bezerra et al. 10.3389/fvets.2026.1881772
FIGURE 6
Examples of overall posture images from distinct classes, color-coded according to DensePose segments.
FIGURE 7
Examples of the side view and non side view images, color-coded according to DensePose segments.
(a) (b)
FIGURE 8
Illustration of anatomical reference points AND shortest-path analysis on the cat body mask.(a) Centroids of the head and base of the tail.(b)
Shortest path from the head point P to point R, defined as the body pixel farthest from P in terms of unit-weighted shortest-path distance on the
foreground pixel graph.
However, in some cases, due to occlusions or certain poses, the
algorithm may incorrectly identify a hind paw. To detect such
errors, we compare the location ofR with the hind leg keypoints
provided by the MMPose skeleton. If the Euclidean distance
between Rand any hind leg keypoint falls below a given threshold,
we assume that the tail tip was misidentified. In these cases, the
Frontiersin VeterinaryScience 08 frontiersin.org

Bezerra et al. 10.3389/fvets.2026.1881772
FIGURE 9
DensePose segments 6, 23, and 24(top), and all segments(bottom).
FIGURE 10
Examples of tail tip localization based on shortest-path distance from the head point on the foreground pixel graph. In successful cases, the
identified pointR corresponds to the anatomical tail tip and is spatially distant from the hind paw keypoints.(a) The point R (in green), identified as the
pixel farthest from the head point based on unit-weighted shortest-path distance on the foreground pixel graph, correctly corresponds to the
anatomical tail tip. It is also distant from the hind paw keypoint (in red).(b) The point R (in green), though far from the head, does not correspond to
the tail tip. This misidentification is detected by measuring its proximity to the hind paw keypoint (in red).
corresponding image is discarded from the dataset, as illustrated
inFigure10.
5.2 Silhouette extraction and segmentation
After estimating the keypoints P, Q, and R, we extract the
silhouette of the cat by applying a contour detection algorithm to
the union of DensePose segments, following the method of Suzuki
andAbe(48).Fromthissilhouette,weisolatethreesegmentsofthe
top boundary curve that correspond to the shape of the tail (Stail),
back (Sback), and head (Shead). The segmentStail traces the upper
outlinebetweentheintersectionsofthesilhouettewithverticallines
passing through pointsRand Q. The portion of the curve between
theverticallinesat Qand Pisfurtherdividedintotwoparts:thefirst
two-thirdsdefine Sback,representingtheback,whiletheremaining
one-third nearest to point P defines Shead, capturing the head
region.Thissegmentationprocedureisillustratedin Figure11.
6 High-level posture feature
extraction and classification
In this stage, high-level posture features are derived from
anatomical keypoints and silhouette segments. These geometric
features are subsequently fed into rule-based classifiers to infer
categoricalposturalstates.
6.1 Head pitch classifier
To quantify head pitch, we define the head segment Shead
based on three anatomically meaningful points extracted from
the silhouette: the initial (Sihead), middle (Smhead), and final (Sfhead)
positionsalongtheheadcontour,asshownin Figure12a.Thehead
pitchangle, θhead,isdefinedasthesignedanglebetweenthevectors
−−−−−−→
SiheadSmhead and−−−−−−→SmheadSfhead,computedusingthe2Dcrossproductto
Frontiersin VeterinaryScience 09 frontiersin.org

Bezerra et al. 10.3389/fvets.2026.1881772
FIGURE 11
Silhouette extraction and segmentation: the silhouette of the cat is first extracted(left), and then segments corresponding to the tail (Stail), back
(Sback), and head (Shead) are identified using vertical lines through pointsP, Q,a n dR(right).
FIGURE 12
Extraction of posture features from silhouette segments: head pitch and back inclination are derived fromShead and Sback, respectively.(a) Head pitch
angle estimation using three keypoints fromShead. (b) Back inclination estimation usingSback.
determine its sign. This signed formulation preserves the direction
of rotation about the lateral axis of the head in the sagittal plane,
allowingpositiveandnegativepitchvaluestobedistinguished.
To categorize head orientation into one of the semantic classes
down or up, as illustrated inFigure13, we employ a rule-based
classifier fhead. This classifier discretizes the continuous pitch angle
θhead using an empirically learned threshold,Thead. The threshold
isestimatedfromalabeleddataset:
Dhead =
{
(θi, hi)
}N
i=1 ,
where θi is a sample head pitch angle and hi ∈{ down, up}
is its corresponding class. The estimation is based on a cross-
validation procedure aimed at maximizing inter-class separation
andclassificationperformanceonheld-outdata.
Theclassifier fhead isdefinedas:
fhead(θ) =
{
down, if θ< Thead
up, if θ ≥ Thead
6.2 Back classifiers
Two posture-related features are extracted from the back: the
inclination mback and the curvatureκback. Both are derived from
Sback,whichapproximatestheback’sshape.
The back inclinationmback is estimated by leveraging the side-
view constraint (Section 4). It is computed as the slope of the line
connectingtheendpointsof Sback,relativetothehorizontalaxisof
theimage,asshownin Figure12b.
Similar to the head pitch classifier, we define a back
inclination classifier fback, which uses two thresholds Tdback and
Tuback learned from a labeled training set. This classifier maps
the inclination mback to one of three posture classes: negative,
neutral,o r positive, as illustrated in Figure14. Formally, it is
definedas
fback(m) =
⎧
⎪⎨
⎪⎩
negative, if m < Tdback
neutral, if Tdback ≤ m ≤ Tuback
positive, if m > Tuback .
Back curvature, κback, is estimated by applying Principal
Component Analysis (PCA) (49) to the set of points in the
discrete curve Sback, represented as a matrix with each row
corresponding to a 2D point. PCA identifies the directions of
maximum variance: the first principal component captures the
back’s main orientation, while the second reflects orthogonal
deviations. The eigenvalue associated with the second component
serves as an indirect measure of curvature: small values
indicate a nearly straight segment, while larger values suggest
increased bending. Figure15 shows two distinct examples of
backcurvature.
The back curvature classifier gback performs binary
classification based on a single threshold Tcurv, which
is learned from supervised data. It evaluates the
Frontiersin VeterinaryScience 10 frontiersin.org

Bezerra et al. 10.3389/fvets.2026.1881772
FIGURE 13
Examples of each class of head pitch: down(left) and up(right).
FIGURE 14
Examples of each class of back inclination: negative(left), positive(middle) and neutral(right).
FIGURE 15
Illustrative examples of back curvature: a cat with pronounced arched back(left) and a cat with non-arched back(right).
curvature κback and classifies the back as either arched or
non-arched.Formally,
gback(κ) =
{
arched, if κ> Tcurv
non-arched, otherwise.
6.3 Tail classifier
Finally, we calculate the tail angleθtail based on three reference
points: the head pointP, the tail base pointQ, and the midpoint
Smtail of the tail curve Stail. We use the midpoint Smtail instead
of the tail endpoint to mitigate errors caused by complex tail
configurations. For example, a tail that initially curves upward
might later bend downward, leading to an incorrect horizontal or
downward classification if only the endpoint were considered. The
tail angleθtail is then estimated as the angle between vectors−−−→SmtailQ
and− →QP,asillustratedin Figure16.
The tail configuration classifierftail operates on the tail angle
θtail to predict one of three semantic classes: down, neutral,o r
up (see Figure17). It requires two thresholds ( Tdtail and Tutail),
which are learned from a supervised training set. Formally,ftail is
definedas:
ftail(θ) =
⎧
⎪⎨
⎪⎩
down, if θ< Tdtail
neutral, if Tdtail ≤ θ ≤ Tutail .
up, if θ> Tutail
Frontiersin VeterinaryScience 11 frontiersin.org

Bezerra et al. 10.3389/fvets.2026.1881772
7 Experimental evaluation
Inthissection,wepresentexperimentsdesignedtoaddressthe
followingresearchquestions:
RQ1. How accurately can the proposed lightweight neural
networks detect side views and overall postures of cats from
DensePose-based segmentation maps, and how does their
performance compare to larger VGG19-based architectures
underthesamestaged-processingconditions?
RQ2. What is the impact of MMPose-assisted anatomical
consistencyvalidationontheproportionofframeseligiblefor
geometricpostureanalysis?
RQ3. How accurately can the proposed classifiers predict high-
levelpostures?
RQ4. In real-world video streams, what proportion of frames
can be expected to successfully pass all detection, validation,
and filtering stages of the pipeline, under representative
operatingconditions?
RQ5. How accurately does the end-to-end computer vision
pipeline estimate and classify feline posture descriptors from
real-world video sequences, considering only frames that
successfullypassalldetection,validation,andfilteringstages?
RQ6. How can the automatically extracted posture descriptors
be used to characterize and comparebehavioral trajectories in
real-worldobservations?
FIGURE 16
Tail inclination estimation using anatomical keypointsP, Q and Smtail.
The following subsections address each question in detail,
presenting the experimental setup, evaluation metrics, and results
tosystematicallyvalidatetheperformanceoftheproposedpipeline.
7.1 Evaluating side-views and overall
postures classifiers
To address RQ1, we evaluated the classification performance
of the proposed lightweight CNNs and compared them against
substantially larger pretrained architectures based on a VGG19
backbone. The objective of this comparison is to determine
whether the proposed compact task-specific architectures can
achieve competitive or superior performance relative to deeper,
high-capacitynetworks.
For each task (side-view and overall posture classification),
two models were trained and evaluated under identical data
splits and training protocols: (i) the proposed lightweight CNN
architecture described in Section 4; and (ii) a VGG19-based
architecture composed of a pretrained VGG19 convolutional
backbone(initializedwithImageNetweights),followedbythesame
classification head used in the proposed lightweight CNN (i.e., a
dense layer with 256 ReLU-activated units and a final output layer
with softmax activation for multi-class classification or sigmoid
activationforbinaryclassification).
Each task was associated with a distinct RGB image dataset
collected using low-cost cameras operating at a minimum
resolution of 1280× 720 pixels. Although the datasets differ in
targetclassesandlabelingcriteria,theywereacquiredundersimilar
environmentalconditions.Theclassdistributionsforbothdatasets
aresummarizedin Tables1,2.
In the VGG19-based models, the convolutional backbone
was fine-tuned during training. This architecture contains
TABLE 1 Class distributionfor the side-view classificationdataset.
Class Train Test
Side-view 332 333
Notside-view 86 86
Total 418 419
FIGURE 17
Examples of tail configurations classified as down(left),n e u t r a l(middle),a n du p(right).
Frontiersin VeterinaryScience 12 frontiersin.org

Bezerra et al. 10.3389/fvets.2026.1881772
TABLE 2 Class distributionfor theoverall posture classificationdataset.
Class Train Test
Lyingdown 40 39
Sitting 340 341
Crouching 48 49
Standing 92 93
Other 14 13
Total 534 535
TABLE 3 Comparisonbetween the VGG19-basedmodel and the proposedlightweightCNN
for side-view classification.
Model Accuracy F1-score #
Parameters
VGG19 91.9% 91.4% 20,156,226
ProposedCNN 92.6% 92% 523,469
TABLE 4 Comparisonbetween the VGG19-basedmodel and the proposedlightweightCNN
for overall posture classification.
Model Accuracy F1-score #
Parameters
VGG19 91.0% 90.4% 20,156,997
ProposedCNN 93.1% 91.8% 524,240
approximately 20 million trainable parameters, representing a
substantiallyhighermodelcapacitycomparedtotheapproximately
0.52millionparametersoftheproposedlightweightnetworks.
All models were trained using the Keras framework with
the Adam optimizer and categorical cross-entropy loss (binary
cross-entropy for side-view detection). Early stopping based on
validation loss was applied to mitigate overfitting. To address class
imbalance,classweightingwasappliedduringtrainingbyassigning
weights inversely proportional to the class frequencies. Model
performance was quantitatively assessed using accuracy, F1-score,
andtheconfusionmatrix,whichtogetherprovidedcomplementary
insightsintobothoverallandclass-wisepredictiveperformance.
As shown in Tables3, 4, the proposed lightweight CNNs
achievedhigherclassificationaccuracythanthesubstantiallylarger
VGG19-based architectures in both tasks. Notably, the lightweight
models contain approximately 38 times fewer parameters while
attainingsuperiorpredictiveperformance.
These findings indicate that increasing model depth and
parameter count does not necessarily improve performance
when operating on structured segmentation maps derived from
DensePose. Instead, compact architectures specifically designed
for anatomical segmentation inputs appear to generalize more
effectivelyfortheconsideredpostureclassificationtasks.
To provide a more detailed analysis of classification behavior,
Figures18, 19 present the confusion matrices for both the
lightweight and VGG19-based architectures in the side-view and
overallposturetasks,respectively.
The confusion matrices further illustrate the comparative
behaviorofthemodels.Forside-viewclassification,thelightweight
CNN correctly classified 323 side-view and 65 not-side-view
images, while the VGG19-based model correctly classified 327
side-view but only 58 not-side-view samples, indicating a higher
misclassificationratefortheminorityclass.
Foroverallpostureclassification,thelightweightCNNachieved
strongerdiagonaldominanceacrossclasses,correctlyidentifying86
standing and 7 other samples, compared to 77 and 1, respectively,
for the VGG19-based model. The VGG19 architecture also
exhibited increased confusion between visually similar postures,
particularlystandingandsitting(11standingsamplesmisclassified
as sitting). Overall, the lightweight models demonstrate more
balancedclass-wiseperformanceinadditiontohigheraccuracy.
In summary, these findings provide a positive answer toRQ1.
TheproposedlightweightCNNsachievedperformancecomparable
to, and in these experiments slightly higher than, VGG19-based
architectures while using approximately 38 times fewer trainable
parameters. This result should be interpreted in the context of the
stageddesignoftheproposedframework.Theprecedingdetection,
cropping,andDensePosesegmentationstepsprogressivelysimplify
the classification problem by converting raw RGB images into
structured anatomical representations. Consequently, the later
classification stages do not require the capacity of a large
general-purpose visual backbone. Instead, compact task-specific
architecturesaresufficienttolearntherelevantspatialrelationships
in the segmentation maps, making them more suitable for efficient
deploymentwithintheproposedpipeline.
It should be noted that the VGG19-based architecture was
selected as a deliberately high-capacity, general-purpose baseline,
in order to directly test the hypothesis that compact, task-specific
networks operating on DensePose-derived segmentation maps can
matchorexceedtheperformanceofsubstantiallylarger,generically
pretrained backbones. The comparison was therefore not intended
as an exhaustive benchmark against the current state of the
art in image classification; a broader comparison encompassing
additional recent lightweight and efficient architectures (e.g.,
MobileNet- or EfficientNet-family models) is identified as a
directionforfuturework.
7.2 Evaluating high-level posture classifiers
In this subsection, we investigate RQ2 and RQ3. For this
purpose, we consider an initial dataset of 474 side-view images
of standing cats, used for training and evaluating the high-level
postureclassifiers(Section6).Itisimportanttonotethatallimages
in this dataset had already successfully passed the object detection,
DensePose segmentation, and side-view validation stages of the
pipeline.
This initial dataset was then subjected to anatomical
consistency validation during the geometric feature extraction
step (Section 5). Specifically, images were discarded when
inconsistencies were observed between the anatomical keypoints
Frontiersin VeterinaryScience 13 frontiersin.org

Bezerra et al. 10.3389/fvets.2026.1881772
FIGURE 18
Confusion matricesfor the binary side-view classification task, comparing the proposed lightweight CNN(left)withthe VGG19-based baseline(right).
FIGURE 19
Confusion matrices for the five-class overall posture classification task, comparing the proposed lightweight CNN(left) with the VGG19-based
architecture (right).
extractedbyMMPoseandthebody-partsegmentationprovidedby
DensePose.
Table5 summarizes the distribution of images before and after
thisMMPose-assistedvalidationprocessforeachposturecategory,
along with the corresponding retention percentages. Since all
frames had already passed detection and side-view classification,
the reduction in sample size reflects exclusively the selectivity
introducedbyanatomicalconsistencyverification.
Theresultsshowthatformostposturefeatures,morethan90%
of frames satisfy the anatomical validation criteria, indicating that
the majority of side-view standing images support geometrically
coherent descriptor extraction. However, specific configurations,
most notably vertical tail positions (31.82% retention), exhibit
substantially lower retention rates, revealing a higher sensitivity to
preciseanatomicalalignment.
In response toRQ2, these findings demonstrate that MMPose-
assisted validation constitutes a structural reliability mechanism
within the proposed pipeline. By enforcing consistency between
skeletal keypoints and DensePose segmentation, the validation
stageensuresthatgeometricposturedescriptorsarecomputedonly
when anatomically coherent conditions are met. This mechanism
selectively constrains configurations that are prone to skeletal-
segmentationmisalignmentwhilepreservingthemajorityofstable
cases, thereby safeguarding the integrity of the geometric posture
analysis.
ItisimportanttoemphasizethatMMPoseandDensePoseplay
complementary roles in the proposed framework. While MMPose
providesskeletallandmarksforanatomicalconsistencyverification,
DensePose is indispensable for detailed body-part segmentation,
particularly for tail-region identification. Since MMPose does not
include explicit tail joints, removing DensePose would prevent the
computation of tail-related geometric descriptors, making such a
configurationinfeasible.
We next evaluate the performance of high-level posture
classifiers trained on the filtered dataset to estimate the proposed
posture features, including head pitch, back inclination and
curvature,andtailposition.
7.2.1 Head pitch classifier analysis
Following the calibration procedure described in Section 6.1,
the head pitch classifier was tuned to a threshold of Thead =
−0.28 using 221 training images (50% of the initial dataset).
The resulting confusion matrix (Figure20) shows that the model
correctly classified 196 out of 221 samples, yielding an overall
Frontiersin VeterinaryScience 14 frontiersin.org

Bezerra et al. 10.3389/fvets.2026.1881772
TABLE 5 Sample countsbefore and after anatomicalconsistency validationfor each posture
feature,showingretentionratesafterexcludingframeswithinconsistenciesbetweenMMPose
keypoints and DensePose segmentation.
Posture Pre-
filtering
Post-
filtering
Percentage
(%)
Head pitch
Headup 213 193 90.52
Headdown 261 248 95.00
Back inclination
Positiveslope 97 95 97.94
Neutralslope 94 85 90.43
Negativeslope 283 261 92.30
Back curvature
Archedback 57 48 84.21
Non-archedback 417 393 94.24
Tail
Tail down 417 414 99.4
Horizontaltail 13 13 100.00
Verticaltail 44 14 31.82
FIGURE 20
Confusion matrix for the binary head pitch classifier (upward vs.
downward) on the test set.
accuracy of 88%. Specifically, 83 head-up and 113 head-down
sampleswerecorrectlyidentified.Amongthe25misclassifications,
16head-upsampleswereincorrectlypredictedashead-down,while
only9head-downsamplesweremisclassifiedashead-up,indicating
aslightbiastowardthemajorityclass.
This behavior is reflected in the per-class F1-scores reported
in Table6, with values of 0.87 for the head-up class and 0.90
for the head-down class. Despite the class imbalance, both classes
achievedhighF1-scores,demonstratingthattheclassifiermaintains
a good balance between precision and recall. Overall, these results
confirmthatthecalibratedthresholdprovidesarobustandreliable
separation between upward and downward head poses. Future
improvements could focus on balancing the dataset or applying
TABLE 6 Per-class F1-scores for the binary head pitchclassifier (head up vs.head down).
Class F1-score
Headup 0.87
Headdown 0.90
FIGURE 21
Confusion matrix for the back inclination classifier on the test set.
TABLE 7 Per-class F1-scores for the back inclinationclassifier.
Class F1-score
Positiveslope 0.94
Negativeslope 0.97
Neutralslope 0.97
data augmentation techniques to further enhance performance,
particularlyfortheunderrepresentedhead-upclass.
7.2.2 Back classifiers analysis
Toclassifybackinclination,thedecisionthresholdsweretuned
through cross-validation to Tdback =− 0.16 and Tuback = 0.15.
Using these values, the back inclination classifier achieved an
overall accuracy of 95%, indicating strong global performance.
A more detailed evaluation is provided through the confusion
matrixshownin Figure21 andtheclass-wiseF1-scoresreportedin
Table7. The confusion matrix demonstrates that most samples are
correctly classified, with only a small number of misclassifications
occurringprimarilybetweenneighboringclasses(e.g., Positive slope
and Neutral slope), which is expected given the continuous nature
ofbackinclination.
ConsistentlyhighF1-scoresareobservedacrossallclasses,with
Negative slopeand Neutral slopeachievingthehighestvalues(0.97),
while Positive slope presents a slightly lower yet still robust F1-
score of 0.94. These results demonstrate balanced precision and
recallforallclassesandconfirmthatthe selectedthresholdsenable
reliable discrimination among back inclination states. Overall, the
Frontiersin VeterinaryScience 15 frontiersin.org

Bezerra et al. 10.3389/fvets.2026.1881772
FIGURE 22
Confusion matrix for the back curvature classifier on the test set.
TABLE 8 Per-class F1-scores for the back curvature classifier.
Class F1-score
Archedback 0.59
Non-archedback 0.95
combination of high accuracy, strong diagonal dominance in the
confusion matrix, and uniformly high F1-scores indicates that the
classifieriswellsuitedforreal-timemonitoringapplications.
Regarding back curvature, a threshold of Tcurv = 0.0095
was estimated through cross-validation on the training set to
discriminate between arched and non-arched postures. Using this
threshold, the curvature classifier achieved an overall accuracy
of 90%. Nevertheless, the confusion matrix shown inFigure22
highlightsapronouncedclassimbalance,withasubstantiallylarger
number of non-arched samples compared to arched ones. This
imbalance leads to asymmetric classification performance: while
non-arched backs are detected with high reliability, a significant
portion of arched backs is misclassified as non-arched. This
behavior is reflected in the per-class F1-scores reported inTable8,
where the arched back class achieves a considerably lower F1-
score (0.59) than the non-arched class (0.95). Moreover, in some
instances, localized abnormal segment curvature results in inflated
curvature estimates, further contributing to back misclassification
(Figure23). Finally, these results suggest that augmenting the
dataset to mitigate class imbalance, particularly by increasing the
representationofarchedbacksamples,couldleadtomorebalanced
performanceandimprovedclassificationofarchedpostures.
7.2.3 Tail classifier analysis
For the tail configuration classifierftail, the optimal decision
thresholds were estimated as Tdtail =− 0.33 and Tutail = 0.21.
As shown inFigure24, the classifier achieved an overall accuracy
of 95.47% on the test set. The confusion matrix indicates perfect
classification performance for the upward tail configuration, with
all samples correctly identified. The downward tail class also
exhibitedveryhighperformance,achievingaclassificationaccuracy
ofapproximately96%.
In contrast, the neutral tail configuration attained a lower
accuracy of 75%, with misclassifications occurring primarily
between the neutral and downward classes. This reduced
performancecanbelargelyattributedtothestrongclassimbalance
presentinthetrainingdataset,aswellastheinherentlysubtlevisual
differences between neutral and slightly inclined tail positions.
Such subtlety may have led to ambiguity in class boundaries and,
consequently, to inconsistent annotations during dataset labeling.
Thesefactorsjointlyincreasethedifficultyofreliablydistinguishing
the neutral class. These trends are further corroborated by
the per-class F1-scores reported in Table9, where the tail-up
class achieved a perfect F1-score of 1.00, the tail-down class
reached 0.97, and the neutral class presented a notably lower
F1-scoreof0.55.
Overall, the tail configuration classifier demonstrated
robust performance, particularly for clearly defined upward and
downward tail orientations. While the neutral class remains more
challenging due to class imbalance, subtle geometric variations,
and potential annotation inconsistencies, the model consistently
distinguished the primary tail configurations in the majority
of cases. These results validate the effectiveness of the selected
thresholds and support the classifier’s suitability for real-time
posture analysis, with further improvements possible through
datarebalancing.
7.2.4 Discussion
These results indicate that the proposed geometric and
rule-based classifiers achieve strong overall performance across
most posture components. Head pitch and back inclination
were estimated with high reliability, achieving accuracies of
88% and 95%, respectively, with balanced F1-scores across
classes. These results suggest that silhouette-based geometric
features are well suited for capturing global postural trends
in side-view images. Tail configuration was also classified
accurately, particularly for clearly defined upward and downward
orientations,whichachievednear-perfectperformance.Incontrast,
the neutral tail class proved more challenging, mainly due to
class imbalance and the subtle visual differences between adjacent
tailorientations.
Back curvature estimation achieved good overall accuracy
but showed reduced performance for the curved class, reflecting
both the limited number of curved samples and the sensitivity
of the curvature measure to localized shape variations. Despite
this limitation, the classifier reliably distinguished neutral back
configurations,whichrepresentthemajorityofobservedpostures.
Overall, these results provide a positive answer to RQ3:
the proposed classifiers can accurately predict high-level feline
posture descriptors in most cases. The observed performance
limitations are primarily associated with underrepresented or
visually ambiguous classes rather than shortcomings of the
underlying geometric modeling, confirming the suitability of the
proposedapproachforautomatedfelinepostureanalysis.
Frontiersin VeterinaryScience 16 frontiersin.org

Bezerra et al. 10.3389/fvets.2026.1881772
FIGURE 23
Examples of misclassified images in the curvature classification task. Misclassifications are primarily due to the cat’s posture, which caused the
curvature to be concentrated either toward the rear or forward regions (e.g., including the head), leading to inflated curvature values.
FIGURE 24
Confusion matrix for the tail configuration classifier on the test set.
TABLE 9 Per-class F1-scores for the tail classifier.
Class F1-score
Tail down 0.97
Neutraltail 0.55
Tail up 1.00
7.3 End-to-end experiments on videos
In this section, we evaluate the proposed pipeline in an end-
to-end setting using two real-world video sequences recorded
during cat palatability tests, in order to addressRQ4 and RQ5.
These experiments analyze the behavior of the complete pipeline
when applied to continuous video streams acquired in a realistic
experimental context, from initial detection to final posture
classification. The two selected videos, Gioconda and Igor, were
chosen to expose contrasting operational conditions primarily
related to differences in the cat’s body positioning with respect
to the camera and the resulting degree of body-part occlusion.
These factors strongly influence the availability of valid side-view
frames and the reliability of keypoint and silhouette estimation.
To qualitatively illustrate these differences,Figures25, 26 present
a uniform temporal sampling of frames from the Gioconda
and Igor videos, respectively. Rather than aiming for statistical
generalization, this analysis is intended as an in-depth, illustrative
assessment of the pipeline’s robustness and failure modes under
realistic conditions, complementing the large-scale quantitative
evaluationspresentedintheprevioussubsections.
Table10 summarizes the number of frames retained at each
stage of the processing pipeline for both video sequences,
providing an empirical answer toRQ4. For the Gioconda video,
a large proportion of frames successfully pass the early detection
and model agreement stages, with 87.3% of the total frames
retained after YOLO–DensePose agreement. Subsequent posture
and view filtering further reduce the frame count, yet 1,487
frames(approximately46.3%oftheoriginalvideo)remainafterall
filteringstages,indicatingthatunderstableviewingconditionsand
sustained standing side-view behavior, the pipeline can process a
substantialfractionofframesendtoend.
In contrast, the Igor video exhibits a markedly different
behavior: although detection and model agreement stages retain a
comparable proportion of frames, the number of frames surviving
posture, view, and consistency filtering drops sharply, with only
42 frames (about 2.1% of the total) satisfying all requirements.
Thissubstantialreductionisprimarilycausedbyfrequentocclusion
of the cat’s tail and by cases in which the head region is not
Frontiersin VeterinaryScience 17 frontiersin.org

Bezerra et al. 10.3389/fvets.2026.1881772
FIGURE 25
Uniform temporal sampling ofGioconda video: 10 frames arranged in a 2×5g r i d .
FIGURE 26
Uniform temporal sampling ofIgor video: 10 frames arranged in a 2×5g r i d .
TABLE 10 Frame countsper video atsuccessive stages of the processing pipeline.
Detection and model agreement Posture and view filtering
Video Total YOLO YOLO–DP Standing Side view MMPose–DP + Filt.
Gioconda 3,215 2,808 2,798 2,110 2,024 1,487
Igor 2,001 1,573 1,551 1,044 1,022 42
Totaldenotesthetotalnumberofframesineachvideo.YOLOcorrespondstoframesinwhichacatisdetectedbytheYOLOobjectdetector.YOLO–DPindica tesframeswhereYOLOdetections
areconsistentwithDensePoseoutputs.Standingreferstoframesinwhichthecatisestimatedtobeinanupright(standing)posture.Sideviewdenote sframesclassifiedasside-view.MMPose–
DP+Filt.correspondstoframeswhereMMPoseandDensePosepredictionsagreeafterapplyingallposture,view,andqualityfilteringsteps.Notethat eachsuccessivestageonlyconsidersthe
framesthathavepassedthefilteringfromthepreviouscolumn.
clearly delineated in the extracted silhouette. These issues arise
because the cat is often not perfectly aligned with the camera,
resulting in partial self-occlusions and deviations from an ideal
side-view configuration. While the view classifier may still predict
suchframesassideviews,thesubsequentgeometricvalidationsteps
reject them due to unreliable keypoint localization or silhouette-
based feature extraction. Overall, these results indicate that, in
realistic video streams, the proportion of frames that successfully
traverse all stages of the pipeline can vary substantially, ranging
from a small fraction to nearly half of the video, depending
on scene conditions, body orientation, and the degree of body-
partocclusion.
To address RQ5, Table11 presents the per-video accuracy
of the high-level posture classifiers, computed on frames that
successfully passed all stages of the processing pipeline. For both
videos, the head pitch and back inclination classifiers achieve
consistentlyhighaccuracy,exceeding97%inallcasesandreaching
near-perfect performance for the Gioconda sequence. Similarly,
tail configuration classification performs robustly, with accuracy
values above 99% forGioconda and perfect classification forIgor.
These results indicate that, when valid frames are available, the
geometric and rule-based classifiers can reliably estimate most
posturedescriptorsincontinuousvideostreams.
In contrast, back curvature classification exhibits markedly
different behavior across the two videos. While perfect accuracy
is achieved for the Igor video, the accuracy drops substantially
for Gioconda. This discrepancy is primarily attributable to the
limited number of curved-back instances and to the sensitivity of
the curvature metric to localized shape variations, as previously
discussed in Section 7.2. In theGioconda sequence, subtle posture
changes and partial curvature concentrated in specific body
regions lead to inflated curvature estimates, resulting in systematic
misclassification. This behavior highlights the greater sensitivity
of curvature estimation to video-specific posture dynamics and
Frontiersin VeterinaryScience 18 frontiersin.org

Bezerra et al. 10.3389/fvets.2026.1881772
TABLE 11 Per-video accuracy of the high-level postureclassifiers, computedonframes that successfully passed all detection,posture, view, and consistency filteringstages.
Video Head pitch Back inclination Back curvature Tail configuration
Gioconda 99.9% 99.2% 18.7% 99.2%
Igor 97.6% 100% 100% 100%
reinforces the need for cautious interpretation of this descriptor in
unconstrainedsettings.
Overall, these results provide a positive answer to RQ5:
although the successive filtering stages of the pipeline are
necessarily rigorous and lead to substantial frame rejection in
challenging conditions, the high-level posture classifiers exhibit
reliable performance on the frames that successfully traverse the
full pipeline. For these retained frames, the proposed end-to-
end approach can accurately estimate and classify multiple feline
posture descriptors in real-world video sequences. The observed
limitations are largely confined to back curvature estimation
under specific motion patterns and do not affect the robustness
of head pitch, back inclination, or tail configuration analysis.
Together with the frame retention analysis presented earlier, these
findingsdemonstratethatthefilteringstrategyeffectivelyprioritizes
reliabilityovercoverage,resultinginaccuratepostureclassification
onvalidframeswhileclearlydelineatingthepracticalconstraintsof
deployingtheproposedpipelineinrealisticmonitoringscenarios.
The contrast between the two videos also illustrates a practical
boundary condition of the current system. When the animal is
not consistently aligned with the camera in a standing side-view
configuration, as observed in the Igor video, the proportion of
usable frames can drop to a small fraction of the recording (2.1%
in this case). This indicates that, in its present form, the proposed
framework is best suited to deployment scenarios in which a fixed
camera reliably captures the animal’s habitual passage zones in
profile, such as feeding stations, doorways, or resting areas, rather
than to fully unconstrained, multi-angle monitoring. Mitigating
this constraint would likely require complementary strategies such
as multiple camera viewpoints or pose-normalization techniques
capableofhandlingpartialocclusionandoff-axisbodyorientations,
both of which are identified as directions for future work
(Section8).
7.4 Behavioral interpretation case study
The previous experiments focused on evaluating the technical
performance of the proposed framework, including posture
classification accuracy, anatomical consistency validation,
frame retention, and end-to-end performance in real-world
videos. However, an equally important question is whether the
extracted posture descriptors can support meaningful behavioral
interpretationinpracticalapplications.
To address RQ6, we present two representative case studies
based on video recordings obtained during routine feline
observations. Although both examples involve interactions with a
food bowl, the purpose of this analysis is not to evaluate feeding
behavior itself, but rather to demonstrate how temporal patterns
of head and tail posture can provide interpretable behavioral
context and facilitate the characterization of different behavioral
trajectories.
7.4.1 Case A: sustained investigation without
behavioral transition
Figure27 presents uniformly sampled frames from video
A together with the corresponding temporal evolution of
the automatically extracted head-pitch and tail-configuration
descriptors.Inthiscase,thecatrepeatedlyapproachedthebowland
engagedinprolongedolfactoryinvestigationofthefood.However,
nofoodconsumptionwasobservedduringtherecordingperiod.
The posture descriptors reveal a remarkably stable behavioral
pattern throughout the entire observation. Both head pitch and
tail configuration remain in the downward state most of the time,
indicatingapersistentpostureprofilewithlittlevariationovertime.
From a behavioral perspective, this trajectory is characterized by
sustained investigation without transition to a subsequent activity.
The cat continuously interacts with the food source, yet the
posturedescriptorssuggestthatthebehavioralstateremainslargely
unchangedduringtheobservationperiod.
Importantly,theframeworkdoesnotdeterminetheunderlying
cause of this behavior. The persistent low-posture profile may
be compatible with several explanations, including cautious
investigation, environmental influences, novelty effects, individual
temperament, or low food attractiveness. Nevertheless, the
descriptors provide information that extends beyond the simple
observationthatthecatdidnoteat.Theyrevealthattheinteraction
remained confined to a prolonged investigative phase and did not
evolvetowardadifferentbehavioralpattern.
7.4.2 Case B: transition from approach to
sustained engagement
Figure28 presents the second case study. In contrast to Case
A, the temporal evolution of the posture descriptors reveals a clear
behavioral transition. During the first 4 s, the tail is predominantly
classifiedasupwardwhilethecatapproachesthebowl,whereasthe
head remains directed downward for most of the sequence. After
reaching the bowl, the cat investigates the food and subsequently
beginseating.Near6seconds,thetailgraduallytransitionsfroman
upwardtoadownwardconfigurationwhilefeedingcontinues.
The extracted descriptors therefore reveal a behavioral
trajectory that would be difficult to summarize using a single
observation alone, distinguishing an initial approach phase from
a subsequent feeding phase. It begins with approach and
investigation, followed by sustained feeding activity. The elevated
tail posture observed during the initial approach is consistent
Frontiersin VeterinaryScience 19 frontiersin.org

Bezerra et al. 10.3389/fvets.2026.1881772
(a)
(b)
FIGURE 27
Behavioral interpretation case study (Case A). The upper panel shows uniformly sampled frames from the video, while the lower panel presents the
temporal evolution of the posture descriptors generated by the proposed framework. Throughout the observation period, both head and tail remain
predominantly in downward configurations, corresponding to a prolonged investigative phase without an observable behavioral transition.(a)
Uniform temporal sampling of video A. The cat repeatedly investigates the food bowl but does not consume the food.(b) Temporal evolution of the
automatically extracted head-pitch and tail-configuration descriptors for Case A.
with active engagement with the environment and voluntary
interaction with the food source. Once feeding is initiated, the
progressiveloweringofthetailcoincideswithashiftfromapproach
and investigation to sustained food consumption. Rather than
remaining in a single behavioral state throughout the observation
period, the cat exhibits a measurable evolution of posture that can
betrackedautomaticallyovertime.
The ability to identify such temporal transitions is particularly
valuable because they are difficult to quantify objectively
through manual observation alone. By converting posture into
continuous time-resolved descriptors, the proposed framework
enables behavioral evolution to be analyzed and summarized
automatically.
7.4.3 Discussion
Taken together, these examples illustrate how the proposed
framework can support behavioral interpretation by providing
structured descriptions of behavioral trajectories over time.
Although both cats approached and investigated the same
environmentalstimulus,theextractedposturedescriptorsrevealed
substantially different temporal patterns. In Case A, the behavior
remainedconfinedtoaprolongedinvestigativephasecharacterized
by stable head-down and tail-down postures. In Case B, the
behavior evolved through a sequence of postural changes that
reflected a transition from approach and investigation to sustained
engagement.
These observations demonstrate that the proposed framework
provides information beyond static posture classification. By
continuously tracking posture descriptors such as head pitch
and tail configuration, the system enables behavioral sequences
to be objectively characterized, compared, and summarized.
While the present study does not establish causal relationships
between posture and specific emotional, motivational, or welfare
states, the results illustrate how automated posture analysis
can generate interpretable behavioral descriptors that may assist
veterinarians, animal behavior researchers, and welfare specialists
inunderstandingfelinebehaviorinnaturalisticsettings.
8 Conclusion and future work
This work presented an automated and interpretable
framework for feline posture analysis based on the integration
of deep learning and geometric modeling. By combining
object detection, anatomical segmentation, pose estimation,
and rule-based geometric reasoning through a structured
processing pipeline, the proposed framework enables detailed
and non-invasive characterization of cat posture from side-view
RGB images captured with low-cost cameras. The approach
systematically decomposes posture into meaningful components,
including head orientation, back inclination and curvature, and
tail configuration, providing a structured representation of feline
bodylanguagethatsupportsobjectivebehavioralcharacterization.
Frontiersin VeterinaryScience 20 frontiersin.org

Bezerra et al. 10.3389/fvets.2026.1881772
(a)
(b)
FIGURE 28
Behavioral interpretation case study (Case B). The upper panel shows uniformly sampled frames from the video, while the lower panel presents the
temporal evolution of the posture descriptors generated by the proposed framework. The descriptors reveal a behavioral transition characterized by
an initially elevated tail during approach, followed by a gradual shift toward a lower tail configuration during sustained feeding activity.(a) Uniform
temporal sampling of Case B. The cat approaches the bowl, investigates the food, and subsequently remains engaged in the interaction.(b) Temporal
evolution of the automatically extracted head-pitch and tail-configuration descriptors for Case B.
Experimental results demonstrated that the proposed
lightweight neural networks reliably detect both overall postures
and side-view configurations, achieving accuracies above 92% and
outperforming significantly larger VGG19-based models despite
using approximately 38 times fewer parameters. In addition, the
geometric classifiers showed strong performance for most high
level posture descriptors, with particularly robust results for head
pitch,backinclination,andtailorientation.Thesefindingsconfirm
that silhouette based and keypoint based geometric features, when
carefully validated and combined with deep learning outputs,
can effectively capture relevant aspects of feline body language.
Although back curvature and neutral tail configurations remain
challenging, primarily due to class imbalance and subtle visual
differences, the system consistently performs well for the most
behaviorallyinformativeandfrequentlyoccurringposturalstates.
A consistent limitation across the geometric classifiers is
class imbalance: underrepresented configurations, such as arched
back and neutral tail, consistently exhibited lower F1-scores than
their majority-class counterparts (Section 7.2.4). This pattern
indicates that the current decision thresholds and training data
are better calibrated for the most frequently observed postures.
Importantly, this limitation stems primarily from the composition
of the training data available for the present study rather than
from an intrinsic constraint of the underlying geometric features,
and classifier performance for these configurations would be
expected to improve with a training set containing a larger and
more representative sample of the minority classes. Expanding
and rebalancing the dataset, through targeted data collection or
augmentation for underrepresented postures, therefore remains a
priority for improving the reliability of the framework across the
fullrangeoffelinepostures.
A further limitation concerns the generalizability of the
framework. Although the dataset comprised more than 30
individual, non-pedigree domestic shorthair cats with diverse coat
colors and patterns (Section 3), all data were collected at a single
research facility under controlled palatability-testing conditions.
Consequently, the reported accuracies should not be assumed to
generalize directly to other breeds, body conformations, or the
widerrangeofenvironmentalandlightingconditionsencountered
in domestic, shelter, or clinical settings. Broader, multi-site data
collection is required before general deployment claims can be
made.
End-to-end evaluations on real-world video sequences
highlighted both the strengths and practical limitations of the
processing pipeline. While strict filtering stages necessarily reduce
thenumberofusableframesunderchallengingviewingconditions,
the retained frames yield highly accurate posture classifications.
This design choice prioritizes reliability and interpretability,
making the system suitable for applications where precision is
morecriticalthancontinuouscoverage.
The behavioral interpretation case studies further
demonstrated the practical value of the proposed descriptors.
By continuously tracking posture features such as head
pitch and tail configuration, the framework can characterize
behavioral trajectories and reveal temporal patterns that
are not captured by simple outcome-based observations
alone. Although the present study does not establish causal
relationshipsbetweenpostureandspecificemotional,motivational,
Frontiersin VeterinaryScience 21 frontiersin.org

Bezerra et al. 10.3389/fvets.2026.1881772
or welfare states, the results illustrate how automated
posture analysis can provide objective and interpretable
behavioral context for veterinary, welfare, and research
applications.
Overall, this study contributes a scalable and modular
solution for automated feline posture assessment, with clear
potential applications in animal welfare monitoring, veterinary
behavioral medicine, and behavioral research. Beyond accurate
posture classification, the proposed framework generates
continuous and interpretable posture descriptors that can
support the objective characterization of feline behavior over
time. These capabilities highlight the potential of computer
vision systems to augment human observation and provide
standardized behavioral measurements in both research and
practicalsettings.
Future work will focus on expanding and balancing the
dataset, improving robustness to occlusions and non-ideal
viewpoints, and validating the relationship between the proposed
posture descriptors and established feline pain, stress, welfare,
and behavioral assessment instruments. Longitudinal studies
will also be necessary to determine how temporal posture
trajectories can support the automated identification of clinically
relevant behavioral patterns in real-world environments. In
addition, future investigations should evaluate the influence of
camera characteristics, including higher-quality RGB sensors and
different acquisition settings, on frame retention and posture
descriptor accuracy. Such developments may ultimately enable the
integration of automated posture analysis into decision-support
systems for veterinary behavioral assessment and animal welfare
monitoring.
Data availability statement
The data analyzed in this study is subject to the following
licenses/restrictions: The datasets used in this study are not
publicly available and are not available upon request. The data
are proprietary to CEVA Santé Animale and are subject to
confidentiality and contractual restrictions that prohibit external
sharing. Requests to access these datasets should be directed to
thales@ic.ufal.br.
Ethics statement
Thestudiesinvolvinganimalparticipantsfromwhichtheimage
and video data used in this work were derived were reviewed
and approved by the Animal Experimentation Commission of
theGovernmentofCatalonia(Comissiód’ExperimentacióAnimal,
GeneralitatdeCatalunya;projectauthorizationno.10416,“Estudio
de palatabilidad en perro y/o gato”). The animals involved in the
approved study were not privately owned animals. They belonged
to Isoquimen, an authorized Contract Research Organization
(CRO) licensed to house and use laboratory animals in accordance
with applicable regulations. Consequently, informed consent
from individual animal owners was not applicable. The present
work consisted solely of secondary computer-vision analysis of
previously collected recordings and did not involve additional
animalprocedures,interventions,handling,ormodificationstothe
approvedprotocol.
Author contributions
CEB: Visualization, Investigation, Validation, Formal analysis,
Methodology, Writing – original draft, Software, Data curation.
CB: Formal analysis, Validation, Data curation, Methodology,
Visualization, Investigation, Software, Writing – review &
editing. RA: Writing – review & editing, Software, Formal
analysis, Data curation, Methodology, Visualization, Validation,
Investigation. TR: Writing – review & editing, Data curation,
Investigation, Visualization, Software. MA-O: Methodology,
Conceptualization,Validation,Datacuration,Supervision,Writing
–review&editing,Resources.GN:Supervision,Conceptualization,
Validation, Writing – review & editing, Methodology, Resources,
Data curation. ABarr: Methodology, Supervision, Validation,
Data curation, Conceptualization, Writing – review & editing,
Resources. CZ: Validation, Conceptualization, Supervision,
Methodology, Resources, Writing – review & editing. TL:
Formal analysis, Writing – original draft, Resources, Supervision,
Conceptualization, Writing – review & editing, Methodology,
Validation. AL: Conceptualization, Resources, Writing – review
& editing, Writing – original draft, Formal analysis, Validation,
Supervision, Methodology. GP: Methodology, Conceptualization,
Validation, Writing – review & editing, Supervision. ABarb:
Writing – review & editing, Formal analysis, Writing – original
draft, Visualization, Methodology, Software, Supervision. XY:
Writing – original draft, Writing – review & editing. KO:
Methodology, Writing – review & editing, Formal analysis,
Software, Resources. TV: Methodology, Visualization, Software,
Validation, Conceptualization, Supervision, Formal analysis,
Writing–review&editing,Writing–originaldraft.
Funding
The author(s) declared that financial support was received for
thisworkand/oritspublication.Theauthorsdeclarethatthisstudy
wasfinanciallysupportedbyCEVA.Thisstudywasfinancedinpart
by National Council for Scientific and Technological Development
(CNPq, Brazil) fellowship #305447/2026-2. The author(s) declared
that this work received funding from Ceva Sant9 Animale. The
funder was not involved in the study design, collection, analysis,
interpretation of data, the writing of this article, or the decision to
submititforpublication.
Conflict of interest
MA-O, GN, and ABarr were employed by Isoquimen. CZ, TL,
AL,andGPwereemployedbyCevaSantéAnimale.
Frontiersin VeterinaryScience 22 frontiersin.org

Bezerra et al. 10.3389/fvets.2026.1881772
Theremainingauthor(s)declaredthatthisworkwasconducted
in the absence of any commercial or financial relationships that
couldbeconstruedasapotentialconflictofinterest.
Generative AI statement
The author(s) declared that Generative AI was used in the
creation of this manuscript. Generative AI was used only for
language support (grammar, spelling, and clarity editing). It was
not used to generate, analyze, or interpret data, produce results, or
makescientificconclusions.Allscientificcontent,methods,results,
and final wording decisions were reviewed and approved by the
author(s),whotakefullresponsibilityforthemanuscript.
Any alternative text (alt text) provided alongside figures in
this article has been generated by Frontiers with the support of
artificial intelligence and reasonable efforts have been made to
ensureaccuracy,includingreviewbytheauthorswhereverpossible.
Ifyouidentifyanyissues,pleasecontactus.
Publisher’s note
All claims expressed in this article are solely those of the
authors and do not necessarily represent those of their affiliated
organizations, or those of the publisher, the editors and the
reviewers. Any product that may be evaluated in this article, or
claim that may be made by its manufacturer, is not guaranteed or
endorsedbythepublisher.
References

  1. Mota-Rojas D, Whittaker AL, Lanzoni L, Bienboire-Frosini C, Domínguez-Oliva
    A, Chay-Canul A, et al. Clinical interpretation of body language and behavioral
    modifications to recognize pain in domestic mammals. Front Vet Sci . (2025)
    12:1679966.doi:10.3389/fvets.2025.1679966
  2. Waran N, Best L, Williams V, Salinsky J, Dale A, Clarke N, et al. A preliminary
    study of behaviour-based indicators of pain in cats.Animal Welfare. (2007) 16:105–8.
    doi:10.1017/S0962728600031791
  3. ElharroussO,AlmaadeedN,Al-MaadeedS.Areviewofvideosurveillancesystems.
    J Vis Commun Image Represent.(2021)77:103116.doi:10.1016/j.jvcir.2021.103116
    4 .M a r a n g o n iS ,B e a t t yJ ,S t e a g a l lP V .A ne t h o g r a mo fa c u t ep a i nb e h a v i o r s
    in cats based on expert consensus. PLoS ONE . (2023) 18:e0292224.
    doi:10.1371/journal.pone.0292224
  4. Albuquerque NSd, Soares GM. Epidemiology of domestic cat behavioral problems
    in the city of Porto Alegre/Brazil: a survey of small animal veterinary practitioners.
    Ciência Rural.(2019)49:e20190147.doi:10.1590/0103-8478cr20190147
  5. Bradshaw J, Ellis S.The trainable cat. A Practical Guide to Making Life Happier for
    You and Your Cat.NewYork,NY:BasicBooks(2017).
  6. Nicholson SL, O’Carroll RÁ. Development of an ethogram/guide for identifying
    feline emotions: a new approach to feline interactions and welfare assessment in
    practice. Irish Vet J.(2021)74:8.doi:10.1186/s13620-021-00189-z
  7. Rodan I, Dowgray N, Carney HC, Carozza E, Ellis SL, Heath S, et al. 2022
    AAFP/ISFM cat friendly veterinary interaction guidelines: approach and handling
    techniques. J Feline Med Surg.(2022)24:1093–132.doi:10.1177/1098612X221128760
  8. Ultralytics. YOLOv5: A State-of-the-Art Real-Time Object Detection System (2021).
    Availableonlineat:https://docs.ultralytics.com(AccessedAugust6,2026).
  9. Sanakoyeu A, Khalidov V, McCarthy MS, Vedaldi A, Neverova N. Transferring
    dense pose to proximal animal classes. In:Proceedings of the IEEE/CVF Conference on
    Computer Vision and Pattern Recognition.Seattle,WA:IEEE(2020).p.5233–5242.
  10. Contributors M. OpenMMLab Pose Estimation Toolbox and Benchmark (2020).
    Available online at: https://github.com/open-mmlab/mmpose (Accessed August 6,
    2026).
  11. Saoud LS, Sultan A, Elmezain M, Heshmat M, Seneviratne L, Hussain I. Beyond
    observation: deep learning for animal behavior and ecological conservation. Ecol
    Inform.(2024)84:102893.doi:10.1016/j.ecoinf.2024.102893
  12. Neethirajan S. The use of artificial intelligence in assessing affective states in
    livestock. Front Vet Sci.(2021)8:715261.doi:10.3389/fvets.2021.715261
  13. Oliveira DAB, Pereira LGR, Bresolin T, Ferreira REP, Dorea JRR, A. review of
    deep learning algorithms for computer vision systems in livestock.Livest Sci. (2021)
    253:104700.doi:10.1016/j.livsci.2021.104700
  14. Kyriazakis I, Alameer A, Buˇcková K, Muns R. Toward the automated detection of
    behavioral changes associated with the post-weaning transition in pigs.Front Vet Sci.
    (2023)9:1087570.doi:10.3389/fvets.2022.1087570
    1 6 . X uA ,H o uZ ,L i a n gJ ,L iX ,Z h o uX ,G e n gH .E ffi c i e n td u a l - s t r e a m
    neural networks: A modeling approach for inferring wild mammal behavior
    from video data. Ecol Inform . (2024) 84:102902. doi: 10.1016/j.ecoinf.2024.1
    02902
  15. Ranˇci´cK,Blagojevi ´cB ,BezdanA,Ivoševi ´cB ,Tubi´cB ,Vraneševi´cM,etal.Animal
    detectionandcountingfromUAVimagesusingconvolutionalneuralnetworks. Drones.
    (2023)7:179.doi:10.3390/drones7030179
  16. Liu W, Anguelov D, Erhan D, Szegedy C, Reed S, Fu CY, et al. SSD: Single
    shot multibox detector. In:Computer Vision-ECCV 2016:14th European Conference .
    Amsterdam:Springer(2016).p.21–37.
  17. DiasJLM.EstimativadoPesodeCorvinaseDetecçãodePeríodosdeAlimentação.
    Dissertação de mestrado, Instituto Politécnico do Porto, Porto, Portugal [Dissertao de
    Mestrado].Porto:InstitutoPolitacnicodoPorto.(2022).
  18. Pereira TSB. Imprinting sensorial e comportamento alimentar pós-desmame de
    leitóes. Belo (Bachelor’s thesis). Universidade Federal de Minas Gerais, Horizonte,
    MG, Brazil. (2022). Available online at: https://www.ica.ufmg.br/tcc/2022/TCC-
    ThainaraSawiaBarbosaPereira.pdf
  19. Zhang L, Zhao B, He C, Yang F, Zhang J. Behaviour recognition of housed
    sheep based on spatio-temporal information. J Appl Anim Res . (2024) 52:1–13.
    doi:10.1080/09712119.2024.2350158
  20. Kang M, Ting CM, Ting FF, Phan RCW. ASF-YOLO: A novel YOLO model with
    attentional scale sequence fusion for cell instance segmentation.Image Vis Comput.
    (2024)147:105057.doi:10.1016/j.imavis.2024.105057
  21. LinTY,KuoYF.Catfacerecognitionusingdeeplearning.In: 2018 ASABE Annual
    International Meeting. Manhattan: American Society of Agricultural and Biological
    Engineers(2018).p.1.
  22. Chen P, Qin AX, Lu J. Cat recognition based on deep learning. In:HAL Open
    Archive.(2021).Availableonlineat:https://hal.science/hal-03501010/
  23. Vishwakarma M, Jangid K, Pal K, Rodrigues L. Cat breed & emotion detection
    usingYOLO,CNN&cannyedgedetection. Iconic Res Eng J.(2024)7:1–9.
  24. Akbar RRS, Rees MW, Fleming PA, Sohel F. Body-part-based individual feral
    cat identification from camera trap images using deep learning.Ecol Inform. (2025)
    90:103258.doi:10.1016/j.ecoinf.2025.103258
  25. Martvel G, Lazebnik T, Feighelstein M, Meller S, Shimshoni I, Finka L, et al.
    Automatedlandmark-basedcatfacialanalysisanditsapplications. Front Vet Sci.(2024)
    11:1442634.doi:10.3389/fvets.2024.1442634
  26. Yang Z, Sinnott R, Ke Q, Bailey J. Individual feral cat identification through
    deep learning. In:Proceedings of the 2021 IEEE/ACM 8th International Conference on
    Big Data Computing, Applications and Technologies New York, NY: Association for
    ComputingMachinery(ACM)(2021).p.101–110.
  27. MartvelG,ShimshoniI,ZamanskyA.Automateddetectionofcatfaciallandmarks.
    Int J Comput Vis.(2024)132:3103–18.doi:10.1007/s11263-024-02006-w
  28. Eagan B, Eagan B, Protopopova A. Behaviour Real-Time spatial tracking
    identification (BeRSTID) used for cat behaviour monitoring in an animal shelter.Sci
    Rep.(2022)12:17585.doi:10.1038/s41598-022-22167-3
  29. NakajimaN,KoyasuH,MarunoY,NagasawaM,KikusuiT,KuboT.Development
    of deep multi-animal tracking for domestic cats toward future application to
    social behavior analysis. Adv Robot. (2024) 38:958–66. doi: 10.1080/01691864.2024.
    2384423
  30. Jajodia T, Garg P. Image classification-cat and dog images.Int Res J Eng Technol .
    (2019)6:570–2
  31. Kolla VRK. Paws and reflect: a comparative study of deep learning techniques for
    catvsdogimageclassification. Int J Comput Eng Technol. (2020)11:30–7.
  32. Annagulyyev S, Babaniyazova M, Myradov R, Hojabalkanova S. Face recognition
    andcat-dogclassification:acomparativestudyofmachinelearningapplications. Nauka
    i mirovozzrenie.(2025)1:265–9.
    Frontiersin VeterinaryScience 23 frontiersin.org

Bezerra et al. 10.3389/fvets.2026.1881772
35. Zhang J, Peng J, Wang K. Athlete posture estimation and analysis based
on embodied artificial intelligence. Image Vision Comp . (2025) 162:105598.
doi:10.1016/j.imavis.2025.105598
36. Liu X, Tang H. BCDPose: Diffusion-based 3D Human Pose Estimation
with bone-chain prior knowledge. Image Vision Comp . (2025) 162:105636.
doi:10.1016/j.imavis.2025.105636
37. Bai G, Luo Y, Pan X, Wang J, Guo JM. Real-time 3D human pose
estimation without skeletal a priori structures.Image Vis Comput. (2023) 132:104649.
doi:10.1016/j.imavis.2023.104649
38. Ayers D, Shah M. Monitoring human behavior from video taken
in an office environment. Image Vis Comput . (2001) 19:833–46.
doi:10.1016/S0262-8856(01)00047-6
39. Xia C, Chon TS, Liu Y, Chi J, Lee J. Posture tracking of multiple individual
fish for behavioral monitoring with visual sensors. Ecol Inform . (2016) 36:190–8.
doi:10.1016/j.ecoinf.2016.07.004
40. Phelan B, Mc Nally T, Cuddy L, Lacey G. Automatic gait analysis in
canines using computer vision: a review. Front Vet Sci . (2026) 13:1729697.
doi:10.3389/fvets.2026.1729697
41. Sui Z, Hong H, Shimtoku D, Kobayashi HH. catAction: deep learning
for enhancing emotional cat-human interactions through the posture-based
determination of the degrees of kittens’ defensive and offensive aggressions. In:
Proceedings of the International Conference on Animal-Computer Interaction (2024).
p.1–9.
42. Fawzy A, Hassan A, Gad A, Zaky AB, El-Hussieny H. DeepCat: a deep learning
approach to understand your cat’s body language. In:2023 11th International Japan-
Africa Conference on Electronics, Communications, and Computations (JAC-ECC) .
Alexandria:IEEE(2023).p.207–211.
43. Pons P, Jaen J, Catala A. Assessing machine learning classifiers for the detection
of animals’ behavior using depth-based tracking.Expert Syst Appl. (2017) 86:235–46.
doi:10.1016/j.eswa.2017.05.063
44. HouptKA. Domestic Animal Behavior for Veterinarians and Animal Scientists.New
York:JohnWiley&Sons.(2024).doi:10.1002/9781119861133
45. Lin TY, Maire M, Belongie S, Hays J, Perona P, Ramanan D, et al. Microsoft coco:
Common objects in context. In:European Conference on Computer Vision .C h a m :
Springer;(2014).p.740–755.
46. Güler RA, Neverova N, Kokkinos I. Densepose: Dense human pose estimation
in the wild. In:Proceedings of the IEEE Conference on Computer Vision and Pattern
Recognition.SaltLakeCity,UT:IEEE.(2018).p.7297–7306.
47. Yu H, Xu Y, Zhang J, Zhao W, Guan Z, Tao D. AP-10K: A benchmark
for animal pose estimation in the wild. arXiv [preprint] arXiv:210812617. (2021).
doi:10.48550/arXiv.2108.12617
48. Suzuki S, Abe K. Topological structural analysis of digitized binary
images by border following. Comp Vision Graph Image Proc . (1985) 30:32–46.
doi:10.1016/0734-189X(85)90016-7
49. JolliffeIT. Principal Component Analysis.Cham:Springer.(2002).
Frontiersin VeterinaryScience 24 frontiersin.org

论文原文与出版信息

Frontiers in Veterinary Science
查看论文原文

继续探索