Pig farm manure treatment method and system based on image analysis

Through image analysis technology, the problem of difficult prediction of the deterioration time of manure and environmental data in pig farms is solved, and accurate prediction and efficient treatment of the deterioration time of manure is achieved, thereby reducing environmental and health risks.

CN119229143APending Publication Date: 2024-12-31MIANYANG ZIXING FOOD TECH CO LTD

Patent Information

Application Number
CN202411738860.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-29
Publication Date
2024-12-31

AI Technical Summary

Technical Problem

The existing technology cannot effectively analyze historical changes in pig farm manure storage process, resulting in the inability to accurately estimate the time of manure deterioration, affecting the environment and health and safety.

Method used

Through image analysis methods, we obtain pig farm feces image change data and environmental change data, and conduct abnormal analysis to predict the feces spoil time, including cameras to obtain feces images, gas data and environmental data, and calculate outliers and abnormal analysis to Determine the spoilage time.

Benefits of technology

It improves the ability to accurately estimate the spoilage time of manure, promotes efficient treatment, and reduces environmental pollution and health risks.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119229143A_ABST
    Figure CN119229143A_ABST
Patent Text Reader

Abstract

The invention discloses a pig farm manure processing method and system based on image analysis, and belongs to the field of image analysis. Acquired environment change data in a pig farm is imported into an environment change abnormity analysis strategy for environment change abnormity analysis; the method comprises the following steps: acquiring a pig farm manure change abnormity analysis result and an environment change abnormity analysis result to predict the manure deterioration time, analyzing the abnormal change in a storage process through historical change data in the manure storage process, and accurately extracting and analyzing characteristics influencing the manure deterioration time. Therefore, the deterioration time of the feces is accurately estimated, the ability of mastering the deterioration time of the feces is improved, and efficient treatment of the feces is facilitated.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of image analysis, and more specifically to a method and system for treating pig farm waste based on image analysis. Background Art

[0002] Pig farm manure treatment is a very critical part of pig farm operation. It involves environmental protection, resource utilization, and economic benefits of pig farms. The main methods of pig farm manure treatment include water flushing, water soaking, dry cleaning, and ectopic fermentation bed treatment technology. In the process of pig farm manure treatment, attention should be paid to preventing sewage leakage and overflow to avoid pollution to the surrounding environment. At the same time, the amount of manure treatment should be reasonably controlled to avoid environmental pollution and disease transmission caused by untimely treatment. In addition, waste gas and waste residue generated during manure treatment also need to be properly treated to reduce the impact on the environment. In short, pig farm manure treatment is a very important part of pig farm operation. Scientific and reasonable methods and measures need to be adopted to achieve harmless treatment and resource utilization of manure and promote the sustainable development of pig farms. During the pig farm manure treatment process, the pig farm manure deteriorates due to untimely treatment or environmental changes. The deteriorated manure will produce a large amount of foul-smelling gases and harmful substances, such as ammonia and hydrogen sulfide, which will pollute the environment around the pig farm, affecting the air quality and the quality of life of residents. The deteriorated manure contains a large number of pathogens, such as bacteria, viruses, parasites, etc. These pathogens may be transmitted to humans and animals through fecal-oral routes, water sources, etc., causing a variety of diseases, such as diarrhea, malaria, and cholera; therefore, the deterioration of pig farm manure will cause serious harm to the environment, human health, animal health and economy, and the existing technology cannot analyze the abnormal changes in the storage process through the historical change data during the storage of manure, which leads to the neglect of a large number of characteristics that affect the deterioration time of manure, and thus the deterioration time of manure cannot be accurately estimated. Most of the existing technologies have the above problems; In order to solve the problems raised by this background technology, the present application designs a pig farm manure treatment method and system based on image analysis. Summary of the invention

[0003] In response to the shortcomings of the existing technology, the present application proposes a pig farm manure treatment method and system based on image analysis. The present application analyzes abnormal changes in the storage process through the historical change data of the manure storage process, accurately extracts and analyzes the characteristics that affect the deterioration time of manure, and then accurately estimates the deterioration time of manure, thereby improving the ability to grasp the deterioration time of manure, which is conducive to the efficient treatment of manure.

