Method for determining preset angle, method for detecting body temperature of livestock and product
By installing a steering gear on the infrared camera, adjusting the shooting angle and identifying the number of livestock, the problem of missed detection when the infrared camera detects the body temperature of livestock is solved and the reliability of the detection results is improved.
Patent Information
- Application Number
- CN202111435784.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-11-29
- Publication Date
- 2024-09-20
- Estimated Expiration
- 2041-11-29
AI Technical Summary
When infrared cameras are used to detect the body temperature of livestock in the prior art, detection is missed due to unreasonable shooting angles, and the reliability of the detection results is poor.
By installing an infrared camera on the steering gear, adjust the shooting angle to obtain infrared images at multiple angles, identify the number of livestock, compare the number of livestock in the image, and select the angle with the largest number of livestock as the preset angle to ensure that the infrared camera captures the inside of the breeding pen As many livestock as possible, thus improving the reliability of test results.
It can effectively reduce the phenomenon of missed detection, improve the reliability of livestock body temperature detection results, and ensure that all or the largest number of livestock in the breeding pen are detected.
Smart Images

Figure CN114200967B
Abstract
Description
Technical Field
[0001] The present invention generally relates to the technical field of livestock body temperature detection, and more specifically, to a method for determining a preset angle of an infrared camera, a method, a device and a computer-readable storage medium for detecting livestock body temperature. Background Art
[0002] The growth environment of livestock in large-scale farms is relatively complex, and it is easy to breed bacteria and viruses, which can make livestock sick and affect their growth and health. Among the diseases of livestock, the most common one is fever. In order to find out whether livestock have fever in time, it is necessary to measure the body temperature of livestock, so as to find and treat livestock with fever in time. Due to the large number of livestock in farms, if manual detection methods are used, it will not only require a lot of labor costs, but also have low work efficiency.
[0003] To solve the above problems, the most commonly used method at present is to use patrol robots to replace staff to detect the body temperature of livestock, that is, to equip the patrol robots with body temperature detection equipment, and obtain the body temperature of livestock in the farm through the body temperature detection equipment. For example, an infrared camera is installed on the patrol robot, and the infrared image of the livestock is obtained through the infrared camera. The body temperature of the livestock is obtained based on the infrared image of the livestock, and then it is determined whether the livestock has a fever. However, there are usually multiple livestock in the breeding pens of the farm. When performing body temperature detection, if the shooting angle selected when taking the infrared image is unreasonable, the phenomenon of missing shots will occur, and the body temperature of all livestock cannot be detected. Therefore, the information obtained in this way is not comprehensive enough, which affects the subsequent processing of the information and makes the final detection result unreliable.
[0004] In summary, when infrared cameras are used to detect the body temperature of livestock in the prior art, the reliability of the detection results is poor due to missed detections. Summary of the invention
[0005] The present invention provides a method for determining a preset angle, a method for detecting the body temperature of livestock and a product, so as to at least solve the problem of poor reliability of detection results due to missed detection when using an infrared camera to detect the body temperature of livestock.
[0006] To at least solve the above-mentioned problem, in a first aspect, the present invention provides a method for determining a preset angle of an infrared camera, wherein the infrared camera is mounted on a servo and rotates with the servo, and has one or more preset angles corresponding to each breeding pen, respectively. The method comprises: adjusting the shooting angle of the infrared camera by means of the servo, and acquiring multiple infrared images of the target breeding pen at multiple shooting angles; identifying the number of livestock in the multiple infrared images; comparing the number of livestock in the multiple infrared images, and taking the shooting angle corresponding to the infrared image with the largest number of livestock as the preset angle corresponding to the target breeding pen.
[0007] According to one embodiment of the present invention, comparing the number of livestock in the multiple infrared images to obtain a preset angle corresponding to the target breeding pen includes: selecting a second set number of infrared images with the largest number of livestock, and using the shooting angle corresponding to the first set number of infrared images as the preset angle.
[0008] According to another embodiment of the present invention, comparing the number of livestock in the multiple infrared images to obtain a preset angle corresponding to the target breeding pen includes: comparing the number of livestock in the multiple infrared images with the rated number; in response to the number of livestock in the infrared image being equal to the rated number, using the shooting angle corresponding to the infrared image as the preset angle.
[0009] According to another embodiment of the present invention, in response to the number of livestock in each infrared image being unequal to the rated number, a second set number of infrared images with the largest number of livestock are selected, and the shooting angles corresponding to the second set number of infrared images are used as the preset angles.
[0010] According to another embodiment of the present invention, adjusting the shooting angle of the infrared camera by the servo includes: within a set angle range, acquiring an angle at each set step interval to obtain the multiple shooting angles; adjusting the angle of the infrared camera by the servo so that the shooting angle of the infrared camera is the multiple shooting angles.
[0011] According to another embodiment of the present invention, adjusting the shooting angle of the infrared camera by the servo includes: obtaining PWM waves corresponding to the multiple shooting angles; and driving the servo with the PWM wave so that the shooting angle of the infrared camera is the multiple shooting angles.
[0012] In a second aspect, the present invention also provides a method for detecting the body temperature of livestock, wherein one or more preset angles corresponding to each breeding pen are obtained according to the method described in any one of the embodiments, including: in response to identifying a breeding pen, obtaining the preset angle corresponding to the breeding pen; controlling the servo according to the preset angle corresponding to the breeding pen to obtain an infrared image of the breeding pen through the infrared camera; and obtaining the body temperature of the livestock in the breeding pen according to the infrared image of the breeding pen.
[0013] According to an embodiment of the present invention, each breeding pen is provided with a corresponding identification, and identifying a breeding pen comprises: detecting the identification of the breeding pen, and identifying the breeding pen according to the identification.
[0014] In a third aspect, the present invention further provides a device, comprising a processor and a memory, wherein the memory is used to store computer program instructions, and the computer program instructions are executed by the processor to implement the method described in any one of the above embodiments.
[0015] In a fourth aspect, the present invention further provides a computer-readable storage medium having computer program instructions stored thereon, wherein the computer program instructions, when executed, implement the method described in any one of the above embodiments.
[0016] The technical solution provided by the present invention first obtains infrared images of the target breeding pen at multiple shooting angles, then identifies the number of livestock in each infrared image, and finally uses the shooting angle corresponding to the infrared image with the largest number of livestock as the preset angle corresponding to the target breeding pen. When obtaining the body temperature of livestock in a breeding pen, the shooting angle of the infrared camera is adjusted to the preset angle corresponding to the breeding pen, and infrared images of all or as many livestock as possible in the breeding pen can be obtained, and then the body temperature of all or as many livestock as possible in the breeding pen can be obtained. Therefore, compared with the existing solution, the phenomenon of missed detection can be reduced or even avoided, and the reliability of the body temperature detection results of livestock in the breeding pen can be improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] By reading the following detailed description with reference to the accompanying drawings, the above and other objects, features and advantages of the exemplary embodiments of the present invention will become readily understood. In the accompanying drawings, several embodiments of the present invention are shown in an exemplary and non-limiting manner, and the same or corresponding reference numerals represent the same or corresponding parts, wherein:
[0018] Figure 1 is a flow chart of a method for determining a preset angle of an infrared camera according to an embodiment of the present invention;
[0019] Figure 2 is a flow chart of a method for detecting the body temperature of livestock according to an embodiment of the present invention;
[0020] Figure 3 Schematic diagram of a device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0021] The technical solutions in the embodiments of the present invention will be described clearly and completely below in conjunction with the accompanying drawings. It should be understood that the embodiments described in this specification are only partial embodiments provided by the present invention to facilitate a clear understanding of the solutions and to comply with legal requirements, and are not all embodiments that can implement the present invention. Based on the embodiments disclosed in this specification, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.
[0022] See also Figure 1 , Figure 1 What is shown is a flow chart of a method for determining a preset angle of an infrared camera provided by the present invention. In the present invention, the infrared camera is mounted on a steering gear, and the steering gear can drive the infrared camera to rotate to adjust its shooting angle. The infrared camera has one or more preset angles corresponding to each breeding pen, and when the shooting angle of the infrared camera is a preset angle, it can capture infrared images of all or as many livestock as possible in the breeding pen.
[0023] like Figure 1 As shown, the method for determining the preset angle of the infrared camera of the present invention includes:
[0024] In step S11, the shooting angle of the infrared camera is adjusted by the steering gear, and multiple infrared images of the target breeding pen are obtained by the infrared camera at multiple shooting angles. Since the infrared camera is mounted on the steering gear, the steering gear can drive the infrared camera to rotate. Therefore, in this embodiment, multiple shooting angles are selected from the rotatable range of the steering gear, and the steering gear can drive the infrared camera to each shooting angle, so that the infrared camera can shoot at each shooting angle to obtain an infrared image of the target breeding pen. Since there are multiple shooting angles, each shooting angle can obtain at least one infrared image, so multiple infrared images can be obtained by the infrared camera.
[0025] In step S12, the number of livestock in each infrared image is identified. This step S2 belongs to the field of image recognition technology. By means of image recognition, the number of livestock in the infrared image can be identified. For example, a neural network model can be established and trained using a data training set with multiple infrared images so that it can identify livestock in infrared images; then the trained neural network model is used to identify livestock in infrared images taken by the infrared camera at various shooting angles in step S11 to obtain the number of livestock in each infrared image.
[0026] In step S13, the number of livestock in each infrared image is compared, and the shooting angle corresponding to the infrared image with the largest number of livestock is used as the preset angle corresponding to the target breeding pen. Due to different shooting angles, the position of the target breeding pen photographed is also different, and the number of livestock in the captured infrared image will also change accordingly. In this step S13, the shooting angle at which the largest number of livestock in the target breeding pen is detected is used as the preset angle corresponding to the target breeding pen. Therefore, when shooting an infrared image of the target breeding pen, if the shooting angle of the infrared camera is set at the preset angle, the largest number of livestock can be photographed, thereby obtaining the body temperature of the largest number of livestock in the target breeding pen as much as possible.
[0027] In summary, the technical solution provided by the present invention first obtains infrared images of the target breeding pen at multiple shooting angles, then identifies the number of livestock in each infrared image, and finally uses the shooting angle corresponding to the infrared image with the largest number of livestock as the preset angle corresponding to the target breeding pen. Therefore, when the body temperature of livestock in a breeding pen is detected, the shooting angle of the infrared camera can be adjusted to the preset angle corresponding to the breeding pen by the servo, and when shooting the breeding pen, an infrared image containing all or as many livestock as possible in the breeding pen can be obtained, and then the body temperature of all or as many livestock as possible in the breeding pen can be obtained. Due to the technical solution provided by the present invention, the preset angle corresponding to the breeding pen can enable the infrared camera to capture infrared images of all or as many livestock as possible in the breeding pen, and then the body temperature of all or as many livestock as possible in the breeding pen can be obtained. Therefore, compared with the prior art, the reliability of livestock body temperature detection can be improved.
[0028] The above is an overall introduction to the method for determining the preset angle of the infrared camera of the present invention. The following is a detailed description of the method for obtaining the preset angle corresponding to the target breeding pen in combination with a specific application scenario.
[0029] In an application scenario, comparing the number of livestock in each infrared image to obtain a preset angle corresponding to the target breeding pen includes: after the number of livestock in each infrared image obtained in step S12, selecting a first set number of infrared images with the largest number of livestock, and using the shooting angles corresponding to the set number of infrared images as the preset angles corresponding to the target breeding pen. When the infrared camera shoots the livestock in the target breeding pen, it may be impossible to shoot all the livestock in the target breeding pen from each shooting angle due to occlusion or limitation of the shooting range of the infrared camera. The setting method of this embodiment can be a plurality of preset angles corresponding to the target breeding pen. When the body temperature of the livestock in the target breeding pen is detected, the infrared camera can shoot the target breeding pen from each preset angle, thereby obtaining the first set number of infrared images of the target breeding pen, and each image contains all or as many livestock as possible. Therefore, the body temperature of the livestock is obtained according to the first set number of infrared images, and the body temperature of all or as many livestock as possible in the target breeding pen can be obtained, which can further improve the reliability of the livestock body temperature detection result.
[0030] In another application scenario, the number of livestock in each infrared image is compared to obtain a preset angle corresponding to the target breeding pen, including: after the number of livestock in multiple infrared images obtained in step S12, the number of livestock in each infrared image is compared with the rated number; if the number of livestock in an infrared image is equal to the rated number, the shooting angle corresponding to the infrared image is used as the preset angle corresponding to the target breeding pen. The rated number in this embodiment can be the total number of livestock in the target breeding pen. If the number of livestock in the infrared image is the rated number, it can be determined that all livestock in the target breeding pen can be photographed from the shooting angle of the infrared image. Therefore, the preset angle corresponding to the target breeding pen obtained by the setting method of this embodiment can enable the infrared camera to capture an infrared image containing all livestock in the target breeding pen, and can detect the body temperature of all livestock in the target breeding pen, thereby further improving the reliability of the livestock body temperature detection results.
[0031] Further, in another application scenario, comparing the number of livestock in each infrared image to obtain the preset angle of the infrared camera in the breeding pen also includes: if the number of livestock in each infrared image is not equal to the rated number, then selecting the second set number of infrared images with the largest number of livestock, and taking the shooting angle corresponding to the second set number of infrared images as the preset angle corresponding to the target breeding pen. When the infrared camera shoots the livestock in the target breeding pen, it may be impossible to shoot all the livestock in the target breeding pen from each shooting angle due to occlusion or limitation of the shooting range of the infrared camera; in addition, when identifying the number of livestock in the infrared image, the recognition result may also have a certain error, causing the number of livestock identified to be larger or smaller than the actual number of livestock, so that if the number of livestock in each infrared image is not equal to the rated number. The setting method of this embodiment can enable the infrared camera to shoot infrared images containing all or as many livestock as possible when shooting the target breeding pen at the preset angle, thereby improving the reliability of the livestock body temperature detection results in the target breeding pen.
[0032] The above is a detailed introduction to obtaining the preset angle of the infrared camera in the breeding pen. The following is a detailed description of the method for adjusting the shooting angle of the infrared camera by the servo in step S11 in combination with a specific application scenario.
[0033] In an application scenario, the step S11 of the method of the present invention includes adjusting the shooting angle of the infrared camera by the steering gear: within the set angle range, obtaining an angle at each interval of the set step length to obtain multiple shooting angles; adjusting the angle of the infrared camera by the steering gear so that the shooting angle of the infrared camera is multiple shooting angles. The above-mentioned set angle range can be determined according to the rotatable angle of the steering gear, and the set step length can be determined according to actual needs. The larger the set step length, the fewer infrared images are obtained, and conversely, the smaller the set step length, the more infrared images are obtained. For example, assuming that the rotatable angle of the steering gear is 0° to 270°, the range of the set angle is also 0° to 270°, that is, the rotation angle of the steering gear is the same as the shooting angle of the infrared camera. Assuming that the above-mentioned set step length is 10°, the multiple shooting angles include 0°, 10°, 20°...250°, 260° and 270°, a total of 28 shooting angles. When shooting the infrared image of the target breeding pen, the infrared camera is adjusted to various shooting angles by adjusting the rotation angle of the servo, and the infrared image of the target breeding pen is shot at each shooting angle.
[0034] The following is a detailed description of the method for adjusting the shooting angle of the infrared camera in combination with specific application scenarios.
[0035] In an application scenario, adjusting the shooting angle of an infrared camera by a servo includes: first obtaining PWM waves corresponding to multiple shooting angles, and then using the PWM wave to drive the servo so that the shooting angle of the infrared camera is the above-mentioned multiple shooting angles. The servo is driven by a PWM wave, and using PWM waves with different duty cycles can make the servo at different rotation angles. For example, the rotatable angle of the servo is 0° to 270°, and the value range of its PWM wave duty cycle is 500-2500μsec. The rotation angle of the servo is directly proportional to the duty cycle of the PWM wave. For example, when the duty cycle of the PWM wave is 500μsec, the rotation angle of the servo is 0°; when the duty cycle of the PWM wave is 1500μsec, the rotation angle of the servo is 135°; when the duty cycle of the PWM wave is 2500μsec, the rotation angle of the servo is 270°. According to the correspondence between the PWM wave and the rotation angle of the servo, the duty cycle of the PWM wave corresponding to each shooting angle is obtained, and then the PWM wave of each duty cycle is used to drive the servo, so that the shooting angle of the infrared camera can be the above-mentioned multiple shooting angles.
[0036] In a second aspect, the present invention also provides a method for detecting the body temperature of livestock, wherein the method is to obtain an infrared image of a breeding pen through an infrared camera on a patrol robot, and obtain the body temperature of the livestock in the breeding pen based on the infrared image. Figure 2 As shown, the method for detecting the body temperature of livestock provided by the present invention comprises:
[0037] In step S21, in response to identifying a breeding pen, a preset angle corresponding to the breeding pen is obtained. The patrol robot detects each breeding pen in the farm one by one to obtain the body temperature of the livestock in each breeding pen. When the patrol robot moves to a breeding pen and performs a detection, the breeding pen will be identified. For example, the patrol robot can be controlled to move on the patrol track, and the body temperature of the livestock in each breeding pen can be detected during the movement; when the patrol robot moves on the patrol track, the patrol robot can be positioned by the mileage of the patrol robot, and then the position of the breeding pen detected by the patrol robot is obtained according to the position of the patrol robot, and finally the breeding pen is identified according to the position of the breeding pen, thereby completing the identification of a breeding pen.
[0038] The above-mentioned obtaining of the preset angle corresponding to the breeding pen refers to obtaining the preset angle corresponding to the breeding pen after the breeding pen is identified. For example, the method for determining the preset angle of the infrared camera provided in the first aspect above can be used to obtain the preset angles corresponding to each breeding pen in the breeding farm and store them in a database. After a breeding pen is identified, the preset angle corresponding to the breeding pen is obtained from the database.
[0039] In step S22, the steering engine is controlled according to the preset angle corresponding to the breeding pen, so as to obtain an infrared image of the breeding pen through the infrared camera. When the steering engine is controlled according to the preset angle corresponding to the breeding pen, the corresponding PWM wave is first obtained according to the preset angle corresponding to the breeding pen, and then the steering engine is controlled by the PWM wave so that the shooting angle of the infrared camera is the preset angle, and finally the infrared camera is used to shoot the infrared image of the breeding pen to be tested at each preset angle, so that the obtained infrared image contains all or the largest number of livestock.
[0040] In step S23, the body temperature of the livestock in the breeding pen is obtained according to the infrared image of the breeding pen. In this step S23, the body temperature of the livestock in the breeding pen to be tested is identified by a method of infrared image recognition. The recognition method can be implemented by a method of identifying the temperature of an object in an infrared image in the prior art. The body temperature of the livestock in the breeding pen obtained in this step S23 can be obtained by identifying the livestock in the infrared image, and then identifying the body temperature of each livestock separately to obtain the body temperature of each livestock, and judging whether the livestock has a fever; or the entire infrared image can be divided into multiple areas, and the temperature of each area is identified to judge whether the temperature of each area is greater than the set temperature value. If it is greater, it is judged that there is a livestock with a fever in the area.
[0041] The technical solution provided by the present invention adjusts the infrared camera to a corresponding preset angle to obtain an infrared image of the breeding pen, and obtains the body temperature of the livestock in the breeding pen based on the infrared image of the breeding pen. Since the infrared camera can obtain infrared images of all or the largest number of livestock in the breeding pen at the preset angle, the technical solution of the present invention can detect the body temperature of all or the largest number of livestock in the breeding pen, and compared with the prior art, it can improve the reliability of livestock body temperature detection.
[0042] In one embodiment, identifying a breeding pen in the above step S22 includes: detecting an identification of the breeding pen, and identifying the breeding pen according to the identification. In this embodiment, each breeding pen of the breeding farm is provided with a corresponding identification code such as a QR code, a bar code, etc., and a corresponding identification code detection device is provided on the inspection robot. When the inspection robot is moving, if the identification code of a breeding pen is detected, it will be determined that the inspection robot has arrived at the breeding pen, and the breeding pen needs to be detected, and then the information of the breeding pen is obtained according to the identification code.
[0043] In a third aspect, the present invention also provides a device, such as Figure 3 As shown, the device includes a processor, a memory, a communication interface and a communication bus, and the processor, the memory and the communication interface communicate with each other through the communication bus. The processor is used to provide computing and control capabilities. The memory includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and computer program instructions. The internal memory provides an environment for the operation of the operating system and computer program instructions in the non-volatile storage medium. The communication interface of the above-mentioned device is used to communicate with an external terminal in a wired or wireless manner, and the wireless method can be implemented through WIFI, an operator network, NFC (near field communication) or other technologies. The device provided in this embodiment has a memory for storing computer program instructions, and the computer program instructions enable the processor to execute the method of the first aspect or the method of the second aspect above.
[0044] In a fourth aspect, the present invention further provides a computer-readable storage medium. A person of ordinary skill in the art may understand that all or part of the processes in the method of the first or second aspect described above can be implemented by instructing the relevant hardware through computer program instructions, and the computer program instructions may be stored in a non-volatile computer-readable storage medium, and the computer program instructions, when executed, may include the processes of the methods of the first or second aspects described above. Among them, any reference to memory, storage, database or other media used in the embodiments provided in the present application may include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.
[0045] In addition, the terms "first" or "second" used in this specification to refer to numbers or ordinals are only used for descriptive purposes and cannot be understood as explicitly or implicitly indicating relative importance or implicitly indicating the number of technical features indicated. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include at least one of the features. In the description of this specification, the meaning of "plurality" is at least two, such as two, three or more, etc., unless otherwise clearly and specifically defined.
[0046] Although this specification has shown and described a plurality of embodiments of the present invention, it is obvious to those skilled in the art that such embodiments are provided by way of example only. Those skilled in the art will think of many changes, modifications and alternatives without departing from the thought and spirit of the present invention. It should be understood that in the process of practicing the present invention, various alternatives to the embodiments of the present invention described herein may be adopted. The attached claims are intended to define the scope of protection of the present invention, and therefore cover the modular composition, equivalent or alternatives within the scope of protection of these claims.
Claims
1. A method for determining a preset angle of an infrared camera, wherein the infrared camera is mounted on a steering gear and rotates with the steering gear, and has one or more preset angles corresponding to each breeding pen. It is characterized in that The method comprises: The shooting angle of the infrared camera is adjusted by the steering gear, and multiple infrared images of the target breeding pen are obtained at multiple shooting angles; identifying a number of livestock in the plurality of infrared images; Comparing the number of livestock in the plurality of infrared images, and taking the shooting angle corresponding to the infrared image with the largest number of livestock as the preset angle corresponding to the target breeding pen; Comparing the number of livestock in the plurality of infrared images to obtain the preset angle corresponding to the target breeding pen includes: selecting a first set number of infrared images with the largest number of livestock, and using the shooting angles corresponding to the first set number of infrared images as the preset angles Wherein, comparing the number of livestock in the plurality of infrared images to obtain the preset angle corresponding to the target breeding pen comprises: comparing the number of livestock in the plurality of infrared images with the rated number; in response to the number of livestock in the infrared image being equal to the rated number, taking the shooting angle corresponding to the infrared image as the preset angle; In which, in response to the number of livestock in each infrared image being unequal to the rated number, a second set number of infrared images with the largest number of livestock are selected, and the shooting angles corresponding to the second set number of infrared images are used as the preset angles.
2. The method for determining a preset angle of an infrared camera according to claim 1, It is characterized in that The step of adjusting the shooting angle of the infrared camera by the steering gear comprises: Within the set angle range, an angle is acquired at each set step length to obtain the multiple shooting angles; The angle of the infrared camera is adjusted by the steering gear so that the shooting angle of the infrared camera is the multiple shooting angles.
3. The method for determining a preset angle of an infrared camera according to claim 1, It is characterized in that The step of adjusting the shooting angle of the infrared camera by the steering gear comprises: Acquire PWM waves corresponding to the multiple shooting angles; The PWM wave is used to drive the steering gear so that the shooting angle of the infrared camera is the multiple shooting angles.
4. A method for detecting the body temperature of livestock, wherein one or more preset angles corresponding to each breeding pen are obtained according to the method according to any one of claims 1 to 3, It is characterized in that include: In response to identifying a breeding pen, obtaining a preset angle corresponding to the breeding pen; Controlling the steering engine according to a preset angle corresponding to the breeding pen, so as to obtain an infrared image of the breeding pen through the infrared camera; The body temperature of the livestock in the breeding pen is obtained according to the infrared image of the breeding pen.
5. The method for detecting the body temperature of livestock according to claim 4, It is characterized in that Each breeding pen is provided with a corresponding mark, and identifying a breeding pen comprises: detecting the mark of the breeding pen, and identifying the breeding pen according to the mark.
6. A device, comprising a processor and a memory, wherein the memory is used to store computer program instructions, and the computer program instructions are executed by the processor to implement the method according to any one of claims 1 to 5.
7. A computer-readable storage medium having computer program instructions stored thereon, It is characterized in that When the computer program instructions are executed, the method according to any one of claims 1 to 5 is implemented.
Citation Information
Patent Citations
Photograph classification method and device based on shooting angle and mobile terminal
CN105138699A
Shooting angle determining method and device, terminal and readable storage medium
CN108600633A
Livestock weight determination method and device, terminal and computer storage medium
CN111008560A
Livestock quantity determination method, terminal and computer storage medium
CN111008561A
Livestock house fence monitoring method and device, intelligent cruise robot and storage medium
CN111401386A
