Method, device, storage medium and electronic device for determining body posture information

By analyzing the information obtained by the shooting equipment through the machine learning model, it solves the problems of slow, low efficiency and low accuracy in determining the body posture information of the target object in the existing technology, and realizes real-time and accurate body posture information monitoring in the high-density pig raising system. .

CN112150498BActive Publication Date: 2024-09-06ZHEJIANG DAHUA TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202011241644.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-11-09
Publication Date
2024-09-06
Estimated Expiration
2040-11-09

AI Technical Summary

Technical Problem

The existing technology is slow, inefficient, not real-time enough, and has low accuracy when measuring the body posture information of target objects. Especially in high-density pig raising systems, it is difficult to determine the weight, body temperature and other information of pigs.

Method used

The model trained by machine learning is used to analyze the target multimedia information obtained by the shooting equipment to determine the contour information of the target object, so as to accurately identify and calculate the body posture information of the target object based on the contour information.

Benefits of technology

It improves the speed and efficiency of determining the body posture information of the target object, improves the accuracy, realizes real-time monitoring and data processing, and is suitable for the needs of intelligent breeding in high-density pig breeding systems.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112150498B
    Figure CN112150498B
Patent Text Reader

Abstract

The embodiment of the present invention provides a method, device, storage medium and electronic device for determining body posture information, wherein the method comprises: obtaining target multimedia information obtained after a shooting device shoots a target object in a target area; using a first model to analyze the target multimedia information to determine contour information of the target object, wherein the first model is trained by machine learning using multiple sets of first training data, each set of data in the multiple sets of first training data includes: image information of the object and contour information of the object; and determining the target body posture information of the target object based on the contour information. The present invention solves the problems of slow speed, low efficiency, lack of real-time, and low accuracy in determining the body posture information of the target object in the related art, achieves the effect of accurately determining the body posture information of the target object, and improves the efficiency of determining the body posture information of the target object.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of the present invention relate to the field of communications, and in particular, to a method, device, storage medium and electronic device for determining body posture information. Background Art

[0002] When there are many target objects in the environment, there will be problems such as inaccurate body information measurement and low efficiency. The following is an example of measuring the weight of a pig:

[0003] my country is the world's largest pork producer and consumer. In recent years, pork products have ranked first in the world. The domestic pig inventory currently accounts for 48.9% of the global inventory, with an annual output of about 700 million heads. Pork has become an important strategic material. With the development of the economy, my country has formed a high-density, centralized pig farming system, and the pig farming model has undergone a huge change. Traditional individual farming is rapidly withdrawing, intensive farming and cooperative farming have become the current mainstream, and many large enterprises have the conditions for intelligent farming. The demand for intelligent applications such as weight measurement, temperature measurement, and counting has become the key to the industrial upgrading of pig farming enterprises. However, in related technologies, when determining the body information of pigs, it is necessary to pre-enter the size of the pig pen, the location of the pig pen, and the density of the pigs. The inspection module must patrol the pig pens in the pig house and integrate pictures from all angles for de-stacking. The data processing speed is slow, the efficiency is low, it is not real-time, and the accuracy is low.

[0004] It can be seen that the related technology has the problems of slow speed, low efficiency, lack of real-timeness and low accuracy in determining the target object's body posture information.

[0005] Currently, no effective solution has been proposed for the above-mentioned problems existing in the related technologies. Summary of the invention

[0006] The embodiments of the present invention provide a method, device, storage medium and electronic device for determining body posture information, so as to at least solve the problems existing in the related art of slow speed, low efficiency, lack of real-timeness and low accuracy in determining the body posture information of a target object.

[0007] According to one embodiment of the present invention, a method for determining body shape information is provided, comprising: acquiring target multimedia information obtained after a shooting device shoots a target object in a target area; analyzing the target multimedia information using a first model to determine contour information of the target object, wherein the first model is trained by machine learning using multiple groups of first training data, each group of data in the multiple groups of first training data includes: image information of the object and contour information of the object; and determining the target body shape information of the target object based on the contour information.

