CN114637868A - Product data processing method and system applied to fast-moving industry - Google Patents

Product data processing method and system applied to fast-moving industry Download PDF

Info

Publication number
CN114637868A
CN114637868A CN202210166492.6A CN202210166492A CN114637868A CN 114637868 A CN114637868 A CN 114637868A CN 202210166492 A CN202210166492 A CN 202210166492A CN 114637868 A CN114637868 A CN 114637868A
Authority
CN
China
Prior art keywords
target product
image data
product
target
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.)
Granted
Application number
CN202210166492.6A
Other languages
Chinese (zh)
Other versions
CN114637868B (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.)
Guangzhou Xuantong Technology Co ltd
Original Assignee
Guangzhou Xuanwu Wireless Technology 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 Guangzhou Xuanwu Wireless Technology Co Ltd filed Critical Guangzhou Xuanwu Wireless Technology Co Ltd
Priority to CN202210166492.6A priority Critical patent/CN114637868B/en
Publication of CN114637868A publication Critical patent/CN114637868A/en
Application granted granted Critical
Publication of CN114637868B publication Critical patent/CN114637868B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/51Indexing; Data structures therefor; Storage structures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/58Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
    • G06F16/583Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using metadata automatically derived from the content
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/08Learning methods
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • G06Q30/0623Item investigation
    • G06Q30/0625Directed, with specific intent or strategy
    • G06Q30/0627Directed, with specific intent or strategy using item specifications
    • 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
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Data Mining & Analysis (AREA)
  • Library & Information Science (AREA)
  • Databases & Information Systems (AREA)
  • Finance (AREA)
  • Accounting & Taxation (AREA)
  • Software Systems (AREA)
  • Computational Linguistics (AREA)
  • Development Economics (AREA)
  • Molecular Biology (AREA)
  • Mathematical Physics (AREA)
  • General Health & Medical Sciences (AREA)
  • Evolutionary Computation (AREA)
  • Biophysics (AREA)
  • Biomedical Technology (AREA)
  • Artificial Intelligence (AREA)
  • Computing Systems (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Image Analysis (AREA)

Abstract

The invention provides a product data processing method and a system applied to the fast-moving industry, wherein the method comprises the following steps: acquiring image data containing a target product, and performing quality detection on the image data to clean the image data with unqualified quality; processing image data with qualified quality according to an image recognition model, and recognizing the name of a target product, the quantity of the target product and the coordinate of the target product in the image data; judging whether the position of the target product meets the condition of reasonably placing the product or not according to the name of the target product and the coordinate of the target product; wherein, the condition of the reasonable placement of the products comprises: the number of layers of the target product is equal to the preset number of layers and whether the competitive products exist in the preset range of the target product placing position or not; and storing the name of the target product, the number of the target products, the coordinates of the target products and the judgment result in a database, and generating a report. The invention analyzes the picture data by using an image recognition technology and achieves dynamic statistical data by dynamically executing a calculation rule.

Description

Product data processing method and system applied to fast-moving industry
Technical Field
The invention relates to the technical field of data processing and analysis, in particular to a product data processing method and system applied to the fast-moving industry.
Background
In a new retail age, marketing operation of the fast-moving consumer goods industry is increasingly digitalized, and the demand of the fast-moving consumer goods on product data is mainly focused on how to solve the management problem of each business object of personnel, terminals, products and channels in the sales process through artificial intelligence. The product is used as a main bearing body of goods in a 'people goods yard' of the fast-moving retail enterprise and is the root of the fast-moving retail enterprise, the sales volume of the product determines the operating and receiving amount of the enterprise, the sales volume of the product mostly comes from the terminal sales of off-line store, and the product sales of off-line channels depends on the goods placement condition of the product. Therefore, the management and control of product shop is a link which is particularly important for fast-moving retail enterprises. After a new product enters the market, the market needs to be rapidly counted, and the goods spreading plan is timely adjusted according to market feedback. For different store terminals, enterprises can flexibly make combined shop strategies of different products and check at any time. Stores also have requirements for product visit locations, requiring products to be placed at a given location. Generally, the collected data of the fast-moving enterprise is photographed by a waiter through a visit terminal and is manually collected, and the authenticity of the data is unreliable in order to finish random submission of indexes. The existing means mainly depends on the sampling statistics of third-party consulting companies, and has the disadvantages of high cost, low flexibility and poor timeliness.
Disclosure of Invention
In order to solve the problems of difficult product data statistics and poor data quality of fast-moving enterprises, the invention provides a product data processing method and a product data processing system applied to the fast-moving industry.
The invention provides a product data processing method applied to fast-moving industries in a first aspect, which comprises the following steps:
acquiring image data containing a target product, and performing quality detection on the image data to clean the image data with unqualified quality;
processing image data with qualified quality according to an image recognition model, and recognizing the name of a target product, the number of the target product and the coordinates of the target product in the image data;
judging whether the position of the target product meets the condition of reasonably placing the product or not according to the name of the target product and the coordinate of the target product; wherein, the condition of the reasonable placement of the products comprises: the number of layers of the target product to be placed meets the preset number of layers and whether the competitive products exist in the preset range of the placing position of the target product;
and storing the name of the target product, the number of the target products, the coordinates of the target products and the judgment result in a database, and generating a report.
Further, the step of judging whether the position of the target product meets the condition of reasonable placement of the product according to the name of the target product, the number of the target products and the coordinate of the target product comprises the following steps:
calculating the distance between the competitive products and the target products according to the competitive product coordinates and the target product coordinates;
judging whether the distance is smaller than a value twice the width of the target product;
if yes, reserving the competitive products in the range;
if not, the competitive products do not exist in the preset range.
Further, the step of judging whether the position of the target product meets the condition of reasonable placement of the product according to the name of the target product, the number of the target products and the coordinate of the target product comprises the following steps:
traversing all target products, and judging whether the number of layers of the target products is a second layer or a third layer;
if so, the number of layers of the target product meets the preset number of layers;
if not, the number of layers of the target product does not meet the preset number of layers.
Further, before processing the image data with qualified quality according to the image recognition model, the method further includes: establishing an image recognition model; specifically, the method comprises the following steps:
acquiring a plurality of image data containing target products, and manually labeling the names, the quantity and the coordinates of the target products in the image data;
carrying out inference model training on a plurality of image data obtained by artificial labeling through a fully-connected neural network, and calculating a loss function value;
and adjusting parameters of model training to enable the loss function value to be smaller than a preset number, and finishing the training of the image recognition model.
Further, the loss function value is calculated by the following formula:
Figure RE-GDA0003642967480000031
wherein Loss is a Loss function value, n is a total number of image data, i is ith image data, and yiTo label the image name and coordinates, xiTo label the pixel values of the image, w and b are both model training learning parameters.
Further, the quality detection of the image data to clean the image data with unqualified quality includes:
calculating the peak signal-to-noise ratio of the image data, and taking the peak signal-to-noise ratio as the quality standard of the image data;
and taking the image data with the peak signal-to-noise ratio lower than 100 as image data with unqualified quality.
Further, the peak signal-to-noise ratio is calculated by the following formula:
Figure RE-GDA0003642967480000032
PSNR is the peak signal-to-noise ratio of the image data, MAX is a fixed value, 255 is taken, and MSE is the mean square error of pixels of the image data;
wherein the MSE is calculated by the following equation:
Figure RE-GDA0003642967480000041
where MSE is the mean square error of the pixels of the image data, M is the width of the image, N is the length of the image, f (x, y) is the pixel value, f-1(x, y) is the mean of the pixel points, x is the abscissa of the pixel point, and y is the ordinate of the pixel point.
The second aspect of the present invention provides a product data processing system applied to the fast-moving industry, comprising:
the image data screening module is used for acquiring image data containing a target product and carrying out quality detection on the image data so as to clean the image data with unqualified quality;
the image data identification module is used for processing image data with qualified quality according to the image identification model and identifying the name of a target product, the quantity of the target product and the coordinates of the target product in the image data;
the product judgment module is used for judging whether the position of the target product meets the condition of reasonable placement of the product or not according to the name of the target product and the coordinate of the target product; wherein, the condition of the reasonable placement of the products comprises: the number of layers of the target product to be placed meets the preset number of layers and whether the competitive products exist in the preset range of the placing position of the target product;
and the data storage module is used for storing the name of the target product, the number of the target products, the coordinate of the target product and the judgment result in a database and generating a report.
A third aspect of the present invention provides an electronic device, including a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, wherein the processor, when executing the computer program, implements the product data processing method applied to the fast-moving industry as described in any one of the first aspects.
A fourth aspect of the present invention provides a computer-readable storage medium, where the computer-readable storage medium includes a stored computer program, where when the computer program runs, the apparatus where the computer-readable storage medium is located is controlled to execute the product data processing method applied to the fast-moving industry as described in any one of the first aspects.
Compared with the prior art, the embodiment of the invention has the beneficial effects that:
the invention provides a product data processing method and a system applied to the fast-moving industry, wherein the method comprises the following steps: acquiring image data containing a target product, and performing quality detection on the image data to clean the image data with unqualified quality; processing image data with qualified quality according to an image recognition model, and recognizing the name of a target product, the number of the target product and the coordinates of the target product in the image data; judging whether the position of the target product meets the condition of reasonably placing the product or not according to the name of the target product and the coordinate of the target product; wherein, the condition of the reasonable placement of the products comprises: the number of layers of the target product to be placed meets the preset number of layers and whether the competitive products exist in the preset range of the placing position of the target product; and storing the name of the target product, the number of the target products, the coordinates of the target products and the judgment result in a database, and generating a report. Compared with the existing product data processing method, the invention provides the method for analyzing the picture data by using the image recognition technology and achieving the purpose of dynamically counting the data by dynamically executing the calculation rule, million-level product picture data can be counted in one day, and the efficiency is improved by 90%.
Drawings
In order to more clearly illustrate the technical solution of the present invention, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a flow chart of a product data processing method applied in the fast-moving industry according to an embodiment of the present invention;
FIG. 2 is a flowchart of a product data processing method applied in the fast-moving industry according to another embodiment of the present invention;
FIG. 3 is a flowchart of a product data processing method applied to the fast moving consumer goods industry according to another embodiment of the present invention;
FIG. 4 is a flow diagram of executing a JavaScript script provided by one embodiment of the present invention;
FIG. 5 is a flowchart of a product data processing method applied in the fast-moving industry according to an embodiment of the present invention;
FIG. 6 is a flowchart illustrating calculation of whether a product is adjacent to a bid in a calculation rule according to an embodiment of the present invention;
fig. 7 is a flowchart of calculating whether a product is placed at a proper position according to a calculation rule provided by an embodiment of the present invention;
FIG. 8 is an apparatus diagram of a product data processing system for use in the fast moving consumer business in accordance with an embodiment of the present invention;
fig. 9 is a block diagram of an electronic device 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 drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be understood that the step numbers used herein are for convenience of description only and are not intended as limitations on the order in which the steps are performed.
It is to be understood that the terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in the specification of the present invention and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
The terms "comprises" and "comprising" indicate the presence of the described features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
The term "and/or" refers to and includes any and all possible combinations of one or more of the associated listed items.
A first aspect.
Referring to fig. 1-3, an embodiment of the present invention provides a product data processing method applied in fast-moving industry, including:
and S10, acquiring image data containing the target product, and performing quality detection on the image data to clean the image data with unqualified quality.
And S20, processing the image data with qualified quality according to the image recognition model, and recognizing the name, the number and the coordinates of the target product in the image data.
S30, judging whether the position of the target product meets the condition of reasonable placement of the product or not according to the name of the target product and the coordinate of the target product; wherein, the condition of the reasonable placement of the products comprises: the number of layers of the target product can meet the preset number of layers and whether the competitive products exist in the preset range of the target product placing position.
And S40, storing the name of the target product, the quantity of the target product, the coordinate of the target product and the judgment result in a database, and generating a report.
Further, the step S30 includes:
and S311, calculating the distance between the competitive products and the target products according to the coordinates of the competitive products and the coordinates of the target products.
And S312, judging whether the distance is smaller than a double value of the width of the target product.
And S313, if yes, reserving the competitive products in the range.
And S314, if not, determining the competitive products which do not exist in the preset range.
Further, the step S30 further includes:
s321, traversing all the target products, and judging whether the layer number of the target product is the second layer or the third layer.
And S322, if so, the number of layers of the target product meets the preset number of layers.
S323, if not, the number of layers of the target product does not meet the preset number of layers.
Further, step S20 is preceded by:
acquiring a plurality of image data containing target products, and manually labeling the names of the target products, the quantity of the target products and the coordinates of the target products in the image data;
carrying out inference model training on a plurality of image data obtained by artificial labeling through a full-connection neural network, and calculating a loss function value;
and adjusting parameters of model training to enable the loss function value to be smaller than a preset number, and finishing the training of the image recognition model.
Preferably, the loss function value is calculated by the following formula:
Figure RE-GDA0003642967480000081
wherein Loss is a Loss function value, n is a total number of image data, i is ith image data, and yiTo label the image name and coordinates, xiTo label the pixel values of the image, w and b are both model training learning parameters.
Further, the step S10 includes:
calculating the peak signal-to-noise ratio of the image data, and taking the peak signal-to-noise ratio as the quality standard of the image data;
and taking the image data with the peak signal-to-noise ratio lower than 100 as image data with unqualified quality.
Preferably, the peak signal-to-noise ratio is calculated by the following formula:
Figure RE-GDA0003642967480000082
PSNR is the peak signal-to-noise ratio of the image data, MAX is a fixed value, 255 is taken, and MSE is the mean square error of pixels of the image data;
wherein the MSE is calculated by the following equation:
Figure RE-GDA0003642967480000083
where MSE is the mean square error of the pixels of the image data, M is the width of the image, N is the length of the image, f (x, y) is the pixel value, f-1(x, y) is the mean value of the pixel points, x is the abscissa of the pixel points, and y is the ordinate of the pixel points.
Compared with the existing product data processing method, the invention provides the method for analyzing the picture data by using the image recognition technology and achieving the purpose of dynamically counting the data by dynamically executing the calculation rule, million-level product picture data can be counted in one day, and the efficiency is improved by 90%.
Referring to fig. 4-7, another embodiment of the present invention provides a product data processing method applied in fast-moving industries, including:
(1) and acquiring product picture resources.
(2) And judging whether the picture is real and effective or not through the picture quality detection capability.
(3) And obtaining the product data of the picture through the image recognition capability.
(4) And acquiring a product calculation rule.
(5) And (4) compiling and executing the product data obtained in the step (3) according to the calculation rule obtained in the step (4) to obtain calculated product goods laying data.
Specifically, the method comprises the following steps:
(1) the background service queries the product picture data (picture valid access address url) from the database.
(2) And (2) calling a picture quality detection service (having picture quality detection capability and being capable of judging whether the picture quality is qualified) for the data obtained in the step (1). And discarding the picture with unqualified quality, and keeping the picture with qualified quality. In the embodiment, the picture quality detection service determines based on the blur degree, the blur image loss detail gradient is gentle, the PSNR (peak signal-to-noise ratio) can be calculated to determine the quality, the higher the PSNR value is, the less the picture distortion is represented, the higher the picture quality is, otherwise, the picture with low quality is obtained. PSNR (peak signal-to-noise ratio) calculation formula of picture is as follows:
Figure RE-GDA0003642967480000091
where MAX is 255, MSE is the mean square error of the pixel, and the mean square error calculation formula of the pixel is as follows
Figure RE-GDA0003642967480000101
Where M is the width of the picture, N is the length of the picture, f (x, y) is the pixel value, f1(x, y) is the mean of the pixels.
In this embodiment, the threshold of the peak snr is 100, and if the peak snr is less than 100, the picture quality is considered to be unqualified, otherwise the picture quality is considered to be qualified.
(3) And (3) calling an image recognition service (having the capability of recognizing products, predicting the names, the number, the coordinates and the number of layers of the products in the pictures) according to the qualified picture data processed in the step (2) to obtain the names, the number and the coordinates of the products. In the embodiment, the image recognition service predicts the name, the coordinate and the number of layers of the commodity in the picture through the commodity prediction model, and then counts the quantity through traversal and summation. The commodity modeling mode is that firstly, a picture set containing products is collected, and the pictures are labeled manually to obtain the product names, the quantity and the coordinate information in the pictures. The inference model is then trained using fully-connected neural network (DNN) techniques, with the goal of "matching" the output of the inference model to the output of the true house number. And (3) feeding back the model inference effect through the Loss function Loss, wherein the model inference effect is the best when the Loss value is the minimum. The Loss function Loss is formulated as follows.
Figure RE-GDA0003642967480000102
Wherein n is the total number of pictures, yiTo mark picture names and coordinates, xiTo label the picture pixel values, w and b are model training learning parameters. And (5) adjusting the model training learning parameters to minimize the Loss value, and finishing the model training at the moment.
(4) The product calculation rules (JavaScript code) are queried from the database. The calculation rules in this embodiment include three calculation rules, i.e., product quantity statistics, whether the products are adjacent to each other and whether the products are placed at proper positions.
The product quantity statistics is to count the total number of each product according to the product name, and the formula for calculating the total number of the products is as follows:
f=∑num;
where num represents the number of corresponding products.
And judging whether the distance between the product and the competitive product is less than 2 times of the product width according to the coordinate distance calculation company, if so, determining that the adjacent competitive product exists, and otherwise, determining that the adjacent competitive product does not exist. Coordinate distance calculation company is as follows:
f=|l1-l2|;
wherein l1As the x-axis coordinate position of the product, l2Is the coordinate position of the x axis of the competitive products.
The calculation rule for judging whether the proper position is placed is to traverse all the products to judge whether the layer number of the product is the second layer or the third layer, if the layer number of the product is the second layer or the third layer, the product can be considered to be placed at the proper position, otherwise, the product is considered not to be placed at the proper position.
(5) And (3) loading the product calculation rule (JavaScript code) obtained in the step (4) in the service, transmitting the product name, number, coordinates and the number information of the located layers obtained in the step (3), executing the JavaScript code, and storing the executed result data (the number of the products, whether the products are placed at proper positions, whether competitive products exist or not and the number of the competitive products) into a database for displaying in a page report form.
Compared with the prior art, the invention has the following advantages and beneficial effects:
1. the calculation rule is dynamically loaded, compiled and executed, and is more flexible;
2. the product picture data is submitted in real time by a salesman, the data is counted on the same day, and the report is output on the same day, so that the method is more efficient compared with manual counting entrusted to a third party;
3. the pictures are checked through the image quality detection capability, so that the product data are more real;
4. compared with the existing product data processing method, the image data is analyzed by using the image recognition technology, the aim of dynamically counting the data is fulfilled by dynamically executing the calculation rule, millions of product image data can be counted one day, and the efficiency is improved by 90%.
A second aspect.
Referring to fig. 8, an embodiment of the invention provides a product data processing system applied in fast moving consumer goods industry, including:
the image data screening module 100 is configured to obtain image data including a target product, and perform quality inspection on the image data to clean image data with unqualified quality.
And the image data identification module 200 is configured to process image data with qualified quality according to an image identification model, and identify a name of a target product, a quantity of the target product, and coordinates of the target product in the image data.
The product judgment module 300 is used for judging whether the position of the target product meets the condition of reasonable placement of the product according to the name of the target product and the coordinate of the target product; wherein, the condition of the reasonable placement of the products comprises: the number of layers of the target products meets the preset number of layers and whether the competitive products exist in the preset range of the target product placing positions.
And the data storage module 400 is used for storing the name of the target product, the number of the target products, the coordinates of the target products and the judgment result in a database and generating a report.
Further, the product determination module 300 is further configured to:
and calculating the distance between the competitive products and the target products according to the competitive product coordinates and the target product coordinates.
And judging whether the distance is less than a value twice the width of the target product.
If yes, the competitive products existing in the range are preset.
If not, the competitive products do not exist in the preset range.
Further, the product determination module 300 is further configured to:
and traversing all the target products, and judging whether the layer number of the target product is the second layer or the third layer.
If so, the number of layers of the target product meets the preset number of layers.
If not, the number of layers of the target product does not meet the preset number of layers.
Further, the system further comprises: an image recognition model building module to:
acquiring a plurality of image data containing target products, and manually labeling the names of the target products, the quantity of the target products and the coordinates of the target products in the image data;
carrying out inference model training on a plurality of image data obtained by artificial labeling through a full-connection neural network, and calculating a loss function value;
and adjusting parameters of model training to enable the loss function value to be smaller than a preset number, and finishing the training of the image recognition model.
Preferably, the loss function value is calculated by the following formula:
Figure RE-GDA0003642967480000131
wherein Loss is a Loss function value, n is a total number of image data, i is ith image data, and yiTo label the image name and coordinates, xiTo label the pixel values of the image, w and b are both model training learning parameters.
Further, the image data filtering module 100 is further configured to:
calculating the peak signal-to-noise ratio of the image data, and taking the peak signal-to-noise ratio as the quality standard of the image data;
and taking the image data with the peak signal-to-noise ratio lower than 100 as image data with unqualified quality.
Preferably, the peak signal-to-noise ratio is calculated by the following formula:
Figure RE-GDA0003642967480000132
PSNR is the peak signal-to-noise ratio of the image data, MAX is a fixed value, 255 is taken, and MSE is the mean square error of pixels of the image data;
wherein the MSE is calculated by the following equation:
Figure RE-GDA0003642967480000133
where MSE is the mean square error of the pixels of the image data, M is the width of the image, N is the length of the image, f (x, y) is the pixel value, f-1(x, y) is the mean of the pixel points, x is the abscissa of the pixel point, and y is the ordinate of the pixel point.
The product data processing system applied to the fast-moving industry provided by the invention analyzes the picture data by using the image recognition technology, achieves the purpose of dynamically counting the data by dynamically executing the calculation rule, and can count the million-level product picture data in one day, so that the efficiency is improved by 90%.
In a third aspect.
The present invention provides an electronic device, including:
a processor, a memory, and a bus;
the bus is used for connecting the processor and the memory;
the memory is used for storing operation instructions;
the processor is configured to invoke the operation instruction, and the executable instruction enables the processor to execute an operation corresponding to the product data processing method applied to the fast moving product industry, as shown in the first aspect of the present application.
In an alternative embodiment, an electronic device is provided, as shown in fig. 9, the electronic device 5000 shown in fig. 9 includes: a processor 5001 and a memory 5003. The processor 5001 and the memory 5003 are coupled, such as via a bus 5002. Optionally, the electronic device 5000 may also include a transceiver 5004. It should be noted that the transceiver 5004 is not limited to one in practical application, and the structure of the electronic device 5000 is not limited to the embodiment of the present application.
The processor 5001 may be a CPU, general purpose processor, DSP, ASIC, FPGA or other programmable logic device, transistor logic device, hardware component, or any combination thereof. Which may implement or execute the various illustrative logical blocks, modules, and circuits described in connection with the disclosure herein. The processor 5001 may also be a combination of processors implementing computing functionality, e.g., a combination comprising one or more microprocessors, a combination of DSPs and microprocessors, or the like.
Bus 5002 may include a path that conveys information between the aforementioned components. Bus 5002 may be a PCI bus or EISA bus or the like. The bus 5002 may be divided into an address bus, a data bus, a control bus, and the like. For ease of illustration, only one thick line is shown in FIG. 9, but this does not indicate only one bus or one type of bus.
The memory 5003 may be, but is not limited to, a ROM or other type of static storage device that can store static information and instructions, a RAM or other type of dynamic storage device that can store information and instructions, an EEPROM, a CD-ROM or other optical disk storage, optical disk storage (including compact disk, laser disk, optical disk, digital versatile disk, blu-ray disk, etc.), magnetic disk storage media or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer.
The memory 5003 is used for storing application program codes for executing the present solution, and the execution is controlled by the processor 5001. The processor 5001 is configured to execute application program code stored in the memory 5003 to implement the teachings of any of the foregoing method embodiments.
Among them, electronic devices include but are not limited to: mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), in-vehicle terminals (e.g., in-vehicle navigation terminals), and the like, and fixed terminals such as digital TVs, desktop computers, and the like.
A fourth aspect.
The present invention provides a computer-readable storage medium, on which a computer program is stored, which, when executed by a processor, implements a product data processing method applied to the fast-moving industry as shown in the first aspect of the present application.
Yet another embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored, which, when run on a computer, enables the computer to perform the corresponding content in the aforementioned method embodiments.