[0004] To achieve the above objectives, the present application provides the following technical solutions: In the first aspect, the present application provides a method for treating pig farm manure based on image analysis, which comprises the following specific steps: S1. Obtain the image change data of pig farm manure and the environmental change data in the pig farm; S2, importing the obtained pig farm manure image change data into the pig farm manure change abnormality analysis strategy to perform pig farm manure change abnormality analysis; S3, importing the obtained pig farm environmental change data into the environmental change abnormality analysis strategy to perform environmental change abnormality analysis; S4. Obtain the abnormal analysis results of pig farm manure and sewage changes and the abnormal analysis results of environmental changes to predict the time of manure deterioration; S5. Prepare cleaning equipment according to the estimated deterioration time.

[0005] As a preferred technical solution for the pig farm manure treatment method based on image analysis, the specific contents of obtaining the pig farm manure image change data and simultaneously obtaining the pig farm internal environment change data are as follows: S11, obtaining images of all feces and sewage in the pig farm through a camera in real time, importing the obtained images of all feces and sewage into an image processing terminal to obtain pixel values ​​of each pixel point of the feces and sewage, and storing them in a first storage component; S12, acquiring abnormal gas content data in the gas around the feces in real time and storing it in the second storage component, wherein the abnormal gas includes gases with pungent odors such as hydrogen sulfide and ammonia; S13. Obtaining environmental change data during the storage of excrement, wherein the environmental change data includes a temperature change curve and a humidity change curve, which are stored in a third storage component.

[0006] As a preferred technical solution for the pig farm manure treatment method based on image analysis, the method of importing the acquired pig farm manure image change data into the pig farm manure change abnormality analysis strategy to perform pig farm manure change abnormality analysis includes the following specific steps: S21, obtaining pixel values ​​of corresponding feces and sewage pixels, and importing the obtained pixel values ​​of corresponding feces and sewage pixels into a feces and sewage deterioration image abnormal value calculation formula to calculate the feces and sewage deterioration image abnormal value, wherein the feces and sewage deterioration image abnormal value calculation formula is: , where m is the number of corresponding manure pixels, kir is the pixel value of the i-th manure pixel at the collection time, kic is the pixel value of the i-th manure pixel at the starting time, and kiz is the average value of the pixels of the deteriorated manure pixels. It should be noted in this step that in the formula, kir-kic is the difference between the pixel value of the i-th manure pixel at the collection time and the pixel value of the i-th manure pixel at the starting time, that is, the change value of the manure relative to the starting time, and kiz-kic is the difference between the pixel value of the i-th manure pixel at the starting time and the average value of the pixels of the deteriorated manure pixels, that is, the difficulty of the deterioration of the corresponding manure; S22, obtaining the manure deterioration image abnormal value calculated in the last detection and the manure deterioration image abnormal value calculated in the current detection, and importing them into the pig farm manure change abnormal analysis value calculation formula to calculate the pig farm manure change abnormal analysis value, wherein the pig farm manure change abnormal analysis value calculation formula is: , where a is the image abnormal value ratio, pt is the manure deterioration image abnormal value calculated during this detection, p(t-1) is the manure deterioration image abnormal value calculated during the last detection, and Tm is the standard detection interval. It is the interval time from the last detection to the current detection. It should be noted in this step that the formula in this step not only evaluates the abnormal deterioration of feces and sewage through the abnormal image change of this cycle, but also accurately evaluates the abnormal deterioration of feces and sewage by comprehensively considering the abnormal image change speed.

[0007] As a preferred technical solution for the pig farm manure treatment method based on image analysis, the step of importing the acquired pig farm internal environmental change data into the environmental change abnormality analysis strategy for environmental change abnormality analysis includes the following specific steps: S31, real-time acquisition of abnormal gas concentration data in the gas around the excrement, and substitution of the abnormal gas concentration data into the abnormal value calculation formula of the deteriorated gas to calculate the abnormal value of the deteriorated gas, wherein the abnormal value calculation formula of the deteriorated gas is: , where T is the duration of gas detection, xt is the abnormal gas concentration data at time t of gas detection, x(t-1) is the abnormal gas concentration data at time t-1 of gas detection, vm is the safety speed at which abnormal gas increases, and dt is the time integral.

[0008] As a preferred technical solution for the pig farm manure treatment method based on image analysis, the method of importing the obtained pig farm internal environmental change data into the environmental change abnormality analysis strategy for environmental change abnormality analysis also includes the following specific steps: S32, obtaining environmental change data during the storage of manure, obtaining the temperature change curve and humidity change curve from the last detection to the current detection, and importing them into the environmental abnormal value calculation formula to calculate the environmental abnormal value of the historical period, wherein the environmental abnormal value calculation formula is: , where n is the type of environmental data, Ts is the starting time, bj is the proportion coefficient of the jth environmental data type, sjt is the specific value of the sth environmental data type at time t, and sjm is the median value of the suitable temperature for bacterial growth in feces; S33, obtaining the environmental change data of the future period estimated by the weather forecast, importing the environmental change data of the future period into the environmental abnormal value calculation formula to calculate the environmental abnormal value of the future period, importing the calculated environmental abnormal value of the historical period and the environmental abnormal value of the future period into the environmental impact coefficient calculation formula to calculate the environmental impact coefficient, wherein the environmental impact coefficient calculation formula is: , where Shc is the environmental anomaly value of the future cycle and Shz is the environmental anomaly value of the historical cycle.

[0009] As a preferred technical solution for the pig farm manure treatment method based on image analysis, the method of obtaining the abnormal analysis results of pig farm manure changes and the abnormal analysis results of environmental changes to predict the manure deterioration time includes the following specific steps: S41, obtaining the calculated abnormal analysis value of piggery manure change and the abnormal value of deteriorated gas, and importing them into the abnormal value calculation formula to calculate the abnormal value, wherein the abnormal value calculation formula is: ,in, The percentage of abnormal analysis values ​​of pig farm manure changes; S42, obtaining the calculated abnormal deterioration value of the current cycle, the abnormal deterioration value of the previous cycle and the environmental impact coefficient, and substituting them into the deterioration time calculation formula to calculate the deterioration time, wherein the deterioration time calculation formula is: , where bzm is the abnormal metamorphism threshold, bzs is the abnormal metamorphism value of the current cycle, and bz(s-1) is the abnormal metamorphism value of the previous cycle.

[0010] As a preferred technical solution for the pig farm manure treatment method based on image analysis, the preparation of cleaning equipment according to the estimated deterioration time includes the following specific contents: The calculated deterioration time is compared with the set deterioration time threshold. If the calculated deterioration time is less than or equal to the set deterioration time threshold, a deterioration warning is issued and preparations for cleaning equipment are made. If the calculated deterioration time is greater than the set deterioration time threshold, no deterioration warning is issued.

[0011] In the second aspect, the present application provides a pig farm manure treatment system based on image analysis, which is implemented based on the above-mentioned pig farm manure treatment method based on image analysis, and specifically includes a data acquisition module, a pig farm manure change abnormality analysis module, an environmental change abnormality analysis module, a deterioration time prediction module and an early warning module; The data acquisition module is used to acquire the image change data of pig farm excrement and the environmental change data in the pig farm; The pig farm manure change abnormality analysis module is used to import the acquired pig farm manure change image data into the pig farm manure change abnormality analysis strategy to perform pig farm manure change abnormality analysis; The environmental change anomaly analysis module is used to import the acquired pig farm environmental change data into the environmental change anomaly analysis strategy to perform environmental change anomaly analysis; The deterioration time prediction module is used to obtain the abnormal analysis results of pig farm manure and sewage changes and the abnormal analysis results of environmental changes to predict the deterioration time of manure and sewage; The early warning module is used to prepare the cleaning equipment according to the estimated deterioration time; It may also include a control module, which is used to control the operation of the data acquisition module, the pig farm manure and sewage change abnormality analysis module, the environmental change abnormality analysis module, the deterioration time prediction module and the early warning module.

[0012] In a third aspect, the present application provides an electronic device, comprising: a processor and a memory, wherein the memory stores a computer program that can be called by the processor; The processor executes the above-mentioned pig farm manure treatment method based on image analysis by calling the computer program stored in the memory.

