Three video analysis-based applications for the study of captive animal behavior are presented. The aim of the first one is to provide certain parameters to assess drug efficiency by analyzing the movement of a rat. The scene is a three-chamber plastic box. First, the rat can move only in the middle room. The rat’s head pose is the first parameter needed. Secondly, the rodent could walk in all three compartments. The entry number in each area and visit duration are the other indicators used in the final evaluation. The second application is related to a neuroscience experiment. Besides the electroencephalographic (EEG) signals yielded by a radio frequency link from a headset mounted on a monkey, the head placement is a useful source of information for reliable analysis, as well as its orientation. Finally, a fusion method to construct the displacement of a panda bear in a cage and the corresponding motion analysis to recognize its stress states are shown. The arena is a zoological garden that imitates the native environment of a panda bear. This surrounding is monitored by means of four video cameras. We have applied the following stages: (a) panda detection for every video camera; (b) panda path construction from all routes; and (c) panda way filtering and analysis.
This study addresses the problem of robust video-based tracking of laboratory rats in open-field and Y-maze experiments under challenging acquisition conditions, including non-uniform illumination, low contrast, and heterogeneous recording setups. Existing approaches based on classical image processing or deep learning often fail to maintain stable localization under such conditions or require large, annotated datasets. We propose a hybrid tracking framework that combines an improved motion–appearance voting mechanism with consistency-constrained optimization for open-field experiments, together with a comparative deep learning-based detection strategy for Y-maze analysis. The proposed method introduces (i) adaptive dual-threshold motion extraction, (ii) directionally constrained temporal validation, and (iii) a robustness-driven fusion of motion and appearance cues. Experimental results demonstrate that the proposed approach achieves reliable tracking with a maximum localization error below 10 pixels under severe illumination variations. In the Y-maze scenario, a comparative evaluation of multiple detectors (YOLOv5, YOLOv9, YOLO12, Faster R-CNN) highlights the trade-off between accuracy and inference time, with YOLOv9 providing the best balance. The main contribution consists of enabling robust behavioral quantification in low-quality experimental conditions using limited training data, bridging the gap between classical tracking robustness and deep learning flexibility.