[0008] According to another embodiment of the present invention, a device for determining body shape information is provided, comprising: an acquisition module, used to acquire target multimedia information obtained after a shooting device shoots a target object in a target area; an analysis module, used to analyze the target multimedia information using a first model to determine contour information of the target object, wherein the first model is trained by machine learning using multiple groups of first training data, and each group of data in the multiple groups of first training data includes: image information of the object and contour information of the object; a determination module, used to determine the target body shape information of the target object based on the contour information.

[0009] According to yet another embodiment of the present invention, a computer-readable storage medium is provided, in which a computer program is stored, wherein the computer program is configured to execute the steps of any one of the above method embodiments when run.

[0010] According to yet another embodiment of the present invention, there is provided an electronic device, including a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program to execute the steps in any one of the above method embodiments.

[0011] Through the present invention, target multimedia information obtained after the shooting device shoots the target object in the target area is obtained, the target multimedia information is analyzed using the first model to determine the contour information of the target object, and the body information of the target object is determined based on the contour information of the target object. Since the first model is determined by machine learning, it can accurately identify the contour of the target object, and then determine the body information of the target object based on the contour information. Therefore, the problems of slow speed, low efficiency, lack of real-time, and low accuracy in determining the body information of the target object existing in the related art can be solved, and the effect of accurately determining the body information of the target object is achieved, and the efficiency of determining the body information of the target object is improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0012] Figure 1 It is a hardware structure block diagram of a mobile terminal of a method for determining body posture information according to an embodiment of the present invention;

[0013] Figure 2 is a flow chart of a method for determining body posture information according to an embodiment of the present invention;

[0014] Figure 3 is a schematic diagram of a system for determining body posture information according to an exemplary embodiment of the present invention;

[0015] Figure 4 is a flow chart of a method for determining body posture information according to a specific embodiment of the present invention;

[0016] Figure 5 4 is a structural block diagram of a device for determining body posture information according to an embodiment of the present invention. DETAILED DESCRIPTION

[0017] Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings and in combination with the embodiments.

[0018] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.

[0019] The method embodiments provided in the embodiments of the present application can be executed in a mobile terminal, a computer terminal or a similar computing device. Taking running on a mobile terminal as an example, Figure 1 FIG. 1 is a hardware structure block diagram of a mobile terminal of a method for determining body posture information according to an embodiment of the present invention. Figure 1 As shown, the mobile terminal may include one or more ( Figure 1 Only one is shown in the figure) a processor 102 (the processor 102 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA) and a memory 104 for storing data, wherein the mobile terminal may also include a transmission device 106 and an input / output device 108 for communication functions. It can be understood by those skilled in the art that Figure 1 The structure shown is only for illustration and does not limit the structure of the mobile terminal. Figure 1 More or fewer components as shown, or with Figure 1 Different configurations shown.

