A dairy cow classification system based on body condition score

The depth image acquisition and calculation module is used to calculate the body condition score of cows, which solves the problem of time-consuming and highly subjective manual scoring and achieves objectivity and accuracy of body condition score of cows.

CN114821172BActive Publication Date: 2024-10-15NINGXIA CHUANGYAOXIN TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210453486.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-04-27
Publication Date
2024-10-15
Estimated Expiration
2042-04-27

AI Technical Summary

Technical Problem

The existing body condition scoring of dairy cows relies on manual judgment, which is time-consuming and highly subjective, affecting the accuracy of the scoring.

Method used

The depth image acquisition module is used to obtain the depth image of the cow's back, mark the key points, calculate the body condition score through the calculation module, and use the depth information and plane information to conduct objective and convenient body condition score.

Benefits of technology

It achieves the objectivity and convenience of body condition scoring of dairy cows, improves the accuracy and efficiency of scoring, and reduces the influence of manual subjective factors.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114821172B_ABST
    Figure CN114821172B_ABST
Patent Text Reader

Abstract

A dairy cow classification system based on body condition scoring comprises a dairy cow body condition evaluation device, wherein the dairy cow body condition evaluation device comprises a depth image acquisition module, a marking module, a first extraction module, a second extraction module, a calculation module, and an evaluation module, wherein the depth image acquisition module is used to acquire a back depth image reflecting the back contour of the dairy cow from above the dairy cow, the marking module is used to mark a number of key points on the back depth image, the first extraction module is used to read the plane information of each key point on the back depth image, the second extraction module is used to read the depth information of the key points on the back depth image, the calculation module and the evaluation module obtain the dairy cow body condition score according to Formula 1 or Formula 2, and compare the V point with the midpoint between the pelvic point and the rear hip point as the standard. The applicant has found that the distance ratio between the V point and the midpoint is used as the dairy cow body condition score benchmark, which is both objective and convenient.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of dairy cow breeding facilities, and in particular to a dairy cow classification system based on body condition scoring. Background Art

[0002] The intensive and large-scale development of the dairy farming industry has been achieved. Scientific management methods are the cornerstone of intensive and large-scale development. For example, classified management, and different breeding according to the different physical conditions of dairy cows.

[0003] In the prior art, the physical condition of dairy cows is judged manually, that is, professionally trained scorers with relevant scoring experience observe and analyze the relevant parts of dairy cows and give scores. The scoring adopts a 5-point system, where low scores indicate thinness and high scores indicate obesity, with 0.25 as the scoring unit. After the physical condition scoring is completed manually, the dairy cows are grouped and raised according to the scores. The traditional manual scoring method is not only time-consuming, but also the subjective factors of the scorers will affect the accuracy of the scoring. Summary of the invention

[0004] In view of this, it is necessary to propose an objective and convenient dairy cow classification system based on body condition scoring to address the above shortcomings.

[0005] A cow classification system based on body condition scoring comprises a cow body condition evaluation device, wherein the cow body condition evaluation device comprises a depth image acquisition module, a marking module, a first extraction module, a second extraction module, a calculation module, and an evaluation module, wherein the depth image acquisition module is used to acquire a back depth image reflecting the back contour of the cow from above the cow, and provide the back depth image to the marking module, and the marking module is used to mark a number of key points Body_d, Body_c, Body_h, Body_g, Body_f, and Body_e on the back depth image, wherein Body_d and Body_c are two points of the cow's pelvis, Body_h and Body_g are two points of the cow's hind hip, and Body_f and Body_e are two V points of the cow. The V point is a point between the sacrum and the ischium, and is located above the cow's hind legs. The first extraction module is used to read the plane information of each key point on the back depth image, the plane information is the X coordinate and Y coordinate of the key point, and the plane information of each key point is provided to the calculation module. The second extraction module is used to read the depth information of the key point on the back depth image, the depth information is the Z coordinate of the key point, and the depth information of each key point is provided to the calculation module. The calculation module is used to calculate the Z coordinate of the midpoint Body_f' of the line connecting the two points Body_d and Body_h and the Z coordinate of the midpoint Body_e' of the line connecting the two points Body_c and Body_g. The evaluation module obtains the body condition score BCS of the dairy cow according to Formula 1 or Formula 2.

[0006]

[0007]

[0008] Where δ is the correction coefficient, |Z e | is the absolute value of the Z coordinate of the key point Body_e, |Z e′ | is the absolute value of the Z coordinate of the key point Body_e′, |Z f | is the absolute value of the Z coordinate of the key point Body_f, |Z f′ | is the absolute value of the Z coordinate of the key point Body_f′.

