Internet-based intelligent breeding remote feeding behavior monitoring method and system
By assessing the probability of suppression risk in the chicken coop environment and increasing the sampling frequency of high-risk individuals, combined with visual verification features and temporal analysis of the swallowing process, the problem of inflated feeding data statistics was solved, and efficient feeding behavior monitoring within edge devices was achieved.
Patent Information
- Application Number
- CN202611301271.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-26
- Publication Date
- 2026-11-20
AI Technical Summary
Existing remote feeding behavior monitoring methods are prone to inflating feeding data statistics in chicken coop environments, and increasing video sampling accuracy will exceed the computing power and bandwidth limits of edge devices, causing computing overload.
By tracking targets at edge nodes and calculating Euclidean distance and relative movement velocity vectors, the probability of suppression risk is assessed. The sampling frequency is temporarily increased for the head and neck region of high-risk individuals, and pseudo-feeding actions are filtered out by combining visual verification features and temporal analysis of the swallowing process.
Within the limited computing power and bandwidth budget of edge nodes, accurately identify real feeding behavior, reduce false feeding actions, and improve the accuracy of feeding data.
Smart Images

Figure CN123142158A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of smart aquaculture technology, and in particular to a method and system for remotely monitoring feeding behavior in smart aquaculture based on the Internet. Background Technology
[0002] With the rapid development of the Internet of Things (IoT) and computer vision technologies, smart farming based on the internet is gradually becoming an important development direction for modern chicken farming. Among these technologies, monitoring feeding behavior is a core technical means to assess the health status of chickens, optimize feed conversion rates, and improve overall economic benefits. By acquiring real-time data on the feeding status of the flock through remote video monitoring equipment, managers can be provided with objective and continuous data support, thereby achieving refined and scientific operation of the farming process.
[0003] Currently, conventional remote feeding behavior monitoring methods typically combine target detection algorithms with video processing technology. The basic logic involves continuously collecting global video streams through cameras inside the chicken coop, using image recognition models to extract the chicken's bounding box and calculate its spatial overlap with the feeding trough area, or directly relying on the head-down movement trajectory of the target individual to determine feeding events. This globally unified macro-feature recognition mode is designed to adapt to the limited edge computing and transmission bandwidth of remote nodes in farms. However, in actual farming environments, due to the gregarious competitive habits of chickens, individuals often exhibit numerous false feeding movements such as head-down probing or startled defensiveness without swallowing. If macro-feature recognition is used, the limited video sampling accuracy can easily lead to inflated feeding data statistics. On the other hand, attempting to improve the recognition effect by globally increasing the video sampling accuracy may exceed the bandwidth limit of edge devices, causing computational overload.
[0004] In view of this, a method and system for remote monitoring of feeding behavior in smart aquaculture based on the Internet is proposed. Summary of the Invention
[0005] In view of the above-mentioned prior art, this application is hereby filed. Embodiments of this application provide a method and system for remotely monitoring feeding behavior in smart aquaculture based on the Internet, which can solve the problem of inflated feeding data statistics using conventional monitoring methods.
[0006] According to one aspect of this application, a method for remotely monitoring feeding behavior in smart aquaculture based on the Internet is provided, comprising: acquiring a global video stream of the aquaculture area and performing target tracking at a preset first sampling frequency; extracting the two-dimensional coordinates and movement trajectories of the target individual and its neighboring individuals; calculating the Euclidean distance and relative movement velocity vector between the target individual and the neighboring individuals based on the two-dimensional coordinates and the movement trajectory; calculating the probability of suppression risk exerted by the neighboring individuals on the target individual based on the Euclidean distance and the relative movement velocity vector, wherein the suppression risk probability is negatively correlated with the Euclidean distance and positively correlated with the velocity component pointing towards the target individual in the relative movement velocity vector; when the suppression risk probability is greater than... When a preset risk threshold is set, the head and neck region of the target individual is extracted as the region of interest, and the video sampling frequency of the region of interest is increased to a second sampling frequency. At the second sampling frequency, the first time point at which the target individual performs a head-down action within the region of interest is extracted, along with visual verification features used to verify the effectiveness of eating. The visual verification features are subjected to temporal analysis within a preset time window based on the first time point to generate a confidence curve, and the second time point at which the peak of the confidence curve is located is extracted. When the time difference between the first time point and the second time point exceeds a time difference threshold, or when the peak value is lower than an effective threshold, the head-down action is filtered out as an invalid eating event.
[0007] According to another aspect of this application, an Internet-based smart aquaculture remote feeding behavior monitoring system is provided, comprising: a target tracking module, used to acquire a global video stream of the aquaculture area and perform target tracking at a preset first sampling frequency, extracting the two-dimensional coordinates and movement trajectory of the target individual and its neighboring individuals; a vector calculation module, used to calculate the Euclidean distance and relative movement speed vector between the target individual and the neighboring individuals based on the two-dimensional coordinates and the movement trajectory; a risk assessment module, used to calculate the suppression risk probability exerted by the neighboring individuals on the target individual based on the Euclidean distance and the relative movement speed vector, wherein the suppression risk probability is negatively correlated with the Euclidean distance and positively correlated with the velocity component pointing towards the target individual in the relative movement speed vector; and a sampling control module, used to control the sampling behavior when the suppression wind... When the risk probability is greater than a preset risk threshold, the head and neck region of the target individual is extracted as the region of interest, and the video sampling frequency of the region of interest is increased to a second sampling frequency; the feature extraction module is used to extract the first time point when the target individual performs a head-down action in the region of interest at the second sampling frequency, as well as visual verification features for verifying the effectiveness of eating; the time series analysis module is used to perform time series analysis on the visual verification features within a preset time window based on the first time point, generate a confidence curve, and extract the second time point where the peak of the confidence curve is located; the event filtering module is used to filter out the head-down action as an invalid eating event when the time difference between the first time point and the second time point exceeds a time difference threshold, or when the peak value is lower than an effective threshold.
[0008] According to another aspect of this application, an electronic device is provided, including a memory and a processor, the memory being used to store computer-executable instructions, and the processor being used to execute the computer-executable instructions, which, when executed by the processor, implement the steps of the method described above.
[0009] According to another aspect of this application, a computer-readable storage medium is provided that stores computer-executable instructions thereon, which, when executed by a processor, implement the steps of the method described above.
[0010] Compared with existing technologies, the Internet-based smart aquaculture remote feeding behavior monitoring method and system according to the embodiments of this application can temporarily improve the sampling accuracy of the head and neck area of individuals with high incidence of false feeding within the limited computing power and transmission bandwidth budget of edge nodes by using a non-uniform sampling strategy triggered by suppressing risk probability. Combined with visual verification features corresponding to the three physiological stages of swallowing process (transmission, conduction, and termination) and the temporal determination mechanism of the effective time window of physiological swallowing conduction in poultry, false feeding actions that look similar but are not actually accompanied by swallowing are filtered out from the feeding statistics, thus solving the problem of inflated feeding data statistics in conventional monitoring methods. Attached Figure Description
[0011] The above and other objects, features, and advantages of this application will become more apparent from the more detailed description of the embodiments of this application in conjunction with the accompanying drawings. The drawings are provided to further illustrate the embodiments of this application and form part of the specification. They are used together with the embodiments of this application to explain this application and do not constitute a limitation thereof. In the drawings, the same reference numerals generally represent the same components or steps.
[0012] Figure 1 This is a flowchart of the Internet-based smart aquaculture remote feeding behavior monitoring method of the present invention.
[0013] Figure 2 This is a block diagram of the Internet-based smart aquaculture remote feeding behavior monitoring system of the present invention.
[0014] Figure 3 This is a block diagram of an electronic device according to the present invention. Detailed Implementation
[0015] Hereinafter, exemplary embodiments according to this application will be described in detail with reference to the accompanying drawings. Obviously, the described embodiments are merely some embodiments of this application, and not all embodiments of this application. It should be understood that this application is not limited to the exemplary embodiments described herein.
[0016] Example 1:
[0017] This embodiment describes a specific implementation of an Internet-based smart aquaculture remote feeding behavior monitoring method.
[0018] Due to their gregarious and competitive nature, chickens frequently exhibit pseudo-feeding behaviors within their breeding areas, such as head-down probing or startled defensiveness. These behaviors appear as head-down movements but are not actually accompanied by swallowing. Conventional remote feeding behavior monitoring methods, which rely on the spatial overlap between the chicken's bounding box and the feed trough area, or on macroscopic feature recognition based on the head-down movement trajectory, cannot distinguish these pseudo-feeding behaviors from genuine feeding events, leading to inflated feeding data statistics. Attempting to enhance the ability to recognize swallowing details by improving the overall video sampling accuracy (including frame rate and resolution) would exceed the computing power and transmission bandwidth limits of the remote node edge devices in the farm, causing computing overload—this constitutes a contradiction between recognition accuracy and computing power / bandwidth.
[0019] The method provided in this embodiment maintains global coarse-grained sampling at the first sampling frequency for most areas and time periods, and only temporarily increases the sampling frequency to the second sampling frequency for high-precision sampling in the head and neck areas of chickens with a high risk of false feeding for a limited period after the risk is triggered. This achieves fine-grained verification of swallowing events within the computing power and bandwidth budget that edge nodes can bear. Furthermore, by using a judgment mechanism to determine whether the time difference between the head-down time node and the peak swallowing confidence time node falls within the physiological transmission time window of avian swallowing, false feeding actions that are similar in appearance but do not physiologically constitute real swallowing are filtered out from the feeding statistics, thereby solving the problem of inflated feeding data statistics in conventional methods.
[0020] Figure 1 The illustration shows a method for remotely monitoring feeding behavior in smart aquaculture based on the Internet according to an embodiment of this application, including steps S1 to S7.
[0021] like Figure 1 As shown, in step S1, the global video stream of the breeding area is acquired and the target is tracked at a preset first sampling frequency to extract the two-dimensional coordinates and movement trajectory of the target individual and its neighboring individuals.
[0022] The global video stream is captured by cameras deployed above or to the side of the poultry area inside the chicken coop. The camera's field of view covers the entire feeding area and its surrounding activity range. The first sampling frequency refers to the video frame sampling frequency used for target tracking and coordinate extraction of the global video stream. Its value is typically set in the range of 5 to 10 fps. The normal movement speed of chickens in the poultry area is usually no more than 1 to 2 body lengths per second. Sampling in this range is sufficient to ensure that the displacement of an individual between adjacent frames does not exceed half a body length, avoiding identity switching errors in the target tracking algorithm. At the same time, the data throughput corresponding to this sampling frequency is still within the processing capacity range of mainstream edge devices, so as not to cause computing power overload.
[0023] Target tracking involves performing target detection on each sampled frame of the global video stream, extracting the bounding box and two-dimensional coordinates of the center point of each individual chicken, and associating the bounding boxes between adjacent sampled frames using common multi-target tracking algorithms (such as multi-target tracking algorithms based on intersection-union matching, Kalman filter prediction, or appearance feature matching) to obtain the continuous movement trajectory of each individual chicken in the time dimension. In this embodiment, each individual chicken identified in the global video stream is sequentially treated as a target individual and processed in parallel by subsequent steps. For any target individual, its neighboring individuals refer to other individual chickens in the current frame within a circular neighborhood centered on the center of the target individual's bounding box and with a preset neighborhood radius (e.g., 3 to 5 times the average body length of the chickens).
[0024] like Figure 1 As shown, in step S2, based on the two-dimensional coordinates and the movement trajectory, the Euclidean distance and relative movement speed vector between the target individual and its neighboring individuals are calculated.
[0025] Specifically, for a target individual and a neighboring individual, the Euclidean distance is the Euclidean distance between the two individuals' bounding box center points in two dimensions, calculated as follows: The calculation yielded, where The center point coordinates of the target individual The coordinates of the center points of adjacent individuals are given. The relative velocity vector reflects the instantaneous velocity of the adjacent individuals relative to the target individual, and can be obtained by dividing the difference in the center point displacements of the adjacent individuals and the target individual between two adjacent sampling frames by the time interval between the two sampling frames—let the current frame be the [number]th frame. Frame, previous frame is the first Frame, then relative motion velocity vector according to Calculation, where The vector represents the time interval between two adjacent sampling frames. It carries both the direction information and the speed information of the adjacent individuals as they approach or move away from the target individual.
[0026] like Figure 1 As shown, in step S3, the probability of suppression risk exerted by adjacent individuals on the target individual is calculated based on the Euclidean distance and the relative movement speed vector. The suppression risk probability is negatively correlated with the Euclidean distance and positively correlated with the velocity component pointing to the target individual in the relative movement speed vector.
[0027] Due to their gregarious and competitive nature, chickens' feeding behavior within the rearing area often involves dominance-subordination interactions between individuals. Individuals with higher dominance levels tend to drive individuals with lower dominance levels away from the feeding trough area. The driven individuals exhibit two types of behavioral responses: first, a genuine, brief retreat followed by a return to the trough; and second, a pseudo-feeding action of probing and observing near the trough out of defensiveness and alertness. The latter pseudo-feeding action closely resembles genuine feeding but does not actually involve swallowing, and is one of the main sources of inflated feeding data. Identifying individuals in a state of being suppressed by neighboring individuals is a prerequisite step in locating high-risk pseudo-feeding targets and providing a basis for subsequent refined verification processes.
[0028] The probability of a neighboring individual suppressing a target individual is determined by two conditions: the neighboring individual is sufficiently close to the target individual, and the neighboring individual is approaching the target individual. The former corresponds to a smaller Euclidean distance, while the latter corresponds to a larger velocity component pointing towards the target individual in the relative velocity vector; this velocity component is the relative velocity vector. The projection of the target individual onto the pointing vectors of its neighbors, according to The calculation yielded, where , These are the coordinate vectors of the center points of the target individual and its adjacent individuals, respectively. This represents the vector dot product. The suppression risk probability is negatively correlated with the Euclidean distance and positively correlated with the aforementioned velocity components. When the suppression risk probability of a certain neighboring individual is significantly higher than that of other neighboring individuals, that neighboring individual is identified as the primary suppression source of the target individual.
[0029] However, the dominance levels exhibited by different individuals in a group vary significantly, and the actual suppression ability of the same neighboring individual over different target individuals may differ by orders of magnitude. Relying solely on instantaneous geometric relationships (distance and velocity) may be insufficient to accurately characterize the suppression risk. Therefore, this embodiment further introduces the statistical data of the dominance behavior of neighboring individuals over a historical period as a weighting factor. Based on obtaining the Euclidean distance and velocity components, the probability of suppression risk is calculated according to the following sub-steps S31 and S32:
[0030] In S31, the historical frequency of neighboring individuals successfully driving away the target individual within the breeding area is obtained.
[0031] Historical driving frequency refers to the cumulative number of times, within a preset historical statistical period (e.g., the past 24 hours to 7 days), a neighboring individual approaches a target individual and the target individual subsequently exhibits a moving-away behavior (i.e., the target individual's center point moves away from the neighboring individual beyond a preset displacement threshold within a preset observation period after the neighboring individual's approach event). This data can be obtained by post-processing target tracking data continuously recorded within the aforementioned historical statistical period, reflecting the actual dominance level of neighboring individuals relative to the target individual.
[0032] In S32, the probability of suppression risk is obtained by weighting the negative correlation mapping value of historical driving frequency, Euclidean distance, and positive correlation mapping value of velocity component.
[0033] Specifically, Euclidean distance The following negative correlation mapping function can be used to transform the value range into... Distance mapping value within : ,in The characteristic distance constant can be taken as 2 to 3 times the average body length of chickens; velocity component via positive correlation mapping function (e.g.) ,in (The velocity normalization constant) is transformed into a range of values within Internal speed mapping value; historical frequency of driving away Normalized (e.g.) ,in (The half-saturation constant) is converted to a range of values within The frequency mapping value within. The three mapping values are weighted and summed to obtain the suppression risk probability. ,in , , These are preset weighting coefficients, which can generally be set to 1 / 3 for each species, but can also be adjusted according to the behavioral characteristics of the specific aquaculture species.
[0034] like Figure 1 As shown, in step S4, when the suppression risk probability is greater than the preset risk threshold, the head and neck region of the target individual is extracted as the region of interest, and the video sampling frequency of the region of interest is increased to the second sampling frequency.
[0035] The target individuals identified in step S3 as being in a high-suppression-risk state are precisely the high-probability group exhibiting pseudo-feeding behavior. These individuals, due to the dominance and proximity of neighboring individuals, tend to defensively probe near the feeding trough by lowering their heads and then raising them to observe. At the first sampling frequency (5-10 fps), these behaviors are visually indistinguishable from genuine feeding. A higher sampling frequency is required to capture the subtle swallowing movements after lowering the head (including throat feather deformation, neck retraction, and lingering after raising the head) for reliable identification. However, increasing the overall sampling frequency of the global video stream to a high frequency capable of capturing swallowing details would exceed the computing power and transmission bandwidth limits of edge nodes due to the exponential increase in data throughput. Therefore, this embodiment employs a non-uniform sampling strategy triggered by suppression risk. Specifically, only when the suppression risk probability exceeds a preset risk threshold is the sampling frequency temporarily increased for the head and neck region of the target individual. At other times, for other chickens, and for the non-head and neck regions of the target individual, the original low-frequency sampling is maintained, thereby achieving the maximum swallowing event recognition accuracy with minimal computational power increase.
[0036] The preset risk threshold is generally set within the range of the probability of suppressing risk. Within the range of 0.5 to 0.7, the frequency at which a target individual is judged to be in a high-suppression risk state matches the computing power margin of the edge node. If the threshold is too low, too many target individuals will frequently trigger high-frequency sampling and exceed the computing power limit; if the threshold is too high, some potential false feeding events will be missed. The specific threshold value can be calibrated according to the chicken density of the specific chicken house and the available computing power of the edge node.
[0037] The region of interest (ROI) refers to the sub-region of the image corresponding to the head and neck area of the target individual. It is determined by the target tracking algorithm based on the bounding box of the target individual and the positions of head key points (such as the beak tip key point and eye key points), covering the beak, eyes, the entire neck, and the chest of the target individual. The second sampling frequency refers to the high-frequency sampling frequency used for the ROI, which can be 25~30fps. The feature duration of a bird completing a swallowing action (including sub-actions such as throat peristalsis, neck retraction, and head raising and holding) is on the order of hundreds of milliseconds. Sampling at 25~30fps ensures that each swallowing sub-action covers at least 5 frames, guaranteeing the stable extraction of visual verification features in subsequent steps S5 and S6.
[0038] While increasing the video sampling frequency of the region of interest to the second sampling frequency, in order to keep the total computing power and total bandwidth of the edge nodes within an acceptable range, it is also necessary to perform corresponding precision reclamation on other regions of the global video stream besides the region of interest:
[0039] The video sampling frequency of regions other than the region of interest in the global video stream is reduced from the first sampling frequency to the third sampling frequency, or the image encoding resolution of other regions is reduced.
[0040] The third sampling frequency refers to the low-frequency sampling frequency used in other areas, which can be 1~3 fps, to maintain only basic global situational awareness (including target tracking and position updates); alternatively, the sampling frequency of other areas can be kept unchanged at the first sampling frequency, but the image coding resolution of other areas can be reduced to 1 / 2 to 1 / 4 of the original resolution. Regardless of which downsampling strategy is adopted, the effect is to recover the additional computing power and bandwidth consumption caused by upgrading the region of interest to the second sampling frequency, so that the total computing power consumption and total bandwidth consumption of the edge nodes are kept at roughly the same level as before the upgrade.
[0041] For example, suppose there are 20 chickens in a chicken coop, the original global video stream resolution is 1920×1080, and the initial sampling frequency is 8fps; at a certain moment, only 2 chickens are identified as being in a high-suppression-risk state, and the image size of their head and neck region of interest is approximately 120×120 pixels, with the sampling frequency increased to 30fps; the sampling frequency for the regions corresponding to the other 18 chickens and the background region is reduced to 2fps. The increased computational power consumption for the region of interest is approximately... Pixels per second, the computing power saved in other areas is approximately The savings per pixel per second far outweigh the increases, and the total computing power consumption of edge nodes actually decreases.
[0042] like Figure 1 As shown, in step S5, at the second sampling frequency, the first time point at which the target individual lowers its head in the region of interest is extracted, as well as the visual verification features used to verify the effectiveness of eating.
[0043] The occurrence of a head-down movement is determined by continuously monitoring the vertical displacement of a key point on the target individual's head (typically the beak tip key point) relative to a reference key point on the target individual's neck (typically the base of the neck key point or the midpoint of the line connecting the two shoulders). A head-down movement is determined when the vertical coordinate difference between the head key point and the neck reference key point (in the image coordinate system, downward is positive) exceeds a preset head-down judgment threshold, and the duration of the vertical displacement exceeds a preset lower limit for head-down duration (generally 80-120 milliseconds to exclude occasional head shaking). The first time point is the moment when the beak tip key point reaches its lowest position during this head-down movement.
[0044] However, head-lowering is only a necessary, not sufficient, condition for a feeding event. Even if an individual lowers its head completely, it may only be out of fear or as a test of food, without actually swallowing. Only when head-lowering is accompanied by a series of observable features corresponding to the physiological process of swallowing can it be considered a true feeding event. The actual swallowing process in birds presents three continuous and sequentially observable phenomena on the body surface: First, after food is ingested by the beak, the throat muscles contract, driving the food bolus towards the esophagus. This process produces subtle deformation and trembling in the corresponding feather area on the throat surface. Second, at the moment of completion of swallowing, the neck produces a noticeable retraction movement, i.e., a reflexive contraction of the neck muscles, to assist the food bolus as it descends along the esophagus. Third, after swallowing, the bird usually raises its head and remains still for a period of time to observe its surroundings and post-swallowing state. These three phenomena correspond to the three physiological stages of swallowing: delivery, conduction, and termination. They are independent yet collectively confirm the actual occurrence of swallowing. Their combination provides the strongest confirmation of genuine swallowing, minimizing the possibility of misjudgment caused by any single phenomenon accidentally appearing in a sham eating action. However, in specific scenarios constrained by computing power, image quality, or partial key point occlusion, only one or two of the features corresponding to these phenomena can be used as a simplified implementation. While the confirmation strength is reduced, it can still achieve basic true / false swallowing discrimination in most scenarios. Based on this, this embodiment proposes that the visual verification features include at least one or more combinations of the following first, second, and third features:
[0045] The first feature is the grayscale variance of local pixels in the head and neck region that reflects the microscopic deformation of the throat feathers.
[0046] Specifically, within the region of interest, a sub-region of the image located below the beak and above the neck is further identified as the larynx sub-region. The variance of the grayscale values of all pixels within the larynx sub-region is calculated frame by frame. This variance reflects the degree of dispersion of pixel grayscale values within the larynx sub-region. When the throat muscles contract, driving the bolus downwards, the feathers on the surface of the throat will tremble slightly due to muscle movement, causing instantaneous changes in brightness and darkness at the pixel level. This results in a significantly higher grayscale variance value than the baseline level in the static state. In the spurious feeding action, the target individual only completes the apparent head-down-head-up movement without actual swallowing. The throat muscles do not contract accordingly, the throat feathers maintain a stable shape, and the grayscale variance value does not change significantly. The first feature, by capturing the microscopic deformation of the throat feathers at the pixel level, provides visual verification of the transport stage of the swallowing process.
[0047] The second feature is the acceleration that reflects the neck retraction action of the target individual after completing the head-down movement.
[0048] Specifically, the two-dimensional coordinate sequence of the target individual's neck key points (typically the mid-neck or base of the neck) is used to obtain a velocity sequence by first-order differentiation at the second sampling frequency, and an acceleration sequence by second-order differentiation. The extreme values of the acceleration sequence within a preset time window after the head-down movement are extracted. In actual swallowing, the neck muscles reflexively contract at the moment the food bolus descends, resulting in a significant upward retraction acceleration peak at the neck key points. In spurious feeding, the target individual's head-up movement is a smooth, actively controlled motion, with smaller acceleration variations at the neck key points and no obvious peaks. The second feature, by capturing the dynamic characteristics of the neck retraction movement, provides visual verification of the transmission phase of the swallowing process.
[0049] The third feature is the duration of the action that the target individual maintains after completing the head-down movement and raising their head.
[0050] Specifically, after the target individual completes the head-down-head-up movement, the displacement amplitude of key points on the target individual's head is continuously monitored. When the displacement amplitude of key points on the head is consistently less than a preset dwell time threshold, the dwell time is accumulated until the next significant displacement occurs. After a real swallowing event, the target individual usually maintains a static dwelling for a period of time to observe the environment, with dwell time typically ranging from hundreds of milliseconds to several seconds. However, in sham feeding, the target individual's head-down-head-up process is a rapid exploration-alert behavior, and after raising their head, they immediately proceed to the next action (such as lowering their head again to explore, move, or observe other individuals), with a dwell time significantly shorter than that after a real swallowing. The third feature, by capturing the static behavior after the head is raised, provides visual verification of the end stage of the swallowing process.
[0051] like Figure 1 As shown, in step S6, the visual verification features are subjected to time series analysis within a preset time window based on the first time node to generate a confidence curve, and the second time node where the peak of the confidence curve is located is extracted.
[0052] The visual verification features extracted in step S5 are all local observations of different stages of the swallowing physiological process. For example, the peak of the first feature corresponds to the bolus transport stage, the peak of the second feature corresponds to the bolus conduction stage, and the peak of the third feature corresponds to the end of swallowing. A temporal joint analysis of one or more of the visual verification features can form a continuous representation of the overall intensity of the swallowing event, and the peak moment of this representation curve can be extracted as the representative moment of the substantial completion of the swallowing event, i.e., the second time node. When all three types of features are used in joint analysis, the representation provides the most complete coverage of the swallowing event; when only one or two features are used, the coverage of the representation is correspondingly limited by the physiological stage corresponding to the feature used, but a representative moment reflecting the substantial completion of swallowing can still be extracted based on the temporal changes of the feature itself.
[0053] The preset time window typically starts from the first time point and extends backward by 500-1500 milliseconds. A bird's complete swallowing process, from head-down intake to head-up hold, usually takes hundreds of milliseconds to several seconds. A 500-1500 millisecond time window is sufficient to cover the entire swallowing event while eliminating interference from subsequent irrelevant actions introduced by an excessively long time window. The following example, using a preferred implementation employing three types of features simultaneously, illustrates how the confidence curve is generated within this time window. This generation method includes the following sub-steps S51-S53:
[0054] In S51, the first feature, the second feature, and the third feature within the preset time window are extracted and normalized respectively.
[0055] Separate normalization refers to performing normalization operations independently on one or more visual verification features used. Correspondingly, when only one or two features are used, the normalization operations for the unused features can be omitted. Normalization maps the used feature values to the range [0, 1], eliminating the influence of differences in feature dimensions and numerical ranges on subsequent weighted fusion. Specifically, the first feature (grayscale variance of laryngeal feathers) is linearly normalized according to its baseline level and typical swallowing peak level in the resting state; the second feature (neck retraction acceleration) is linearly normalized according to the typical maximum value of the acceleration; and the third feature (head-tilt dwell time) is saturated normalized according to the typical swallowing dwell time (i.e., the normalization result saturates to 1 when the dwell time exceeds the typical value).
[0056] In S52, based on a pre-constructed weight matrix, the normalized first feature, second feature, and third feature are weighted and fused to generate a confidence curve that continuously changes over time, representing the likelihood of the target individual's substantial swallowing. The weight matrix is dynamically configured based on the degree of occlusion and illumination parameters of the area where the target individual is located.
[0057] Specifically, confidence curve according to The calculation yielded, where , , These are the time-series values of the first, second, and third features after normalization. , , The weights are assigned accordingly. The reason for using a dynamic configuration based on occlusion level and lighting parameters is that the three types of visual verification features have significantly different dependencies on image quality. The first feature relies on the pixel-level clarity of feather texture within the throat sub-region and is most sensitive to occlusion and low lighting. The second feature relies on the stable detection of key points in the neck and has some tolerance for partial occlusion. The third feature relies only on the displacement amplitude statistics of key points in the head and is the most robust to occlusion and lighting changes. When the occlusion level of the target individual's area (e.g., the effective pixel ratio within the throat sub-region) is high or the lighting parameters (e.g., average brightness) deviate from the normal range, the weight of the first feature should be reduced and the weight of the third feature increased accordingly. Conversely, when the image quality is good, the weight of the first feature can be increased to fully utilize its most direct representation ability of the swallowing transport stage. The specific weight configuration can be calculated and adjusted in real time by the system based on the occlusion level and lighting parameters when acquiring each frame, for example, using a configuration like... The linear mapping form, where To comprehensively reflect image quality, a normalized index (with values) ), and This is a preset scaling factor.
[0058] After the confidence curve is generated, the peak value of the curve within a preset time window is extracted (i.e., The moment when the maximum value is reached is used as the second time node. This corresponds to the moment when the individual's likelihood of actually swallowing the substance is at its maximum.
[0059] like Figure 1 As shown, in step S7, when the time difference between the first time node and the second time node exceeds the time difference threshold, or the confidence level is lower than the effective threshold, the head-down action is filtered out as an invalid eating event.
[0060] In the actual swallowing physiology of birds, the three stages—from the beak contacting food (the first time point of the head-down movement) to the completion of bolus delivery by the laryngeal muscles, the reflexive retraction of the neck, and the raising and holding of the head (the second time point where the overall confidence reaches its peak)—are sequentially connected and interconnected. The time consumed by the entire process is inherently constrained by the physiological conduction mechanism of bird swallowing and falls within a specific physiological time window. In contrast, in spurious feeding, the head-down-head-up process of the target individual only simulates the swallowing action in appearance and is not accompanied by actual laryngeal delivery and neck conduction. Even if the confidence curve shows a local peak due to noise or accidental similarity of some movements, the time difference between this peak and the head-down time point usually deviates from the physiological time window of actual swallowing, or is significantly shorter than this physiological time window (the rapidly completed exploration-alert behavior in appearance), or significantly longer than this physiological time window (a false peak caused by subsequent accidental movements unrelated to swallowing). Furthermore, even if the time difference falls within the physiological time window, if the peak of the confidence curve itself does not reach the effective threshold representing actual swallowing, then the intensity of the visual verification feature corresponding to the head-down action is insufficient to confirm the actual occurrence of swallowing, and it should also be filtered out as an invalid eating event. Based on the above physiological and statistical dual basis, the determination of whether the time difference between the first and second time nodes exceeds the time difference threshold is carried out as follows:
[0061] Determine whether the time difference falls within the preset effective time window that conforms to the physiological swallowing conduction mechanism of birds. If not, determine that the time difference exceeds the time difference threshold.
[0062] The effective time window is generally set at 200-800 milliseconds. The characteristic time for birds to complete a single swallow, from the moment the beak contacts the food to the moment the neck retracts, is determined by the anatomical distance from the pharynx to the esophageal inlet and the speed of muscle contraction. For common poultry breeds (including laying hens and broilers), this time window usually falls within this range. The specific upper and lower limits can be fine-tuned according to the specific poultry breed and age group of the target individual. If the time difference falls within this window, it is determined that the time difference has not exceeded the time difference threshold; if it falls outside this window (whether significantly shorter or significantly longer), it is determined that the time difference exceeds the time difference threshold.
[0063] For example, suppose a target individual makes a head-down movement in a video at the second sampling frequency, at the first time node The confidence curve peaks at the second time point. Seconds, time difference Seconds – This time difference falls within the effective time window If, within milliseconds, the peak confidence level is higher than a valid threshold (e.g., 0.6), the head-down action is considered a genuine eating event and retained; conversely, if another head-down action occurs... Second, Second, If the time difference in a head-down action is 0.50 seconds (significantly less than the lower limit of the effective time window), then the head-down action is judged as a pseudo-feeding action (e.g., the target individual quickly probes and then immediately raises its head to be alert) and is filtered out as an invalid feeding event. For example, if the time difference in a head-down action is 0.50 seconds (within the effective time window) but the confidence peak value is only 0.35 (below the effective threshold), then although the head-down action has the possibility of real swallowing in terms of timing, the visual verification feature strength is insufficient, and it is also filtered out as an invalid feeding event.
[0064] After processing in steps S1 to S7, the head-down actions extracted from the original video stream are divided into two categories: real eating events and pseudo-eating events. Pseudo-eating events are filtered out, and only real eating events are retained for subsequent food intake statistics. Based on this, the method in this embodiment further includes two follow-up processing steps to output net food intake data based on the above filtering results:
[0065] First, within a preset statistical period, the number of head-down movements that were not filtered out as invalid feeding events is accumulated to obtain the effective feeding frequency of the target individual. The statistical period can be 1 hour, half a day, or a full day, and the specific length can be set according to the actual needs of breeding management; during the accumulation process, each head-down movement that was not filtered out as an invalid feeding event is counted as one effective feeding.
[0066] Then, based on the effective feeding frequency and the preset standard intake parameter for a single feeding, the net feed intake data of the target individual is output. The standard intake parameter for a single feeding refers to the average food intake corresponding to each effective feeding of the target individual, such as the average feed mass in grams. This parameter can be determined through calibration experiments on the target poultry breed. For example, under controlled conditions, the effective feeding frequency of several tagged chickens is continuously recorded, and their feed consumption is simultaneously weighed. The total feed consumption is then divided by the total effective feeding frequency. The net feed intake data is calculated by multiplying the effective feeding frequency by the standard intake parameter for a single feeding.
[0067] This concludes the complete description of the entire processing flow of this embodiment. In summary, the Internet-based smart aquaculture remote feeding behavior monitoring method provided in this embodiment has the following technical advantages over existing technologies:
[0068] First, by using a non-uniform sampling strategy triggered by the probability of suppression risk, only the head and neck regions of interest of the target individuals in a high-suppression-risk state are temporarily increased to the second sampling frequency for high-precision sampling, while the sampling frequency of other regions is reduced to the third sampling frequency or their image coding resolution is reduced. This achieves fine-grained acquisition of swallowing details within the limited computing power and transmission bandwidth budget of edge nodes, and solves the dilemma of conventional methods that would cause computing power overload if the overall video sampling accuracy is increased, while maintaining low sampling accuracy would fail to capture swallowing details.
[0069] Second, by introducing a weighted fusion of three factors—Euclidean distance, the velocity component pointing to the target individual in the relative movement velocity vector, and the frequency of historical driving—target individuals under the suppression of the group dominance relationship can be identified, so that computing power can be focused on chicken individuals that are prone to statistical inflation.
[0070] Third, by selecting three types of visual verification features corresponding to the three physiological stages of swallowing—transmission, conduction, and termination—as well as the microscopic deformation of throat feathers, the acceleration of neck retraction, and the duration of head-raising, and performing dynamic weighted fusion based on a weight matrix, multimodal temporal joint verification of swallowing events is achieved. Compared with conventional methods that rely solely on the spatial overlap between chickens and feed troughs or the macroscopic features of head-lowering trajectories, pseudo-feeding actions that are similar in appearance but do not physiologically constitute real swallowing can be eliminated, thus improving the accuracy of feeding statistics.
[0071] Example 2:
[0072] Figure 2 The illustration shows an Internet-based smart aquaculture remote feeding behavior monitoring system according to an embodiment of this application, including: a target tracking module, used to acquire a global video stream of the aquaculture area and perform target tracking at a preset first sampling frequency, extracting the two-dimensional coordinates and movement trajectory of the target individual and its neighboring individuals; a vector calculation module, used to calculate the Euclidean distance and relative movement velocity vector between the target individual and its neighboring individuals based on the two-dimensional coordinates and movement trajectory; a risk assessment module, used to calculate the suppression risk probability exerted by the neighboring individuals on the target individual based on the Euclidean distance and relative movement velocity vector, wherein the suppression risk probability is negatively correlated with the Euclidean distance and positively correlated with the velocity component pointing towards the target individual in the relative movement velocity vector; and a sampling control module, used to control the sampling behavior when the suppression risk probability is... When the risk exceeds a preset risk threshold, the head and neck region of the target individual is extracted as the region of interest, and the video sampling frequency of the region of interest is increased to a second sampling frequency. The feature extraction module is used to extract the first time point when the target individual lowers their head in the region of interest at the second sampling frequency, as well as the visual verification features used to verify the effectiveness of eating. The temporal analysis module is used to perform temporal analysis on the visual verification features within a preset time window based on the first time point, generate a confidence curve, and extract the second time point where the peak of the confidence curve is located. The event filtering module is used to filter out the head-lowering action as an invalid eating event when the time difference between the first time point and the second time point exceeds the time difference threshold, or the peak value is lower than the effective threshold.
[0073] In one example, the probability of suppression risk exerted by a neighboring individual on a target individual is calculated based on Euclidean distance and relative movement velocity vector. This also includes: obtaining the historical frequency of neighboring individuals successfully driving away the target individual within the breeding area; and performing a weighted calculation based on the historical driving frequency, the negative correlation mapping value of Euclidean distance, and the positive correlation mapping value of velocity component to obtain the suppression risk probability.
[0074] In one example, while increasing the video sampling frequency of the region of interest to a second sampling frequency, it also includes: reducing the video sampling frequency of other regions in the global video stream other than the region of interest from a first sampling frequency to a third sampling frequency, or reducing the image coding resolution of other regions.
[0075] In one example, the visual verification feature includes at least one or more of the following combinations: a first feature, which is the gray-level variance of local pixels in the head and neck region that reflects the microscopic deformation of the throat feathers; a second feature, which reflects the acceleration of the neck retraction action of the target individual after completing the head-down action; and a third feature, which reflects the duration of the action dwell of the target individual after completing the head-down action and raising its head.
[0076] In one example, the generation of the confidence curve includes: extracting the first feature, the second feature, and the third feature within a preset time window, and normalizing them respectively; based on a pre-constructed weight matrix, weighting and fusing the normalized first feature, the second feature, and the third feature to generate a confidence curve that continuously changes over time, representing the likelihood of the target individual's substantial swallowing; wherein, the weight matrix is dynamically configured based on the degree of occlusion and illumination parameters of the area where the target individual is located.
[0077] In one example, the time difference between the first time node and the second time node exceeds the time difference threshold. Specifically, it includes: determining whether the time difference falls within the preset effective time window that conforms to the physiological swallowing conduction mechanism of birds. If not, it is determined that the time difference exceeds the time difference threshold.
[0078] In one example, the system function also includes: within a preset statistical period, accumulating the number of head-down movements that are not filtered out as invalid eating events to obtain the effective eating frequency of the target individual; and outputting the net food intake data of the target individual based on the effective eating frequency and the preset standard intake parameters for a single eating session.
[0079] Example 3:
[0080] Figure 3 A block diagram of an electronic device according to an embodiment of this application is illustrated.
[0081] like Figure 3 As shown, the electronic device includes one or more processors and memory.
[0082] A processor can be a central processing unit (CPU) or other form of processing unit with data processing and / or instruction execution capabilities, and can control other components in an electronic device to perform desired functions.
[0083] The memory may include one or more computer program products, which may include various forms of computer-readable storage media, such as volatile memory and / or non-volatile memory. Volatile memory may include, for example, random access memory (RAM) and / or cache memory. Non-volatile memory may include, for example, read-only memory (ROM), hard disk, flash memory, etc.
[0084] In one example, the electronic device may also include input devices and output devices, which are interconnected via a bus system and / or other forms of connection mechanism (not shown).
[0085] Of course, for the sake of simplicity, Figure 3 Only some of the components of the electronic device relevant to this application are shown in this illustration; components such as buses, input / output interfaces, etc., are omitted. In addition, the electronic device may include any other suitable components depending on the specific application.
[0086] Example 4:
[0087] Embodiments of this application may also be computer-readable storage media storing computer program instructions thereon, which, when executed by a processor, cause the processor to perform the steps described in a portion of the foregoing embodiments of this specification according to various embodiments of this application.
[0088] Computer-readable storage media may take the form of any combination of one or more readable media. A readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may, for example, include, but is not limited to, electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatuses, or devices, or any combination thereof. More specific examples of readable storage media (a non-exhaustive list) include: electrical connections having one or more wires, portable disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof.
[0089] The basic principles of this application have been described above with reference to specific embodiments. However, it should be noted that the advantages, benefits, and effects mentioned in this application are merely examples and not limitations, and should not be considered as essential features of each embodiment of this application. Furthermore, the specific details disclosed above are for illustrative and facilitative purposes only, and are not limitations. These details do not restrict the application from being implemented using the specific details described above.
[0090] The block diagrams of devices, apparatuses, devices, and systems involved in this application are merely illustrative examples and are not intended to require or imply that they must be connected, arranged, or configured in the manner shown in the block diagrams. As those skilled in the art will recognize, these devices, apparatuses, devices, and systems can be connected, arranged, and configured in any manner. Terms such as including, comprising, having, etc., are open-ended terms that refer to, but are not limited to, and are used interchangeably with them.
[0091] It should also be noted that in the apparatus, equipment, and methods of this application, the components or steps can be disassembled and / or recombined. These disassemblies and / or recombinations should be considered as equivalent solutions of this application.
[0092] The above description of the disclosed aspects is provided to enable any person skilled in the art to make or use this application. Various modifications to these aspects will be readily apparent to those skilled in the art, and the general principles defined herein can be applied to other aspects without departing from the scope of this application. Therefore, this application is not intended to be limited to the aspects shown herein, but rather to be accorded the widest scope consistent with the principles and novel features disclosed herein.
[0093] The above description has been given for purposes of illustration and description. Furthermore, this description is not intended to limit the embodiments of this application to the forms disclosed herein. Although numerous exemplary aspects and embodiments have been discussed above, those skilled in the art will recognize certain variations, modifications, alterations, additions, and sub-combinations thereof.
Claims
1. A method for remote monitoring of feeding behavior in smart aquaculture based on the Internet, characterized in that, include: The global video stream of the breeding area is acquired and the target is tracked at a preset first sampling frequency. The two-dimensional coordinates and movement trajectory of the target individual and its neighboring individuals are extracted. Based on the two-dimensional coordinates and the movement trajectory, calculate the Euclidean distance and relative movement speed vector between the target individual and the adjacent individuals; The probability of suppression risk exerted by the neighboring individual on the target individual is calculated based on the Euclidean distance and the relative movement speed vector. The probability of suppression risk is negatively correlated with the Euclidean distance and positively correlated with the velocity component of the relative movement speed vector pointing to the target individual. When the probability of suppression risk is greater than a preset risk threshold, the head and neck region of the target individual is extracted as the region of interest, and the video sampling frequency of the region of interest is increased to a second sampling frequency. At the second sampling frequency, the first time point at which the target individual lowers its head in the region of interest is extracted, as well as the visual verification features used to verify the effectiveness of eating; Within a preset time window based on the first time node, the visual verification features are subjected to time series analysis to generate a confidence curve, and the second time node where the peak of the confidence curve is located is extracted. When the time difference between the first time node and the second time node exceeds the time difference threshold, or when the peak value is lower than the effective threshold, the head-down action is filtered out as an invalid eating event.
2. The method for remote monitoring of feeding behavior in smart aquaculture based on the Internet according to claim 1, characterized in that, The step of calculating the suppression risk probability exerted by the neighboring individual on the target individual based on the Euclidean distance and the relative movement speed vector further includes: The historical frequency of the neighboring individuals successfully driving away the target individual within the breeding area is obtained. The probability of suppression risk is obtained by weighting the historical driving frequency, the negative correlation mapping value of the Euclidean distance, and the positive correlation mapping value of the velocity component.
3. The method for remote monitoring of feeding behavior in smart aquaculture based on the Internet according to claim 1, characterized in that, In addition to increasing the video sampling frequency of the region of interest to a second sampling frequency, the method also includes: The video sampling frequency of other regions in the global video stream, excluding the region of interest, is reduced from the first sampling frequency to the third sampling frequency, or the image encoding resolution of the other regions is reduced.
4. The method for remote monitoring of feeding behavior in smart aquaculture based on the Internet according to claim 1, characterized in that, The visual verification features include at least one or more of the following combinations: The first feature is the grayscale variance value of local pixels in the head and neck region that reflects the microscopic deformation of the throat feathers. The second feature is the acceleration that reflects the neck retraction action of the target individual after completing the head-down action; The third feature is the duration of the action that the target individual maintains after completing the head-down action and raising their head.
5. The method for remote monitoring of feeding behavior in smart aquaculture based on the Internet according to claim 4, characterized in that, The generation of the confidence curve includes: Extract the first feature, the second feature, and the third feature within the preset time window, and perform normalization processing on each feature. Based on a pre-constructed weight matrix, the normalized first feature, second feature, and third feature are weighted and fused to generate a confidence curve that continuously changes over time, representing the likelihood of the target individual swallowing the substance; wherein, the weight matrix is dynamically configured based on the degree of occlusion and illumination parameters of the area where the target individual is located.
6. The method for remote monitoring of feeding behavior in smart aquaculture based on the Internet according to claim 1, characterized in that, The time difference between the first time node and the second time node exceeds the time difference threshold, specifically including: Determine whether the time difference falls within a preset effective time window that conforms to the physiological swallowing conduction mechanism of birds. If not, determine that the time difference exceeds the time difference threshold.
7. The method for remote monitoring of feeding behavior in smart aquaculture based on the Internet according to claim 1, characterized in that, The method further includes: Within a preset statistical period, the number of times the head-down action was not filtered out as invalid feeding events is accumulated to obtain the effective feeding frequency of the target individual; Based on the effective feeding frequency and the preset standard intake parameters for a single feeding, the net food intake data of the target individual is output.
8. An internet-based intelligent aquaculture remote feeding behavior monitoring system, characterized in that: include: The target tracking module is used to acquire the global video stream of the breeding area and track the target at a preset first sampling frequency, extracting the two-dimensional coordinates and movement trajectory of the target individual and its neighboring individuals; The vector calculation module is used to calculate the Euclidean distance and relative movement speed vector between the target individual and the adjacent individuals based on the two-dimensional coordinates and the movement trajectory. The risk assessment module is used to calculate the suppression risk probability exerted by the neighboring individual on the target individual based on the Euclidean distance and the relative movement speed vector. The suppression risk probability is negatively correlated with the Euclidean distance and positively correlated with the velocity component pointing to the target individual in the relative movement speed vector. The sampling control module is used to extract the head and neck region of the target individual as the region of interest when the suppression risk probability is greater than a preset risk threshold, and to increase the video sampling frequency of the region of interest to a second sampling frequency. The feature extraction module is used to extract, at the second sampling frequency, the first time point at which the target individual performs a head-down action in the region of interest, and visual verification features for verifying the effectiveness of eating; The time series analysis module is used to perform time series analysis on the visual verification features within a preset time window based on the first time node, generate a confidence curve, and extract the second time node where the peak of the confidence curve is located. The event filtering module is used to filter out the head-down action as an invalid eating event when the time difference between the first time node and the second time node exceeds the time difference threshold, or when the peak value is lower than the effective threshold.
9. An electronic device comprising a memory and a processor, characterized in that: The memory is used to store computer-executable instructions, and the processor is used to execute the computer-executable instructions, which, when executed by the processor, implement the steps of the method as described in any one of claims 1 to 7.
10. A computer-readable storage medium having computer-executable instructions stored thereon, characterized in that: When the computer-executable instructions are executed by a processor, they implement the steps of the method as described in any one of claims 1 to 7.
