A chicken abnormal behavior recognition and health early warning system based on machine vision

By combining a dual-spectrum camera and a light sensor, a baseline of individual daily behavior is established. By utilizing multi-source data fusion and an environmental causal linkage module, the accuracy and false alarm problems of identifying abnormal behavior in chicken flocks at night and in high-density environments are solved, and efficient health early warning is achieved.

CN123147471APending Publication Date: 2026-11-24广西农业职业技术大学
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611144234.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-07-30
Publication Date
2026-11-24

AI Technical Summary

Technical Problem

Existing technologies cannot accurately identify abnormal behavior in individual chickens at night or in high-density dust environments, and are prone to generating invalid false alarms due to environmental changes.

Method used

By employing a dual-spectrum camera combined with a light sensor, continuous extraction of individual characteristics and lighting linkage are achieved. Combined with a multi-source data fusion processing module and an environmental causal linkage module, a baseline of individual daily behavior is established, and environmental stress false alarms are eliminated through a time-series causal decoupling judgment mechanism.

Benefits of technology

Accurately identifying abnormal individual behavior at night and in high-density environments reduces false alarms and improves the system's usability and the accuracy of its early warnings.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123147471A_ABST
    Figure CN123147471A_ABST
Patent Text Reader

Abstract

The application discloses a kind of chicken abnormal behavior identification and health early warning system based on machine vision, including henhouse, the top of the inner cavity of the henhouse is provided with truss, the bottom of the truss is provided with dual-spectrum camera, the top of the truss is provided with illumination sensor, the inner side wall of the henhouse is provided with temperature and humidity sensor, ammonia sensor and carbon dioxide sensor, the chicken abnormal behavior identification and health early warning system based on machine vision, through dual-spectrum camera anti-shielding tracking and illumination linkage, ensure that the individual characteristics under high-density night environment are extracted uninterruptedly, at the same time, by establishing individual daily behavior baseline and rolling update, realize the advanced quantitative identification of weak pathological precursor behavior of single chicken, secondly, by introducing the time sequence cause and effect decoupling determination mechanism of environment and behavior, effectively exclude invalid false alarm generated by environmental mutation stress, so that the system warning has practical usability.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the fields of smart farming and computer vision, and in particular to a machine vision-based system for identifying abnormal chicken behavior and providing early warning of health conditions. Background Technology

[0002] Currently, large-scale farms mainly rely on manual inspections and experience to assess the condition of chickens. At the same time, some chicken houses have deployed single visible light video monitoring equipment in conjunction with temperature and humidity sensors for environmental monitoring, or introduced AI algorithms based on reinforcement learning to assist in ventilation and early warning control.

[0003] However, existing technologies still have the following problems: traditional manual inspections have blind spots and cannot continuously monitor at night, while single visible light monitoring devices are prone to target loss under the high density of overlapping chickens and dust obstruction, and cannot track the status changes of individuals in the group in real time. At the same time, existing intelligent systems lack daily behavioral baselines based on specific individuals and usually use the overall group activity level as a criterion for judgment. This makes it impossible for the system to accurately capture subtle pathological precursor behaviors, such as an increase in the frequency of lameness or a prolonged period of eye closure in a chicken, thus missing the early intervention window. Secondly, the environmental sensors and behavior recognition logic of the existing system are disconnected. When there are sudden changes in light intensity, drastic fluctuations in temperature and humidity, or sudden changes in the concentration of harmful gases inside the chicken house, the system often directly judges the stress behavior of the group as an outbreak, thus generating a large number of invalid alarms and rendering the system useless. Summary of the Invention

[0004] The purpose of this invention is to address the aforementioned problems of target loss due to nighttime / dust occlusion, inability to identify subtle pathological precursors in individuals, and invalid false alarms caused by the lack of causal linkage between environment and behavior. This invention provides a machine vision-based system for identifying abnormal behavior and providing health warnings for chickens. Based on the dual-spectrum camera's anti-occlusion tracking and illumination linkage, this invention ensures continuous extraction of individual characteristics in high-density nighttime environments. Simultaneously, by establishing and continuously updating a baseline of individual daily behavior, it achieves advanced quantitative identification of subtle pathological precursor behaviors in individual chickens. Furthermore, by introducing a temporal causal decoupling mechanism between environment and behavior, it effectively eliminates invalid false alarms caused by sudden environmental stress, making the system's warnings practically usable.