[0009] Preferably, the cow classification system based on body condition scoring also includes a weighing channel, a weighing device, and a classification channel. The weighing device is arranged in the weighing channel and is used to weigh the weight of the cow in the weighing channel. The outlet of the weighing channel is connected to the entrance of the classification channel. The classification channel includes a first classification port, a second classification port, and a third classification port. A left classification door is arranged at the second classification port, and a right classification door is arranged at the third classification port. The left classification door is opened, the first classification port and the third classification port are closed, the second classification port is opened, the right classification door is opened, the first classification port and the second classification port are closed, the third classification port is opened, the left classification door and the right classification door are closed, the first classification port is opened, and the second classification port and the third classification port are closed.

[0010] Preferably, the weighing channel includes a weighing fence and a door frame, and the door frame is connected to the weighing fence. The cow classification system based on body condition scoring also includes a revolving door mechanism, and the revolving door mechanism is arranged at the exit of the weighing channel or the entrance of the weighing channel. The revolving door mechanism includes a door body, a pull rod, and a slider. The door body is rotatably connected to the door frame, one end of the pull rod is rotatably connected to the door body, and the other end of the pull rod is rotatably connected to the slider, and the slider can reciprocate in a straight line along the length direction of the weighing fence.

[0011] Preferably, the revolving door mechanism also includes a guiding mechanism, which includes an arc-shaped guide rail, a roller frame, and a roller group. The arc-shaped guide rail is fixed on the door frame, the roller frame is rotatably connected to the pull rod, the roller frame is connected to the door body, the roller group is arranged on the roller frame, the roller group is rotatably connected to the roller frame, and the roller group and the arc-shaped guide rail are rollingly matched.

[0012] Preferably, the guiding mechanism also includes a linear reciprocating drive mechanism, which includes a casing, a screw rod, and a motor. The casing is fixed on the door frame, the slider is slidably matched with the casing, the screw rod is rotatably connected to the casing, a screw hole is provided on the slider, and the screw rod is threadedly connected to the screw hole so as to drive the slider to move linearly back and forth along the casing through the rotation of the screw rod. The motor is fixed on the casing, and the output end of the motor is coaxially connected to the screw rod.

[0013] Preferably, the cow classification system based on body condition scoring further comprises a cow clamping mechanism, which comprises two relatively parallel clamping plates and a cow clamping assembly, and the cow clamping assembly drives the two clamping plates to synchronously move closer to or farther from each other.

[0014] Preferably, the cow clamping assembly includes a first support rod, a second support rod, a sliding rod, a first sliding seat, a second sliding seat, a first connecting rod, a third connecting rod, a fourth connecting rod, a fifth connecting rod, a sixth connecting rod, a seventh connecting rod, and a ninth connecting rod. The first support rod and the second support rod are fixed to the door frame, and the two ends of the sliding rod are respectively connected to the first support rod and the second support rod. The first sliding seat and the second sliding seat can move along the sliding rod. Two clamping plates are respectively fixed to the first sliding seat and the second sliding seat. One end of the first connecting rod is rotatably connected to the first sliding seat, and the other end of the first connecting rod is connected to one end of the third connecting rod. Rotationally connected, the other end of the third connecting rod is rotationally connected to the first support rod, one end of the fourth connecting rod is fixedly connected to an end of the third connecting rod close to the first support rod, the other end of the fourth connecting rod is rotationally connected to one end of the fifth connecting rod, the other end of the fifth connecting rod is rotationally connected to one end of the sixth connecting rod, the other end of the sixth connecting rod is rotationally connected to the second support rod, one end of the seventh connecting rod is fixedly connected to an end of the sixth connecting rod close to the second support rod, the other end of the seventh connecting rod is rotationally connected to one end of the ninth connecting rod, and the other end of the ninth connecting rod is rotationally connected to the second slide seat.

[0015] Preferably, the cow clamping assembly further comprises a pressure rod, one end of which is fixedly connected to the middle portion of the seventh connecting rod, and the other end of which is a free end.

[0016] Preferably, the cow classification system based on body condition scoring also includes a self-locking mechanism. A long hole is provided on the weighing fence, and a plurality of self-locking mechanisms are provided in the long hole. The self-locking mechanisms are evenly distributed along the length direction of the long hole. After the self-locking mechanism is subjected to force, it can rotate unidirectionally relative to the weighing fence, and the self-locking mechanism can automatically reset when it is not subjected to force.

