A kind of detection device and detection method of cow hock swelling

By designing dairy cow hock swelling detection equipment, using thermal imaging technology and image processing, combined with RFID technology, automated detection is achieved, solving the problems of time-consuming and large errors in traditional detection methods, and improving detection efficiency and accuracy.

CN119073926BActive Publication Date: 2025-02-25INNER MONGOLIA AGRICULTURAL UNIVERSITY
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202411590517.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-11-08
Publication Date
2025-02-25
Estimated Expiration
2044-11-08

AI Technical Summary

Technical Problem

Traditional dairy cow hock swelling detection methods are time-consuming and labor-intensive, with subjective errors, which are difficult to meet the needs of large-scale and efficient testing, and may delay the optimal treatment time.

Method used

A cow hock swelling detection device is designed, and a thermal imaging vision module is used to collect thermal imaging images of cow legs, combined with image processing units for identification and analysis, and the cow identity is associated through the RFID device interface to realize automated detection and data recording.

Benefits of technology

Early detection is achieved, efficient and high accuracy, reducing manual intervention and errors, avoiding cow stress, improving the accuracy and reliability of the detection, and adapting to large-scale breeding environments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 00000000_0000_ABST
    Figure 00000000_0000_ABST
Patent Text Reader

Abstract

The present invention discloses a cow hock swelling detection device and a detection method, wherein the detection device comprises: a waterproof and corrosion-resistant chassis, an adjustable fixed bracket, a high-speed thermal imaging visual module, an adjustable field of view limiting baffle, a data storage module, a central computing unit, an image processing unit, a display unit, an early warning unit, a network communication module, a power supply module, and an RFID device interface. The present invention also discloses a cow hock swelling detection method, which relies on the above-mentioned detection device and can achieve accurate monitoring and swelling detection of the cow hock area. The device and method have the advantages of high degree of automation, good detection accuracy, and real-time early warning, and are particularly suitable for long-term monitoring needs in complex farm environments.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of smart breeding and intelligent equipment, and relates to but is not limited to a cow hock swelling detection device and a detection method. Background Art

[0002] In dairy farming, the health of dairy cows is directly related to their production performance and economic benefits. Among them, cow hock swelling is a common disease and pathological manifestation, which may be caused by infection, inflammation, trauma and other factors. Cow hock swelling not only affects the cow's athletic ability, but also may lead to a decline in its production performance. In severe cases, it may even lead to the elimination of individual dairy cows. Therefore, timely detection and treatment of cow hock swelling is of great significance to ensure the health of dairy cows and improve farming benefits.

[0003] Traditional methods for detecting swollen hocks in dairy cows rely on the experience and observation of veterinarians, which is not only time-consuming and labor-intensive, but also subject to subjective errors. In addition, the early symptoms of swollen hocks in dairy cows may not be obvious and are easily overlooked, thus delaying the best time for treatment. At the same time, due to the continuous expansion of breeding scale and the increase in the number of dairy cows, traditional manual detection methods are difficult to meet the needs of large-scale and efficient detection.

[0004] The symptoms of swollen hocks in dairy cows include morphological changes and local temperature rise, which is usually caused by inflammation or infection in the joint. Farmers cannot identify the local temperature rise with the naked eye. Traditional methods include visual inspection and hand perception. This health monitoring method often lags behind the actual occurrence of the disease, is extremely inefficient and causes stress to the cows. Traditional detection methods may miss the best time to treat swollen hocks. Summary of the invention

[0005] In view of this, the embodiments of the present invention provide a cow hock swelling detection device and method, which at least solves the problem that traditional health monitoring methods often lag behind the actual occurrence of diseases, are extremely inefficient and cause stress to cows.

[0006] The technical solution of the embodiment of the present invention is as follows:

[0007] In a first aspect, an embodiment of the present invention provides a cow hock swelling detection device, comprising: a chassis, an adjustable fixed bracket installed at the bottom of the chassis, a thermal imaging vision module located inside the chassis, a data storage module, a central computing unit, an image processing unit, a power module, and an adjustable field of view limiting baffle installed on the outside of the chassis, a display unit, and an RFID device interface, wherein: the adjustable fixed bracket is used to adjust the height of the cow hock swelling detection device; the thermal imaging vision module is used to collect thermal imaging images of cow legs and store the images in the data storage module; the adjustable field of view limiting baffle is used to adjust the collection area of ​​the thermal imaging vision module to capture the hock area of ​​the cow legs; the image processing unit is used to identify and analyze the cow hock swelling based on the data read from the data storage module by the central computing unit to obtain the detection result; the RFID device interface is used to connect to the cow identity recognition system to associate the cow identity with the detection result and store it in the data storage module; the display unit is used to display the detection result and the real-time picture collected by the thermal imaging vision module in real time; the central computing unit is used to manage and coordinate the operation of each module.

