WO2020023799A1 - Product correlation analysis using deep learning - Google Patents

Product correlation analysis using deep learning Download PDF

Info

Publication number
WO2020023799A1
WO2020023799A1 PCT/US2019/043523 US2019043523W WO2020023799A1 WO 2020023799 A1 WO2020023799 A1 WO 2020023799A1 US 2019043523 W US2019043523 W US 2019043523W WO 2020023799 A1 WO2020023799 A1 WO 2020023799A1
Authority
WO
WIPO (PCT)
Prior art keywords
inventory
item
events
real space
subject
Prior art date
Application number
PCT/US2019/043523
Other languages
French (fr)
Inventor
Jordan E. FISHER
Nicholas J. LOCASCIO
Michael S. SUSWAL
Original Assignee
Standard Cognition, Corp.
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
Priority claimed from US16/519,660 external-priority patent/US11250376B2/en
Application filed by Standard Cognition, Corp. filed Critical Standard Cognition, Corp.
Publication of WO2020023799A1 publication Critical patent/WO2020023799A1/en

Links

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
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/04Architecture, e.g. interconnection topology
    • G06N3/045Combinations of networks
    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/20Analysis of motion
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/70Arrangements for image or video recognition or understanding using pattern recognition or machine learning
    • G06V10/82Arrangements for image or video recognition or understanding using pattern recognition or machine learning using neural networks
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V20/00Scenes; Scene-specific elements
    • G06V20/50Context or environment of the image
    • G06V20/52Surveillance or monitoring of activities, e.g. for recognising suspicious objects
    • 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
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/20Special algorithmic details
    • G06T2207/20084Artificial neural networks [ANN]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/20Image preprocessing
    • G06V10/22Image preprocessing by selection of a specific region containing or referencing a pattern; Locating or processing of specific regions to guide the detection or recognition
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/40Extraction of image or video features
    • G06V10/62Extraction of image or video features relating to a temporal dimension, e.g. time-based feature extraction; Pattern tracking
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V20/00Scenes; Scene-specific elements
    • G06V20/40Scenes; Scene-specific elements in video content
    • G06V20/44Event detection
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/103Static body considered as a whole, e.g. static pedestrian or occupant recognition