[0017] Preferably, the self-locking mechanism includes a fixed column, a rotating handle, and a reset spring. The fixed column is fixedly mounted on the weighing fence at the upper part of the elongated hole. The lower end of the rotating handle is rotatably connected to the weighing fence at the lower part of the elongated hole. The upper end of the rotating handle extends to a height exceeding the horizontal height of the fixed column. One end of the reset spring is fixedly connected to the weighing fence, and the other end of the reset spring is fixedly connected to the rotating handle.

[0018] Compared with the prior art, the present invention has the following beneficial effects:

[0019] A back depth image reflecting the back contour of the cow is stably obtained from above the cow using a depth image acquisition module. According to the key points that can reflect the characteristics of the cow's back summarized in actual production, the corresponding key points are marked from the back depth image. The midpoint between body_c, body_g or body_d, body_h is used as the standard, and the body_e point or body_f point is compared with the midpoint. The applicant found that the ratio of the distance between the body_e point or body_f point and the midpoint is used as the benchmark for the body condition scoring of the cow, which is both objective and convenient. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] Figure 1 This is a schematic diagram of the functional modules of the cattle body condition evaluation device.

[0021] Figure 2 This is an example of the installation position of the depth image acquisition module.

[0022] Figure 3 Schematic diagram for determining key points of a depth image of a cow's back.

[0023] Figure 4 An axonometric diagram of the body condition score-based dairy cow classification system.

[0024] Figure 5 It is an axonometric view of the revolving door mechanism.

[0025] Figure 6 It is a partial view of the revolving door mechanism.

[0026] Figure 7 This is an axonometric view of the clamping mechanism at a first angle.

[0027] Figure 8 This is an axonometric view of the clamping mechanism at a second angle.

[0028] Fig. 9 It is an axonometric view of the clamp self-locking mechanism.

[0029] In the figure: weighing channel 10, weighing fence 11, door frame 12, weighing device 20, classification channel 30, left classification door 31, right classification door 32, external channel 40, revolving door mechanism 50, door body 51, pull rod 52, slider 53, guide mechanism 54, arc guide rail 541, roller frame 542, roller group 543, linear reciprocating drive mechanism 55, housing 551, screw rod 552, motor 553, cow clamping mechanism 60, clamping plate 61, cow clamping assembly 62, first support rod 621, second support rod 622, slide rod 623, first slide seat 624, second slide seat 625, first connecting rod 62 6. The third connecting rod 627, the fourth connecting rod 628, the fifth connecting rod 629, the sixth connecting rod 6210, the seventh connecting rod 6211, the ninth connecting rod 6212, the second connecting rod 6213, the eighth connecting rod 6214, the tenth connecting rod 6214, the eleventh connecting rod 6215, the pressing rod 6216, the self-locking mechanism 70, the fixing column 71, the rotating handle 72, the reset spring 73, the cow body condition evaluation device 80, the depth image acquisition module 81, the marking module 82, the first extraction module 83, the second extraction module 84, the calculation module 85, the evaluation module 86, the classification door opening and closing control module 87, and the weight judgment classification module 88. DETAILED DESCRIPTION

[0030] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following briefly introduces the drawings required for use in the embodiments. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0031] See also Figure 1The embodiment of the present invention provides a cow classification system based on body condition scoring, including a cow body condition evaluation device 80, which includes a depth image acquisition module 81, a marking module 82, a first extraction module 83, a second extraction module 84, a calculation module 85, and an evaluation module 86. The depth image acquisition module 81 is used to acquire a back depth image reflecting the back contour of the cow from above the cow, and provide the back depth image to the marking module 82. The marking module 82 is used to mark several key points Body_d, Body_c, Body_h, Body_g, Body_f, and Body_e on the back depth image, wherein Body_d and Body_c are two points of the cow's pelvis, Body_h and Body_g are two points of the cow's hind hip, and Body_f, Body_e is two V points of the cow, and the V point is a point between the sacrum and the ischium, and is located above the cow's hind legs. The first extraction module 83 is used to read the plane information of each key point on the back depth image, and the plane information is the X coordinate and Y coordinate of the key point, and provide the plane information of each key point to the calculation module 85. The second extraction module 84 is used to read the depth information of the key points on the back depth image, and the depth information is the Z coordinate of the key point, and provide the depth information of each key point to the calculation module 85. The calculation module 85 is used to calculate the Z coordinate of the midpoint Body_f' of the line connecting the two points Body_d and Body_h and the Z coordinate of the midpoint Body_e' of the line connecting the two points Body_c and Body_g. The evaluation module 86 obtains the body condition score BCS of the cow according to Formula 1 or Formula 2.