[0005] To achieve the above-mentioned objectives, the technical solution adopted by this invention is as follows: According to one aspect of the present invention, a machine vision-based system for identifying abnormal chicken behavior and providing health early warning is provided, comprising a chicken house, wherein a truss is provided at the top of the inner cavity of the chicken house, at least two diagonally distributed dual-spectrum cameras are provided at the bottom corner of the truss, a light sensor is provided at the top center of the truss, and the probe of the light sensor is located below the lighting equipment inside the chicken house and pointing vertically upwards, a temperature and humidity sensor is provided in the middle section of the inner wall of the chicken house, multiple exhaust fans are provided on the inner wall of the chicken house, and ammonia and carbon dioxide sensors are arranged symmetrically in the upper half of the inner wall of the chicken house, with the ammonia and carbon dioxide sensors close to the exhaust fans, the dual-spectrum cameras, the temperature and humidity sensors, the ammonia sensors, the carbon dioxide sensors and the light sensors are all electrically connected to an external central control console, and an intelligent early warning system operates in the central control console; The intelligent early warning system includes a multi-source data fusion processing module, which is configured to receive visible light video and infrared thermal imaging data from the dual-spectrum camera in parallel, and simultaneously receive environmental multi-dimensional parameters output by the temperature and humidity sensor, ammonia sensor, carbon dioxide sensor and light sensor, and perform time alignment and feature dimension stitching on the multi-source information of each type. The intelligent early warning system also includes a multi-target behavior tracking and baseline self-learning module. The multi-target behavior tracking and baseline self-learning module is configured to continuously match the identities and track the actions of individual chickens based on the spliced ​​feature data, extract the temporal activity features of the individuals, and automatically generate daily behavior baselines for individuals and the group based on data from a preset historical period. The module compares the real-time activity features with the daily behavior baselines and outputs signals of individual and group abnormalities. The intelligent early warning system also includes an environmental causal linkage and health early warning module. The environmental causal linkage and health early warning module is configured to synchronously acquire the changing trends of the multidimensional environmental parameters, perform time-series causal discrimination on the changing trends and the signals of individual and group abnormalities, so as to remove the interference weight of environmental stress on the abnormal signals, and output the disease precursor health early warning signal corresponding to the target individual after removing the interference of environmental stress.

[0006] Preferably, the multi-source data fusion processing module includes a dual-light coupling submodule, which is configured to extract the movement trajectory and feather appearance features of the target chicken from the visible light video, and simultaneously extract the body surface temperature distribution and respiratory frequency features of the chest and abdomen undulations of the target chicken from the infrared thermal imaging data. Through weighted superposition, the appearance features are fused with the body temperature and respiratory features into a high-dimensional spatial feature vector.

[0007] Preferably, the multi-target behavior tracking and baseline self-learning module includes an anti-occlusion target re-identification sub-module. The anti-occlusion target re-identification sub-module is configured to filter noise generated by dust and halo through an image enhancement algorithm when receiving the original image sequence, and to achieve continuous tracking of target identity for individuals with multiple overlapping or temporary occlusion based on a feature cue interpolation algorithm, so as to ensure that the individual data stream in high-density farms is not interrupted.

[0008] Preferably, the multi-target behavior tracking and baseline self-learning module includes a pathological orientation feature extraction submodule. The pathological orientation feature extraction submodule is configured to extract multiple physiological behavior quantitative indicators from the tracking sequence, including gait limping frequency, eye closure duration, feather pecking frequency, head and neck tremor amplitude, and chest and abdomen feather ruffled degree, and normalize each indicator according to the time series.

[0009] Preferably, the daily behavior baseline is automatically fitted and constructed based on the time-series tracking data of 14 consecutive natural days during the initial operation of the chicken house system, and is dynamically updated in subsequent operations according to the age of the flock with a fixed sliding window period to match the changes in the normal physiological and behavioral characteristics of chickens at different ages.

[0010] Preferably, the environmental causal linkage and health early warning module includes a stress feature decoupling submodule. The stress feature decoupling submodule is configured to retrieve the ammonia concentration, carbon dioxide concentration, temperature and humidity, and light intensity curves within the same time window when an abnormal signal is received. When a nonlinear abrupt change in environmental physical parameters is detected and the abnormal signal occurs immediately after the abrupt change, the abnormal signal is identified as an environmental stress response, and its triggering of the health early warning is blocked.

[0011] Preferably, the environmental causal linkage and health early warning module includes a prodromal risk discrimination submodule. The prodromal risk discrimination submodule is configured to perform multi-period time window slice analysis on multiple physiological behavior quantitative indicators of the target individual when the environmental parameters are within a stable fluctuation range. When the pathological indicative characteristic indicators exceed the threshold accumulation in multiple consecutive analysis periods and the pathological contribution shows an increasing trend, it is determined that the current individual is in the incubation period or prodromal period of the disease, and the spatial location of the target individual is automatically locked for key attention.

[0012] Preferably, the intelligent early warning system further includes a motion trend extrapolation prediction module. The motion trend extrapolation prediction module is configured to receive historical time-series feature data, perform multi-step extrapolation prediction of abnormal activity trends of individuals or groups through a preset recurrent neural network model, and output a prediction intervention instruction to the health early warning module in advance when the confidence level of the prediction result reaches a set threshold.

[0013] Preferably, the environmental causal linkage and health early warning module is equipped with a hierarchical early warning output interface. The hierarchical early warning output interface is configured to classify the early warning status into non-infectious behavioral habit abnormalities and major infectious disease precursor abnormalities according to the pathological urgency of the health early warning signal, and to match different levels of visual interface color prompts and sound and light alarm frequencies for the two types of abnormalities respectively.

[0014] Preferably, the intelligent early warning system further includes a remote execution linkage interface, which is configured to extract the identification box data and 3D spatial coordinates of the target individual after receiving an abnormal signal of a precursor to a major infectious disease, and remotely push the identification data packet to the terminal interaction interface of an external central control console, so that the external control console can automatically trigger the corresponding physical isolation and interception command based on the pushed data.