[0008] Furthermore, the cow hock swelling detection device also includes: an early warning unit, which is used to issue an audible and visual alarm when the detection result shows that the cow hock is swollen or hot.

[0009] Furthermore, the cow hock swelling detection device also includes: a network communication module, which is installed in the chassis, supports wireless network connection, connects to a nearby wireless network hotspot through a wireless network interface and then connects to the cloud, and is used to transmit the hock swelling detection results to a remote server or management system when the network is unobstructed, thereby realizing data sharing and remote monitoring.

[0010] Furthermore, the chassis has IP68 waterproof and dustproof capabilities, and a glass window is provided on the main panel of the chassis to meet the needs of thermal imaging vision module collection.

[0011] Furthermore, the image processing unit is specifically used to extract the hind leg area based on the thermal imaging image and determine the shape characteristics and temperature distribution of the cow's legs, and judge whether the cow's legs have hock deformation and whether there is inflammation and fever, and then comprehensively judge whether the cow's hock is swollen to obtain the detection result.

[0012] Furthermore, the adjustable field of view limiting baffle is located on the upper and lower sides of the lens of the thermal imaging vision module, and is used to block interference from other high-temperature objects in the top area and / or bottom area of ​​the field of view during use, and is used to seal the thermal imaging vision module when not in use to prevent it from being contaminated.

[0013] In a second aspect, an embodiment of the present invention provides a method for detecting swelling of a cow hock, which is applied to the cow hock swelling detection device as described in the first aspect, wherein the cow hock swelling detection device is vertically placed at a fixed distance from a cow passage, and the cows pass through the passage in sequence, and the method comprises:

[0014] The continuous thermal imaging images of the legs of each cow during walking are collected by the thermal imaging vision module and stored in the data storage module; the swelling of the cow's hock is identified and analyzed by the image processing unit based on the image data read from the data storage module by the central computing unit to obtain the detection result; the collection screen of the thermal imaging vision module and the detection result are displayed in real time by the display unit; wherein the collection area of ​​the thermal imaging vision module is adjusted by an adjustable field of view limiting baffle; the cow's identity is determined by connecting to the cow identification system through the RFID device interface, and the cow's identity is associated with the detection result and stored in the data storage module.

[0015] Furthermore, the identification and analysis of cow hock swelling based on the data read from the data storage module by the central computing unit to obtain the detection result includes: graying and denoising the read image in turn, and using an edge detection algorithm to identify the contour of the cow's leg and extract the leg area; using a connected component labeling algorithm based on the leg area to determine the hind leg area; based on the shape characteristics and temperature distribution of the cow's leg in the hind leg area, judging whether the cow's leg has hock deformation and whether there is inflammation and fever; and judging whether the cow's hock is swollen based on the hock deformation and fever of the cow's leg.

[0016] Furthermore, based on the shape characteristics and temperature distribution of the cow's legs in the hind leg area, judging whether the cow's legs are deformed by hocks and whether there is inflammation and fever respectively includes: analyzing the range of change in the horizontal width of the cow's legs in the hind leg area to determine the hock area; calculating the hock measurement area based on the cow's leg width and the ordinate corresponding to the upper and lower boundaries of the hock area, and judging whether the cow's legs are deformed by hocks in combination with the area growth tolerance interval; judging whether the hock area is hot by comparing the maximum temperature and the average temperature of the hock area.

[0017] Furthermore, the method also includes: determining whether the leg contour in the leg area is displayed completely; and continuing to determine the hind leg area when the left side, right side and bottom of the leg contour are all spaced greater than 1px from the image edge.

[0018] The beneficial effects brought about by the technical solution provided by the embodiment of the present invention include at least:

[0019] Early detection: Through high-precision thermal imaging technology, inflammation or swelling can be detected when the early symptoms of swollen hocks appear, avoiding the lag of traditional methods and providing timely treatment and intervention.

[0020] High efficiency: No manual observation and contact is required, which avoids cow stress and reduces labor costs and detection time. It is particularly effective in large-scale farming environments.