[0013] In a fourth aspect, the present application provides a computer-readable storage medium storing instructions, which, when executed on a computer, enable the computer to execute the pig farm manure treatment method based on image analysis as described above.

[0014] Compared with the prior art, the beneficial effects of this application are: The present application obtains pig farm manure image change data, and simultaneously obtains pig farm environment change data, imports the obtained pig farm manure image change data into a pig farm manure change abnormality analysis strategy to perform pig farm manure change abnormality analysis, imports the obtained pig farm environment change data into an environmental change abnormality analysis strategy to perform environmental change abnormality analysis, obtains pig farm manure change abnormality analysis results and environmental change abnormality analysis results to predict manure deterioration time, analyzes abnormal changes in the storage process through historical change data during manure storage, accurately extracts and analyzes features that affect manure deterioration time, and then accurately estimates manure deterioration time, thereby improving the ability to grasp manure deterioration time, which is conducive to efficient treatment of manure. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] Other features, objects and advantages of the present application will become more apparent by reading the detailed description of non-limiting embodiments made with reference to the following drawings; Figure 1 This is a schematic diagram of the overall process of the pig farm manure treatment method based on image analysis in this application; Figure 2 This is a schematic diagram of step S2 of the pig farm manure treatment method based on image analysis in this application; Figure 3 This is a schematic diagram of step S3 of the pig farm manure treatment method based on image analysis in this application; Figure 4 This is a schematic diagram of the composition framework of the pig farm manure treatment system based on image analysis in this application; Figure 5 This is a schematic diagram of an electronic device for this application. DETAILED DESCRIPTION

[0016] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. The following description of at least one exemplary embodiment is actually only illustrative and is by no means intended to limit the present application and its application or use.

[0017] Example 1

