Automatic live pig counting device and use method thereof

By setting up a support structure and intelligent gimbal above the pig house, combined with a deep learning model, the design and implementation of the automatic pig counting device is realized, solving the problems of inefficient and insufficient accuracy of traditional manual counting, and achieving efficient and accurate pig counting.

CN119538964AInactive Publication Date: 2025-02-28BEIJING WUSHUI TECH CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202411595962.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-11
Publication Date
2025-02-28
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Traditional pig counting relies on manual labor, is inefficient and costly, and is limited by problems such as overlapping occlusion of pig herds, light fluctuations, similar appearance of pigs, shape deformation and obstacle occlusion, making it difficult to achieve accurate counting.

Method used

An automatic pig counting device is designed, including setting up support vertical rods and support cross rods above the pig house, electric slide rails and intelligent multi-degree of freedom gimbals. The server controls the movement and rotation of the electric slide rails, and realizes 360° without dead angles to capture the pig images in the pig house without dead angles, and recognizes and counts through deep learning models.

Benefits of technology

Automatic identification and accurate counting of pig populations in the pig house are realized. Through repeated statistics and comparison of data, the accuracy of statistical data is improved, labor costs are reduced, and the structure is simple and easy to use.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119538964A_ABST
    Figure CN119538964A_ABST
Patent Text Reader

Abstract

The invention discloses an automatic live pig counting device and a using method thereof.The automatic live pig counting device comprises a pig house and a counting device body and is characterized in that the counting device body is located over the pig house, a supporting vertical rod is arranged at the bottom of the counting device body, and a supporting transverse rod is arranged at the upper end of the supporting vertical rod; an electric sliding rail is arranged below the middle of the supporting cross rod, the automatic counting device is arranged below the electric sliding rail in a sleeving mode, and a sub-display screen is arranged over the middle of the supporting cross rod. In general, the system has the advantages of being simple in structure, convenient to use and capable of automatically recognizing the number of pigs in the pig house, and meanwhile statistical data can be more accurate through data repeated statistical comparison.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The patent of this invention belongs to the field of computer vision and pattern recognition, and in particular relates to an automatic pig counting device and its use method. Background Art

[0002] Pig counting is a critical task in large-scale livestock farming. Accurate pig counting can improve management of pig herds and piggery construction, helping farmers reduce unnecessary losses and further enhance the competitiveness of their farms.

[0003] Traditional agricultural methods rely on manual counting, relying entirely on the farmer's experience, resulting in low efficiency and high costs. In recent years, various methods have been widely used in the fields of agricultural and animal husbandry automation, but practical applications still face the following challenges: Occlusion caused by overlapping pig groups, light fluctuations, similar appearance of pigs, shape deformation, and occlusion by obstacles limit the use of traditional computer vision technology for pig counting tasks. Therefore, the development of a simple, easy-to-use automatic pig counting device that can automatically identify the number of pigs in a piggery and simultaneously improve the accuracy of statistical data through repeated statistical comparisons, as well as a method for its use, is of great significance.

[0004] Invention patent content

[0005] The purpose of this patent is to provide an automatic pig counting device and a method of using it, so as to solve the problem that traditional agricultural methods rely on manual counting, rely entirely on the experience of farmers, are inefficient, and have relatively high costs; therefore, it is of great application significance to develop an automatic pig counting device with a simple structure, easy to use, and capable of automatically identifying the number of pigs in a pig house, and at the same time making the statistical data more accurate through repeated statistical comparison of data, and a method of using it.

[0006] To achieve the above purpose, the technical solution provided by the present invention is:

[0007] A live pig automatic counting device comprises a pig house and a counting device body, wherein the counting device body is located directly above the pig house, a supporting vertical rod is provided at the bottom of the counting device body, a supporting horizontal rod is provided at the upper end of the supporting vertical rod, an electric slide rail is provided below the middle of the supporting horizontal rod, the automatic counting device is sleeved below the electric slide rail, and a sub-display screen is provided directly above the middle of the supporting horizontal rod.