[0021] High precision and reliability: Combining physical deformation and temperature characteristics, through dual analysis of morphology and temperature data, it reduces misjudgment and ensures the accuracy and reliability of detection.

[0022] Automation and remote monitoring: The equipment has the ability to operate automatically and supports remote monitoring and data transmission. Farm managers can monitor the health of dairy cows anytime and anywhere, improving management efficiency.

[0023] Versatility: The device is compatible with RFID technology, which enables automated identification and data recording, ensuring traceability of test results and providing precise support for the health management of individual dairy cows.

[0024] Adapt to harsh environment: The equipment has good waterproof, dustproof and corrosion-resistant properties, adapts to the complex environmental conditions of the farm, and ensures long-term stable operation of the equipment. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for describing the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative work, among which:

[0026] Figure 1 A front view of a cow hock swelling detection device provided by an embodiment of the present invention;

[0027] Figure 2 A top view of the internal structure of a cow hock swelling detection device provided in an embodiment of the present invention;

[0028] Figure 3 A front view of a cow hock swelling detection device provided by an embodiment of the present invention;

[0029] Figure 4 A schematic flow chart of a method for detecting swollen hocks of dairy cows provided in an embodiment of the present invention.

[0030] Explanation of the reference numerals: 1-chassis, 2-adjustable fixed bracket, 3-thermal imaging vision module, 4-adjustable field of view limiting baffle, 5-data storage module, 6-central computing unit, 7-image processing unit, 8-display unit, 9-early warning unit, 10-network communication module, 11-power module, 12-RFID device interface. DETAILED DESCRIPTION

[0031] In order to make the purpose, technical scheme and advantages of the embodiments of the present invention clearer, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, rather than all the embodiments. The following embodiments are used to illustrate the present invention, but are not used to limit the scope of the present invention. Based on the embodiments in the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.

[0032] In the following description, reference is made to “some embodiments”, which describe a subset of all possible embodiments, but it will be understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.

[0033] It should be pointed out that the terms "first\second\third" involved in the embodiments of the present invention are only used to distinguish similar objects and do not represent a specific ordering of the objects. It can be understood that "first\second\third" can be interchanged in a specific order or sequence where permitted, so that the embodiments of the present invention described here can be implemented in an order other than that illustrated or described here.

[0034] Those skilled in the art will appreciate that, unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as those generally understood by those skilled in the art in the field to which the embodiments of the present invention belong. It should also be understood that terms such as those defined in general dictionaries should be understood to have meanings consistent with those in the context of the prior art, and will not be interpreted with idealized or overly formal meanings unless specifically defined as here.

[0035] like Figures 1 to 3As shown, a cow hock swelling detection device provided by an embodiment of the present invention comprises: a chassis 1, an adjustable fixed bracket 2 installed at the bottom of the chassis, a thermal imaging vision module 3 located inside the chassis, a data storage module 5, a central computing unit 6, an image processing unit 7, a power supply module 11, and an adjustable field of view limiting baffle 4 installed outside the chassis, a display unit 8, and an RFID device interface 12, wherein: the adjustable fixed bracket 2 is used to adjust the height of the cow hock swelling detection device; the thermal imaging vision module 3 is used to collect thermal imaging images of the cow's legs and store the images in the data storage module 5; The adjusting field of view limiting baffle is used to adjust the acquisition area of ​​the thermal imaging vision module to capture the hock area of ​​the cow's leg; the image processing unit 7 is used to identify and analyze the swelling of the cow's hock based on the data read from the data storage module 5 by the central computing unit 6 to obtain the detection result; the RFID device interface 12 is used to connect the cow identification system to associate the cow's identity with the detection result and store it in the data storage module 5; the display unit 8 is used to display the detection result and the real-time picture collected by the thermal imaging vision module in real time; the central computing unit 6 is used to manage and coordinate the operation of each module.

[0036] During implementation, the adjustable fixed bracket 2 installed at the bottom of the chassis 1 is adjusted, and the position of the thermal imaging vision module 3 is calibrated through the display unit 8 to ensure that the thermal imaging vision module 3 can capture horizontal images of the entire area of ​​the cow's leg. The adjustable field of view limiting baffle 4 is adjusted to optimize the acquisition area of ​​the thermal imaging vision module 3 to prevent the device from capturing excess cow upper body areas and top fluorescent light images, thereby ensuring the image quality of the hock area. The data collected by the thermal imaging vision module 3 is stored in the data storage module 5, and the central computing unit 6 reads the data from the data storage module 5, and cooperates with the image processing unit 7 to realize the identification and analysis of hock swelling, and the obtained detection results are displayed in real time through the display unit 8. The RFID device interface 12 is used to connect to the cow identification system, correspond the cow identity to the detection results and store them in the data storage module 5. The power module 11 provides continuous power support for all modules.