[0018] In order to solve the technical problems raised in the background technology, the present application provides a preferred embodiment: Figure 1 - Figure 3 As shown, the pig farm manure treatment method based on image analysis includes the following specific steps: S1. Obtain the image change data of pig farm manure and the environmental change data in the pig farm; In one specific embodiment, the specific contents of obtaining the pig farm manure image change data and simultaneously obtaining the pig farm internal environment change data are: S11, obtaining images of all feces and sewage in the pig farm through a camera in real time, importing the obtained images of all feces and sewage into an image processing terminal to obtain pixel values ​​of each pixel point of the feces and sewage, and storing them in a first storage component; S12, acquiring abnormal gas content data in the gas around the feces in real time and storing it in the second storage component, wherein the abnormal gas includes gases with pungent odors such as hydrogen sulfide and ammonia; S13, obtaining environmental change data during the storage of feces and sewage, wherein the environmental change data includes a temperature change curve and a humidity change curve, and storing the data in a third storage component; S2, importing the obtained pig farm manure image change data into the pig farm manure change abnormality analysis strategy to perform pig farm manure change abnormality analysis; In one specific embodiment, the obtained pig farm manure image change data is imported into the pig farm manure change abnormality analysis strategy to perform pig farm manure change abnormality analysis, which includes the following specific steps: S21, obtaining pixel values ​​of corresponding feces and sewage pixels, and importing the obtained pixel values ​​of corresponding feces and sewage pixels into a feces and sewage deterioration image abnormal value calculation formula to calculate the feces and sewage deterioration image abnormal value, wherein the feces and sewage deterioration image abnormal value calculation formula is: , where m is the number of corresponding manure pixels, kir is the pixel value of the i-th manure pixel at the collection time, kic is the pixel value of the i-th manure pixel at the starting time, and kiz is the average value of the pixels of the deteriorated manure pixels. It should be noted in this step that in the formula, kir-kic is the difference between the pixel value of the i-th manure pixel at the collection time and the pixel value of the i-th manure pixel at the starting time, that is, the change value of the manure relative to the starting time, and kiz-kic is the difference between the pixel value of the i-th manure pixel at the starting time and the average value of the pixels of the deteriorated manure pixels, that is, the difficulty of the deterioration of the corresponding manure; S22, obtaining the manure deterioration image abnormal value calculated in the last detection and the manure deterioration image abnormal value calculated in the current detection, and importing them into the pig farm manure change abnormal analysis value calculation formula to calculate the pig farm manure change abnormal analysis value, wherein the pig farm manure change abnormal analysis value calculation formula is: , where a is the image abnormal value ratio, pt is the manure deterioration image abnormal value calculated during this detection, p(t-1) is the manure deterioration image abnormal value calculated during the last detection, and Tm is the standard detection interval. is the interval time from the last detection to the current detection. It should be noted in this step that the formula in this step not only evaluates the abnormality of feces and sewage deterioration by the abnormal image change in this cycle, but also accurately evaluates the abnormality of feces and sewage deterioration by comprehensively considering the abnormal image change speed; S3, importing the obtained pig farm environmental change data into the environmental change abnormality analysis strategy to perform environmental change abnormality analysis; In one specific embodiment, importing the obtained pig farm environment change data into the environment change abnormality analysis strategy for environment change abnormality analysis includes the following specific steps: S31, real-time acquisition of abnormal gas concentration data in the gas around the excrement, and substitution of the abnormal gas concentration data into the abnormal value calculation formula of the deteriorated gas to calculate the abnormal value of the deteriorated gas, wherein the abnormal value calculation formula of the deteriorated gas is: , where T is the duration of gas detection, xt is the abnormal gas concentration data at the time of gas detection t, x(t-1) is the abnormal gas concentration data at the time of gas detection t-1, vm is the abnormal gas increase safety speed, dt is the time integral, and the abnormal gas increase safety speed here is the average value of the abnormal gas speed of the historical undeteriorated equal volume of manure and sewage discharge; S32, obtaining environmental change data during the storage of manure, obtaining the temperature change curve and humidity change curve from the last detection to the current detection, and importing them into the environmental abnormal value calculation formula to calculate the environmental abnormal value of the historical period, wherein the environmental abnormal value calculation formula is: , where n is the type of environmental data, Ts is the starting time, bj is the proportion coefficient of the jth environmental data type, sjt is the specific value of the sth environmental data type at time t, and sjm is the median value of the suitable temperature for bacterial growth in feces; In the process of manure deterioration, the bacteria involved have different optimal growth temperatures. Generally speaking, the optimal growth temperature of most bacteria is between 30℃ and 40℃. 1. Coliform bacteria: including Escherichia coli, Citrobacter rodentium, Klebsiella aerogenes and Enterobacter cloacae; the optimal growth temperature of these bacteria is usually 37°C, which is also the temperature at which they can grow and reproduce in the human intestine; 2. Peptostreptococcus: This is an anaerobic bacterium that can grow at a lower pH value. Its optimal growth temperature is between 35°C and 37°C; 3. Lactic acid bacteria: Lactic acid bacteria are a type of strictly anaerobic or facultative anaerobic bacteria, and their optimal growth temperature is usually between 30°C and 40°C; The optimum growth temperature of bacteria in the process of manure deterioration varies with the species, but the optimum growth temperature of most bacteria is between 30℃ and 40℃, so SJM is the median value of the suitable growth temperature of bacteria in manure, which is 35℃; S33, obtaining the environmental change data of the future period estimated by the weather forecast, importing the environmental change data of the future period into the environmental abnormal value calculation formula to calculate the environmental abnormal value of the future period, importing the calculated environmental abnormal value of the historical period and the environmental abnormal value of the future period into the environmental impact coefficient calculation formula to calculate the environmental impact coefficient, wherein the environmental impact coefficient calculation formula is: , where Shc is the environmental anomaly value of the future cycle, and Shz is the environmental anomaly value of the historical cycle; S4. Obtain the abnormal analysis results of pig farm manure and sewage changes and the abnormal analysis results of environmental changes to predict the time of manure deterioration; In one specific embodiment, obtaining the abnormal analysis results of pig farm manure and sewage changes and the abnormal analysis results of environmental changes to predict the time of manure deterioration includes the following specific steps: S41, obtaining the calculated abnormal analysis value of piggery manure change and the abnormal value of deteriorated gas, and importing them into the abnormal value calculation formula to calculate the abnormal value, wherein the abnormal value calculation formula is: ,in, The percentage of abnormal analysis values ​​of pig farm manure changes; S42, obtaining the calculated abnormal deterioration value of the current cycle, the abnormal deterioration value of the previous cycle and the environmental impact coefficient, and substituting them into the deterioration time calculation formula to calculate the deterioration time, wherein the deterioration time calculation formula is: , where bzm is the abnormal metamorphism threshold, bzs is the abnormal metamorphism value of the current cycle, and bz(s-1) is the abnormal metamorphism value of the previous cycle; S5. Prepare cleaning equipment according to the estimated deterioration time; In one specific embodiment, the preparation of cleaning equipment according to the estimated deterioration time includes the following specific contents: The calculated deterioration time is compared with the set deterioration time threshold. If the calculated deterioration time is less than or equal to the set deterioration time threshold, a deterioration warning is issued and preparations for cleaning equipment are made. If the calculated deterioration time is greater than the set deterioration time threshold, no deterioration warning is issued.

