CN111223137A - Method and device for determining number of cultured products, terminal and storage medium - Google Patents
Method and device for determining number of cultured products, terminal and storage medium Download PDFInfo
- Publication number
- CN111223137A CN111223137A CN201811417832.8A CN201811417832A CN111223137A CN 111223137 A CN111223137 A CN 111223137A CN 201811417832 A CN201811417832 A CN 201811417832A CN 111223137 A CN111223137 A CN 111223137A
- Authority
- CN
- China
- Prior art keywords
- food
- product
- time period
- amount
- aquaculture
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 56
- 238000009360 aquaculture Methods 0.000 claims abstract description 114
- 244000144974 aquaculture Species 0.000 claims abstract description 114
- 238000004891 communication Methods 0.000 claims description 19
- 230000015654 memory Effects 0.000 claims description 17
- 238000012545 processing Methods 0.000 claims description 10
- 238000004590 computer program Methods 0.000 claims description 4
- 238000009395 breeding Methods 0.000 description 16
- 230000001488 breeding effect Effects 0.000 description 16
- 238000013500 data storage Methods 0.000 description 11
- 238000010586 diagram Methods 0.000 description 4
- 230000006870 function Effects 0.000 description 4
- 238000011161 development Methods 0.000 description 3
- 206010063385 Intellectualisation Diseases 0.000 description 1
- 201000010099 disease Diseases 0.000 description 1
- 208000037265 diseases, disorders, signs and symptoms Diseases 0.000 description 1
- 238000009313 farming Methods 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000001737 promoting effect Effects 0.000 description 1
- 230000011664 signaling Effects 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/60—Analysis of geometric attributes
-
- A—HUMAN NECESSITIES
- A01—AGRICULTURE; FORESTRY; ANIMAL HUSBANDRY; HUNTING; TRAPPING; FISHING
- A01K—ANIMAL HUSBANDRY; AVICULTURE; APICULTURE; PISCICULTURE; FISHING; REARING OR BREEDING ANIMALS, NOT OTHERWISE PROVIDED FOR; NEW BREEDS OF ANIMALS
- A01K67/00—Rearing or breeding animals, not otherwise provided for; New or modified breeds of animals
- A01K67/02—Breeding vertebrates
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02A—TECHNOLOGIES FOR ADAPTATION TO CLIMATE CHANGE
- Y02A40/00—Adaptation technologies in agriculture, forestry, livestock or agroalimentary production
- Y02A40/80—Adaptation technologies in agriculture, forestry, livestock or agroalimentary production in fisheries management
- Y02A40/81—Aquaculture, e.g. of fish
Landscapes
- Life Sciences & Earth Sciences (AREA)
- Environmental Sciences (AREA)
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Theoretical Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Animal Behavior & Ethology (AREA)
- Zoology (AREA)
- Animal Husbandry (AREA)
- Biodiversity & Conservation Biology (AREA)
- Geometry (AREA)
- Farming Of Fish And Shellfish (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
- Apparatus Associated With Microorganisms And Enzymes (AREA)
Abstract
The embodiment of the invention discloses a method, a device, a terminal and a storage medium for determining the number of cultured products, wherein feeding equipment is preset in a culture environment where the cultured products are located, and the feeding equipment is used for throwing food to the cultured products and recording the total amount of the food thrown to the cultured products in each time period, wherein the method comprises the following steps: acquiring an image of the environment where the culture product is located, wherein the image comprises a plurality of culture products; analyzing the image to obtain a first average body length of the cultured product; acquiring a first total amount of food put into the aquaculture product within a first time period recorded by the feeding equipment, wherein the first time period is in the current growth cycle of the aquaculture product; determining the quantity of the aquaculture product based on the first average body length and the first total food quantity. The embodiment of the invention can automatically determine the number of the cultured products, and effectively improve the efficiency and the accuracy of determining the number of the cultured products.
Description
Technical Field
The invention relates to the technical field of data processing, in particular to a method, a device, a terminal and a storage medium for determining the number of cultured products.
Background
With the rapid development of the breeding industry, the breeding scale is continuously enlarged, and epidemic diseases are frequently generated. The aquaculture insurance is an important component of an agricultural financial service system, is an important measure for the nation to vigorously support agricultural development, and has important significance in the aspects of helping producers of the aquaculture industry to disperse and transfer risks, improving the risk resistance, promoting the stable and healthy development of the aquaculture industry and the like.
At present, no matter farmers buy insurance for aquaculture products or settle insurance claims in aquaculture industry, insurance staff are required to confirm the number of aquaculture products on site, and the insurance staff usually count the aquaculture products manually to obtain the number of the aquaculture products. However, the number of the cultured products is usually large, and the cultured products can continuously move in the manual counting process, so that the difficulty of manual counting is increased, and the efficiency of manual counting is low; and the probability of missing or repeated counting in the manual counting process can be increased, so that the accuracy of the counting result is low.
Disclosure of Invention
The technical problem to be solved by the embodiments of the present invention is to provide a method, an apparatus, a terminal and a storage medium for determining the number of cultured products, which can automatically determine the number of cultured products and effectively improve the efficiency and accuracy of determining the number of cultured products.
In a first aspect, an embodiment of the present invention provides a method for determining the quantity of aquaculture products, where an eating device is preset in an aquaculture environment where the aquaculture products are located, and the eating device is configured to throw food to the aquaculture products and record the total amount of food thrown to the aquaculture products in each time period, where the method includes:
acquiring an image of the environment where the culture product is located, wherein the image comprises a plurality of culture products;
analyzing the image to obtain a first average body length of the cultured product;
acquiring a first total amount of food put into the aquaculture product within a first time period recorded by the feeding equipment, wherein the first time period is in the current growth cycle of the aquaculture product;
determining the quantity of the aquaculture product based on the first average body length and the first total food quantity.
In one embodiment, the obtaining a first total amount of food to be fed to the farm product within a first time period recorded by the feeding device comprises:
sending a data acquisition instruction to the feeding equipment, wherein the data acquisition instruction is used for instructing the feeding equipment to send the recorded first total food amount put into the culture product within the first time period to a terminal;
receiving the first total amount of food sent by the feeding device.
In one embodiment, said determining the amount of said produce based on said first average body length and said first total food amount comprises:
acquiring a first corresponding relation between the average body length of the variety to which the culture product belongs and the food demand;
determining a target food demand corresponding to the first average body length according to the first corresponding relation;
calculating the amount of the aquaculture product according to the target food demand and the first total food amount.
In one embodiment, before the obtaining of the first total amount of food put into the farm product within the first time period recorded by the feeding device, the method further comprises:
acquiring a second corresponding relation between the average length of the variety to which the culture product belongs and each growth cycle;
determining a second average length corresponding to the current growth cycle of the cultured product according to the second corresponding relation;
comparing the first average body length with the second average body length to obtain a first comparison result;
and if the first comparison result indicates that the difference value between the first average body length and the second average body length is smaller than or equal to a first preset difference value, executing the step of obtaining the first total amount of food put into the aquaculture product within the first time period recorded by the feeding equipment.
In one embodiment, before said determining the amount of said aquaculture product based on said first average body length and said first total food amount, said method further comprises:
acquiring a second total amount of food put into the aquaculture product within a second time period recorded by the feeding equipment, wherein the second time period is in the current growth cycle of the aquaculture product;
comparing the first total food amount with the second total food amount to obtain a second comparison result;
if the second comparison result indicates that the difference between the first total food amount and the second total food amount is smaller than or equal to a second preset difference, the step of determining the number of the cultured products according to the first average body length and the first total food amount is executed.
In one embodiment, the first time period comprises a preset number of unit time periods in a current growth cycle of the produce, and the determining the number of produce based on the first average length and the first total food quantity comprises:
calculating the average food amount corresponding to each unit time period according to the first total food amount and the preset amount;
determining the quantity of the aquaculture product based on the first average body length and the average food quantity.
In one embodiment, the time difference between the time indicated by the first time period and the time of acquiring the image is less than or equal to a preset time difference; the target food demand is a food demand in a unit time period corresponding to the first average body length.
In a second aspect, an embodiment of the present invention provides an apparatus for determining the quantity of aquaculture products, where an eating device is preset in an aquaculture environment where the aquaculture products are located, and the eating device is configured to throw food to the aquaculture products and record the total amount of food thrown to the aquaculture products in each time period, and the apparatus includes:
the acquisition module is used for acquiring an image of the environment where the culture product is located, wherein the image comprises a plurality of culture products;
the analysis module is used for analyzing the image to obtain a first average body length of the cultured product;
the obtaining module is further used for obtaining a first total amount of food put into the aquaculture product within a first time period recorded by the feeding equipment, wherein the first time period is located in the current growth cycle of the aquaculture product;
and the processing module is used for determining the number of the cultured products according to the first average body length and the first total food amount.
In a third aspect, an embodiment of the present invention provides a terminal, including a processor, a communication interface, and a memory, where the processor, the communication interface, and the memory are connected to each other, where the memory is used to store a computer program, and the computer program includes program instructions, and the processor is configured to call the program instructions to execute the method for determining the number of cultured products according to the first aspect.
In a fourth aspect, an embodiment of the present invention provides a storage medium, in which instructions are stored, and when the instructions are executed on a computer, the instructions cause the computer to execute the method for determining the number of cultured products according to the first aspect.
According to the embodiment of the invention, the average length of the cultured products is obtained by obtaining the image of the environment where the cultured products are located and analyzing the image, then the total amount of food put into the cultured products in the first time period recorded by the feeding equipment is obtained, and the number of the cultured products is determined according to the average length and the total amount of the food, so that the number of the cultured products can be automatically determined, and the efficiency and the accuracy of determining the number of the cultured products are effectively improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a schematic flow chart of a method for determining the quantity of aquaculture products according to a first embodiment of the present invention;
FIG. 2 is a schematic flow chart of a method for determining the quantity of aquaculture products according to a second embodiment of the present invention;
FIG. 3 is a schematic structural diagram of an apparatus for determining the amount of a culture product according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
Detailed Description
The technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention.
The embodiment of the invention discloses a method, a device, a terminal and a storage medium for determining the number of cultured products, which are used for rapidly determining the number of the cultured products so as to realize automation and intellectualization for determining the number of the cultured products and effectively improve the efficiency and the accuracy for determining the number of the cultured products. The following are detailed below.
Referring to fig. 1, fig. 1 is a schematic flow chart of a method for determining the quantity of aquaculture products according to a first embodiment of the present invention. In the embodiment of the present invention, feeding equipment is preset in a breeding environment where the breeding products are located, and the feeding equipment is configured to throw food to the breeding products and record a total amount of food thrown to the breeding products in each time period, wherein the method for determining the number of the breeding products may include:
s101, the terminal acquires an image of the environment where the culture product is located.
In the embodiment of the invention, on one hand, the camera device can be pre-installed in the environment where the culture product is located, and the camera device is controlled to take pictures of the culture environment where the culture product is located at preset time intervals or at specific time to obtain the image of the environment where the culture product is located. After the image of the environment where the culture product is located is obtained by photographing each time by the camera device, the corresponding relation between the image and the photographing time can be stored in the data storage device corresponding to the farm where the culture product is located. When the quantity of the cultured products needs to be confirmed, the terminal acquires the image of the environment where the cultured products are located from the data storage device.
On the other hand, the terminal may establish a communication connection with the photographing apparatus. When the number of the cultured products needs to be confirmed, the terminal sends a shooting instruction to the shooting equipment; the shooting equipment receives and responds to the shooting instruction to shoot the culture environment where the culture product is located, and an image of the environment where the culture product is located is obtained. The shooting equipment sends the image to the terminal, and accordingly the terminal receives the image of the environment where the culture product is located, wherein the image is sent by the shooting equipment. In another aspect, when the number of the cultured products needs to be confirmed, the terminal can be directly utilized to photograph the culture environment where the cultured products are located, so as to obtain an image of the environment where the cultured products are located. The image of the environment where the culture product is located, which is acquired by the terminal, comprises a plurality of culture products, and further comprises the whole body of the plurality of culture products; the image can be a panoramic image of the environment where the culture product is located, and the number of the images is multiple; the photographing time corresponding to the image is within a target time period, and the target time period is in the current growth cycle of the cultured products.
S102, the terminal analyzes the image to obtain a first average length of the cultured product.
In the embodiment of the invention, the terminal analyzes the image, determines a plurality of culture products with complete bodies in the image as target culture products, and acquires the length of each culture product in the target culture products. In one embodiment, the terminal acquires a focal length parameter corresponding to the image and acquires a first proportion of a target aquaculture product in the image; and obtaining the length of the target culture product based on the focal length parameter and the first proportion. In another embodiment, the environment where the culture product is located is preset with a reference object, the length of the reference object can be obtained from a data storage device, or the length of the reference object is marked directly beside the reference object; the reference object is also included in the image. The terminal obtains the length of the reference object, obtains a second proportion between the target aquaculture product and the reference object in the image, and obtains the length of the target aquaculture product based on the length of the reference object and the second proportion. Further, the terminal determines a first average length of the cultured products based on the length of each cultured product in the target cultured product and the number of the target cultured products.
S103, the terminal obtains the first total amount of food put into the aquaculture product in the first time period recorded by the feeding equipment.
In the embodiment of the invention, the communication connection can be established between the terminal and the feeding equipment, and when the number of the cultured products needs to be confirmed, the terminal sends a data acquisition instruction to the feeding equipment preset in the environment where the cultured products are located. The feeding equipment receives and responds to the data acquisition instruction, and sends the recorded first total food amount put into the culture product in the first time period to the terminal. The terminal receives a first total amount of food put into the aquaculture product in a first time period sent by the feeding device. In another embodiment, the data acquisition instruction is used for instructing the feeding device to send recorded feeding data to the terminal, wherein the feeding data comprises the total amount of food put into the aquaculture product in each time period; after receiving the feeding data sent by the feeding equipment, the terminal acquires the total amount of first food put into the aquaculture product in a first time period from the feeding data.
In one embodiment, after the feeding device finishes feeding the aquaculture product, the recorded total amount of food currently fed to the aquaculture product is sent to the data storage device corresponding to the farm where the aquaculture product is located. And after the data storage device receives the total amount of the food put in the aquaculture product sent by the food throwing device, the data storage device stores the corresponding relation between the total amount of the food put in the aquaculture product and the putting time. When the quantity of the culture products needs to be confirmed, the terminal obtains a first total quantity of food put into the culture products in a first time period from the data storage device.
The first time period is located in the current growth cycle of the cultured product, and the time difference between the time indicated by the first time period and the photographing time corresponding to the image is less than or equal to a preset time difference, wherein the preset time difference is five days, for example. The first period of time may refer to one unit period of time. The unit time period may refer to, for example, one day, and the first time period is, for example, the day or the previous day corresponding to the photographing time of the image; the first total amount of food put into the aquaculture product in the first time period is the total amount of food put into the aquaculture product on the day or the previous day corresponding to the photographing time of the image.
S104, the terminal determines the number of the cultured products according to the first average body length and the first total food amount.
In the embodiment of the invention, the food demand of the cultured products in a unit time period is related to the variety and the length of the cultured products. The number of the cultured products may be determined according to the first average body length and the first total food amount by: the terminal firstly obtains a first corresponding relation between the average body length of the variety to which the culture product belongs and the food demand. The first corresponding relation may be stored locally in the terminal, or may be stored in the cloud server. The terminal then determines a target food demand amount corresponding to the first average length based on the first corresponding relationship, wherein the target food demand amount is a food demand amount within a unit time period corresponding to the first average length. For example, suppose that the product name of the cultured product is pig, the breed of the pig is white pig, and the unit time period is one day; and acquiring a first corresponding relation between the average length corresponding to the big white pig and the food demand, determining the food demand of the big white pig with the first average length in a day corresponding to the big white pig from the first corresponding relation, and taking the determined food demand as the target food demand. Finally, the terminal calculates the number of the cultured products based on the target food demand and the first total food amount. Specifically, the terminal divides the first total food amount by the target food demand amount to obtain the number of the cultured products.
Further, after the terminal determines the number of the cultured products, prompt information including the number can be output, so that insurance personnel and farmers can know the number of the cultured products in time. By adopting the mode, the terminal can automatically and quickly determine the number of the cultured products by combining the total amount of the food put in the cultured products in each time period recorded by the feeding equipment and the average length of the cultured products obtained by analyzing the images of the environment where the cultured products are located, and the efficiency of determining the number of the cultured products is greatly improved. In addition, the method is hardly influenced by continuous movement of the cultured products, and the accuracy rate of determining the quantity of the cultured products can be improved.
In one embodiment, the food demand per unit time period of the aquaculture product is related to not only the breed and the length of the aquaculture product, but also the aquaculture mode. The number of the cultured products may be determined according to the first average body length and the first total food amount by: the terminal firstly obtains a target breeding mode adopted by the breeding product, wherein the target breeding mode comprises food varieties (such as feed varieties) put in aiming at the breeding product, feeding frequency (such as twice a day) and the like. Further, the terminal obtains the corresponding relation between the average length of the variety to which the cultivation product belongs and the food demand amount, which correspond to each of the plurality of cultivation modes, that is, obtains the corresponding relation between the variety to which the cultivation product belongs, the cultivation mode, the average length and the food demand amount. The corresponding relation between the four can be stored locally in the terminal, and can also be stored in a cloud server. The terminal then determines a target corresponding relation between the average length of the variety to which the cultivation product belongs and the food demand amount corresponding to the target cultivation mode based on the corresponding relation between the average length of the variety to which the cultivation product belongs and the food demand amount corresponding to each of the plurality of cultivation modes; and determining a target food demand corresponding to the first average body length based on the target correspondence.
In an embodiment, the first time period comprises a preset number of unit time periods in the current growth cycle of the cultured product, which unit time periods may for example refer to one day. The first time period is, for example, three days before or after the day corresponding to the photographing time of the image, and the first total amount of food put into the aquaculture product in the first time period is, that is, the total amount of food put into the aquaculture product in three days before or after the day corresponding to the photographing time of the image. The amount of the cultured products may be determined according to the first average body length and the first total food amount by: the terminal acquires the number of unit time periods included in the first time period, and calculates the average food amount corresponding to each unit time period based on the first total food amount and the number. The terminal then determines the number of the cultured products according to the first average body length and the average food quantity, specifically, the terminal obtains a first corresponding relation between the average body length of the variety to which the cultured products belong and the food demand, determines a target food demand corresponding to the first average body length based on the first corresponding relation, and then divides the average food quantity by the target food demand to obtain the number of the cultured products.
According to the embodiment of the invention, the average length of the cultured products is obtained by obtaining the image of the environment where the cultured products are located and analyzing the image, then the total amount of food put into the cultured products in the first time period recorded by the feeding equipment is obtained, and the number of the cultured products is determined according to the average length and the total amount of the food, so that the number of the cultured products can be automatically determined, and the efficiency and the accuracy of determining the number of the cultured products are effectively improved.
Referring to fig. 2, fig. 2 is a schematic flow chart of a method for determining the quantity of aquaculture products according to a second embodiment of the present invention. In the embodiment of the present invention, feeding equipment is preset in a breeding environment where the breeding products are located, and the feeding equipment is configured to throw food to the breeding products and record a total amount of food thrown to the breeding products in each time period, wherein the method for determining the number of the breeding products may include:
s201, the terminal acquires an image of the environment where the culture product is located.
S202, the terminal analyzes the image to obtain a first average length of the cultured product.
In the embodiment of the present invention, reference may be made to the related descriptions in step S101 and step S102 in the first method implementation for specific implementation manners of step S201 and step S202, and details are not repeated here.
In one embodiment, after the terminal analyzes the image of the environment where the cultured product is located to obtain the first average body length of the cultured product, the terminal first obtains the current growth cycle of the cultured product. Specifically, the terminal can obtain the current growth cycle of the aquaculture product from the data storage device corresponding to the farm where the aquaculture product is located, can also obtain the growth duration of the aquaculture product from the data storage device, and determines the current growth cycle of the aquaculture product based on the growth duration. The growth period of the aquaculture product can be divided based on the growth period of the aquaculture product, for example, the growth period is divided into one growth period of the aquaculture product from 90 days to 100 days, and the growth period is divided into another growth period of the aquaculture product from 160 days to 180 days.
Further, the terminal obtains a second corresponding relation between the average length of the variety to which the culture product belongs and each growth cycle. The second corresponding relationship may be stored locally in the terminal, or may be stored in the cloud server. The terminal determines a second average length corresponding to the current growth cycle of the cultured product based on the second corresponding relation, and compares the first average length obtained by analyzing the image with the second average length obtained based on the second corresponding relation to obtain a first comparison result. The first comparison result is used for indicating a difference value between the first average body length and the second average body length and indicating whether an absolute value of the difference value between the first average body length and the second average body length is smaller than or equal to a first preset difference value.
If the first comparison result indicates that the absolute value of the difference between the first average body length and the second average body length is less than or equal to the first preset difference, the terminal performs step S203. And if the first comparison result indicates that the absolute value of the difference value between the first average body length and the second average body length is greater than the first preset difference value, the terminal outputs prompt information, the prompt information is used for prompting to resubmit the image of the environment where the culture product is located, and the steps are repeated. If the number of times of resubmissing the image of the environment where the culture product is located reaches a preset number (for example, three times), the absolute value of the difference between the average body length of the culture product and the second average body length obtained by analyzing the image is still larger than the first preset difference; the terminal takes the second average length as the first average length of the cultured product analyzed from the image, and executes step S203. By adopting the mode, the first average body length of the aquaculture product obtained by analyzing the image of the environment where the aquaculture product is located can be verified based on the second average body length corresponding to the current growth cycle of the aquaculture product in the second corresponding relation, the data accuracy of the first average body length can be verified, and the accuracy of the subsequent determination of the number of the aquaculture products is improved to a certain extent.
S203, the terminal obtains the first total amount of food put into the aquaculture product in the first time period recorded by the feeding equipment.
In the embodiment of the present invention, the specific implementation manner of step S203 may refer to the related description in step S103 in the implementation of the first method, and details are not repeated here.
And S204, the terminal acquires a second total amount of food put into the aquaculture product in a second time period recorded by the feeding equipment.
In the embodiment of the invention, the terminal can directly obtain the second total amount of food put in the aquaculture product in the second time period from the feeding equipment, and also can obtain the second total amount of food put in the aquaculture product in the second time period from the data storage equipment corresponding to the farm where the aquaculture product is located; for a specific implementation manner, reference may be made to the related description in step S103 in the implementation of the first method, and details are not described here again.
The second time period is different from the first time period, the second time period is also in the current growth cycle of the cultured products, and the time difference value between the time indicated by the second time period and the photographing time corresponding to the image is smaller than or equal to the preset time difference value. The second period of time may refer to one unit period of time. The unit time period may refer to, for example, one day, and the second time period is, for example, the second day or the third day before or after the current day corresponding to the photographing time of the image, then the second total amount of food put into the aquaculture product in the second time period, that is, the total amount of food put into the aquaculture product on the second day or the third day before or after the current day corresponding to the photographing time of the image.
S205, the terminal compares the first total food amount with the second total food amount to obtain a second comparison result.
In an embodiment of the invention, the second comparison result is used for indicating a difference between the first total food amount and the second total food amount and for indicating whether an absolute value of the difference between the first total food amount and the second total food amount is smaller than or equal to a second preset difference. If the second comparison result indicates that the absolute value of the difference between the first total food amount and the second total food amount is less than or equal to the second predetermined difference, the terminal performs step S206. If the second comparison result indicates that the absolute value of the difference between the first total food amount and the second total food amount is greater than the second preset difference, the terminal may obtain an average total food amount between the first total food amount and the second total food amount, and determine the number of cultured products based on the first average body length and the average total food amount. By adopting the above mode, the second food total amount put in to the aquaculture product in the second time period can be based on the record, the first food total amount put in to the aquaculture product in the first time period is verified, the data accuracy of the first food total amount can be verified, and the accuracy of the subsequent determination of the aquaculture product amount is improved to a certain extent.
S206, if the second comparison result indicates that the difference value between the first total food amount and the second total food amount is smaller than or equal to a second preset difference value, the terminal determines the number of the cultured products according to the first average body length and the first total food amount.
In the embodiment of the present invention, the specific implementation manner of step S206 may refer to the related description in step S104 in the implementation of the first method, and is not described herein again.
According to the embodiment of the invention, the average length of the cultured products is obtained by obtaining the image of the environment where the cultured products are located and analyzing the image, then the first total amount of food and the second total amount of food which are respectively thrown into the cultured products in the first time period and the second time period recorded by the feeding equipment are obtained, if the difference value between the first total amount of food and the second total amount of food is not more than the second preset threshold value, the number of the cultured products is determined according to the average length and the first total amount of food, the number of the cultured products can be automatically determined, the data accuracy of the first total amount of food can be verified, and therefore, the efficiency and the accuracy of determining the number of the cultured products are effectively improved.
It should be noted that, the implementation manner of the method for determining the number of cultured products in the above method embodiment may also be completed by the server, which may specifically refer to the foregoing description and is not described herein again.
Referring to fig. 3, fig. 3 is a schematic structural diagram of an apparatus for determining the amount of cultured products according to an embodiment of the present invention. In this embodiment, the preset feeding device that eats in the farming environment that aquaculture product is located, this feeding device is used for throwing in food to aquaculture product to the total amount of food that aquaculture product was thrown in each time quantum is recorded, and wherein, aquaculture product's quantity determining means can include:
an obtaining module 301, configured to obtain an image of an environment where the culture product is located, where the image includes a plurality of culture products;
the analyzing module 302 is used for analyzing the image to obtain a first average length of the cultured product;
the obtaining module 301 is further configured to obtain a first total amount of food put into the cultured product within a first time period recorded by the feeding device, where the first time period is in a current growth cycle of the cultured product;
a processing module 303, configured to determine the number of the cultured products according to the first average body length and the first total food amount.
In an embodiment, the obtaining module 301 is specifically configured to:
sending a data acquisition instruction to the feeding equipment, wherein the data acquisition instruction is used for instructing the feeding equipment to send the recorded first total food amount put into the culture product within the first time period to a terminal;
receiving the first total amount of food sent by the feeding device.
In an embodiment, the processing module 303 is specifically configured to:
acquiring a first corresponding relation between the average body length of the variety to which the culture product belongs and the food demand;
determining a target food demand corresponding to the first average body length according to the first corresponding relation;
calculating the amount of the aquaculture product according to the target food demand and the first total food amount.
In an embodiment, the obtaining module 301 is further configured to obtain a second corresponding relationship between the average length of the variety to which the culture product belongs and each growth cycle;
the processing module 303 is further configured to:
determining a second average length corresponding to the current growth cycle of the cultured product according to the second corresponding relation;
comparing the first average body length with the second average body length to obtain a first comparison result;
if the first comparison result indicates that the difference between the first average body length and the second average body length is smaller than or equal to a first preset difference, the obtaining module 301 is triggered to obtain a first total amount of food put into the aquaculture product within a first time period recorded by the feeding equipment.
In an embodiment, the obtaining module 301 is further configured to obtain a second total amount of food put into the aquaculture product within a second time period recorded by the feeding device, where the second time period is in a current growth cycle of the aquaculture product;
the processing module 303 is further configured to:
comparing the first total food amount with the second total food amount to obtain a second comparison result;
and if the second comparison result indicates that the difference value between the first total food amount and the second total food amount is smaller than or equal to a second preset difference value, determining the number of the cultured products according to the first average body length and the first total food amount.
In an embodiment, the first time period includes a preset number of unit time periods in a current growth cycle of the cultured product, and the processing module 303 is specifically configured to:
calculating the average food amount corresponding to each unit time period according to the first total food amount and the preset amount;
determining the quantity of the aquaculture product based on the first average body length and the average food quantity.
In one embodiment, the time difference between the time indicated by the first time period and the time of acquiring the image is less than or equal to a preset time difference; the target food demand is a food demand in a unit time period corresponding to the first average body length.
It can be understood that the functions of the functional modules of the device for determining the number of cultured products according to the embodiment of the present invention can be specifically implemented according to the method in the embodiment of the method, and the specific implementation process of the device can refer to the description related to the embodiment of the method, which is not described herein again.
According to the embodiment of the invention, the average length of the cultured products is obtained by obtaining the image of the environment where the cultured products are located and analyzing the image, then the total amount of food put into the cultured products in the first time period recorded by the feeding equipment is obtained, and the number of the cultured products is determined according to the average length and the total amount of the food, so that the number of the cultured products can be automatically determined, and the efficiency and the accuracy of determining the number of the cultured products are effectively improved.
Referring to fig. 4, fig. 4 is a schematic structural diagram of a terminal according to an embodiment of the present invention, where the terminal described in the embodiment of the present invention includes: a processor 401, a communication interface 402, a memory 403. The processor 401, the communication interface 402, and the memory 403 may be connected by a bus or in other manners, and the embodiment of the present invention is exemplified by being connected by a bus.
The processor 401 may be a Central Processing Unit (CPU), a Network Processor (NP), a Graphics Processing Unit (GPU), or a combination of a CPU, a GPU, and an NP. The processor 401 may also be a core of a multi-core CPU, a multi-core GPU, or a multi-core NP for implementing communication identity binding.
The processor 401 may be a hardware chip. The hardware chip may be an application-specific integrated circuit (ASIC), a Programmable Logic Device (PLD), or a combination thereof. The PLD may be a Complex Programmable Logic Device (CPLD), a field-programmable gate array (FPGA), a General Array Logic (GAL), or any combination thereof.
The communication interface 402 may be used for transceiving information or signaling interaction, as well as receiving and transferring signals, and the communication interface 402 may be a transceiver. The memory 403 may mainly include a program storage area and a data storage area, where the program storage area may store an operating system, and a storage program required by at least one function (e.g., a text storage function, a location storage function, etc.); the storage data area may store data (such as image data, text data) created according to the use of the terminal, etc., and may include an application storage program, etc. Further, the memory 403 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 volatile solid state storage device.
The memory 403 is also used for storing program instructions. The processor 401 may call the program instructions stored in the memory 403 to implement the method for determining the amount of the farm product according to the embodiment of the present invention. The feeding device is used for feeding food to the culture products and recording the total amount of the food fed to the culture products in each time period.
Specifically, the processor 401 calls the program instructions stored in the memory 403 to execute the following steps:
acquiring an image of the environment where the culture product is located, wherein the image comprises a plurality of culture products;
analyzing the image to obtain a first average body length of the cultured product;
acquiring a first total amount of food put into the aquaculture product within a first time period recorded by the feeding equipment through the communication interface 402, wherein the first time period is in a current growth cycle of the aquaculture product;
determining the quantity of the aquaculture product based on the first average body length and the first total food quantity.
The method executed by the processor in the embodiment of the present invention is described from the perspective of the processor, and it is understood that the processor in the embodiment of the present invention needs to cooperate with other hardware structures to execute the method. The embodiments of the present invention are not described or limited in detail for the specific implementation process.
In an embodiment, the processor 401 obtains the first total amount of food put into the aquaculture product within the first time period recorded by the feeding device through the communication interface 402 by:
sending a data acquisition instruction to the feeding device through the communication interface 402, wherein the data acquisition instruction is used for instructing the feeding device to send a recorded first total amount of food put into the culture product in a first time period to a terminal;
receiving the first total amount of food sent by the feeding device through the communication interface 402.
In one embodiment, the processor 401 determines the amount of the aquaculture product according to the first average body length and the first total food amount by:
acquiring a first corresponding relation between the average body length of the variety to which the culture product belongs and the food demand;
determining a target food demand corresponding to the first average body length according to the first corresponding relation;
calculating the amount of the aquaculture product according to the target food demand and the first total food amount.
In an embodiment, before the processor 401 obtains the first total amount of food put into the aquaculture product within the first time period recorded by the feeding device through the communication interface 402, the processor 401 is further configured to:
acquiring a second corresponding relation between the average length of the variety to which the culture product belongs and each growth cycle;
determining a second average length corresponding to the current growth cycle of the cultured product according to the second corresponding relation;
comparing the first average body length with the second average body length to obtain a first comparison result;
if the first comparison result indicates that the difference between the first average body length and the second average body length is smaller than or equal to a first preset difference, a first total amount of food put into the aquaculture product within a first time period recorded by the feeding equipment is obtained through the communication interface 402.
In an embodiment, before the processor 401 determines the amount of the aquaculture product according to the first average body length and the first total food amount, the processor 401 is further configured to:
acquiring a second total amount of food put into the aquaculture product within a second time period recorded by the feeding equipment through the communication interface 402, wherein the second time period is in the current growth cycle of the aquaculture product;
comparing the first total food amount with the second total food amount to obtain a second comparison result;
and if the second comparison result indicates that the difference value between the first total food amount and the second total food amount is smaller than or equal to a second preset difference value, determining the number of the cultured products according to the first average body length and the first total food amount.
In one embodiment, the first time period comprises a preset number of unit time periods in the current growth cycle of the cultured product, and the processor 401 determines the number of the cultured product according to the first average body length and the first total food amount by:
calculating the average food amount corresponding to each unit time period according to the first total food amount and the preset amount;
determining the quantity of the aquaculture product based on the first average body length and the average food quantity.
In one embodiment, the time difference between the time indicated by the first time period and the time of acquiring the image is less than or equal to a preset time difference; the target food demand is a food demand in a unit time period corresponding to the first average body length.
In specific implementation, the processor 401, the communication interface 402, and the memory 403 described in this embodiment of the present application may execute the implementation of the terminal described in the method for determining the number of cultured products provided in the embodiment of the present invention, and may also execute the implementation of the device for determining the number of cultured products provided in fig. 3 in this embodiment of the present application, which is not described herein again.
According to the embodiment of the invention, the average length of the cultured products is obtained by obtaining the image of the environment where the cultured products are located and analyzing the image, then the total amount of food put into the cultured products in the first time period recorded by the feeding equipment is obtained, and the number of the cultured products is determined according to the average length and the total amount of the food, so that the number of the cultured products can be automatically determined, and the efficiency and the accuracy of determining the number of the cultured products are effectively improved.
The embodiment of the invention also provides a computer-readable storage medium, wherein the computer-readable storage medium stores instructions, and when the instructions are run on a computer, the instructions cause the computer to execute the method for determining the number of the cultured products in the embodiment of the method.
Embodiments of the present invention also provide a computer program product containing instructions, which when run on a computer, cause the computer to perform the method for determining the number of aquaculture products according to the above method embodiments.
It should be noted that, for simplicity of description, the above-mentioned embodiments of the method are described as a series of acts or combinations, but those skilled in the art will recognize that the present invention is not limited by the order of acts, as some steps may occur in other orders or concurrently in accordance with the invention. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required by the invention.
The steps in the method of the embodiment of the invention can be sequentially adjusted, combined and deleted according to actual needs.
The modules in the device provided by the embodiment of the invention can be combined, divided and deleted according to actual needs.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by associated hardware instructed by a program, which may be stored in a computer-readable storage medium, and the storage medium may include: flash disks, Read-Only memories (ROMs), Random Access Memories (RAMs), magnetic or optical disks, and the like.
While the invention has been described with reference to a preferred embodiment, it will be understood by those skilled in the art that various changes in form and detail may be made therein without departing from the spirit and scope of the invention as defined by the appended claims.
Claims (10)
1. A method for determining the quantity of aquaculture products is characterized in that feeding equipment is preset in an aquaculture environment where the aquaculture products are located, the feeding equipment is used for feeding food to the aquaculture products and recording the total amount of the food fed to the aquaculture products in each time period, and the method comprises the following steps:
acquiring an image of the environment where the culture product is located, wherein the image comprises a plurality of culture products;
analyzing the image to obtain a first average body length of the cultured product;
acquiring a first total amount of food put into the aquaculture product within a first time period recorded by the feeding equipment, wherein the first time period is in the current growth cycle of the aquaculture product;
determining the quantity of the aquaculture product based on the first average body length and the first total food quantity.
2. The method of claim 1, wherein obtaining a first total amount of food to be placed on the produce during the first time period recorded by the feeding device comprises:
sending a data acquisition instruction to the feeding equipment, wherein the data acquisition instruction is used for instructing the feeding equipment to send the recorded first total food amount put into the culture product within the first time period to a terminal;
receiving the first total amount of food sent by the feeding device.
3. The method of claim 1 or 2, wherein said determining the quantity of said produce based on said first average body length and said first total food quantity comprises:
acquiring a first corresponding relation between the average body length of the variety to which the culture product belongs and the food demand;
determining a target food demand corresponding to the first average body length according to the first corresponding relation;
calculating the amount of the aquaculture product according to the target food demand and the first total food amount.
4. The method of claim 1 or 2, wherein prior to obtaining the first total amount of food to be fed to the produce during the first time period recorded by the feeding device, the method further comprises:
acquiring a second corresponding relation between the average length of the variety to which the culture product belongs and each growth cycle;
determining a second average length corresponding to the current growth cycle of the cultured product according to the second corresponding relation;
comparing the first average body length with the second average body length to obtain a first comparison result;
and if the first comparison result indicates that the difference value between the first average body length and the second average body length is smaller than or equal to a first preset difference value, executing the step of obtaining the first total amount of food put into the aquaculture product within the first time period recorded by the feeding equipment.
5. The method of claim 1 or 2, wherein prior to determining the quantity of the produce based on the first average body length and the first total food quantity, the method further comprises:
acquiring a second total amount of food put into the aquaculture product within a second time period recorded by the feeding equipment, wherein the second time period is in the current growth cycle of the aquaculture product;
comparing the first total food amount with the second total food amount to obtain a second comparison result;
if the second comparison result indicates that the difference between the first total food amount and the second total food amount is smaller than or equal to a second preset difference, the step of determining the number of the cultured products according to the first average body length and the first total food amount is executed.
6. The method of claim 1, wherein the first time period comprises a preset number of unit time periods in a current growth cycle of the produce, and wherein determining the quantity of the produce based on the first average length and the first total food quantity comprises:
calculating the average food amount corresponding to each unit time period according to the first total food amount and the preset amount;
determining the quantity of the aquaculture product based on the first average body length and the average food quantity.
7. The method of claim 1, wherein the time difference between the time indicated by the first time period and the time at which the image is acquired are each less than or equal to a preset time difference; the target food demand is a food demand in a unit time period corresponding to the first average body length.
8. The device for determining the number of the cultured products is characterized in that feeding equipment is preset in a culture environment where the cultured products are located, the feeding equipment is used for feeding food to the cultured products and recording the total amount of the food fed to the cultured products in each time period, and the device comprises:
the acquisition module is used for acquiring an image of the environment where the culture product is located, wherein the image comprises a plurality of culture products;
the analysis module is used for analyzing the image to obtain a first average body length of the cultured product;
the obtaining module is further configured to obtain a first total amount of food put into the aquaculture product within a first time period recorded by the feeding device, where the first time period is in a current growth cycle of the aquaculture product;
and the processing module is used for determining the number of the cultured products according to the first average body length and the first total food amount.
9. A terminal, characterized in that it comprises a processor, a communication interface and a memory, said processor, said communication interface and said memory being interconnected, wherein said memory is used to store a computer program comprising program instructions, said processor being configured to invoke said program instructions to perform the method for determining the quantity of a farm product according to any one of claims 1 to 7.
10. A storage medium having stored therein instructions which, when run on a computer, cause the computer to execute the method of determining the quantity of a farm product according to any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811417832.8A CN111223137B (en) | 2018-11-26 | 2018-11-26 | Method, device, terminal and storage medium for determining quantity of cultured products |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811417832.8A CN111223137B (en) | 2018-11-26 | 2018-11-26 | Method, device, terminal and storage medium for determining quantity of cultured products |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111223137A true CN111223137A (en) | 2020-06-02 |
CN111223137B CN111223137B (en) | 2023-06-16 |
Family
ID=70831901
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811417832.8A Active CN111223137B (en) | 2018-11-26 | 2018-11-26 | Method, device, terminal and storage medium for determining quantity of cultured products |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111223137B (en) |
Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
RU2148937C1 (en) * | 1998-12-15 | 2000-05-20 | Государственное научное учреждение-Всероссийский научно-исследовательский и технологический институт птицеводства | Method for determining metabolizable energy of feeds for farm poultry |
CN101430775A (en) * | 2008-11-17 | 2009-05-13 | 浙江海洋学院 | Automatic fry counting system based on computer vision |
JP2010176518A (en) * | 2009-01-30 | 2010-08-12 | Sei:Kk | Agriculture system of partnership between farmer and citizen |
US20110168456A1 (en) * | 2010-01-13 | 2011-07-14 | Mohammad Said Sharawi | Food calorie counting system |
KR20150107508A (en) * | 2014-03-14 | 2015-09-23 | 한국과학기술연구원 | Plant Status Automatic Analysis Device and Analysis method using thereof |
CN105104269A (en) * | 2015-09-02 | 2015-12-02 | 通威股份有限公司 | Intensive pond farming breeding method for tilapia mossambica |
CN106204626A (en) * | 2016-07-26 | 2016-12-07 | 浙江省海洋水产研究所 | A kind of fig counter based on image procossing and method of counting |
CN107047423A (en) * | 2017-04-28 | 2017-08-18 | 全椒县鮰鱼养殖专业合作社 | It is a kind of that feeding amount Channel-catfish fish culture systems are adjusted based on weight detecting |
EP3239925A1 (en) * | 2014-12-10 | 2017-11-01 | Nireco Corporation | Fish type determination device and fish type determination method |
CN107926837A (en) * | 2017-11-20 | 2018-04-20 | 西南民族大学 | A kind of automatic frog feed dispenser of electric heating air pressure formula and video analysis method |
CN108471446A (en) * | 2018-04-16 | 2018-08-31 | 四川徐氏智慧文化旅游有限公司 | Agricultural product planting management system based on Internet of things |
-
2018
- 2018-11-26 CN CN201811417832.8A patent/CN111223137B/en active Active
Patent Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
RU2148937C1 (en) * | 1998-12-15 | 2000-05-20 | Государственное научное учреждение-Всероссийский научно-исследовательский и технологический институт птицеводства | Method for determining metabolizable energy of feeds for farm poultry |
CN101430775A (en) * | 2008-11-17 | 2009-05-13 | 浙江海洋学院 | Automatic fry counting system based on computer vision |
JP2010176518A (en) * | 2009-01-30 | 2010-08-12 | Sei:Kk | Agriculture system of partnership between farmer and citizen |
US20110168456A1 (en) * | 2010-01-13 | 2011-07-14 | Mohammad Said Sharawi | Food calorie counting system |
KR20150107508A (en) * | 2014-03-14 | 2015-09-23 | 한국과학기술연구원 | Plant Status Automatic Analysis Device and Analysis method using thereof |
EP3239925A1 (en) * | 2014-12-10 | 2017-11-01 | Nireco Corporation | Fish type determination device and fish type determination method |
CN105104269A (en) * | 2015-09-02 | 2015-12-02 | 通威股份有限公司 | Intensive pond farming breeding method for tilapia mossambica |
CN106204626A (en) * | 2016-07-26 | 2016-12-07 | 浙江省海洋水产研究所 | A kind of fig counter based on image procossing and method of counting |
CN107047423A (en) * | 2017-04-28 | 2017-08-18 | 全椒县鮰鱼养殖专业合作社 | It is a kind of that feeding amount Channel-catfish fish culture systems are adjusted based on weight detecting |
CN107926837A (en) * | 2017-11-20 | 2018-04-20 | 西南民族大学 | A kind of automatic frog feed dispenser of electric heating air pressure formula and video analysis method |
CN108471446A (en) * | 2018-04-16 | 2018-08-31 | 四川徐氏智慧文化旅游有限公司 | Agricultural product planting management system based on Internet of things |
Also Published As
Publication number | Publication date |
---|---|
CN111223137B (en) | 2023-06-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109618961B (en) | Intelligent feeding system and method for livestock | |
CN108229351B (en) | Animal breeding method, animal breeding device and electronic equipment | |
White et al. | Cow–calf reproductive, genetic, and nutritional management to improve the sustainability of whole beef production systems | |
Kebreab et al. | A new modeling environment for integrated dairy system management | |
CN113191655B (en) | Feeding method, device and computer readable storage medium | |
Mufford et al. | Use of unmanned aerial vehicles (UAVs) and photogrammetric image analysis to quantify spatial proximity in beef cattle | |
Taşdemir et al. | Determination of body measurements of a cow by image analysis | |
CN111260895A (en) | Alarm information sending method and device, storage medium and electronic device | |
JP2020156393A (en) | Behavior detection program, behavior detection method and behavior detection system | |
Tonachella et al. | An affordable and easy-to-use tool for automatic fish length and weight estimation in mariculture | |
CN112461342B (en) | Aquatic product weighing method, terminal equipment and storage medium | |
Wallgren et al. | Effect of straw provision in racks on tail lesions, straw availability, and pen hygiene in finishing pigs | |
CN111223137A (en) | Method and device for determining number of cultured products, terminal and storage medium | |
CN113344001A (en) | Organism weight estimation method, device, equipment and storage medium | |
Riedel et al. | A place to be? Use of winter gardens with and without automatic enrichment devices by laying hens | |
Cappai et al. | Integrating the RFID identification system for Charolaise breeding bulls with 3D imaging for virtual archive creation | |
CN111159430A (en) | Live pig breeding prediction method and system based on knowledge graph | |
CN116206342A (en) | Pig weight detection method, device, equipment and storage medium | |
CN112488403B (en) | Method and device for determining flock structure and computer readable storage medium | |
CN108932670A (en) | Livestock information tracing method and relevant device | |
CN111418509A (en) | Method and device for feeding livestock, storage medium and electronic device | |
CN111220251A (en) | Method and device for determining number of cultured products, terminal and storage medium | |
CN109997728B (en) | Control method and device of bird feeder and mobile terminal | |
CN111034642A (en) | Method and device for managing female livestock to be bred | |
CN113532616A (en) | Weight estimation method, device and system based on computer vision |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |