CN111223137B - Method, device, terminal and storage medium for determining quantity of cultured products - Google Patents

Method, device, terminal and storage medium for determining quantity of cultured products Download PDF

Info

Publication number
CN111223137B
CN111223137B CN201811417832.8A CN201811417832A CN111223137B CN 111223137 B CN111223137 B CN 111223137B CN 201811417832 A CN201811417832 A CN 201811417832A CN 111223137 B CN111223137 B CN 111223137B
Authority
CN
China
Prior art keywords
food
cultured
product
total amount
products
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.)
Active
Application number
CN201811417832.8A
Other languages
Chinese (zh)
Other versions
CN111223137A (en
Inventor
何洪波
周燕
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Simplecredit Micro-Lending Co ltd
Original Assignee
Simplecredit Micro-Lending Co ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Simplecredit Micro-Lending Co ltd filed Critical Simplecredit Micro-Lending Co ltd
Priority to CN201811417832.8A priority Critical patent/CN111223137B/en
Publication of CN111223137A publication Critical patent/CN111223137A/en
Application granted granted Critical
Publication of CN111223137B publication Critical patent/CN111223137B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/60Analysis of geometric attributes
    • AHUMAN NECESSITIES
    • A01AGRICULTURE; FORESTRY; ANIMAL HUSBANDRY; HUNTING; TRAPPING; FISHING
    • A01KANIMAL HUSBANDRY; CARE OF BIRDS, FISHES, INSECTS; FISHING; REARING OR BREEDING ANIMALS, NOT OTHERWISE PROVIDED FOR; NEW BREEDS OF ANIMALS
    • A01K67/00Rearing or breeding animals, not otherwise provided for; New breeds of animals
    • A01K67/02Breeding vertebrates
    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02ATECHNOLOGIES FOR ADAPTATION TO CLIMATE CHANGE
    • Y02A40/00Adaptation technologies in agriculture, forestry, livestock or agroalimentary production
    • Y02A40/80Adaptation technologies in agriculture, forestry, livestock or agroalimentary production in fisheries management
    • Y02A40/81Aquaculture, e.g. of fish

Abstract

The embodiment of the invention discloses a method, a device, a terminal and a storage medium for determining the quantity of cultured products, wherein feeding equipment is preset in a cultured environment where the cultured products are positioned, the feeding equipment is used for feeding food to the cultured products and recording the total quantity of the food fed to the cultured products in each time period, and the method comprises the following steps: acquiring an image of the environment where the cultured products are located, wherein the image comprises a plurality of cultured products; analyzing the image to obtain a first average length of the cultured product; acquiring a first total amount of food thrown to the culture product in a first time period recorded by the feeding equipment, wherein the first time period is in a current growth period of the culture product; and determining the quantity of the culture products according to the first average size and the first total food quantity. The method and the device can automatically determine the quantity of the cultured products, and effectively improve the efficiency and the accuracy of determining the quantity of the cultured products.

Description

Method, device, terminal and storage medium for determining quantity of cultured products
Technical Field
The present invention relates to the field of data processing technologies, and in particular, to a method, an apparatus, 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 frequent. The insurance of the breeding industry is an important component of an agricultural financial service system, is an important measure for supporting the agricultural development by a large amount in China, and has important significance in the aspects of helping mass breeding industry producers to disperse and transfer risks, improving the capability of resisting the risks, promoting the stable and healthy development of the breeding industry and the like.
At present, no matter a farmer purchases insurance for the cultured products or performs insurance claim of the culturing industry, an insurer needs to confirm the quantity of the cultured products on site, and usually, the insurer performs manual counting on the cultured products to obtain the quantity of the cultured products. However, as the number of the cultured products is usually large and the cultured products can continuously move in the manual counting process, the difficulty of manual counting can be increased, and the efficiency of manual counting is low; moreover, the probability of missing numbers 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 embodiment of the invention is to provide a method, a device, a terminal and a storage medium for determining the quantity of the cultured products, which can automatically determine the quantity of the cultured products and effectively improve the efficiency and the accuracy for determining the quantity of the cultured products.
In a first aspect, an embodiment of the present invention provides a method for determining the number of cultured products, where a feeding device is preset in a culturing environment where the cultured products are located, where the feeding device is used for feeding food to the cultured products, and recording the total amount of food fed to the cultured products in each time period, where the method includes:
acquiring an image of the environment where the cultured products are located, wherein the image comprises a plurality of cultured products;
analyzing the image to obtain a first average length of the cultured product;
acquiring a first total amount of food thrown to the culture product in a first time period recorded by the feeding equipment, wherein the first time period is in a current growth period of the culture product;
and determining the quantity of the culture products according to the first average size and the first total food quantity.
In an embodiment, the obtaining the total amount of the first food put into the culture product in the first period of time recorded by the feeding device includes:
Transmitting a data acquisition instruction to the feeding equipment, wherein the data acquisition instruction is used for instructing the feeding equipment to transmit the recorded total amount of the first food fed to the culture product to a terminal in a first time period;
and receiving the first total amount of food sent by the feeding equipment.
In one embodiment, said determining the number of said farmed products according to said first average size and said first total amount of food comprises:
acquiring a first corresponding relation between the average stature of the breed to which the cultured product belongs and the food demand;
determining a target food demand corresponding to the first average length according to the first correspondence;
and calculating the quantity of the culture products according to the target food demand and the first total food quantity.
In an embodiment, before the obtaining the first total amount of food put into the culture product in the first period of time recorded by the feeding device, the method further includes:
obtaining a second corresponding relation between the average stature of the breed of the cultured product and each growth period;
determining a second average length corresponding to the current growth period of the cultured product according to the second corresponding relation;
Comparing the first average length with the second average length to obtain a first comparison result;
and if the first comparison result indicates that the difference between the first average length and the second average length is smaller than or equal to a first preset difference, executing the step of acquiring the total amount of the first food put into the culture product in the first time period recorded by the feeding equipment.
In an embodiment, before said determining the number of said farmed products from said first average size and said first total amount of food, said method further comprises:
acquiring a second total amount of food thrown into the culture product in a second time period recorded by the feeding equipment, wherein the second time period is in a current growth period of the culture product;
comparing the total amount of the first food with the total amount of the second food to obtain a second comparison result;
and if the second comparison result indicates that the difference value between the first food total amount and the second food total amount is smaller than or equal to a second preset difference value, executing the step of determining the quantity of the culture products according to the first average length and the first food total amount.
In an embodiment, the first time period comprises a preset number of unit time periods at a current growth cycle of the farmed product, the determining the number of farmed products according to the first average size and the first total amount of food comprises:
calculating the average food amount corresponding to each unit time period according to the first food total amount and the preset amount;
and determining the quantity of the culture products according to the first average size and the average food quantity.
In an embodiment, the time difference between the time indicated by the first time period and the time at which the image is acquired is less than or equal to a preset time difference; the target food demand is a food demand per unit time period corresponding to the first average size.
In a second aspect, an embodiment of the present invention provides a device for determining the number of cultured products, where a feeding device is preset in a culturing environment where the cultured products are located, where the feeding device is used for feeding food to the cultured products and recording the total amount of food fed to the cultured products in each time period, where the device includes:
the acquisition module is used for acquiring an image of the environment where the cultured products are located, wherein the image comprises a plurality of cultured products;
The analysis module is used for analyzing the image to obtain a first average length of the cultured product;
the acquisition module is also used for acquiring the total amount of the first food thrown to the cultured product in a first time period recorded by the feeding equipment, wherein the first time period is in the current growth period of the cultured product;
and the processing module is used for determining the quantity of the culture products according to the first average length and the first total food quantity.
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 configured to store a computer program, the computer program includes program instructions, and the processor is configured to invoke the program instructions to execute the method for determining the number of farmed products according to the first aspect.
In a fourth aspect, an embodiment of the present invention provides a storage medium having stored therein instructions that, when executed on a computer, cause the computer to perform the method for determining the number of farmed products according to the first aspect.
According to the embodiment of the invention, the image of the environment where the cultured product is located is acquired, the image is analyzed to acquire the average size of the cultured product, then the total amount of food put into the cultured product in the first time period recorded by the feeding equipment is acquired, and the number of the cultured product is determined according to the average size and the total amount of food, so that the number of the cultured product can be automatically determined, and the efficiency and the accuracy for determining the number of the cultured product are effectively improved.
Drawings
In order to more clearly illustrate the embodiments of the invention or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described, it being obvious that the drawings in the following description are only some embodiments of the invention, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic flow chart of a method for determining the quantity of farmed products according to a first embodiment of the invention;
FIG. 2 is a schematic flow chart of a method for determining the quantity of farmed products according to a second embodiment of the invention;
FIG. 3 is a schematic structural view of a device for determining the number of cultured products 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 solutions 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 quantity of cultured products, which are used for rapidly determining the quantity of the cultured products so as to realize the automation and the intellectualization of determining the quantity of the cultured products and effectively improve the efficiency and the accuracy of determining the quantity of the cultured products. The following will describe in detail.
Referring to fig. 1, fig. 1 is a flow chart of a method for determining the number of cultivation products according to a first embodiment of the present invention. In the embodiment of the invention, a feeding device is preset in a cultivation environment where the cultivation products are located, the feeding device is used for feeding food to the cultivation products and recording the total amount of the food fed to the cultivation products in each time period, and the method for determining the quantity of the cultivation products can comprise the following steps:
s101, the terminal acquires an image of the environment where the cultured product is located.
In the embodiment of the invention, on one hand, the camera equipment can be pre-installed in the environment where the cultured product is located, and the camera equipment is controlled to take pictures of the cultured environment where the cultured product is located at preset time intervals or at specific time, so that the image of the environment where the cultured product is located is obtained. After the image capturing device captures an image of the environment where the cultured product is located each time, the corresponding relationship between the image and the capturing time can be stored in the data storage device corresponding to the culturing farm where the cultured product is located. And when the quantity of the cultured products is required to be confirmed, the terminal acquires the image of the environment where the cultured products are positioned from the data storage equipment.
On the other hand, the terminal may establish a communication connection with the photographing apparatus. When the quantity of the cultured products is required to be confirmed, the terminal sends a shooting instruction to shooting equipment; and the shooting equipment receives and responds to the shooting instruction to shoot the cultivation environment where the cultivation product is located, so that an image of the environment where the cultivation product is located is obtained. The shooting equipment sends the image to the terminal, and correspondingly, the terminal receives the image of the environment where the cultivation product is located, which is sent by the shooting equipment. On the other hand, when the quantity of the cultured products is required to be confirmed, the terminal can be directly utilized to photograph the cultured environment where the cultured products are located, and an image of the environment where the cultured products are located is obtained. The image of the environment where the cultured products are located, which is acquired by the terminal, comprises a plurality of cultured products, and further can comprise the whole body of the cultured products; the image can be a panoramic image of the environment where the cultivation product is located, and the image is a plurality of images; the photographing time corresponding to the image is in a target time period, and the target time period is in the current growth period of the cultured product.
S102, the terminal analyzes the image to obtain a first average length of the culture 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 lengths of all the culture products in the target culture products. In one embodiment, a terminal acquires a focal length parameter corresponding to the image, and acquires a first proportion of a target culture product in the image; and obtaining the length of the target cultivation product based on the focal length parameter and the first proportion. In another embodiment, a reference object is preset in the environment where the culture product is located, and the length of the reference object can be obtained from the 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 acquires the length of the reference object, acquires a second proportion between the target culture product and the reference object in the image, and obtains the length of the target culture product based on the length of the reference object and the second proportion. Further, the terminal determines a first average length of the cultivation products based on the lengths of the cultivation products in the target cultivation products and the number of the target cultivation products.
S103, the terminal obtains the total amount of the first food put into the culture product in the first time period recorded by the feeding equipment.
In the embodiment of the invention, the terminal and the feeding equipment can be in communication connection, and when the quantity of the cultured products is required to be confirmed, the terminal sends a data acquisition instruction to the feeding equipment preset in the environment where the cultured products are located. And the feeding equipment receives and responds to the data acquisition instruction, and the recorded first total amount of food fed to the cultured product in the first time period is sent to the terminal. The terminal receives the total amount of the first food put into the culture product in the first time period sent by the feeding equipment. 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 fed to the cultured product in each time period; after receiving feeding data sent by feeding equipment, the terminal acquires the total amount of first food fed to the culture product in a first time period from the feeding data.
In one embodiment, after each feeding of the food to the farm product is completed, the feeding device sends the recorded total amount of food currently fed to the farm product to the data storage device corresponding to the farm where the farm product is located. After the data storage device receives the total amount of food put into the culture product, which is sent by the feeding device, the data storage device stores the corresponding relation between the total amount of food put into the culture product and the putting time. And when the quantity of the cultured products is required to be confirmed, the terminal acquires the total quantity of the first food put into the cultured products in the first time period from the data storage equipment.
The first time period is in the current growth period 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 smaller than or equal to a preset time difference, for example, five days. The first period of time may refer to a 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 culture product in the first time period is the total amount of food put into the culture product on the day or the day before corresponding to the photographing time of the image.
S104, the terminal determines the quantity of the culture products according to the first average length and the first total food quantity.
In the embodiment of the invention, the food demand of the cultured product in a unit time period is related to the variety and the length of the cultured product. The number of farmed products may be determined from the first average size and the first total amount of food in the following manner: the terminal firstly obtains a first corresponding relation between the average stature of the variety of the cultured product and the food demand. The first correspondence may be stored locally at the terminal or may be stored in a cloud server. The terminal then determines a target food demand corresponding to the first average size based on the first correspondence, the target food demand being a food demand within a unit time period corresponding to the first average size. For example, assume that the breed product is a breed of pig, which belongs to a large white pig, and the unit time period is one day; the first corresponding relation between the average body length corresponding to the big white pigs and the food demand is obtained, the food demand of one day corresponding to the big white pigs with the body length of the first average body length is determined from the first corresponding relation, and the determined food demand is used 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 amount of food by the target food demand to obtain the number of farmed products.
Further, after the terminal determines the number of the cultured products, prompt information including the number can be output, so that the insurers and the farmers can know the number of the cultured products in time. By adopting the mode, the terminal can combine the total amount of food thrown into 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, so that the quantity of the cultured products is automatically and rapidly determined, and the efficiency of determining the quantity of the cultured products is greatly improved. In addition, the mode is hardly influenced by continuous movement of the cultured products, and the accuracy of determining the quantity of the cultured products can be improved.
In one embodiment, the food demand per unit time of the farmed product is related not only to the breed and length to which the farmed product belongs, but also possibly to the farming mode. The number of farmed products may be determined from the first average size and the first total amount of food in the following manner: the terminal first acquires a target cultivation mode adopted for cultivation products, the target cultivation mode including food varieties (e.g., feed varieties) thrown for cultivation products, feeding frequency (e.g., twice a day), and the like. Further, the terminal obtains a correspondence between the average stature of the variety to which the cultivation product belongs and the food demand corresponding to each of the plurality of cultivation modes, that is, obtains a correspondence between the variety to which the cultivation product belongs, the cultivation mode, the average stature and the food demand. The correspondence between the four may be stored locally at the terminal or may be stored in a cloud server. The terminal then determines a target corresponding relation between the average stature of the breed corresponding to the target breeding mode and the food demand based on the corresponding relation between the average stature of the breed corresponding to each breeding mode and the food demand; and determining a target food demand corresponding to the first average length based on the target correspondence.
In an embodiment, the first time period comprises a preset number of unit time periods, which may refer to, for example, a day, at the current growth cycle of the farmed product. The first time period is, for example, three days before or after the day corresponding to the photographing time of the image, and then the total amount of the first food put into the cultured product in the first time period, that is, the total amount of the food put into the cultured product three days before or after the day corresponding to the photographing time of the image. The means for determining the number of farmed products based on the first average size and the first total amount of food may be: the terminal acquires the number of unit time periods included in the first time period, and calculates an average food amount corresponding to each unit time period based on the first food total amount and the number. The terminal then determines the quantity of the cultured products according to the first average size and the average food quantity, specifically, the terminal obtains a first corresponding relation between the average size of the variety to which the cultured products belong and the food demand, determines a target food demand corresponding to the first average size based on the first corresponding relation, and divides the average food quantity by the target food demand to obtain the quantity of the cultured products.
According to the embodiment of the invention, the image of the environment where the cultured product is located is acquired, the image is analyzed to acquire the average size of the cultured product, then the total amount of food put into the cultured product in the first time period recorded by the feeding equipment is acquired, and the number of the cultured product is determined according to the average size and the total amount of food, so that the number of the cultured product can be automatically determined, and the efficiency and the accuracy for determining the number of the cultured product are effectively improved.
Referring to fig. 2, fig. 2 is a flow chart of a method for determining the number of cultivation products according to a second embodiment of the present invention. In the embodiment of the invention, a feeding device is preset in a cultivation environment where the cultivation products are located, the feeding device is used for feeding food to the cultivation products and recording the total amount of the food fed to the cultivation products in each time period, and the method for determining the quantity of the cultivation products can comprise the following steps:
s201, the terminal acquires an image of the environment where the cultivation product is located.
S202, the terminal analyzes the image to obtain a first average length of the culture product.
In the embodiment of the present invention, the specific implementation manner of step S201 and step S202 may refer to the related descriptions in step S101 and step S102 in the implementation of the first method, which are not described herein again.
In one embodiment, after resolving a first average length of the culture product from an image of an environment in which the culture product is located, the terminal first obtains a current growth cycle of the culture product. Specifically, the terminal may acquire a current growth period of the cultured product from a data storage device corresponding to a farm where the cultured product is located, or may acquire a growth period of the cultured product from the data storage device, and determine the current growth period of the cultured product based on the growth period. The growth cycle of the farmed product may be divided based on the length of time of the farmed product, for example, dividing the length of time of 90-100 days into one growth cycle of the farmed product and 160-180 days into another growth cycle of the farmed product.
Further, the terminal obtains a second corresponding relation between the average length of the variety to which the cultured product belongs and each growth period. The second correspondence may be stored locally at the terminal or may be stored in a cloud server. The terminal determines a second average length corresponding to the current growth period 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 length and the second average length and indicating whether an absolute value of the difference value between the first average length and the second average 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 length and the second average length is less than or equal to the first preset difference, the terminal executes step S203. If the first comparison result indicates that the absolute value of the difference value between the first average length and the second average length is larger than the first preset difference value, the terminal outputs prompt information, the prompt information is used for prompting resubmitting of the image of the environment where the cultured product is located, and the steps are repeated. If the number of times of resubmitting the image of the environment where the cultured product is located reaches the preset number of times (for example, three times), the absolute value of the difference value between the average length of the cultured product obtained by analyzing the image and the second average length is still larger than the first preset difference value; the terminal takes the second average length as the first average length of the culture product obtained by analysis from the image, and executes step S203. By adopting the mode, the first average length of the cultured product obtained by analyzing the image of the environment where the cultured product is positioned can be checked based on the second average length corresponding to the current growth period of the cultured product in the second corresponding relation, and the data accuracy of the first average length can be verified, so that the accuracy of the quantity of the subsequently determined cultured products is improved to a certain extent.
S203, the terminal acquires the total amount of the first food put into the culture 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 description related to step S103 in the implementation of the first method, which is not described herein.
S204, the terminal acquires the total amount of second food put into the culture product in a second time period recorded by the feeding equipment.
In the embodiment of the invention, the terminal can directly acquire the second food total amount thrown to the cultured product in the second time period from the feeding equipment, and can also acquire the second food total amount thrown to the cultured product in the second time period from the data storage equipment corresponding to the cultured farm where the cultured product is located; for specific implementation, reference may be made to the description related to step S103 in the implementation of the first method, which is not repeated here.
The second time period is different from the first time period, the second time period is also in the current growth period of the cultured product, and the time difference between the time indicated by the second time period and the photographing time corresponding to the image is also smaller than or equal to the preset time difference. The second period of time may refer to a 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 day corresponding to the photographing time of the image, and then the second total amount of food put into the culture product in the second time period, that is, the second day or the third day before or after the day corresponding to the photographing time of the image.
S205, the terminal compares the total amount of the first food with the total amount of the second food to obtain a second comparison result.
In the embodiment of the present invention, the second comparison result is used for indicating a difference between the first total amount of food and the second total amount of food, and for indicating whether an absolute value of the difference between the first total amount of food and the second total amount of food is less 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 preset difference, the terminal executes 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 the cultured products based on the first average length and the average total food amount. By adopting the mode, the total amount of the first food put into the cultured product in the first time period can be verified based on the recorded total amount of the second food put into the cultured product in the second time period, and the data accuracy of the total amount of the first food can be verified, so that the accuracy of the quantity of the cultured product is improved to a certain extent.
S206, if the second comparison result indicates that the difference value between the first food total amount and the second food total amount is smaller than or equal to a second preset difference value, the terminal determines the quantity of the cultured products according to the first average length and the first food total amount.
In the embodiment of the present invention, the specific implementation manner of step S206 may refer to the description related to step S104 in the implementation of the first method, which is not described herein.
According to the embodiment of the invention, the image of the environment where the cultured product is located is acquired, the image is analyzed to acquire the average size of the cultured product, then the first food total amount and the second food total amount which are respectively put into the cultured product in the first time period and the second time period recorded by the feeding equipment are acquired, if the difference value between the first food total amount and the second food total amount does not exceed the second preset threshold value, the number of the cultured product is determined according to the average size and the first food total amount, the number of the cultured product can be automatically determined, the data accuracy of the first food total amount can be verified, and therefore the efficiency and the accuracy of determining the number of the cultured product are effectively improved.
It should be noted that, the implementation manner of the method for determining the number of the cultured products in the above method embodiment may also be completed by a server, and specific reference may be made to the foregoing description, which is not repeated here.
Referring to fig. 3, fig. 3 is a schematic structural diagram of a device for determining the number of cultivation products according to an embodiment of the invention. In this embodiment, a feeding device is preset in a cultivation environment where a cultivation product is located, where the feeding device is used for feeding food to the cultivation product, and recording total amount of food fed to the cultivation product in each time period, where the quantity determining device of the cultivation product may include:
the obtaining module 301 is configured to obtain an image of an environment where the cultured product is located, where the image includes a plurality of cultured products;
the analyzing module 302 is configured to analyze 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 that is put into the cultured product in a first period of time recorded by the feeding device, where the first period of time is in a current growth cycle of the cultured product;
a processing module 303 is configured to determine the number of the culture products according to the first average size and the first total amount of food.
In an embodiment, the obtaining module 301 is specifically configured to:
transmitting a data acquisition instruction to the feeding equipment, wherein the data acquisition instruction is used for instructing the feeding equipment to transmit the recorded total amount of the first food fed to the culture product to a terminal in a first time period;
And receiving the first total amount of food sent by the feeding equipment.
In one embodiment, the processing module 303 is specifically configured to:
acquiring a first corresponding relation between the average stature of the breed to which the cultured product belongs and the food demand;
determining a target food demand corresponding to the first average length according to the first correspondence;
and calculating the quantity of the culture products according to the target food demand and the first total food quantity.
In an embodiment, the obtaining module 301 is further configured to obtain a second correspondence between an average body length of a variety to which the cultured product belongs and each growth cycle;
the processing module 303 is further configured to:
determining a second average length corresponding to the current growth period of the cultured product according to the second corresponding relation;
comparing the first average length with the second average length to obtain a first comparison result;
and if the first comparison result indicates that the difference between the first average length and the second average length is smaller than or equal to a first preset difference, triggering the acquisition module 301 to acquire a first total amount of food thrown into the culture product in 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 that is put into the cultured product during a second period of time recorded by the feeding device, where the second period of time is in a current growth cycle of the cultured product;
the processing module 303 is further configured to:
comparing the total amount of the first food with the total amount of the second food to obtain a second comparison result;
and if the second comparison result indicates that the difference value between the first food total amount and the second food total amount is smaller than or equal to a second preset difference value, determining the quantity of the cultured products according to the first average length and the first food total amount.
In an embodiment, the first period of time includes a preset number of unit periods of time in a current growth cycle of the farmed 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 food total amount and the preset amount;
and determining the quantity of the culture products according to the first average size and the average food quantity.
In an embodiment, the time difference between the time indicated by the first time period and the time at which the image is acquired is less than or equal to a preset time difference; the target food demand is a food demand per unit time period corresponding to the first average size.
It may be understood that the functions of each functional module of the device for determining the number of the cultured products according to the embodiments of the present invention may be specifically implemented according to the method in the embodiments of the method, and the specific implementation process may refer to the related description of the embodiments of the method and will not be repeated herein.
According to the embodiment of the invention, the image of the environment where the cultured product is located is acquired, the image is analyzed to acquire the average size of the cultured product, then the total amount of food put into the cultured product in the first time period recorded by the feeding equipment is acquired, and the number of the cultured product is determined according to the average size and the total amount of food, so that the number of the cultured product can be automatically determined, and the efficiency and the accuracy for determining the number of the cultured product 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 other means, which is exemplified in the embodiment of the present invention.
The processor 401 may be a central processor (central processing unit, CPU), a network processor (network processor, NP), a graphics processor (graphics processing unit, GPU), or a combination of CPU, GPU and NP. Processor 401 may also be a core for implementing communication identity binding in a multi-core CPU, a multi-core GPU, or a multi-core NP.
The processor 401 may be a hardware chip. The hardware chip may be an application-specific integrated circuit (ASIC), a programmable logic device (programmable logic device, PLD), or a combination thereof. The PLD may be a complex programmable logic device (complex programmable logic device, CPLD), a field-programmable gate array (field-programmable gate array, FPGA), general-purpose array logic (generic array logic, GAL), or any combination thereof.
The communication interface 402 may be used for interaction of receiving and transmitting information or signaling, and for receiving and transmitting signals, and the communication interface 402 may be a transceiver. The memory 403 may mainly include a storage program area and a storage data area, where the storage program area may store an operating system, a storage program (such as a text storage function, a location storage function, etc.) required for at least one function; 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. In addition, 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 number of farmed products according to the embodiment of the invention. The food throwing 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.
Specifically, the processor 401 invokes the program instructions stored in the memory 403 to perform the following steps:
acquiring an image of the environment where the cultured products are located, wherein the image comprises a plurality of cultured products;
analyzing the image to obtain a first average length of the cultured product;
acquiring a first total amount of food put into the cultured product in a first time period recorded by the feeding equipment through the communication interface 402, wherein the first time period is in a current growth period of the cultured product;
and determining the quantity of the culture products according to the first average size and the first total food quantity.
The method executed by the processor in the embodiment of the present invention is described from the viewpoint of the processor, and it is understood that, in the embodiment of the present invention, the processor needs other hardware structures to execute the method. The embodiments of the present invention do not describe or limit the specific implementation process in detail.
In an embodiment, the specific manner of the processor 401 obtaining, through the communication interface 402, the total amount of the first food put into the culture product in the first period of time recorded by the feeding device is:
transmitting 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 transmit the recorded first total amount of food fed to the culture product to a terminal in a first time period;
the first total amount of food sent by the feeding device is received through the communication interface 402.
In one embodiment, the processor 401 may determine the number of the culture products according to the first average size and the first total amount of food in the following manner:
acquiring a first corresponding relation between the average stature of the breed to which the cultured product belongs and the food demand;
determining a target food demand corresponding to the first average length according to the first correspondence;
and calculating the quantity of the culture products according to the target food demand and the first total food quantity.
In an embodiment, before the processor 401 obtains, through the communication interface 402, the first total amount of food to be fed to the culture product in the first period of time recorded by the feeding device, the processor 401 is further configured to:
Obtaining a second corresponding relation between the average stature of the breed of the cultured product and each growth period;
determining a second average length corresponding to the current growth period of the cultured product according to the second corresponding relation;
comparing the first average length with the second average length to obtain a first comparison result;
if the first comparison result indicates that the difference between the first average length and the second average length is smaller than or equal to a first preset difference, a first total amount of food put into the culture product in a first time period recorded by the feeding device is obtained through the communication interface 402.
In an embodiment, before the processor 401 determines the number of the culture products according to the first average size and the first total amount of food, the processor 401 is further configured to:
acquiring a second total amount of food put into the cultured product in a second time period recorded by the feeding equipment through the communication interface 402, wherein the second time period is in a current growth period of the cultured product;
comparing the total amount of the first food with the total amount of the second food to obtain a second comparison result;
And if the second comparison result indicates that the difference value between the first food total amount and the second food total amount is smaller than or equal to a second preset difference value, determining the quantity of the cultured products according to the first average length and the first food total amount.
In an embodiment, the first period of time includes a preset number of unit periods of time in a current growth cycle of the farmed product, and the processor 401 determines the number of farmed products according to the first average size and the first total amount of food in such a way that:
calculating the average food amount corresponding to each unit time period according to the first food total amount and the preset amount;
and determining the quantity of the culture products according to the first average size and the average food quantity.
In an embodiment, the time difference between the time indicated by the first time period and the time at which the image is acquired is less than or equal to a preset time difference; the target food demand is a food demand per unit time period corresponding to the first average size.
In a specific implementation, the processor 401, the communication interface 402, and the memory 403 described in the embodiments of the present application may execute the implementation manner of the terminal described in the method for determining the number of the cultured products provided in the embodiments of the present application, and may also execute the implementation manner of the apparatus for determining the number of the cultured products provided in fig. 3 in the embodiments of the present application, which is not described herein again.
According to the embodiment of the invention, the image of the environment where the cultured product is located is acquired, the image is analyzed to acquire the average size of the cultured product, then the total amount of food put into the cultured product in the first time period recorded by the feeding equipment is acquired, and the number of the cultured product is determined according to the average size and the total amount of food, so that the number of the cultured product can be automatically determined, and the efficiency and the accuracy for determining the number of the cultured product 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 run on a computer, the instructions cause the computer to execute the method for determining the quantity of the cultured products.
The embodiment of the invention also provides a computer program product containing instructions, which when run on a computer, cause the computer to execute the method for determining the quantity of the culture products according to the embodiment of the method.
It should be noted that, for simplicity of description, the foregoing method embodiments are all expressed as a series of action combinations, but it should be understood by those skilled in the art that the present invention is not limited by the order of action described, as some steps may be performed in other order or simultaneously according to the present invention. Further, those skilled in the art will also appreciate that the embodiments described in the specification are all preferred embodiments, and that the acts and modules referred to are not necessarily required for the present 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 of the embodiment of the invention can be combined, divided and deleted according to actual needs.
Those of ordinary skill in the art will appreciate that all or part of the steps in the various methods of the above embodiments may be implemented by a program to instruct related hardware, the program may be stored in a computer readable storage medium, and the storage medium may include: flash disk, read-Only Memory (ROM), random-access Memory (Random Access Memory, RAM), magnetic or optical disk, and the like.
The above disclosure is only a preferred embodiment of the present invention, and it should be understood that the scope of the invention is not limited thereto, and those skilled in the art will appreciate that all or part of the procedures described above can be performed according to the equivalent changes of the claims, and still fall within the scope of the present invention.

Claims (9)

1. The method for determining the quantity of the cultured products is characterized in that a feeding device is preset in a cultured environment where the cultured products are located, the feeding device is used for feeding food to the cultured products and recording the total quantity of the food fed to the cultured products in each time period, and the method comprises the following steps:
Acquiring an image of the environment where the cultured products are located, wherein the image comprises a plurality of cultured products;
analyzing the image to obtain a first average length of the cultured product;
acquiring a first total amount of food thrown to the culture product in a first time period recorded by the feeding equipment, wherein the first time period is in a current growth period of the culture product;
determining the number of the farmed products according to the first average size and the first total amount of food, comprising: acquiring a first corresponding relation between the average stature of the breed to which the cultured product belongs and the food demand; determining a target food demand corresponding to the first average size according to the first corresponding relation, wherein the target food demand is the food demand in a unit time period corresponding to the first average size; and calculating the quantity of the culture products according to the target food demand and the first total food quantity.
2. The method of claim 1, wherein the obtaining the first total amount of food delivered to the farmed product for a first period of time recorded by the feeding apparatus comprises:
transmitting a data acquisition instruction to the feeding equipment, wherein the data acquisition instruction is used for instructing the feeding equipment to transmit the recorded total amount of the first food fed to the culture product to a terminal in a first time period;
And receiving the first total amount of food sent by the feeding equipment.
3. The method according to claim 1 or 2, wherein before the obtaining the first total amount of food dosed to the farmed product within the first time period recorded by the dosing device, the method further comprises:
obtaining a second corresponding relation between the average stature of the breed of the cultured product and each growth period;
determining a second average length corresponding to the current growth period of the cultured product according to the second corresponding relation;
comparing the first average length with the second average length to obtain a first comparison result;
and if the first comparison result indicates that the difference between the first average length and the second average length is smaller than or equal to a first preset difference, executing the step of acquiring the total amount of the first food put into the culture product in the first time period recorded by the feeding equipment.
4. The method according to claim 1 or 2, wherein before said determining the number of farmed products from the first average size and the first total amount of food, the method further comprises:
Acquiring a second total amount of food thrown into the culture product in a second time period recorded by the feeding equipment, wherein the second time period is in a current growth period of the culture product;
comparing the total amount of the first food with the total amount of the second food to obtain a second comparison result;
and if the second comparison result indicates that the difference value between the first food total amount and the second food total amount is smaller than or equal to a second preset difference value, executing the step of determining the quantity of the culture products according to the first average length and the first food total amount.
5. The method of claim 1, wherein the first time period comprises a preset number of unit time periods at a current growth cycle of the farmed product, the determining the number of farmed products according to the first average size and the first total amount of food comprising:
calculating the average food amount corresponding to each unit time period according to the first food total amount and the preset number of unit time periods;
and determining the quantity of the culture products according to the first average size and the average food quantity.
6. 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 was acquired is less than or equal to a preset time difference.
7. The utility model provides a quantity determination device of breed product, its characterized in that, preset in the breed environment that breed product was located and throw edible equipment, throw edible equipment and be used for to breed product throw food to record each time quantum to breed the total amount of food that the product was thrown in, the device includes:
the acquisition module is used for acquiring an image of the environment where the cultured products are located, wherein the image comprises a plurality of cultured products;
the analysis module is used for analyzing the image to obtain a first average length of the cultured product;
the acquisition module is further used for acquiring a first total amount of food put into the cultured product in a first time period recorded by the feeding equipment, wherein the first time period is in a current growth period of the cultured product;
a processing module for determining the number of the farmed products according to the first average stature and the first total amount of food, comprising: acquiring a first corresponding relation between the average stature of the breed to which the cultured product belongs and the food demand; determining a target food demand corresponding to the first average size according to the first corresponding relation, wherein the target food demand is the food demand in a unit time period corresponding to the first average size; and calculating the quantity of the culture products according to the target food demand and the first total food quantity.
8. A terminal comprising a processor, a communication interface and a memory, the processor, the communication interface and the memory being interconnected, wherein the memory is adapted to store a computer program comprising program instructions, the processor being configured to invoke the program instructions to perform the number determination method of the farmed products according to any of claims 1 to 6.
9. A storage medium having instructions stored therein which, when executed on a computer, cause the computer to perform the method of determining the number of farmed products according to any one of claims 1 to 6.
CN201811417832.8A 2018-11-26 2018-11-26 Method, device, terminal and storage medium for determining quantity of cultured products Active CN111223137B (en)

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 CN111223137A (en) 2020-06-02
CN111223137B true 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 (10)

* Cited by examiner, † Cited by third party
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
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 四川徐氏智慧文化旅游有限公司 A kind of agricultural cultivation management system based on Internet of Things

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8330057B2 (en) * 2010-01-13 2012-12-11 King Fahd University Of Petroleum And Minerals System and method for weighing food and calculating calorie content thereof

Patent Citations (10)

* Cited by examiner, † Cited by third party
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
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 四川徐氏智慧文化旅游有限公司 A kind of agricultural cultivation management system based on Internet of Things

Also Published As

Publication number Publication date
CN111223137A (en) 2020-06-02

Similar Documents

Publication Publication Date Title
da Rosa Righi et al. Towards combining data prediction and internet of things to manage milk production on dairy cows
Bonnet et al. Continuous bite monitoring: a method to assess the foraging dynamics of herbivores in natural grazing conditions
Wang et al. ASAS-NANP SYMPOSIUM: Applications of machine learning for livestock body weight prediction from digital images
CN108229351B (en) Animal breeding method, animal breeding device and electronic equipment
CN110796043A (en) Container detection and feeding detection method and device and feeding system
US11950576B2 (en) Multi-factorial biomass estimation
Dohmen et al. Image-based body mass prediction of heifers using deep neural networks
Taşdemir et al. Determination of body measurements of a cow by image analysis
Lu et al. An automatic splitting method for the adhesive piglets’ gray scale image based on the ellipse shape feature
WO2019102471A1 (en) Method and apparatus for monitoring food intake of livestock animals
Elghafghuf et al. Survival analysis of clinical mastitis data using a nested frailty Cox model fit as a mixed-effects Poisson model
CN113191655A (en) Feeding method, device and computer-readable storage medium
Amraei et al. Development of a transfer function for weight prediction of live broiler chicken using machine vision
WO2023041904A1 (en) Systems and methods for the automated monitoring of animal physiological conditions and for the prediction of animal phenotypes and health outcomes
CN111260895A (en) Alarm information sending method and device, storage medium and electronic device
Bloch et al. Design a system for measuring individual cow feed intake in commercial dairies
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
CN111223137B (en) Method, device, terminal and storage medium for determining quantity of cultured products
JP2020156393A (en) Behavior detection program, behavior detection method and behavior detection system
Küster et al. Automatic behavior and posture detection of sows in loose farrowing pens based on 2D-video images
Cappai et al. Integrating the RFID identification system for Charolaise breeding bulls with 3D imaging for virtual archive creation
CN111264415A (en) Animal breeding management method and related product
Maselyne et al. IoF2020-the Internet Of Meat: towards applications of Internet of Things in the meat supply chain
Sun et al. Method of Classified Counting of Mixed Breeding Chickens Based on YOLOV5

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