Mobile livestock weight measuring equipment and method based on visual identification technology

文档序号:5640 发布日期:2021-09-17 浏览:40次 中文

阅读说明:本技术 一种基于视觉识别技术的移动式牲畜体重测量设备及方法 (Mobile livestock weight measuring equipment and method based on visual identification technology ) 是由 卫燕峻 陈荔群 吴海玲 金皇 许梦杰 于 2021-07-26 设计创作,主要内容包括:一种基于视觉识别技术的移动式牲畜体重测量设备,包括:移动支架本体,所述移动支架本体包括第一底部,所述第一底部一侧设置有滑动装置,于所述第一底部的另一侧固定设置有一支撑杆,所述支撑杆的自由端设置有图像采集单元、数据计算单元,电源单元;其中,所述图像采集单元设置于所述支撑杆的自由端端部,用于获取当前环境中的图像数据;所述数据计算单元连接所述图像采集单元;用以对所述图像数据做分析处理以形成一计算结果输出;电源单元,用以分别连接所述图像采集单元和所述数据计算单元,用以分别多所述图像采集单元和所述数据计算单元提供电能。(A movable livestock weight measuring device based on visual identification technology comprises: the movable support comprises a movable support body, wherein the movable support body comprises a first bottom, one side of the first bottom is provided with a sliding device, the other side of the first bottom is fixedly provided with a supporting rod, and the free end of the supporting rod is provided with an image acquisition unit, a data calculation unit and a power supply unit; the image acquisition unit is arranged at the end part of the free end of the supporting rod and used for acquiring image data in the current environment; the data calculation unit is connected with the image acquisition unit; the image data is analyzed and processed to form a calculation result output; and the power supply unit is used for being respectively connected with the image acquisition unit and the data calculation unit and respectively supplying electric energy to the image acquisition unit and the data calculation unit.)

1. A movable livestock weight measuring device based on visual identification technology is characterized by comprising:

the movable support comprises a movable support body, wherein the movable support body comprises a first bottom, one side of the first bottom is provided with a sliding device, the other side of the first bottom is fixedly provided with a supporting rod, and the free end of the supporting rod is provided with an image acquisition unit, a data calculation unit and a power supply unit; wherein the content of the first and second substances,

the image acquisition unit is arranged at the end part of the free end of the supporting rod and used for acquiring image data in the current environment;

the data calculation unit is connected with the image acquisition unit; the image data is analyzed and processed to form a calculation result output;

and the power supply unit is used for being respectively connected with the image acquisition unit and the data calculation unit and respectively supplying electric energy to the image acquisition unit and the data calculation unit.

2. A mobile livestock weight measuring apparatus based on visual identification technology of claim 1 wherein said sliding means comprises at least three pulleys.

3. The movable livestock weight measuring device based on the visual identification technology of claim 1, wherein said support rod comprises a first support rod, a second support rod and a third support rod, said first support rod is fixedly arranged at said first bottom portion, said second support rod is sleeved in said first support rod, and said third support rod is connected with said second support rod.

4. The mobile livestock weight measuring device based on visual identification technology of claim 1, further comprising an adjusting device connected to said second and third supporting rods, respectively, for driving said third supporting rod to adjust the current environment of said image capturing unit.

5. A mobile livestock weight measuring method based on visual identification technology, which is characterized in that the mobile livestock weight measuring device based on visual identification technology of any claim 1-4 is included, and the mobile livestock weight measuring device based on visual identification technology further comprises:

controlling an acquisition unit to acquire an acquired image in a state that the mobile livestock weight measuring equipment is arranged at a preset position;

performing data analysis on the acquired image, and forming a first type of calculation result according to the analysis result;

and correcting the first type of calculation result to form a detection result.

6. The visual identification technology-based mobile livestock weight measuring method of claim 5, wherein said collected images are subjected to data analysis, and said forming a first type of calculation result according to said analysis result specifically comprises:

acquiring feature data in the current acquired image, and judging whether the feature data is matched with preset standard feature data;

and forming the first type of calculation result according to the characteristic data under the condition that the characteristic data is matched with the preset standard characteristic data.

7. The mobile livestock weight measuring method based on visual identification technology of claim 6, further comprising:

under the condition that the characteristic data do not match with the preset standard characteristic data, acquiring first characteristic segment data and second characteristic segment data according to the characteristic data;

forming first difference degree data according to the first characteristic segment data and the standard characteristic data;

forming second difference degree data according to the second characteristic segment data and the standard characteristic data;

selecting characteristic segment data corresponding to the data with the large difference value from the first difference data and the second difference data to form reference characteristic data;

and forming the first type of calculation result according to the reference characteristic data, the standard characteristic data, the first characteristic segment data or the second characteristic segment data.

8. The visual identification technology-based mobile livestock weight measuring method of claim 5, wherein said collected images are subjected to data analysis, and said forming a first type of calculation result according to said analysis result specifically comprises:

acquiring current characteristic data in the current acquired image to obtain position information of all pigs in the image frame;

acquiring feature images matched with the position information from a previous acquired image and a next acquired image according to the position information to form previous feature data and next feature data;

and forming a visual characteristic sequence according to the previous characteristic data, the current characteristic data and the next characteristic data, and forming a first type of calculation result according to the visual characteristic sequence and the RNN/CNN model technology.

9. A computer-readable storage medium, on which a computer program is stored, which program, when being executed by a processor, carries out a method for mobile livestock weight measurement based on visual identification technology according to any one of claims 5-8.

10. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor when executing the computer program implements a method for mobile livestock weight measurement based on visual identification technology according to any of claims 5-8.

Technical Field

The invention relates to the technical field of livestock breeding monitoring, in particular to movable livestock weight measuring equipment and method based on a visual identification technology, electronic equipment and a storage medium.

Background

In order to sell the pigs at a proper time to obtain considerable profits, a breeder needs to master the weight information of a swinery at any time, the feeding structure of the pigs is adjusted at any time by combining the change condition of the weight and the market quotation, and the pigs are well bred in a controllable range by matching more optimal feed quantity.

The method for acquiring the weight of the swinery in the industry at present is to use an electronic scale, namely, one end of the swinery is driven to a platform scale, weight information is recorded, and after all live pigs are weighed, the weight of the swinery is finally calculated in a gathering mode. This presents four problems: the first problem is: the data are recorded and statistically calculated, which is not convenient and fast enough, and the second problem is that: the pig catching up with the platform scale is a very troublesome thing, great effort needs to be expended, only one end of the pig catching up with the platform scale can be used, the weight information of a swinery cannot be quickly acquired, and the weighing efficiency is very low. A third problem is that the weighing hardware is affected by its weight and volume, and it is difficult to transfer the weighing equipment to different positions and fix several support points. The fourth problem is that the risk factor of biological control is dramatically increased because african swine fever is transmitted by contact, the fatality rate is extremely high, and there is no vaccine on the market. Thus, if the platform scale is used in different piggeries and continuously contacts with pigs, the probability of virus transmission is greatly increased, and as long as one pig has non-plague, the whole group of pigs can die of the non-plague.

Disclosure of Invention

In view of the above technical problems, the present invention provides a mobile livestock weight measuring device, method, electronic device and storage medium based on visual identification technology, specifically:

in one aspect, the present invention provides a mobile livestock weight measuring device based on visual identification technology, wherein the mobile livestock weight measuring device comprises:

the movable support comprises a movable support body, wherein the movable support body comprises a first bottom, one side of the first bottom is provided with a sliding device, the other side of the first bottom is fixedly provided with a supporting rod, and the free end of the supporting rod is provided with an image acquisition unit, a data calculation unit and a power supply unit; wherein the content of the first and second substances,

the image acquisition unit is arranged at the end part of the free end of the supporting rod and used for acquiring image data in the current environment;

the data calculation unit is connected with the image acquisition unit; the image data is analyzed and processed to form a calculation result output;

and the power supply unit is used for being respectively connected with the image acquisition unit and the data calculation unit and respectively supplying electric energy to the image acquisition unit and the data calculation unit.

Preferably, the mobile livestock weight measuring device based on the visual identification technology is characterized in that the sliding device comprises at least three pulleys.

Preferably, foretell portable livestock weight measuring equipment based on vision recognition technology, wherein, the bracing piece includes first branch, second branch, third branch, first branch is fixed set up in first bottom, second branch suit in first branch, third branch is connected second branch.