[0015] In summary, due to the adoption of the above technical solution, the beneficial effects of the present invention are: 1. The dual-spectrum camera and light sensor of this invention are spatially deployed and linked. When the system detects insufficient light intensity, it automatically increases the calculation weight of infrared thermal imaging data. In addition, it is combined with an anti-occlusion target re-identification algorithm to perform feature interpolation to complete individuals that are temporarily occluded. This ensures the continuous extraction of individual features in chicken coops at night and in high-density dust environments, and ensures that the target can still be tracked even when visible light is missing. This solves the defect of traditional visible light monitoring that is prone to target loss in harsh environments.

[0016] 2. The system of the present invention can establish a baseline database of daily behavior of each tracked individual based on 14 consecutive days of time-series data, and dynamically adjust the baseline as the flock ages. By comparing the standard deviation values ​​of pathologically oriented quantitative indicators such as gait lameness frequency and eye closure duration, it can accurately locate a single chicken individual in the latent prodromal period, advance the disease determination point to the stage of individual behavioral abnormality, and solve the problem that conventional systems cannot identify subtle pathological prodromal signs of individuals.

[0017] 3. The system of the present invention utilizes the time-series curves of collected environmental parameters and compares them with abnormal deviation signals in terms of time-series causality. When the fluctuation is determined to reach the set environmental stress standard, the warning signal is actively blocked. Only when the environmental parameters are in a stable range and the individual pathological characteristics accumulate to exceed the set trigger standard will the system output an accurate disease precursor signal. This solves the defect of the traditional system that misjudges environmental stress as a major epidemic and frequently generates invalid false alarms. Attached Figure Description

[0018] Figure 1 This is a schematic diagram of the internal equipment installation structure of the chicken coop according to the present invention; Figure 2 This is a system hardware and signal connection topology diagram of the present invention; Figure 3 This is a flowchart of the multi-source data fusion processing of the present invention; Figure 4 This is a flowchart of the multi-target behavior tracking and baseline self-learning process of the present invention; Figure 5 This is the environmental causal linkage and health early warning decision-making flowchart of the present invention; Figure 6 This is a schematic diagram illustrating the early warning classification and execution linkage of the present invention; Figure 7 This is a diagram of the internal software module architecture of the external central console of the present invention; Figure 8 This is a flowchart of the motion trend extrapolation prediction process of the present invention.

[0019] In the attached diagram: 1. Dual-spectrum camera; 2. Temperature and humidity sensor; 3. Light sensor; 4. Carbon dioxide sensor; 5. Ammonia sensor; 6. Truss; 7. Exhaust fan. Detailed Implementation

[0020] To make the objectives, technical solutions, and advantages of this invention clearer, the invention will be further described in detail below with reference to the accompanying drawings and preferred embodiments. However, it should be noted that many details listed in the specification are merely to provide the reader with a thorough understanding of one or more aspects of the invention, and these aspects of the invention can be achieved even without these specific details.