[0020] The memory 104 can be used to store computer programs, for example, software programs and modules of application software, such as the computer program corresponding to the method for determining the posture information in the embodiment of the present invention. The processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, that is, to implement the above method. The memory 104 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include a memory remotely arranged relative to the processor 102, and these remote memories may be connected to the mobile terminal via a network. Examples of the above network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0021] The transmission device 106 is used to receive or send data via a network. The specific example of the above network may include a wireless network provided by a communication provider of the mobile terminal. In one example, the transmission device 106 includes a network adapter (Network Interface Controller, referred to as NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission device 106 can be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.

[0022] In this embodiment, a method for determining body posture information is provided. Figure 2 is a flow chart of a method for determining body posture information according to an embodiment of the present invention. Figure 2 As shown, the process includes the following steps:

[0023] Step S202, obtaining target multimedia information obtained after the shooting device shoots the target object in the target area;

[0024] Step S204, analyzing the target multimedia information using a first model to determine contour information of the target object, wherein the first model is trained by machine learning using multiple sets of first training data, and each set of data in the multiple sets of first training data includes: image information of the object and contour information of the object;

[0025] Step S206: determining target body shape information of the target object based on the contour information.

[0026] In the above embodiments, the shooting device may be a fisheye camera, a thermal imaging camera, etc., and the target object may be an animal, such as a pig, a sheep, a cow, a dog, etc. The target area is the area where the target object is located, such as a pig pen, a sheep house, a cow house, a dog house, etc. The first model may be a Mask R-CNN model. The target body information may include information such as the weight, length, width, height, area, and body temperature of the target object. It should be noted that the shooting device may be one device or multiple devices. For example, when the target object is a pig, to determine the body information of all pigs included in a pig pen, a fisheye camera and a thermal imaging camera may be used to obtain the target multimedia information, and then the image information of the pigs in the pig pen taken by the fisheye camera is identified by the first model, and the weight, length, width, height, area, and other information of the pigs are determined, and the body temperature information of the pigs is determined by the heat distribution map taken by the thermal imaging camera.

[0027] After the shooting device shoots the target multimedia information, the target multimedia information can be sent to the platform server, and the platform server uses the first model to analyze the target multimedia information to determine the contour information of the target object, and determines the body information of the target object according to the contour information. After the shooting device shoots the target multimedia information, the target multimedia information can also be sent to the AI-NVR (Artificial Intelligence-Network Video Recorder), and the AI-NVR uses the first model to analyze the target multimedia information to determine the contour information of the target object, and determines the body information of the target object according to the contour information. Of course, after determining the contour information of the target object, the number of target objects and the position information of each target object can also be determined, that is, the target object can also be framed with a rectangular frame according to the contour information of the target object. Then, the body information, quantity information and position information of the target object are sent to the platform server, and the platform server counts the body information of the target object, determines the growth status of the target object, and can send the growth information, quantity information and position information of the target object to the operation terminal to display the body information, quantity information and position information of the target object in the operation terminal. For example, when the target object is a pig, a real-time picture of the pigs in a pig pen can be displayed in the operation terminal, and each pig can be framed with a rectangular frame in the picture, and the pig's weight, temperature, length, width, height, area, volume and other body information can be displayed in the rectangular frame. Of course, the pig's heart rate, blood oxygen information, etc. can also be obtained and displayed in the rectangular frame. It should be noted that the present invention does not limit the positional relationship between the position of the body information display and the rectangular frame. The position of the body information display can be in the rectangular frame or outside the rectangular frame. Among them, the system schematic diagram for determining the body information can be found in the attached Figure 3 .

[0028] Through the present invention, target multimedia information obtained after the shooting device shoots the target object in the target area is obtained, the target multimedia information is analyzed using the first model to determine the contour information of the target object, and the body information of the target object is determined based on the contour information of the target object. Since the first model is determined by machine learning, it can accurately identify the contour of the target object, and then determine the body information of the target object based on the contour information. Therefore, the problems of slow speed, low efficiency, lack of real-time, and low accuracy in determining the body information of the target object existing in the related art can be solved, and the effect of accurately determining the body information of the target object is achieved, and the efficiency of determining the body information of the target object is improved.

[0029] Exemplarily, the executor of the above steps may be a platform server, a background processor, a data processing device with similar processing capabilities, or a device that at least integrates a data processing device and an image acquisition device, wherein the data processing device may be a terminal such as a computer or a mobile phone, and the image acquisition device may be a camera, etc.

[0030] In an exemplary embodiment, determining the target body information of the target object based on the contour information includes: determining the target image area of ​​the target object based on the contour information; and determining the target body information corresponding to the target image area based on a predetermined correspondence between the image area and the body information. In this embodiment, the target image area of ​​the target object can be determined based on the contour information, and the target body information corresponding to the target image area can be determined based on the predetermined correspondence between the image area and the body information. Among them, the image features of the target multimedia information can be extracted through a neural network model to obtain the contour information of each target object, and the area of ​​the target object can be calculated based on the contour information.

[0031] In an exemplary embodiment, before determining the target body information corresponding to the target image area based on a predetermined correspondence between image area and body information, the method further includes: acquiring a first image obtained after photographing a first object in the target area by means of the photographing device; determining a pixel area area of ​​the first object in the first image; determining the correspondence based on the pixel area area, a preset height, photographing parameters of the photographing device, and an actual area of ​​the first object obtained in advance, wherein the preset height is the installation height of the photographing device. In this embodiment, a rectangular frame of a certain size can be selected to slide on the first image, and the positions that slide over are all candidate frames. This step obtains about tens of thousands of candidate frames, and then the probability of containing the target in each candidate frame is predicted based on the image features extracted by the neural network, and the frames with very low probability values ​​are filtered out. At the same time, the frames repeated at the same position are filtered out. After this step, only 64 frames are left (this number is only an exemplary description, and the present invention does not limit this number). Then, using the regression function of the relationship between the predicted frame and the true value (which has been learned and recorded in the algorithm), this deviation is superimposed on the 64 candidate frames to obtain new coordinates, and then filtering is performed to leave only one frame at each position, and finally the number of target objects and the coordinates of each frame are obtained. In each candidate frame, there are a series of normalized pixel values, and the pixels greater than a certain threshold, such as greater than 0.5, are taken out, and it is considered that these are the pixels of the first object obtained after the previous feature extraction. The number of these pixels is counted as the pixel area area of ​​the first object. After determining the pixel area area, the ratio of the pixels of the first object to the true value can be calculated using the camera height and the weight multiple, and the weight of the first object is estimated by multiplying this ratio with the area. Among them, the ratio to the true value can be determined in the following way: through the camera height, weight multiples (each parameter has a different weight) and the camera shooting parameters (such as lens distortion ratio parameters), calculate the difference between the current pig area and the true value, and then record this difference. When encountering a new measurement, directly use this difference to predict its actual value.

[0032] Exemplarily, when the first object is a pig, the pixel area of ​​the pig can be determined through the first image, the estimated weight of the pig can be determined based on the pixel area and the preset height and weight multiples, and the weight correction coefficient can be determined based on the estimated weight and the actual weight of the pig; in the actual measurement process, the estimated weight determined by the obtained pig area and the preset height and weight multiples is multiplied by the correction coefficient to obtain a more accurate estimated weight.

[0033] In an exemplary embodiment, when the shooting device is a thermal imaging shooting device, determining the target body information of the target object based on the contour information includes: determining the volume of the target object based on the contour information; determining the weight of the target object based on the volume; determining the temperature of the target object based on the heat distribution information of the image surrounded by the contour information; and determining the volume, weight, and temperature of the target object as the target body information of the target object. In this embodiment, when there is one shooting device, the shooting device is a thermal imaging shooting device, such as a thermal imaging camera. The image information shot by the thermal imaging camera can be analyzed using a first model to determine the contour information of the target object, and the volume of the target object can be determined based on the contour information. For example, the length, width, and height of the target object can be determined, and the volume of the target object can be determined based on the length, width, height, and proportional coefficient. Among them, the proportional system can be determined by the relationship between the volume determined by the length, width, and height of multiple target objects and the real volume. After determining the volume of the target object, the weight of the target object can also be determined based on the volume. Then, the temperature of the target object is determined based on the heat distribution information of the image surrounded by the contour information.

[0034] In an exemplary embodiment, the method further includes: obtaining the target body shape information of the target object counted within multiple statistical periods; determining the growth trend of the target object based on the target body shape information counted within multiple statistical periods. In this embodiment, the target body shape information of the target object can be reported periodically, for example, the weight information, temperature information, heart rate information, blood oxygen information, etc. of the target object. The growth trend of the target object is determined by counting the target body shape information reported periodically. For example, when the target object is a pig, the weight of the pig can be reported every week, and the temperature information, heart rate information, blood oxygen information, etc. of the pig can be reported every hour, and the weight information, temperature information, heart rate information, blood oxygen information, etc. of the pig can be statistically analyzed to count the growth trend of the pig.

[0035] In the above embodiment, when the target body shape information of the target object includes the weight of the target object, the total weight of all target objects in the area where the target object is located can be determined according to the weight of the target object. The total weight of all target objects in the target area can be sent to the platform server, and the platform server can analyze the output value curve of the target area based on the total weight of all target objects in the target area. For example, when the target object is a pig, the output value of the target area in the current month can be determined, and it can also be compared with the output value of the target area in the same period of previous years.

[0036] In an exemplary embodiment, after determining the growth trend of the target object based on the target body information counted in multiple statistical periods, the method further includes at least one of the following: determining first suggestion information based on the growth trend, sending the first suggestion information to the target terminal, wherein the first suggestion information includes a breeding method for breeding the target object; sending an alarm message when it is determined that the target object has abnormal growth based on the growth trend; generating a growth information report of the target object based on the growth trend; acquiring market information related to the target object, determining second suggestion information based on the market information and the growth trend, and sending the second suggestion information to the target terminal, wherein the second suggestion information includes a buying and selling suggestion for the target object. In this embodiment, after determining the growth trend of the target object, a first suggestion can be determined according to the growth trend, and the first suggestion can be sent to the target terminal. For example, when it is determined that the target object grows slowly according to the growth trend of the target object, a first suggestion can be sent to the target terminal, wherein the first suggestion can include a breeding suggestion for the target object, such as a meal matching suggestion, a living environment suggestion, etc. The target terminal can be a terminal device of a person who breeds the target object, such as a computer, a tablet computer, a mobile phone, a smart wearable device, etc. When it is determined that the target object has abnormal growth, for example, when it is determined that the target object has abnormal body temperature, an alarm message can also be sent to the target terminal to prompt the target object to take countermeasures. It is also possible to control the equipment in the area where the target object is located according to the situation of the target object. For example, when it is determined that the target object is hypoxic, the oxygen-generating equipment in the area where the target object is located can be controlled to be turned on, or the windows in the area where the target object is located can be controlled to be in an open state. Of course, a growth information report of the target object can also be generated according to the growth trend, and the growth information report can be displayed in the operation terminal. In addition, it is also possible to obtain the market information of the target object, determine the second suggestion information according to the market information and the growth trend, and send the second suggestion information to the target terminal. For example, when the target object is a pig, the market information of the pig can be obtained in real time. When it is determined that the selling price of the pig is high and the weight of the pig exceeds a predetermined threshold, the selling suggestion can be sent to the target terminal. When it is determined that the price of the piglet is low, a buying suggestion can also be sent to the target terminal.

[0037] In an exemplary embodiment, the method further includes: obtaining the body information of objects included in a plurality of regions, wherein the regions include the target region, and one region includes one or more objects; determining the body information distribution data of the plurality of regions; and evenly distributing the objects included in the plurality of regions based on the body information distribution data. In this embodiment, the total weight of all target objects in each region can also be determined according to the body information of the target object, such as weight information. When the total weight of the target objects in a certain region is small, and the total weight of the target objects in another region is large, some of the target objects in another region can be moved to the target region with a smaller total weight. For example, when the target objects are pigs, the total weight of the pigs in the first region is 1600 jin, and the total weight of the pigs in the second region is 1000 jin. It can be considered that the activity space of the pigs in the first region is small, and the activity space of the pigs in the second region is large, and a pig in the first region can be placed in the second region.

[0038] In an exemplary embodiment, after analyzing the target multimedia information using the first model to determine the contour information of the target object, the method further includes: calibrating the contour information in the target multimedia information; after determining the target body information of the target object based on the contour information, the method further includes: calibrating the target body information in the area corresponding to the contour information in the target multimedia information. In this embodiment, after determining the contour information of the target object, the contour information can be calibrated in the target multimedia information, and after determining the target body information based on the contour information, the target body information can also be calibrated in the area corresponding to the contour information.

[0039] In an exemplary embodiment, after the target multimedia information is analyzed using the first model to determine the contour information of the target object, the method further includes: determining the number of the target objects included in the target area based on the contour information of the target object. In this embodiment, a rectangular frame of a certain size can be selected to slide on the first image, and the positions slid over are all used as candidate frames. This step obtains about tens of thousands of candidate frames, and then the probability of containing the target in each candidate frame is predicted based on the image features extracted by the neural network, and the frames with very low probability values ​​are filtered out. At the same time, the frames repeated at the same position are filtered out. After this step, only 64 frames are left (this number is only an exemplary description, and the present invention does not limit this number). Then, using the regression function of the relationship between the predicted frame and the true value (which has been learned and recorded in the algorithm), this deviation is superimposed on the 64 candidate frames to obtain new coordinates, and then filtering is performed to leave only one frame at each position, and finally the number of target objects and the coordinates of each frame are obtained.

[0040] After determining the target object's body shape information, quantity information, growth information, the total weight of all target objects in the target area, the output value curve of the target area, etc., the above information can be stored in the platform server. The platform server can send the storage address to the target terminal, and the target terminal can access the platform server through the storage address to obtain information, such as the growth trend of target objects in a certain area, market information of target objects, breeding suggestions, etc.

[0041] How to determine the body posture information is described below in conjunction with a specific implementation method:

[0042] Figure 4 is a flow chart of a method for determining body posture information according to a specific embodiment of the present invention. Figure 4 As shown, the process includes:

[0043] S101, a fisheye camera (corresponding to the above-mentioned shooting device) is deployed to monitor the pig pen monitoring area in the pig house. This step requires knowing the height of the fisheye camera (corresponding to the above-mentioned preset height);

[0044] S102, the fisheye camera is connected to the AI-NVR device through the network.

[0045] S103, AI-NVR intelligently analyzes the images through the received fisheye camera video to obtain the number, weight, and rectangular coordinate information of the pigs. The main methods of intelligent analysis are:

[0046] ①Use neural network to extract image features, obtain the detection frame and animal outline of each pig through post-processing, and count the number of detection frames to obtain the counting result;

[0047] ② Use the animal outline to calculate the pig area, use the camera height and weight multiples to calculate the ratio of the pig pixel to the true value, and multiply this ratio by the area to estimate the weight;

[0048] ③ The above ratio to the true value requires a real measurement of a pig. By calculating the pig's real weight and the algorithm's estimated weight, a coefficient is obtained. The subsequent algorithm will automatically multiply the coefficient to obtain a more accurate weight.

[0049] S104, AI-NVR regularly reports to the platform the events perceived, including the detected frame of image, the number of pigs, the weight of each pig, and the rectangular coordinate information of the pigs.

[0050] S105, a thermal imaging camera (corresponding to the above-mentioned shooting device) collects the temperature of the pigs;

[0051] S106, thermal imaging camera reports pig temperature and pictures;

[0052] S107, the platform server performs multi-dimensional statistical analysis and presentation of the received information, including but not limited to:

[0053] ① Perform contour calibration on the image for the weight and segmentation data reported by AI-NVR;

[0054] ②The home page displays the name of the farmer, the name of the pig pen, the total number of pigs, real-time market conditions, economic value, etc.;

[0055] ③ The device periodically reports the perception information, and the platform implements the corresponding alarm threshold management, alarm and display, and can support remote enabling and disabling of the corresponding device intelligent functions;

[0056] ④Multi-dimensional statistical analysis based on pig pens, body temperature, weight, heart rate, blood oxygen, time, etc.;

[0057] ⑤ The statistical display format includes curve charts for each column and each breeding area;

[0058] ⑥ Provide or push reasonable breeding suggestions based on the status of the pigs;

[0059] S108, output the information obtained after statistical analysis to the LED and large screen, and push it to the mobile phone through the public network.

[0060] In the aforementioned embodiment, the pig body state detection is implemented using a deep learning algorithm. The image of the pig is captured by a fisheye camera, the body characteristics of the pig are analyzed using computer vision technology, the physiological information of the pig is captured by a thermal imaging camera, and then the data processed by the front end is fused on the platform server, and the fused data is deeply analyzed using a deep learning algorithm, and finally a health information report of the pig is generated, the growth curve of the pig is monitored in real time, and the most reasonable breeding suggestions are given. The threshold for pig breeding can be lowered, and large-scale breeding can be achieved without the need for breeders to have professional breeding techniques. Integrate existing security monitoring resources, combine with deep learning artificial intelligence, realize automatic temperature measurement, weight measurement, counting, health information analysis, breeding suggestions, and docking with third-party systems. It can be considered as a data perception and visualization system, which only requires a small amount of settings, and except for statistical queries, the business basically does not require human-computer interaction.

[0061] Through the description of the above implementation methods, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for enabling a terminal device (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present invention.

[0062] In this embodiment, a device for determining posture information is also provided, which is used to implement the above-mentioned embodiments and preferred implementation modes, and the descriptions that have been made will not be repeated. As used below, the term "module" can be a combination of software and / or hardware that implements a predetermined function. Although the device described in the following embodiments is preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.

[0063] Figure 5 is a structural block diagram of a device for determining body posture information according to an embodiment of the present invention. Figure 5 As shown, the device comprises:

[0064] An acquisition module 52 is used to acquire target multimedia information obtained after a shooting device shoots a target object in a target area;

[0065] An analysis module 54 is configured to analyze the target multimedia information using a first model to determine contour information of the target object, wherein the first model is trained by machine learning using multiple sets of first training data, and each set of data in the multiple sets of first training data includes: image information of the object and contour information of the object;

[0066] The determination module 56 is configured to determine the target body shape information of the target object based on the contour information.

[0067] In an exemplary embodiment, the determination module 56 can determine the target body information of the target object based on the contour information in the following manner: determine the target image area of ​​the target object based on the contour information; and determine the target body information corresponding to the target image area based on a predetermined correspondence between the image area and body information.

[0068] In an exemplary embodiment, the device can be used to obtain a first image obtained by photographing a first object in the target area by the photographing device before determining the target body information corresponding to the target image area based on a predetermined correspondence between the image area and the body information; determine the pixel area of ​​the first object in the first image; determine the correspondence based on the pixel area area, a preset height, the photographing parameters of the photographing device, and the actual area of ​​the first object obtained in advance, wherein the preset height is the installation height of the photographing device.

[0069] In an exemplary embodiment, the determination module 56 can be implemented in the following manner to determine the target body shape information of the target object based on the contour information when the shooting device is a thermal imaging shooting device: determine the volume of the target object based on the contour information; determine the weight of the target object based on the volume; determine the temperature of the target object based on the heat distribution information of the image surrounded by the contour information; and determine the volume, weight, and temperature of the target object as the target body shape information of the target object.

[0070] In an exemplary embodiment, the device may also be used to obtain the target body shape information of the target object counted in multiple statistical periods; and determine the growth trend of the target object based on the target body shape information counted in multiple statistical periods.

[0071] In an exemplary embodiment, the device is also used to determine first suggestion information based on the growth trend after determining the growth trend of the target object based on the target body information counted within multiple statistical periods, and send the first suggestion information to the target terminal, wherein the first suggestion information includes a breeding method for breeding the target object; when it is determined based on the growth trend that the target object has growth abnormalities, send an alarm message; generate a growth information report of the target object based on the growth trend; obtain market information related to the target object, determine second suggestion information based on the market information and the growth trend, and send the second suggestion information to the target terminal, wherein the second suggestion information includes buying and selling suggestions for the target object.

[0072] In an exemplary embodiment, the device can also be used to obtain body shape information of objects included in multiple areas, wherein the areas include the target area, and one area includes one or more objects; determine body shape information distribution data of multiple areas; and evenly distribute the objects included in the multiple areas based on the body shape information distribution data.

[0073] In an exemplary embodiment, the device can also be used to analyze the target multimedia information using a first model to determine the contour information of the target object, and then calibrate the contour information in the target multimedia information; after determining the target body information of the target object based on the contour information, calibrate the target body information in an area corresponding to the contour information in the target multimedia information.

[0074] In an exemplary embodiment, the apparatus may also be configured to determine the number of the target objects included in the target area based on the contour information of the target objects after analyzing the target multimedia information using the first model to determine contour information of the target objects.

[0075] It should be noted that the above modules can be implemented by software or hardware. For the latter, it can be implemented in the following ways, but not limited to: the above modules are all located in the same processor; or the above modules are located in different processors in any combination.

[0076] An embodiment of the present invention further provides a computer-readable storage medium, in which a computer program is stored, wherein the computer program is configured to execute the steps of any of the above method embodiments when running.

[0077] In an exemplary embodiment, the computer-readable storage medium may include, but is not limited to, various media that can store computer programs, such as a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk or an optical disk.

[0078] An embodiment of the present invention further provides an electronic device, including a memory and a processor, wherein a computer program is stored in the memory, and the processor is configured to run the computer program to execute the steps in any one of the above method embodiments.

[0079] In an exemplary embodiment, the electronic device may further include a transmission device and an input / output device, wherein the transmission device is connected to the processor, and the input / output device is connected to the processor.

[0080] For specific examples in this embodiment, reference may be made to the examples described in the above embodiments and exemplary implementation modes, and this embodiment will not be described in detail herein.

[0081] Obviously, those skilled in the art should understand that the above modules or steps of the present invention can be implemented by a general computing device, they can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices, they can be implemented by a program code executable by a computing device, so that they can be stored in a storage device and executed by the computing device, and in some cases, the steps shown or described can be executed in a different order than here, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. Thus, the present invention is not limited to any specific combination of hardware and software.

[0082] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. A method for determining body posture information, characterized in that: include: Acquiring target multimedia information obtained after a shooting device shoots a target object in a target area; Analyzing the target multimedia information using a first model to determine contour information of the target object, wherein the first model is trained by machine learning using multiple sets of first training data, each set of data in the multiple sets of first training data includes: image information of the object and contour information of the object; Determining target body posture information of the target object based on the contour information; Wherein, determining the target body information of the target object based on the contour information comprises: determining the target image area of ​​the target object based on the contour information; determining the target body information corresponding to the target image area based on a predetermined correspondence between the image area and body information; Before determining the target body information corresponding to the target image area based on a predetermined correspondence between the image area and the body information, the method further includes: acquiring a first image obtained by photographing a first object in the target area by means of the photographing device; determining a pixel area area of ​​the first object in the first image; and determining the correspondence based on the pixel area area, a preset height, photographing parameters of the photographing device, and an actual area of ​​the first object obtained in advance by measurement, wherein the preset height is an installation height of the photographing device.

2. The method according to claim 1, characterized in that In the case where the shooting device is a thermal imaging shooting device, determining the target body information of the target object based on the contour information includes: determining a volume of the target object based on the contour information; determining a weight of the target object based on the volume; determining the temperature of the target object based on heat distribution information of the image surrounded by the contour information; The volume, weight and temperature of the target object are determined as the target body information of the target object.

3. The method according to claim 1, characterized in that The method further comprises: Acquiring the target body posture information of the target object counted in multiple statistical periods; The growth trend of the target object is determined based on the target body posture information collected during a plurality of statistical periods.

4. The method according to claim 3, characterized in that After determining the growth trend of the target object based on the target body shape information collected in multiple statistical periods, the method further includes at least one of the following: determining first suggestion information based on the growth trend, and sending the first suggestion information to a target terminal, wherein the first suggestion information includes a breeding method for breeding the target object; When it is determined based on the growth trend that the target object has growth abnormality, sending an alarm message; generating a growth information report of the target object based on the growth trend; Obtain market information related to the target object, determine second suggestion information based on the market information and the growth trend, and send the second suggestion information to the target terminal, wherein the second suggestion information includes buying and selling suggestions for the target object.

5. The method according to claim 1, characterized in that The method further comprises: Acquire body posture information of objects included in a plurality of regions, wherein the regions include the target region, and one region includes one or more objects; Determining distribution data of body posture information of a plurality of the regions; The objects included in the plurality of regions are evenly distributed based on the body posture information distribution data.

6. The method according to claim 1, characterized in that After analyzing the target multimedia information using the first model to determine the contour information of the target object, the method further includes: marking the contour information in the target multimedia information; After determining the target body information of the target object based on the contour information, the method further includes: marking the target body information in a region corresponding to the contour information in the target multimedia information.

7. The method according to claim 1, characterized in that After analyzing the target multimedia information using the first model to determine the contour information of the target object, the method further includes: The number of the target objects included in the target area is determined based on the contour information of the target objects.

8. A device for determining body posture information, characterized in that: include: An acquisition module, used to acquire target multimedia information obtained after a shooting device shoots a target object in a target area; An analysis module is used to analyze the target multimedia information using a first model to determine contour information of the target object, wherein the first model is trained by machine learning using multiple sets of first training data, and each set of data in the multiple sets of first training data includes: image information of the object and contour information of the object; A determination module, configured to determine target body posture information of the target object based on the contour information; The determination module is used to determine the target body information of the target object based on the contour information in the following manner: determining the target image area of ​​the target object based on the contour information; determining the target body information corresponding to the target image area based on a predetermined correspondence between the image area and body information; The determination device is also used to: before determining the target body information corresponding to the target image area based on a predetermined correspondence between the image area and the body information, obtain a first image obtained after photographing the first object in the target area by the photographing device; determine the pixel area area of ​​the first object in the first image; determine the correspondence based on the pixel area area, a preset height, the photographing parameters of the photographing device and the actual area of ​​the first object obtained in advance, wherein the preset height is the installation height of the photographing device.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, wherein the computer program is configured to execute the method according to any one of claims 1 to 7 when executed.

10. An electronic device comprising a memory and a processor, characterized in that: A computer program is stored in the memory, and the processor is configured to run the computer program to perform the method according to any one of claims 1 to 7.