[0032]

[0033]

[0034] Where δ is the correction coefficient, |Z e | is the absolute value of the Z coordinate of the key point Body_e, |Z e′ | is the absolute value of the Z coordinate of the key point Body_e′, |Z f | is the absolute value of the Z coordinate of the key point Body_f, |Z f′ | is the absolute value of the Z coordinate of the key point Body_f′.

[0035] In Formula 1 or Formula 2, δ is an empirical value determined by the staff in actual production based on actual production experience.

[0036] Coordinates of Body_f′, Body_e′:

[0037] The depth image acquisition module 81 can retrieve the depth image taken by the depth camera. The depth camera is used to take the back depth image of the cow's back contour from above the cow. The reference point of the Z coordinate of the key point is the horizontal height of the depth camera. Please refer to Figure 2 , place the depth camera just above the center of the cow's back, collect the depth image of the cow's back, and mark the key points of the back depth image through CocoAnnotator, such as Figure 3 As shown, Body_i is the cow's head, Body_l is the cow's neck, Body_j is the coccyx, Body_k is the spine, and Body_a and Body_b are two points on the cow's front hip bones. The key point regression and relationship regression are performed through the DCNv2 network to obtain the key point prediction model. The prediction model is loaded through OpenCV, and the key point detection algorithm is used to obtain the key point coordinates X and Y. The key coordinates and depth image data are used to obtain the depth value data of the key points, thereby obtaining the key point coordinates X, Y, and Z. After obtaining the above data, verify the legitimacy of the data and correct the error data.

[0038] In addition to obtaining the cow's body condition score BCS through the above formula 1 or formula 2, the cow's body shape data can also be calculated, such as obtaining the cow's height data through body_k, obtaining the cow's body length data through body_i and body_j, obtaining the cow's body width data through body_c and body_d, obtaining the front span width data through body_a and body_b, and obtaining the back span width data through body_g and body_h.

[0039] The cow body condition evaluation device 80 can be a microcomputer capable of processing data. The cow body condition evaluation device 80 runs a computer application program for acquiring back depth images and completing body condition scoring (BCS) functions, thereby generating the above functional modules. In other embodiments, the above functions of the cow body condition evaluation device 80 can also be implemented through hardware logic circuits and embedded codes.

[0040] Compared with the prior art, the present invention has the following beneficial effects:

[0041] The depth image acquisition module 81 is used to stably acquire a back depth image reflecting the back contour of the cow from above. According to the key points that can reflect the characteristics of the cow's back summarized in actual production, the corresponding key points are marked from the back depth image. The midpoint between body_c, body_g or body_d, body_h is used as the standard, and the body_e point or body_f point is compared with the midpoint. The applicant has found that the ratio of the distance between the body_e point or body_f point and the midpoint is used as the benchmark for the body condition scoring of the cow, which is both objective and convenient.

[0042] See also Figure 4 Furthermore, the cow classification system based on body condition scoring also includes a weighing channel 10, a weighing device 20, and a classification channel 30. The weighing device 20 is arranged in the weighing channel 10 and is used to weigh the weight of the cow in the weighing channel 10. The outlet of the weighing channel 10 is connected to the entrance of the classification channel 30. The classification channel 30 includes a first classification port, a second classification port, and a third classification port. A left classification door 31 is arranged at the second classification port, and a right classification door 32 is arranged at the third classification port. The left classification door 31 is opened, the first classification port and the third classification port are closed, the second classification port is opened, the right classification door 32 is opened, the first classification port and the second classification port are closed, the third classification port is opened, the left classification door 31 and the right classification door 32 are closed, the first classification port is opened, and the second classification port and the third classification port are closed. The left classification door 31 and the right classification door 32 are driven to open or close respectively by an electric mechanism.

[0043] Embodiment 1: The dairy cow body condition evaluation device 80 further includes a classification gate opening and closing control module 87, which controls the classification gate according to the body condition score BCS calculated by the evaluation module 86 and the pre-stored reference table, as shown in Table 1. The reference table includes a reference body condition score BCS column and a classification gate corresponding to the reference body condition score BCS column.

[0044] Table 1 Benchmark table

[0045] BCS Classification door opening combination method Classification Less than 3 The left classification door 31 is open and the right classification door 32 is closed Second category Greater than or equal to 3 The left classification door 31 is closed and the right classification door 32 is opened The third category