[0037] Here, the chassis 1 of the embodiment of the present invention is a waterproof and corrosion-resistant chassis, which is made of polypropylene, is waterproof, corrosion-resistant, light and easy to move. The adjustable fixed bracket 2 installed at the bottom of the chassis 1 has a lifting center axis structure, and the bracket height can be adjusted as needed. The bracket is made of corrosion-resistant alloy material, is light, waterproof and corrosion-resistant.

[0038] Preferably, the chassis 1 is implemented with a supporting cow channel, which can only allow one cow to pass through at the same time. The chassis 1 is made of 6063 aluminum and has external bracket fixing screws for easy fixation; the chassis back panel is detachable and has a circle of waterproof tape around the back panel. After all modules are fixedly installed in the chassis 1, the back panel can be fixed with screws.

[0039] The thermal imaging visual module 3 can collect the shape characteristics and temperature distribution images of the cow's legs. The module is installed behind the adjustable field of view limiting baffle 4 of the chassis 1, and the relative position of the thermal imaging visual module and the cow's hock area is adjusted by adjusting the opening amplitude of the adjustable field of view limiting baffle 4, thereby realizing the collection of the shape characteristics and temperature distribution characteristics of the cow's legs.

[0040] Preferably, the thermal imaging vision module 3 uses a high-definition high-speed thermal imaging camera with a resolution of 640×512 and a frame rate of 120 FPS, which can realize high-speed motion capture of cattle during normal walking, eliminating blur and jello effect.

[0041] The data storage module 5 is used to store the thermal imaging image data collected by the thermal imaging vision module 3, the processing results of the central computing unit 6 and the image processing unit 7, and has the characteristics of large capacity and high reliability. The module is installed in the chassis 1 and connected to the central computing unit 6 and the image processing unit 7 through a high-speed interface to ensure the integrity and security of the data, which is convenient for subsequent data analysis and historical record query.

[0042] Preferably, the data storage module 5 uses a 4TB large-capacity storage hard disk, which can store more than 400,000 high-definition image data.

[0043] The central computing unit 6 is the control core of the cow hock swelling detection device, which is used to manage and coordinate the operation of each module and perform data processing and analysis. The central computing unit 6 is installed in the chassis 1 and has high-performance computing capabilities and low power consumption characteristics to ensure stable and efficient operation of the system.

[0044] The image processing unit 7 is used to analyze the thermal imaging image collected from the thermal imaging vision module 3, and to accurately locate and recognize the pattern of the thermal imaging image. The image processing unit 7 is installed in the chassis 1 and works in conjunction with the central computing unit 6 to improve detection accuracy and efficiency.

[0045] The display unit 8 is used to display the real-time picture of the thermal imaging visual module 3 in real time, and is used to guide the height adjustment of the adjustable fixing bracket 2 and the position adjustment of the adjustable field of view limiting baffle 4, so as to complete the position calibration of the thermal imaging visual module. It is ensured that the picture collected by the cow hock swelling detection device is the position of the cow hock.

[0046] The power module 11 provides the power required for the device to operate and supports long-term continuous operation. The power module 11 is installed in the chassis 1 and connected to other modules through the power interface to ensure continuous power supply for data collection and processing. Preferably, the power module is compatible with the direct power supply mode and the charging mode, which can ensure that the device continues to work normally when the power supply is interrupted.

[0047] The RFID device interface 12 is used to match the RFID device of a third party to automatically detect the swelling of the cow's hock and record the corresponding individual information of the cow in an unattended mode to ensure the traceability of the detection result. The RFID device interface 12 is installed on the outside of the chassis 1 to facilitate accurate individual identification of the cow.

[0048] Preferably, the cow hock swelling detection device will automatically determine whether to connect to the RFID device, and if connected, it will store the hock swelling image and the data returned by the RFID device at the same time. If not connected, it will only store the cow hock swelling image.

[0049] In some embodiments, the cow hock swelling detection device further includes: an early warning unit 9, which is used to issue an audible and visual alarm when the detection result indicates that the cow hock is swollen or hot.