[0008] Furthermore, the automatic counting device includes a sliding base, a connecting base and an intelligent multi-degree-of-freedom pan-tilt platform. The sliding base is sleeved on the outside of the electric slide rail, a connecting base is provided below the sliding base, and an intelligent multi-degree-of-freedom pan-tilt platform is provided below the connecting base.

[0009] Furthermore, the intelligent multi-degree-of-freedom pan-tilt platform is electrically connected to an intelligent control module provided in the server.

[0010] Furthermore, the sub-display screen is electrically connected to an intelligent control module provided in the server.

[0011] Furthermore, a position sensor is provided on the electric slide rail, and the position sensor is located in the longitudinal middle of the two supporting cross bars. The position sensor is electrically connected to the intelligent control module in the server.

[0012] Beneficial effects: The patent of the present invention arranges a supporting vertical rod above the pig house, a supporting horizontal rod is arranged at the upper end of the supporting vertical rod, and an electric slide is connected to the lower end of the middle part of the supporting horizontal rod. The automatic counting device is sleeved on the lower part of the electric slide and electrically connected to the server. The automatic counting device includes a sliding base, a connecting base and an intelligent multi-degree-of-freedom pan-tilt. During operation, the server controls the electric slide to start and drive the automatic counting device to move. A position sensor is arranged below the longitudinal middle part of the two supporting horizontal rods. When the automatic counting device touches the position sensor, it stops moving for 15S. At the same time, the server controls the intelligent multi-degree-of-freedom pan-tilt to rotate 360° and capture the image of the pigs in the pig house below, and transmits the image to the server for preprocessing. The electric slide is located in the middle of the supporting horizontal rod and also in the horizontal middle of the pig house. In addition, the position sensor is located in the longitudinal middle of the pig house. When the automatic counting device captures the image of the pigs in the pig house, it is located in the center of a single pig house, which can realize 360° dead-angle capture of a single pig house, effectively preventing omissions and improving the accuracy of pig counting. At the same time, the patent of the present invention has a simple structure and can effectively save costs.

[0013] A method for automatically counting live pigs, comprising the following steps: establishing a pig detection and counting model based on deep learning;

[0014] The server controls the electric slide rail to start and drive the sliding base to move longitudinally;

[0015] The automatic counting device will automatically stop for 15 seconds when it moves to the longitudinal middle of the two supporting crossbars;

[0016] The intelligent multi-DOF pan / tilt system automatically grabs the pigs in the pig house directly below;

[0017] The captured image is sent to the server for pre-processing;

[0018] The server automatically reads the image and identifies the number of pigs in the pig house;

[0019] The server controls the automatic counting device to continue moving forward and repeat the above steps;

[0020] When the automatic counting device reaches the bottom vertically, the server controls the automatic counting device to move in the reverse direction;

[0021] The automatic counting device will automatically stop for 15 seconds when it moves to the longitudinal middle of the two supporting crossbars;

[0022] The intelligent multi-DOF pan / tilt system automatically grabs the pigs in the pig house directly below;

[0023] The captured image is sent to the server for pre-processing;

[0024] The server automatically reads the image and identifies the number of pigs in the pig house;

[0025] The server compares the number of pigs recalculated for the same pig house with the number of pigs calculated last time;

[0026] When the comparison data are exactly the same, the quantity will be displayed on different screens respectively;

[0027] When the comparison data is different, the server control display screen will issue a red alarm;

[0028] When all the comparison data are completely consistent, the server will integrate the data and display the completed pig automatic calculation on the total counter.

[0029] Beneficial effects: 1. The present invention improves a pig counting method based on deep learning, detects and identifies real-time pig videos, and uses a pig counting model to conveniently extract the number of pigs, avoiding manual counting, reducing labor cost investment, improving counting efficiency, and avoiding errors;