[0046] For example, if the classification gate opening and closing control module 87 obtains a BCS of 3, 3.5, 3.75, or 4, the cow is thin, and the second classification gate is opened; if the classification gate opening and closing control module 87 obtains a BCS of 2.5 or 2.75, the cow is sick, and the third classification gate is opened.

[0047] Embodiment 2: The cow body condition evaluation device 80 further includes a weight judgment and classification module 88. The weighing device 20 provides the weight data of the cow in the weighing channel to the weight judgment and classification module 88. The weight judgment and classification module 88 controls the start and stop signals according to the weight data provided by the weighing device 20 and the pre-stored weight classification table, and thus the operation or non-operation of the depth image acquisition module 81, as shown in Table 2. The weight classification table includes a weight column and a start and stop signal corresponding to the weight column.

[0048] Table 2 Weight classification table

[0049] weight Depth image acquisition module 81 Start-stop signal Less than 1000 kg run 1 Greater than or equal to 1000 kg Not running 0

[0050] For example, if the weight of a cow is 1200 kg, the cow is fat, the depth image acquisition module 81 obtains the start signal 0 and does not run; if the weight of a cow is 800 kg, the depth image acquisition module 81 obtains the start signal 1 and runs. For fat cows, it is not necessary to calculate BCS for classification, the depth image acquisition module 81 does not run, the first classification port is opened, and the cows directly enter the first classification port to improve classification efficiency. Only for thin cows, the BCS is calculated, the depth image acquisition module 81 runs, the marking module 82, the first extraction module 83, the second extraction module 84, the calculation module 85, and the evaluation module 86 run in sequence to determine whether there are sick cows. Sick cows enter the third classification port, and the remaining cows enter the second classification port.

[0051] The cow classification system based on body condition scoring also includes an external channel 40, the outlet of which is connected to the entrance of the weighing channel 10. The weighing channel 10 is composed of two weighing fences 11 arranged in parallel, and a side door is arranged on the weighing fence 11, and the side door is installed in a press-in manner. A first cow foot pedal is arranged at the bottom of the weighing channel 10, and an electronic scale can be arranged on the first cow foot pedal, or the cow foot pedal itself is used as an electronic scale, and the weight of the cow is displayed in real time through a display arranged outside the weighing channel 10. The classification channel 30 is composed of two classification fences arranged in parallel. The external channel 40 is composed of two external fences arranged in parallel. A second cow foot pedal is arranged at the bottom of the classification channel 30, an entrance foot pedal is arranged at the entrance of the weighing channel 10, and an exit foot pedal is arranged at the exit of the classification channel 30.

[0052] See also Figure 4 and Figure 5 Further, the weighing channel 10 includes a weighing fence 11 and a door frame 12, and the door frame 12 is connected to the weighing fence 11. The cow classification system based on body condition scoring also includes a revolving door mechanism, which is arranged at the exit of the weighing channel 10 or the entrance of the weighing channel 10. The revolving door mechanism includes a door body 51, a pull rod 52, and a slider 53. The door body 51 is rotatably connected to the door frame 12, one end of the pull rod 52 is rotatably connected to the door body 51, and the other end of the pull rod 52 is rotatably connected to the slider 53. The slider 53 can move back and forth in a straight line along the length direction of the weighing fence 11.

[0053] See also Figure 5 and Figure 6 Further, the revolving door mechanism also includes a guiding mechanism 54, which includes an arcuate guide rail 541, a roller frame 542, and a roller group 543. The arcuate guide rail 541 is fixed on the door frame 12, the roller frame 542 is rotatably connected to the pull rod 52, the roller frame 542 is connected to the door body 51, the roller group 543 is arranged on the roller frame 542, the roller group 543 is rotatably connected to the roller frame 542, and the roller group 543 and the arcuate guide rail 541 are rollingly matched.

[0054] The roller assembly 543 is a roller body with two axes arranged in parallel, and the two roller bodies are in contact with two sides of the arc guide rail 541 respectively.

[0055] See also Figure 5 Further, the guiding mechanism 54 also includes a linear reciprocating driving mechanism 55, which includes a housing 551, a screw rod 552, and a motor 553. The housing 551 is fixed on the door frame 12, the slider 53 is slidably matched with the housing 551, the screw rod 552 is rotatably connected to the housing 551, a screw hole is provided on the slider 53, and the screw rod 552 is threadedly connected to the screw hole, so that the screw rod 552 is rotationally driven to drive the slider to move linearly back and forth along the housing 551, and the motor 553 is fixed on the housing 551, and the output end of the motor 553 is coaxially connected to the screw rod 552.

[0056] The drive mode of the screw rod 552 is adopted, which has lower noise than the cylinder and can prevent the cows from being frightened.

