Jianyu Fang

Dr. Jianyu Fang


Research Focus & Metrics

Academic Career Length

2Years (2025-Present)

(Calculated once Scilit publication data is synced: current year − year of first publication + 1)

Representative Publications

View All Publications
20 August 2025 in Animals
Verified
Journal Article
Open access
PDF file
ZLZhongkun Li
Zhongkun Li
GCGuodong Cheng
Guodong Cheng
LYLu Yang
Lu Yang
SHShuqing Han
Shuqing Han
YWYali Wang
Yali Wang
Jianzhai WuJianzhai Wu
Jianzhai Wu
With the development of precision livestock farming, in order to achieve the goal of fine management and improve the health and welfare of dairy cows, research on dairy cow motion monitoring has become particularly important. In this study, considering the problems surrounding a large amount of model parameters, the poor accuracy of multi-target tracking, and the nonlinear motion of dairy cows in dairy farming scenes, a lightweight detection model based on improved YOLO v11n was proposed and four tracking algorithms were compared. Firstly, the Ghost module was used to replace the standard convolutions in the YOLO v11n network and a more lightweight attention mechanism called ELA was replaced, which reduced the number of model parameters by 18.59%. Then, a loss function called SDIoU was used to solve the influence of different cow target sizes. With the above improvements, the improved model achieved an increase of 2.0 percentage points and 2.3 percentage points in mAP@75 and mAP@50-95, respectively. Secondly, the performance of four tracking algorithms, including ByteTrack, BoT-SORT, OC-SORT, and BoostTrack, was systematically compared. The results show that 97.02% MOTA and 89.81% HOTA could be achieved when combined with the OC-SORT tracking algorithm. Considering the demand of equipment in lightweight models, the improved object detection model in this paper reduces the number of model parameters while offering better performance. The OC-SORT tracking algorithm enables the tracking and localization of cows through video surveillance alone, creating the necessary conditions for the continuous monitoring of cows.

16 September 2025 in Animals
Verified
Journal Article
Open access
PDF file
JFJianyu Fang
Jianyu Fang
LYLu Yang
Lu Yang
XTXiangfang Tang
Xiangfang Tang
SHShuqing Han
Shuqing Han
GCGuodong Cheng
Guodong Cheng
Jianzhai WuJianzhai Wu
Jianzhai Wu
Under large-scale farming conditions, automated sow estrus detection is crucial for improving reproductive efficiency, optimizing breeding management, and reducing labor costs. Conventional estrus detection relies heavily on human expertise, a practice that introduces subjective variability and consequently diminishes both accuracy and efficiency. Failure to identify estrus promptly and pair animals effectively lowers breeding success rates and drives up overall husbandry costs. In response to the need for the automated detection of sows’ estrus states in large-scale pig farms, this study proposes a method for detecting sows’ vulvar status and estrus based on multi-dimensional feature crossing. The method adopts a dual optimization strategy: First, the Bi-directional Feature Pyramid Network—Selective Decoding Integration (BiFPN-SDI) module performs the bidirectional, weighted fusion of the backbone’s low-level texture and high-level semantic, retaining the multi-dimensional cues most relevant to vulvar morphology and producing a scale-aligned, minimally redundant feature map. Second, by embedding a Spatially Enhanced Attention Module head (SEAM-Head) channel attention mechanism into the detection head, the model further amplifies key hyperemia-related signals, while suppressing background noise, thereby enabling cooperative and more precise bounding box localization. To adapt the model for edge computing environments, Masked Generative Distillation (MGD) knowledge distillation is introduced to compress the model while maintaining the detection speed and accuracy. Based on the bounding box of the vulvar region, the aspect ratio of the target area and the red saturation features derived from a dual-threshold method in the HSV color space are used to construct a lightweight Multilayer Perceptron (MLP) classification model for estrus state determination. The network was trained on 1400 annotated samples, which were divided into training, testing, and validation sets in an 8:1:1 ratio. On-farm evaluations in commercial pig facilities show that the proposed system attains an 85% estrus detection success rate. Following lightweight optimization, inference latency fell from 24.29 ms to 18.87 ms, and the model footprint was compressed from 32.38 MB to 3.96 MB in the same machine, while maintaining a mean Average Precision (mAP) of 0.941; the accuracy penalty from model compression was kept below 1%. Moreover, the model demonstrates robust performance under complex lighting and occlusion conditions, enabling real-time processing from vulvar localization to estrus detection, and providing an efficient and reliable technical solution for automated estrus monitoring in large-scale pig farms.