Definitions

  • the present invention relates to systems that track inventory items in an area of real space including inventory display structures.
  • Manufacturers, distributors, shopping store management are interested to know different activities performed by shoppers related to inventory items in a shopping store. Some examples of activities are shoppers taking the inventory item from shelf, putting the inventory item back on a shelf, or purchasing the inventory item, etc.
  • Some examples of activities are shoppers taking the inventory item from shelf, putting the inventory item back on a shelf, or purchasing the inventory item, etc.
  • a shopping store in which the inventory items are placed at multiple inventory locations such as on a shelf in an aisle and on promotional fixtures such as end-caps at the end of an aisle or in an open area.
  • Companies supplying the inventory items and the shopping store management are interested to know which inventory locations contribute more towards the sale of a particular inventory item.
  • Consolidating inventory item sale data from point of sale systems can indicate the total number of a particular inventory item sold in a specific period of time such as a day, week or month. However, this information does not identify the inventory locations from where the customers took these inventory items, if inventory items are stocked at multiple inventory locations in the shopping store.
  • a system and method for operating a system are provided for tracking inventory events, such as puts and takes, in an area of real space.
  • the system is coupled to a plurality of sensors, such as cameras, and to memory which can store a store inventory for the area of real space.
  • the system includes a processor or processors, and a database.
  • the processor or processors can include logic to use sequences of frames produced by sensors in the plurality of sensors to identify gestures by detected persons in the area of real space over a period of time, and produce inventory events including data representing identified gestures.
  • the system can include logic to store the inventory events as entries in the database.
  • the inventory events can include a subject identifier identifying a detected subject, a gesture type of a gesture by the detected subject (e.g.
  • Logic can be included in the system to process the data in the database in a variety of manners. Including logic that can query the database to determine a data set including the inventory events for a selected inventory item in multiple locations in the area of real space. The system can displays a graphical construct indicating activity related to the particular inventory item in the multiple locations on user interface.
  • the activity related to the particular inventory item includes counts of the inventory events including the particular inventory item in the multiple locations in the period of time. In another embodiment, the activity related to the particular inventory item includes percentages of total inventory events including the particular inventory item in the multiple locations in the period of time. In yet another embodiment, the activity related to the particular item includes levels relative to a threshold count of inventory events including the particular item in the multiple locations in the period of time.
  • the field of view of each camera overlaps with the fields of view of at least one other camera in the plurality of cameras.
  • the system can include first image recognition engines that receive the sequences of image frames.
  • the first image recognition engines process image frames to generate first data sets that identify subjects and locations of the identified subjects in the real space.
  • the first image recognition engines comprise convolutional neural networks.
  • the system processes the first data sets to specify bounding boxes which include images of hands of the identified subjects in image frames in the sequences of image frames.
  • the system includes second image recognition engines that receive the sequences of image frames, which process the specified bounding boxes in the image frames to detect the inventory events including identifiers of likely inventory items.
  • the system determines the data sets by including the inventory events for the particular inventory item in the area of real space that include a parameter indicating the inventory items as sold to identified subjects.
  • the system is coupled to a memory that stores a data set defining a plurality of cells having coordinates in the area of real space.
  • the system includes logic that matches the inventory events for the particular inventory item in multiple locations to cells in the data set defining the plurality of cells.
  • the system can include inventory display structures in the area of real space.
  • the inventory display structures comprise of inventory locations matched with the cells in the data set defining the plurality of cells having coordinates in the area of real space.
  • the system matches cells to inventory locations and generates heat maps for inventory locations using the activity related to the particular inventory item in multiple locations.
  • the system can generate and store in memory a data structure referred to herein as a“realogram,” identifying the locations of inventory items in the area of real space based on accumulation of data about the items identified in, and the locations of, the inventory events detected as discussed herein.
  • the data in the realogram can be compared to data in a planogram, to determine how inventory items are disposed in the area compared to the plan, such as to locate misplaced items.
  • the realogram can be processed to locate inventory items in three dimensional cells, and correlate those cells with inventory locations in the store, such as can be determined from a planogram or other map of the inventory locations.
  • the realogram can be processed to track activity related to specific inventory items in different locations in the area. Other uses of realograms are possible as well.
  • the system selects for a subject a temporally ordered sequence of inventory events leading to a particular inventory event including a particular inventory item.
  • the system determines a data set including inventory items in the temporally ordered sequence of inventory events within a period of time prior to the particular inventory event.
  • the system includes a data structure configured for use to analyze the data to correlate the particular inventory item of a plurality of data sets with other inventory items in the plurality of data sets.
  • the system can accumulate the plurality of data sets and store the accumulated data sets in the data structure configured for use to analyze the data to correlate the particular inventory item of the plurality of data sets with other inventory items in the plurality of data sets.
  • the system selects the inventory item associated with an inventory event in the temporally ordered sequence of inventory events closest in space, or in time, or based on a combination of time and space, to the particular inventory event to determine the data sets including inventory items in the temporally ordered sequence of inventory events.
  • the system selects, for a subject, a temporally ordered sequence of inventory events leading to a particular inventory event including a particular inventory item that includes a parameter indicating the inventory item as sold to the subject.
  • the system fdters out the inventory events including inventory items including a parameter indicating the inventory items as sold to subjects from the temporally ordered sequence of inventory events leading to a particular inventory event including a particular inventory item.
  • the system can select a temporally ordered sequence of inventory events leading to a particular inventory event including a particular inventory item for a subject without the use of personal identifying biometric information associated with the subject.
  • Functions are described herein, including but not limited to identifying and linking a particular inventory item in an inventory event to multiple locations in the area of real space and to other items in temporally ordered sequences of inventory events and of creating heat maps and data structure configured for use to analyze correlations of the particular inventory item to other inventory items present complex problems of computer engineering, relating for example to the type of image data to be processed, what processing of the image data to perform, and how to determine actions from the image data with high reliability.
  • FIG. 1 illustrates an architectural level schematic of a system in which an inventory event location processing engine and an inventory event sequencing engine track inventory items in an area of real space.
  • Fig. 2A is a side view of an aisle in a shopping store illustrating a subject, inventory display structures and a camera arrangement in a shopping store.
  • Fig. 2B is a perspective view of an inventory display structure in the aisle in Fig. 2A, illustrating a subject taking an item from a shelf in the inventory display structure.
  • Fig. 3 shows examples of 2D and 3D maps of a shelf in an inventory display structure.
  • Fig. 4 shows an example data structure for storing joints information of subjects.
  • Fig. 5 is an example data structure for storing a subject including the information of associated joints.
  • Fig. 6 is an example architecture of an image processing pipeline comprising first image processors and second image processors.
  • Fig. 7 shows an example of a log data structure which can be used to store shopping cart of a subject or inventory items stocked on a shelf or in a shopping store.
  • Fig. 8 A is a high level architecture of a system comprising an event identification engine and an analytics engine to perform inventory item correlations analysis.
  • Fig. 8B is an example architecture which can be used to determine heat maps of inventory locations for an inventory item using inventory events related to the inventory item in the area of real space.
  • Fig. 8C is an example user interface displaying a 3D item attribution map for an inventory item in the area of real space.
  • Fig. 9 is a flowchart showing process steps for performing inventory item to chronologically related inventory items correlation analysis.
  • Fig. 10 is an example architecture in which the technique presented in the flowchart of Fig. 9 can be used to perform item correlation analysis.
  • Fig. 11 is a camera and computer hardware arrangement configured for hosting the inventory event location processing engine and the inventory event sequencing engine of Fig. 1.
  • FIG. 1-11 The system and processes are described with reference to Fig. 1, an architectural level schematic of a system in accordance with an implementation. Because Fig. 1 is an architectural diagram, certain details are omitted to improve the clarity of the description.
  • Fig. 1 The discussion of Fig. 1 is organized as follows. First, the elements of the system are described, followed by their interconnections. Then, the use of the elements in the system is described in greater detail.
  • cameras are used as sensors producing image frames which output color images in for example an RGB color space.
  • other types of sensors or combinations of sensors of various types can be used to produce image frames usable with or in place of the cameras, including image sensors working in other color spaces, infrared image sensors, UV image sensors, ultrasound image sensors, LIDAR based sensors, radar based sensors and so on.
  • Fig. 1 provides a block diagram level illustration of a system 100.
  • the system 100 includes cameras 114, network nodes hosting image recognition engines 112a, 112b, and 112n, an inventory event location processing engine 180 deployed in a network node 104 (or nodes) on the network, an inventory event sequencing engine 190 deployed in a network node 106 (or nodes) on the network, a network node 102 hosting a subject tracking engine 110, a maps database 140, an inventory events database 150, an inventory item activity database 160, an inventory item correlation database 170, and a communication network or networks 181.
  • the network nodes can host only one image recognition engine, or several image recognition engines.
  • the system can also include a subject database and other supporting data.
  • a network node is an addressable hardware device or virtual device that is attached to a network, and is capable of sending, receiving, or forwarding information over a communications channel to or from other network nodes.
  • Examples of electronic devices which can be deployed as hardware network nodes include all varieties of computers, workstations, laptop computers, handheld computers, and smartphones.
  • Network nodes can be implemented in a cloud-based server system. More than one virtual device configured as a network node can be implemented using a single physical device.
  • network nodes hosting image recognition engines For the sake of clarity, only three network nodes hosting image recognition engines are shown in the system 100. However, any number of network nodes hosting image recognition engines can be connected to the subject tracking engine 110 through the network(s) 181. Similarly, the image recognition engine, the subject tracking engine, the inventory event location processing engine, the inventory event sequencing engine and other processing engines described herein can execute using more than one network node in a distributed architecture.
  • Network(s) 181 couples the network nodes 101a, 101b, and 10 In, respectively, hosting image recognition engines 112a, 112b, and 112n, the network node 104 hosting the inventory event location processing engine 180, the network node 106 hosting the inventory event sequencing engine 190, the network node 102 hosting the subject tracking engine 110, the maps database 140, the inventory events database 150, the inventory item activity database 160, and inventory item correlation database 170.
  • Cameras 114 are connected to the subject tracking engine 110 through network nodes hosting image recognition engines 112a, 112b, and 112n.
  • the cameras 114 are installed in a shopping store such that sets of cameras 114 (two or more) with overlapping fields of view are positioned over each aisle to capture image frames of real space in the store.
  • two cameras are arranged over aisle 116a
  • two cameras are arranged over aisle 116b
  • three cameras are arranged over aisle 116n.
  • the cameras 114 are installed over aisles with overlapping fields of view.
  • the cameras are configured with the goal that customers moving in the aisles of the shopping store are present in the field of view of two or more cameras at any moment in time.
  • Cameras 114 can be synchronized in time with each other, so that image frames are captured at the same time, or close in time, and at the same image capture rate.
  • the cameras 114 can send respective continuous streams of image frames at a predetermined rate to network nodes hosting image recognition engines 112a- 112n.
  • Image frames captured in all the cameras covering an area of real space at the same time, or close in time, are synchronized in the sense that the synchronized image frames can be identified in the processing engines as representing different views of subjects having fixed positions in the real space.
  • the cameras send image frames at the rates of 30 frames per second (fps) to respective network nodes hosting image recognition engines 112a- 112n.
  • Each frame has a timestamp, identity of the camera (abbreviated as“camera id”), and a frame identity (abbreviated as“frame id”) along with the image data.
  • Other embodiments of the technology disclosed can use different types of sensors such as image sensors, LIDAR based sensors, etc., in place of cameras to generate this data.
  • sensors can be used in addition to the cameras 114. Multiple sensors can be synchronized in time with each other, so that frames are captured by the sensors at the same time, or close in time, and at the same frame capture rate.
  • Cameras installed over an aisle are connected to respective image recognition engines.
  • the two cameras installed over the aisle 116a are connected to the network node 101a hosting an image recognition engine 112a.
  • the two cameras installed over aisle 116b are connected to the network node 101b hosting an image recognition engine 112b.
  • Each image recognition engine 112a-l 12n hosted in a network node or nodes lOla-lOln separately processes the image frames received from one camera each in the illustrated example.
  • each image recognition engine 112a, 112b, and 112n is implemented as a deep learning algorithm such as a convolutional neural network (abbreviated CNN).
  • the CNN is trained using training database.
  • image recognition of subjects in the real space is based on identifying and grouping joints recognizable in the image frames, where the groups of joints can be attributed to an individual subject.
  • the training database has a large collection of images for each of the different types of joints for subjects.
  • the subjects are the customers moving in the aisles between the shelves.
  • the system 100 is referred to as a“training system.” After training the CNN using the training database, the CNN is switched to production mode to process images of customers in the shopping store in real time.
  • the system 100 is referred to as a mntime system
  • each image recognition engine produces arrays of joints data structures for image frames in its respective stream of image frames.
  • an array of joints data structures is produced for each processed image, so that each image recognition engine 112a-l 12n produces an output stream of arrays of joints data structures.
  • These arrays of joints data structures from cameras having overlapping fields of view are further processed to form groups of joints, and to identify such groups of joints as subjects.
  • the subjects can be identified and tracked by the system using an identifier“subject id” during their presence in the area of real space.
  • the subject tracking engine 110 hosted on the network node 102 receives, in this example, continuous streams of arrays of joints data structures for the subjects from image recognition engines 112a-l 12n.
  • the subject tracking engine 110 processes the arrays of joints data structures and translates the coordinates of the elements in the arrays of joints data structures corresponding to image frames in different sequences into candidate joints having coordinates in the real space. For each set of synchronized image frames, the combination of candidate joints identified throughout the real space can be considered, for the purposes of analogy, to be like a galaxy of candidate joints. For each succeeding point in time, movement of the candidate joints is recorded so that the galaxy changes over time. The output of the subject tracking engine 110 identifies subjects in the area of real space at a moment in time.
  • the subject tracking engine 110 uses logic to identify groups or sets of candidate joints having coordinates in real space as subjects in the real space. For the purposes of analogy, each set of candidate points is like a constellation of candidate joints at each point in time. The constellations of candidate joints can move over time. A time sequence analysis of the output of the subject tracking engine 110 over a period of time identifies movements of subjects in the area of real space.
  • the logic to identify sets of candidate joints comprises heuristic functions based on physical relationships amongst joints of subjects in real space. These heuristic functions are used to identify sets of candidate joints as subjects.
  • the sets of candidate joints comprise individual candidate joints that have relationships according to the heuristic parameters with other individual candidate joints and subsets of candidate joints in a given set that has been identified, or can be identified, as an individual subject.
  • the customers move in the aisles and in open spaces.
  • the customers take items from inventory locations on shelves in inventory display structures.
  • shelves are arranged at different levels (or heights) from the floor and inventory items are stocked on the shelves.
  • the shelves can be fixed to a wall or placed as freestanding shelves forming aisles in the shopping store.
  • Other examples of inventory display structures include, pegboard shelves, magazine shelves, lazy susan shelves, warehouse shelves, and refrigerated shelving units.
  • the inventory items can also be stocked in other types of inventory display structures such as stacking wire baskets, dump bins, etc.
  • the customers can also put items back on the same shelves from where they were taken or on another shelf.
  • the technology disclosed uses the sequences of image frames produced by cameras in the plurality of cameras to identify gestures by detected subjects in the area of real space over a period of time and produce inventory events including data representing identified gestures.
  • the system includes logic to store the inventory events as entries in the inventory events database 150.
  • the inventory event includes a subject identifier identifying a detected subject, a gesture type (e.g., a put or a take) of the identified gesture by the detected subject, an item identifier identifying an inventory item linked to the gesture by the detected subject, a location of the gesture represented by positions in three dimensions of the area of real space and a timestamp for the gesture.
  • the inventory event data is stored as entries in the inventory events database 150.
  • the technology disclosed generates for a particular inventory item correlations to data sets related to the particular inventory item.
  • the system includes inventory event location processing engine 180 (hosted on the network node 104) that determines a data set which includes inventory events for the particular inventory item in multiple locations in the area of real space.
  • This activity data can provide different types of information related to the inventory item at multiple locations in the area of real space.
  • the activity data can identify the counts of inventory events including the particular inventory item in multiple locations in a selected period of time such as an hour, a day or a week.
  • Other examples of activity data includes percentages of inventory events including the particular inventory item at multiple locations or levels relative to a threshold count of inventory events including the particular item in multiple locations. Such information is useful for the store management to determine locations in the store from where the particular inventory item is being purchased in higher numbers.
  • the output from the inventory event location processing engine 180 is stored in inventory item activity database 160.
  • the system includes inventory event sequencing engine 190 that uses the inventory events data and selects for a subject (such as a customer or a shopper in the shopping store) a temporally ordered sequence of inventory events leading to a particular inventory event including a particular inventory item.
  • the inventory event sequencing engine 190 determines a data set including inventory items in the temporally ordered sequence of inventory events within a period of time prior to the particular inventory event. Multiple such data sets are determined for multiple subjects. This data can be generated over a period of time and across different shopping stores.
  • the inventory event sequencing engine 190 stores the data sets in the inventory item correlation database 170. This data is analyzed to correlate the particular inventory item of a plurality of data sets with other inventory items in the plurality of data sets. The correlation can identify relationship of the particular inventory item with other inventory items, such as the items purchased together or items considered as alternative to the particular inventory item and not purchased by the shopper.
  • the image analysis is anonymous, i.e., a unique identifier assigned to a subject created through joints analysis does not identify personal identification details (such as names, email addresses, mailing addresses, credit card numbers, bank account numbers, driver’s license number, etc.) of any specific subject in the real space
  • personal identification details such as names, email addresses, mailing addresses, credit card numbers, bank account numbers, driver’s license number, etc.
  • the data stored in the inventory events database 150, inventory item activity database 160, and the inventory item correlation database 170 does not include any personal identification information.
  • the operations of the inventory event location processing engine 180 and the inventory event sequencing engine 190 do not use any personal identification including biometric information associated with the subjects.
  • the actual communication path to the network nodes 104 hosting the inventory event location processing engine 180 and the network node 106 hosting the inventory event sequencing engine 190 through the network 181 can be point-to-point over public and/or private networks.
  • the communications can occur over a variety of networks 181, e.g., private networks, VPN, MPLS circuit, or Internet, and can use appropriate application programming interfaces (APIs) and data interchange formats, e.g., Representational State Transfer (REST), JavaScriptTM Object Notation (JSON), Extensible Markup Language (XML), Simple Object Access Protocol (SOAP), JavaTM Message Service (JMS), and/or Java Platform Module System. All of the communications can be encrypted.
  • APIs Application programming interfaces
  • JSON JavaScriptTM Object Notation
  • XML Extensible Markup Language
  • SOAP Simple Object Access Protocol
  • JMS JavaTM Message Service
  • Java Platform Module System Java Platform Module System
  • the communication is generally over a network such as a LAN (local area network), WAN (wide area network), telephone network (Public Switched Telephone Network (PSTN), Session Initiation Protocol (SIP), wireless network, point-to-point network, star network, token ring network, hub network, Internet, inclusive of the mobile Internet, via protocols such as EDGE, 3G, 4G LTE, Wi-Fi, and WiMAX. Additionally, a variety of authorization and authentication techniques, such as usemame/password, Open Authorization (OAuth), Kerberos, SecurelD, digital certificates and more, can be used to secure the communications.
  • a variety of authorization and authentication techniques such as usemame/password, Open Authorization (OAuth), Kerberos, SecurelD, digital certificates and more, can be used to secure the communications.
  • the technology disclosed herein can be implemented in the context of any computer-implemented system including a database system, a multi-tenant environment, or a relational database implementation like an OracleTM compatible database implementation, an IBM DB2 Enterprise ServerTM compatible relational database implementation, a MySQLTM or PostgreSQLTM compatible relational database implementation or a Microsoft SQL ServerTM compatible relational database implementation or a NoSQLTM non-relational database implementation such as a VampireTM compatible non-relational database implementation, an Apache CassandraTM compatible nonrelational database implementation, a BigTableTM compatible non-relational database implementation or an HBaseTM or DynamoDBTM compatible non-relational database implementation.
  • a relational database implementation like an OracleTM compatible database implementation, an IBM DB2 Enterprise ServerTM compatible relational database implementation, a MySQLTM or PostgreSQLTM compatible relational database implementation or a Microsoft SQL ServerTM compatible relational database implementation or a NoSQLTM non-relational database implementation such as a VampireTM compatible
  • the technology disclosed can be implemented using different programming models like MapReduceTM, bulk synchronous programming, MPI primitives, etc. or different scalable batch and stream management systems like Apache StormTM, Apache SparkTM, Apache KafkaTM, Apache FlinkTM, TruvisoTM, Amazon Elasticsearch ServiceTM,
  • the cameras 114 are arranged to track multi-joint subjects (or entities) in a three dimensional
  • the real space can include the area of the shopping store where items for sale are stacked in shelves.
  • a point in the real space can be represented by an (x, y, z) coordinate system.
  • Each point in the area of real space for which the system is deployed is covered by the fields of view of two or more cameras 114.
  • the shelves and other inventory display structures can be arranged in a variety of manners, such as along the walls of the shopping store, or in rows forming aisles or a combination of the two arrangements.
  • Fig. 2A shows an arrangement of shelf unit A 202 and shelf unit B 204, forming an aisle 116a, viewed from one end of the aisle 116a.
  • Two cameras, camera A 206 and camera B 208 are positioned over the aisle 116a at a predetermined distance from a roof 230 and a floor 220 of the shopping store above the inventory display structures, such as shelf units A 202 and shelf unit B 204.
  • the cameras 114 comprise cameras disposed over and having fields of view encompassing respective parts of the inventory display structures and floor area in the real space.
  • the real space can include all of the floor 220 in the shopping store.
  • Cameras 114 are placed and oriented such that areas of the floor 220 and shelves can be seen by at least two cameras.
  • the cameras 114 also cover floor space in front of the shelves 202 and 204. Camera angles are selected to have both steep perspective, straight down, and angled perspectives that give more full body images of the customers.
  • the cameras 114 are configured at an eight (8) foot height or higher throughout the shopping store.
  • a subject 240 is standing by an inventory display structure shelf unit B 204, with one hand positioned close to a shelf (not visible) in the shelf unit B 204.
  • Fig. 2B is a perspective view of the shelf unit B 204 with four shelves, shelf 1, shelf 2, shelf 3, and shelf 4 positioned at different levels from the floor. The inventory items are stocked on the shelves.
  • a location in the real space is represented as a (x, y, z) point of the real space coordinate system
  • “x” and“y” represent positions on a two-dimensional (2D) plane which can be the floor 220 of the shopping store.
  • the value“z” is the height of the point above the 2D plane at floor 220 in one configuration.
  • the system combines 2D image frames from two or cameras to generate the three dimensional positions of joints and inventory events (indicating puts and takes of items from shelves) in the area of real space. This section presents a description of the process to generate 3D coordinates of joints and inventory events.
  • the process is an example of 3D scene generation.
  • the external camera parameters are calibrated in order to generate mapping parameters for translating the 2D image data into 3D coordinates in real space.
  • one multi-joint subject such as a person
  • the multi-joint subject moves through the real space on a path that passes through the field of view of each of the cameras 114.
  • the multijoint subject is present in the fields of view of at least two cameras forming a 3D scene.
  • the two cameras have a different view of the same 3D scene in their respective two-dimensional (2D) image planes.
  • a feature in the 3D scene such as a left-wrist of the multi-joint subject is viewed by two cameras at different positions in their respective 2D image planes.
  • a point correspondence is established between every pair of cameras with overlapping fields of view for a given scene. Since each camera has a different view of the same 3D scene, a point correspondence is two pixel locations (one location from each camera with overlapping field of view) that represent the projection of the same point in the 3D scene. Many point correspondences are identified for each 3D scene using the results of the image recognition engines 112a to 112n for the purposes of the external calibration.
  • the image recognition engines identify the position of a joint as (x, y) coordinates, such as row and column numbers, of pixels in the 2D image planes of respective cameras 114.
  • a joint is one of 19 different types of joints of the multi-joint subject. As the multi-joint subject moves through the fields of view of different cameras, the tracking engine 110 receives (x, y) coordinates of each of the 19 different types of joints of the multi-joint subject used for the calibration from cameras 114 per image.
  • image frames are streamed off of all cameras at a rate of 30 FPS (frames per second) or more and a resolution of 720 pixels in full RGB (red, green, and blue) color.
  • FPS frames per second
  • RGB red, green, and blue
  • the transformation is generated. It is known in the art that this transformation is non-linear.
  • the general form is furthermore known to require compensation for the radial distortion of each camera’s lens, as well as the non-linear coordinate transformation moving to and from the projected space.
  • an approximation to the ideal non-linear transformation is determined by solving a non-linear optimization problem.
  • This non-linear optimization function is used by the subject tracking engine 110 to identify the same joints in outputs (arrays of joint data structures) of different image recognition engines 112a to 112n, processing image frames of cameras 114 with overlapping fields of view.
  • the results of the internal and external camera calibration are stored in calibration database.
  • a variety of techniques for determining the relative positions of the points in image frames of cameras 114 in the real space can be used.
  • Longuet-Higgins published,“A computer algorithm for reconstructing a scene from two projections” in Nature, Volume 293, 10 September 1981. This paper presents computing a three-dimensional structure of a scene from a correlated pair of perspective projections when spatial relationship between the two projections is unknown.
  • Longuet-Higgins paper presents a technique to determine the position of each camera in the real space with respect to other cameras.
  • their technique allows triangulation of a multi-joint subject in the real space, identifying the value of the z-coordinate (height from the floor) using image frames from cameras 114 with overlapping fields of view.
  • An arbitrary point in the real space for example, the end of a shelf unit in one comer of the real space, is designated as a (0, 0, 0) point on the (x, y, z) coordinate system of the real space.
  • the parameters of the external calibration are stored in two data structures.
  • the first data structure stores intrinsic parameters.
  • the intrinsic parameters represent a projective transformation from the 3D coordinates into 2D image coordinates.
  • the first data structure contains intrinsic parameters per camera as shown below.
  • the data values are all numeric floating point numbers.
  • This data structure stores a 3x3 intrinsic matrix, represented as“K” and distortion coefficients.
  • the distortion coefficients include six radial distortion coefficients and two tangential distortion coefficients. Radial distortion occurs when light rays bend more near the edges of a lens than they do at its optical center. Tangential distortion occurs when the lens and the image plane are not parallel.
  • the following data structure shows values for the first camera only. Similar data is stored for all the cameras 114.
  • the second data structure stores per pair of cameras: a 3x3 fundamental matrix (F), a 3x3 essential matrix (E), a 3x4 projection matrix (P), a 3x3 rotation matrix (R) and a 3x1 translation vector (t).
  • This data is used to convert points in one camera’s reference frame to another camera’s reference frame.
  • eight homography coefficients are also stored to map the plane of the floor 220 from one camera to another.
  • a fundamental matrix is a relationship between two image frames of the same scene that constrains where the projection of points from the scene can occur in both image frames.
  • Essential matrix is also a relationship between two image frames of the same scene with the condition that the cameras are calibrated.
  • the projection matrix gives a vector space projection from 3D real space to a subspace.
  • the rotation matrix is used to perform a rotation in Euclidean space.
  • Translation vector“t” represents a geometric transformation that moves every point of a figure or a space by the same distance in a given direction.
  • the homography floor coefficients are used to combine image frames of features of subjects on the floor 220 viewed by cameras with overlapping fields of views.
  • the second data structure is shown below. Similar data is stored for all pairs of cameras. As indicated previously, the x’s represents numeric floating point numbers. 1 : (
  • homography floor coefficients [x, x, x, x, x, x, x]
  • An inventory location such as a shelf, in a shopping store can be identified by a unique identifier
  • the two dimensional (2D) and three dimensional (3D) maps database 140 identifies inventory locations in the area of real space along the respective coordinates. For example, in a 2D map, the locations in the maps define two dimensional regions on the plane formed perpendicular to the floor 220 i.e., XZ plane as shown in Fig. 3. The map defines an area for inventory locations where inventory items are positioned. In Fig.
  • a 2D view 360 of shelf 1 in shelf unit B 204 shows an area formed by four coordinate positons (xl, zl), (xl, z2), (x2, z2), and (x2, zl) defines a 2D region in which inventory items are positioned on the shelf 1. Similar 2D areas are defined for all inventory locations in all shelf units (or other inventory display structures) in the shopping store. This information is stored in the maps database 140.
  • a 3D view 350 of shelf 1 in shelf unit B 204 shows a volume formed by eight coordinate positions (xl, yl, zl), (xl, yl, z2), (xl, y2, zl), (xl, y2, z2), (x2, yl, zl), (x2, yl, z2), (x2, yl, z2), (x2, y2, zl), (x2, y2, zl), (x2, y2, zl), (x2, y2, z2) defines a 3D region in which inventory items are positioned on the shelf 1.
  • Similar 3D regions are defined for inventory locations in all shelf units in the shopping store and stored as a 3D map of the real space (shopping store) in the maps database 140.
  • the coordinate positions along the three axes can be used to calculate length, depth and height of the inventory locations as shown in Fig. 3.
  • the map identifies a configuration of units of volume which correlate with portions of inventory locations on the inventory display structures in the area of real space. Each portion is defined by stating and ending positions along the three axes of the real space. Similar configuration of portions of inventory locations can also be generated using a 2D map of inventory locations dividing the front plan of the display structures.
  • the items in a shopping store are arranged in some embodiments according to a planogram which identifies the inventory locations (such as shelves) on which a particular item is planned to be placed. For example, as shown in an illustration 360 in Fig. 3, a left half portion of shelf 3 and shelf 4 are designated for an item (which is stocked in the form of cans).
  • the technology disclosed can calculate a“realogram” of the shopping store at any time " t " which is the real time map of locations of inventory items in the area of real space, which can be correlated in addition in some embodiments with inventory locations in the store.
  • a realogram can be used to create a planogram by identifying inventory items and a position in the store, and mapping them to inventory locations.
  • the system or method can create a data set defining a plurality of cells having coordinates in the area of real space.
  • the system or method can divide the real space into a data set defining a plurality of cells using the length of the cells along the coordinates of the real space as an input parameter.
  • the cells are represented as two dimensional grids having coordinates in the area of real space.
  • the cells can correlate with 2D grids (e.g. at 1 foot spacing) of front plan of inventory locations in shelf units (also referred to as inventory display structures).
  • Each grid is defined by its starting and ending positions on the coordinates of the two dimensional plane such as x and z coordinates. This information is stored in maps database 140.
  • the cells are represented as three dimensional (3D) grids having coordinates in the area of real space.
  • the cells can correlate with volume on inventory locations (or portions of inventory locations) in shelf units in the shopping store.
  • the map of the real space identifies a configuration of units of volume which can correlate with portions of inventory locations on inventory display structures in the area of real space. This information is stored in maps database 140.
  • the realogram of the shopping store indicates inventory items associated with inventory events matched by their locations to cells at any time / by using timestamps of the inventory events stored in the inventory events database 150.
  • the inventory event location processing engine 180 includes logic that matches the inventory events for the particular inventory item in multiple locations to cells in the data set defining the plurality of cells.
  • the inventory event location processing system can further map the inventory events to inventory locations matched with the cells in the data set defining the plurality of cells having coordinates in the area of real space.
  • the image recognition engines 112a- 112n receive the sequences of image frames from cameras
  • the system includes processing logic that uses the sequences of image frames produced by the plurality of camera to track locations of a plurality of subjects (or customers in the shopping store) in the area of real space.
  • the image recognition engines 112a-l 12n identify one of the 19 possible joints of a subject at each element of the image, usable to identify subjects in the area who may be taking and putting inventory items.
  • the possible joints can be grouped in two categories: foot joints and non-foot joints.
  • the 19 th type of joint classification is for all non-joint features of the subject ( i. e . elements of the image not classified as a joint).
  • the image recognition engine may be configured to identify the locations of hands specifically. Also, other techniques, such as a user check-in procedure or biometric identification processes, may be deployed for the purposes of identifying the subjects and linking the subjects with detected locations of their hands as they move throughout the store.
  • An array of joints data structures for a particular image classifies elements of the particular image by joint type, time of the particular image, and the coordinates of the elements in the particular image.
  • the image recognition engines 112a-l 12n are convolutional neural networks (CNN)
  • the joint type is one of the 19 types of joints of the subjects
  • the time of the particular image is the timestamp of the image generated by the source camera 114 for the particular image
  • the coordinates (x, y) identify the position of the element on a 2D image plane.
  • the output of the CNN is a matrix of confidence arrays for each image per camera.
  • the matrix of confidence arrays is transformed into an array of joints data structures.
  • a joints data structure 400 as shown in Fig. 4 is used to store the information of each joint.
  • the joints data structure 400 identifies x and y positions of the element in the particular image in the 2D image space of the camera from which the image is received.
  • a joint number identifies the type of joint identified. For example, in one embodiment, the values range from 1 to 19.
  • a value of 1 indicates that the joint is a left ankle
  • a value of 2 indicates the joint is a right ankle and so on.
  • the type of joint is selected using the confidence array for that element in the output matrix of CNN. For example, in one embodiment, if the value corresponding to the left-ankle joint is highest in the confidence array for that image element, then the value of the joint number is“1”.
  • a confidence number indicates the degree of confidence of the CNN in predicting that joint. If the value of confidence number is high, it means the CNN is confident in its prediction.
  • An integer-id is assigned to the joints data structure to uniquely identify it.
  • the output matrix of confidence arrays per image is converted into an array of joints data structures for each image.
  • the joints analysis includes performing a combination of k-nearest neighbors, mixture of Gaussians, and various image morphology transformations on each input image. The result comprises arrays of joints data structures which can be stored in the form of a bit mask in a ring buffer that maps image numbers to bit masks at each moment in time.
  • the tracking engine 110 is configured to receive arrays of joints data structures generated by the image recognition engines 112a-l 12n corresponding to image frames in sequences of image frames from cameras having overlapping fields of view.
  • the arrays of joints data structures per image are sent by image recognition engines 112a-l 12n to the tracking engine 110 via the network(s) 181.
  • the tracking engine 110 translates the coordinates of the elements in the arrays of joints data structures corresponding to image frames in different sequences into candidate joints having coordinates in the real space.
  • a location in the real space is covered by the field of views of two or more cameras.
  • the tracking engine 110 comprises logic to detect sets of candidate joints having coordinates in real space (constellations of joints) as subjects in the real space.
  • the tracking engine 110 accumulates arrays of joints data structures from the image recognition engines for all the cameras at a given moment in time and stores this information as a dictionary in a subject database, to be used for identifying a constellation of candidate joints.
  • the dictionary can be arranged in the form of key-value pairs, where keys are camera ids and values are arrays of joints data structures from the camera.
  • this dictionary is used in heuristics-based analysis to determine candidate joints and for assignment of joints to subjects.
  • a high-level input, processing and output of the tracking engine 110 is illustrated in table 1. Details of the logic applied by the subject tracking engine 110 to detect subjects by combining candidate joints and track movement of subjects in the area of real space are presented in United States Patent No.
  • Table 1 Inputs, processing and outputs from subject tracking engine 110 in an example embodiment.
  • the subject tracking engine 110 uses heuristics to connect joints of subjects identified by the image recognition engines 112a-l 12n. In doing so, the subject tracking engine 110 detects new subjects and updates the locations of identified subjects (detected previously) by updating their respective joint locations.
  • the subject tracking engine 110 uses triangulation techniques to project the locations of joints from 2D space coordinates (x, y) to 3D real space coordinates (x, y, z).
  • Fig. 5 shows the subject data structure 500 used to store the subject.
  • the subject data structure 500 stores the subject related data as a key-value dictionary.
  • the key is a“frame id” and the value is another key -value dictionary where key is the camera id and value is a list of 18 joints (of the subject) with their locations in the real space.
  • the subject data is stored in the subject database. Every new subject is also assigned a unique identifier that is used to access the subject’s data in the subject database.
  • the system identifies joints of a subject and creates a skeleton of the subject.
  • the skeleton is projected into the real space indicating the position and orientation of the subject in the real space. This is also referred to as“pose estimation” in the field of machine vision.
  • the system displays orientations and positions of subjects in the real space on a graphical user interface (GUI).
  • GUI graphical user interface
  • the subject identification and image analysis are anonymous, i.e., a unique identifier assigned to a subject created through joints analysis does not identify personal identification information of the subject as described above.
  • the joints constellation of an identified subject produced by time sequence analysis of the joints data structures, can be used to locate the hand of the subject.
  • the location of a wrist joint alone, or a location based on a projection of a combination of a wrist joint with an elbow joint can be used to identify the location of hand of an identified subject.
  • Fig. 6 presents subsystem components implementing the system for tracking changes by subjects in an area of real space.
  • the system comprises of the plurality of cameras 114 producing respective sequences of image frames of corresponding fields of view in the real space.
  • the field of view of each camera overlaps with the field of view of at least one other camera in the plurality of cameras as described above.
  • the sequences of image frames corresponding to the image frames produced by the plurality of cameras 114 are stored in a circular buffer 602 (also referred to as a ring buffer).
  • Each image frame has a timestamp, identity of the camera (abbreviated as“camera id”), and a frame identity (abbreviated as“frame id”) along with the image data.
  • Circular buffer 602 store a set of consecutively timestamped image frames from respective cameras 114.
  • a separate circular buffer stores image frames per camera 114.
  • a first image processors 604 (also referred to as subject identification subsystem), includes first image recognition engines (also referred to as subject image recognition engines), receiving corresponding sequences of image frames from the plurality of cameras 114.
  • the subject image recognition engines process image frames to generate first data sets that identify subjects and locations of subjects represented in the image frames in the corresponding sequences of image frames in the real space.
  • the subject image recognition engines are implemented as convolutional neural networks (CNNs) referred to as joints CNN 112a-112n. Joints of a single subject can appear in image frames of multiple cameras in a respective image channel.
  • CNNs convolutional neural networks
  • joints CNNs 112a-l 12n corresponding to cameras with overlapping fields of view are combined to map the location of joints from 2D image coordinates of each camera to 3D coordinates of real space.
  • the second image processors 606 include second image recognition engines (also referred to as foreground image recognition engines) receiving image frames from the sequences of image frames.
  • the second image processors include logic to identify and classify foreground changes represented in the image frames in the corresponding sequences of image frames.
  • the second image processors 606 include logic to process the first data sets (that identify subjects) to specify bounding boxes which include images of hands of the identified subjects in image frames in the sequences of image frames.
  • the subsystem 606 includes a bounding box generator 608, a WhatCNN 610 and a WhenCNN 612.
  • the joint data structures 400 and image frames per camera from the circular buffer 602 are given as input to the bounding box generator 608.
  • the bounding box generator 608 implements the logic to process the data sets to specify bounding boxes which include images of hands of identified subjects in image frames in the sequences of image frames.
  • the bounding box generator identifies locations of hands in each source image frame per camera using for example, locations of wrist joints (for respective hands) and elbow joints in the multi-joints subject data structures 500 corresponding to the respective source image frame.
  • the bounding box generator maps the joint locations from 3D real space coordinates to 2D image coordinates in the image frames of respective source images.
  • the bounding box generator 608 creates bounding boxes for hands in image frames in a circular buffer per camera 114.
  • the bounding box is a 128 pixels (width) by 128 pixels (height) portion of the image frame with the hand located in the center of the bounding box.
  • the size of the bounding box is 64 pixels x 64 pixels or 32 pixels x 32 pixels.
  • the hand locations of subjects are inferred from locations of elbow and wrist joints.
  • the right hand location of a subject is extrapolated using the location of the right elbow (identified as pi) and the right wrist (identified as p2) as extrapolation amount * (p2 - pi) + p2 where extrapolation amount equals 0.4.
  • the joints CNN 112a-l 12n are trained using left and right hand images. Therefore, in such an embodiment, the joints CNN 112a-l 12n directly identify locations of hands in image frames per camera. The hand locations per image frame are used by the bounding box generator to create a bounding box per identified hand.
  • the WhatCNN and the WhenCNN models are implemented convolutional neural networks (CNN).
  • WhatCNN is a convolutional neural network trained to process the specified bounding boxes in the image frames to generate a classification of hands of the identified subjects.
  • One trained WhatCNN processes image frames from one camera.
  • the WhatCNN identifies whether the hand is empty.
  • the WhatCNN also identifies a SKU (stock keeping unit) number of the inventory item in the hand, a confidence value indicating the item in the hand is a non- SKU item ( i.e . it does not belong to the shopping store inventory) and a context of the hand location in the image frame.
  • SKU stock keeping unit
  • the outputs of WhatCNN models 610 for all cameras 114 are processed by a single WhenCNN model 612 for a pre-determined window of time.
  • the WhenCNN performs time series analysis for both hands of subjects to identify gestures by detected subjects and produce inventory events.
  • the inventory events are stored as entries in the inventory events database 150.
  • the inventory events identify whether a subject took a store inventory item from a shelf or put a store inventory item on a shelf.
  • the technology disclosed uses the sequences of image frames produced by at least two cameras in the plurality of cameras to find a location of an inventory event.
  • the WhenCNN executes analysis of data sets from sequences of image frames from at least two cameras to determine locations of inventory events in three dimensions and to identify item associated with the inventory event.
  • NMS non-maximum suppression
  • the true events of takes and puts for each subject are further processed by calculating an average of the SKU logits for 30 image frames prior to the image frame with the true event.
  • the arguments of the maxima (abbreviated arg max or argmax) is used to determine the largest value.
  • the inventory item classified by the argmax value is used to identify the inventory item put on the shelf or taken from the shelf.
  • the technology disclosed attributes the inventory event to a subject by assigning the inventory item associated with the inventory to a log data structure 614 (or shopping cart data structure) of the subject.
  • the inventory item is added to a log of SKUs (also referred to as shopping cart or basket) of respective subjects.
  • the image frame identifier“frame id,” of the image frame which resulted in the inventory event detection is also stored with the identified SKU.
  • the logic to attribute the inventory event to the customer matches the location of the inventory event to a location of one of the customers in the plurality of customers.
  • the image frame can be used to identify 3D position of the inventory event, represented by the position of the subject’s hand in at least one point of time during the sequence that is classified as an inventory event using the subject data structure 500, which can be then used to determine the inventory location from where the item was taken from or put on.
  • the technology disclosed uses the sequences of image frames produced by at least two cameras in the plurality of cameras to find a location of an inventory event and creates an inventory event data structure.
  • the inventory event data structure stores item identifier, a put or take indicator, coordinates in three dimensions of the area of real space and a time stamp.
  • the inventory events are stored as entries in the inventory events database 150.
  • the locations of inventory events can be compared with a planogram or other map of the store to identify an inventory location, such as a shelf, from which the subject has taken the item or placed the item on.
  • the determination of a shelf in a shelf unit is performed by calculating a shortest distance from the position of the hand associated with the inventory event. This determination of shelf is then used to update the inventory data structure of the shelf.
  • An example inventory data structure 614 (also referred to as a log data structure) shown in Fig. 7. This inventory data structure stores the inventory of a subject, shelf or a store as a key -value dictionary.
  • the key is the unique identifier of a subject, shelf or a store and the value is another key value-value dictionary where key is the item identifier such as a stock keeping unit (SKU) and the value is a number identifying the quantity of item along with the“frame id” of the image frame that resulted in the inventory event prediction.
  • the frame identifier (“frame id”) can be used to identify the image frame which resulted in identification of an inventory event resulting in association of the inventory item with the subject, shelf, or the store.
  • a“camera id” identifying the source camera can also be stored in combination with the frame id in the inventory data structure 614.
  • the“frame id” is the subject identifier because the frame has the subject’s hand in the bounding box.
  • other types of identifiers can be used to identify subjects such as a“subject id” which explicitly identifies a subject in the area of real space.
  • the shelf inventory data structure is consolidated with the subject’s log data structure, the shelf inventory is reduced to reflect the quantity of item taken by the customer from the shelf. If the item was put on the shelf by a customer or an employee stocking items on the shelf, the items get added to the respective inventory locations’ inventory data structures. Over a period of time, this processing results in updates to the shelf inventory data structures for all inventory locations in the shopping store. Inventory data structures of inventory locations in the area of real space are consolidated to update the inventory data structure of the area of real space indicating the total number of items of each SKU in the store at that moment in time. In one embodiment, such updates are performed after each inventory event. In another embodiment, the store inventory data structures is updated periodically.
  • Fig. 8A is a high level architecture of a system to perform inventory item correlation analysis. It comprises of cameras 114 producing sequencing of image frames that are processed by an event identification engine 801 and stored in the inventory database 150.
  • the event identification engine comprises of JointsCNN 112a-112n, WhatCNN 610, and WhenCNN 612 to produce inventory events as described above. Other types of image analysis can be performed to generate the inventory events data.
  • the architecture includes a“semantic diffing” subsystem.
  • the semantic subsystem can be used independently to produce the inventory events data or it can be used in parallel to the second image processors 606 to identify gestures by detected subjects and produce inventory events.
  • This semantic diffing subsystem includes background image recognition engines, which receive corresponding sequences of image frames and recognize semantically significant differences in the background (i. e . inventory display structures like shelves) as they relate to puts and takes of inventory items, for example, over time in the image frames from each camera.
  • the semantic diffing subsystem receives output of the subject identification subsystem 604 and image frames from cameras 114 as input. Details of“semantic diffing” subsystem are presented in United States Patent No. 10,127,438, issued 13 November 2018, titled,“Predicting Inventory Events using Semantic Diffing,” and United States Patent Application No. 15/945,473, filed 04 April 2018, titled,“Predicting Inventory Events using Foreground/Background Processing,” both of which are incorporated herein by reference as if fully set forth herein.
  • the analytics engine 803 that includes logic that generates for a particular inventory item correlations to data sets related to the particular inventory item. Examples of data sets include inventory events for the particular inventory item in multiple locations in the area of real space or data sets including other inventory items in a temporally ordered sequence of inventory events prior to an inventory event including the particular inventory item. In one embodiment, the analytics engine generates graphical constructs with actionable data for these correlations. The graphical constructs are displayed on user interfaces of computing devices 805.
  • Fig. 8B presents an example architecture for inventory event location processing engine 180 for performing correlations analysis for an inventory item in multiple locations in the area of real space.
  • the system includes logic that determines a data set including the inventory events for the particular inventory item in multiple locations in the area of real space.
  • the system includes logic to display on user interface a graphical construct indicating activity related to the particular inventory item in the multiple locations.
  • the inventory events are selected using a query 818 for a particular inventory item identified by a unique identifier such as a SKU (stock keeping unit).
  • the inventory events for the particular inventory item are further selected for a period of time using a time-range query 816.
  • the event accumulator 820 sends the selected data set of inventory events for the particular inventory item in multiple locations in the area of real space to a heat map generator 822.
  • the inventory event selection logic includes logic that selects inventory events that include the particular inventory item including a parameter that indicates the inventory item is sold to the identified subject.
  • the heat map generator 822 displays a graphical construct on user interface indicating activity related to the particular inventory item in the multiple locations.
  • the heat map generator creates clusters of inventory events using the positions of the inventory events in the three dimensions of the area of real space. For example, two inventory events are considered to belong to a same cluster if these are with a pre-defined Euclidean distance threshold (such as 3 feet).
  • Known cluster analysis techniques such as k-means or DBSCAN can be applied to create clusters of inventory events.
  • the locations of centroid of the clusters are mapped to the area of real space to identity locations of activity related to the inventory item.
  • the system includes logic that matches inventory events for the particular inventory item in multiple locations to cells in the data set defining the plurality of cells.
  • the cells matching the inventory event locations are used to present item-to-multiple-locations correlation data in the 2D and/or 3D item attribution maps.
  • One or more cells can be combined at one location for illustration purposes.
  • the locations of inventory locations (such as shelves in inventory display structures) are available.
  • the inventory display structure comprising inventory locations are matched with cells in the data set defining the plurality of cells having coordinates in the area of real space.
  • the 2D and 3D locations of inventory locations in the area of real space are stored in the maps database 140 as described above.
  • the heat map generator queries the maps database 140 to retrieve this information.
  • the system includes logic that matches cells to inventory locations and generates heat maps for inventory locations using the activity related to the particular inventory item in multiple locations.
  • One example graphical construct is shown in the 2D item attribution map 826.
  • the 2D item attribution map shows the activity related to the particular item in portions as a top view of inventory locations such as shelves.
  • Fig. 8B a portion of the 2D map of the area of real space is shown as 2D item attribution map 826 for illustration purposes.
  • the 2D item attribution map 826 shows a top view of inventory display structures 828, 830, and 832 comprising of shelves at different levels. The shelves at different levels are not visible in the 2D item attribution map.
  • the map 826 shows that there are two locations 834 and 836 at which the activity occurred related to inventory item during the selected period of time.
  • the activity analysis can provide graphical illustrations to present this item to multiple locations correlation data.
  • the activity related to the particular inventory item includes percentages of total inventory events including the particular inventory item in the multiple locations in the period of time.
  • the clusters indicating the item to multiple locations correlation data are mapped to 2D maps of inventory locations in the area of real space.
  • the activity of the inventory item in multiple locations 834 and 836 indicates that 87% percent of items are taken from location 834 and 13% of the items are taken from the inventory location 836.
  • the activity related to the particular inventory item includes counts of the inventory events including the particular inventory item in the multiple locations in the period of time.
  • the activity related to the particular item includes levels relative to a threshold count of inventory events including the particular inventory item in multiple locations in the period of time.
  • a notification is sent to store employee to restock inventory items at that location.
  • the heat map generator 822 also generates a 3D item attribution map 840 illustrating the item to multiple locations correlation.
  • the item to multiple locations correlation data is mapped to 3D cells in the area of real space.
  • the heat map generator uses the positons of the inventory events in the three coordinates of the area of real space to create clusters as described above.
  • This graphical representation provides further details about inventory events. For example, in the 2D item attribution map shows the location 834 shows 87% percent of the items are taken from this location. In 3D item attribution map, the location 834 is further divided into two clusters (comprising one or more cells).
  • the 3D graphical illustrations in the map 840 shows more items (54%) are taken from top shelves at location 834 than bottom shelves (33%).
  • the 3D cells shown in the map 840 can match a single shelf or more than one shelf according to level of granularity desired.
  • the 3D item attribution map shows 7% of items are taken from the top level shelves as compared to 6% from bottom level shelves.
  • the heat map generator stores the item attribution maps 826 and 840 in the inventory item activity database 160.
  • Figure 8C shows the 3D item attribution map 840 displayed on a graphical user interface 860 of a computing device.
  • the user interface has a set of widgets 862 that correspond with preset queries to the database.
  • An example of a preset query include retrieving the inventory locations from where a particular inventory item is taken by customers during a time interval such as one day or one week etc.
  • Another example of a present query includes listing alternative considered items for a particular inventory item.
  • a variety of user interface designs can be implemented to present the preset queries to users. For example, a row of buttons (or widgets) on top of a page as shown in Fig. 8C. In another user interface design the buttons can be positioned on different pages of the user interface.
  • Users of the system can also generate notifications to store employees, for example, to restock inventory items on the shelves.
  • the data can be used for planning purposes such as identifying inventory locations from where most of the shoppers take a particular item.
  • the store planogram can then be updated using this information to efficiently utilize space on inventory locations.
  • FIG. 9 presents a process flowchart to perform this correlation analysis.
  • the logic can be implemented using processors, programmed using computer programs, stored in memory accessible and executable by the processors, and in other configurations, by dedicated logic hardware, including field
  • the process starts at step 902.
  • all inventory events that resulted in sale of a particular inventory item in a specified period of time are retrieved from the inventory events database 150, or at least one inventory event is retrieved.
  • the time period can be defined as desired e.g., an hour, a day or a week.
  • the technology disclosed selects for a subject identified in the inventory event, a temporally ordered sequence of inventory events leading to the particular inventory event including a particular inventory item (step 906).
  • the processing system stores the temporally ordered sequence of inventory events in data sets including inventory items in the temporally ordered sequence of inventory events within a period of time.
  • the time series data per data set does not require subject identification information to perform the correlation analysis to determine chronologically related items to the particular inventory item.
  • the data sets are fdtered to keep only the“take” inventory events entries and filter out the“put” inventory events entries.
  • the“take” inventory events resulting in sale of inventory items are further filtered out from the data sets including inventory items in the temporally ordered sequence of inventory events leading to the particular inventory events including a particular inventory item.
  • the system includes logic to accumulate the plurality of data sets as described above.
  • the system stores the accumulated data sets in a data structure.
  • the data structure is configured for use to analyze the data to correlate the particular inventory item of a plurality of data sets with other inventory items in the plurality of data sets.
  • the data structure is used to determine alternative products considered by the shoppers before deciding to purchase particular inventory item.
  • this information is generated by selecting the inventory items in the data sets immediately preceding the particular inventory item (step 910) in the temporally ordered sequence of inventory events. In another embodiment, more than one preceding items in the temporally ordered sequence in each data set are selected as alternative considered products.
  • each data set are selected for example, selecting events in a period of time preceding the inventory event including the particular inventory item. Additional selection criteria can be applied to determine alternative considered products, for example selecting inventory items within a same product category as the particular inventory item.
  • the selected inventory items are stored in a global list of inventory items related to the particular inventory item (step 912).
  • the list can include data from more than one store.
  • the logic to determine related inventory items for a particular inventory item operates without the use of personal identifying biometric information associated with the subjects.
  • the process ends at step 914.
  • Fig. 10 presents an example architecture for inventory event sequencing engine 190 to perform inventory item to chronologically related items correlation analysis.
  • the system includes logic 1008 to filter inventory events entries in the database to select the events that match a particular inventory item identified by an item identifier such as an SKU.
  • a second criteria in the selection query to select inventory events which resulted in the sale of the particular inventory event.
  • the system selects inventory events entries for the subject identified in a specified time period (such as 30 seconds) prior to the inventory event including the particular inventory item. This results in data sets including inventory items in the temporally ordered sequence of inventory events within the specified period of time. These data sets are shown as SKU event time series 1010 in Fig. 10.
  • a second filter 1012 removes purchased items from each data set.
  • the data sets 1014 include a temporally ordered sequence of events including items that were taken from the shelves but not purchased by the subjects.
  • the tabulation logic 1016 selects the inventory items from the data sets using the selection criteria as described above. The resulting data is stored in the inventory item correlation database 170.
  • Fig. 11 presents an architecture of a network hosting the inventory event location processing engine 180 which is hosted on the network node 104.
  • the system includes a plurality of network nodes 101a, 101b, 10 In, and 102 in the illustrated embodiment.
  • the network nodes are also referred to as processing platforms.
  • Fig. 11 shows a plurality of cameras 1112, 1114, 1116, ... 1118 connected to the network(s). A large number of cameras can be deployed in particular systems.
  • the cameras 1112 to 1118 are connected to the network(s) 1181 using Ethernet-based connectors 1122, 1124, 1126, and 1128, respectively.
  • the Ethernet-based connectors have a data transfer speed of 1 gigabit per second, also referred to as Gigabit Ethernet.
  • cameras 114 are connected to the network using other types of network connections which can have a faster or slower data transfer rate than Gigabit Ethernet.
  • a set of cameras can be connected directly to each processing platform, and the processing platforms can be coupled to a network.
  • Storage subsystem 1130 stores the basic programming and data constructs that provide the functionality of certain embodiments of the present invention.
  • the various modules implementing the functionality of the inventory event location processing engine 180 may be stored in storage subsystem 1130.
  • the storage subsystem 1130 is an example of a computer readable memory comprising a non-transitory data storage medium, having computer instructions stored in the memory executable by a computer to perform all or any combination of the data processing and image processing functions described herein.
  • the computer instructions can be stored in other types of memory, including portable memory, that comprise a non- transitory data storage medium or media, readable by a computer.
  • a host memory subsystem 1132 typically includes a number of memories including a main random access memory (RAM) 1134 for storage of instructions and data during program execution and a read-only memory (ROM) 1136 in which fixed instructions are stored.
  • RAM main random access memory
  • ROM read-only memory
  • the RAM 1134 is used as a buffer for storing point cloud data structure tuples generated by the inventory event location processing engine 180.
  • a file storage subsystem 1140 provides persistent storage for program and data fries.
  • the storage subsystem 1140 includes four 120 Gigabyte (GB) solid state disks (SSD) in a RAID 0 (redundant array of independent disks) arrangement identified by a numeral 1142.
  • SSD solid state disks
  • maps data in the maps database 140, inventory events data in the inventory events database 150, inventory item activity data in the inventory item activity database 160, and the inventory item correlation data in the inventory item correlation database 170 which is not in RAM is stored in RAID 0.
  • the hard disk drive (HDD) 1146 is slower in access speed than the RAID 0 1142 storage.
  • 1144 contains the operating system and related files for the inventory event location processing engine 180.
  • each camera has a dedicated graphics processing unit GPU 1 1162, GPU 2 1164, GPU 3 1166, and GPU 4 1168, to process image frames sent by the camera. It is understood that fewer than or more than three cameras can be connected per processing platform. Accordingly, fewer or more GPUs are configured in the network node so that each camera has a dedicated GPU for processing the image frames received from the camera.
  • the processor subsystem 1150, the storage subsystem 1130 and the GPUs 1162, 1164, and 1166 communicate using the bus subsystem 1154.
  • a network interface subsystem 1170 is connected to the bus subsystem 1154 forming part of the processing platform (network node) 104.
  • Network interface subsystem 1170 provides an interface to outside networks, including an interface to corresponding interface devices in other computer systems.
  • the network interface subsystem 1170 allows the processing platform to communicate over the network either by using cables (or wires) or wirelessly.
  • a number of peripheral devices such as user interface output devices and user interface input devices are also connected to the bus subsystem 1154 forming part of the processing platform (network node) 104. These subsystems and devices are intentionally not shown in Fig. 11 to improve the clarity of the description.
  • bus subsystem 1154 is shown schematically as a single bus, alternative embodiments of the bus subsystem may use multiple busses.
  • the cameras 114 can be implemented using Chameleon3 1.3 MP Color USB 3
  • Varifocal Lens having a working distance (mm) of 300 - ⁇ , a field of view field of view with a 1/3" sensor of 98.2° - 23.8°.
  • any data structures and code described or referenced above are stored according to many implementations in computer readable memory, which comprises a non-transitory computer-readable storage medium, which may be any device or medium that can store code and/or data for use by a computer system.
  • ASICs application-specific integrated circuits
  • FPGAs field-programmable gate arrays
  • magnetic and optical storage devices such as disk drives, magnetic tape, CDs (compact discs), DVDs (digital versatile discs or digital video discs), or other media capable of storing computer-readable media now known or later developed.

Abstract

Systems and techniques are provided for tracking inventory events in an area of real space. A plurality of sensors produce respective sequences of frames in corresponding fields of view in the real space. The field of view of each sensor overlaps with the field of view of at least one other sensor. The processing system uses the sequences of frames produced by sensors in the plurality of sensors to identify gestures by detected subjects in the area of real space and produce inventory events. The inventory events include a subject identifier identifying a detected subject, a gesture type of the identified gesture by the detected subject, an item identifier identifying an inventory item linked to the gesture by the detected subject, a location of the gesture represented by positions in three dimensions of the area of real space and a timestamp.

Description

PRODUCT CORRELATION ANALYSIS USING DEEP LEARNING
PRIORITY APPLICATION
[0001] This application claims the benefit of U.S. Provisional Patent Application No. 62/703,785 (Atty.
Docket No. STCG 1006-1), filed 26 July 2018, and of U.S. Non-Provisional Application No. 16/519,660 (Atty. Docket No. STCG 1008-1), filed 23 July 2019, which is a continuation-in-part of U.S. Patent Application No. 15/945,473 (Atty. Docket No. STCG 1005-1) filed 04 April 2018, which is a continuation-in-part of U.S. Patent Application No. 15/907,112 (Atty. Docket No. STCG 1002-1) filed 27 February 2018 (now U.S. Patent No. 10,133,933, issued 20 November 2018), which is a continuation-in-part of U.S. Patent Application No. 15/847,796 (Atty. Docket No. STCG 1001-1), filed 19 December 2017 (now U.S. Patent No. 10,055,853, issued 21 August ), which claims benefit of U.S. Provisional Patent Application No. 62/542,077 (Atty. Docket No. STCG 1000-1), filed 07 August 2017, which applications are incorporated herein by reference.
BACKGROUND
Field
[0002] The present invention relates to systems that track inventory items in an area of real space including inventory display structures.
Description of Related Art
[0003] Manufacturers, distributors, shopping store management are interested to know different activities performed by shoppers related to inventory items in a shopping store. Some examples of activities are shoppers taking the inventory item from shelf, putting the inventory item back on a shelf, or purchasing the inventory item, etc. Consider the example of a shopping store in which the inventory items are placed at multiple inventory locations such as on a shelf in an aisle and on promotional fixtures such as end-caps at the end of an aisle or in an open area. Companies supplying the inventory items and the shopping store management are interested to know which inventory locations contribute more towards the sale of a particular inventory item. Consolidating inventory item sale data from point of sale systems can indicate the total number of a particular inventory item sold in a specific period of time such as a day, week or month. However, this information does not identify the inventory locations from where the customers took these inventory items, if inventory items are stocked at multiple inventory locations in the shopping store.
[0004] Another information that manufacturers and distributors are interested to know is related to competitor inventory items (or products), especially the inventory items considered by customers just before they decided to buy a particular inventory item. This data can provide useful insights for product design, pricing and marketing strategies. Traditional point of sale systems in shopping stores cannot provide information about alternative inventory items considered by customers before they decide to purchase a particular inventory item.
[0005] It is desirable to provide a system that can more effectively and automatically provide the activity data related to inventory items from multiple locations in the shopping store.
SUMMARY
A system and method for operating a system are provided for tracking inventory events, such as puts and takes, in an area of real space. The system is coupled to a plurality of sensors, such as cameras, and to memory which can store a store inventory for the area of real space. The system includes a processor or processors, and a database. The processor or processors can include logic to use sequences of frames produced by sensors in the plurality of sensors to identify gestures by detected persons in the area of real space over a period of time, and produce inventory events including data representing identified gestures. The system can include logic to store the inventory events as entries in the database. The inventory events can include a subject identifier identifying a detected subject, a gesture type of a gesture by the detected subject (e.g. a put or a take), an item identifier identifying an inventory item linked to the gesture by the detected subject, a location of the gesture represented by positions in three dimensions of the area of real space and a timestamp for the gesture. Logic can be included in the system to process the data in the database in a variety of manners. Including logic that can query the database to determine a data set including the inventory events for a selected inventory item in multiple locations in the area of real space. The system can displays a graphical construct indicating activity related to the particular inventory item in the multiple locations on user interface.
[0006] In one embodiment, the activity related to the particular inventory item includes counts of the inventory events including the particular inventory item in the multiple locations in the period of time. In another embodiment, the activity related to the particular inventory item includes percentages of total inventory events including the particular inventory item in the multiple locations in the period of time. In yet another embodiment, the activity related to the particular item includes levels relative to a threshold count of inventory events including the particular item in the multiple locations in the period of time.
[0007] In one embodiment, the field of view of each camera overlaps with the fields of view of at least one other camera in the plurality of cameras.
[0008] The system can include first image recognition engines that receive the sequences of image frames. The first image recognition engines process image frames to generate first data sets that identify subjects and locations of the identified subjects in the real space. In one embodiment, the first image recognition engines comprise convolutional neural networks. The system processes the first data sets to specify bounding boxes which include images of hands of the identified subjects in image frames in the sequences of image frames. In one embodiment, the system includes second image recognition engines that receive the sequences of image frames, which process the specified bounding boxes in the image frames to detect the inventory events including identifiers of likely inventory items.
[0009] In one embodiment, the system determines the data sets by including the inventory events for the particular inventory item in the area of real space that include a parameter indicating the inventory items as sold to identified subjects.
[0010] In one embodiment, the system is coupled to a memory that stores a data set defining a plurality of cells having coordinates in the area of real space. In such an embodiment, the system includes logic that matches the inventory events for the particular inventory item in multiple locations to cells in the data set defining the plurality of cells. The system can include inventory display structures in the area of real space. The inventory display structures comprise of inventory locations matched with the cells in the data set defining the plurality of cells having coordinates in the area of real space. The system matches cells to inventory locations and generates heat maps for inventory locations using the activity related to the particular inventory item in multiple locations.
[0011] The system can generate and store in memory a data structure referred to herein as a“realogram,” identifying the locations of inventory items in the area of real space based on accumulation of data about the items identified in, and the locations of, the inventory events detected as discussed herein. The data in the realogram can be compared to data in a planogram, to determine how inventory items are disposed in the area compared to the plan, such as to locate misplaced items. Also, the realogram can be processed to locate inventory items in three dimensional cells, and correlate those cells with inventory locations in the store, such as can be determined from a planogram or other map of the inventory locations. Also, the realogram can be processed to track activity related to specific inventory items in different locations in the area. Other uses of realograms are possible as well.
[0012] In one embodiment, the system selects for a subject a temporally ordered sequence of inventory events leading to a particular inventory event including a particular inventory item. The system determines a data set including inventory items in the temporally ordered sequence of inventory events within a period of time prior to the particular inventory event. The system includes a data structure configured for use to analyze the data to correlate the particular inventory item of a plurality of data sets with other inventory items in the plurality of data sets.
[0013] The system can accumulate the plurality of data sets and store the accumulated data sets in the data structure configured for use to analyze the data to correlate the particular inventory item of the plurality of data sets with other inventory items in the plurality of data sets.
[0014] In one embodiment, the system selects the inventory item associated with an inventory event in the temporally ordered sequence of inventory events closest in space, or in time, or based on a combination of time and space, to the particular inventory event to determine the data sets including inventory items in the temporally ordered sequence of inventory events. In another embodiment, the system selects, for a subject, a temporally ordered sequence of inventory events leading to a particular inventory event including a particular inventory item that includes a parameter indicating the inventory item as sold to the subject.
[0015] In one embodiment, the system fdters out the inventory events including inventory items including a parameter indicating the inventory items as sold to subjects from the temporally ordered sequence of inventory events leading to a particular inventory event including a particular inventory item.
[0016] The system can select a temporally ordered sequence of inventory events leading to a particular inventory event including a particular inventory item for a subject without the use of personal identifying biometric information associated with the subject.
[0017] Methods and computer program products which can be executed by computer systems are also described herein.
[0018] Functions are described herein, including but not limited to identifying and linking a particular inventory item in an inventory event to multiple locations in the area of real space and to other items in temporally ordered sequences of inventory events and of creating heat maps and data structure configured for use to analyze correlations of the particular inventory item to other inventory items present complex problems of computer engineering, relating for example to the type of image data to be processed, what processing of the image data to perform, and how to determine actions from the image data with high reliability.
[0019] Other aspects and advantages of the present invention can be seen on review of the drawings, the detailed description and the claims, which follow.
BRIEF DESCRIPTION OF THE DRAWINGS
[0020] Fig. 1 illustrates an architectural level schematic of a system in which an inventory event location processing engine and an inventory event sequencing engine track inventory items in an area of real space.
[0021] Fig. 2A is a side view of an aisle in a shopping store illustrating a subject, inventory display structures and a camera arrangement in a shopping store. [0022] Fig. 2B is a perspective view of an inventory display structure in the aisle in Fig. 2A, illustrating a subject taking an item from a shelf in the inventory display structure.
[0023] Fig. 3 shows examples of 2D and 3D maps of a shelf in an inventory display structure.
[0024] Fig. 4 shows an example data structure for storing joints information of subjects.
[0025] Fig. 5 is an example data structure for storing a subject including the information of associated joints.
[0026] Fig. 6 is an example architecture of an image processing pipeline comprising first image processors and second image processors.
[0027] Fig. 7 shows an example of a log data structure which can be used to store shopping cart of a subject or inventory items stocked on a shelf or in a shopping store.
[0028] Fig. 8 A is a high level architecture of a system comprising an event identification engine and an analytics engine to perform inventory item correlations analysis.
[0029] Fig. 8B is an example architecture which can be used to determine heat maps of inventory locations for an inventory item using inventory events related to the inventory item in the area of real space.
[0030] Fig. 8C is an example user interface displaying a 3D item attribution map for an inventory item in the area of real space.
[0031] Fig. 9 is a flowchart showing process steps for performing inventory item to chronologically related inventory items correlation analysis.
[0032] Fig. 10 is an example architecture in which the technique presented in the flowchart of Fig. 9 can be used to perform item correlation analysis.
[0033] Fig. 11 is a camera and computer hardware arrangement configured for hosting the inventory event location processing engine and the inventory event sequencing engine of Fig. 1.
DETAILED DESCRIPTION
[0034] The following description is presented to enable any person skilled in the art to make and use the invention, and is provided in the context of a particular application and its requirements. Various modifications to the disclosed embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be applied to other embodiments and applications without departing from the spirit and scope of the present invention. Thus, the present invention is not intended to be limited to the embodiments shown but is to be accorded the widest scope consistent with the principles and features disclosed herein.
System Overview
[0035] A system and various implementations of the subject technology is described with reference to
Figs. 1-11. The system and processes are described with reference to Fig. 1, an architectural level schematic of a system in accordance with an implementation. Because Fig. 1 is an architectural diagram, certain details are omitted to improve the clarity of the description.
[0036] The discussion of Fig. 1 is organized as follows. First, the elements of the system are described, followed by their interconnections. Then, the use of the elements in the system is described in greater detail. In examples described herein, cameras are used as sensors producing image frames which output color images in for example an RGB color space. In all of the disclosed embodiments, other types of sensors or combinations of sensors of various types can be used to produce image frames usable with or in place of the cameras, including image sensors working in other color spaces, infrared image sensors, UV image sensors, ultrasound image sensors, LIDAR based sensors, radar based sensors and so on.
[0037] Fig. 1 provides a block diagram level illustration of a system 100. The system 100 includes cameras 114, network nodes hosting image recognition engines 112a, 112b, and 112n, an inventory event location processing engine 180 deployed in a network node 104 (or nodes) on the network, an inventory event sequencing engine 190 deployed in a network node 106 (or nodes) on the network, a network node 102 hosting a subject tracking engine 110, a maps database 140, an inventory events database 150, an inventory item activity database 160, an inventory item correlation database 170, and a communication network or networks 181. The network nodes can host only one image recognition engine, or several image recognition engines. The system can also include a subject database and other supporting data.
[0038] As used herein, a network node is an addressable hardware device or virtual device that is attached to a network, and is capable of sending, receiving, or forwarding information over a communications channel to or from other network nodes. Examples of electronic devices which can be deployed as hardware network nodes include all varieties of computers, workstations, laptop computers, handheld computers, and smartphones. Network nodes can be implemented in a cloud-based server system. More than one virtual device configured as a network node can be implemented using a single physical device.
[0039] For the sake of clarity, only three network nodes hosting image recognition engines are shown in the system 100. However, any number of network nodes hosting image recognition engines can be connected to the subject tracking engine 110 through the network(s) 181. Similarly, the image recognition engine, the subject tracking engine, the inventory event location processing engine, the inventory event sequencing engine and other processing engines described herein can execute using more than one network node in a distributed architecture.
[0040] The interconnection of the elements of system 100 will now be described. Network(s) 181 couples the network nodes 101a, 101b, and 10 In, respectively, hosting image recognition engines 112a, 112b, and 112n, the network node 104 hosting the inventory event location processing engine 180, the network node 106 hosting the inventory event sequencing engine 190, the network node 102 hosting the subject tracking engine 110, the maps database 140, the inventory events database 150, the inventory item activity database 160, and inventory item correlation database 170. Cameras 114 are connected to the subject tracking engine 110 through network nodes hosting image recognition engines 112a, 112b, and 112n. In one embodiment, the cameras 114 are installed in a shopping store such that sets of cameras 114 (two or more) with overlapping fields of view are positioned over each aisle to capture image frames of real space in the store. In Fig. 1, two cameras are arranged over aisle 116a, two cameras are arranged over aisle 116b, and three cameras are arranged over aisle 116n. The cameras 114 are installed over aisles with overlapping fields of view. In such an embodiment, the cameras are configured with the goal that customers moving in the aisles of the shopping store are present in the field of view of two or more cameras at any moment in time.
[0041] Cameras 114 can be synchronized in time with each other, so that image frames are captured at the same time, or close in time, and at the same image capture rate. The cameras 114 can send respective continuous streams of image frames at a predetermined rate to network nodes hosting image recognition engines 112a- 112n. Image frames captured in all the cameras covering an area of real space at the same time, or close in time, are synchronized in the sense that the synchronized image frames can be identified in the processing engines as representing different views of subjects having fixed positions in the real space. For example, in one embodiment, the cameras send image frames at the rates of 30 frames per second (fps) to respective network nodes hosting image recognition engines 112a- 112n. Each frame has a timestamp, identity of the camera (abbreviated as“camera id”), and a frame identity (abbreviated as“frame id”) along with the image data. Other embodiments of the technology disclosed can use different types of sensors such as image sensors, LIDAR based sensors, etc., in place of cameras to generate this data. In one embodiment, sensors can be used in addition to the cameras 114. Multiple sensors can be synchronized in time with each other, so that frames are captured by the sensors at the same time, or close in time, and at the same frame capture rate.
[0042] Cameras installed over an aisle are connected to respective image recognition engines. For example, in Fig. 1, the two cameras installed over the aisle 116a are connected to the network node 101a hosting an image recognition engine 112a. Likewise, the two cameras installed over aisle 116b are connected to the network node 101b hosting an image recognition engine 112b. Each image recognition engine 112a-l 12n hosted in a network node or nodes lOla-lOln, separately processes the image frames received from one camera each in the illustrated example.
[0043] In one embodiment, each image recognition engine 112a, 112b, and 112n is implemented as a deep learning algorithm such as a convolutional neural network (abbreviated CNN). In such an embodiment, the CNN is trained using training database. In an embodiment described herein, image recognition of subjects in the real space is based on identifying and grouping joints recognizable in the image frames, where the groups of joints can be attributed to an individual subject. For this joints-based analysis, the training database has a large collection of images for each of the different types of joints for subjects. In the example embodiment of a shopping store, the subjects are the customers moving in the aisles between the shelves. In an example embodiment, during training of the CNN, the system 100 is referred to as a“training system.” After training the CNN using the training database, the CNN is switched to production mode to process images of customers in the shopping store in real time.
[0044] In an example embodiment, during production, the system 100 is referred to as a mntime system
(also referred to as an inference system). The CNN in each image recognition engine produces arrays of joints data structures for image frames in its respective stream of image frames. In an embodiment as described herein, an array of joints data structures is produced for each processed image, so that each image recognition engine 112a-l 12n produces an output stream of arrays of joints data structures. These arrays of joints data structures from cameras having overlapping fields of view are further processed to form groups of joints, and to identify such groups of joints as subjects. The subjects can be identified and tracked by the system using an identifier“subject id” during their presence in the area of real space.
[0045] The subject tracking engine 110, hosted on the network node 102 receives, in this example, continuous streams of arrays of joints data structures for the subjects from image recognition engines 112a-l 12n.
The subject tracking engine 110 processes the arrays of joints data structures and translates the coordinates of the elements in the arrays of joints data structures corresponding to image frames in different sequences into candidate joints having coordinates in the real space. For each set of synchronized image frames, the combination of candidate joints identified throughout the real space can be considered, for the purposes of analogy, to be like a galaxy of candidate joints. For each succeeding point in time, movement of the candidate joints is recorded so that the galaxy changes over time. The output of the subject tracking engine 110 identifies subjects in the area of real space at a moment in time.
[0046] The subject tracking engine 110 uses logic to identify groups or sets of candidate joints having coordinates in real space as subjects in the real space. For the purposes of analogy, each set of candidate points is like a constellation of candidate joints at each point in time. The constellations of candidate joints can move over time. A time sequence analysis of the output of the subject tracking engine 110 over a period of time identifies movements of subjects in the area of real space.
[0047] In an example embodiment, the logic to identify sets of candidate joints comprises heuristic functions based on physical relationships amongst joints of subjects in real space. These heuristic functions are used to identify sets of candidate joints as subjects. The sets of candidate joints comprise individual candidate joints that have relationships according to the heuristic parameters with other individual candidate joints and subsets of candidate joints in a given set that has been identified, or can be identified, as an individual subject.
[0048] In the example of a shopping store the customers (also referred to as subjects above) move in the aisles and in open spaces. The customers take items from inventory locations on shelves in inventory display structures. In one example of inventory display structures, shelves are arranged at different levels (or heights) from the floor and inventory items are stocked on the shelves. The shelves can be fixed to a wall or placed as freestanding shelves forming aisles in the shopping store. Other examples of inventory display structures include, pegboard shelves, magazine shelves, lazy susan shelves, warehouse shelves, and refrigerated shelving units. The inventory items can also be stocked in other types of inventory display structures such as stacking wire baskets, dump bins, etc. The customers can also put items back on the same shelves from where they were taken or on another shelf.
[0049] The technology disclosed uses the sequences of image frames produced by cameras in the plurality of cameras to identify gestures by detected subjects in the area of real space over a period of time and produce inventory events including data representing identified gestures. The system includes logic to store the inventory events as entries in the inventory events database 150. The inventory event includes a subject identifier identifying a detected subject, a gesture type (e.g., a put or a take) of the identified gesture by the detected subject, an item identifier identifying an inventory item linked to the gesture by the detected subject, a location of the gesture represented by positions in three dimensions of the area of real space and a timestamp for the gesture. The inventory event data is stored as entries in the inventory events database 150.
[0050] The technology disclosed generates for a particular inventory item correlations to data sets related to the particular inventory item. The system includes inventory event location processing engine 180 (hosted on the network node 104) that determines a data set which includes inventory events for the particular inventory item in multiple locations in the area of real space. This activity data can provide different types of information related to the inventory item at multiple locations in the area of real space. In the example of a shopping store, the activity data can identify the counts of inventory events including the particular inventory item in multiple locations in a selected period of time such as an hour, a day or a week. Other examples of activity data includes percentages of inventory events including the particular inventory item at multiple locations or levels relative to a threshold count of inventory events including the particular item in multiple locations. Such information is useful for the store management to determine locations in the store from where the particular inventory item is being purchased in higher numbers. The output from the inventory event location processing engine 180 is stored in inventory item activity database 160.
[0051] The system includes inventory event sequencing engine 190 that uses the inventory events data and selects for a subject (such as a customer or a shopper in the shopping store) a temporally ordered sequence of inventory events leading to a particular inventory event including a particular inventory item. The inventory event sequencing engine 190 determines a data set including inventory items in the temporally ordered sequence of inventory events within a period of time prior to the particular inventory event. Multiple such data sets are determined for multiple subjects. This data can be generated over a period of time and across different shopping stores. The inventory event sequencing engine 190 stores the data sets in the inventory item correlation database 170. This data is analyzed to correlate the particular inventory item of a plurality of data sets with other inventory items in the plurality of data sets. The correlation can identify relationship of the particular inventory item with other inventory items, such as the items purchased together or items considered as alternative to the particular inventory item and not purchased by the shopper.
[0052] In one embodiment, the image analysis is anonymous, i.e., a unique identifier assigned to a subject created through joints analysis does not identify personal identification details (such as names, email addresses, mailing addresses, credit card numbers, bank account numbers, driver’s license number, etc.) of any specific subject in the real space The data stored in the inventory events database 150, inventory item activity database 160, and the inventory item correlation database 170 does not include any personal identification information. The operations of the inventory event location processing engine 180 and the inventory event sequencing engine 190 do not use any personal identification including biometric information associated with the subjects.
[0053] The actual communication path to the network nodes 104 hosting the inventory event location processing engine 180 and the network node 106 hosting the inventory event sequencing engine 190 through the network 181 can be point-to-point over public and/or private networks. The communications can occur over a variety of networks 181, e.g., private networks, VPN, MPLS circuit, or Internet, and can use appropriate application programming interfaces (APIs) and data interchange formats, e.g., Representational State Transfer (REST), JavaScript™ Object Notation (JSON), Extensible Markup Language (XML), Simple Object Access Protocol (SOAP), Java™ Message Service (JMS), and/or Java Platform Module System. All of the communications can be encrypted. The communication is generally over a network such as a LAN (local area network), WAN (wide area network), telephone network (Public Switched Telephone Network (PSTN), Session Initiation Protocol (SIP), wireless network, point-to-point network, star network, token ring network, hub network, Internet, inclusive of the mobile Internet, via protocols such as EDGE, 3G, 4G LTE, Wi-Fi, and WiMAX. Additionally, a variety of authorization and authentication techniques, such as usemame/password, Open Authorization (OAuth), Kerberos, SecurelD, digital certificates and more, can be used to secure the communications.
[0054] The technology disclosed herein can be implemented in the context of any computer-implemented system including a database system, a multi-tenant environment, or a relational database implementation like an Oracle™ compatible database implementation, an IBM DB2 Enterprise Server™ compatible relational database implementation, a MySQL™ or PostgreSQL™ compatible relational database implementation or a Microsoft SQL Server™ compatible relational database implementation or a NoSQL™ non-relational database implementation such as a Vampire™ compatible non-relational database implementation, an Apache Cassandra™ compatible nonrelational database implementation, a BigTable™ compatible non-relational database implementation or an HBase™ or DynamoDB™ compatible non-relational database implementation. In addition, the technology disclosed can be implemented using different programming models like MapReduce™, bulk synchronous programming, MPI primitives, etc. or different scalable batch and stream management systems like Apache Storm™, Apache Spark™, Apache Kafka™, Apache Flink™, Truviso™, Amazon Elasticsearch Service™,
Amazon Web Services™ (AWS), IBM Info-Sphere™, Borealis™, and Yahoo! S4™.
Camera Arrangement
[0055] The cameras 114 are arranged to track multi-joint subjects (or entities) in a three dimensional
(abbreviated as 3D) real space. In the example embodiment of the shopping store, the real space can include the area of the shopping store where items for sale are stacked in shelves. A point in the real space can be represented by an (x, y, z) coordinate system. Each point in the area of real space for which the system is deployed is covered by the fields of view of two or more cameras 114.
[0056] In a shopping store, the shelves and other inventory display structures can be arranged in a variety of manners, such as along the walls of the shopping store, or in rows forming aisles or a combination of the two arrangements. Fig. 2A shows an arrangement of shelf unit A 202 and shelf unit B 204, forming an aisle 116a, viewed from one end of the aisle 116a. Two cameras, camera A 206 and camera B 208 are positioned over the aisle 116a at a predetermined distance from a roof 230 and a floor 220 of the shopping store above the inventory display structures, such as shelf units A 202 and shelf unit B 204. The cameras 114 comprise cameras disposed over and having fields of view encompassing respective parts of the inventory display structures and floor area in the real space. The field of view 216 of the camera A 206 and the field of view 218 of the camera B 208 overlap with each other as shown in the Fig. 2A. The coordinates in real space of members of a set of candidate joints, identified as a subject, identify locations of the subject in the floor area.
[0057] In the example embodiment of the shopping store, the real space can include all of the floor 220 in the shopping store. Cameras 114 are placed and oriented such that areas of the floor 220 and shelves can be seen by at least two cameras. The cameras 114 also cover floor space in front of the shelves 202 and 204. Camera angles are selected to have both steep perspective, straight down, and angled perspectives that give more full body images of the customers. In one example embodiment, the cameras 114 are configured at an eight (8) foot height or higher throughout the shopping store.
[0058] In Fig. 2A, a subject 240 is standing by an inventory display structure shelf unit B 204, with one hand positioned close to a shelf (not visible) in the shelf unit B 204. Fig. 2B is a perspective view of the shelf unit B 204 with four shelves, shelf 1, shelf 2, shelf 3, and shelf 4 positioned at different levels from the floor. The inventory items are stocked on the shelves.
Three Dimensional Scene Generation
[0059] A location in the real space is represented as a (x, y, z) point of the real space coordinate system
“x” and“y” represent positions on a two-dimensional (2D) plane which can be the floor 220 of the shopping store. The value“z” is the height of the point above the 2D plane at floor 220 in one configuration. The system combines 2D image frames from two or cameras to generate the three dimensional positions of joints and inventory events (indicating puts and takes of items from shelves) in the area of real space. This section presents a description of the process to generate 3D coordinates of joints and inventory events. The process is an example of 3D scene generation.
[0060] Before using the system 100 in training or inference mode to track the inventory items, two types of camera calibrations: internal and external, are performed. In internal calibration, the internal parameters of the cameras 114 are calibrated. Examples of internal camera parameters include focal length, principal point, skew, fisheye coefficients, etc. A variety of techniques for internal camera calibration can be used. One such technique is presented by Zhang in“A flexible new technique for camera calibration” published in IEEE Transactions on Pattern Analysis and Machine Intelligence, Volume 22, No. 11, November 2000.
[0061] In external calibration, the external camera parameters are calibrated in order to generate mapping parameters for translating the 2D image data into 3D coordinates in real space. In one embodiment, one multi-joint subject, such as a person, is introduced into the real space. The multi-joint subject moves through the real space on a path that passes through the field of view of each of the cameras 114. At any given point in the real space, the multijoint subject is present in the fields of view of at least two cameras forming a 3D scene. The two cameras, however, have a different view of the same 3D scene in their respective two-dimensional (2D) image planes. A feature in the 3D scene such as a left-wrist of the multi-joint subject is viewed by two cameras at different positions in their respective 2D image planes.
[0062] A point correspondence is established between every pair of cameras with overlapping fields of view for a given scene. Since each camera has a different view of the same 3D scene, a point correspondence is two pixel locations (one location from each camera with overlapping field of view) that represent the projection of the same point in the 3D scene. Many point correspondences are identified for each 3D scene using the results of the image recognition engines 112a to 112n for the purposes of the external calibration. The image recognition engines identify the position of a joint as (x, y) coordinates, such as row and column numbers, of pixels in the 2D image planes of respective cameras 114. In one embodiment, a joint is one of 19 different types of joints of the multi-joint subject. As the multi-joint subject moves through the fields of view of different cameras, the tracking engine 110 receives (x, y) coordinates of each of the 19 different types of joints of the multi-joint subject used for the calibration from cameras 114 per image.
[0063] For example, consider an image from a camera A and an image from a camera B both taken at the same moment in time and with overlapping fields of view. There are pixels in an image from camera A that correspond to pixels in a synchronized image from camera B. Consider that there is a specific point of some object or surface in view of both camera A and camera B and that point is captured in a pixel of both image frames. In external camera calibration, a multitude of such points are identified and referred to as corresponding points. Since there is one multi-joint subject in the field of view of camera A and camera B during calibration, key joints of this multi-joint subject are identified, for example, the center of left wrist. If these key joints are visible in image frames from both camera A and camera B then it is assumed that these represent corresponding points. This process is repeated for many image frames to build up a large collection of corresponding points for all pairs of cameras with overlapping fields of view. In one embodiment, image frames are streamed off of all cameras at a rate of 30 FPS (frames per second) or more and a resolution of 720 pixels in full RGB (red, green, and blue) color. These image frames are in the form of one-dimensional arrays (also referred to as flat arrays).
[0064] The large number of image frames collected above for a multi-joint subject are used to determine corresponding points between cameras with overlapping fields of view. Consider two cameras A and B with overlapping field of view. The plane passing through camera centers of cameras A and B and the joint location (also referred to as feature point) in the 3D scene is called the“epipolar plane”. The intersection of the epipolar plane with the 2D image planes of the cameras A and B defines the“epipolar line”. Given these corresponding points, a transformation is determined that can accurately map a corresponding point from camera A to an epipolar line in camera B’s field of view that is guaranteed to intersect the corresponding point in the image frame of camera B. Using the image frames collected above for a multi-joint subject, the transformation is generated. It is known in the art that this transformation is non-linear. The general form is furthermore known to require compensation for the radial distortion of each camera’s lens, as well as the non-linear coordinate transformation moving to and from the projected space. In external camera calibration, an approximation to the ideal non-linear transformation is determined by solving a non-linear optimization problem. This non-linear optimization function is used by the subject tracking engine 110 to identify the same joints in outputs (arrays of joint data structures) of different image recognition engines 112a to 112n, processing image frames of cameras 114 with overlapping fields of view. The results of the internal and external camera calibration are stored in calibration database.
[0065] A variety of techniques for determining the relative positions of the points in image frames of cameras 114 in the real space can be used. For example, Longuet-Higgins published,“A computer algorithm for reconstructing a scene from two projections” in Nature, Volume 293, 10 September 1981. This paper presents computing a three-dimensional structure of a scene from a correlated pair of perspective projections when spatial relationship between the two projections is unknown., Longuet-Higgins paper presents a technique to determine the position of each camera in the real space with respect to other cameras. Additionally, their technique allows triangulation of a multi-joint subject in the real space, identifying the value of the z-coordinate (height from the floor) using image frames from cameras 114 with overlapping fields of view. An arbitrary point in the real space, for example, the end of a shelf unit in one comer of the real space, is designated as a (0, 0, 0) point on the (x, y, z) coordinate system of the real space.
[0066] In an embodiment of the technology, the parameters of the external calibration are stored in two data structures. The first data structure stores intrinsic parameters. The intrinsic parameters represent a projective transformation from the 3D coordinates into 2D image coordinates. The first data structure contains intrinsic parameters per camera as shown below. The data values are all numeric floating point numbers. This data structure stores a 3x3 intrinsic matrix, represented as“K” and distortion coefficients. The distortion coefficients include six radial distortion coefficients and two tangential distortion coefficients. Radial distortion occurs when light rays bend more near the edges of a lens than they do at its optical center. Tangential distortion occurs when the lens and the image plane are not parallel. The following data structure shows values for the first camera only. Similar data is stored for all the cameras 114.
{
1: {
K: [[x, x, x], [x, x, x], [x, x, x]],
distortion coefficients: [x, x, x, x, x, x, x, x]
},
}
[0067] The second data structure stores per pair of cameras: a 3x3 fundamental matrix (F), a 3x3 essential matrix (E), a 3x4 projection matrix (P), a 3x3 rotation matrix (R) and a 3x1 translation vector (t). This data is used to convert points in one camera’s reference frame to another camera’s reference frame. For each pair of cameras, eight homography coefficients are also stored to map the plane of the floor 220 from one camera to another. A fundamental matrix is a relationship between two image frames of the same scene that constrains where the projection of points from the scene can occur in both image frames. Essential matrix is also a relationship between two image frames of the same scene with the condition that the cameras are calibrated. The projection matrix gives a vector space projection from 3D real space to a subspace. The rotation matrix is used to perform a rotation in Euclidean space. Translation vector“t” represents a geometric transformation that moves every point of a figure or a space by the same distance in a given direction. The homography floor coefficients are used to combine image frames of features of subjects on the floor 220 viewed by cameras with overlapping fields of views. The second data structure is shown below. Similar data is stored for all pairs of cameras. As indicated previously, the x’s represents numeric floating point numbers. 1 : (
2: {
F: [[x, x, x], [x, x, x], [x, x, x]],
E: [[x, x, x], [x, x, x], [x, x, x]],
P: [[x, x, x, x], [x, x, x, x], [x, x, x, x]],
R: [[x, x, x], [x, x, x], [x, x, x]],
t: [x, x, x],
homography floor coefficients: [x, x, x, x, x, x, x, x]
}
},
}
Two dimensional and Three dimensional Maps
[0068] An inventory location, such as a shelf, in a shopping store can be identified by a unique identifier
(e.g., shelf id). Similarly, a shopping store can also be identified by a unique identifier (e.g., store id). The two dimensional (2D) and three dimensional (3D) maps database 140 identifies inventory locations in the area of real space along the respective coordinates. For example, in a 2D map, the locations in the maps define two dimensional regions on the plane formed perpendicular to the floor 220 i.e., XZ plane as shown in Fig. 3. The map defines an area for inventory locations where inventory items are positioned. In Fig. 3, a 2D view 360 of shelf 1 in shelf unit B 204 shows an area formed by four coordinate positons (xl, zl), (xl, z2), (x2, z2), and (x2, zl) defines a 2D region in which inventory items are positioned on the shelf 1. Similar 2D areas are defined for all inventory locations in all shelf units (or other inventory display structures) in the shopping store. This information is stored in the maps database 140.
[0069] In a 3D map, the locations in the map define three dimensional regions in the 3D real space defined by X, Y, and Z coordinates. The map defines a volume for inventory locations where inventory items are positioned. In Fig. 3, a 3D view 350 of shelf 1 in shelf unit B 204 shows a volume formed by eight coordinate positions (xl, yl, zl), (xl, yl, z2), (xl, y2, zl), (xl, y2, z2), (x2, yl, zl), (x2, yl, z2), (x2, y2, zl), (x2, y2, z2) defines a 3D region in which inventory items are positioned on the shelf 1. Similar 3D regions are defined for inventory locations in all shelf units in the shopping store and stored as a 3D map of the real space (shopping store) in the maps database 140. The coordinate positions along the three axes can be used to calculate length, depth and height of the inventory locations as shown in Fig. 3.
[0070] In one embodiment, the map identifies a configuration of units of volume which correlate with portions of inventory locations on the inventory display structures in the area of real space. Each portion is defined by stating and ending positions along the three axes of the real space. Similar configuration of portions of inventory locations can also be generated using a 2D map of inventory locations dividing the front plan of the display structures.
[0071] The items in a shopping store are arranged in some embodiments according to a planogram which identifies the inventory locations (such as shelves) on which a particular item is planned to be placed. For example, as shown in an illustration 360 in Fig. 3, a left half portion of shelf 3 and shelf 4 are designated for an item (which is stocked in the form of cans).
[0072] The technology disclosed can calculate a“realogram” of the shopping store at any time "t" which is the real time map of locations of inventory items in the area of real space, which can be correlated in addition in some embodiments with inventory locations in the store. A realogram can be used to create a planogram by identifying inventory items and a position in the store, and mapping them to inventory locations. In an embodiment, the system or method can create a data set defining a plurality of cells having coordinates in the area of real space. The system or method can divide the real space into a data set defining a plurality of cells using the length of the cells along the coordinates of the real space as an input parameter. In one embodiment, the cells are represented as two dimensional grids having coordinates in the area of real space. For example, the cells can correlate with 2D grids (e.g. at 1 foot spacing) of front plan of inventory locations in shelf units (also referred to as inventory display structures). Each grid is defined by its starting and ending positions on the coordinates of the two dimensional plane such as x and z coordinates. This information is stored in maps database 140.
[0073] In another embodiment, the cells are represented as three dimensional (3D) grids having coordinates in the area of real space. In one example, the cells can correlate with volume on inventory locations (or portions of inventory locations) in shelf units in the shopping store. In this embodiment, the map of the real space identifies a configuration of units of volume which can correlate with portions of inventory locations on inventory display structures in the area of real space. This information is stored in maps database 140. The realogram of the shopping store indicates inventory items associated with inventory events matched by their locations to cells at any time / by using timestamps of the inventory events stored in the inventory events database 150.
[0074] The inventory event location processing engine 180 includes logic that matches the inventory events for the particular inventory item in multiple locations to cells in the data set defining the plurality of cells.
The inventory event location processing system can further map the inventory events to inventory locations matched with the cells in the data set defining the plurality of cells having coordinates in the area of real space.
Joints Data Structure
[0075] The image recognition engines 112a- 112n receive the sequences of image frames from cameras
114 and process image frames to generate corresponding arrays of joints data structures. The system includes processing logic that uses the sequences of image frames produced by the plurality of camera to track locations of a plurality of subjects (or customers in the shopping store) in the area of real space. In one embodiment, the image recognition engines 112a-l 12n identify one of the 19 possible joints of a subject at each element of the image, usable to identify subjects in the area who may be taking and putting inventory items. The possible joints can be grouped in two categories: foot joints and non-foot joints. The 19th type of joint classification is for all non-joint features of the subject ( i. e . elements of the image not classified as a joint). In other embodiments, the image recognition engine may be configured to identify the locations of hands specifically. Also, other techniques, such as a user check-in procedure or biometric identification processes, may be deployed for the purposes of identifying the subjects and linking the subjects with detected locations of their hands as they move throughout the store.
Foot Joints:
Ankle joint (left and right)
Non-foot Joints:
Neck Nose
Eyes (left and right)
Ears (left and right)
Shoulders (left and right)
Elbows (left and right)
Wrists (left and right)
Hip (left and right)
Knees (left and right)
Not a joint
[0076] An array of joints data structures for a particular image classifies elements of the particular image by joint type, time of the particular image, and the coordinates of the elements in the particular image. In one embodiment, the image recognition engines 112a-l 12n are convolutional neural networks (CNN), the joint type is one of the 19 types of joints of the subjects, the time of the particular image is the timestamp of the image generated by the source camera 114 for the particular image, and the coordinates (x, y) identify the position of the element on a 2D image plane.
[0077] The output of the CNN is a matrix of confidence arrays for each image per camera. The matrix of confidence arrays is transformed into an array of joints data structures. A joints data structure 400 as shown in Fig. 4 is used to store the information of each joint. The joints data structure 400 identifies x and y positions of the element in the particular image in the 2D image space of the camera from which the image is received. A joint number identifies the type of joint identified. For example, in one embodiment, the values range from 1 to 19. A value of 1 indicates that the joint is a left ankle, a value of 2 indicates the joint is a right ankle and so on. The type of joint is selected using the confidence array for that element in the output matrix of CNN. For example, in one embodiment, if the value corresponding to the left-ankle joint is highest in the confidence array for that image element, then the value of the joint number is“1”.
[0078] A confidence number indicates the degree of confidence of the CNN in predicting that joint. If the value of confidence number is high, it means the CNN is confident in its prediction. An integer-id is assigned to the joints data structure to uniquely identify it. Following the above mapping, the output matrix of confidence arrays per image is converted into an array of joints data structures for each image. In one embodiment, the joints analysis includes performing a combination of k-nearest neighbors, mixture of Gaussians, and various image morphology transformations on each input image. The result comprises arrays of joints data structures which can be stored in the form of a bit mask in a ring buffer that maps image numbers to bit masks at each moment in time.
Subject Tracking Engine
[0079] The tracking engine 110 is configured to receive arrays of joints data structures generated by the image recognition engines 112a-l 12n corresponding to image frames in sequences of image frames from cameras having overlapping fields of view. The arrays of joints data structures per image are sent by image recognition engines 112a-l 12n to the tracking engine 110 via the network(s) 181. The tracking engine 110 translates the coordinates of the elements in the arrays of joints data structures corresponding to image frames in different sequences into candidate joints having coordinates in the real space. A location in the real space is covered by the field of views of two or more cameras. The tracking engine 110 comprises logic to detect sets of candidate joints having coordinates in real space (constellations of joints) as subjects in the real space. In one embodiment, the tracking engine 110 accumulates arrays of joints data structures from the image recognition engines for all the cameras at a given moment in time and stores this information as a dictionary in a subject database, to be used for identifying a constellation of candidate joints. The dictionary can be arranged in the form of key-value pairs, where keys are camera ids and values are arrays of joints data structures from the camera. In such an embodiment, this dictionary is used in heuristics-based analysis to determine candidate joints and for assignment of joints to subjects. In such an embodiment, a high-level input, processing and output of the tracking engine 110 is illustrated in table 1. Details of the logic applied by the subject tracking engine 110 to detect subjects by combining candidate joints and track movement of subjects in the area of real space are presented in United States Patent No. 10,055,853, issued 21 August 2018, titled,“Subject Identification and Tracking Using Image Recognition Engine” which is incorporated herein by reference. The detected subjects are assigned unique identifiers (such as“subject id”) to track them throughout their presence in the area of real space.
Table 1 : Inputs, processing and outputs from subject tracking engine 110 in an example embodiment.
Figure imgf000017_0001
Subject Data Structure
[0080] The subject tracking engine 110 uses heuristics to connect joints of subjects identified by the image recognition engines 112a-l 12n. In doing so, the subject tracking engine 110 detects new subjects and updates the locations of identified subjects (detected previously) by updating their respective joint locations. The subject tracking engine 110 uses triangulation techniques to project the locations of joints from 2D space coordinates (x, y) to 3D real space coordinates (x, y, z). Fig. 5 shows the subject data structure 500 used to store the subject. The subject data structure 500 stores the subject related data as a key-value dictionary. The key is a“frame id” and the value is another key -value dictionary where key is the camera id and value is a list of 18 joints (of the subject) with their locations in the real space. The subject data is stored in the subject database. Every new subject is also assigned a unique identifier that is used to access the subject’s data in the subject database.
[0081] In one embodiment, the system identifies joints of a subject and creates a skeleton of the subject.
The skeleton is projected into the real space indicating the position and orientation of the subject in the real space. This is also referred to as“pose estimation” in the field of machine vision. In one embodiment, the system displays orientations and positions of subjects in the real space on a graphical user interface (GUI). In one embodiment, the subject identification and image analysis are anonymous, i.e., a unique identifier assigned to a subject created through joints analysis does not identify personal identification information of the subject as described above.
[0082] For this embodiment, the joints constellation of an identified subject, produced by time sequence analysis of the joints data structures, can be used to locate the hand of the subject. For example, the location of a wrist joint alone, or a location based on a projection of a combination of a wrist joint with an elbow joint, can be used to identify the location of hand of an identified subject.
Inventory Events
[0083] Fig. 6 presents subsystem components implementing the system for tracking changes by subjects in an area of real space. The system comprises of the plurality of cameras 114 producing respective sequences of image frames of corresponding fields of view in the real space. The field of view of each camera overlaps with the field of view of at least one other camera in the plurality of cameras as described above. In one embodiment, the sequences of image frames corresponding to the image frames produced by the plurality of cameras 114 are stored in a circular buffer 602 (also referred to as a ring buffer). Each image frame has a timestamp, identity of the camera (abbreviated as“camera id”), and a frame identity (abbreviated as“frame id”) along with the image data. Circular buffer 602 store a set of consecutively timestamped image frames from respective cameras 114. In one embodiment, a separate circular buffer stores image frames per camera 114.
[0084] A first image processors 604 (also referred to as subject identification subsystem), includes first image recognition engines (also referred to as subject image recognition engines), receiving corresponding sequences of image frames from the plurality of cameras 114. The subject image recognition engines process image frames to generate first data sets that identify subjects and locations of subjects represented in the image frames in the corresponding sequences of image frames in the real space. In one embodiment, the subject image recognition engines are implemented as convolutional neural networks (CNNs) referred to as joints CNN 112a-112n. Joints of a single subject can appear in image frames of multiple cameras in a respective image channel. The outputs of joints CNNs 112a-l 12n corresponding to cameras with overlapping fields of view are combined to map the location of joints from 2D image coordinates of each camera to 3D coordinates of real space. The joints data structures 400 per subject (j) where j equals 1 to x, identify locations of joints of a subject (j) in the real space and in 2D space for each image. Some details of subject data structure 400 are presented in Fig. 4.
[0085] The second image processors 606 (also referred to as region proposals subsystem) include second image recognition engines (also referred to as foreground image recognition engines) receiving image frames from the sequences of image frames. The second image processors include logic to identify and classify foreground changes represented in the image frames in the corresponding sequences of image frames. The second image processors 606 include logic to process the first data sets (that identify subjects) to specify bounding boxes which include images of hands of the identified subjects in image frames in the sequences of image frames. As shown in Fig. 6, the subsystem 606 includes a bounding box generator 608, a WhatCNN 610 and a WhenCNN 612. The joint data structures 400 and image frames per camera from the circular buffer 602 are given as input to the bounding box generator 608. The bounding box generator 608 implements the logic to process the data sets to specify bounding boxes which include images of hands of identified subjects in image frames in the sequences of image frames. The bounding box generator identifies locations of hands in each source image frame per camera using for example, locations of wrist joints (for respective hands) and elbow joints in the multi-joints subject data structures 500 corresponding to the respective source image frame. In one embodiment, in which the coordinates of the joints in subject data structure indicate location of joints in 3D real space coordinates, the bounding box generator maps the joint locations from 3D real space coordinates to 2D image coordinates in the image frames of respective source images.
[0086] The bounding box generator 608 creates bounding boxes for hands in image frames in a circular buffer per camera 114. In one embodiment, the bounding box is a 128 pixels (width) by 128 pixels (height) portion of the image frame with the hand located in the center of the bounding box. In other embodiments, the size of the bounding box is 64 pixels x 64 pixels or 32 pixels x 32 pixels. For m subjects in an image frame from a camera, there can be a maximum of 2m hands, thus 2m bounding boxes. However, in practice fewer than 2m hands are visible in an image frame because of occlusions due to other subjects or other objects. In one example embodiment, the hand locations of subjects are inferred from locations of elbow and wrist joints. For example, the right hand location of a subject is extrapolated using the location of the right elbow (identified as pi) and the right wrist (identified as p2) as extrapolation amount * (p2 - pi) + p2 where extrapolation amount equals 0.4. In another embodiment, the joints CNN 112a-l 12n are trained using left and right hand images. Therefore, in such an embodiment, the joints CNN 112a-l 12n directly identify locations of hands in image frames per camera. The hand locations per image frame are used by the bounding box generator to create a bounding box per identified hand.
[0087] In one embodiment, the WhatCNN and the WhenCNN models are implemented convolutional neural networks (CNN). WhatCNN is a convolutional neural network trained to process the specified bounding boxes in the image frames to generate a classification of hands of the identified subjects. One trained WhatCNN processes image frames from one camera. In the example embodiment of the shopping store, for each hand in each image frame, the WhatCNN identifies whether the hand is empty. The WhatCNN also identifies a SKU (stock keeping unit) number of the inventory item in the hand, a confidence value indicating the item in the hand is a non- SKU item ( i.e . it does not belong to the shopping store inventory) and a context of the hand location in the image frame.
[0088] The outputs of WhatCNN models 610 for all cameras 114 are processed by a single WhenCNN model 612 for a pre-determined window of time. In the example of a shopping store, the WhenCNN performs time series analysis for both hands of subjects to identify gestures by detected subjects and produce inventory events. The inventory events are stored as entries in the inventory events database 150. The inventory events identify whether a subject took a store inventory item from a shelf or put a store inventory item on a shelf. The technology disclosed uses the sequences of image frames produced by at least two cameras in the plurality of cameras to find a location of an inventory event. The WhenCNN executes analysis of data sets from sequences of image frames from at least two cameras to determine locations of inventory events in three dimensions and to identify item associated with the inventory event. A time series analysis of the output of WhenCNN per subject over a period of time is performed to identify gestures and produce inventory events and their time of occurrence. A non-maximum suppression (NMS) algorithm is used for this purpose. As one inventory event (i.e. put or take of an item by a subject) is produced by WhenCNN multiple times (both from the same camera and from multiple cameras), the NMS removes superfluous events for a subject. NMS is a rescoring technique comprising two main tasks:“matching loss” that penalizes superfluous detections and“joint processing” of neighbors to know if there is a better detection close-by.
[0089] The true events of takes and puts for each subject are further processed by calculating an average of the SKU logits for 30 image frames prior to the image frame with the true event. Finally, the arguments of the maxima (abbreviated arg max or argmax) is used to determine the largest value. The inventory item classified by the argmax value is used to identify the inventory item put on the shelf or taken from the shelf. The technology disclosed attributes the inventory event to a subject by assigning the inventory item associated with the inventory to a log data structure 614 (or shopping cart data structure) of the subject. The inventory item is added to a log of SKUs (also referred to as shopping cart or basket) of respective subjects. The image frame identifier“frame id,” of the image frame which resulted in the inventory event detection is also stored with the identified SKU. The logic to attribute the inventory event to the customer matches the location of the inventory event to a location of one of the customers in the plurality of customers. For example, the image frame can be used to identify 3D position of the inventory event, represented by the position of the subject’s hand in at least one point of time during the sequence that is classified as an inventory event using the subject data structure 500, which can be then used to determine the inventory location from where the item was taken from or put on. The technology disclosed uses the sequences of image frames produced by at least two cameras in the plurality of cameras to find a location of an inventory event and creates an inventory event data structure. In one embodiment, the inventory event data structure stores item identifier, a put or take indicator, coordinates in three dimensions of the area of real space and a time stamp. In one embodiment, the inventory events are stored as entries in the inventory events database 150.
[0090] The locations of inventory events (indicating puts and takes of inventory items by subjects in an area of space) can be compared with a planogram or other map of the store to identify an inventory location, such as a shelf, from which the subject has taken the item or placed the item on. In one embodiment, the determination of a shelf in a shelf unit is performed by calculating a shortest distance from the position of the hand associated with the inventory event. This determination of shelf is then used to update the inventory data structure of the shelf. An example inventory data structure 614 (also referred to as a log data structure) shown in Fig. 7. This inventory data structure stores the inventory of a subject, shelf or a store as a key -value dictionary. The key is the unique identifier of a subject, shelf or a store and the value is another key value-value dictionary where key is the item identifier such as a stock keeping unit (SKU) and the value is a number identifying the quantity of item along with the“frame id” of the image frame that resulted in the inventory event prediction. The frame identifier (“frame id”) can be used to identify the image frame which resulted in identification of an inventory event resulting in association of the inventory item with the subject, shelf, or the store. In other embodiments, a“camera id” identifying the source camera can also be stored in combination with the frame id in the inventory data structure 614. In one embodiment, the“frame id” is the subject identifier because the frame has the subject’s hand in the bounding box. In other embodiments, other types of identifiers can be used to identify subjects such as a“subject id” which explicitly identifies a subject in the area of real space.
[0091] When the shelf inventory data structure is consolidated with the subject’s log data structure, the shelf inventory is reduced to reflect the quantity of item taken by the customer from the shelf. If the item was put on the shelf by a customer or an employee stocking items on the shelf, the items get added to the respective inventory locations’ inventory data structures. Over a period of time, this processing results in updates to the shelf inventory data structures for all inventory locations in the shopping store. Inventory data structures of inventory locations in the area of real space are consolidated to update the inventory data structure of the area of real space indicating the total number of items of each SKU in the store at that moment in time. In one embodiment, such updates are performed after each inventory event. In another embodiment, the store inventory data structures is updated periodically.
[0092] Detailed implementation of the implementations of WhatCNN and WhenCNN to detect inventory events is presented in United States Patent No. 10,133,933, issued 20 November 2018, titled,“Item Put and Take Detection Using Image Recognition” which is incorporated herein by reference as if fully set forth herein. Inventory Item Correlations Analysis
[0093] The inventory events data generated by the analysis of the sequences of image frames from cameras with overlapping field of views is used by an analytics engine to generate correlations of inventory items in space and time. Fig. 8A is a high level architecture of a system to perform inventory item correlation analysis. It comprises of cameras 114 producing sequencing of image frames that are processed by an event identification engine 801 and stored in the inventory database 150. In one embodiment the event identification engine comprises of JointsCNN 112a-112n, WhatCNN 610, and WhenCNN 612 to produce inventory events as described above. Other types of image analysis can be performed to generate the inventory events data. In another embodiment, the architecture includes a“semantic diffing” subsystem. The semantic subsystem can be used independently to produce the inventory events data or it can be used in parallel to the second image processors 606 to identify gestures by detected subjects and produce inventory events. This semantic diffing subsystem includes background image recognition engines, which receive corresponding sequences of image frames and recognize semantically significant differences in the background ( i. e . inventory display structures like shelves) as they relate to puts and takes of inventory items, for example, over time in the image frames from each camera. The semantic diffing subsystem receives output of the subject identification subsystem 604 and image frames from cameras 114 as input. Details of“semantic diffing” subsystem are presented in United States Patent No. 10,127,438, issued 13 November 2018, titled,“Predicting Inventory Events using Semantic Diffing,” and United States Patent Application No. 15/945,473, filed 04 April 2018, titled,“Predicting Inventory Events using Foreground/Background Processing,” both of which are incorporated herein by reference as if fully set forth herein.
[0094] The analytics engine 803 that includes logic that generates for a particular inventory item correlations to data sets related to the particular inventory item. Examples of data sets include inventory events for the particular inventory item in multiple locations in the area of real space or data sets including other inventory items in a temporally ordered sequence of inventory events prior to an inventory event including the particular inventory item. In one embodiment, the analytics engine generates graphical constructs with actionable data for these correlations. The graphical constructs are displayed on user interfaces of computing devices 805.
Inventory Item to Multiple Locations Correlation Analysis
[0095] Fig. 8B presents an example architecture for inventory event location processing engine 180 for performing correlations analysis for an inventory item in multiple locations in the area of real space. The system includes logic that determines a data set including the inventory events for the particular inventory item in multiple locations in the area of real space. The system includes logic to display on user interface a graphical construct indicating activity related to the particular inventory item in the multiple locations. For this analysis, the inventory events are selected using a query 818 for a particular inventory item identified by a unique identifier such as a SKU (stock keeping unit). The inventory events for the particular inventory item are further selected for a period of time using a time-range query 816. The event accumulator 820 sends the selected data set of inventory events for the particular inventory item in multiple locations in the area of real space to a heat map generator 822. In one embodiment, the inventory event selection logic includes logic that selects inventory events that include the particular inventory item including a parameter that indicates the inventory item is sold to the identified subject.
[0096] The heat map generator 822 displays a graphical construct on user interface indicating activity related to the particular inventory item in the multiple locations. In one embodiment, the heat map generator creates clusters of inventory events using the positions of the inventory events in the three dimensions of the area of real space. For example, two inventory events are considered to belong to a same cluster if these are with a pre-defined Euclidean distance threshold (such as 3 feet). Known cluster analysis techniques such as k-means or DBSCAN can be applied to create clusters of inventory events. In one embodiment, the locations of centroid of the clusters are mapped to the area of real space to identity locations of activity related to the inventory item.
[0097] In one embodiment, as described above, in which a data set defining a plurality of cells having coordinates in the area of real space is available, the system includes logic that matches inventory events for the particular inventory item in multiple locations to cells in the data set defining the plurality of cells. In such an embodiment, the cells matching the inventory event locations, are used to present item-to-multiple-locations correlation data in the 2D and/or 3D item attribution maps. One or more cells can be combined at one location for illustration purposes. In one embodiment, the locations of inventory locations (such as shelves in inventory display structures) are available. In such an embodiment, the inventory display structure comprising inventory locations are matched with cells in the data set defining the plurality of cells having coordinates in the area of real space. The 2D and 3D locations of inventory locations in the area of real space are stored in the maps database 140 as described above. The heat map generator queries the maps database 140 to retrieve this information.
[0098] The system includes logic that matches cells to inventory locations and generates heat maps for inventory locations using the activity related to the particular inventory item in multiple locations. One example graphical construct is shown in the 2D item attribution map 826. The 2D item attribution map shows the activity related to the particular item in portions as a top view of inventory locations such as shelves. In Fig. 8B, a portion of the 2D map of the area of real space is shown as 2D item attribution map 826 for illustration purposes. The 2D item attribution map 826 shows a top view of inventory display structures 828, 830, and 832 comprising of shelves at different levels. The shelves at different levels are not visible in the 2D item attribution map. The map 826 shows that there are two locations 834 and 836 at which the activity occurred related to inventory item during the selected period of time.
[0099] The activity analysis can provide graphical illustrations to present this item to multiple locations correlation data. In one embodiment, the activity related to the particular inventory item includes percentages of total inventory events including the particular inventory item in the multiple locations in the period of time. The clusters indicating the item to multiple locations correlation data are mapped to 2D maps of inventory locations in the area of real space. In this embodiment, the activity of the inventory item in multiple locations 834 and 836 indicates that 87% percent of items are taken from location 834 and 13% of the items are taken from the inventory location 836. In another embodiment, the activity related to the particular inventory item includes counts of the inventory events including the particular inventory item in the multiple locations in the period of time. In yet another embodiment, the activity related to the particular item includes levels relative to a threshold count of inventory events including the particular inventory item in multiple locations in the period of time. In such an embodiment, when the level of inventory items at a location falls below the threshold level, a notification is sent to store employee to restock inventory items at that location.
[0100] The heat map generator 822 also generates a 3D item attribution map 840 illustrating the item to multiple locations correlation. In this embodiment, the item to multiple locations correlation data is mapped to 3D cells in the area of real space. The heat map generator uses the positons of the inventory events in the three coordinates of the area of real space to create clusters as described above. This graphical representation provides further details about inventory events. For example, in the 2D item attribution map shows the location 834 shows 87% percent of the items are taken from this location. In 3D item attribution map, the location 834 is further divided into two clusters (comprising one or more cells). The 3D graphical illustrations in the map 840 shows more items (54%) are taken from top shelves at location 834 than bottom shelves (33%). The 3D cells shown in the map 840 can match a single shelf or more than one shelf according to level of granularity desired. Similarly at location 836, the 3D item attribution map shows 7% of items are taken from the top level shelves as compared to 6% from bottom level shelves. The heat map generator stores the item attribution maps 826 and 840 in the inventory item activity database 160.
[0101] Figure 8C shows the 3D item attribution map 840 displayed on a graphical user interface 860 of a computing device. The user interface has a set of widgets 862 that correspond with preset queries to the database.
An example of a preset query include retrieving the inventory locations from where a particular inventory item is taken by customers during a time interval such as one day or one week etc. Another example of a present query includes listing alternative considered items for a particular inventory item. It is understood that a variety of user interface designs can be implemented to present the preset queries to users. For example, a row of buttons (or widgets) on top of a page as shown in Fig. 8C. In another user interface design the buttons can be positioned on different pages of the user interface. Users of the system can also generate notifications to store employees, for example, to restock inventory items on the shelves. The data can be used for planning purposes such as identifying inventory locations from where most of the shoppers take a particular item. The store planogram can then be updated using this information to efficiently utilize space on inventory locations.
Inventory Item to Chronologically Related Items Correlations Analysis
[0102] Another example of a correlation analysis performed by the technology disclosed is to determine chronologically related inventory items to a particular inventory item by using the inventory events stored in the inventory events database 150. Fig. 9 presents a process flowchart to perform this correlation analysis. The logic can be implemented using processors, programmed using computer programs, stored in memory accessible and executable by the processors, and in other configurations, by dedicated logic hardware, including field
programmable integrated circuits, and by combinations of dedicated logic hardware and computer programs. With all flowcharts herein, it will be appreciated that many of the steps can be combined, performed in parallel, or performed in a different sequence, without affecting the functions achieved. In some cases, as the reader will appreciate, a rearrangement of steps will achieve the same results only if certain other changes are made as well. In other cases, as the reader will appreciate, a rearrangement of steps will achieve the same results only if certain conditions are satisfied. Furthermore, it will be appreciated that the flow charts herein show only steps that are pertinent to an understanding of the embodiments, and it will be understood that numerous additional steps for accomplishing other functions can be performed before, after and between those shown.
[0103] The process starts at step 902. At step 904 all inventory events that resulted in sale of a particular inventory item in a specified period of time are retrieved from the inventory events database 150, or at least one inventory event is retrieved. The time period can be defined as desired e.g., an hour, a day or a week. For each of the inventory event entry selected above, the technology disclosed selects for a subject identified in the inventory event, a temporally ordered sequence of inventory events leading to the particular inventory event including a particular inventory item (step 906). The processing system stores the temporally ordered sequence of inventory events in data sets including inventory items in the temporally ordered sequence of inventory events within a period of time. The time series data per data set does not require subject identification information to perform the correlation analysis to determine chronologically related items to the particular inventory item. In one embodiment, the data sets are fdtered to keep only the“take” inventory events entries and filter out the“put” inventory events entries. At step 908, the“take” inventory events resulting in sale of inventory items are further filtered out from the data sets including inventory items in the temporally ordered sequence of inventory events leading to the particular inventory events including a particular inventory item.
[0104] The system includes logic to accumulate the plurality of data sets as described above. The system stores the accumulated data sets in a data structure. The data structure is configured for use to analyze the data to correlate the particular inventory item of a plurality of data sets with other inventory items in the plurality of data sets. In one embodiment, the data structure is used to determine alternative products considered by the shoppers before deciding to purchase particular inventory item. In one embodiment, this information is generated by selecting the inventory items in the data sets immediately preceding the particular inventory item (step 910) in the temporally ordered sequence of inventory events. In another embodiment, more than one preceding items in the temporally ordered sequence in each data set are selected as alternative considered products. Other embodiments can use different selection criteria to identify subset of inventory items each data set are selected for example, selecting events in a period of time preceding the inventory event including the particular inventory item. Additional selection criteria can be applied to determine alternative considered products, for example selecting inventory items within a same product category as the particular inventory item. Finally, the selected inventory items are stored in a global list of inventory items related to the particular inventory item (step 912). The list can include data from more than one store. The logic to determine related inventory items for a particular inventory item operates without the use of personal identifying biometric information associated with the subjects. The process ends at step 914.
[0105] Fig. 10 presents an example architecture for inventory event sequencing engine 190 to perform inventory item to chronologically related items correlation analysis. The system includes logic 1008 to filter inventory events entries in the database to select the events that match a particular inventory item identified by an item identifier such as an SKU. A second criteria in the selection query to select inventory events which resulted in the sale of the particular inventory event. For each subject identified in the selected inventory events, the system selects inventory events entries for the subject identified in a specified time period (such as 30 seconds) prior to the inventory event including the particular inventory item. This results in data sets including inventory items in the temporally ordered sequence of inventory events within the specified period of time. These data sets are shown as SKU event time series 1010 in Fig. 10. A second filter 1012 removes purchased items from each data set. Finally, the data sets 1014 include a temporally ordered sequence of events including items that were taken from the shelves but not purchased by the subjects. The tabulation logic 1016 selects the inventory items from the data sets using the selection criteria as described above. The resulting data is stored in the inventory item correlation database 170.
Network Configuration
[0106] Fig. 11 presents an architecture of a network hosting the inventory event location processing engine 180 which is hosted on the network node 104. The system includes a plurality of network nodes 101a, 101b, 10 In, and 102 in the illustrated embodiment. In such an embodiment, the network nodes are also referred to as processing platforms. Processing platforms (network nodes) 103, lOla-lOln, and 102 and cameras 1112, 1114,
1116, ... 1118 are connected to network(s) 1181. A similar network hosts the inventory event sequencing engine 190 which is hosted on the network node 106. [0107] Fig. 11 shows a plurality of cameras 1112, 1114, 1116, ... 1118 connected to the network(s). A large number of cameras can be deployed in particular systems. In one embodiment, the cameras 1112 to 1118 are connected to the network(s) 1181 using Ethernet-based connectors 1122, 1124, 1126, and 1128, respectively. In such an embodiment, the Ethernet-based connectors have a data transfer speed of 1 gigabit per second, also referred to as Gigabit Ethernet. It is understood that in other embodiments, cameras 114 are connected to the network using other types of network connections which can have a faster or slower data transfer rate than Gigabit Ethernet. Also, in alternative embodiments, a set of cameras can be connected directly to each processing platform, and the processing platforms can be coupled to a network.
[0108] Storage subsystem 1130 stores the basic programming and data constructs that provide the functionality of certain embodiments of the present invention. For example, the various modules implementing the functionality of the inventory event location processing engine 180 may be stored in storage subsystem 1130. The storage subsystem 1130 is an example of a computer readable memory comprising a non-transitory data storage medium, having computer instructions stored in the memory executable by a computer to perform all or any combination of the data processing and image processing functions described herein. In other examples, the computer instructions can be stored in other types of memory, including portable memory, that comprise a non- transitory data storage medium or media, readable by a computer.
[0109] These software modules are generally executed by a processor subsystem 1150. A host memory subsystem 1132 typically includes a number of memories including a main random access memory (RAM) 1134 for storage of instructions and data during program execution and a read-only memory (ROM) 1136 in which fixed instructions are stored. In one embodiment, the RAM 1134 is used as a buffer for storing point cloud data structure tuples generated by the inventory event location processing engine 180.
[0110] A file storage subsystem 1140 provides persistent storage for program and data fries. In an example embodiment, the storage subsystem 1140 includes four 120 Gigabyte (GB) solid state disks (SSD) in a RAID 0 (redundant array of independent disks) arrangement identified by a numeral 1142. In the example embodiment, maps data in the maps database 140, inventory events data in the inventory events database 150, inventory item activity data in the inventory item activity database 160, and the inventory item correlation data in the inventory item correlation database 170 which is not in RAM is stored in RAID 0. In the example embodiment, the hard disk drive (HDD) 1146 is slower in access speed than the RAID 0 1142 storage. The solid state disk (SSD)
1144 contains the operating system and related files for the inventory event location processing engine 180.
[0111] In an example configuration, four cameras 1112, 1114, 1116, 1118, are connected to the processing platform (network node) 103. Each camera has a dedicated graphics processing unit GPU 1 1162, GPU 2 1164, GPU 3 1166, and GPU 4 1168, to process image frames sent by the camera. It is understood that fewer than or more than three cameras can be connected per processing platform. Accordingly, fewer or more GPUs are configured in the network node so that each camera has a dedicated GPU for processing the image frames received from the camera. The processor subsystem 1150, the storage subsystem 1130 and the GPUs 1162, 1164, and 1166 communicate using the bus subsystem 1154.
[0112] A network interface subsystem 1170 is connected to the bus subsystem 1154 forming part of the processing platform (network node) 104. Network interface subsystem 1170 provides an interface to outside networks, including an interface to corresponding interface devices in other computer systems. The network interface subsystem 1170 allows the processing platform to communicate over the network either by using cables (or wires) or wirelessly. A number of peripheral devices such as user interface output devices and user interface input devices are also connected to the bus subsystem 1154 forming part of the processing platform (network node) 104. These subsystems and devices are intentionally not shown in Fig. 11 to improve the clarity of the description. Although bus subsystem 1154 is shown schematically as a single bus, alternative embodiments of the bus subsystem may use multiple busses.
[0113] In one embodiment, the cameras 114 can be implemented using Chameleon3 1.3 MP Color USB 3
Vision (Sony ICX445), having a resolution of 1288 x 964, a frame rate of 30 FPS, and at 1.3 Megapixels per image, with Varifocal Lens having a working distance (mm) of 300 - ¥, a field of view field of view with a 1/3" sensor of 98.2° - 23.8°.
[0114] Any data structures and code described or referenced above are stored according to many implementations in computer readable memory, which comprises a non-transitory computer-readable storage medium, which may be any device or medium that can store code and/or data for use by a computer system. This includes, but is not limited to, volatile memory, non-volatile memory, application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), magnetic and optical storage devices such as disk drives, magnetic tape, CDs (compact discs), DVDs (digital versatile discs or digital video discs), or other media capable of storing computer-readable media now known or later developed.
[0115] The preceding description is presented to enable the making and use of the technology disclosed.
Various modifications to the disclosed implementations will be apparent, and the general principles defined herein may be applied to other implementations and applications without departing from the spirit and scope of the technology disclosed. Thus, the technology disclosed is not intended to be limited to the implementations shown, but is to be accorded the widest scope consistent with the principles and features disclosed herein. The scope of the technology disclosed is defined by the appended claims.

Claims

1. A system for tracking inventory events, in an area of real space, comprising:
a plurality of sensors, sensors in the plurality of sensors producing respective sequences of frames of corresponding fields of view in the real space; and
a processing system coupled to the plurality of sensors and including a database, the processing system including:
logic that uses the sequences of frames produced by sensors in the plurality of sensors to identify gestures by detected subjects in the area of real space over a period of time, and produce inventory events including data representing identified gestures and store the inventory events as entries in the database, the inventory events including a subject identifier identifying a detected subject, a gesture type of the identified gesture by the detected subject, an item identifier identifying an inventory item linked to the gesture by the detected subject, a location of the gesture represented by positions in three dimensions of the area of real space and a timestamp for the gesture, logic to determine a data set in the database, the data set including the inventory events for a particular inventory item in multiple locations in the area of real space, and to display on user interface a graphical construct indicating activity related to the particular inventory item in the multiple location,
wherein the activity related to the particular inventory item includes counts of the inventory events including the particular inventory item in the multiple locations in the period of time.
2. The system of claim 1, wherein the activity related to the particular inventory item includes percentages of total inventory events including the particular inventory item in the multiple locations in the period of time.
3. The system of claim 1, wherein the activity related to the particular item includes levels relative to a threshold count of inventory events including the particular item in the multiple locations in the period of time.
4. The system of claim 1, wherein the field of view of each sensor overlaps with the field of view of at least one other sensor in the plurality of sensors.
5. The system of claim 1, wherein logic that uses the sequences of frames produced by sensors in the plurality of sensors to identify gestures by detected subjects in the area of real space over a period of time, includes first image recognition engines receiving the sequences of frames from the plurality of sensors, which process frames to generate first data sets that identify subjects and locations of the identified gestures in the real space.
6. The system of claim 5, wherein the first image recognition engines comprise convolutional neural networks.
7. The system of claim 5, including logic to process the first data sets to specify bounding boxes which include images of hands of the identified subjects in frames in the sequences of frames, and to perform time sequence analysis of images of hands to identify gestures.
8. The system of claim 7, including second image recognition engines, receiving the sequences of frames from the plurality of sensors, which process the specified bounding boxes in the frames to detect identifiers of likely inventory items.
9. The system of claim 1, including logic that stores with inventory events a parameter indicating whether the inventory item subject of the gesture is sold to the identified subjects.
10. The system of claim 1, further including logic that matches the inventory events for a selected inventory item in multiple locations to cells in a plurality of cells having coordinates in the area of real space.
11. The system of claim 10, further including data matching inventory display structures comprising inventory locations with the cells in the plurality of cells, the processing system including logic that generates heat maps for inventory locations using the activity related to a selected inventory item in multiple locations.
12. The system of claim 1, including the logic that generates for a particular inventory item correlations to inventory events stored as entries in the database related to the particular inventory item; and
logic that for a selected subject determines a temporally ordered sequence of inventory events including a particular inventory event.
13. The system of claim 12, including logic that identifies an inventory item associated with an inventory event in the temporally ordered sequence of inventory events closest in time to the particular inventory event.
14. The system of claim 12, including logic that identifies an inventory item associated with an inventory event in the temporally ordered sequence of inventory events closest in time to the particular inventory event and indicated as sold.
15. The system of claim 12, including logic to filter out inventory events in the temporally ordered sequence of inventory events including a parameter indicating the inventory items as sold to the subject.
16. The system of claim 12, wherein the logic that selects for a subject a temporally ordered sequence of inventory events leading to a particular inventory event including a particular inventory item, operates without use of personal identifying biometric information associated with the subject.
17. A method for tracking inventory events in an area of real space, the method including:
using a plurality of sensors to produce respective sequences of frames of corresponding fields of view in the real space;
identifying inventory events in the area of real space over a period of time using the sequences of frames produced by sensors in the plurality of sensors, the inventory events including a subject identifier, an item identifier, a location represented by positions in three dimensions of the area of real space and a timestamp;
generating for a particular inventory item correlations to data sets related to the particular inventory item; and determining a data set, the data set including the inventory events for the particular inventory item in multiple locations in the area of real space and display on user interface a graphical construct indicating activity related to the particular inventory item in the multiple locations,
wherein the activity related to the particular inventory item includes counts of the inventory events including the particular inventory item in the multiple locations in the period of time.
18. The method of claim 17, wherein the activity related to the particular inventory item includes percentages of total inventory events including the particular inventory item in the multiple locations in the period of time.
19. The method of claim 17, wherein the activity related to the particular item includes levels relative to a threshold count of inventory events including the particular item in the multiple locations in the period of time.
20. The method of claim 17, wherein the field of view of each sensor overlaps with the field of view of at least one other sensor in the plurality of sensors.
21. The method of claim 17, wherein identifying inventory events in the area of real space over a period of time using the sequences of frames produced by sensors in the plurality of sensors, the method further including: receiving the sequences of frames from the plurality of sensors, and
processing the frames using first image recognition engines to generate first data sets that identify subjects and locations of the identified subjects in the real space.
22. The method of claim 21, wherein the first image recognition engines comprise convolutional neural networks.
23. The method of claim 21 , further including processing the first data sets to specify bounding boxes which include images of hands of the identified subjects in frames in the sequences of frames.
24. The method of claim 23, further including:
receiving the sequences of frames from the plurality of sensors, and
processing, using second image recognition engines, the specified bounding boxes in the frames to detect the inventory events including identifiers of likely inventory items.
25. The method of claim 17, wherein determining the data set including the inventory events for the particular inventory item in the area of real space, the method further including:
selecting inventory events including inventory items including a parameter indicating the inventory items as sold to the identified subjects.
26. The method of claim 17, further including, matching the inventory events for the particular inventory item in multiple locations to cells in the data set defining a plurality of cells.
27. The method of claim 26, further including: matching cells in the data set defining the plurality of cells having coordinates in the area of real space to inventory locations in inventory display structures in the area of real space, and
generating heat maps for inventory locations matched with the cells using the activity related to the particular inventory item in multiple locations.
28. The method of claim 17, further including:
generating for a particular inventory item correlations to inventory events related to the particular inventory item, the method further including:
selecting for a subject a temporally ordered sequence of inventory events leading to a particular inventory event including a particular inventory item,
determining a data set, the data set including inventory items in the temporally ordered sequence of inventory events within a period of time prior to the particular inventory event,
storing the data sets in a data structure configured for use to analyze,
analyzing the data to correlate the particular inventory item of a plurality of data sets with other inventory items in the plurality of data sets.
29. The method of claim 28, wherein determining the data, the data set including inventory items in the temporally ordered sequence of inventory events within a period of time prior to the particular inventory event, the method further including:
selecting the inventory item associated with an inventory event in the temporally ordered sequence of inventory events closest to the particular inventory event.
30. The method of claim 28, wherein selecting for a subject the temporally ordered sequence of inventory events leading to a particular inventory event including a particular inventory item, the method further including: selecting the particular inventory event including the particular inventory item including a parameter indicating the inventory item as sold to the subject.
31. The method of claim 28, wherein selecting for a subject the temporally ordered sequence of inventory events leading to a particular inventory event including a particular inventory item, the method further including: filtering out inventory events in the temporally ordered sequence of inventory events including inventory items including a parameter indicating the inventory items as sold to the subject.
32. The method of claim 28, wherein selecting for a subject the temporally ordered sequence of inventory events leading to a particular inventory event including a particular inventory item, the method further including: performing the selection without the use of personal identifying biometric information associated with the subject.
33. A non-transitory computer readable storage medium impressed with computer program instructions to track inventory events in an area of real space, the instructions when executed on a processor, implement a method comprising: using a plurality of sensors to produce respective sequences of frames of corresponding fields of view in the real space;
identifying inventory events in the area of real space over a period of time using the sequences of frames produced by sensors in the plurality of sensors, the inventory events including a subject identifier, an item identifier, a location represented by positions in three dimensions of the area of real space and a timestamp;
generating for a particular inventory item correlations to data sets related to the particular inventory item; and
determining a data set, the data set including the inventory events for the particular inventory item in multiple locations in the area of real space and display on user interface a graphical construct indicating activity related to the particular inventory item in the multiple locations,
wherein the activity related to the particular inventory item includes counts of the inventory events including the particular inventory item in the multiple locations in the period of time.
34. The non-transitory computer readable storage medium of claim 33, wherein the activity related to the particular inventory item includes percentages of total inventory events including the particular inventory item in the multiple locations in the period of time.
35. The non-transitory computer readable storage medium of claim 33, wherein the activity related to the particular item includes levels relative to a threshold count of inventory events including the particular item in the multiple locations in the period of time.
36. The non-transitory computer readable storage medium of claim 33, wherein the field of view of each sensor overlaps with the field of view of at least one other sensor in the plurality of sensors.
37. The non-transitory computer readable storage medium of claim 33, implementing the method further comprising:
receiving the sequences of frames from the plurality of sensors, and
processing the frames using first image recognition engines to generate first data sets that identify subjects and locations of the identified subjects in the real space.
38. The non-transitory computer readable storage medium of claim 37, wherein the first image recognition engines comprise convolutional neural networks.
39. The non-transitory computer readable storage medium of claim 37, implementing the method further comprising:
processing the first data sets to specify bounding boxes which include images of hands of the identified subjects in frames in the sequences of frames.
40. The non-transitory computer readable storage medium of claim 39, implementing the method further comprising:
receiving the sequences of frames from the plurality of sensors, and processing, using second image recognition engines, the specified bounding boxes in the frames to detect the inventory events including identifiers of likely inventory items.
41. The non-transitory computer readable storage medium of claim 33, implementing the method further comprising:
selecting inventory events including inventory items including a parameter indicating the inventory items as sold to the identified subjects.
42. The non-transitory computer readable storage medium of claim 33, implementing the method further comprising:
matching the inventory events for the particular inventory item in multiple locations to cells in the data set defining a plurality of cells.
43. The non-transitory computer readable storage medium of claim 42, implementing the method further comprising:
matching cells in the data set defining the plurality of cells having coordinates in the area of real space to inventory locations in inventory display structures in the area of real space, and
generating heat maps for inventory locations matched with the cells using the activity related to the particular inventory item in multiple locations.
44. The non-transitory computer readable storage medium of claim 33, implementing the method further comprising:
generating for a particular inventory item correlations to inventory events related to the particular inventory item, the method further including:
selecting for a subject a temporally ordered sequence of inventory events leading to a particular inventory event including a particular inventory item,
determining a data set, the data set including inventory items in the temporally ordered sequence of inventory events within a period of time prior to the particular inventory event,
storing the data sets in a data structure configured for use to analyze,
analyzing the data to correlate the particular inventory item of a plurality of data sets with other inventory items in the plurality of data sets.
45. The non-transitory computer readable storage medium of claim 44, implementing the method further comprising:
selecting the inventory item associated with an inventory event in the temporally ordered sequence of inventory events closest to the particular inventory event.
46. The non-transitory computer readable storage medium of claim 44, implementing the method further comprising:
selecting the particular inventory event including the particular inventory item including a parameter indicating the inventory item as sold to the subject.
47. The non-transitory computer readable storage medium of claim 44, implementing the method further comprising:
filtering out inventory events in the temporally ordered sequence of inventory events including inventory items including a parameter indicating the inventory items as sold to the subject.
48. The non-transitory computer readable storage medium of claim 44, implementing the method further comprising:
performing the selection without the use of personal identifying biometric information associated with the subject.
49. A system for tracking inventory events, in an area of real space, comprising:
a plurality of sensors, sensors in the plurality of sensors producing respective sequences of frames of corresponding fields of view in the real space; and
a processing system coupled to the plurality of sensors and including a database, the processing system including:
logic that uses the sequences of frames produced by sensors in the plurality of sensors to identify gestures by detected subjects in the area of real space over a period of time, and produce inventory events including data representing identified gestures and store the inventory events as entries in the database, the inventory events including a subject identifier identifying a detected subject, a gesture type of the identified gesture by the detected subject, an item identifier identifying an inventory item linked to the gesture by the detected subject, a location of the gesture represented by positions in three dimensions of the area of real space and a timestamp for the gesture; logic that generates for a particular inventory item correlations to inventory events stored entries in the database related to the particular inventory item; and
logic that for a selected subject determines a temporally ordered sequence of inventory events including a particular inventory event.
50. The system of claim 49, including:
logic to determine a data set in the database, the data set including the inventory events for a particular inventory item in multiple locations in the area of real space, and to display on user interface a graphical construct indicating activity related to the particular inventory item in the multiple locations.
51. The system of claim 50, wherein the activity related to the particular inventory item includes counts of the inventory events including the particular inventory item in the multiple locations in the period of time.
52. The system of claim 50, wherein the activity related to the particular inventory item includes percentages of total inventory events including the particular inventory item in the multiple locations in the period of time.
53. The system of claim 50, wherein the activity related to the particular item includes levels relative to a threshold count of inventory events including the particular item in the multiple locations in the period of time.
54. The system of claim 49, wherein the field of view of each sensor overlaps with the field of view of at least one other sensor in the plurality of sensors.
55. The system of claim 49, wherein logic that uses the sequences of frames produced by sensors in the plurality of sensors to identify gestures by detected subjects in the area of real space over a period of time, includes first image recognition engines receiving the sequences of frames from the plurality of sensors, which process frames to generate first data sets that identity subjects and locations of the identified gestures in the real space.
56. The system of claim 55, wherein the first image recognition engines comprise convolutional neural networks.
57. The system of claim 55, including logic to process the first data sets to specify bounding boxes which include images of hands of the identified subjects in frames in the sequences of frames, and to perform time sequence analysis of images of hands to identity gestures.
58. The system of claim 57, including second image recognition engines, receiving the sequences of frames from the plurality of sensors, which process the specified bounding boxes in the frames to detect identifiers of likely inventory items.
59. The system of claim 50, including logic that stores with inventory events a parameter indicating whether the inventory item subject of the gesture is sold to the identified subjects.
60. The system of claim 50, further including logic that matches the inventory events for a selected inventory item in multiple locations to cells in a plurality of cells having coordinates in the area of real space.
61. The system of claim 60, further including data matching inventory display structures comprising inventory locations with the cells in the plurality of cells, the processing system including logic that generates heat maps for inventory locations using the activity related to a selected inventory item in multiple locations.
62. The system of claim 49, including logic that identifies an inventory item associated with an inventory event in the temporally ordered sequence of inventory events closest in time to the particular inventory event.
63. The system of claim 49, including logic that identifies an inventory item associated with an inventory event in the temporally ordered sequence of inventory events closest in time to the particular inventory event and indicated as sold.
64. The system of claim 49, including logic to filter out inventory events in the temporally ordered sequence of inventory events including a parameter indicating the inventory items as sold to the subject.
65. The system of claim 49, wherein the logic that selects for a subject a temporally ordered sequence of inventory events leading to a particular inventory event including a particular inventory item, operates without use of personal identifying biometric information associated with the subject.
66. A method for tracking inventory events in an area of real space, the method including:
using a plurality of sensors to produce respective sequences of frames of corresponding fields of view in the real space;
identifying inventory events in the area of real space over a period of time using the sequences of frames produced by sensors in the plurality of sensors, the inventory events including a subject identifier, an item identifier, a location represented by positions in three dimensions of the area of real space and a timestamp; and
generating for a particular inventory item correlations to data sets related to the particular inventory item and
generating for a particular inventory item correlations to inventory events related to the particular inventory item, including:
selecting for a subject a temporally ordered sequence of inventory events leading to a particular inventory event including a particular inventory item,
determining a data set, the data set including inventory items in the temporally ordered sequence of inventory events within a period of time prior to the particular inventory event,
storing the data sets in a data structure configured for use to analyze,
analyzing the data to correlate the particular inventory item of a plurality of data sets with other inventory items in the plurality of data sets.
67. The method of claim 66, wherein generating for a particular inventory item correlations to data sets related to the particular inventory item, the method further including:
determining a data set, the data set including the inventory events for the particular inventory item in multiple locations in the area of real space and display on user interface a graphical construct indicating activity related to the particular inventory item in the multiple locations.
68. The method of claim 67, wherein the activity related to the particular inventory item includes counts of the inventory events including the particular inventory item in the multiple locations in the period of time.
69. The method of claim 67, wherein the activity related to the particular inventory item includes percentages of total inventory events including the particular inventory item in the multiple locations in the period of time.
70. The method of claim 67, wherein the activity related to the particular item includes levels relative to a threshold count of inventory events including the particular item in the multiple locations in the period of time.
71. The method of claim 66, wherein the field of view of each sensor overlaps with the field of view of at least one other sensor in the plurality of sensors.
72. The method of claim 66, wherein identifying inventory events in the area of real space over a period of time using the sequences of frames produced by sensors in the plurality of sensors, the method further including: receiving the sequences of frames from the plurality of sensors, and
processing the frames using first image recognition engines to generate first data sets that identify subjects and locations of the identified subjects in the real space.
73. The method of claim 72, wherein the first image recognition engines comprise convolutional neural networks.
74. The method of claim 72, further including processing the first data sets to specify bounding boxes which include images of hands of the identified subjects in frames in the sequences of frames.
75. The method of claim 74, further including:
receiving the sequences of frames from the plurality of sensors, and
processing, using second image recognition engines, the specified bounding boxes in the frames to detect the inventory events including identifiers of likely inventory items.
76. The method of claim 67, wherein determining the data set including the inventory events for the particular inventory item in the area of real space, the method further including:
selecting inventory events including inventory items including a parameter indicating the inventory items as sold to the identified subjects.
77. The method of claim 67, further including, matching the inventory events for the particular inventory item in multiple locations to cells in the data set defining a plurality of cells.
78. The method of claim 77, further including:
matching cells in the data set defining the plurality of cells having coordinates in the area of real space to inventory locations in inventory display structures in the area of real space, and
generating heat maps for inventory locations matched with the cells using the activity related to the particular inventory item in multiple locations.
79. The method of claim 66, wherein determining the data, the data set including inventory items in the temporally ordered sequence of inventory events within a period of time prior to the particular inventory event, the method further including:
selecting the inventory item associated with an inventory event in the temporally ordered sequence of inventory events closest to the particular inventory event.
80. The method of claim 66, wherein selecting for a subject the temporally ordered sequence of inventory events leading to a particular inventory event including a particular inventory item, the method further including: selecting the particular inventory event including the particular inventory item including a parameter indicating the inventory item as sold to the subject.
81. The method of claim 66, wherein selecting for a subject the temporally ordered sequence of inventory events leading to a particular inventory event including a particular inventory item, the method further including: filtering out inventory events in the temporally ordered sequence of inventory events including inventory items including a parameter indicating the inventory items as sold to the subject.
82. The method of claim 66, wherein selecting for a subject the temporally ordered sequence of inventory events leading to a particular inventory event including a particular inventory item, the method further including: performing the selection without the use of personal identifying biometric information associated with the subject.
83. A non-transitory computer readable storage medium impressed with computer program instructions to track inventory events in an area of real space, the instructions when executed on a processor, implement a method comprising:
using a plurality of sensors to produce respective sequences of frames of corresponding fields of view in the real space;
identifying inventory events in the area of real space over a period of time using the sequences of frames produced by sensors in the plurality of sensors, the inventory events including a subject identifier, an item identifier, a location represented by positions in three dimensions of the area of real space and a timestamp;
generating for a particular inventory item correlations to data sets related to the particular inventory item and
generating for a particular inventory item correlations to inventory events related to the particular inventory item, including:
selecting for a subject a temporally ordered sequence of inventory events leading to a particular inventory event including a particular inventory item,
determining a data set, the data set including inventory items in the temporally ordered sequence of inventory events within a period of time prior to the particular inventory event,
storing the data sets in a data structure configured for use to analyze,
analyzing the data to correlate the particular inventory item of a plurality of data sets with other inventory items in the plurality of data sets.
84. The non-transitory computer readable storage medium of claim 83, wherein generating for a particular inventory item correlations to data sets related to the particular inventory item, the method further including:
determining a data set, the data set including the inventory events for the particular inventory item in multiple locations in the area of real space and display on user interface a graphical construct indicating activity related to the particular inventory item in the multiple locations.
85. The non-transitory computer readable storage medium of claim 84, wherein the activity related to the particular inventory item includes counts of the inventory events including the particular inventory item in the multiple locations in the period of time.
86. The non-transitory computer readable storage medium of claim 84, wherein the activity related to the particular inventory item includes percentages of total inventory events including the particular inventory item in the multiple locations in the period of time.
87. The non-transitory computer readable storage medium of claim 84, wherein the activity related to the particular item includes levels relative to a threshold count of inventory events including the particular item in the multiple locations in the period of time.
88. The non-transitory computer readable storage medium of claim 83, wherein the field of view of each sensor overlaps with the field of view of at least one other sensor in the plurality of sensors.
89. The non-transitory computer readable storage medium of claim 83, implementing the method further comprising:
receiving the sequences of frames from the plurality of sensors, and
processing the frames using first image recognition engines to generate first data sets that identify subjects and locations of the identified subjects in the real space.
90. The non-transitory computer readable storage medium of claim 89, wherein the first image recognition engines comprise convolutional neural networks.
91. The non-transitory computer readable storage medium of claim 89, implementing the method further comprising:
processing the first data sets to specify bounding boxes which include images of hands of the identified subjects in frames in the sequences of frames.
92. The non-transitory computer readable storage medium of claim 91, implementing the method further comprising:
receiving the sequences of frames from the plurality of sensors, and
processing, using second image recognition engines, the specified bounding boxes in the frames to detect the inventory events including identifiers of likely inventory items.
93. The non-transitory computer readable storage medium of claim 84, implementing the method further comprising:
selecting inventory events including inventory items including a parameter indicating the inventory items as sold to the identified subjects.
94. The non-transitory computer readable storage medium of claim 84, implementing the method further comprising:
matching the inventory events for the particular inventory item in multiple locations to cells in the data set defining a plurality of cells.
95. The non-transitory computer readable storage medium of claim 94, implementing the method further comprising:
matching cells in the data set defining the plurality of cells having coordinates in the area of real space to inventory locations in inventory display structures in the area of real space, and
generating heat maps for inventory locations matched with the cells using the activity related to the particular inventory item in multiple locations.
96. The non-transitory computer readable storage medium of claim 83, implementing the method further comprising:
selecting the inventory item associated with an inventory event in the temporally ordered sequence of inventory events closest to the particular inventory event.
97. The non-transitory computer readable storage medium of claim 83, implementing the method further comprising:
selecting the particular inventory event including the particular inventory item including a parameter indicating the inventory item as sold to the subject.
98. The non-transitory computer readable storage medium of claim 83, implementing the method further comprising:
filtering out inventory events in the temporally ordered sequence of inventory events including inventory items including a parameter indicating the inventory items as sold to the subject.
99. The non-transitory computer readable storage medium of claim 83, implementing the method further comprising:
performing the selection without the use of personal identifying biometric information associated with the subject.
PCT/US2019/043523 2018-07-26 2019-07-25 Product correlation analysis using deep learning WO2020023799A1 (en)

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
US201862703785P 2018-07-26 2018-07-26
US62/703,785 2018-07-26
US16/519,660 2019-07-23
US16/519,660 US11250376B2 (en) 2017-08-07 2019-07-23 Product correlation analysis using deep learning

Publications (1)

Publication Number Publication Date
WO2020023799A1 true WO2020023799A1 (en) 2020-01-30

Family

ID=69180686

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/US2019/043523 WO2020023799A1 (en) 2018-07-26 2019-07-25 Product correlation analysis using deep learning

Country Status (1)

Country Link
WO (1) WO2020023799A1 (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10853965B2 (en) 2017-08-07 2020-12-01 Standard Cognition, Corp Directional impression analysis using deep learning
US11023850B2 (en) 2017-08-07 2021-06-01 Standard Cognition, Corp. Realtime inventory location management using deep learning
US11195146B2 (en) 2017-08-07 2021-12-07 Standard Cognition, Corp. Systems and methods for deep learning-based shopper tracking
US11200692B2 (en) 2017-08-07 2021-12-14 Standard Cognition, Corp Systems and methods to check-in shoppers in a cashier-less store
US11232687B2 (en) 2017-08-07 2022-01-25 Standard Cognition, Corp Deep learning-based shopper statuses in a cashier-less store
US11250376B2 (en) 2017-08-07 2022-02-15 Standard Cognition, Corp Product correlation analysis using deep learning
CN114268807A (en) * 2021-12-24 2022-04-01 杭州当虹科技股份有限公司 Automatic testing method for real-time intelligent station covering logo
US11295270B2 (en) 2017-08-07 2022-04-05 Standard Cognition, Corp. Deep learning-based store realograms
US11303853B2 (en) 2020-06-26 2022-04-12 Standard Cognition, Corp. Systems and methods for automated design of camera placement and cameras arrangements for autonomous checkout
US11361468B2 (en) 2020-06-26 2022-06-14 Standard Cognition, Corp. Systems and methods for automated recalibration of sensors for autonomous checkout
US11538186B2 (en) 2017-08-07 2022-12-27 Standard Cognition, Corp. Systems and methods to check-in shoppers in a cashier-less store
US11948313B2 (en) 2019-04-18 2024-04-02 Standard Cognition, Corp Systems and methods of implementing multiple trained inference engines to identify and track subjects over multiple identification intervals

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080159634A1 (en) * 2006-12-30 2008-07-03 Rajeev Sharma Method and system for automatically analyzing categories in a physical space based on the visual characterization of people
JP2011253344A (en) * 2010-06-02 2011-12-15 Midee Co Ltd Purchase behavior analysis device, purchase behavior analysis method and program
US20150019391A1 (en) * 2013-06-26 2015-01-15 Amazon Technologies, Inc. Detecting item interaction and movement
JP2016206782A (en) * 2015-04-17 2016-12-08 パナソニックIpマネジメント株式会社 Client behavior analysis device, client behavior analysis system, and client behavior analysis method
US20170323376A1 (en) * 2016-05-09 2017-11-09 Grabango Co. System and method for computer vision driven applications within an environment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080159634A1 (en) * 2006-12-30 2008-07-03 Rajeev Sharma Method and system for automatically analyzing categories in a physical space based on the visual characterization of people
JP2011253344A (en) * 2010-06-02 2011-12-15 Midee Co Ltd Purchase behavior analysis device, purchase behavior analysis method and program
US20150019391A1 (en) * 2013-06-26 2015-01-15 Amazon Technologies, Inc. Detecting item interaction and movement
JP2016206782A (en) * 2015-04-17 2016-12-08 パナソニックIpマネジメント株式会社 Client behavior analysis device, client behavior analysis system, and client behavior analysis method
US20170323376A1 (en) * 2016-05-09 2017-11-09 Grabango Co. System and method for computer vision driven applications within an environment

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11295270B2 (en) 2017-08-07 2022-04-05 Standard Cognition, Corp. Deep learning-based store realograms
US11232687B2 (en) 2017-08-07 2022-01-25 Standard Cognition, Corp Deep learning-based shopper statuses in a cashier-less store
US10853965B2 (en) 2017-08-07 2020-12-01 Standard Cognition, Corp Directional impression analysis using deep learning
US11200692B2 (en) 2017-08-07 2021-12-14 Standard Cognition, Corp Systems and methods to check-in shoppers in a cashier-less store
US11810317B2 (en) 2017-08-07 2023-11-07 Standard Cognition, Corp. Systems and methods to check-in shoppers in a cashier-less store
US11250376B2 (en) 2017-08-07 2022-02-15 Standard Cognition, Corp Product correlation analysis using deep learning
US11270260B2 (en) 2017-08-07 2022-03-08 Standard Cognition Corp. Systems and methods for deep learning-based shopper tracking
US11544866B2 (en) 2017-08-07 2023-01-03 Standard Cognition, Corp Directional impression analysis using deep learning
US11195146B2 (en) 2017-08-07 2021-12-07 Standard Cognition, Corp. Systems and methods for deep learning-based shopper tracking
US11023850B2 (en) 2017-08-07 2021-06-01 Standard Cognition, Corp. Realtime inventory location management using deep learning
US11538186B2 (en) 2017-08-07 2022-12-27 Standard Cognition, Corp. Systems and methods to check-in shoppers in a cashier-less store
US11948313B2 (en) 2019-04-18 2024-04-02 Standard Cognition, Corp Systems and methods of implementing multiple trained inference engines to identify and track subjects over multiple identification intervals
US11361468B2 (en) 2020-06-26 2022-06-14 Standard Cognition, Corp. Systems and methods for automated recalibration of sensors for autonomous checkout
US11303853B2 (en) 2020-06-26 2022-04-12 Standard Cognition, Corp. Systems and methods for automated design of camera placement and cameras arrangements for autonomous checkout
US11818508B2 (en) 2020-06-26 2023-11-14 Standard Cognition, Corp. Systems and methods for automated design of camera placement and cameras arrangements for autonomous checkout
CN114268807A (en) * 2021-12-24 2022-04-01 杭州当虹科技股份有限公司 Automatic testing method for real-time intelligent station covering logo
CN114268807B (en) * 2021-12-24 2023-08-01 杭州当虹科技股份有限公司 Automatic testing method for real-time intelligent station-covering mark

Similar Documents

Publication Publication Date Title
US11250376B2 (en) Product correlation analysis using deep learning
US11295270B2 (en) Deep learning-based store realograms
US11544866B2 (en) Directional impression analysis using deep learning
US11023850B2 (en) Realtime inventory location management using deep learning
US10445694B2 (en) Realtime inventory tracking using deep learning
US11195146B2 (en) Systems and methods for deep learning-based shopper tracking
US10127438B1 (en) Predicting inventory events using semantic diffing
WO2020023799A1 (en) Product correlation analysis using deep learning
JP7228670B2 (en) Real-time inventory tracking using deep learning
JP7228671B2 (en) Store Realog Based on Deep Learning
US20200074432A1 (en) Deep learning-based actionable digital receipts for cashier-less checkout
WO2019032306A9 (en) Predicting inventory events using semantic diffing
WO2020023796A2 (en) Realtime inventory location management using deep learning
WO2020023926A1 (en) Directional impression analysis using deep learning
US11818508B2 (en) Systems and methods for automated design of camera placement and cameras arrangements for autonomous checkout
US20210350555A1 (en) Systems and methods for detecting proximity events

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19841897

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19841897

Country of ref document: EP

Kind code of ref document: A1