[0050] Here, after the image processing unit 7 identifies and analyzes the predicted results, if swelling or fever is found in the hock of the cow, the central computing unit 6 controls the early warning unit 9 to issue an audible and visual alarm to remind the staff to deal with it in time. The early warning unit 9 includes an audible and visual alarm device and a remote alarm function, which automatically issues an early warning signal when swelling or fever is detected in the hock of the cow. The audible and visual alarm device includes an indicator light, a buzzer, etc., which is installed on the top of the above-mentioned chassis 1 for easy observation and sound reminders, ensuring that the farm staff can find and deal with problems in time.

[0051] In some embodiments, the cow hock swelling detection device also includes: a network communication module 10, installed in the chassis 1, supporting wireless network connection, connecting to a nearby wireless network hotspot through a wireless network interface and then connecting to the cloud, and used to transmit the hock swelling detection results to a remote server or management system when the network is unobstructed, thereby realizing data sharing and remote monitoring.

[0052] Here, the network communication module 10 uses a wireless WIFI network to connect to the Internet. The network communication module 10 is used for remote data reporting when the network is unobstructed, which can ensure the stable and safe transmission of the test result data.

[0053] In some embodiments, the chassis 1 has IP68 waterproof and dustproof capabilities, and a glass window is provided on the main panel of the chassis 1 to meet the collection needs of the thermal imaging vision module 3.

[0054] Here, the chassis 1 has IP68 waterproof and dustproof capabilities, which can ensure that the cow hock swelling detection equipment can be used normally in the high humidity and high corrosion environment of the farm. The chassis 1 is fixed on the horizontal ground through the adjustable fixing bracket 2 to provide a clean and stable internal environment for data collection and analysis.

[0055] In some embodiments, the image processing unit 7 is specifically used to extract the hind leg area based on the thermal imaging image and determine the shape characteristics and temperature distribution of the cow's legs, respectively determine whether the cow's legs have hock deformation and whether there is inflammation and fever, and then comprehensively determine whether the cow's hock is swollen to obtain the detection result. In this way, the thermal imaging image is accurately positioned and pattern recognized by the image processing unit 7, thereby improving the detection accuracy and efficiency.

[0056] In some embodiments, the adjustable field of view limiting baffle 4 is located on the upper and lower sides of the lens of the thermal imaging visual module 3, and is used to block interference from other high-temperature objects in the top area and / or bottom area of ​​the field of view of the acquisition during use, and is used to seal the thermal imaging visual module 3 to prevent it from being contaminated when not in use. In this way, the position of the thermal imaging visual module is adjusted by cooperating with the adjustable field of view limiting baffle 4 and the thermal imaging visual module 3 to ensure that the image collected by the device is the location of the cow's hock, reducing interference from other high-temperature objects.

[0057] The embodiment of the present invention provides a method for detecting swelling of the hock of a dairy cow, which is applied to the device for detecting swelling of the hock of a dairy cow. The device for detecting swelling of the hock of a dairy cow is vertically placed at a fixed distance from a dairy cow passage. The dairy cows pass through the passage in turn. Figure 4 As shown, the method includes:

[0058] Step S110, collecting continuous thermal imaging images of the legs of each cow during walking through the thermal imaging vision module, and storing them in the data storage module.

[0059] Step S120, the image processing unit identifies and analyzes the swollen hock of the cow based on the image data read from the data storage module by the central computing unit to obtain a detection result.

[0060] Step S130, displaying the acquisition screen of the thermal imaging vision module and the detection result in real time through a display unit; wherein the acquisition area of ​​the thermal imaging vision module is adjusted by an adjustable field of view limiting baffle.

[0061] Step S140, connecting to a cow identification system through an RFID device interface to determine the cow's identity, and associating the cow's identity with the detection result and storing them in a data storage module.

[0062] The cow hock swelling detection method provided by the embodiment of the present invention relies on the above-mentioned cow hock swelling detection device, can collect non-emergency thermal imaging image data through the thermal imaging visual module, and combine the central computing unit and the image processing unit to determine whether the cow suffers from cow hock swelling, thereby realizing accurate monitoring and swelling detection of the cow hock area. The device and method have the advantages of high degree of automation, good detection accuracy, real-time warning, etc., and are particularly suitable for long-term monitoring needs in complex farm environments.