Claims (10)

1. A product data processing method applied to the fast-moving industry is characterized by comprising the following steps:
acquiring image data containing a target product, and performing quality detection on the image data to clean the image data with unqualified quality;
processing image data with qualified quality according to an image recognition model, and recognizing the name of a target product, the number of the target product and the coordinates of the target product in the image data;
judging whether the position of the target product meets the condition of reasonably placing the product or not according to the name of the target product and the coordinate of the target product; wherein, the condition of the reasonable placement of the products comprises: the number of layers of the target product to be placed meets the preset number of layers and whether the competitive products exist in the preset range of the placing position of the target product;
and storing the name of the target product, the number of the target products, the coordinates of the target products and the judgment result in a database, and generating a report.
2. The product data processing method applied to the fast moving industry as claimed in claim 1, wherein the determining whether the position of the target product meets the condition of reasonable placement of the product according to the name of the target product, the number of the target products and the coordinates of the target product comprises:
calculating the distance between the competitive products and the target products according to the competitive product coordinates and the target product coordinates;
judging whether the distance is smaller than a value twice the width of the target product;
if yes, reserving the competitive products in the range;
if not, the competitive products do not exist in the preset range.
3. The product data processing method applied to the fast moving industry as claimed in claim 1, wherein the determining whether the position of the target product meets the condition of reasonable placement of the product according to the name of the target product, the number of the target products and the coordinates of the target product comprises:
traversing all target products, and judging whether the number of layers of the target products is a second layer or a third layer;
if so, the number of layers of the target product meets the preset number of layers;
if not, the number of layers of the target product does not meet the preset number of layers.
4. The method as claimed in claim 1, wherein before the processing the qualified image data according to the image recognition model, the method further comprises: establishing an image recognition model; specifically, the method comprises the following steps:
acquiring a plurality of image data containing target products, and manually labeling the names of the target products, the quantity of the target products and the coordinates of the target products in the image data;
carrying out inference model training on a plurality of image data obtained by artificial labeling through a fully-connected neural network, and calculating a loss function value;
and adjusting parameters of model training to enable the loss function value to be smaller than a preset number, and finishing the training of the image recognition model.
5. The product data processing method applied to the fast moving industry, according to claim 4, wherein the loss function value is calculated by the following formula:
Figure FDA0003515969070000021
wherein Loss is a Loss function value, n is a total number of image data, i is ith image data, and yiTo label the image name and coordinates, xiTo label the pixel values of the image, w and b are both model training learning parameters.
6. The product data processing method applied to the fast-moving industry as claimed in claim 1, wherein the quality inspection of the image data to clean the image data with unqualified quality comprises:
calculating the peak signal-to-noise ratio of the image data, and taking the peak signal-to-noise ratio as the quality standard of the image data;
and taking the image data with the peak signal-to-noise ratio lower than 100 as image data with unqualified quality.
7. The product data processing method applied to the fast moving consumer industry according to claim 6, wherein the peak signal-to-noise ratio is calculated by the following formula:
Figure FDA0003515969070000031
PSNR is the peak signal-to-noise ratio of the image data, MAX is a fixed value, 255 is taken, and MSE is the mean square error of pixels of the image data;
wherein the MSE is calculated by the following equation:
Figure FDA0003515969070000032
where MSE is the mean square error of the pixels of the image data, M is the width of the image, N is the length of the image, f (x, y) is the pixel value, f-1(x, y) is the mean of the pixel points, x is the abscissa of the pixel point, and y is the ordinate of the pixel point.
8. A product data processing system for use in the fast moving consumer industry, comprising:
the image data screening module is used for acquiring image data containing a target product and carrying out quality detection on the image data so as to clean the image data with unqualified quality;
the image data identification module is used for processing image data with qualified quality according to the image identification model and identifying the name of a target product, the quantity of the target product and the coordinates of the target product in the image data;
the product judgment module is used for judging whether the position of the target product meets the condition of reasonably placing the product or not according to the name of the target product and the coordinate of the target product; wherein, the condition of the reasonable placement of the products comprises: the number of layers of the target product to be placed meets the preset number of layers and whether the competitive products exist in the preset range of the placing position of the target product;
and the data storage module is used for storing the name of the target product, the number of the target products, the coordinate of the target product and the judgment result in a database and generating a report.
9. An electronic device comprising a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, the processor implementing the product data processing method applied to the fast moving industry according to any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium, comprising a stored computer program, wherein when the computer program runs, the computer-readable storage medium controls a device to execute the product data processing method applied to the fast-moving industry according to any one of claims 1 to 7.
CN202210166492.6A 2022-02-23 2022-02-23 Product data processing method and system applied to fast-moving industry Active CN114637868B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210166492.6A CN114637868B (en) 2022-02-23 2022-02-23 Product data processing method and system applied to fast-moving industry

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210166492.6A CN114637868B (en) 2022-02-23 2022-02-23 Product data processing method and system applied to fast-moving industry