[0030] 2. The mobile progressive shooting of the present invention avoids the blind spots of fixed cameras and improves the accuracy of pig counting. Secondly, by repeatedly grabbing and pre-processing the same pig house and comparing the extracted data of the same pig house, if the data grabbed before and after are the same, it is determined that the number of pigs in the pig house is grabbed accurately and displayed on the display screen. The statistical data can be made more accurate through repeated statistical comparison of data. In general, the patent of the present invention has the advantages of simple structure, easy use, automatic identification of the number of pigs in the pig house, and more accurate statistical data through repeated statistical comparison of data. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] Figure 1 This is a schematic diagram of the three-dimensional structure of the patent of this invention;

[0032] Figure 2 This is a schematic diagram of the three-dimensional structure of the other side of the patent of this invention;

[0033] Figure 3 This is a schematic diagram of the main structure of the patent of this invention;

[0034] Figure 4 This is a flowchart of the pig counting method of the present invention.

[0035] Figure numerals: 0, counting device body 1, pig house 2, supporting vertical rod 3, supporting horizontal rod 4, electric slide rail 5, sub-display screen 6, sliding base 7, connecting base 8, intelligent multi-degree-of-freedom pan / tilt head. DETAILED DESCRIPTION

[0036] The following is a further description of the embodiments of the present invention with reference to the accompanying drawings.

[0037] The specific implementation method of the present invention is as follows: Figure 1 、 Figure 2 、 Figure 3 、 Figure 4 As shown, the present invention provides an automatic pig counting device, including a pig house 1 and a counting device body 0, wherein the counting device body 0 is located directly above the pig house 1, a supporting vertical rod 2 is provided at the bottom of the counting device body 0, a supporting horizontal rod 3 is provided at the upper end of the supporting vertical rod 2, an electric slide rail 4 is provided below the middle of the supporting horizontal rod 3, the automatic counting device is sleeved below the electric slide rail 4, and a sub-display screen 5 is provided directly above the middle of the supporting horizontal rod 3;

[0038] By arranging a supporting vertical rod 2 above the pig house 1, a supporting horizontal rod 3 is arranged at the upper end of the supporting vertical rod 2, and an electric slide rail 4 is connected to the lower end of the middle part of the supporting horizontal rod 3. The automatic counting device is sleeved on the lower part of the electric slide rail 4 and is electrically connected to the server. The automatic counting device includes a sliding base 6, a connecting base 7 and an intelligent multi-degree-of-freedom pan-tilt 8. During operation, the server controls the electric slide rail 4 to start and drive the automatic counting device to move. A position sensor is arranged below the longitudinal middle part of the two supporting horizontal rods 3. When the automatic counting device touches the position sensor, it stops moving for 15S. At the same time, the server controls the intelligent multi-degree-of-freedom pan-tilt 8 to rotate 360° and capture the image of the pigs in the pig house below, and transmits the image to the server for preprocessing. The electric slide rail 4 is located in the middle of the supporting horizontal rod 3 and also in the horizontal middle part of the pig house. In addition, the position sensor is located in the longitudinal middle part of the pig house. The automatic counting device is located in the center of a single pig house when capturing the image of the pigs in the pig house.

[0039] like Figure 2 、 Figure 3 As shown, the automatic counting device includes a sliding base 6, a connecting base 7 and an intelligent multi-degree-of-freedom pan-tilt platform 8. The sliding base 6 is sleeved on the outside of the electric slide rail 4, and the connecting base 7 is provided below the sliding base 6. The intelligent multi-degree-of-freedom pan-tilt platform 8 is provided below the connecting base 7. By setting up the automatic counting device, the intelligent multi-degree-of-freedom pan-tilt platform 8 is provided at the bottom of the automatic counting device. The intelligent multi-degree-of-freedom pan-tilt platform 8 can capture images directly below, and can rotate 360° at the same time to capture the pig house directly below without dead angles, thereby improving the accuracy of pig counting.