[0057] See also Figure 7 and Figure 8 Furthermore, the cow classification system based on body condition score also includes a cow clamping mechanism 60, which includes two relatively parallel clamping plates 61 and a cow clamping assembly 62, and the cow clamping assembly 62 drives the two clamping plates 61 to synchronously approach or move away from each other.

[0058] See also Figure 7 and Figure 8Further, the cow clamping assembly 62 includes a first support rod 621, a second support rod 622, a sliding rod 623, a first sliding seat 624, a second sliding seat 625, a first connecting rod 626, a third connecting rod 627, a fourth connecting rod 628, a fifth connecting rod 629, a sixth connecting rod 6210, a seventh connecting rod 6211, and a ninth connecting rod 6212. The first support rod 621 and the second support rod 622 are fixed on the door frame 12, and both ends of the sliding rod 623 are respectively connected to the first support rod 621 and the second support rod 622. The first sliding seat 624 and the second sliding seat 625 can move along the sliding rod 623. The two clamping plates 61 are respectively fixed on the first sliding seat 624 and the second sliding seat 625. One end of the first connecting rod 626 is rotatably connected to the first sliding seat 624. The first connecting rod 626 The other end is rotatably connected to one end of the third connecting rod 627, the other end of the third connecting rod 627 is rotatably connected to the first support rod 621, one end of the fourth connecting rod 628 is fixedly connected to one end of the third connecting rod 627 close to the first support rod 621, the other end of the fourth connecting rod 628 is rotatably connected to one end of the fifth connecting rod 629, the other end of the fifth connecting rod 629 is rotatably connected to one end of the sixth connecting rod 6210, the other end of the sixth connecting rod 6210 is rotatably connected to the second support rod 622, one end of the seventh connecting rod 6211 is fixedly connected to one end of the sixth connecting rod 6210 close to the second support rod 622, the other end of the seventh connecting rod 6211 is rotatably connected to one end of the ninth connecting rod 6212, and the other end of the ninth connecting rod 6212 is rotatably connected to the second slide seat 625.

[0059] In one embodiment, the first support rod 621 and the second support rod 622 are parallel to each other. There are two groups of clamping mechanisms, and the two groups of clamping mechanisms are connected by the second connecting rod 6212, the eighth connecting rod 6213, the tenth connecting rod 6214, and the eleventh connecting rod 6215. Specifically, the first connecting rod 626 and the third connecting rod 627 of the two clamping mechanisms are both rotatably connected to the second connecting rod 6212, the seventh connecting rod 6211 and the ninth connecting rod 6212 of the two clamping mechanisms are both rotatably connected to the eighth connecting rod 6213, the fourth connecting rod 628 and the fifth connecting rod 629 of the two clamping mechanisms are both rotatably connected to the tenth connecting rod 6214, and the fifth connecting rod 629 and the sixth connecting rod 6210 of the two clamping mechanisms are both rotatably connected to the eleventh connecting rod 6215.

[0060] There are two slide bars 623 matched with the first slide seat 624 or the second slide seat 625, and the two slide bars 623 are parallel to each other. There are eight rollers arranged in each first slide seat 624 or the second slide seat 625, and there are four rollers corresponding to one slide bar 623. The four rollers are divided into two groups, one group is arranged above and one group below the slide bar 623, and the axes of the two rollers in each group are parallel to each other. The above design ensures more stable operation.

[0061] The clamping plate 61 is composed of a rectangular frame and horizontal and vertical bars fixed in the rectangular frame, wherein the upper part of the rectangular frame is designed as a row of vertical bars, and the upper part of the rectangular frame is designed as a horizontal bar, the length of the horizontal bar is in the horizontal direction, the length of the vertical bar is in the vertical direction, and there is a distance of at least 10 mm between the horizontal bars, and the vertical bar part is tightened above the cow's legs. If the part tightened above the cow's legs is designed as a horizontal bar, the protruding part of the cow's body may be pressed on the horizontal bar, resulting in an increase in the weighing error of the cow's weight data.

[0062] See also Figure 7 and Figure 8 Furthermore, the cow clamping assembly 62 also includes a pressure rod 6216, one end of the pressure rod 6216 is fixedly connected to the middle part of the seventh connecting rod 6211, and the other end of the pressure rod 6216 is a free end.