[0021] Please see Figures 1 to 8 This invention provides a machine vision-based system for identifying abnormal chicken behavior and providing early warning of health conditions. The technical solution is as follows: This embodiment of a machine vision-based chicken abnormal behavior recognition and health early warning system includes a chicken coop. A truss 6 is welded to the top of the coop's interior. At least two diagonally distributed dual-spectrum cameras 1 are bolted to the bottom corners of the truss 6. This is prior art; a reference is the Hikvision DS-2TD1217-3 / V1, which incorporates a visible light lens and an infrared thermal imaging lens. During the day, it uses visible light to collect the chickens' movement trajectories and feather appearance features. At night or in environments with severe dust obstruction, it switches to infrared thermal imaging mode to collect the chickens' body surface temperature distribution and respiratory frequency characteristics of chest and abdominal movements. The final output dual video streams are directly supplied to the intelligent early warning system for multi-source data fusion. The processing module has a light sensor 3 bolted to the center of the top of the truss 6. This is existing technology; the model number is BH1750. It is used to directly detect the light intensity of the artificial lighting fixtures on the ceiling inside the chicken house. Sudden changes in light intensity often cause agitation in the flock (i.e., environmental stress). The system uses this sensor to determine whether the current light intensity is in the "normal, overly bright, or too low" range, and automatically switches the feature extraction weights of the "dual-spectrum camera" accordingly. It also checks for abnormal group behavior caused by lighting errors. The probe of the light sensor 3 is located below the lighting equipment inside the chicken house and points vertically upwards. A temperature and humidity sensor 2 is bolted to the middle section of the inner wall of the chicken house. This is existing technology; the model number is also available for reference. The model is Xingyi CWS-11, used to collect real-time temperature and relative humidity data in the chicken coop's activity area. Environmental temperature and humidity are key indicators for determining whether the flock is experiencing "environmental stress" (such as sudden heavy rain or high temperatures). Its output data directly participates in the calculations of the environmental causal linkage module to isolate environmental stress interference. Multiple exhaust fans 7 are bolted to the inner walls of the chicken coop. Symmetrically distributed ammonia sensors 5 and carbon dioxide sensors 4 are bolted to the upper half of the inner walls. The existing technology for the ammonia sensor 5 can be referenced from the Mien Technology M-NH3-101, used to detect the real-time concentration of ammonia produced by manure fermentation in the chicken coop. Excessive ammonia concentration is a cause of respiratory diseases in chickens. Ammonia is a significant trigger for disease and environmental stress. This sensor, in conjunction with a carbon dioxide sensor, serves as a key physical criterion for "environmental stress decoupling." If excessive ammonia concentration causes abnormal signals in the flock, the system prioritizes identifying it as an environmental problem rather than an infectious disease. Existing technology for carbon dioxide sensor 4, model MH-Z19B, is used to monitor carbon dioxide concentration in the chicken house in real time (especially in the chicken's breathing area and ventilation dead zones). When the exhaust fan power is insufficient or the ventilation frequency decreases, the carbon dioxide concentration will rise rapidly. This value is linked to the environmental causal linkage module to distinguish whether the overcrowding in the flock is due to "hypoxia and stuffiness (environmental stress)" or "disease and fever." Furthermore, the ammonia sensor 5 and carbon dioxide sensor 4 are located near the exhaust fan 7.The dual-spectrum camera 1, temperature and humidity sensor 2, ammonia sensor 5, carbon dioxide sensor 4, and light sensor 3 are all electrically connected to an external central control console, which operates an intelligent early warning system. The chicken house shown in this embodiment is a wire mesh floor-raised iron sheet chicken house, which is only listed as a specific example of the physical sensing support environment on which the intelligent early warning system of this invention depends. It is intended to facilitate the illustration of the spatial deployment relationship of the various sensors in the system. The specific size of the chicken house, the material of the wire mesh, the specifications and number of exhaust fans 7 and lighting equipment, and other internal physical structures are not the core of protection of this invention. In actual application, those skilled in the art can reasonably adjust the layout of the truss 6, the distribution of the exhaust fans 7, and the installation height and specific orientation of each sensor according to the site conditions, breeding scale and existing building standards. Such conventional structural adaptive adjustments based on actual scenarios are all within the reasonable equivalent substitution scope of the claims of this invention and do not affect the complete realization of the system's identification of abnormal chicken behavior and health early warning. The intelligent early warning system includes a multi-source data fusion processing module, a multi-target behavior tracking and baseline self-learning module, and an environmental causal linkage and health early warning module; The multi-source data fusion processing module is used to receive and time-synchronize the visible light video and infrared thermal imaging data output by the dual-spectrum camera 1, as well as the environmental parameters output by the above-mentioned environmental sensors, and to perform spatial mapping and feature combination on different types of sensing data. The multi-target behavior tracking and baseline self-learning module is used to continuously track and match individuals in a flock of chickens based on fused image data, extract the temporal activity features of individuals, and establish daily behavior baselines for each individual and the flock based on activity data from previous periods. The module compares the real-time acquired activity features with the behavior baselines to output abnormal deviation signals for individuals and the flock. The environmental causal linkage and health early warning module is used to receive the environmental parameter change trend output by the multi-source data fusion processing module, combine the abnormal deviation signal output by the multi-target behavior tracking and baseline self-learning module, and remove the interference of environmental stress factors through the built-in causal discrimination model. When it is determined that the abnormal deviation signal does not belong to the environmental stress response, a disease precursor health early warning signal is issued for a specific chicken or group.

[0022] It is worth noting that, in order to achieve complete extraction of target features in scenarios where chickens block each other or where the illumination is insufficient, the multi-source data fusion processing module is equipped with a dual-light coupling submodule. The dual-light coupling submodule is configured to extract the movement trajectory and feather appearance features of the target chicken from the visible light video, and simultaneously extract the body surface temperature distribution and respiratory frequency features of the chest and abdomen undulations of the target chicken from the infrared thermal imaging data. Through weighted superposition, the appearance features are fused with the body temperature and respiratory features into a high-dimensional feature vector. In the actual calculation process, the system pre-sets a dynamic switching threshold for primary and secondary features based on light intensity. The threshold range is set to 300 Lux to 100 Lux. When the light intensity value collected in real time by the light sensor 3 is higher than the upper limit of this threshold range (i.e., greater than 300 Lux), the system uses the motion trajectory and feather appearance features output by visible light video as the primary feature vector and infrared thermal imaging data as the auxiliary feature. When the light intensity value collected in real time by the light sensor 3 is lower than the lower limit of this threshold range (i.e., less than 100 Lux), the dual-light coupling submodule automatically increases the calculation weight of the infrared thermal imaging feature vector, making it the primary calculation index for feature fusion. When the light intensity is within the threshold range of 100 Lux to 300 Lux, the system determines that it is in a transitional light range and adopts a linear weighted transition algorithm to dynamically adjust the output ratio of the two feature vectors according to the high and low positions of the light value within the range. This ensures that the system can still stably extract effective feature vectors during the gradual change process and avoids feature loss caused by dynamic changes in light intensity.

[0023] Next, in order to ensure that the data stream of individual activity characteristics in the high-density floor rearing environment is not interrupted, the multi-target behavior tracking and baseline self-learning module is equipped with a scene adaptive preprocessing unit. After receiving the original image, the scene adaptive preprocessing unit first uses the image enhancement algorithm to suppress noise from dust and uneven lighting inside the chicken house, and then uses the target re-identification algorithm to continue tracking the identity of the occluded individuals. In practice, the system pre-sets a feature matching degree judgment standard for target continuation tracking. The threshold range of this judgment standard is 80%~90%. When the feature correlation degree of the current frame calculated by the system is higher than 90% with the feature correlation degree of the historical tracking sequence, the system determines that it is the same target and directly uses the original tracking ID. When the feature correlation degree is lower than 80%, the system directly triggers the target re-identification algorithm and performs interpolation to complete the target identity based on the historical motion trajectory prediction model and the spatial position of the surrounding environment. When the feature correlation degree is in the fuzzy boundary range between 80% and 90%, the system will temporarily retain the original ID and open a waiting queue for one frame until the feature correlation degree of the next frame falls back to the clear judgment range of above 90% or below 80% before performing the confirmation action. The system's preset judgment rule will only determine that the target has left the recognition area and cancel its ID when the feature correlation degree of 5 consecutive frames is continuously lower than the lower limit of the judgment standard of 80%, thereby ensuring the strong continuity of individual data in high-density overlapping scenes.

[0024] Meanwhile, in order to quantify the pathophysiological precursors of chickens, the multi-target behavior tracking and baseline self-learning module is equipped with a composite feature extraction unit. The composite feature extraction unit is used to extract multiple physiological behavior quantitative indicators for each chicken in real time during the tracking process, including gait lameness frequency, eye closure duration, feather pecking behavior frequency, head and neck tremor amplitude, and feather ruffled degree. Before operation, the system pre-sets and stores a set of feature extraction frame period standards. The standard sliding window period is set to a range of 30 to 60 frames, with the system defaulting to a sliding window period of 30 frames. When the light intensity is above 300 Lux, the system adopts a high-frequency sampling mode of 30 frames to ensure data capture sensitivity under normal daylight conditions. When the light intensity is below 100 Lux, the system automatically increases the sliding window period to 60 frames to ensure sufficient sample information accumulation in low-light nighttime scenes. When the light intensity is between 100 and 300 Lux, the system adjusts linearly between 30 and 60 frames according to the interval ratio. When the system determines that a certain indicator exceeds the preset normal indicator fluctuation range for three consecutive sliding window periods, it marks the chicken corresponding to that indicator as a potentially abnormal individual and initiates preliminary early warning recording.

[0025] Furthermore, in order to match the normal behavioral and physiological characteristics of chickens of different ages, the daily behavior baseline is specifically constructed by automatically fitting the time-series tracking data of 14 consecutive natural days after the initial deployment of the system, and is dynamically updated in subsequent operations according to the age of the flock with a fixed sliding window period. Specifically, after installation and deployment, the system initiates an unsupervised pre-training cycle, without outputting any warning signals. It centrally collects and records the temporal activity data of each individual chicken, and calculates the baseline and standard deviation of each chicken's daily behavior over a 24-hour period based on this data. The system has a strict three-level deviation judgment mechanism, with the judgment criteria being deviations from the baseline by 1, 2, and 3 times the standard deviation: when the deviation between real-time activity characteristics and the daily behavior baseline is less than 1 time the standard deviation, the system judges it as normal fluctuation; when the deviation is between 1 and 2 times the standard deviation, the system marks it as slightly suspicious and records it; when the deviation is between 2 and 3 times the standard deviation, the system marks it as moderately abnormal and triggers an observation warning; when the deviation exceeds the upper limit of 3 times the standard deviation, the system immediately judges it as severely abnormal and forcibly outputs an abnormal deviation signal to enter the next stage of causal discrimination.

[0026] It is worth noting that, in order to effectively isolate abnormal group reactions caused by environmental factors, the environmental causal linkage and health early warning module specifically includes a stress feature decoupling submodule. The stress feature decoupling submodule is configured to retrieve the ammonia concentration, carbon dioxide concentration, temperature and humidity, and light intensity curves within the same time window when an abnormal signal is received. When a nonlinear abrupt change in environmental physical parameters is detected and the abnormal signal occurs immediately after the abrupt change in environment, the abnormal signal is identified as an environmental stress response and its triggering of health early warning is blocked. In the actual judgment logic, the system pre-sets the standard range for calculating the environmental parameter fluctuation rate as 5%~10%. When the environmental parameter change rate is between 0% and 5% within two consecutive sampling periods calculated by the system, the system determines that the environmental parameters are in a stable state and directly skips the stress shield judgment. When the environmental parameter change rate is between 5% and 10%, the system determines it as moderate fluctuation. At this time, the system will additionally activate the group abnormality ratio judgment standard (when more than 50% of the chickens in the entire chicken house simultaneously produce the same abnormal deviation signal, it is judged as a group abnormality). When the environmental parameter change rate exceeds the upper limit of 10%, the system determines that the environment has fluctuated drastically. At this time, as long as the group abnormality ratio reaches 50% or more, the system directly determines that the current abnormality is an environmental stress event and shields the current abnormal signal to continue participating in subsequent calculations. When the system calculates that the environmental parameter change rate exceeds 10%, but the group abnormality ratio is below 50%, the system still retains the abnormal signal and passes it to the next stage for early warning screening to prevent the real individual disease from being masked by environmental fluctuation noise.

[0027] Preferably, in order to accurately identify individuals in the incubation period after environmental stress has been eliminated, the environmental causal linkage and health early warning module includes a prodromal risk discrimination submodule. The prodromal risk discrimination submodule is configured to perform multi-period time window slice analysis on multiple physiological behavior quantitative indicators of the target individual when environmental parameters are within a stable fluctuation range. When pathological indicative characteristic indicators exceed the threshold accumulation in multiple consecutive analysis periods and the pathological contribution shows an increasing trend, it is determined that the current individual is in the incubation period or prodromal period of the disease. During execution, the system pre-sets a "sliding cumulative analysis time window" standard necessary for prodromal assessment, ranging from 20 to 30 minutes. The system also establishes a cumulative threshold judgment rule for pathological contribution: if the cumulative contribution of pathological features calculated by the system reaches the high-risk standard within the shorter 20-minute window, a prodromal assessment is directly triggered; if the standard is not reached within the 20-minute window, the system extends the window to 30 minutes for further observation; if the trigger standard is still not reached after 30 minutes, the system classifies it as a mild behavioral abnormality. The system resets the window. When the system determines that the "duration of eye closure" and "amplitude of head and neck tremors" exceed three times the standard deviation of their respective individual behavioral baselines in three consecutive cumulative analysis windows, and the "frequency of gait lameness" also shows a significant upward trend, the prodromal risk judgment submodule directly determines that the current individual has entered the incubation period or prodromal period of the disease, and forcibly activates the target locking mechanism. A red highlight recognition box is added to the image of the target chicken in the monitoring main interface of the central console, the spatial coordinates of the target are updated, and the on-site personnel are prompted to conduct manual priority verification.

[0028] Meanwhile, in order to extrapolate and predict possible epidemic trends before the warning is triggered, the intelligent early warning system also includes a motion trend extrapolation prediction module. The motion trend extrapolation prediction module is configured to receive historical time series feature data, perform multi-step extrapolation prediction of abnormal activity trends of individuals or groups through a pre-set recurrent neural network model, and output a prediction intervention instruction to the health early warning module in advance when the confidence level of the prediction result reaches a set threshold. In practice, the system pre-sets a confidence level criterion for the model's prediction results, with a threshold of 60% to 80%. Every 10 minutes, the system inputs standardized time-series numerical sequences from the past 4 hours into the pre-set recurrent neural network model. When the model's prediction confidence level is below 60%, the system considers the prediction to be of no reference value and takes no action. When the prediction confidence level is between 60% and 80%, the system only records the current data trend and does not push forward any warnings. When the confidence level of the prediction results reaches or exceeds 80%, the system will not wait for the actual abnormal signal to occur and will directly push a "predictive intervention" command to the central control console.

[0029] Secondly, in order to match the best response mechanism for abnormal situations of different severity, the environmental causal linkage and health early warning module is equipped with a hierarchical early warning output interface. The hierarchical early warning output interface is configured to divide the early warning status into non-infectious behavioral habit abnormalities and major infectious disease precursor abnormalities according to the pathological urgency of the health early warning signal, and match different levels of visual interface color prompts and sound and light alarm frequencies for the two types of abnormalities respectively. The specific early warning decision tree and grading standards are as follows: The system pre-sets a comprehensive abnormality cumulative scoring mechanism, which sets the severity grading criteria: low-level alert (score of 1 point), medium-level attention (score of 2-4 points), and high-level blockade warning (score of 5 points or more). If the system detects only a few feather-picking abnormalities in a single judgment, and the abnormality is not accompanied by other pathological behavioral indicators exceeding the threshold, the system scores 1 point, triggering a low-level alert. If the system detects the above-mentioned minor abnormalities in two consecutive cycles, the system score rises to 2-4 points, triggering a medium-level attention. If the system detects three or more individuals simultaneously exhibiting clustered signs of prolonged eye closure, head and neck tremors, and ruffled feathers in multiple analysis cycles, and the environmental parameters are stable, the system score is 5 points, reaching the high-level blockade warning standard, forcibly pushing a conspicuous red box information, accompanied by a continuous high-frequency audible and visual alarm.

[0030] Finally, in order to form a complete execution loop from "cloud identification" to "physical intervention", the intelligent early warning system also includes a remote execution linkage interface. The remote execution linkage interface is configured to extract the identification box data and 3D spatial coordinates of the target individual after receiving abnormal signals of precursors of major infectious diseases, and remotely push the identification data packet to the terminal interaction interface of the central control console, so that the central control console can automatically trigger the corresponding physical isolation and interception command based on the pushed data. In the specific execution process, the system pre-sets physical space coordinate transformation rules. That is, during system initialization, the operator needs to accurately measure the physical distance between the dual-spectrum camera 1 and the base ground of the chicken house and the front, back, left, and right walls, and input it into the three-dimensional space calibration module of the intelligent early warning system to complete the physical space calibration. When the remote execution linkage interface receives the high-level early warning command issued by the early stage risk judgment submodule, the system immediately converts the image pixel coordinates into 3D space coordinates inside the chicken house with centimeter-level accuracy according to the calibrated physical space transformation rules. Subsequently, the ID of the target chicken, the 3D space coordinate data, and the real-time image capture packet with the target overlay recognition box are pushed to the terminal interaction interface of the central control console through the standard network transmission protocol. After receiving the data, the central control console directly marks the specific location of the target on the physical map thumbnail on the operator's main screen, so that the administrator can directly and quickly carry out on-site physical capture, isolation, or rescue intervention based on the physical location indicated on the screen.

[0031] In addition, the circuits, electronic components and modules involved in this invention are all existing technologies, which can be fully implemented by those skilled in the art, and need not be elaborated upon. The content protected by this invention does not involve any improvement to the internal structure and method. Combination Figures 1-8The specific usage process of the machine vision-based abnormal behavior recognition and health early warning system for chickens in this embodiment is as follows: 1. During the system installation phase, the dual-spectrum camera 1 needs to be fixed in the diagonal area at the bottom of the top truss 6 inside the chicken house to eliminate the physical blind spots in the high-density net bed floor rearing environment. The temperature and humidity sensor 2 is anchored in the center of the inner side wall, the ammonia and carbon dioxide sensors 4 are arranged in the upper part of the side wall near the exhaust fan 7, and the light sensor 3 is installed in the center of the top of the truss 6 with its probe pointing vertically upward. All sensors are electrically connected to the external central control console via waterproof cables. After the initial power-on, the central control console automatically enters the non-interventional continuous acquisition pre-training phase. During this phase, the system receives the data streams of the aforementioned five types of sensors at fixed intervals and records the daily activity trajectory of each tracked individual. After 14 consecutive natural days, the system constructs a daily behavior baseline library and corresponding three times the standard deviation for each successfully tracked target individual, including gait lameness frequency, eye closure duration, feather pecking behavior frequency, head and neck tremor amplitude, and chest and abdomen feather ruffled degree. The system automatically switches to the formal operation monitoring state after the pre-training cycle is completely completed. 2. During formal operation, the multi-source data fusion module inside the central control console continuously receives the real-time video stream from the dual-spectrum camera 1 and simultaneously extracts environmental sensor curves. The system sets every 30 frames as a standard sliding window analysis cycle and uses the dynamically collected light intensity value as the basis for adjusting the sliding window cycle. When the light sensor 3 reports that the light intensity is lower than the set lower limit, the system actively extends the sliding window cycle to ensure the sample accumulation of the infrared thermal image, thereby stabilizing the feature fusion vector used for behavior tracking. At the end of each sliding window, the system automatically calculates five behavioral quantitative indicators of the current target individual: gait limping frequency, eye-closing duration, feather-pecking behavior frequency, head and neck tremor amplitude, and chest and abdomen feather ruffled degree. These five indicators are compared with the corresponding time period data in the daily behavior baseline library for each standard deviation. If the system calculates that any two or more pathological indicative indicators of the current individual exceed the set upper limit of three times the standard deviation of the daily behavior baseline within three consecutive sliding window cycles, the system determines that the target individual has generated a continuous individual abnormal deviation signal and outputs the signal to the downstream module for the next step of linkage judgment. 3. Upon receiving the aforementioned individual abnormal deviation signal, the system immediately retrieves the time-series change data of ammonia concentration, carbon dioxide concentration, temperature and humidity, and light intensity curves within the same time window and calculates their instantaneous volatility. The system compares the calculated volatility data with the environmental volatility judgment standard range of 5% to 10%. If the environmental parameter volatility reaches or exceeds the drastic fluctuation threshold of 10% and the abnormal signal of the flock appears immediately after this abrupt physical change, the system immediately judges this abnormal deviation signal as an environmental stress response and blocks it from participating in subsequent disease warning logic. If the environmental parameter volatility is in the moderate fluctuation range of 5% to 10%, the system additionally checks whether the abnormal proportion of the flock exceeds 50% to determine... If the environmental parameter fluctuation rate is below the 5% stability limit and the individual's pathological indicators show a non-decaying, continuously increasing trend, the system determines that the target individual is in the incubation period of the disease and initiates the linkage protocol. The central control console immediately extracts the target individual's identification box image data and, according to the three-dimensional spatial calibration conversion rules completed during system initialization, calculates the pixel coordinates into physical three-dimensional coordinates with centimeter-level precision. Finally, the spatial coordinates and the identification box image are packaged together into a linkage data package and remotely pushed to the terminal interactive interface of the external central control console. Through the physical map thumbnail and image highlight box on the interface, the on-site aquaculture management personnel are guided to quickly carry out directional capture and physical isolation intervention.

[0032] The above description is only a preferred embodiment of the present invention. It should be noted that for those skilled in the art, several improvements and modifications can be made without departing from the principle of the present invention, and these improvements and modifications should also be considered within the scope of protection of the present invention.

Claims

1. A machine vision-based system for identifying abnormal chicken behavior and providing early warning of health conditions, characterized in that, include: The chicken house has a truss (6) at the top of its inner cavity. At least two diagonally distributed dual-spectrum cameras (1) are installed at the bottom corner of the truss (6). A light sensor (3) is installed at the top center of the truss (6), and the probe of the light sensor (3) is located below the lighting equipment inside the chicken house and faces vertically upward. A temperature and humidity sensor (2) is installed in the middle section of the inner wall of the chicken house. Multiple exhaust fans (7) are installed on the inner wall of the chicken house. Ammonia sensors (5) and carbon dioxide sensors (4) are arranged symmetrically in the upper half of the inner wall of the chicken house. The ammonia sensors (5) and carbon dioxide sensors (4) are close to the exhaust fans (7). The dual-spectrum cameras (1), temperature and humidity sensors (2), ammonia sensors (5), carbon dioxide sensors (4) and light sensors (3) are all electrically connected to an external central control console. An intelligent early warning system is running in the central control console. The intelligent early warning system includes a multi-source data fusion processing module, which is configured to receive visible light video and infrared thermal imaging data from the dual-spectrum camera (1) in parallel, and simultaneously receive environmental multi-dimensional parameters output by the temperature and humidity sensor (2), ammonia sensor (5), carbon dioxide sensor (4) and light sensor (3), and perform time alignment and feature dimension splicing on the multi-source information of each type. The intelligent early warning system also includes a multi-target behavior tracking and baseline self-learning module. The multi-target behavior tracking and baseline self-learning module is configured to continuously match the identities and track the actions of individual chickens based on the spliced ​​feature data, extract the temporal activity features of the individuals, and automatically generate daily behavior baselines for individuals and the group based on data from a preset historical period. The module compares the real-time activity features with the daily behavior baselines and outputs signals of individual and group abnormalities. The intelligent early warning system also includes an environmental causal linkage and health early warning module. The environmental causal linkage and health early warning module is configured to synchronously acquire the changing trends of the multidimensional environmental parameters, perform time-series causal discrimination on the changing trends and the signals of individual and group abnormalities, so as to remove the interference weight of environmental stress on the abnormal signals, and output the disease precursor health early warning signal corresponding to the target individual after removing the interference of environmental stress.

2. The machine vision-based chicken abnormal behavior recognition and health early warning system according to claim 1, characterized in that: The multi-source data fusion processing module includes a dual-light coupling submodule, which is configured to extract the movement trajectory and feather appearance features of the target chicken from the visible light video, and simultaneously extract the body surface temperature distribution and respiratory frequency features of the chest and abdomen undulations of the target chicken from the infrared thermal imaging data. Through weighted superposition, the appearance features are fused with body temperature and respiratory features into a high-dimensional spatial feature vector.

3. The machine vision-based chicken abnormal behavior recognition and health early warning system according to claim 2, characterized in that: The multi-target behavior tracking and baseline self-learning module includes an anti-occlusion target re-identification submodule. This submodule is configured to filter noise caused by dust and halo through an image enhancement algorithm when receiving the original image sequence, and to achieve continuous tracking of target identity for individuals with multiple overlapping or temporary occlusion based on a feature cue interpolation algorithm, ensuring that the individual data stream is not interrupted in high-density farms.

4. The machine vision-based chicken abnormal behavior recognition and health early warning system according to claim 3, characterized in that: The multi-target behavior tracking and baseline self-learning module includes a pathological orientation feature extraction submodule. This submodule is configured to extract multiple physiological behavior quantitative indicators from the tracking sequence, including gait limping frequency, eye-closing duration, feather pecking frequency, head and neck tremor amplitude, and the degree of ruffled chest and abdominal feathers, and normalize each indicator according to the time series.

5. A machine vision-based chicken abnormal behavior recognition and health early warning system according to claim 4, characterized in that: The daily behavior baseline is automatically fitted based on the time-series tracking data of 14 consecutive natural days during the initial operation of the chicken house system. In subsequent operations, it is dynamically updated according to the age of the flock with a fixed sliding window period to match the changes in the normal physiological and behavioral characteristics of chickens at different ages.

6. A machine vision-based chicken abnormal behavior recognition and health early warning system according to claim 5, characterized in that: The environmental causal linkage and health early warning module includes a stress feature decoupling submodule. The stress feature decoupling submodule is configured to retrieve the ammonia concentration, carbon dioxide concentration, temperature and humidity, and light intensity curves within the same time window when an abnormal signal is received. When a nonlinear abrupt change in environmental physical parameters is detected and the abnormal signal occurs immediately after the abrupt change, the abnormal signal is identified as an environmental stress response, and its triggering of the health early warning is blocked.

7. A machine vision-based chicken abnormal behavior recognition and health early warning system according to claim 6, characterized in that: The environmental causal linkage and health early warning module includes a prodromal risk discrimination submodule. This prodromal risk discrimination submodule is configured to perform multi-period time window slice analysis on multiple physiological behavior quantitative indicators of the target individual when environmental parameters are within a stable fluctuation range. When pathological indicative characteristic indicators exceed the threshold accumulation in multiple consecutive analysis periods, and the pathological contribution shows an increasing trend, it is determined that the current individual is in the incubation period or prodromal period of the disease, and the spatial location of the target individual is automatically locked for key monitoring.

8. A machine vision-based chicken abnormal behavior recognition and health early warning system according to claim 7, characterized in that: The intelligent early warning system also includes a motion trend extrapolation prediction module. The motion trend extrapolation prediction module is configured to receive historical time series feature data, perform multi-step extrapolation prediction of abnormal activity trends of individuals or groups through a preset recurrent neural network model, and output a prediction intervention instruction to the health early warning module in advance when the confidence level of the prediction result reaches a set threshold.

9. A machine vision-based chicken abnormal behavior recognition and health early warning system according to claim 8, characterized in that: The environmental causal linkage and health early warning module is equipped with a hierarchical early warning output interface. The hierarchical early warning output interface is configured to classify the early warning status into non-infectious behavioral and habitual abnormalities and major infectious disease precursor abnormalities according to the pathological urgency of the health early warning signal, and to match different levels of visual interface color prompts and sound and light alarm frequencies for the two types of abnormalities respectively.

10. A machine vision-based chicken abnormal behavior recognition and health early warning system according to claim 9, characterized in that: The intelligent early warning system also includes a remote execution linkage interface. The remote execution linkage interface is configured to extract the identification box data and 3D spatial coordinates of the target individual after receiving an abnormal signal of a precursor to a major infectious disease, and remotely push the identification data packet to the terminal interaction interface of an external central control console, so that the external control console can automatically trigger the corresponding physical isolation and interception command based on the pushed data.