[0040] The intelligent multi-degree-of-freedom pan-tilt platform 8 is electrically connected to the intelligent control module provided in the server.

[0041] The sub-display screen 5 is electrically connected to the intelligent control module provided in the server.

[0042] like Figure 1 As shown, a position sensor is provided on the electric slide rail 4, and the position sensor is located in the longitudinal middle of the two supporting cross bars 3. The position sensor is electrically connected to the intelligent control module in the server; by arranging a position sensor on the electric slide rail 4, the position sensor is located in the longitudinal middle of the two supporting cross bars 3, and the automatic counting device starts the grasping function when it moves to the longitudinal middle of the supporting cross bars 3, and the image of the pig house directly below is captured through the intelligent multi-degree-of-freedom pan-tilt head 8. The intelligent multi-degree-of-freedom pan-tilt head 8 is located in the middle of the two supporting cross bars 3, which can realize the grasping of the pig house directly below without dead angles, thereby improving the accuracy of pig counting.

[0043] A method for automatically counting live pigs, comprising the following steps: establishing a pig detection and counting model based on deep learning;

[0044] The server controls the electric slide rail to start and drive the sliding base to move longitudinally;

[0045] The automatic counting device will automatically stop for 15 seconds when it moves to the longitudinal middle of the two supporting crossbars;

[0046] The intelligent multi-DOF pan / tilt system automatically grabs the pigs in the pig house directly below;

[0047] The captured image is sent to the server for pre-processing;

[0048] The server automatically reads the image and identifies the number of pigs in the pig house;

[0049] The server controls the automatic counting device to continue moving forward and repeat the above steps;

[0050] When the automatic counting device reaches the bottom vertically, the server controls the automatic counting device to move in the reverse direction;

[0051] The automatic counting device will automatically stop for 15 seconds when it moves to the longitudinal middle of the two supporting crossbars;

[0052] The intelligent multi-DOF pan / tilt system automatically grabs the pigs in the pig house directly below;

[0053] The captured image is sent to the server for pre-processing;

[0054] The server automatically reads the image and identifies the number of pigs in the pig house;

[0055] The server compares the number of pigs recalculated for the same pig house with the number of pigs calculated last time;

[0056] When the comparison data are exactly the same, the quantity will be displayed on different screens respectively;

[0057] When the comparison data is different, the server control display screen will issue a red alarm;

[0058] When all the comparison data are completely consistent, the server will integrate the data and display the completed pig automatic calculation on the total counter.

[0059] When the patent of the present invention is implemented: first, an initial pig image data set is obtained, and the initial pig image data set is preprocessed to obtain a preprocessed pig image data set; a model is established based on deep learning, and the preprocessed pig image data set is input into the model for training to obtain a pig counting model; the server is started to control the electric slide 4 to start and drive the sliding base 6 to move longitudinally; when the automatic counting device moves to the longitudinal middle of the two supporting cross bars 3, it touches the position sensor, and the position sensor transmits the signal to the server, and the server controls the automatic counting device to automatically stay for 15S; the server controls the intelligent multi-degree-of-freedom pan-tilt head 8 to automatically grab the pigs in the pig house directly below; the grabbed image is automatically transmitted to the server for preprocessing; the server automatically reads the image and identifies the number of pigs in the pig house; the server controls the automatic counting device to continue moving forward and repeats the above steps; when the automatic counting device reaches the bottom longitudinally, the server controls the automatic counting device to stop automatically for 15S; The server controls the automatic counting device to move in the reverse direction; the automatic counting device automatically stops for 15 seconds when it moves to the longitudinal middle of the two supporting cross bars 3; the intelligent multi-degree-of-freedom pan-tilt head 8 automatically grabs the pigs in the pig house directly below; the grabbed image is transmitted to the server for preprocessing; the server automatically reads the image and identifies the number of pigs in the pig house; the server compares the number of pigs recalculated for the same pig house with the number of pigs calculated last time; when the comparison data are exactly the same, the number is displayed on different sub-display screens 5 respectively; when the comparison data are different, the server controls the sub-display screen 5 to issue a red alarm; when all the comparison data completely overlap, the server integrates the data and displays it on the total counter to complete the automatic counting of the pigs; in general: the patent of the present invention has the advantages of simple structure, easy use, automatic identification of the number of pigs in the pig house, and more accurate statistical data through repeated statistical comparison of data.