Preferably, the mobile livestock weight measuring device based on the visual recognition technology further comprises an adjusting device, which is respectively connected to the second supporting rod and the third supporting rod, and is used for driving the third supporting rod to adjust the current environment of the image acquisition unit.

On the other hand, the present application further provides a mobile livestock weight measuring method based on visual identification technology, wherein the mobile livestock weight measuring device based on visual identification technology, which includes any one of the above mentioned devices, further includes:

controlling an acquisition unit to acquire a current acquisition image in a state that the mobile livestock weight measuring equipment is arranged at a preset position;

performing data analysis on the acquired image, and forming a first type of calculation result according to the analysis result;

and correcting the first type of calculation result to form a detection result.

Preferably, the above method for measuring the weight of a mobile livestock based on a visual recognition technology, wherein the data analysis of the collected image and the formation of the first type of calculation result according to the analysis result specifically include:

acquiring feature data in the current acquired image, and judging whether the feature data is matched with preset standard feature data;

and forming the first type of calculation result according to the characteristic data under the condition that the characteristic data is matched with the preset standard characteristic data.

Preferably, the method for measuring the weight of the mobile livestock based on the visual identification technology further comprises:

under the condition that the characteristic data do not match with the preset standard characteristic data, acquiring first characteristic segment data and second characteristic segment data according to the characteristic data;

forming first difference degree data according to the first characteristic segment data and the standard characteristic data;

forming second difference degree data according to the second characteristic segment data and the standard characteristic data;

selecting characteristic segment data corresponding to the data with the large difference value from the first difference data and the second difference data to form reference characteristic data;

and forming the first type of calculation result according to the reference characteristic data, the standard characteristic data, the first characteristic segment data or the second characteristic segment data.

Preferably, the method for measuring the weight of the mobile livestock based on the visual identification technology further comprises:

acquiring current characteristic data in the current acquired image to obtain position information of all pigs in the image frame;

acquiring feature images matched with the position information from a previous acquired image and a next acquired image according to the position information to form previous feature data and next feature data;

and forming a visual characteristic sequence according to the previous characteristic data, the current characteristic data and the next characteristic data, and forming a first type of calculation result according to the visual characteristic sequence and the RNN/CNN model technology.

In yet another aspect, the present application further provides a computer readable storage medium having a computer program stored thereon, wherein the program when executed by a processor implements a method for mobile livestock weight measurement based on visual identification technology as described in any one of the above.

In still another aspect, the present application further provides an electronic device comprising a memory, a processor and a computer program stored in the memory and executable by the processor, wherein the processor implements any one of the above-mentioned methods for measuring weight of mobile livestock based on visual recognition technology when executing the computer program.

Compared with the prior art, the beneficial effect of this application lies in:

the movable livestock weight measuring equipment is moved to a preset position through the pulley, the image acquisition height is adjusted through the first supporting rod and the second supporting rod, and the image acquisition width is adjusted through the third supporting rod, so that the image acquisition device can acquire a required image area. When the swinery or the pig only passes through the image acquisition area, the acquisition unit acquires image data, performs real-time calculation and analysis on the acquired image data, and transmits a calculation result and the data after statistical analysis to an application end for display, thereby realizing quick weighing, data analysis and calculation and non-contact operation with the swinery.

Drawings

Fig. 1 is a schematic structural diagram of a mobile livestock weight measuring device based on a visual identification technology according to an embodiment of the invention;

FIG. 2 is a schematic flow chart of a mobile livestock weight measurement method based on visual recognition technology according to an embodiment of the present invention;

FIG. 3 is a schematic flow chart of a mobile livestock weight measurement method based on visual recognition technology according to an embodiment of the present invention;

fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.

Detailed Description

The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.

Before discussing exemplary embodiments in more detail, it should be noted that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart may describe the steps as a sequential process, many of the steps can be performed in parallel, concurrently or simultaneously. In addition, the order of the steps may be rearranged. The process may be terminated when its operations are completed, but may have additional steps not included in the figure. The processes may correspond to methods, functions, procedures, subroutines, and the like.

Example one

In one aspect, as shown in fig. 1, the present invention provides a mobile livestock weight measuring device based on visual recognition technology, wherein the mobile livestock weight measuring device comprises:

the movable support comprises a movable support body 1, wherein the movable support body 1 comprises a first bottom 2, a sliding device 3 is arranged on one side of the first bottom 2, a supporting rod 4 is fixedly arranged on the other side of the first bottom 2, and the sliding device 3 comprises at least three pulleys 31. The support rod 4 comprises a first support rod 41, a second support rod 42 and a third support rod 43, the first support rod 41 is fixedly arranged at the first bottom 2, the second support rod 42 is sleeved in the first support rod 41, and the third support rod 43 is connected with the second support rod 42. The adjusting device 8 is respectively connected to the second supporting rod 42 and the third supporting rod 43, and is used for driving the third supporting rod 43 to adjust the current environment of the image capturing unit 5.

The free end of the supporting rod 4 is provided with an image acquisition unit 5, a data calculation unit 6 and a power supply unit 7;

the image acquisition unit 5 is arranged at the end part of the free end of the support rod 4 and is used for acquiring image data in the current environment;

the data calculation unit 6 is connected with the image acquisition unit 5; the image data is analyzed and processed to form a calculation result output;

and the power supply unit 7 is used for being respectively connected with the image acquisition unit 5 and the data calculation unit 6 and respectively supplying electric energy to the image acquisition unit 5 and the data calculation unit 6.

The working principle of the mobile livestock weight measuring equipment based on the visual identification technology is as follows:

the mobile livestock weight measuring apparatus is moved to a predetermined position through the pulley 31 while adjusting the image capturing height through the first and second struts 41 and 42 and the image capturing width through the third strut 43 so that the image capturing device can acquire its desired image area. When the swinery or the pig only passes through the image acquisition area, the acquisition unit acquires image data, performs real-time calculation and analysis on the acquired image data, and transmits a calculation result and the data after statistical analysis to an application end for display, thereby realizing quick weighing, data analysis and calculation and non-contact operation with the swinery.

Example two

On the other hand, the present application further provides a mobile livestock weight measuring method based on visual identification technology, wherein the mobile livestock weight measuring device based on visual identification technology, which includes any one of the above mentioned devices, further includes:

step S110, controlling an acquisition unit to acquire a current acquisition image in a state that the mobile livestock weight measuring equipment is arranged at a preset position; the current collected image can be the image data of a single pig or the image data of a plurality of pigs.

Step S120, carrying out data analysis on the acquired image, and forming a first type of calculation result according to the analysis result; the first type of calculation result can be the calculation result of a single pig or the calculation results of a plurality of pigs. The method specifically comprises the following steps:

step S1201, acquiring feature data in the current acquired image, and judging whether the feature data is matched with preset standard feature data; the predetermined standard characteristic data may be image data of a single pig.

Step S1202, forming the first type of calculation result according to the feature data under the condition that the feature data is matched with the feature data of the preset standard. That is, when the currently acquired feature data is a single pig, the weight data of the pig is formed according to the single pig, and the weight data of each pig is cumulatively superimposed to form the final data.

Step S1203, under the condition that the feature data do not match with the feature data of a preset standard, acquiring first feature segment data and second feature segment data according to the feature data; this step is performed for multiple pig situations where, for example, there are two pigs in the current collection area. Processing the image according to the acquired data, and respectively acquiring the characteristic data corresponding to each pig to form first characteristic segment data and second characteristic segment data;

step S1204, forming first difference degree data according to the first characteristic segment data and the standard characteristic data; the first difference degree data is the area ratio of the first characteristic segment data and the standard characteristic data.

Step S1205, second difference degree data is formed according to the second characteristic segment data and the standard characteristic data; the second difference data is an area ratio of the second feature segment data to the standard feature data.

Step S1206, selecting feature segment data corresponding to the data with the large difference degree value from the first difference degree data and the second difference degree data to form reference feature data; and selecting the pig with complete characteristic data as reference characteristic data.

Step S1207, forming the first type of calculation result according to the reference feature data, the standard feature data, the first feature segment data, or the second feature segment data. The weight of the pig corresponding to the reference characteristic data is calculated firstly, and then the weight corresponding to the other pig is calculated according to the ratio of the first difference data to the second difference data.

And step S130, correcting the first type of calculation result to form a detection result. The detection result is the sum of the weights of all the detected pigs at present.

EXAMPLE III