[0063] In some embodiments, in the above step S120, "identifying and analyzing cow hock swelling based on the data read from the data storage module by the central computing unit to obtain a detection result" is further implemented by the following steps:

[0064] S121, graying and noise reduction are performed on the read image in sequence, and an edge detection algorithm is used to identify the outline of the cow's legs and extract the leg area.

[0065] Here, the image processing unit 7 performs grayscale processing on the thermal imaging image collected by the high-speed thermal imaging vision module 3 so that each pixel value only represents the temperature intensity, thereby reducing the image size, simplifying subsequent calculations, and improving processing performance. The calculation formula is as follows:

[0066] Formula (1);

[0067] in, , , They are the red, green and blue channels of the thermal image. is the grayscale value.

[0068] Then, the grayscale image is subjected to noise reduction processing to improve image clarity, image visual effects, and the accuracy and efficiency of subsequent processing. In the embodiment of the present invention, a Gaussian filter or other algorithm is used to perform noise reduction processing on the grayscale image to smooth the image and remove high-frequency noise.

[0069] Formula (2);

[0070] in, is the Gaussian kernel at the point The value at is the normalization factor of the Gaussian function, is the standard deviation.

[0071] Finally, Otsu's method is used to select the automatic threshold based on the image histogram, and the optimal threshold is found by maximizing the inter-class variance to extract the leg contour. In this way, the leg area is clearly defined based on the extracted contour, which is convenient for subsequent analysis.

[0072] S122, determining the hind leg region by using a connected component labeling algorithm based on the leg region.

[0073] Here, when the width of the leg outer rectangle is the smallest, it indicates that the leg is in an upright state. By extracting the leg outer rectangles in multiple consecutive frames, the leg image when the width of the leg outer rectangle is the smallest is obtained by comparison. The connected component labeling algorithm is used to determine how many regions the leg outer rectangle is divided into by the cow's legs. If the number of regions is 2, it is the leg image of the front leg, and if the number of regions is 3, it is the leg image of the hind leg, thereby filtering out the hind leg region.

[0074] S123, based on the shape characteristics and temperature distribution of the cow's legs in the hind leg area, determining whether the cow's legs have hock deformation and whether there is inflammation and fever.

[0075] Here, firstly, the hock position is located, that is, the effective hock area in the hind leg area is determined, and then based on the shape characteristics of the cow's legs in the hind leg area, it is determined whether the hock is deformed and whether there is physical swelling, and then based on the temperature distribution in the hind leg area, it is determined whether there is inflammation and fever in the hock area.

[0076] S124, comprehensively consider the hock deformation and fever of the cow's legs to determine whether the hock is swollen.

[0077] Here, in some embodiments, if step S123 determines that the cow's hock is deformed, it is determined that the cow's hock is swollen; in some embodiments, if step S123 determines that there is fever in the hock area, it is determined that the cow's hock is swollen; in some embodiments, the difference in hock deformation is greater than the area growth tolerance interval, and the difference in temperature change is greater than the temperature difference threshold, it is determined that the cow's hock is swollen.

[0078] In some embodiments, the above step S123 is further implemented by the following steps:

[0079] S231, analyzing the variation range of the horizontal width of the cattle leg in the hind leg area to determine the hock area.

[0080] Here, it is assumed that the ordinate of the point where the horizontal width of the corbel is the smallest is , get the ordinate of the rightmost point of the corbel contour , then the hock area is the vertical coordinate from arrive The bull leg area.

[0081] S232, calculating the hock measurement area based on the cow leg width and the ordinate corresponding to the upper and lower boundaries of the hock area, and determining whether there is hock deformation on the cow's leg in combination with the area growth tolerance interval.

[0082] Here, it is assumed that the above arrive The corresponding corbel widths are and The hock area of ​​the cattle leg studied in the embodiment of the present invention is close to a trapezoid, which is recorded as the hock metric area ,use Calculate. If + , then it is considered that there is physical swelling in the hock, where is the tolerance range for area growth, It is the actual measured area of ​​the hock region.

[0083] S233, judging whether the hock area is hot by comparing the maximum temperature and the average temperature of the hock area.

[0084] Here, the ambient light, humidity, etc. have a great impact on the actual temperature measurement results of thermal imaging. In a complex actual production environment, relative temperature is used to determine whether there is fever. The maximum temperature and average temperature of the hock area are extracted. If the difference between the maximum temperature and the average temperature is greater than the temperature difference threshold, it is considered that the hock is hot. Assuming the maximum temperature and average temperature , is the temperature difference threshold, if and It is believed that there may be fever in the hock.