[0060] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and are not limiting. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solutions of the present invention may be modified or replaced by equivalents without departing from the purpose and scope of the technical solutions of the present invention, and all of these should be included in the scope of the claims of the present invention.

Claims

1. An automatic pig counting device, comprising a pig house (1) and a counting device body (0), characterized in that: The counting device body (0) is located directly above the pig house (1); a supporting vertical rod (2) is arranged at the bottom of the counting device body (0); a supporting horizontal rod (3) is arranged at the upper end of the supporting vertical rod (2); an electric slide rail (4) is arranged below the middle of the supporting horizontal rod (3); an automatic counting device is sleeved below the electric slide rail (4); and a sub-display screen (5) is arranged directly above the middle of the supporting horizontal rod (3).

2. The automatic pig counting device according to claim 1, characterized in that: The automatic counting device comprises a sliding base (6), a connecting base (7) and an intelligent multi-degree-of-freedom pan-tilt platform (8), wherein the sliding base (6) is sleeved on the outside of an electric slide rail (4), a connecting base (7) is arranged below the sliding base (6), and an intelligent multi-degree-of-freedom pan-tilt platform (8) is arranged below the connecting base (7).

3. The automatic pig counting device according to claim 2, characterized in that: The intelligent multi-degree-of-freedom pan / tilt platform (8) is electrically connected to an intelligent control module arranged in the server.

4. The automatic pig counting device according to claim 1, characterized in that: The sub-display screen (5) is electrically connected to an intelligent control module arranged in the server.

5. The automatic pig counting device according to claim 1, characterized in that: A position sensor is provided on the electric slide rail (4), and the position sensor is located in the longitudinal middle of the two supporting cross bars (3). The position sensor is electrically connected to the intelligent control module in the server.

6. A method for automatically counting live pigs, characterized in that: The method comprises the following steps: establishing a pig detection and counting model based on deep learning; The server controls the electric slide rail to start and drive the sliding base to move longitudinally; The automatic counting device automatically stops for 15 seconds when it moves to the longitudinal middle of the two supporting crossbars; The intelligent multi-DOF pan / tilt system automatically grabs the pigs in the pig house directly below; The captured images are sent to the server for preprocessing; The server automatically reads the image and identifies the number of pigs in the pig house; The server controls the automatic counting device to continue moving forward and repeat the above steps; When the automatic counting device reaches the bottom vertically, the server controls the automatic counting device to move in the reverse direction; The automatic counting device automatically stops for 15 seconds when it moves to the longitudinal middle of the two supporting crossbars; The intelligent multi-DOF pan / tilt system automatically grabs the pigs in the pig house directly below; The captured images are sent to the server for pre-processing; The server automatically reads the image and identifies the number of pigs in the pig house; The server compares the number of pigs recalculated for the same pig house with the number of pigs calculated last time; When the comparison data are exactly the same, the quantity will be displayed on different display screens respectively; When the comparison data is different, the server control display screen will issue a red alarm; When all the comparison data completely coincide, the server integrates the data and displays the completed pig automatic calculation on the total counter.

Citation Information

Patent Citations

  • Automatic material slice counting device

    CN102456155A

  • Diaphragm automatic detection system for hydrogen diaphragm compressor

    CN115290665A

  • Automatic counting device for live pigs

    CN217787784U

  • Live pig counting device based on computer vision

    CN221427135U

  • KR20240133322A