Food safety detection method and device
A technology of food safety and detection method, applied in the field of food safety, can solve the problem that food safety detection is difficult to popularize with ordinary consumers, and achieve the effect of improving the recognition speed and reducing the difficulty
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0036] Such as figure 1 Shown, embodiment 1 of the present invention provides food safety detection method, comprises the following steps:
[0037] S1. Establish a sample image sample set, use the sample image sample set to train the convolutional neural network, and obtain a sample category recognition model;
[0038] S2. Collect the color barcode images of the chemical reaction ribbons of different samples, acquire the color attributes of the color barcode images, associate the color attributes of the same sample with the sample files, and establish a comparison database;
[0039] S3. Obtain a product image of the product to be tested, the product image includes a chemical reaction ribbon area, and input the product image into the color recognition model to obtain the product category of the product to be tested;
[0040] S4. Obtain the color attribute of the chemical reaction ribbon region, search the comparison database for a product file corresponding to the product cate...
Embodiment 2
[0073] Embodiment 2 of the present invention provides a food safety detection device, including a processor and a memory, and a computer program is stored on the memory. When the computer program is executed by the processor, the food safety detection method provided in Embodiment 1 is realized. .
[0074] The food safety detection device provided by the embodiment of the present invention is used to implement the food safety detection method. Therefore, the food safety detection device also possesses the technical effects of the food safety detection method, and will not be repeated here.
Embodiment 3
[0076] Embodiment 3 of the present invention provides a computer storage medium on which a computer program is stored. When the computer program is executed by a processor, the food safety detection method provided in Embodiment 1 is realized.
[0077] The computer storage medium provided by the embodiment of the present invention is used to implement the food safety detection method. Therefore, the technical effects of the food safety detection method are also possessed by the computer storage medium, and will not be repeated here.
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 