[0085] Preferably, when ,or ,or and It is considered that there is swelling in the hock, The value is 1.64℃, .

[0086] In some embodiments, the method further includes: determining whether the leg contour in the leg area is displayed completely; and continuing to determine the hind leg area when the left side, right side and bottom of the leg contour are all spaced greater than 1px from the image edge.

[0087] Here, by comparing the distances between the left, right and bottom of the leg outline and the edge of the image, it is proved that the cow leg image is completely displayed in the image and no part of it is included in the image, thereby determining the availability of the leg area image and avoiding affecting the subsequent hock swelling determination.

[0088] The cow hock swelling detection device and detection method provided by the embodiment of the present invention can judge whether the cow suffers from cow hock swelling through non-emergency thermal imaging image data. The detection device and detection method are different from the traditional detection method. The cow hock swelling is judged through the shape characteristics and temperature characteristics of the thermal imaging image. The shape characteristics judge the cow hock deformation, and the temperature characteristics judge whether there is inflammation and fever in the hock. The thermal imaging temperature data can make up for the disadvantage that it is difficult to monitor the local body temperature manually. The detection device and detection method can detect cow hock swelling in the early stage of the disease, with high recognition rate and low labor cost.

[0089] It should be understood that "one embodiment" or "an embodiment" mentioned throughout the specification means that specific features, structures or characteristics related to the embodiment are included in at least one embodiment of the present invention. Therefore, "in one embodiment" or "in an embodiment" appearing throughout the specification does not necessarily refer to the same embodiment. In addition, these specific features, structures or characteristics can be combined in one or more embodiments in any suitable manner. It should be understood that in various embodiments of the present invention, the size of the serial number of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present invention. The serial numbers of the above-mentioned embodiments of the present invention are only for description and do not represent the advantages and disadvantages of the embodiments.

[0090] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.

[0091] In the several embodiments provided by the present invention, it should be understood that the disclosed methods can be implemented in other ways. The methods disclosed in the several method embodiments provided by the present invention can be arbitrarily combined without conflict to obtain new method embodiments. The features disclosed in the several method embodiments provided by the present invention can be arbitrarily combined without conflict to obtain new method embodiments.

[0092] The above is only an embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.

Claims

1. A cow hock swelling detection device, characterized in that: include: A chassis, an adjustable fixing bracket installed at the bottom of the chassis, a thermal imaging vision module located inside the chassis, a data storage module, a central computing unit, an image processing unit, a power module, and an adjustable field of view limiting baffle installed outside the chassis, a display unit, and an RFID device interface, wherein: An adjustable fixed bracket is used to adjust the height of the cow hock swelling detection device; A thermal imaging vision module, used to collect thermal imaging images of the cow's legs and store the images in a data storage module; An adjustable field of view limiting baffle, located at the upper and lower sides of the lens of the thermal imaging vision module, is used to block interference from other high-temperature objects in the top area and / or bottom area of ​​the field of view of the acquisition scene during use, and is used to seal the thermal imaging vision module when not in use to prevent it from being contaminated; An image processing unit is used to extract the hind leg area and the hock area based on the thermal imaging image read from the data storage module by the central computing unit, calculate the hock measurement area based on the cow leg width and the ordinate corresponding to the upper and lower boundaries of the hock area, judge whether the hock deformation occurs in the cow's leg in combination with the area growth tolerance interval, and judge whether there is inflammation and fever by comparing the maximum temperature and average temperature of the hock area, and then judge whether there is swelling of the cow's hock based on the hock deformation and the inflammation and fever to obtain the detection result; An RFID device interface, used to connect to a cow identification system to associate the cow identity with the detection result and store it in a data storage module; A display unit, used to display the detection results and the real-time images collected by the thermal imaging vision module in real time; The central computing unit is used to manage and coordinate the operation of each module; The method of extracting the hind leg area and the hock area from the thermal imaging image read from the data storage module by the central computing unit includes: graying and denoising the thermal imaging image in sequence, and using an edge detection algorithm to identify the contour of the cow's leg and extract the leg outer rectangle in multiple consecutive frames; determining the number of regions where the leg outer rectangle is divided by the cow's leg based on the leg image when the leg outer rectangle is the smallest, and screening the hind leg image with a region number of 3 to determine the hind leg area; analyzing the range of change in the horizontal width of the cow's leg in the hind leg area to determine the hock area; The comprehensive hock deformation and inflammation and fever conditions are used to determine whether the cow hock is swollen, and the test results are obtained, including: ,or ,or Determine whether there is swelling in the hock of a dairy cow; where, is the measured area of ​​the hock region; is the area of ​​the hock and , , , , are the vertex coordinates of the hock region; is the area growth tolerance interval and , is the difference between the maximum temperature and the average temperature in the hock region, It is the temperature difference threshold and its value is 1.64℃.

