CN115587769A - Method and device for detecting commodity out-of-stock state, computer equipment and storage medium - Google Patents

Method and device for detecting commodity out-of-stock state, computer equipment and storage medium Download PDF

Info

Publication number
CN115587769A
CN115587769A CN202211269308.7A CN202211269308A CN115587769A CN 115587769 A CN115587769 A CN 115587769A CN 202211269308 A CN202211269308 A CN 202211269308A CN 115587769 A CN115587769 A CN 115587769A
Authority
CN
China
Prior art keywords
commodity
stock
detection frame
price tag
state
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.)
Pending
Application number
CN202211269308.7A
Other languages
Chinese (zh)
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.)
Hanshuo Technology Co ltd
Original Assignee
Hanshuo 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 Hanshuo Technology Co ltd filed Critical Hanshuo Technology Co ltd
Priority to CN202211269308.7A priority Critical patent/CN115587769A/en
Publication of CN115587769A publication Critical patent/CN115587769A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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
    • G06Q10/00Administration; Management
    • G06Q10/08Logistics, e.g. warehousing, loading or distribution; Inventory or stock management
    • G06Q10/087Inventory or stock management, e.g. order filling, procurement or balancing against orders
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V30/00Character recognition; Recognising digital ink; Document-oriented image-based pattern recognition
    • G06V30/10Character recognition
    • G06V30/14Image acquisition
    • G06V30/1444Selective acquisition, locating or processing of specific regions, e.g. highlighted text, fiducial marks or predetermined fields
    • G06V30/1448Selective acquisition, locating or processing of specific regions, e.g. highlighted text, fiducial marks or predetermined fields based on markings or identifiers characterising the document or the area
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V30/00Character recognition; Recognising digital ink; Document-oriented image-based pattern recognition
    • G06V30/10Character recognition
    • G06V30/30Character recognition based on the type of data
    • G06V30/302Images containing characters for discriminating human versus automated computer access

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Economics (AREA)
  • Multimedia (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Strategic Management (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Development Economics (AREA)
  • Tourism & Hospitality (AREA)
  • Marketing (AREA)
  • General Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Human Resources & Organizations (AREA)
  • General Engineering & Computer Science (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Finance (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention provides a method and a device for detecting the out-of-stock state of a commodity, computer equipment and a storage medium, wherein the method comprises the following steps: carrying out detection frame calibration on price tags and commodity targets in the visual image of the goods shelf to obtain each target detection frame; carrying out image recognition on the area image in each target detection frame, and obtaining a virtual shelf display state according to an image recognition result; performing fusion matching on the commodity display in the virtual shelf display state and the price tag display to obtain commodity information bound in each price tag; and comparing the commodity information bound in each price tag with the out-of-stock threshold value, and obtaining the detection result of the out-of-stock state of the commodity according to the comparison result. The invention solves the problems of low detection efficiency and detection error in the method for manually detecting the goods shortage state in the prior art, and the method for detecting the goods shortage is automated and intelligentized, thereby not only improving the detection efficiency and the detection precision, but also reducing the labor cost.

Description

Method and device for detecting commodity out-of-stock state, computer equipment and storage medium
Technical Field
The invention relates to the technical field of intelligent business overload, in particular to a method and a device for detecting the out-of-stock state of a commodity, computer equipment and a storage medium.
Background
With the development of artificial intelligence technology, smart retail is rapidly developed in recent years, and in order to realize a shopping mode with higher efficiency, better service and better experience, the smart retail comprehensively utilizes the technologies such as internet, internet of things, big data, artificial intelligence and the like, enables or upgrades the existing store-shops and convenience stores, and carries out digital and intelligent management on the stores; the digital shelf is an important link in intelligent retail business, and the intelligent management requirements of the digital shelf are met by the requirements of shelf-level commodity detection, commodity identification, lack-of-stock state finding reminding, display supervision optimization and the like.
At present, for actual store shops, the grade of each commodity on a shelf is a valuable resource in a retail supermarket, and if the commodity position on the shelf is out of stock for a long time, most of sales loss is caused, so that the discovery and prompt of the out-of-stock state of the commodity position on the shelf are of great importance; the conventional method for finding out the shortage of commodities is to find out the shortage of commodities by a store clerk or a tallying clerk who surpasses the store, then to clearly distinguish and remember which commodities are in the shortage state, and then to take out the corresponding commodities from a warehouse for replenishment. However, the manual method for finding out the out-of-stock is extremely inefficient, and is easy to have the problems of untimely replenishment caused by memory errors and the like.
Therefore, the method for manually detecting the goods shortage state in the prior art has the problems of low detection efficiency, detection errors and the like, and cannot meet the actual requirements of the store of business department and super department.
Disclosure of Invention
Aiming at the defects in the prior art, the method, the device, the computer equipment and the storage medium for detecting the goods out-of-stock state solve the problems of low detection efficiency and detection errors in the method for manually detecting the goods out-of-stock state in the prior art, automate and intelligentize the method for detecting the goods out-of-stock, improve the detection efficiency and reduce the labor cost; in addition, the commodity display and the price tag display are fused and matched, so that the out-of-stock position on the goods shelf can be accurately found, the name of the out-of-stock commodity can be still detected in the state that the commodity is completely sold out, the detection precision of the out-of-stock state is improved, and the actual requirement of the excess of the merchant is met.
In a first aspect, the present invention provides a method for detecting a goods out-of-stock state, where the method includes: carrying out detection frame calibration on price tags and commodity targets in the visual image of the goods shelf to obtain each target detection frame; carrying out image recognition on the area image in each target detection frame, and obtaining a virtual shelf display state according to an image recognition result; performing fusion matching on the commodity display in the virtual shelf display state and the price tag display to obtain commodity information bound in each price tag; and comparing the commodity information bound in each price tag with the out-of-stock threshold value, and obtaining a detection result of the out-of-stock state of the commodity according to the comparison result.
Optionally, the image recognition of the area image in each target detection frame and obtaining the virtual shelf display state according to the image recognition result includes: acquiring parameter information of each target detection frame; performing image recognition on the area image in each target detection frame to obtain a target type and a commodity name in each detection frame, wherein the target type comprises commodities and price tags; and binding the parameter information of each target detection frame with the corresponding target type and commodity name to obtain a virtual shelf display state comprising commodity display and price tag display.
Optionally, performing image recognition on the area image in each target detection frame to obtain the target type and the image name in each detection frame, including: obtaining the target type in each detection frame according to the parameter information of each target detection frame; and selecting a corresponding image algorithm to perform image recognition on the area image according to the target type to obtain a corresponding commodity name in each detection frame.
Optionally, the method further comprises: when the price tag identical to the name of the target commodity is not detected, generating a virtual price tag at a position corresponding to the target commodity; and binding the target commodity name and the virtual price tag.
Optionally, when the commodity information includes the quantity of commodities, comparing the commodity information bound in each price tag with an out-of-stock threshold, and obtaining a detection result of the out-of-stock state of the commodity according to the comparison result, including: judging whether the quantity of the commodities is smaller than a first stock shortage threshold value or not; and when the number of the commodities is smaller than the first goods shortage threshold value, the detection result of the current goods shortage state is that the commodities are out of stock.
Optionally, when the commodity information includes a total area of the commodity, comparing the commodity information bound in each price tag with an out-of-stock threshold, and obtaining a detection result of an out-of-stock state of the commodity according to the comparison result, including: judging whether the total area of the commodities is smaller than a second out-of-stock threshold value or not; and when the total area of the commodities is smaller than the second goods shortage threshold value, the detection result of the current goods shortage state is the goods shortage.
Optionally, the method further comprises: and when the detection result of the goods shortage state is the shortage state, controlling the corresponding electronic price tag on the goods shelf to perform flashing prompt or using different colors to prompt the corresponding price tag on the virtual goods shelf display.
In a second aspect, the present invention provides a device for detecting the out-of-stock state of a commodity, the device comprising: the detection frame calibration module is used for carrying out detection frame calibration on the price tags and the commodity targets in the visual image of the goods shelf to obtain each target detection frame; the image recognition module is used for carrying out image recognition on the area image in each target detection frame and obtaining the display state of the virtual goods shelf according to the image recognition result; the fusion matching module is used for performing fusion matching on the commodity display and the price tag display in the virtual shelf display state to obtain the commodity information bound in each price tag; and the threshold comparison module is used for comparing the commodity information bound in each price tag with the out-of-stock threshold and obtaining the detection result of the out-of-stock state of the commodity according to the comparison result.
In a third aspect, the present invention provides a computer device, comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the following steps when executing the computer program: carrying out detection frame calibration on price tags and commodity targets in the visual image of the goods shelf to obtain each target detection frame; carrying out image recognition on the area image in each target detection frame, and obtaining a virtual shelf display state according to an image recognition result; performing fusion matching on the commodity display in the virtual shelf display state and the price tag display to obtain commodity information bound in each price tag; and comparing the commodity information bound in each price tag with the out-of-stock threshold value, and obtaining the detection result of the out-of-stock state of the commodity according to the comparison result.
In a fourth aspect, the present invention provides a readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of: carrying out detection frame calibration on the price tags and commodity targets in the visual image of the shelf to obtain each target detection frame; carrying out image recognition on the area image in each target detection frame, and obtaining a virtual shelf display state according to an image recognition result; performing fusion matching on the commodity display in the virtual shelf display state and the price tag display to obtain commodity information bound in each price tag; and comparing the commodity information bound in each price tag with the out-of-stock threshold value, and obtaining a detection result of the out-of-stock state of the commodity according to the comparison result.
Compared with the prior art, the invention has the following beneficial effects:
in the embodiment, the virtual shelf display state comprising the commodity display and the price tag display is obtained by carrying out detection frame calibration and image recognition on the visual image of the shelf, the price tag information and the commodity information displayed on the virtual shelf are subjected to fusion processing, the matching of the commodity is bound on the specified price tag, and the commodity information bound on the price tag is compared with the set out-of-stock threshold value, so that whether the commodity is in the out-of-stock state is detected according to the comparison result; therefore, the invention solves the problems of low detection efficiency and detection error in the method for manually detecting the goods shortage state in the prior art, and the method for detecting the goods shortage is automated and intelligentized, thereby not only improving the detection efficiency, but also reducing the labor cost; in addition, the commodity display and the price tag display are fused and matched, so that the out-of-stock position on the goods shelf can be accurately found, the name of the out-of-stock commodity can be still detected in the state that the commodity is completely sold out, the detection precision of the out-of-stock state is improved, and the actual requirement of the excess of the merchant is met.
Drawings
Fig. 1 is a schematic flow chart illustrating a method for detecting a merchandise out-of-stock status according to an embodiment of the present invention;
fig. 2 is a schematic diagram illustrating a shelf image acquisition manner according to an embodiment of the present invention;
FIG. 3 is a schematic view of a visual image of a shelf according to an embodiment of the present invention;
fig. 4 is a schematic diagram of a target detection frame according to an embodiment of the present invention;
fig. 5 is a schematic diagram illustrating a virtual shelf display status according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all 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 application.
In a first aspect, the present invention provides a method for detecting a merchandise out-of-stock state, which specifically includes the following embodiments:
fig. 1 is a schematic flow chart of a method for detecting a product out-of-stock state according to an embodiment of the present invention, and as shown in fig. 1, the method specifically includes the following steps:
and step S101, calibrating the detection frames of the price tags and the commodity targets in the visual image of the shelf to obtain each target detection frame.
In this embodiment, the front visual image of the shelf shown in fig. 3 can be acquired by a handheld image capturing device, a camera shown in fig. 2a and installed in front of the shelf, or a camera shown in fig. 2b and taken by an inspection robot, and the like, where fig. 3 is not an actual acquired image but a schematic diagram. And then carrying out detection frame calibration on the price tags and the commodities in the visual image of the shelf through a detection algorithm, wherein the detection frame calibration is used for calibrating a single area image in the whole image, and the target detection frame shown in the figure 4 is obtained.
And step S102, carrying out image recognition on the area image in each target detection frame, and obtaining the virtual shelf display state according to the image recognition result.
In an embodiment, the image recognition of the area image in each target detection frame and the obtaining of the virtual shelf display state according to the image recognition result comprise: acquiring parameter information of each target detection frame; performing image recognition on the area image in each target detection frame to obtain a target type and an image name in each detection frame, wherein the target type comprises a commodity and a price tag; and binding the parameter information of each target detection frame with the corresponding target type and image name to obtain a virtual shelf display state comprising commodity display and price tag display.
Optionally, performing image recognition on the area image in each target detection frame to obtain the target type and the image name in each detection frame, including: obtaining the target type in each detection frame according to the parameter information of each target detection frame; and selecting a corresponding image algorithm to perform image recognition on the area image according to the target type to obtain the commodity name in each detection frame, and taking the commodity name as the image name.
It should be noted that after the detection frames of the visual image are calibrated, the position information of each target detection frame may be obtained, where the position information includes four vertex coordinates of each detection frame, the area information of each detection frame is calculated according to the four vertex coordinates of each detection frame, and the parameter information of each target detection frame includes the position information of each detection frame and the area information of each detection frame.
Further, detecting the target type of the current area image according to the coordinates of the four vertexes of each target detection frame; optionally, according to the actual position of the shelf price tag, setting a longitudinal coordinate value in a vertex coordinate of the price tag type as a preset interval in advance; and if all the ordinate values of the current target detection frame are within the preset interval, the target type of the current target detection frame is the price tag, and if not, the current target detection frame is the commodity. According to this method, the type of object within each image detection can be derived.
Furthermore, according to the target type in each target detection frame, extracting the area image of the detection frame, and selecting a corresponding image recognition algorithm to perform image recognition, so that a commodity name matched with each area image can be obtained; specifically, when the area image with the target type of the price tag is identified, a recognition algorithm in computer vision is used for recognizing characters on the image, then the character recognition result is mapped with actual commodity information in a background system, a commodity name corresponding to the price tag is determined, and finally the position information and the commodity name of each price tag are bound to be used as the price tag display of the shelf. In addition, the commodity identification with the target type being commodity uses an image identification or image retrieval method to obtain the commodity name corresponding to each commodity, and finally the position information and the commodity name of each commodity are bound to be used as the commodity display of the goods shelf; the virtual shelf display state shown in fig. 5 can be obtained by acquiring the price tag display and the merchandise display.
And step S103, performing fusion matching on the commodity display in the virtual shelf display state and the price tag display to obtain the commodity information bound in each price tag.
In this embodiment, fig. 5 only shows the display states of the commodities and the price tags on the current shelf, and the current number of the commodities is not known, so that the commodities on the virtual shelf and the corresponding price tags need to be bound to obtain information of the commodities bound in each price tag; the commodity information comprises commodity quantity and commodity total area.
It should be noted that the fused matching in this embodiment refers to binding each commodity on the shelf with its nearby corresponding price tag, for example, binding and recording the commodity a on the price tag a, and if the commodity and its nearby price tag do not belong to the same class, not binding. After final matching, each price tag records that n corresponding commodities exist in the goods shelf, and the number c of the n commodities or the total area s of the n commodity detection frames can be recorded.
And step S104, comparing the commodity information bound in each price tag with the out-of-stock threshold value, and obtaining the detection result of the out-of-stock state of the commodity according to the comparison result.
In this embodiment, when the commodity information is the quantity of commodities, comparing the commodity information bound in each price tag with the stock shortage threshold, and obtaining a detection result of the stock shortage state of the commodity according to the comparison result, the method includes: judging whether the quantity of the commodities is smaller than a first stock shortage threshold value or not; and when the number of the commodities is smaller than the first goods shortage threshold value, the detection result of the current goods shortage state is that the commodities are out of stock.
In this embodiment, when the commodity information is a total area of the commodity, comparing the commodity information bound in each price tag with an out-of-stock threshold, and obtaining a detection result of an out-of-stock state of the commodity according to the comparison result, including: judging whether the total area of the commodities is smaller than a second out-of-stock threshold value or not; and when the total area of the commodities is smaller than the second goods shortage threshold value, the detection result of the current goods shortage state is the goods shortage.
It should be noted that, a stock shortage threshold is set for each type of product, the product information recorded in the price tag is compared with the corresponding stock shortage threshold, and whether stock shortage occurs is determined according to the comparison result. The threshold value can be set to be the minimum quantity a or the minimum area b, and when c is smaller than a or s and b, the commodity is judged to be out of stock.
As shown in fig. 5, the price tag and the commodity in the shelf image are detected and identified; matching and corresponding the commodities near the price tag, for example, matching and corresponding the A commodities to the price tag A; and then judging whether the price tags corresponding to the commodities prompt the out-of-stock state or not according to a preset out-of-stock threshold, for example, setting the out-of-stock threshold as the quantity of the commodities, and judging that the out-of-stock state is prompted if the quantity is less than 2, wherein the price tag of the commodity E is only matched with 1 commodity in the figure, and the price tag of the commodity J is matched with 0 commodity in the figure, so that the goods shortage states are prompted by the E and the J. In the figure, although the areas near the article B and the article F are vacant, the out-of-stock state is not presented.
The image acquisition in the embodiment can be obtained by photographing through the handheld camera device, the camera arranged in front of the goods shelf and the class inspection robot; the recognition and calculation of the image can be carried out on a cloud server, the inside of the robot or an edge computing device; the display of the out-of-stock state of the goods can be embodied on a background system or an actual price tag.
Compared with the prior art, the embodiment has the following beneficial effects:
in the embodiment, the virtual shelf display state comprising the commodity display and the price tag display is obtained by carrying out detection frame calibration and image recognition on the visual image of the shelf, the price tag information and the commodity information displayed on the virtual shelf are subjected to fusion processing, the matching of the commodity is bound on the specified price tag, and the commodity information bound on the price tag is compared with the set out-of-stock threshold value, so that whether the commodity is in the out-of-stock state is detected according to the comparison result; therefore, the invention solves the problems of low detection efficiency and detection error in the method for manually detecting the goods shortage state in the prior art, and the method for detecting the goods shortage is automated and intelligentized, thereby not only improving the detection efficiency, but also reducing the labor cost; in addition, the commodity display and the price tag display are fused and matched, so that the out-of-stock position on the goods shelf can be accurately found, the name of the out-of-stock commodity can be still detected in the state that the commodity is completely sold out, the detection precision of the out-of-stock state is improved, and the actual requirement of the excess of the merchant is met.
In another embodiment of the present invention, the method further comprises: when the price tag which is the same as the name of the target commodity is not detected, generating a virtual price tag at a position corresponding to the target commodity; and binding the target commodity name and the virtual price tag. In the present invention, when all or part of the price tags are not present in the visual image of the shelf, the price tag position may be automatically generated using the display drawing of the shelf.
In another embodiment of the present invention, the method further comprises: and when the detection result of the goods shortage state is the shortage state, controlling the corresponding electronic price tag on the goods shelf to perform flashing prompt or using different colors to prompt the corresponding price tag on the virtual goods shelf display. Note that, the display of the out-of-stock state of the product is performed according to the comparison result in step S104, and for the out-of-stock product, the corresponding price tag on the shelf is displayed in a highlighted manner using a different color, or the price tag is presented by flashing.
In a second aspect, the present invention provides a device for detecting the out-of-stock state of a commodity, the device comprising: the detection frame calibration module is used for carrying out detection frame calibration on the price tags and the commodity targets in the visual image of the goods shelf to obtain each target detection frame; the image recognition module is used for carrying out image recognition on the area image in each target detection frame and obtaining a virtual shelf display state according to an image recognition result; the fusion matching module is used for performing fusion matching on the commodity display and the price tag display in the virtual shelf display state to obtain the commodity information bound in each price tag; and the threshold comparison module is used for comparing the commodity information bound in each price tag with the out-of-stock threshold and obtaining the detection result of the out-of-stock state of the commodity according to the comparison result.
In a third aspect, the present invention provides a computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the following steps when executing the computer program: carrying out detection frame calibration on price tags and commodity targets in the visual image of the goods shelf to obtain each target detection frame; carrying out image recognition on the area image in each target detection frame, and obtaining a virtual shelf display state according to an image recognition result; performing fusion matching on the commodity display and the price tag display in the virtual shelf display state to obtain commodity information bound in each price tag; and comparing the commodity information bound in each price tag with the out-of-stock threshold value, and obtaining a detection result of the out-of-stock state of the commodity according to the comparison result.
In a fourth aspect, the invention provides a readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of: carrying out detection frame calibration on the price tags and commodity targets in the visual image of the shelf to obtain each target detection frame; carrying out image recognition on the area image in each target detection frame, and obtaining a virtual shelf display state according to an image recognition result; performing fusion matching on the commodity display in the virtual shelf display state and the price tag display to obtain commodity information bound in each price tag; and comparing the commodity information bound in each price tag with the out-of-stock threshold value, and obtaining a detection result of the out-of-stock state of the commodity according to the comparison result.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a non-volatile computer-readable storage medium, and can include the processes of the embodiments of the methods described above when the program is executed. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically Programmable ROM (EPROM), electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous Link DRAM (SLDRAM), rambus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
It is noted that, in this document, relational terms such as "first" and "second," and the like, may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrases "comprising one of 8230; \8230;" 8230; "does not exclude the presence of additional like elements in a process, method, article, or apparatus that comprises the element.

Claims (10)

1. A method for detecting a merchandise out-of-stock state, the method comprising:
carrying out detection frame calibration on price tags and commodity targets in the visual image of the goods shelf to obtain each target detection frame;
carrying out image recognition on the area image in each target detection frame, and obtaining a virtual shelf display state according to an image recognition result;
performing fusion matching on the commodity display and the price tag display in the virtual shelf display state to obtain commodity information bound in each price tag;
and comparing the commodity information bound in each price tag with the out-of-stock threshold value, and obtaining a detection result of the out-of-stock state of the commodity according to the comparison result.
2. The method for detecting a shortage state of a commodity according to claim 1, wherein the image recognition of the area image in each target detection frame is performed to obtain a virtual shelf display state based on the image recognition result, and the method comprises:
acquiring parameter information of each target detection frame in an image;
performing image recognition on the area image in each target detection frame to obtain a target type and a commodity name in each target detection frame, wherein the target type comprises commodities and price tags;
and binding the parameter information of each target detection frame with the corresponding target type and commodity name to obtain a virtual shelf display state comprising commodity display and price tag display.
3. The method for detecting the out-of-stock state of the commodity according to claim 2, wherein the step of performing image recognition on the area image in each target detection frame to obtain the target type and the image name in each detection frame comprises the following steps:
obtaining the target type in each detection frame according to the parameter information of each target detection frame;
and selecting a corresponding image algorithm to perform image recognition on the area image according to the target type to obtain a corresponding commodity name in each detection frame.
4. The method for detecting the out-of-stock condition of a commercial product according to claim 2, wherein the method further comprises:
when the price tag which is the same as the name of the target commodity is not detected, generating a virtual price tag at a position corresponding to the target commodity;
and binding the target commodity name and the virtual price tag.
5. The method for detecting the out-of-stock state of the commodity according to claim 4, wherein when the commodity information includes the quantity of the commodity, the commodity information bound in each price tag is compared with an out-of-stock threshold, and a detection result of the out-of-stock state of the commodity is obtained according to the comparison result, comprising:
judging whether the quantity of the commodities is smaller than a first out-of-stock threshold value or not;
and when the quantity of the commodities is smaller than the first goods shortage threshold value, the detection result of the current commodity goods shortage state is commodity goods shortage.
6. The method for detecting the out-of-stock state of the commodity according to claim 4, wherein when the commodity information includes a total area of the commodity, comparing the commodity information bound in each price tag with an out-of-stock threshold, and obtaining a detection result of the out-of-stock state of the commodity according to the comparison result, comprises:
judging whether the total area of the commodities is smaller than a second out-of-stock threshold value or not;
and when the total area of the commodities is smaller than the second goods shortage threshold value, the detection result of the current goods shortage state is the goods shortage.
7. The method for detecting the out-of-stock status of an article of merchandise according to any one of claims 1-6, wherein the method further comprises: and when the detection result of the goods shortage state is the shortage state, controlling the corresponding electronic price tag on the goods shelf to perform flashing prompt or using different colors to prompt the corresponding price tag on the virtual goods shelf display.
8. A device for detecting the out-of-stock condition of a product, said device comprising:
the detection frame calibration module is used for carrying out detection frame calibration on the price tags and the commodity targets in the visual image of the goods shelf to obtain each target detection frame;
the image recognition module is used for carrying out image recognition on the area image in each target detection frame and obtaining a virtual shelf display state according to an image recognition result;
the fusion matching module is used for performing fusion matching on the commodity display and the price tag display in the virtual shelf display state to obtain the commodity information bound in each price tag;
and the threshold comparison module is used for comparing the commodity information bound in each price tag with the out-of-stock threshold and obtaining the detection result of the out-of-stock state of the commodity according to the comparison result.
9. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the steps of the method of any of claims 1 to 7 are implemented by the processor when executing the computer program.
10. A readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 7.
CN202211269308.7A 2022-10-17 2022-10-17 Method and device for detecting commodity out-of-stock state, computer equipment and storage medium Pending CN115587769A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211269308.7A CN115587769A (en) 2022-10-17 2022-10-17 Method and device for detecting commodity out-of-stock state, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211269308.7A CN115587769A (en) 2022-10-17 2022-10-17 Method and device for detecting commodity out-of-stock state, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN115587769A true CN115587769A (en) 2023-01-10

Family

ID=84780613

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211269308.7A Pending CN115587769A (en) 2022-10-17 2022-10-17 Method and device for detecting commodity out-of-stock state, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115587769A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117152541A (en) * 2023-10-27 2023-12-01 浙江由由科技有限公司 Fresh commodity identification method combining space transformation with illuminance migration and result verification

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117152541A (en) * 2023-10-27 2023-12-01 浙江由由科技有限公司 Fresh commodity identification method combining space transformation with illuminance migration and result verification
CN117152541B (en) * 2023-10-27 2024-01-16 浙江由由科技有限公司 Fresh commodity identification method combining space transformation with illuminance migration and result verification

Similar Documents

Publication Publication Date Title
EP3910608B1 (en) Article identification method and system, and electronic device
CN107292248B (en) Commodity management method and system based on image recognition technology
CN109509030B (en) Sales prediction method, training method and device of model thereof, and electronic system
US20180253674A1 (en) System and method for identifying retail products and determining retail product arrangements
US9135491B2 (en) Digital point-of-sale analyzer
RU2452021C1 (en) Digital point of sale analyser
CN111310706B (en) Commodity price tag identification method and device, electronic equipment and storage medium
CN110889419B (en) Shelf analysis method, device and system and electronic equipment
CN111161346B (en) Method and device for layering commodities in goods shelves and electronic equipment
US11861668B2 (en) Method, device, electronic apparatus and storage medium for generating order
CN115587769A (en) Method and device for detecting commodity out-of-stock state, computer equipment and storage medium
CN114783584A (en) Method and device for recording drug delivery receipt
CN113935774A (en) Image processing method, image processing device, electronic equipment and computer storage medium
CN110543839A (en) commodity goods laying rate acquisition method based on computer vision
CN112966681B (en) Method, equipment and storage medium for intelligent recognition, filing and retrieval of commodity photographing
KR102466396B1 (en) Method and apparatus for managing commodity information
CN111242094A (en) Commodity identification method, intelligent container and intelligent container system
CN113627415A (en) Method and device for determining target object placement information
US20230419702A1 (en) System, method and apparatus for price label modeling tool
Merrad et al. A Real-time Mobile Notification System for Inventory Stock out Detection using SIFT and RANSAC.
Achakir et al. An automated AI-based solution for out-of-stock detection in retail environments
CN109767236B (en) Commodity competition situation analysis method, device and medium based on position big data
CN111222377A (en) Commodity information determining method and device and electronic equipment
CN110956422A (en) Commodity warehousing management method, device and system and readable storage medium
CN112734337B (en) Article monitoring management method and device based on information acquisition

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
CB02 Change of applicant information

Country or region after: China

Address after: 314000 podium Building 1 / F, 4 / F, and 7 / F, building 5 / F, Jiaxing photovoltaic technology innovation park, 1288 Kanghe Road, Xiuzhou District, Jiaxing City, Zhejiang Province

Applicant after: Hanshuo Technology Co.,Ltd.

Address before: 4 / F, building 1, Jiaxing photovoltaic technology innovation park, 1288 Kanghe Road, Xiuzhou District, Jiaxing City, Zhejiang Province, 314000

Applicant before: Hanshuo Technology Co.,Ltd.

Country or region before: China