[0063] See also Fig. 9 Furthermore, the cow classification system based on body condition scoring also includes a self-locking mechanism 70. A long hole is provided on the weighing fence 11, and a plurality of self-locking mechanisms 70 are provided in the long hole. The self-locking mechanisms 70 are evenly distributed along the length direction of the long hole. After the self-locking mechanism 70 is subjected to force, it can rotate unidirectionally relative to the weighing fence 11, and the self-locking mechanism 70 can automatically reset when no force is applied.

[0064] See also Fig. 9 Furthermore, the self-locking mechanism 70 includes a fixed column 71, a rotating handle 72, and a reset spring 73. The fixed column 71 is fixedly mounted on the weighing fence 11 at the upper part of the long hole. The lower end of the rotating handle 72 is rotatably connected to the weighing fence 11 at the lower part of the long hole. The upper end of the rotating handle 72 extends to a height exceeding the horizontal height of the fixed column 71. One end of the reset spring 73 is fixedly connected to the weighing fence 11, and the other end of the reset spring 73 is fixedly connected to the rotating handle 72.

[0065] See also Fig. 9 Furthermore, the self-locking mechanism 70 also includes a push rod, which passes through the long holes on the two weighing fences 11 and is located between the two rotating handles 72.

[0066] How to use the body condition score based dairy cow classification system:

[0067] The revolving door mechanism on one side of the weighing channel 10 is opened, and the cow enters the weighing channel 10;

[0068] Close the revolving door mechanism, press the lever 6216, and the cow is fixed by the clamp 61;

[0069] The cow body condition evaluation device 80 obtains the cow's weight data and BCS data, and opens the corresponding classification gate according to the predetermined evaluation criteria;

[0070] The push rod is passed through the two long holes and moved forward, the rotating handle 72 is rotated, the push rod moves forward one position, and the rotating handle 72 is reset to drive the cow out of the weighing channel 10 to the classification channel 30.

[0071] The modules or units in the device of the embodiment of the present invention may be combined, divided or deleted according to actual needs.

[0072] What is disclosed above is only a preferred embodiment of the present invention, which certainly cannot be used to limit the scope of rights of the present invention. A person skilled in the art can understand that all or part of the processes of the above embodiments and equivalent changes made according to the claims of the present invention still fall within the scope of the invention.

Claims

1. A dairy cow classification system based on body condition score, Features: The invention comprises a cow body condition evaluation device, which comprises a depth image acquisition module, a marking module, a first extraction module, a second extraction module, a calculation module, and an evaluation module. The depth image acquisition module is used to acquire a back depth image reflecting the back contour of the cow from above the cow, and provide the back depth image to the marking module. The marking module is used to mark several key points Body_d, Body_c, Body_h, Body_g, Body_f, and Body_e on the back depth image, wherein Body_d and Body_c are two points of the cow's pelvis, Body_h and Body_g are two points of the cow's posterior hip, and Body_f and Body_e are two V points of the cow, wherein the V points are the sacrum and A point between the ischium and the hind leg of the cow is located above the cow's hind leg. The first extraction module is used to read the plane information of each key point on the back depth image, the plane information is the X coordinate and Y coordinate of the key point, and the plane information of each key point is provided to the calculation module. The second extraction module is used to read the depth information of the key point on the back depth image, the depth information is the Z coordinate of the key point, and the depth information of each key point is provided to the calculation module. The calculation module is used to calculate the Z coordinate of the midpoint Body_f' of the line connecting the two points Body_d and Body_h and the Z coordinate of the midpoint Body_e' of the line connecting the two points Body_c and Body_g. The evaluation module obtains the body condition score BCS of the dairy cow according to Formula 1 or Formula 2. Where δ is the correction coefficient, |Z e | is the absolute value of the Z coordinate of the key point Body_e, |Z e′ | is the absolute value of the Z coordinate of the key point Body_e′, |Z f | is the absolute value of the Z coordinate of the key point Body_f, |Z f′ | is the absolute value of the Z coordinate of the key point Body_f′.

2. The dairy cow classification system based on body condition score according to claim 1, Features: The cow classification system based on body condition scoring also includes a weighing channel, a weighing device, and a classification channel. The weighing device is arranged in the weighing channel and is used to weigh the weight of the cow in the weighing channel. The outlet of the weighing channel is connected to the inlet of the classification channel. The classification channel includes a first classification port, a second classification port, and a third classification port. A left classification door is arranged at the second classification port, and a right classification door is arranged at the third classification port. When the left classification door is opened, the first classification port and the third classification port are closed, the second classification port is opened, the right classification door is opened, the first classification port and the second classification port are closed, the third classification port is opened, the left classification door and the right classification door are closed, the first classification port is opened, and the second classification port and the third classification port are closed.