2. The cow hock swelling detection device according to claim 1, characterized in that: Also includes: The early warning unit is used to issue an audible and visual alarm when the detection result shows that the cow's hock is swollen or hot.

3. The cow hock swelling detection device according to claim 1, characterized in that: Also includes: The network communication module is installed in the chassis and supports wireless network connection. It connects to nearby wireless network hotspots through a wireless network interface and then connects to the cloud. It is used to transmit the detection results to a remote server or management system when the network is unobstructed, thereby realizing data sharing and remote monitoring.

4. The cow hock swelling detection device according to any one of claims 1 to 3, characterized in that: The chassis has IP68 waterproof and dustproof capabilities, and a glass window is provided on the main panel of the chassis to meet the needs of thermal imaging vision module collection.

5. A method for detecting swelling of a cow hock, characterized in that: Applied to the cow hock swelling detection device according to any one of claims 1 to 4, the cow hock swelling detection device is vertically placed at a fixed distance from a cow passage, and the cows pass through the passage in sequence, and the method comprises: The continuous thermal imaging images of the legs of each cow during walking are collected through the thermal imaging vision module and stored in the data storage module; Reading the thermal imaging image from the data storage module through the central computing unit; The hind leg area and the hock area are extracted from the thermal imaging image by an image processing unit, and the hock measurement area is calculated based on the cow leg width and the ordinate corresponding to the upper and lower boundaries of the hock area, and the hock deformation is judged in combination with the area growth tolerance interval, and the inflammation and fever are judged by comparing the maximum temperature and the average temperature of the hock area, and then the hock deformation and the inflammation and fever are comprehensively judged to determine whether the cow hock is swollen, and the detection result is obtained; The acquisition screen and the detection result of the thermal imaging visual module are displayed in real time through a display unit; wherein the acquisition area of ​​the thermal imaging visual module is adjusted by an adjustable field of view limiting baffle; the adjustable field of view limiting baffle is located at the upper and lower sides of the lens of the thermal imaging visual module, and is used to block interference from other high-temperature objects in the top area and / or bottom area of ​​the field of view of the acquisition during use, and is used to seal the thermal imaging visual module when not in use to prevent it from being contaminated; Connecting the cow identification system through the RFID device interface to determine the cow's identity, and associating the cow's identity with the detection result and storing them in a data storage module; The comprehensive hock deformation and inflammation and fever conditions are used to determine whether the cow hock is swollen, and the test results are obtained, including: ,or ,or Determine whether there is swelling in the hock of a dairy cow; where, is the measured area of ​​the hock region; is the area of ​​the hock and , , , , are the vertex coordinates of the hock region; is the area growth tolerance interval and , is the difference between the maximum temperature and the average temperature in the hock region, is the temperature difference threshold and its value is 1.64℃; The method of extracting the hind leg area and the hock area from the thermal imaging image comprises: graying and denoising the thermal imaging image in sequence, and using an edge detection algorithm to identify the contour of the cow's leg and extract the leg outer rectangle in multiple consecutive frames; determining the number of regions in which the leg outer rectangle is divided by the cow's leg based on the leg image when the leg outer rectangle is the smallest, and screening the hind leg image with a region number of 3 to determine the hind leg area; and analyzing the range of change in the horizontal width of the cow's leg in the hind leg area to determine the hock area.

6. The method according to claim 5, characterized in that The method further comprises: Determining whether the leg contour in the leg area is displayed completely; When the distances between the left side, the right side and the bottom of the leg outline and the edge of the image are all greater than 1 px, the determination of the hind leg area continues.

Citation Information

Patent Citations

  • Human body lower limb automatic measuring device and method

    CN102763923A

  • Dairy cow mastitis automatic detection method and system, storage medium and equipment

    CN114600793A

  • Thermal imager protection device

    CN220104293U

  • Early detection of inflammation and infection using infrared thermography

    WO2000057164A1