Publications (2)

Publication Number Publication Date
CN114637868A true CN114637868A (en) 2022-06-17
CN114637868B CN114637868B (en) 2023-03-24

Family

ID=81946431

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210166492.6A Active CN114637868B (en) 2022-02-23 2022-02-23 Product data processing method and system applied to fast-moving industry

Country Status (1)

Country Link
CN (1) CN114637868B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120323620A1 (en) * 2011-06-20 2012-12-20 Hi-Tech Solutions Ltd. System and method for identifying retail products and determining retail product arrangements
CN109670861A (en) * 2018-11-30 2019-04-23 深圳冠思大数据服务有限公司 Commodity on shelf sale effect method for improving and system based on artificial intelligence
CN110619336A (en) * 2019-08-26 2019-12-27 南京理工大学 Goods identification algorithm based on image processing
CN111310800A (en) * 2020-01-20 2020-06-19 世纪龙信息网络有限责任公司 Image classification model generation method and device, computer equipment and storage medium
CN111860462A (en) * 2020-08-07 2020-10-30 多点(深圳)数字科技有限公司 Shelf display feedback method and device
US20200387854A1 (en) * 2019-06-10 2020-12-10 Salesforce.Com, Inc. System and method for live product report generation without annotated training data
CN112153371A (en) * 2020-08-24 2020-12-29 珠海格力电器股份有限公司 Image quality detection method, device, storage medium and product detection method
CN112883955A (en) * 2021-03-10 2021-06-01 洛伦兹(北京)科技有限公司 Shelf layout detection method and device and computer readable storage medium
JP2021148730A (en) * 2020-03-23 2021-09-27 パナソニックIpマネジメント株式会社 Position estimation method, position estimation device, and program

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120323620A1 (en) * 2011-06-20 2012-12-20 Hi-Tech Solutions Ltd. System and method for identifying retail products and determining retail product arrangements
CN109670861A (en) * 2018-11-30 2019-04-23 深圳冠思大数据服务有限公司 Commodity on shelf sale effect method for improving and system based on artificial intelligence
US20200387854A1 (en) * 2019-06-10 2020-12-10 Salesforce.Com, Inc. System and method for live product report generation without annotated training data
CN110619336A (en) * 2019-08-26 2019-12-27 南京理工大学 Goods identification algorithm based on image processing
CN111310800A (en) * 2020-01-20 2020-06-19 世纪龙信息网络有限责任公司 Image classification model generation method and device, computer equipment and storage medium
JP2021148730A (en) * 2020-03-23 2021-09-27 パナソニックIpマネジメント株式会社 Position estimation method, position estimation device, and program
CN111860462A (en) * 2020-08-07 2020-10-30 多点(深圳)数字科技有限公司 Shelf display feedback method and device
CN112153371A (en) * 2020-08-24 2020-12-29 珠海格力电器股份有限公司 Image quality detection method, device, storage medium and product detection method
CN112883955A (en) * 2021-03-10 2021-06-01 洛伦兹(北京)科技有限公司 Shelf layout detection method and device and computer readable storage medium