[0019] It should be noted that in this embodiment, the spoilage time threshold, the proportion coefficient of the j-th environmental data type, the image abnormal value proportion coefficient and the pig farm manure change abnormal analysis value proportion are determined as follows: five hundred groups of manure images and odor data are obtained, substituted into the spoilage time calculation formula to calculate the spoilage time, and the actual spoilage time is obtained, the actual spoilage time and the calculated spoilage time are substituted into the fitting software, and the spoilage time threshold, the j-th environmental data type proportion coefficient, the image abnormal value proportion coefficient and the pig farm manure change abnormal analysis value proportion that meet the maximum actual spoilage time judgment accuracy are output.

[0020] The advantages of this embodiment over the prior art are as follows: abnormal changes in the storage process are analyzed through historical change data during the storage of manure and sewage, and the characteristics that affect the deterioration time of manure and sewage are accurately extracted and analyzed, thereby accurately estimating the deterioration time of manure and sewage, thereby improving the ability to grasp the deterioration time of manure and sewage, and facilitating efficient treatment of manure and sewage.

[0021] Example 2

[0022] like Figure 4 As shown, the pig farm manure treatment system based on image analysis is implemented based on the above-mentioned pig farm manure treatment method based on image analysis, which specifically includes a data acquisition module, a pig farm manure change abnormality analysis module, an environmental change abnormality analysis module, a deterioration time prediction module and an early warning module; The data acquisition module is used to obtain the image change data of pig farm manure and the environmental change data in the pig farm; The pig farm manure change abnormality analysis module is used to import the acquired pig farm manure change image data into the pig farm manure change abnormality analysis strategy to perform pig farm manure change abnormality analysis; An abnormal environment change analysis module is used to import the acquired environmental change data in the pig farm into the abnormal environment change analysis strategy to perform abnormal environment change analysis; The deterioration time prediction module is used to obtain the abnormal analysis results of pig farm manure and sewage changes and the abnormal analysis results of environmental changes to predict the deterioration time of manure and sewage; An early warning module is used to prepare cleaning equipment based on the estimated deterioration time; It may also include a control module, which is used to control the operation of the data acquisition module, the pig farm manure change abnormal analysis module, the environmental change abnormal analysis module, the deterioration time prediction module and the early warning module; the system can execute the method in any of the aforementioned embodiments and can obtain the same or similar technical effects, which will not be repeated here.

[0023] Example 3

[0024] like Figure 5 As shown, this embodiment provides an electronic device, which includes a processor at the hardware level, and optionally also includes an internal bus, a network interface, and a memory. Among them, the memory may include a memory, such as a high-speed random access memory (Random-Access Memory, RAM), and may also include a non-volatile memory (non-volatile memory), such as at least one disk storage, etc. Of course, the electronic device may also include hardware required for other services.

[0025] The processor, network interface and memory can be interconnected through an internal bus, which can be an ISA (Industry Standard Architecture) bus, a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc.

[0026] The electronic device may have relatively large differences due to different configurations or performances, and may include one or more processors and one or more memories, wherein the memory stores at least one computer program, and the computer program is loaded and executed by the processor to implement the pig farm manure treatment method based on image analysis provided by the above method embodiment. The electronic device may also include other components for realizing the functions of the device, for example, the electronic device may also have components such as a wired or wireless network interface and an input and output interface to input and output data. This embodiment will not be described in detail here.

[0027] Example 4

[0028] This embodiment provides a computer-readable storage medium having a rewritable computer program stored thereon; When the computer program runs on a computer device, the computer device executes the above-mentioned pig farm manure treatment method based on image analysis.

[0029] For example, the computer readable storage medium can be a read-only memory, a random access memory, a read-only CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.

[0030] The above embodiments can be implemented in whole or in part by software, hardware, firmware or any other combination. When implemented by software, the above embodiments can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions or computer programs. When a computer instruction or computer program is loaded or executed on a computer, a process or function according to an embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network or other programmable device. Computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, computer instructions can be transmitted from one website site, computer, server or data center to another website site, computer, server or data center through a wired network or / and a wireless network. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that contains one or more available media sets. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium. The semiconductor medium can be a solid-state hard disk.

[0031] The terms "comprises," "comprising," or any other variations thereof are intended to cover non-exclusive inclusion such that a process, method, article, or apparatus that includes a list of elements includes not only those elements but also other elements not expressly listed, or also includes elements inherent to such process, method, article, or apparatus.

[0032] The above description is only a preferred embodiment of the present application and an explanation of the technical principles used. Those skilled in the art should understand that the scope of application involved in the present application is not limited to the technical solution formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the aforementioned application concept. For example, the above features are replaced with (but not limited to) technical features with similar functions applied in the present application.

Claims

1. A method for treating pig farm manure based on image analysis, characterized in that: It includes the following specific steps: S1. Obtain the image change data of pig farm manure and the environmental change data in the pig farm; S2, importing the obtained pig farm manure image change data into the pig farm manure change abnormality analysis strategy to perform pig farm manure change abnormality analysis; S3, importing the obtained pig farm environmental change data into the environmental change abnormality analysis strategy to perform environmental change abnormality analysis; S4. Obtain the abnormal analysis results of pig farm manure and sewage changes and the abnormal analysis results of environmental changes to predict the time of manure deterioration; S5. Prepare cleaning equipment according to the estimated deterioration time.

2. The method for treating pig farm waste based on image analysis according to claim 1, characterized in that: The step of importing the acquired pig farm manure image change data into the pig farm manure change abnormality analysis strategy to perform pig farm manure change abnormality analysis comprises the following specific steps: S21, obtaining pixel values ​​of corresponding feces and sewage pixels, and importing the obtained pixel values ​​of corresponding feces and sewage pixels into a feces and sewage deterioration image abnormal value calculation formula to calculate the feces and sewage deterioration image abnormal value, wherein the feces and sewage deterioration image abnormal value calculation formula is: , where m is the number of corresponding manure pixels, kir is the pixel value of the i-th manure pixel at the collection time, kic is the pixel value of the i-th manure pixel at the starting time, and kiz is the average value of the pixels of the spoiled manure pixels; S22, obtaining the manure deterioration image abnormal value calculated in the last detection and the manure deterioration image abnormal value calculated in the current detection, and importing them into the pig farm manure change abnormal analysis value calculation formula to calculate the pig farm manure change abnormal analysis value, wherein the pig farm manure change abnormal analysis value calculation formula is: , where a is the image abnormal value ratio, pt is the manure deterioration image abnormal value calculated during this detection, p(t-1) is the manure deterioration image abnormal value calculated during the last detection, and Tm is the standard detection interval. The interval time from the last test to the current test.

3. The method for treating pig farm waste based on image analysis according to claim 2, characterized in that: The step of importing the obtained pig farm environmental change data into the environmental change abnormality analysis strategy to perform environmental change abnormality analysis comprises the following specific steps: The abnormal gas concentration data in the gas around the manure is obtained in real time, and the abnormal gas concentration data is substituted into the abnormal value calculation formula of the deteriorated gas to calculate the abnormal value of the deteriorated gas. The abnormal value calculation formula of the deteriorated gas is: , where T is the duration of gas detection, xt is the abnormal gas concentration data at time t of gas detection, x(t-1) is the abnormal gas concentration data at time t-1 of gas detection, vm is the safety speed at which abnormal gas increases, and dt is the time integral.