3. The dairy cow classification system based on body condition score according to claim 2, Features: The weighing channel includes a weighing fence and a door frame, and the door frame is connected to the weighing fence. The cow classification system based on body condition scoring also includes a revolving door mechanism, and the revolving door mechanism is arranged at the exit of the weighing channel or the entrance of the weighing channel. The revolving door mechanism includes a door body, a pull rod, and a slider. The door body is rotatably connected to the door frame, one end of the pull rod is rotatably connected to the door body, and the other end of the pull rod is rotatably connected to the slider, and the slider can reciprocate in a straight line along the length direction of the weighing fence.

4. The dairy cow classification system based on body condition score according to claim 3, Features: The revolving door mechanism also includes a guiding mechanism, which includes an arc-shaped guide rail, a roller frame, and a roller group. The arc-shaped guide rail is fixed on the door frame, the roller frame is rotatably connected to the pull rod, the roller frame is connected to the door body, the roller group is arranged on the roller frame, the roller group is rotatably connected to the roller frame, and the roller group and the arc-shaped guide rail are rollingly matched.

5. The dairy cow classification system based on body condition score according to claim 4, Features: The guiding mechanism also includes a linear reciprocating drive mechanism, which includes a casing, a screw rod, and a motor. The casing is fixed on the door frame, the slider is slidably matched with the casing, the screw rod is rotatably connected to the casing, a screw hole is provided on the slider, and the screw rod is threadedly connected to the screw hole so as to drive the slider to reciprocate linearly along the casing through the rotation of the screw rod. The motor is fixed on the casing, and the output end of the motor is coaxially connected to the screw rod.

6. The dairy cow classification system based on body condition score according to claim 2, Features: The cow classification system based on body condition scoring also includes a cow clamping mechanism, which includes two relatively parallel clamping plates and a cow clamping assembly, and the cow clamping assembly drives the two clamping plates to synchronously approach or move away from each other.

7. The dairy cow classification system based on body condition score according to claim 6, Features: The cow clamping assembly includes a first support rod, a second support rod, a sliding rod, a first sliding seat, a second sliding seat, a first connecting rod, a third connecting rod, a fourth connecting rod, a fifth connecting rod, a sixth connecting rod, a seventh connecting rod, and a ninth connecting rod. The first support rod and the second support rod are fixed on the door frame, and the two ends of the sliding rod are respectively connected to the first support rod and the second support rod. The first sliding seat and the second sliding seat can move along the sliding rod. Two clamping plates are respectively fixed on the first sliding seat and the second sliding seat. One end of the first connecting rod is rotatably connected to the first sliding seat, and the other end of the first connecting rod is rotatably connected to one end of the third connecting rod. Connection, the other end of the third connecting rod is rotatably connected to the first support rod, one end of the fourth connecting rod is fixedly connected to an end of the third connecting rod close to the first support rod, the other end of the fourth connecting rod is rotatably connected to one end of the fifth connecting rod, the other end of the fifth connecting rod is rotatably connected to one end of the sixth connecting rod, the other end of the sixth connecting rod is rotatably connected to the second support rod, one end of the seventh connecting rod is fixedly connected to an end of the sixth connecting rod close to the second support rod, the other end of the seventh connecting rod is rotatably connected to one end of the ninth connecting rod, and the other end of the ninth connecting rod is rotatably connected to the second slide seat.

8. The dairy cow classification system based on body condition score according to claim 7, Features: The cow clamping assembly also includes a pressure rod, one end of which is fixedly connected to the middle part of the seventh connecting rod, and the other end of the pressure rod is a free end.

9. The dairy cow classification system based on body condition score according to claim 3, Features: The dairy cow classification system based on body condition scoring also includes a self-locking mechanism. A long hole is provided on the weighing fence, and a plurality of self-locking mechanisms are provided in the long hole. The self-locking mechanisms are evenly distributed along the length direction of the long hole. After the self-locking mechanism is subjected to force, it can rotate unidirectionally relative to the weighing fence, and the self-locking mechanism can automatically reset when no force is applied.

10. The dairy cow classification system based on body condition score according to claim 9, Features: The self-locking mechanism includes a fixed column, a rotating handle, and a reset spring. The fixed column is fixedly mounted on the weighing fence at the upper part of the elongated hole. The lower end of the rotating handle is rotatably connected to the weighing fence at the lower part of the elongated hole. The upper end of the rotating handle extends to a height exceeding the horizontal height of the fixed column. One end of the reset spring is fixedly connected to the weighing fence, and the other end of the reset spring is fixedly connected to the rotating handle.