Also Published As

Publication number Publication date
CN114637868B (en) 2023-03-24

Similar Documents

Publication Publication Date Title
CN111325353A (en) Method, device, equipment and storage medium for calculating contribution of training data set
US20150317379A1 (en) Data Classification Tool Using Dynamic Allocation of Attribute Weights
CN115564486A (en) Data pushing method, device, equipment and medium
CN112184143A (en) Model training method, device and equipment in compliance audit rule
US20160086122A1 (en) System and method for providing multi objective multi criteria vendor management
CN112183509B (en) Warehouse auditing method and system based on target detection
CN112200644B (en) Method and device for identifying fraudulent user, computer equipment and storage medium
CN114637868B (en) Product data processing method and system applied to fast-moving industry
CN117709528A (en) Carbon emission prediction method, device, equipment and storage medium
CN111784053A (en) Transaction risk detection method, device and readable storage medium
CN111784506A (en) Overdue risk control method, device and readable storage medium
CN113505304B (en) Target object recommendation method and system
WO2022267364A1 (en) Information recommendation method and device, and storage medium
CN111680941A (en) Premium recommendation method, device, equipment and storage medium
CN111506826A (en) User recommendation method, device, equipment and storage medium based on intimacy
CN112035232B (en) Job operation priority determining method and related equipment
CN111178740B (en) Data processing method and device
CN112906726B (en) Model training method, image processing device, computing equipment and medium
CN115934971A (en) Litigation case screening method and device, electronic equipment and storage medium
CN117011067A (en) Supply chain financial risk control method and system based on blockchain
CN116823486A (en) Rights and interests asset analysis adjustment method, device, equipment and storage medium thereof
CN118211873A (en) Performance evaluation method, device, medium and product of intelligent cloud bin
CN116415588A (en) Data processing method and device, electronic equipment and readable storage medium
CN116703025A (en) Potential cooperative object identification method and related device
CN114943566A (en) Evaluation method and recall method for lost commercial tenant, electronic equipment and storage medium

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
TR01 Transfer of patent right

Effective date of registration: 20240531

Address after: Room 601, Building A, No. 99 Fenghuang Fourth Road, Huangpu District, Guangzhou City, Guangdong Province, 510700 (Location: Room 660)

Patentee after: Guangzhou Xuantong Technology Co.,Ltd.

Country or region after: China

Address before: 510620 room 23bd, No. 109, TIYU West Road, Tianhe District, Guangzhou City, Guangdong Province

Patentee before: GUANGZHOU XUANWU WIRELESS TECHNOLOGY Co.,Ltd.

Country or region before: China