S210, controlling an acquisition unit to acquire a current acquisition image in a state that the mobile livestock weight measuring equipment is arranged at a preset position; the current captured image may be a video stream of images.

S220, performing data analysis on the acquired image, and forming a first type of calculation result according to the analysis result; wherein the first type of calculation may be a calculation of a single pig. The method specifically comprises the following steps:

step S2201, acquiring current characteristic data in the current acquired image to obtain position information of all pigs in the image frame; the current captured image may be a frame of image in a video stream image.

Step S2202, according to the position information, feature images matched with the position information are obtained from the previous frame of collected image and the next frame of collected image to form previous feature data and next feature data;

step S2203, a visual characteristic sequence is formed according to the previous characteristic data, the current characteristic data and the next characteristic data, and a first type of calculation result is formed according to the visual characteristic sequence and by combining an RNN/CNN model technology. The visual feature sequence includes head information, body part information, tail information, and the like.

And step S230, correcting the first type of calculation result to form a detection result.

Example four

In a further aspect, the present application further provides a computer readable storage medium, on which a computer program is stored, wherein the program when executed by a processor implements a visual identification technology based mobile livestock weight measuring method according to any of the above, wherein the visual identification technology based mobile livestock weight measuring apparatus comprising any of the above further comprises:

controlling an acquisition unit to acquire a current acquisition image in a state that the mobile livestock weight measuring equipment is arranged at a preset position;

performing data analysis on the acquired image, and forming a first type of calculation result according to the analysis result;

and correcting the first type of calculation result to form a detection result.

Storage medium-any of various types of memory devices or storage devices. The term "storage medium" is intended to include: mounting media such as CD-ROM, floppy disk, or tape devices; computer system memory or random access memory such as DRAM, DDR RAM, SRAM, EDO RAM, Lanbas (Rambus) RAM, etc.; non-volatile memory such as flash memory, magnetic media (e.g., hard disk or optical storage); registers or other similar types of memory elements, etc. The storage medium may also include other types of memory or combinations thereof. In addition, the storage medium may be located in the computer system in which the program is executed, or may be located in a different second computer system connected to the computer system through a network (such as the internet). The second computer system may provide the program instructions to the computer for execution. The term "storage medium" may include two or more storage media that may reside in different locations, such as in different computer systems that are connected by a network. The storage medium may store program instructions (e.g., embodied as a computer program) that are executable by one or more processors.

Of course, the storage medium provided in the embodiments of the present application and containing computer-executable instructions is not limited to the rendering method described above, and may also perform related operations in the rendering method provided in any embodiment of the present application.

EXAMPLE five

In another aspect, an embodiment of the present application provides an electronic device, where the rendering apparatus provided in the embodiment of the present application may be integrated in the electronic device. Fig. 4 is a schematic structural diagram of an electronic device according to a fifth embodiment of the present application. As shown in fig. 4, the present embodiment provides an electronic device 400, which includes: one or more processors 420; storage 410 to store one or more programs that, when executed by the one or more processors 420, cause the one or more processors 420 to implement:

controlling an acquisition unit to acquire a current acquisition image in a state that the mobile livestock weight measuring equipment is arranged at a preset position;

performing data analysis on the acquired image, and forming a first type of calculation result according to the analysis result;

and correcting the first type of calculation result to form a detection result. As shown in fig. 4, the electronic device 400 includes a processor 420, a storage device 410, an input device 430, and an output device 440; the number of the processors 420 in the electronic device may be one or more, and one processor 420 is taken as an example in fig. 4; the processor 420, the storage device 410, the input device 430, and the output device 440 in the electronic apparatus may be connected by a bus or other means, and are exemplified by a bus 450 in fig. 4.

The storage device 410 is a computer-readable storage medium, and can be used for storing software programs, computer-executable programs, and module units, such as program instructions corresponding to the rendering method in the embodiment of the present application.

The storage device 410 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the terminal, and the like. Further, the storage 410 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, storage 410 may further include memory located remotely from processor 420, which may be connected via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.

The input means 430 may be used to receive input numbers, character information, or voice information, and to generate key signal inputs related to user settings and function control of the electronic device. The output device 440 may include a display screen, speakers, etc.

It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

12页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种汽车衡秤台底部污泥自动清理装置及使用方法

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!