4. The method for treating pig farm waste based on image analysis according to claim 3, characterized in that: The step of importing the obtained pig farm environment change data into the environment change abnormality analysis strategy to perform environment change abnormality analysis also includes the following specific steps: Obtain the environmental change data during the storage of manure, obtain the temperature change curve and humidity change curve from the last detection to the current detection, and import them into the environmental abnormal value calculation formula to calculate the environmental abnormal value of the historical period. The environmental abnormal value calculation formula is: , where n is the type of environmental data, Ts is the starting time, bj is the proportion coefficient of the jth environmental data type, sjt is the specific value of the sth environmental data type at time t, and sjm is the median value of the suitable temperature for bacterial growth in feces; Obtain the environmental change data of the future period estimated by the weather forecast, import the environmental change data of the future period into the environmental anomaly value calculation formula to calculate the environmental anomaly value of the future period, import the calculated environmental anomaly values ​​of the historical period and the environmental anomaly values ​​of the future period into the environmental impact coefficient calculation formula to calculate the environmental impact coefficient, wherein the environmental impact coefficient calculation formula is: , Among them, Shc is the environmental anomaly value of the future cycle, and Shz is the environmental anomaly value of the historical cycle.

5. The method for treating pig farm waste based on image analysis according to claim 4, characterized in that: The method of obtaining the abnormal analysis results of pig farm manure and sewage changes and the abnormal analysis results of environmental changes to predict the deterioration time of manure and sewage includes the following specific steps: The calculated abnormal analysis value of pig farm manure and abnormal value of deteriorated gas are imported into the abnormal value calculation formula to calculate the abnormal value of deterioration, wherein the abnormal value calculation formula of deterioration is: ,in, The percentage of abnormal analysis values ​​of pig farm manure changes; Obtain the calculated abnormal deterioration value of the current cycle, the abnormal deterioration value of the previous cycle and the environmental impact coefficient and substitute them into the deterioration time calculation formula to calculate the deterioration time, where the deterioration time calculation formula is: , where bzm is the abnormal metamorphism threshold, bzs is the abnormal metamorphism value of the current cycle, and bz(s-1) is the abnormal metamorphism value of the previous cycle.

6. The method for treating pig farm waste based on image analysis according to claim 5, characterized in that: The preparation of cleaning equipment according to the estimated deterioration time includes the following specific contents: The calculated deterioration time is compared with the set deterioration time threshold. If the calculated deterioration time is less than or equal to the set deterioration time threshold, a deterioration warning is issued and preparations for cleaning equipment are made. If the calculated deterioration time is greater than the set deterioration time threshold, no deterioration warning is issued.

7. A pig farm manure treatment system based on image analysis, which is implemented based on the pig farm manure treatment method based on image analysis as claimed in any one of claims 1 to 6, characterized in that: It specifically includes a data acquisition module, a pig farm manure and sewage change abnormality analysis module, an environmental change abnormality analysis module, a deterioration time prediction module and an early warning module; The data acquisition module is used to acquire the image change data of pig farm excrement and the environmental change data in the pig farm; The pig farm manure change abnormality analysis module is used to import the acquired pig farm manure change image data into the pig farm manure change abnormality analysis strategy to perform pig farm manure change abnormality analysis; The environmental change anomaly analysis module is used to import the acquired pig farm environmental change data into the environmental change anomaly analysis strategy to perform environmental change anomaly analysis; The deterioration time prediction module is used to obtain the abnormal analysis results of pig farm manure and sewage changes and the abnormal analysis results of environmental changes to predict the deterioration time of manure and sewage; The early warning module is used to prepare the cleaning equipment according to the estimated deterioration time.

Citation Information

Patent Citations

  • Quantification and analysis of angiography and perfusion

    CA2914778A1

  • Machine vision-based excrement shape identification method

    CN106651883A

  • Intelligent treatment method for livestock farm feces

    CN114600776A

  • Pig manure intelligent detection system based on image feature analysis

    CN118505696A

  • Excretion information management system

    JP2022147796A

Cited By

  • Deep groove type ectopic fermentation bed system for converting feces into organic fertilizer

    CN120208703A

  • Intelligent breeding system and method based on Internet of Things

    CN120472391A

  • Golden-nosed monkey excrement storage management system and method based on environment evaluation

    CN122434398A