CN118570741B - A method for intelligent control and monitoring of farm density - Google Patents
A method for intelligent control and monitoring of farm density Download PDFInfo
- Publication number
- CN118570741B CN118570741B CN202411059616.6A CN202411059616A CN118570741B CN 118570741 B CN118570741 B CN 118570741B CN 202411059616 A CN202411059616 A CN 202411059616A CN 118570741 B CN118570741 B CN 118570741B
- Authority
- CN
- China
- Prior art keywords
- identification
- control
- compensation
- area
- farm
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000012544 monitoring process Methods 0.000 title claims abstract description 88
- 238000000034 method Methods 0.000 title claims abstract description 47
- 238000012545 processing Methods 0.000 claims abstract description 72
- 241001465754 Metazoa Species 0.000 claims abstract description 23
- 238000004458 analytical method Methods 0.000 claims abstract description 19
- 230000001360 synchronised effect Effects 0.000 claims abstract description 12
- 238000007781 pre-processing Methods 0.000 claims abstract description 7
- 230000005855 radiation Effects 0.000 claims description 36
- 238000010586 diagram Methods 0.000 claims description 19
- 230000015654 memory Effects 0.000 claims description 17
- 238000013527 convolutional neural network Methods 0.000 claims description 15
- 238000012954 risk control Methods 0.000 claims description 14
- 230000006870 function Effects 0.000 claims description 12
- 239000013598 vector Substances 0.000 claims description 12
- 238000004590 computer program Methods 0.000 claims description 11
- 238000003708 edge detection Methods 0.000 claims description 6
- 238000001914 filtration Methods 0.000 claims description 6
- 239000000203 mixture Substances 0.000 claims description 3
- 238000010606 normalization Methods 0.000 claims description 3
- 230000008569 process Effects 0.000 claims description 3
- 238000005260 corrosion Methods 0.000 claims 1
- 230000007797 corrosion Effects 0.000 claims 1
- 238000005516 engineering process Methods 0.000 abstract description 14
- 238000007726 management method Methods 0.000 abstract description 5
- 230000003542 behavioural effect Effects 0.000 abstract description 3
- 238000003975 animal breeding Methods 0.000 abstract description 2
- 230000036541 health Effects 0.000 abstract description 2
- 238000001514 detection method Methods 0.000 description 4
- 230000001105 regulatory effect Effects 0.000 description 4
- 230000000694 effects Effects 0.000 description 3
- 241000287828 Gallus gallus Species 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 2
- 235000013330 chicken meat Nutrition 0.000 description 2
- 230000001186 cumulative effect Effects 0.000 description 2
- 238000013500 data storage Methods 0.000 description 2
- 238000009499 grossing Methods 0.000 description 2
- 238000010191 image analysis Methods 0.000 description 2
- 244000144972 livestock Species 0.000 description 2
- 230000008447 perception Effects 0.000 description 2
- 229920001690 polydopamine Polymers 0.000 description 2
- 241000272517 Anseriformes Species 0.000 description 1
- 241000283690 Bos taurus Species 0.000 description 1
- 101001121408 Homo sapiens L-amino-acid oxidase Proteins 0.000 description 1
- 102100026388 L-amino-acid oxidase Human genes 0.000 description 1
- 241001494479 Pecora Species 0.000 description 1
- 101100012902 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) FIG2 gene Proteins 0.000 description 1
- 241000282887 Suidae Species 0.000 description 1
- 238000003491 array Methods 0.000 description 1
- 230000036760 body temperature Effects 0.000 description 1
- 238000009395 breeding Methods 0.000 description 1
- 230000001488 breeding effect Effects 0.000 description 1
- 238000013480 data collection Methods 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 230000001419 dependent effect Effects 0.000 description 1
- 201000010099 disease Diseases 0.000 description 1
- 208000037265 diseases, disorders, signs and symptoms Diseases 0.000 description 1
- 239000006185 dispersion Substances 0.000 description 1
- 238000000605 extraction Methods 0.000 description 1
- 238000011002 quantification Methods 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- 241000894007 species Species 0.000 description 1
Landscapes
- Image Processing (AREA)
Abstract
本发明属于智能农业和动物养殖技术领域,提出了一种养殖场密度的智能调控监测方法,具体为:在半开放养殖场内布置红外检测仪;通过红外检测仪进行数据采集获得红外图像,对红外图像进行预处理获得处理图;根据实时得到的处理图进行多图同步分析,形成识别调控风险;结合所得识别调控风险调控监测。对大型养殖场环境下的行为模式所具有多样性的情况进行智能调控,对此类多样性引起的红外技术的调控监测方法而出现个体识别率不足的风引起险进行有效量化,从而能够准确的标记出识别率风险在坍缩特征的时间点,因此能够提高养殖场密度分析方法形成的密度监测结果的准确性,进而提升养殖场的管理效率并提升养殖场的动物的健康水平。
The present invention belongs to the field of intelligent agriculture and animal breeding technology, and proposes an intelligent control and monitoring method for farm density, which is specifically: arranging an infrared detector in a semi-open farm; acquiring an infrared image through data acquisition by the infrared detector, and preprocessing the infrared image to obtain a processing map; performing multi-image synchronous analysis based on the real-time processing map to form an identification and control risk; and combining the obtained identification and control risk to control and monitor. Intelligent control is performed on the diversity of behavioral patterns in large-scale farm environments, and the risk of insufficient individual recognition rate caused by the infrared technology control and monitoring method caused by such diversity is effectively quantified, so that the recognition rate risk can be accurately marked at the time point of the collapse feature, thereby improving the accuracy of the density monitoring results formed by the farm density analysis method, thereby improving the management efficiency of the farm and improving the health level of the animals in the farm.
Description
技术领域Technical Field
本发明属于智能农业和动物养殖技术领域,具体涉及一种养殖场密度的智能调控监测方法。The present invention belongs to the technical field of intelligent agriculture and animal breeding, and specifically relates to an intelligent control and monitoring method for breeding farm density.
背景技术Background Art
目前,许多半开放养殖场规模庞大,养殖的牲畜数量众多,面临着密度管理方面的问题;而养殖场的密度管理对畜牧环境中的疾病控制和动物福利有关键性作用。养殖场管理者可以通过利用养殖场密度智能调控监,以实现对养殖场密度的精准监测和调控。在当今半开放养殖场的环境下进行的密度监测手段普遍采用基于RFID技术的调控监测方法,但RFID技术在密度监测和调控中存在一定的局限性,包括读取距离受限、数据干扰和标签耗损等问题。相比之下,基于红外检测技术的养殖场密度分析方法克服了上述RFID技术的局限性,使其在养殖场密度监测方向更加具有应用前景。另外,红外技术的成本相对较低,且不需要大量的设备和基础设施支持,因而在技术成本和实际运营需求方面具有一定优势。At present, many semi-open farms are large in scale and raise a large number of livestock, facing the problem of density management; and the density management of farms plays a key role in disease control and animal welfare in the livestock environment. Farm managers can use the intelligent control and monitoring of farm density to achieve accurate monitoring and control of farm density. The density monitoring method carried out in the environment of semi-open farms today generally adopts the control and monitoring method based on RFID technology, but RFID technology has certain limitations in density monitoring and control, including limited reading distance, data interference and tag loss. In contrast, the farm density analysis method based on infrared detection technology overcomes the limitations of the above-mentioned RFID technology, making it more promising in the direction of farm density monitoring. In addition, the cost of infrared technology is relatively low, and it does not require a lot of equipment and infrastructure support, so it has certain advantages in terms of technical cost and actual operation needs.
然而在半开放养殖场环境下,即使是相同物种的动物所表现出的行为模式依然具有多样性,这种多样性会使得基于红外检测技术的养殖场密度分析方法对个体识别率下降,而个体识别率下降是因为通常情况下工作的红外检测仪器是被默认指定,使得数据采集时仪器布置的角度被限制,容易引起角度限制导致被高度依赖的红外数据存在个体重叠和温差表现不足的情景;同时养殖场的密度算法与个体识别有密不可分的关系,因此最终使得密度算法的准确性不足。However, in a semi-open farm environment, even animals of the same species still exhibit diverse behavioral patterns. This diversity will reduce the individual recognition rate of the farm density analysis method based on infrared detection technology. The reduction in individual recognition rate is because the infrared detection instruments that usually work are specified by default, which limits the angle of instrument layout during data collection. This can easily cause angle limitations, resulting in individual overlap and insufficient temperature difference representation in the highly dependent infrared data. At the same time, the density algorithm of the farm is closely related to individual recognition, which ultimately makes the density algorithm less accurate.
因此亟需一种技术实现对动物的多位动态监测。尤其是当动物集群、环境温度与动物体温接近时,使用传统监测策略,可能会导致监测结果与现实有偏差。因此,在实际应用中,基于红外技术的监测策略仍需要进一步完善和优化,需要智能动态监测以确保对养殖场动物密度的准确监测和调控。Therefore, a technology is urgently needed to achieve multi-position dynamic monitoring of animals. Especially when animals are clustered, the ambient temperature is close to the animal body temperature, the use of traditional monitoring strategies may lead to deviations between the monitoring results and reality. Therefore, in practical applications, the monitoring strategy based on infrared technology still needs to be further improved and optimized, and intelligent dynamic monitoring is needed to ensure accurate monitoring and regulation of animal density in farms.
发明内容Summary of the invention
本发明的目的在于提出一种养殖场密度的智能调控监测方法,以解决现有技术中所存在的一个或多个技术问题,至少提供一种有益的选择或创造条件。The purpose of the present invention is to propose an intelligent control and monitoring method for farm density to solve one or more technical problems existing in the prior art and at least provide a beneficial option or create conditions.
为了实现上述目的,根据本发明的一方面,提供一种养殖场密度的智能调控监测方法,所述方法包括以下步骤:In order to achieve the above object, according to one aspect of the present invention, a method for intelligent control and monitoring of farm density is provided, the method comprising the following steps:
S100,在半开放养殖场内布置红外检测仪;S100, deploy infrared detectors in semi-open farms;
S200,通过红外检测仪进行数据采集获得红外图像,对红外图像进行预处理获得处理图;S200, acquiring an infrared image by collecting data through an infrared detector, and preprocessing the infrared image to obtain a processed image;
S300,根据实时得到的处理图进行多图同步分析,形成识别调控风险;S300, performing multi-image synchronous analysis based on the real-time processed images to identify and control risks;
S400,结合所得识别调控风险调控监测。S400, combined with the obtained identification, regulates risk and regulates monitoring.
进一步地,在步骤S100中,在半开放养殖场内布置红外检测仪的方法是:半开放养殖场的形状为正多边形,在半开放养殖场的边界处标记各个拐角位置为监控布置点,在各个监控布置点分别布置红外检测仪;红外检测仪为近红外摄像机或多光谱相机;Further, in step S100, the method for arranging infrared detectors in the semi-open farm is: the shape of the semi-open farm is a regular polygon, each corner position is marked as a monitoring arrangement point at the boundary of the semi-open farm, and an infrared detector is arranged at each monitoring arrangement point; the infrared detector is a near-infrared camera or a multi-spectral camera;
或者,当半开放养殖场不为正多边形的情形,则预设监控布置点的数量为NOSC,其中NOSC≥4,并沿半开放养殖场的边界等距离或者均匀地标记NOSC个位置作为监控布置点。Alternatively, when the semi-open farm is not a regular polygon, the preset number of monitoring layout points is NOSC, where NOSC≥4, and NOSC positions are equidistantly or evenly marked along the boundary of the semi-open farm as monitoring layout points.
通过上述红外检测仪的布置,以保证检测仪能够准确监测目标并输出可靠数据。其中等距离或者均匀地标记指的是以养殖场的边界的周长与NOSC相除作为布置间隔,并在养殖场的边界上每隔一段布置间隔选取一个位置作为监控布置点。The above-mentioned infrared detectors are arranged to ensure that the detectors can accurately monitor the target and output reliable data. Equal distance or uniform marking means that the perimeter of the farm boundary divided by NOSC is used as the arrangement interval, and a position is selected as a monitoring arrangement point at every interval on the farm boundary.
其中半开放养殖场中饲养的动物为鸡、鸭、猪、牛或者羊等动物;The animals raised in semi-open farms are chickens, ducks, pigs, cattle or sheep;
进一步地,在步骤S200中,通过红外检测仪进行数据采集获得红外图像,对红外图像进行预处理获得处理图的方法是:用红外检测仪对半开放养殖场进行数据采集,并获得红外图像;对红外图像进行灰度化处理,通过中值滤波或高斯滤波对红外图像去除噪声,使用边缘检测算法对红外图像进行区域划分形成处理图,划分的各个区域作为子识别区,通过预训练CNN卷积神经网络模型将处理图中动物出现的子识别区标记为识别区;其中边缘检测算法采用Sobel算子或Canny算子;预设一个时间段作为图样采集间隔TG,TG∈[1,30]秒;每隔TG获取一次处理图。Further, in step S200, an infrared image is obtained by data acquisition through an infrared detector, and a method for preprocessing the infrared image to obtain a processing graph is as follows: using an infrared detector to collect data from a semi-open farm and obtain an infrared image; graying the infrared image, removing noise from the infrared image through median filtering or Gaussian filtering, using an edge detection algorithm to divide the infrared image into regions to form a processing graph, and each divided region is used as a sub-identification area, and the sub-identification area where the animal appears in the processing graph is marked as an identification area through a pre-trained CNN convolutional neural network model; wherein the edge detection algorithm uses a Sobel operator or a Canny operator; a time period is preset as a pattern acquisition interval TG, TG∈[1,30] seconds; and a processing graph is obtained every TG.
进一步地,在步骤S300中,根据实时得到的处理图进行多图同步分析,形成识别调控风险的方法是:对于任一处理图,获取该处理图内所有像素点的灰度值的上四分位值记为TQG,处理图中灰度值大于TQG的像素记作控险点;识别区内的像素点记作识别点,若识别点的数量大于控险点的数量,则将该处理图记作强控处理图,否则为弱控处理图;当一个像素点同时被记作识别点和控险点则定义该像素为高位识别点;Further, in step S300, a multi-image synchronous analysis is performed based on the real-time processed image to form a method for identifying and regulating risks: for any processed image, the upper quartile value of the grayscale value of all pixels in the processed image is obtained and recorded as TQG, and the pixels in the processed image with a grayscale value greater than TQG are recorded as risk control points; the pixels in the identification area are recorded as identification points, and if the number of identification points is greater than the number of risk control points, the processed image is recorded as a strong control processed image, otherwise it is a weak control processed image; when a pixel is recorded as an identification point and a risk control point at the same time, the pixel is defined as a high-position identification point;
在强控处理图内的任一识别区作为控偿识别区;在弱控处理图中,当一个像素点属于控险点且不属于识别点,则定义其为控偿点;对弱控处理图内的任一识别区,基于识别点对控偿点进行区域腐蚀:若识别点的八邻域内存在控偿点,则将这些控偿点合并进该识别区,并将这些被合并的控偿点记作该识别区的识别界点,以各个识别界点作为起点,若识别界点的八邻域内存在控偿点,则将这些控偿点合并进该识别区并记作新的识别界点直至识别界点的八邻域内不存在控偿点,将最终得到的区域记作控偿识别区;Any identification area in the strong control processing map is used as a control compensation identification area; in the weak control processing map, when a pixel point belongs to a risk control point and does not belong to an identification point, it is defined as a control compensation point; for any identification area in the weak control processing map, the control compensation point is regionally eroded based on the identification point: if there are control compensation points in the eight neighborhoods of the identification point, these control compensation points are merged into the identification area, and these merged control compensation points are recorded as the identification boundary points of the identification area, and each identification boundary point is used as the starting point. If there are control compensation points in the eight neighborhoods of the identification boundary point, these control compensation points are merged into the identification area and recorded as new identification boundary points until there are no control compensation points in the eight neighborhoods of the identification boundary point, and the final area is recorded as the control compensation identification area;
在任一控偿识别区内,将灰度值最大的控偿点与对应控偿识别区内灰度值最大的控险点之间的距离记作第一控偿半径,将灰度值最小的控偿点与对应控偿识别区内灰度值最大的控险点之间的距离记作第二控偿半径,以第二控偿半径与第一控偿半径的比值作为对应控偿识别区的控偿指标CTmpX;In any compensation identification area, the distance between the compensation point with the largest gray value and the risk control point with the largest gray value in the corresponding compensation identification area is recorded as the first compensation radius, and the distance between the compensation point with the smallest gray value and the risk control point with the largest gray value in the corresponding compensation identification area is recorded as the second compensation radius. The ratio of the second compensation radius to the first compensation radius is used as the compensation index CTmpX of the corresponding compensation identification area.
将控偿识别区内高位识别点的平均值与所有像素的灰度值的平均值的差值记为高位偏移度DRG;被识别为控偿识别区的像素占处理图像素总量的百分比值记为控偿比Rsth,预设一个观测时段记为SC_Time, SC_Time∈[1,2]小时;当前SC_Time时段内控偿比的平均值记为Rsth.AVG,通过控偿指标计算处理图的识别调控风险RCFN:The difference between the average value of the high-level identification point in the control and compensation identification area and the average value of the grayscale values of all pixels is recorded as the high-level deviation DRG; the percentage of pixels identified as the control and compensation identification area to the total number of pixels in the processing image is recorded as the control and compensation ratio Rsth, and a preset observation period is recorded as SC_Time, SC_Time∈[1,2] hours; the average value of the control and compensation ratio in the current SC_Time period is recorded as Rsth.AVG, and the identification and control risk RCFN of the processing image is calculated by the control and compensation index:
; ;
其中,trimmean{}为切尾平均值函数,j1为控偿识别区的序号,CTmpXj1为控偿识别区的控偿指标,CTmpX.MI代表各个控偿识别区对应控偿指标中的最小值;Among them, trimmean{} is the trimmed mean function, j1 is the serial number of the control compensation identification area, CTmpX j1 is the control compensation index of the control compensation identification area, and CTmpX.MI represents the minimum value of the corresponding control compensation index of each control compensation identification area;
由于识别调控风险是根据分析处理图中识别区的灰度值量化得到,有效将多样性引起的红外技术的调控监测方法而出现个体识别率不足的风引起险进行有效量化,然而当识别区在处理图中分散程度较高并且灰度值普遍较低的情况下,利用上述方法计算获得的识别调控风险可能会出现量化不足的情况,这是因为个体识别率依赖于识别区内的灰度特征提取,从而对弱控处理图的分析方法精确性并不友好,导致计算获得的识别调控风险存在缺陷,而目前尚未存在可行的技术来增强分散程度较高并且灰度值普遍较低的情况下的量化效果,为消除这种分析风险的影响,本发明提出了一个更优选的方案:Since the identification and control risk is quantified based on the grayscale value of the identification area in the analysis and processing diagram, the risk of insufficient individual recognition rate caused by the infrared technology control monitoring method caused by diversity is effectively quantified. However, when the identification area is highly dispersed in the processing diagram and the grayscale value is generally low, the identification and control risk calculated by the above method may be insufficiently quantified. This is because the individual recognition rate depends on the grayscale feature extraction in the identification area, which is not friendly to the accuracy of the analysis method of the weak control processing diagram, resulting in defects in the calculated identification and control risk. At present, there is no feasible technology to enhance the quantification effect when the dispersion is high and the grayscale value is generally low. In order to eliminate the influence of this analysis risk, the present invention proposes a more preferred solution:
优选地,在步骤S300中,根据实时得到的处理图进行多图同步分析,形成识别调控风险的方法是:预设一个观测时段记为SC_Time,SC_Time∈[1,2]小时;获取SC_Time时段内各个处理图内识别区的数量,将识别区数量相同的全部处理图分类成为一组,任一组处理图的识别区数量记为KI,将其对应组记为KI型分布组;处理图中识别区的像素数量与非识别区的像素数量的比值记为识别比例IRT;Preferably, in step S300, a method for identifying and regulating risks is formed by performing synchronous analysis of multiple images based on the processing images obtained in real time: presetting an observation period as SC_Time, SC_Time∈[1,2] hours; obtaining the number of identification areas in each processing image within the SC_Time period, classifying all processing images with the same number of identification areas into a group, and recording the number of identification areas of any group of processing images as KI, and recording the corresponding group as a KI type distribution group; recording the ratio of the number of pixels in the identification area to the number of pixels in the non-identification area in the processing image as the identification ratio IRT;
分别将识别区的像素点数量以及全部像素点灰度值的平均数分别记为第一要素和第二要素EGR,由第一要素与第二要素构成二元组并记为要素向量,同一处理图下的要素向量构成的集合记作要素向量集;通过polyfit函数计算要素向量集的斜率值PF_k;KI型分布组下各个PF_k中的最小值作为要素指标DtmNX(KI);通过要素指标计算KI型分布组的拟测系数FTT_RXKI:FTT_RXKI=ME.IRTKI(1+e-DtmNX(KI));其中ME.IRTKI代表KI型分布组下各个识别比例的平均值;The number of pixels in the recognition area and the average of the grayscale values of all pixels are recorded as the first element and the second element EGR respectively. The first element and the second element form a binary group and are recorded as an element vector. The set of element vectors under the same processing diagram is recorded as an element vector set. The slope value PF_k of the element vector set is calculated by the polyfit function. The minimum value of each PF_k under the KI type distribution group is used as the element index DtmNX(KI). The simulated coefficient FTT_RX KI of the KI type distribution group is calculated by the element index: FTT_RX KI = ME.IRT KI (1 + e -DtmNX(KI) ); where ME.IRT KI represents the average value of each recognition ratio under the KI type distribution group.
获取处理图中各个识别区内的中点作为识别原点;预设邻域系数kr,kr∈[5,10];将任一识别区作为当前识别区,定义当前识别区与其欧氏距离最小的kr个识别区作为邻识别区,该识别区与各个邻识别区的原点相连得到的线段记为Lsr;The midpoint of each recognition area in the processing graph is obtained as the recognition origin; the neighborhood coefficient kr is preset, kr∈[5,10]; any recognition area is taken as the current recognition area, and the kr recognition areas with the smallest Euclidean distance between the current recognition area and the neighboring recognition areas are defined as neighboring recognition areas, and the line segment obtained by connecting the origin of the recognition area and each neighboring recognition area is recorded as Lsr;
以线段Lsr为直径作圆,该圆形区域为线段Lsr对应的辐控区,辐控区的像素灰度值的平均值记为SCGR;当前识别区任意两个辐控区发生交集,则定义发生交集的区域发生一次辐控交集;获取发生辐控交集次数最多的区域作为最适设控区;将最适设控区内各个像素点灰度值的平均值与当前识别区的第二要素的比值记作其当前识别区的子辐控梯度;Draw a circle with the line segment Lsr as the diameter. The circular area is the radiation control area corresponding to the line segment Lsr. The average value of the pixel grayscale value in the radiation control area is recorded as SCGR. If any two radiation control areas in the current identification area intersect, the area where the intersection occurs is defined as a radiation control intersection. The area with the most radiation control intersections is obtained as the most suitable control area. The ratio of the average value of the grayscale value of each pixel in the most suitable control area to the second element of the current identification area is recorded as the sub-radiation control gradient of the current identification area.
记任一辐控区与最适设控区之间像素点数量的比值为Rsize,则辐控区的辐衰指标为当前识别区各个辐控区下的Rsize进行minmax归一化处理所得数值;计算任一辐衰指标与子辐控梯度的均方根值作为辐控梯度量RDGL;根据当前识别区的第二要素计算辐控区的控区权重RdaTL=RDGL×(EGR-SCGR);通过拟测系数计算当前处理图的识别调控风险RCFN:The ratio of the number of pixels between any radiation control area and the optimal control area is Rsize, and the radiation attenuation index of the radiation control area is the value obtained by minmax normalization of Rsize under each radiation control area in the current identification area; the root mean square value of any radiation attenuation index and the sub-radiation control gradient is calculated as the radiation control gradient value RDGL; the control area weight RdaTL=RDGL×(EGR-SCGR) of the radiation control area is calculated according to the second element of the current identification area; the identification and control risk RCFN of the current processing map is calculated by the simulated coefficient:
; ;
其中FTT_RXKI为当前处理图的拟测系数,i1、i2为累加变量,RdaTL(i2)i1为第i2个识别区中的第i1个控区权重,RD(i2)i1为第i2个识别区中第i1个辐控区的半径,VLNi2为第i2个识别区的第一要素,TcfMTKI为KI型分布组下所有处理图所有识别区第一要素的平均值,ln()为自然数e为底数的对数函数。Where FTT_RX KI is the simulated coefficient of the current processing map, i1 and i2 are cumulative variables, RdaTL(i2) i1 is the weight of the i1th control area in the i2th identification area, RD(i2) i1 is the radius of the i1th radiation control area in the i2th identification area, VLN i2 is the first element of the i2th identification area, TcfMT KI is the average of the first elements of all identification areas of all processing maps under the KI type distribution group, and ln() is a logarithmic function with a natural number e as the base.
进一步地,在步骤S400中,结合所得识别调控风险调控监测的方法是:把当前获得的识别调控风险记为RCFN,当只有一个红外检测仪进行密度监测时,以任一时刻及其前k0个时刻的识别调控风险的平均数为识别风险进度kMA,k0为进度系数,其取值范围为k0∈[3,10]个;将每一时刻的识别风险进度进行SES单指数平滑拟合,获得各个时刻对应拟合值FV;设定警报条件为:(RCFN≥FV)&&(RCFN≥kMA),当警报条件的返回值为TRUE则立即发起警报,通知管理员进行调控,并启用所有热检测仪进行密度监测;当所有红外检测仪均被启用时,则调用各个红外检测仪,分别实时获取识别调控风险,设定调控条件为:(RCFN<FV)&&(RCFN<kMA);将首个出现满足调控条件的热检测仪进行密度监测,并关闭其余红外检测仪。Further, in step S400, the method of combining the obtained identification and control risk with the control monitoring is: record the currently obtained identification and control risk as RCFN, when there is only one infrared detector for density monitoring, take the average of the identification and control risks at any moment and its previous k0 moments as the identification risk progress kMA, k0 is the progress coefficient, and its value range is k0∈[3,10]; perform SES single exponential smoothing fitting on the identification risk progress at each moment to obtain the fitting value FV corresponding to each moment; set the alarm condition as: (RCFN≥FV)&&(RCFN≥kMA), when the return value of the alarm condition is TRUE, an alarm is immediately initiated to notify the administrator to perform control, and enable all thermal detectors for density monitoring; when all infrared detectors are enabled, call each infrared detector to obtain the identification and control risks in real time, and set the control condition as: (RCFN<FV)&&(RCFN<kMA); perform density monitoring on the first thermal detector that meets the control condition, and turn off the remaining infrared detectors.
进一步地,红外检测仪进行密度监测的方法是:通过高斯混合模型对红外图像进行动物与背景分离,应用卷积神经网络算法标记动物个体,根据动物个体数量与红外检测仪的监测面积计算养殖场密度;其中卷积神经网络算法包括YOLO或者Faster R-CNN。Furthermore, the method for density monitoring by the infrared detector is: to separate the animals and the background of the infrared image through the Gaussian mixture model, to mark the individual animals using the convolutional neural network algorithm, and to calculate the farm density according to the number of individual animals and the monitoring area of the infrared detector; wherein the convolutional neural network algorithm includes YOLO or Faster R-CNN.
优选地,其中,本发明中所有未定义的变量,若未有明确定义,均可为人工设置的阈值。Preferably, all undefined variables in the present invention, if not clearly defined, can be manually set thresholds.
本发明还提供了一种养殖场密度的智能调控监测系统,所述一种养殖场密度的智能调控监测系统包括:处理器、存储器及存储在所述存储器中并可在所述处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现所述一种养殖场密度的智能调控监测方法中的步骤,所述一种养殖场密度的智能调控监测系统可以运行于桌上型计算机、笔记本电脑、掌上电脑及云端数据中心等计算设备中,可运行的系统可包括,但不仅限于,处理器、存储器、服务器集群,所述处理器执行所述计算机程序运行在以下系统的单元中:The present invention also provides an intelligent control and monitoring system for farm density, the intelligent control and monitoring system for farm density comprising: a processor, a memory, and a computer program stored in the memory and executable on the processor, the processor implementing the steps in the intelligent control and monitoring method for farm density when executing the computer program, the intelligent control and monitoring system for farm density can be run on computing devices such as desktop computers, laptop computers, PDAs, and cloud data centers, the executable system may include, but not limited to, a processor, a memory, and a server cluster, the processor executing the computer program runs in the following system units:
设备布置单元,用于在半开放养殖场内布置红外检测仪;Equipment arrangement unit, used to arrange infrared detectors in semi-open farms;
图像采集处理单元,用于通过红外检测仪进行数据采集获得红外图像,对红外图像进行预处理获得处理图;An image acquisition and processing unit, used to acquire infrared images through data acquisition by an infrared detector, and to pre-process the infrared images to obtain processing images;
图像分析单元,用于根据实时得到的处理图进行多图同步分析,形成识别调控风险;An image analysis unit is used to perform multi-image synchronous analysis based on the processed images obtained in real time to identify and regulate risks;
风险感知单元,用于结合所得识别调控风险调控监测。The risk perception unit is used to combine the obtained identification and regulation risks for monitoring.
本发明的有益效果为:本发明提供一种养殖场密度的智能调控监测方法,对大型养殖场环境下动物所表现出的行为模式所具有多样性的情况进行智能调控监测,对此类多样性引起的红外技术的调控监测方法而出现个体识别率不足的风引起险进行有效量化,从而能够准确的标记出识别率风险在坍缩特征的时间点,因此能够提高基于红外检测技术的养殖场密度分析方法形成的密度监测结果的准确性,进而提升养殖场的管理效率,以保证养殖场的动物的健康水平以及养殖场管理的稳定性。The beneficial effects of the present invention are as follows: the present invention provides an intelligent control and monitoring method for farm density, which performs intelligent control and monitoring on the diversity of behavioral patterns exhibited by animals in a large-scale farm environment, and effectively quantifies the risk of insufficient individual recognition rate caused by the infrared technology control and monitoring method caused by such diversity, thereby being able to accurately mark the time point of the recognition rate risk at the collapse feature, thereby improving the accuracy of the density monitoring results formed by the farm density analysis method based on infrared detection technology, thereby improving the management efficiency of the farm, so as to ensure the health level of the animals in the farm and the stability of the farm management.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
通过对结合附图所示出的实施方式进行详细说明,本发明的上述以及其他特征将更加明显,本发明附图中相同的参考标号表示相同或相似的元素,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图,在附图中:The above and other features of the present invention will become more obvious by describing in detail the embodiments shown in the accompanying drawings. The same reference numerals in the accompanying drawings of the present invention represent the same or similar elements. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other accompanying drawings can be obtained based on these accompanying drawings without creative work. In the accompanying drawings:
图1所示为一种养殖场密度的智能调控监测方法的流程图;FIG1 is a flow chart showing an intelligent control and monitoring method for farm density;
图2所示为一种养殖场密度的智能调控监测系统结构图。FIG. 2 shows a structural diagram of an intelligent control and monitoring system for farm density.
具体实施方式DETAILED DESCRIPTION
以下将结合实施例和附图对本发明的构思、具体结构及产生的技术效果进行清楚、完整的描述,以充分地理解本发明的目的、方案和效果。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。The following will be combined with the embodiments and drawings to clearly and completely describe the concept, specific structure and technical effects of the present invention, so as to fully understand the purpose, scheme and effect of the present invention. It should be noted that the embodiments and features in the embodiments of this application can be combined with each other without conflict.
如图1所示为一种养殖场密度的智能调控监测方法的流程图,下面结合图1来阐述根据本发明的实施方式的一种养殖场密度的智能调控监测方法,所述方法包括以下步骤:FIG. 1 is a flow chart of an intelligent control and monitoring method for farm density. The following describes an intelligent control and monitoring method for farm density according to an embodiment of the present invention in conjunction with FIG. 1 . The method includes the following steps:
S100,在半开放养殖场内布置红外检测仪;S100, deploy infrared detectors in semi-open farms;
S200,通过红外检测仪进行数据采集获得红外图像,对红外图像进行预处理获得处理图;S200, acquiring an infrared image by collecting data through an infrared detector, and preprocessing the infrared image to obtain a processed image;
S300,根据实时得到的处理图进行多图同步分析,形成识别调控风险;S300, performing multi-image synchronous analysis based on the real-time processed images to identify and control risks;
S400,结合所得识别调控风险调控监测。S400, combined with the obtained identification, regulates risk and regulates monitoring.
进一步地,在步骤S100中,在半开放养殖场内布置红外检测仪的方法是:半开放养殖场的形状为正多边形,在半开放养殖场的边界处标记各个拐角位置为监控布置点,半开放养殖场不为正多边形的情形,则预设监控布置点的数量为NOSC,其中NOSC取值为4,并沿半开放养殖场的边界等距离或者均匀地标记NOSC个位置作为监控布置点;红外检测仪采用近红外摄像机。Furthermore, in step S100, the method for arranging infrared detectors in a semi-open farm is: the shape of the semi-open farm is a regular polygon, and each corner position is marked as a monitoring layout point at the boundary of the semi-open farm. If the semi-open farm is not a regular polygon, the number of preset monitoring layout points is NOSC, where the value of NOSC is 4, and NOSC positions are equidistantly or evenly marked along the boundary of the semi-open farm as monitoring layout points; the infrared detector adopts a near-infrared camera.
通过上述红外检测仪的布置,以保证检测仪能够准确监测目标并输出可靠数据。其中等距离或者均匀地标记指的是以养殖场的边界的周长与NOSC相除作为布置间隔,并在养殖场的边界上每隔一段布置间隔选取一个位置作为监控布置点。其中半开放养殖场中饲养的动物为鸡;The above infrared detectors are arranged to ensure that the detectors can accurately monitor the target and output reliable data. Equal distance or uniform marking means that the perimeter of the farm boundary divided by NOSC is used as the layout interval, and a position is selected as a monitoring layout point at every layout interval on the farm boundary. The animals raised in the semi-open farm are chickens;
进一步地,在步骤S200中,通过红外检测仪进行数据采集获得红外图像,对红外图像进行预处理获得处理图的方法是:用红外检测仪对半开放养殖场进行数据采集,并获得红外图像;对红外图像进行灰度化处理,通过中值滤波或高斯滤波对红外图像去除噪声,使用边缘检测算法对红外图像进行区域划分形成处理图,划分的各个区域作为子识别区,通过预训练CNN卷积神经网络模型将处理图中动物出现的子识别区标记为识别区;其中边缘检测算法采用Sobel算子;预设一个时间段作为图样采集间隔TG,取值15秒;每隔TG获取一次处理图。Further, in step S200, an infrared image is obtained by data acquisition through an infrared detector, and a method for preprocessing the infrared image to obtain a processing graph is as follows: data is collected on a semi-open farm by an infrared detector to obtain an infrared image; the infrared image is grayed, noise is removed from the infrared image by median filtering or Gaussian filtering, and the infrared image is divided into regions using an edge detection algorithm to form a processing graph, and each divided region is used as a sub-identification area, and the sub-identification area where the animal appears in the processing graph is marked as an identification area by a pre-trained CNN convolutional neural network model; wherein the edge detection algorithm uses a Sobel operator; a time period is preset as a pattern acquisition interval TG, with a value of 15 seconds; and a processing graph is obtained every TG.
进一步地,在步骤S300中,根据实时得到的处理图进行多图同步分析,形成识别调控风险的方法是:对于任一处理图,获取该处理图内所有像素点的灰度值的上四分位值记为TQG,处理图中灰度值大于TQG的像素记作控险点;识别区内的像素点记作识别点,若识别点的数量大于控险点的数量,则将该处理图记作强控处理图,否则为弱控处理图;当一个像素点同时被记作识别点和控险点则定义该像素为高位识别点;Further, in step S300, a multi-image synchronous analysis is performed based on the real-time processed image to form a method for identifying and regulating risks: for any processed image, the upper quartile value of the grayscale value of all pixels in the processed image is obtained and recorded as TQG, and the pixels in the processed image with a grayscale value greater than TQG are recorded as risk control points; the pixels in the identification area are recorded as identification points, and if the number of identification points is greater than the number of risk control points, the processed image is recorded as a strong control processed image, otherwise it is a weak control processed image; when a pixel is recorded as an identification point and a risk control point at the same time, the pixel is defined as a high-position identification point;
在强控处理图内的任一识别区作为控偿识别区;在弱控处理图中,当一个像素点属于控险点且不属于识别点,则定义其为控偿点;对弱控处理图内的任一识别区,基于识别点对控偿点进行区域腐蚀:若识别点的八邻域内存在控偿点,则将这些控偿点合并进该识别区,并将这些被合并的控偿点记作该识别区的识别界点,以各个识别界点作为起点,若识别界点的八邻域内存在控偿点,则将这些控偿点合并进该识别区并记作新的识别界点直至识别界点的八邻域内不存在控偿点,将最终得到的区域记作控偿识别区;Any identification area in the strong control processing map is used as a control compensation identification area; in the weak control processing map, when a pixel point belongs to a risk control point and does not belong to an identification point, it is defined as a control compensation point; for any identification area in the weak control processing map, the control compensation point is regionally eroded based on the identification point: if there are control compensation points in the eight neighborhoods of the identification point, these control compensation points are merged into the identification area, and these merged control compensation points are recorded as the identification boundary points of the identification area, and each identification boundary point is used as the starting point. If there are control compensation points in the eight neighborhoods of the identification boundary point, these control compensation points are merged into the identification area and recorded as new identification boundary points until there are no control compensation points in the eight neighborhoods of the identification boundary point, and the final area is recorded as the control compensation identification area;
在任一控偿识别区内,将灰度值最大的控偿点与对应控偿识别区内灰度值最大的控险点之间的距离记作第一控偿半径,将灰度值最小的控偿点与对应控偿识别区内灰度值最大的控险点之间的距离记作第二控偿半径,以第二控偿半径与第一控偿半径的比值作为对应控偿识别区的控偿指标CTmpX;In any compensation identification area, the distance between the compensation point with the largest gray value and the risk control point with the largest gray value in the corresponding compensation identification area is recorded as the first compensation radius, and the distance between the compensation point with the smallest gray value and the risk control point with the largest gray value in the corresponding compensation identification area is recorded as the second compensation radius. The ratio of the second compensation radius to the first compensation radius is used as the compensation index CTmpX of the corresponding compensation identification area.
将控偿识别区内高位识别点的平均值与所有像素的灰度值的平均值的差值记为高位偏移度DRG;被识别为控偿识别区的像素占处理图像素总量的百分比值记为控偿比Rsth,预设一个观测时段记为SC_Time,取值1小时;当前SC_Time时段内控偿比的平均值记为Rsth.AVG,通过控偿指标计算处理图的识别调控风险RCFN:The difference between the average value of the high-level identification point in the control compensation identification area and the average value of the grayscale values of all pixels is recorded as the high-level deviation DRG; the percentage of pixels identified as the control compensation identification area to the total number of pixels in the processing image is recorded as the control compensation ratio Rsth, and a preset observation period is recorded as SC_Time, which takes 1 hour; the average value of the control compensation ratio in the current SC_Time period is recorded as Rsth.AVG, and the identification and control risk RCFN of the processing image is calculated by the control compensation index:
; ;
其中,trimmean{}为切尾平均值函数,j1为控偿识别区的序号,CTmpXj1为控偿识别区的控偿指标,CTmpX.MI代表各个控偿识别区对应控偿指标中的最小值;Among them, trimmean{} is the trimmed mean function, j1 is the serial number of the control compensation identification area, CTmpX j1 is the control compensation index of the control compensation identification area, and CTmpX.MI represents the minimum value of the corresponding control compensation index of each control compensation identification area;
优选地,在步骤S300中,根据实时得到的处理图进行多图同步分析,形成识别调控风险的方法是:预设一个观测时段记为SC_Time,取值1小时;获取SC_Time时段内各个处理图内识别区的数量,将识别区数量相同的全部处理图分类成为一组,任一组处理图的识别区数量记为KI,将其对应组记为KI型分布组;处理图中识别区的像素数量与非识别区的像素数量的比值记为识别比例IRT;Preferably, in step S300, a method for identifying and regulating risk is formed by performing synchronous analysis of multiple images based on the processing images obtained in real time: presetting an observation period as SC_Time, with a value of 1 hour; obtaining the number of identification areas in each processing image within the SC_Time period, classifying all processing images with the same number of identification areas into a group, and recording the number of identification areas of any group of processing images as KI, and recording the corresponding group as a KI type distribution group; recording the ratio of the number of pixels in the identification area to the number of pixels in the non-identification area in the processing image as the identification ratio IRT;
分别将识别区的像素点数量以及全部像素点灰度值的平均数分别记为第一要素和第二要素EGR,由第一要素与第二要素构成二元组并记为要素向量,同一处理图下的要素向量构成的集合记作要素向量集;通过polyfit函数计算要素向量集的斜率值PF_k;KI型分布组下各个PF_k中的最小值作为要素指标DtmNX(KI);通过要素指标计算KI型分布组的拟测系数FTT_RXKI:FTT_RXKI=ME.IRTKI(1+e-DtmNX(KI));其中ME.IRTKI代表KI型分布组下各个识别比例的平均值;The number of pixels in the recognition area and the average of the grayscale values of all pixels are recorded as the first element and the second element EGR respectively. The first element and the second element form a binary group and are recorded as an element vector. The set of element vectors under the same processing diagram is recorded as an element vector set. The slope value PF_k of the element vector set is calculated by the polyfit function. The minimum value of each PF_k under the KI type distribution group is used as the element index DtmNX(KI). The simulated coefficient FTT_RX KI of the KI type distribution group is calculated by the element index: FTT_RX KI = ME.IRT KI (1 + e -DtmNX(KI) ); where ME.IRT KI represents the average value of each recognition ratio under the KI type distribution group.
获取处理图中各个识别区内的中点作为识别原点;预设邻域系数kr,取值8;将任一识别区作为当前识别区,定义当前识别区与其欧氏距离最小的kr个识别区作为邻识别区,该识别区与各个邻识别区的原点相连得到的线段记为Lsr;The midpoint of each recognition area in the processing graph is obtained as the recognition origin; the neighborhood coefficient kr is preset to 8; any recognition area is taken as the current recognition area, and the kr recognition areas with the smallest Euclidean distance between the current recognition area and the neighboring recognition areas are defined as neighboring recognition areas, and the line segment obtained by connecting the origin of the recognition area and each neighboring recognition area is recorded as Lsr;
其中识别区之间的欧氏距离指的是通过识别区对应识别原点计算的欧氏距离;The Euclidean distance between the recognition areas refers to the Euclidean distance calculated by the recognition areas corresponding to the recognition origins;
以线段Lsr为直径作圆,该圆形区域为线段Lsr对应的辐控区,辐控区的像素灰度值的平均值记为SCGR;当前识别区任意两个辐控区发生交集,则定义发生交集的区域发生一次辐控交集;获取发生辐控交集次数最多的区域作为最适设控区;将最适设控区内各个像素点灰度值的平均值与当前识别区的第二要素的比值记作其当前识别区的子辐控梯度;Draw a circle with the line segment Lsr as the diameter. The circular area is the radiation control area corresponding to the line segment Lsr. The average value of the pixel grayscale value in the radiation control area is recorded as SCGR. If any two radiation control areas in the current identification area intersect, the area where the intersection occurs is defined as a radiation control intersection. The area with the most radiation control intersections is obtained as the most suitable control area. The ratio of the average value of the grayscale value of each pixel in the most suitable control area to the second element of the current identification area is recorded as the sub-radiation control gradient of the current identification area.
记任一辐控区与最适设控区之间像素点数量的比值为Rsize,则辐控区的辐衰指标为当前识别区各个辐控区下的Rsize进行minmax归一化处理所得数值;计算任一辐衰指标与子辐控梯度的均方根值作为辐控梯度量RDGL;根据当前识别区的第二要素计算辐控区的控区权重RdaTL=RDGL×(EGR-SCGR);通过拟测系数计算当前处理图的识别调控风险RCFN:The ratio of the number of pixels between any radiation control area and the optimal control area is Rsize, and the radiation attenuation index of the radiation control area is the value obtained by minmax normalization of Rsize under each radiation control area in the current identification area; the root mean square value of any radiation attenuation index and the sub-radiation control gradient is calculated as the radiation control gradient value RDGL; the control area weight RdaTL=RDGL×(EGR-SCGR) of the radiation control area is calculated according to the second element of the current identification area; the identification and control risk RCFN of the current processing map is calculated by the simulated coefficient:
; ;
其中FTT_RXKI为当前处理图的拟测系数,i1、i2为累加变量,RdaTL(i2)i1为第i2个识别区中的第i1个控区权重,RD(i2)i1为第i2个识别区中第i1个辐控区的半径,VLNi2为第i2个识别区的第一要素,TcfMTKI为KI型分布组下所有处理图所有识别区第一要素的平均值,ln()为自然数e为底数的对数函数。Where FTT_RX KI is the simulated coefficient of the current processing map, i1 and i2 are cumulative variables, RdaTL(i2) i1 is the weight of the i1th control area in the i2th identification area, RD(i2) i1 is the radius of the i1th radiation control area in the i2th identification area, VLN i2 is the first element of the i2th identification area, TcfMT KI is the average of the first elements of all identification areas of all processing maps under the KI type distribution group, and ln() is a logarithmic function with a natural number e as the base.
当前处理图的拟测系数指的是当前处理图所属KI型分布组对应的拟测系数;The pseudo-measured coefficient of the current processing graph refers to the pseudo-measured coefficient corresponding to the KI-type distribution group to which the current processing graph belongs;
进一步地,在步骤S400中,结合所得识别调控风险调控监测的方法是:把当前获得的识别调控风险记为RCFN,当只有一个红外检测仪进行密度监测时,以任一时刻及其前k0个时刻的识别调控风险的平均数为识别风险进度kMA,k0为进度系数,其取值范围为k0取值5个;将每一时刻的识别风险进度进行SES单指数平滑拟合,获得各个时刻对应拟合值FV;设定警报条件为:(RCFN≥FV)&&(RCFN≥kMA),当警报条件的返回值为TRUE则立即发起警报,通知管理员进行调控,并启用所有热检测仪进行密度监测;当所有红外检测仪均被启用时,则调用各个红外检测仪,分别实时获取识别调控风险,设定调控条件为:(RCFN<FV)&&(RCFN<kMA);将首个出现满足调控条件的热检测仪进行密度监测,并关闭其余红外检测仪。Further, in step S400, the method of combining the obtained identification and control risk with the control monitoring is: record the currently obtained identification and control risk as RCFN, when there is only one infrared detector for density monitoring, take the average of the identification and control risks at any moment and the previous k0 moments as the identification risk progress kMA, k0 is the progress coefficient, and its value range is 5 for k0; perform SES single exponential smoothing fitting on the identification risk progress at each moment to obtain the fitting value FV corresponding to each moment; set the alarm condition as: (RCFN≥FV)&&(RCFN≥kMA), when the return value of the alarm condition is TRUE, immediately initiate an alarm, notify the administrator to perform control, and enable all thermal detectors for density monitoring; when all infrared detectors are enabled, call each infrared detector to obtain the identification and control risks in real time, and set the control condition as: (RCFN<FV)&&(RCFN<kMA); perform density monitoring on the first thermal detector that meets the control conditions, and turn off the remaining infrared detectors.
进一步地,红外检测仪进行密度监测的方法是:通过高斯混合模型对红外图像进行动物与背景分离,应用卷积神经网络算法标记动物个体,根据动物个体数量与红外检测仪的监测面积计算养殖场密度;其中卷积神经网络算法采用Faster R-CNN。Furthermore, the method for density monitoring using the infrared detector is: to separate the animals from the background of the infrared image through a Gaussian mixture model, to mark individual animals using a convolutional neural network algorithm, and to calculate the density of the farm based on the number of individual animals and the monitoring area of the infrared detector; wherein the convolutional neural network algorithm uses Faster R-CNN.
本发明的实施例提供的一种养殖场密度的智能调控监测系统,如图2所示为本发明的一种养殖场密度的智能调控监测系统结构图,该实施例的一种养殖场密度的智能调控监测系统包括:处理器、存储器以及存储在所述存储器中并可在所述处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现上述一种养殖场密度的智能调控监测方法实施例中的步骤。An embodiment of the present invention provides an intelligent control and monitoring system for farm density. FIG2 is a structural diagram of an intelligent control and monitoring system for farm density of the present invention. The intelligent control and monitoring system for farm density of this embodiment includes: a processor, a memory, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the steps in the above-mentioned embodiment of an intelligent control and monitoring method for farm density are implemented.
所述系统包括:存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机程序,所述处理器执行所述计算机程序运行在以下系统的单元中:The system comprises: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to run in the following units of the system:
设备布置单元,用于在半开放养殖场内布置红外检测仪;Equipment arrangement unit, used to arrange infrared detectors in semi-open farms;
图像采集处理单元,用于通过红外检测仪进行数据采集获得红外图像,对红外图像进行预处理获得处理图;An image acquisition and processing unit, used to acquire infrared images through data acquisition by an infrared detector, and to pre-process the infrared images to obtain processing images;
图像分析单元,用于根据实时得到的处理图进行多图同步分析,形成识别调控风险;An image analysis unit is used to perform multi-image synchronous analysis based on the processed images obtained in real time to identify and regulate risks;
风险感知单元,用于结合所得识别调控风险调控监测。The risk perception unit is used to combine the obtained identification and regulation risks for monitoring.
所述一种养殖场密度的智能调控监测系统可以运行于桌上型计算机、笔记本电脑、掌上电脑及云端服务器等计算设备中。所述一种养殖场密度的智能调控监测系统,可运行的系统可包括,但不仅限于,处理器、存储器。本领域技术人员可以理解,所述例子仅仅是一种养殖场密度的智能调控监测系统的示例,并不构成对一种养殖场密度的智能调控监测系统的限定,可以包括比例子更多或更少的部件,或者组合某些部件,或者不同的部件,例如所述一种养殖场密度的智能调控监测系统还可以包括输入输出设备、网络接入设备、总线等。The intelligent control and monitoring system for farm density can be run on computing devices such as desktop computers, laptops, PDAs, and cloud servers. The intelligent control and monitoring system for farm density can include, but is not limited to, processors and memories. Those skilled in the art will appreciate that the example is merely an example of an intelligent control and monitoring system for farm density, and does not constitute a limitation on an intelligent control and monitoring system for farm density. It can include more or fewer components than the example, or a combination of certain components, or different components. For example, the intelligent control and monitoring system for farm density can also include input and output devices, network access devices, buses, etc.
所称处理器可以是中央处理单元(Central Processing Unit,CPU),还可以是其他通用处理器、数字信号处理器 (Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现场可编程门阵列 (Field-Programmable Gate Array,FPGA) 或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等,所述处理器是所述一种养殖场密度的智能调控监测系统运行系统的控制中心,利用各种接口和线路连接整个一种养殖场密度的智能调控监测系统可运行系统的各个部分。The processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or any conventional processor, etc. The processor is the control center of the operation system of the intelligent control and monitoring system for the density of a farm, and uses various interfaces and lines to connect the various parts of the entire intelligent control and monitoring system for the density of a farm.
所述存储器可用于存储所述计算机程序和/或模块,所述处理器通过运行或执行存储在所述存储器内的计算机程序和/或模块,以及调用存储在存储器内的数据,实现所述一种养殖场密度的智能调控监测系统的各种功能。所述存储器可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器可以包括高速随机存取存储器,还可以包括非易失性存储器,例如硬盘、内存、插接式硬盘,智能存储卡(Smart Media Card, SMC),安全数字(SecureDigital, SD)卡,闪存卡(Flash Card)、至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory can be used to store the computer program and/or module, and the processor realizes various functions of the intelligent control and monitoring system of farm density by running or executing the computer program and/or module stored in the memory and calling the data stored in the memory. The memory can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area can store data created according to the use of the mobile phone (such as audio data, a phone book, etc.), etc. In addition, the memory can include a high-speed random access memory, and can also include a non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (SecureDigital, SD) card, a flash card (Flash Card), at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.
尽管本发明的描述已经相当详尽且特别对几个所述实施例进行了描述,但其并非旨在局限于任何这些细节或实施例或任何特殊实施例,从而有效地涵盖本发明的预定范围。此外,上文以发明人可预见的实施例对本发明进行描述,其目的是为了提供有用的描述,而那些目前尚未预见的对本发明的非实质性改动仍可代表本发明的等效改动。Although the description of the present invention has been quite detailed and has been described in particular with respect to several described embodiments, it is not intended to be limited to any of these details or embodiments or any particular embodiment, so as to effectively cover the intended scope of the present invention. In addition, the present invention is described above with the embodiments foreseeable by the inventors, and its purpose is to provide a useful description, and those non-substantial changes to the present invention that are not currently foreseen may still represent equivalent changes of the present invention.
Claims (7)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202411059616.6A CN118570741B (en) | 2024-08-05 | 2024-08-05 | A method for intelligent control and monitoring of farm density |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202411059616.6A CN118570741B (en) | 2024-08-05 | 2024-08-05 | A method for intelligent control and monitoring of farm density |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN118570741A CN118570741A (en) | 2024-08-30 |
| CN118570741B true CN118570741B (en) | 2024-11-01 |
Family
ID=92469752
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202411059616.6A Active CN118570741B (en) | 2024-08-05 | 2024-08-05 | A method for intelligent control and monitoring of farm density |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN118570741B (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN118915472B (en) * | 2024-10-10 | 2024-12-13 | 广东省农业科学院动物科学研究所 | An adaptive control method for intelligent inspection model of large-scale chicken farms |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN115171218A (en) * | 2022-07-29 | 2022-10-11 | 国网山西省电力公司物资分公司 | Material sample feeding abnormal behavior recognition system based on image recognition technology |
| KR20230007845A (en) * | 2021-07-06 | 2023-01-13 | 주식회사 인포벨리코리아 | Control and management System for biosecurity of livestock farms based on deep learning image preocessing technology |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US8755570B2 (en) * | 2011-04-27 | 2014-06-17 | Steve Gomas | Apparatus and method for estimation of livestock weight |
| CN116403245B (en) * | 2023-06-07 | 2023-08-11 | 广东省农业科学院动物科学研究所 | A method and system for analyzing poultry breeding data |
-
2024
- 2024-08-05 CN CN202411059616.6A patent/CN118570741B/en active Active
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR20230007845A (en) * | 2021-07-06 | 2023-01-13 | 주식회사 인포벨리코리아 | Control and management System for biosecurity of livestock farms based on deep learning image preocessing technology |
| CN115171218A (en) * | 2022-07-29 | 2022-10-11 | 国网山西省电力公司物资分公司 | Material sample feeding abnormal behavior recognition system based on image recognition technology |
Also Published As
| Publication number | Publication date |
|---|---|
| CN118570741A (en) | 2024-08-30 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN106815481B (en) | Lifetime prediction method and device based on image omics | |
| CN110889826B (en) | Eye OCT image focus region segmentation method, device and terminal equipment | |
| Hsu et al. | Chronic wound assessment and infection detection method | |
| CN110009600A (en) | Medical image region filtering method and device and storage medium | |
| CN114092450B (en) | Real-time image segmentation method, system and device based on gastroscopy video | |
| Hu et al. | Automatic segmentation of dermoscopy images using saliency combined with adaptive thresholding based on wavelet transform | |
| Zhang et al. | Research on sheep face recognition algorithm based on improved AlexNet model | |
| CN118570741B (en) | A method for intelligent control and monitoring of farm density | |
| CN112308846A (en) | Blood vessel segmentation method and device and electronic equipment | |
| CN111667474A (en) | Fracture identification method, apparatus, device and computer readable storage medium | |
| CN118298467B (en) | Intelligent recognition method and system for individual anomalies of breeding hens based on machine vision | |
| Jia et al. | A parametric optimization oriented, AFSA based random forest algorithm: application to the detection of cervical epithelial cells | |
| CN107481224A (en) | Method for registering images and device, storage medium and equipment based on structure of mitochondria | |
| CN117462242A (en) | A dermatology intelligent laser freckle removal control system | |
| CN114550059A (en) | Method, device and equipment for identifying health condition of chicken and storage medium | |
| US20190147629A1 (en) | Focus detection apparatus and method thereof | |
| Lin et al. | A framework for single-panicle litchi flower counting by regression with multitask learning | |
| CN110634118A (en) | Artificial intelligence-based mammary gland image recognition system and method | |
| Zurnawita et al. | A review of Image Processing Technique for Monitoring The Growth and Health of Cows | |
| CN116403245B (en) | A method and system for analyzing poultry breeding data | |
| CN118557157B (en) | Non-contact blood supply monitoring system | |
| CN114399501A (en) | Deep learning convolutional neural network-based method for automatically segmenting prostate whole gland | |
| Shunmuga Priya et al. | Enhanced skin disease image analysis using hybrid CLAHE-median filter and salient k-means cluster | |
| CN117830656A (en) | A method, system, device and medium for analyzing thyroid ultrasound regional characteristics based on echo intensity and texture information | |
| Siricharoen et al. | Automated wheat disease classification under controlled and uncontrolled image acquisition |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |