WO2021014781A1 - Counting method, computer program, and counting system - Google Patents

Counting method, computer program, and counting system Download PDF

Info

Publication number
WO2021014781A1
WO2021014781A1 PCT/JP2020/022056 JP2020022056W WO2021014781A1 WO 2021014781 A1 WO2021014781 A1 WO 2021014781A1 JP 2020022056 W JP2020022056 W JP 2020022056W WO 2021014781 A1 WO2021014781 A1 WO 2021014781A1
Authority
WO
WIPO (PCT)
Prior art keywords
article
articles
type
unit
calculation unit
Prior art date
Application number
PCT/JP2020/022056
Other languages
French (fr)
Japanese (ja)
Inventor
一喜 鳥塚
Original Assignee
一喜 鳥塚
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 一喜 鳥塚 filed Critical 一喜 鳥塚
Publication of WO2021014781A1 publication Critical patent/WO2021014781A1/en

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A47FURNITURE; DOMESTIC ARTICLES OR APPLIANCES; COFFEE MILLS; SPICE MILLS; SUCTION CLEANERS IN GENERAL
    • A47FSPECIAL FURNITURE, FITTINGS, OR ACCESSORIES FOR SHOPS, STOREHOUSES, BARS, RESTAURANTS OR THE LIKE; PAYING COUNTERS
    • A47F10/00Furniture or installations specially adapted to particular types of service systems, not otherwise provided for
    • AHUMAN NECESSITIES
    • A47FURNITURE; DOMESTIC ARTICLES OR APPLIANCES; COFFEE MILLS; SPICE MILLS; SUCTION CLEANERS IN GENERAL
    • A47FSPECIAL FURNITURE, FITTINGS, OR ACCESSORIES FOR SHOPS, STOREHOUSES, BARS, RESTAURANTS OR THE LIKE; PAYING COUNTERS
    • A47F5/00Show stands, hangers, or shelves characterised by their constructional features
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B65CONVEYING; PACKING; STORING; HANDLING THIN OR FILAMENTARY MATERIAL
    • B65GTRANSPORT OR STORAGE DEVICES, e.g. CONVEYORS FOR LOADING OR TIPPING, SHOP CONVEYOR SYSTEMS OR PNEUMATIC TUBE CONVEYORS
    • B65G1/00Storing articles, individually or in orderly arrangement, in warehouses or magazines
    • B65G1/02Storage devices
    • B65G1/04Storage devices mechanical
    • B65G1/137Storage devices mechanical with arrangements or automatic control means for selecting which articles are to be removed
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06MCOUNTING MECHANISMS; COUNTING OF OBJECTS NOT OTHERWISE PROVIDED FOR
    • G06M11/00Counting of objects distributed at random, e.g. on a surface

Definitions

  • the present invention relates to a counting method, a computer program, and a counting system.
  • Patent Document 1 a management system using a non-contact data carrier (RFID: Radio Frequency Identification) has been adopted when managing information on items placed on shelves (for example).
  • RFID Radio Frequency Identification
  • Such a management system using RFID is a system that can acquire article information such as expiration date, production area, and inventory quantity by reading the RFID attached to the article. Therefore, it is effective in that the work efficiency when managing the article information can be improved. Further, since the management system using RFID can read the article information from the RFID without touching the article, it is also effective from the viewpoint of the reliability and safety of the article.
  • An object of the present invention is to provide a counting method, a computer program, and a counting system capable of counting articles according to their types.
  • the counting method includes a step in which the first calculation unit calculates the total weight of the article based on the measurement data of the load sensor that measures the load of the article placed in the specific area.
  • the specific part specifies the type of the article placed in the specific area
  • the second calculation unit determines the type of the article specified by the specific part, the weight per unit number of the article, and the first. It includes a step of calculating the number of articles placed in the specific area based on the total weight of the articles calculated by the calculation unit.
  • the computer program is a first calculation unit that calculates the total weight of the article based on the measurement data of the load sensor that measures the load of the article placed on the specific area of the computer.
  • the specific part that specifies the type of the article placed in the specific area, the type of the article specified by the specific part, the weight per unit number of the article, and the total weight of the article calculated by the first calculation unit. Based on this, it functions as a second calculation unit that calculates the number of articles placed in the specific area.
  • the counting system includes a first calculation unit that calculates the total weight of the article based on the measurement data of the load sensor that measures the load of the article placed in the specific area, and the specific area. Based on the specific part that specifies the type of the article placed in, the type of the article specified by the specific part, the weight per unit number of the article, and the total weight of the article calculated by the first calculation unit. A second calculation unit for calculating the number of articles placed in the specific area is provided.
  • articles can be counted according to the type.
  • FIG. 1 is a schematic diagram illustrating a configuration of a counting system according to the present embodiment.
  • the counting system according to the present embodiment is a system for counting the number of articles placed on the article shelves S for each type, and the load sensors 130 installed on the shelf boards S1 and S2 of the article shelves S, Various calculations are performed based on the data obtained from the image pickup device 140 that images the article group placed on the article shelf S, the load sensor 130, and the image pickup device 140, and the number of articles included in the article group is calculated for each type.
  • the computing device 10 is provided.
  • the articles indicated by reference numerals O1 to O4 indicate that they are different types of articles.
  • the goods shelf S is, for example, a product shelf installed in a store for displaying various products.
  • the article shelf S includes a plurality of shelf boards S1 and S2 that are horizontally supported by columns.
  • the article shelf S is configured to include two shelf boards S1 and S2, but may be configured to include three or more shelf boards.
  • the article shelf S shown in FIG. 1 has the front surface, the back surface, and the side surface open, at least one of the back surface and the side surface may be closed.
  • the articles O1 to O4 placed on the article shelf S are arbitrary, but have a weight determined for each type.
  • the weights of the articles O1 to O4 may be different for each type, and may be the same regardless of the type.
  • FIG. 1 shows a state in which four types of articles O1 to O4 are placed on the article shelf S, but the types of articles placed on the article shelf S may be three or less. It may be more than one kind.
  • the load sensor 130 is a sheet-shaped pressure-sensitive sensor and outputs measurement data (load distribution data) of the load distribution.
  • the load sensor 130 has, for example, a rectangular measurement area (specific area), and includes a plurality of pressure-sensitive elements arranged in a grid pattern in the measurement area.
  • the load sensor 130 outputs a measured value (pressure value) at the position where each pressure sensitive element is arranged as load distribution data. That is, the load distribution data indicates matrix data composed of position information in the measurement region and measurement values measured by each pressure sensitive element.
  • the load distribution data may be display data in which the magnitude of the measured value measured by each pressure sensitive element is represented by shading (or color).
  • a separator SP for classifying articles O1 to O4 by type is placed together with articles O1 to O4.
  • the measurement area of the load sensor 130 is divided into a plurality of divided areas by the separator SP, and articles O1 to O4 are placed in each divided area for each type.
  • the material, weight, and shape of the separator SP can be arbitrarily designed.
  • the separator SP is placed at an appropriate place in the measurement area of the load sensor 130, and does not need to be fixed at a fixed place. Further, the number of separator SPs mounted in the measurement area of the load sensor 130 does not have to be one, and may be two or more.
  • the measurement area of the load sensor 130 installed on the upper shelf plate S1 is divided into two division areas R1 and R2 by one separator SP.
  • the article O1 is placed in the divided area R1 on the left side when viewed from the front, and a plurality of articles O2 are placed in the divided area R2 on the right side.
  • the measurement area of the load sensor 130 installed on the lower shelf plate S2 is divided into two division areas R3 and R4 by one separator SP.
  • the article O3 is placed in the divided area R3 on the left side when viewed from the front, and the article O4 is placed in the divided area R4 on the right side.
  • articles O1 to O4 are placed in each of the divided regions R1 to R4 for each type, and a plurality of types of articles are not mixed and placed.
  • the image pickup device 140 is a digital camera or a digital video camera, and outputs image data obtained by imaging articles O1 to O4.
  • the image pickup apparatus 140 is installed in a place where the types of articles O1 to O4 can be specified. For example, when another article shelf (not shown) is installed on the side facing the article shelf S, the image pickup apparatus 140 may be installed on another shelf facing the article shelf S.
  • the arithmetic unit 10 is a dedicated or general-purpose computer, and the load distribution data output from the load sensor 130 and the image data output from the image pickup device 140 are input.
  • the arithmetic unit 10 executes arithmetic processing based on the input load distribution data and image data, and calculates the number of articles O1 to O4 for each type.
  • FIG. 2 is a block diagram showing the internal configuration of the arithmetic unit 10.
  • the arithmetic unit 10 includes an arithmetic unit 11, a storage unit 12, a first connection unit 13, a second connection unit 14, a communication unit 15, an operation unit 16, and a display unit 17.
  • the calculation unit 11 includes, for example, a CPU (Central Processing Unit), a ROM (Read Only Memory), a RAM (Random Access Memory), and the like.
  • the ROM included in the arithmetic unit 11 stores a control program or the like that controls the operation of each hardware unit included in the arithmetic unit 10.
  • the CPU in the arithmetic unit 11 executes the control program stored in the ROM and various computer programs stored in the storage unit 12 described later, and controls the operation of each hardware unit to control the operation of each hardware unit, thereby controlling the load sensor 130 and the imaging device 140.
  • a function of executing arithmetic processing based on the data obtained from the above and calculating the number of articles O1 to O4 placed on the article shelf S for each type is realized. Data used during execution of the calculation is temporarily stored in the RAM included in the calculation unit 11.
  • the calculation unit 11 is configured to include a CPU, a ROM, and a RAM.
  • the arithmetic unit 11 is one or a plurality of arithmetic circuits including a GPU (Graphics Processing Unit), an FPGA (Field Programmable Gate Array), a DSP (Digital Signal Processor), a quantum processor, a volatile or non-volatile memory, and the like. It may be.
  • the calculation unit 11 may have functions such as a clock for outputting date and time information, a timer for measuring the elapsed time from giving the measurement start instruction to giving the measurement end instruction, and a counter for counting the number.
  • the storage unit 12 includes storage devices such as an HDD (Hard Disk Drive), an SSD (Solid State Drive), and an EEPROM (Electronically Erasable Programmable Read Only Memory).
  • the storage unit 12 stores a computer program and various data executed by the calculation unit 11.
  • the computer program stored in the storage unit 12 calculates the number of articles O1 to O4 placed on the article shelf S for each type based on the data obtained from the load sensor 130 and the image pickup apparatus 140. Includes an arithmetic processing program 200 for causing the computer to execute.
  • the computer program stored in the storage unit 12 may be provided by a non-temporary recording medium M in which the computer program is readablely recorded.
  • the recording medium M is, for example, a portable memory such as a CD-ROM, a USB memory, an SD (Secure Digital) card, a micro SD card, or a compact flash (registered trademark).
  • the computer program recorded on the recording medium M is read by a reading device (not shown) and stored in the storage unit 12.
  • the data stored in the storage unit 12 includes a weight table 201 stored in association with the type of each article and the weight of each article.
  • FIG. 3 is a conceptual diagram showing an example of the weight table 201.
  • the type of each article and the weight of each article are stored in association with each other.
  • the weights of each of the articles of types A, B, C, D, ..., X are Wagram, Wbgram, Wcgram, Wdgram, ..., Wxgram, respectively. It is shown that.
  • Such a table is generated by receiving information on the type of an article and the weight of each article through, for example, an operation unit 16.
  • the calculation unit 11 can grasp the weight of each article by referring to the weight table 201.
  • the weights Wagram, Wbgram, Wcgram, Wdgram, ..., Wxgram stored in the weight table 201 are not limited to the weight per article, but are units including the case of one article. It may be the weight per piece (1 piece or more). In this case, the weight per unit number (1 piece or more) and the information that can be converted into the weight per piece of the article are stored in the weight table 201. Therefore, it may be possible to convert it into the weight of each article.
  • the storage unit 12 may store the learning model 210 used for the process of specifying the types of the articles O1 to O4.
  • the learning model 210 is configured to output data relating to the types of articles O1 to O4 in response to input of image data obtained from the image pickup apparatus 140.
  • the structure of the learning model 210 is defined by the definition information.
  • the definition information includes configuration information that defines the configuration of the learning model 210 (number of layers, number of nodes, etc.), and various parameters such as weights and biases between nodes referred to in the calculation using the learning model 210.
  • the storage unit 12 may store the learning model 220 used for the process of detecting the position of the separator SP on the load sensor 130.
  • the learning model 220 is configured to output data regarding the position of the separator SP in response to the input of the load distribution data obtained from the load sensor 130.
  • the configuration of the learning model 220 is defined by the definition information.
  • the definition information includes configuration information that defines the configuration of the learning model 220 (number of layers, number of nodes, etc.), and various parameters such as weights and biases between nodes referred to in the calculation using the learning model 220.
  • the learning models 210 and 220 may be generated by the arithmetic unit 10. Further, the learning models 210 and 220 may be generated by an external server device (not shown). In the latter case, the arithmetic unit 10 may communicate with the external server device and download the learning models 210 and 220 by communication. Further, the learning models 210 and 220 may be provided by the recording medium M as well as various computer programs.
  • the first connection unit 13 includes a connection interface for connecting the load sensor 130.
  • the load sensor 130 is a sheet-shaped pressure-sensitive sensor, and outputs load distribution data (load distribution data) measured in the measurement area.
  • the load distribution data includes information on measured values measured corresponding to the positions of the pressure-sensitive elements included in the load sensor 130.
  • the load distribution data in a state where the articles O1 to O4 and the separator SP are placed in the measurement area of the load sensor 130 is input to the first connection portion 13.
  • the input load distribution data may be stored in the storage unit 12 via the calculation unit 11.
  • the second connection unit 14 includes a connection interface for connecting the image pickup device 140.
  • the image pickup apparatus 140 is a digital camera or a digital video camera, and outputs image data obtained by imaging an image pickup target. In the image data, for example, each pixel is represented by an RGB gradation value. Image data obtained by imaging the articles O1 to O4 placed on the article shelf S is input to the second connection portion 14. The input image data may be stored in the storage unit 12 via the calculation unit 11.
  • the communication unit 15 includes a communication interface for transmitting and receiving various data.
  • the communication interface included in the communication unit 15 is, for example, a communication interface conforming to the communication standard of LAN (Local Area Network) used in WiFi (registered trademark) and Ethernet (registered trademark).
  • LAN Local Area Network
  • WiFi registered trademark
  • Ethernet registered trademark
  • the operation unit 16 is provided with input interfaces such as various operation buttons, switches, and a touch panel, and receives various operation information and setting information.
  • the calculation unit 11 performs an appropriate calculation based on the operation information input from the operation unit 16, and stores the calculation result in the storage unit 12 as needed.
  • the display unit 17 is provided with a display panel such as a liquid crystal panel or an organic EL (Electro-Luminescence) panel, and displays information to be notified to an administrator or the like.
  • the calculation unit 11 generates display data including information to be notified to the administrator and the like, and the generated display data is output to the display unit 17, so that various information is displayed.
  • the arithmetic unit 10 is configured to include the operation unit 16 and the display unit 17, but the operation unit 16 and the display unit 17 are not indispensable configurations and are computers connected to the outside of the arithmetic unit 10.
  • the operation may be received through the device and the information to be notified to the administrator or the like may be output to an external computer.
  • the arithmetic unit 10 uses the learning model 210 to specify the type of the article placed on the article shelf S.
  • the learning model 210 used when specifying the type of the article will be described.
  • FIG. 4 is a schematic diagram showing a configuration example of the learning model 210.
  • the learning model 210 is, for example, a learning model based on CNN (Convolutional Neural Networks), and includes an input layer 211, an intermediate layer 212, and an output layer 213.
  • CNN Convolutional Neural Networks
  • the learning model 210 is learned in advance so as to output data relating to the type of the article.
  • the captured image captured by the imaging device 140 is input to the input layer 211.
  • the captured image input to the input layer 211 is sent to the intermediate layer 212.
  • the intermediate layer 212 is composed of, for example, a convolution layer 212a, a pooling layer 212b, and a fully connected layer 212c.
  • a plurality of convolution layers 212a and pooling layers 212b may be provided alternately.
  • the convolution layer 212a and the pooling layer 212b extract the features of the captured image input through the input layer 211 by the calculation using the nodes of each layer.
  • the fully connected layer 212c combines the data from which the feature portion is extracted by the convolution layer 212a and the pooling layer 212b into one node, and outputs the feature variable converted by the activation function.
  • the feature variable is output to the output layer 213 through the fully connected layer 212c.
  • the output layer 213 includes one or more nodes.
  • the output layer 213 is converted into a probability using a softmax function based on the feature variable input from the fully connected layer 212c of the intermediate layer 212, and indicates which type the article contained in the captured image corresponds to. Output the probability from each node.
  • the output layer 213 is composed of n nodes (n is an integer of 1 or more) from the first node to the nth node, and the type of the article placed in the division areas R1 to R4 is different from the first node.
  • Probability P1 of "type A”, “type B”, “type C”, and “type D” is output, and the types of articles placed in the division areas R1 to R4 are "types” from the second node, respectively.
  • Probability P2 of "B”, “Type C", “Type D”, and “Type A” is output, and ..., From the nth node, the types of articles placed in the division areas R1 to R4 are "Type X", respectively. , "Type X", “Type X”, “Type X” Probability Pn may be output.
  • the number of nodes constituting the output layer 213 and the calculation result assigned to each node are not limited to the above examples, and can be appropriately designed.
  • the arithmetic unit 11 of the arithmetic unit 10 can specify the type of the article placed in each area by referring to the arithmetic result obtained from the learning model 210 and, for example, selecting the combination of the types having the highest probability. It is possible.
  • the captured image obtained from the imaging device 140 is input to the input layer 211 of the learning model 210, but the captured image processed in advance is input to the input layer 211 of the learning model 210. May be.
  • the calculation unit 11 masks the other regions of the captured image so as to include only the articles placed in the region where the number of articles is to be counted, and uses the masked captured image as the learning model 210. It may be input to the input layer 211.
  • the learning model 210 may be trained to output data relating to one type of article.
  • the machine learning model for constructing the learning model 210 can be arbitrarily set.
  • a learning model based on R-CNN (Region-based CNN), YOLO (You Only Look Once), SSD (Single Shot Detector), or the like may be set.
  • the arithmetic unit 10 inputs the load distribution data acquired from the load sensor 130 into the learning model 220, and acquires the calculation result from the learning model 220 to determine the position of the separator SP placed in the measurement area of the load sensor 130. To detect.
  • the load distribution data obtained from the load sensor 130 will be described, and then the configuration of the learning model 220 will be described.
  • FIG. 5 is a conceptual diagram showing an example of load distribution data obtained from the load sensor 130.
  • the load sensor 130 includes a plurality of pressure-sensitive elements arranged in a grid pattern, and outputs a measured value (pressure value) corresponding to the position of each pressure-sensitive element.
  • the load sensor 130 includes m pressure sensors in the horizontal direction (for example, the width direction of the shelf board S1) and n pressure sensors in the vertical direction (for example, the depth direction of the shelf board S1)
  • the positions of the pressure sensitive elements are (X1, It is represented by position coordinates such as Y1), (X2, Y1), ..., (Xm, Y1), (X1, Y2,) ..., (Xm, Yn).
  • m and n are integers of 1 or more.
  • the load sensor 130 outputs a measured value (pressure value) corresponding to each position coordinate.
  • a region having a low pressure value (light weight) is indicated by a light shade region
  • a region having a high pressure value (heavy weight) is indicated by a dark shade region.
  • the load sensor 130 When the separator SP is placed in the measurement area, the load sensor 130 outputs a measured value (shade) according to the weight of the separator SP.
  • the example of FIG. 5 shows how the separator SP is placed in the vertical direction near the center of the measurement area.
  • One of the divided regions divided by the separator SP is a divided region R1, and the other is a divided region R2.
  • the load sensor 130 When some article is placed in the divided areas R1 and R2, the load sensor 130 outputs a measured value (shade) according to the weight of the article.
  • FIG. 5 shows how the separator SP is placed in the vertical direction near the center of the measurement area.
  • One of the divided regions divided by the separator SP is a divided region R1, and the other is a divided region R2.
  • the load sensor 130 When some article is placed in the divided areas R1 and R2, the load sensor 130 outputs a measured value (shade) according to the weight of the article.
  • FIG. 5 shows a state in which a plurality of articles O1 are placed in the division area R1 on the left side of the separator SP, and a plurality of articles O2 are placed in the division area R2 on the right side of the separator SP.
  • the symbols of the article O1 and the article O2 are specified for the sake of explanation, the type of the article cannot be specified only from the measured value of the load sensor 130. The type and number of articles will be specified by the processing of the arithmetic unit 10 described later.
  • FIG. 6 is a schematic diagram showing a configuration example of the learning model 220.
  • the learning model 220 is, for example, a learning model based on CNN, and includes an input layer 221, an intermediate layer 222, and an output layer 223.
  • the learning model 210 is trained in advance so as to output data regarding the position of the separator SP when the load distribution data measured by the load sensor 130 is input.
  • the load distribution data measured by the load sensor 130 is input to the input layer 221.
  • the load distribution data input to the input layer 221 is sent to the intermediate layer 222.
  • the intermediate layer 222 is composed of, for example, a convolution layer 222a, a pooling layer 222b, and a fully connected layer 222c.
  • a plurality of convolution layers 222a and pooling layers 222b may be provided alternately.
  • the convolution layer 222a and the pooling layer 222b extract the characteristics of the load distribution data input through the input layer 221 by the calculation using the nodes of each layer.
  • the fully connected layer 222c combines the data whose feature portions are extracted by the convolution layer 222a and the pooling layer 222b into one node, and outputs the feature variable converted by the activation function.
  • the feature variable is output to the output layer 223 through the fully connected layer 222c.
  • the output layer 223 includes one or more nodes.
  • the output layer 223 converts the characteristic variables input from the fully connected layer 222c of the intermediate layer 222 into probabilities using a softmax function, and outputs data regarding the position of the separator SP from each node. For example, when the load sensor 130 includes m pressure sensors in the horizontal direction and n pressure sensors in the vertical direction, each node of the output layer 223 has the position coordinates (X1, Y1), (X2, Y1) of each pressure sensor. ), ..., (Xi, Yj), ..., (Xm, Yn), the probability corresponding to the separator SP may be output.
  • the output layer 223 is composed of n ⁇ m nodes (n and m are integers of 1 or more) from the first node to the n ⁇ m node, and the position coordinates (X1, Y1) from the first node.
  • the probability P 11 in which the position corresponding to the position corresponds to the separator SP is output, and the probability P 21 in which the position corresponding to the position coordinates (X1, Y1) corresponds to the separator SP is output from the second node.
  • the probability P mn that the position corresponding to the position coordinates (Xm, Yn) corresponds to the separator SP may be output.
  • the number of nodes constituting the output layer 223 and the calculation result assigned to each node are not limited to the above examples, and can be appropriately designed.
  • the arithmetic unit 11 of the arithmetic unit 10 refers to the arithmetic result obtained from the learning model 220 and selects the position coordinates whose probability is equal to or greater than the threshold value (for example, the probability of corresponding to the separator SP is 90% or more). It is possible to identify the position of.
  • the arithmetic unit 10 executes a process of generating learning models 210 and 220 in the learning phase.
  • the procedure for generating the learning model 210 in the arithmetic unit 10 will be described.
  • FIG. 7 is a flowchart illustrating the procedure for generating the learning model 210.
  • the arithmetic unit 10 collects image data of the article to be counted and label data indicating the type of the article as a preparatory step for generating the learning model 210, and stores the collected data in the storage unit 12 as teacher data. .. By collecting a sufficient number of image data and label data in this preparatory stage, the estimation accuracy of the type can be improved.
  • the calculation unit 11 accesses the storage unit 12 and acquires the teacher data used for generating the learning model 210 (step S101).
  • the teacher data includes image data of the article and label data indicating the type of the article included in the image data.
  • one set of image data and label data may be acquired out of a large number of image data and label data included as teacher data.
  • the teacher data prepared by the administrator of the arithmetic unit 10 or the like is set. Further, if the learning progresses, the estimation result by the learning model 210 and the captured image used for the estimation process may be acquired, and the acquired data may be set as teacher data.
  • the calculation unit 11 inputs the image data included as the teacher data into the learning model 210 (step S102), and acquires the calculation result from the learning model 210 (step S103).
  • the definition information describing the learning model 210 is given an initial setting value.
  • a predetermined operation is performed between the nodes constituting each layer.
  • the calculation unit 11 evaluates the calculation result obtained in step S103 (step S104), and determines whether or not the learning is completed (step S105). Specifically, the calculation unit 11 can evaluate the calculation result by using an error function (also referred to as an objective function, a loss function, or a cost function) based on the calculation result obtained in step S103 and the teacher data.
  • an error function also referred to as an objective function, a loss function, or a cost function
  • the calculation unit 11 states that the learning is completed. to decide. In order to avoid the problem of overfitting, techniques such as cross-validation and early stopping may be adopted to end learning at an appropriate timing.
  • the calculation unit 11 updates the weights and biases between the nodes of the learning model 210 (step S106), and returns the process to step S101.
  • the arithmetic unit 11 may update the weights and biases between the nodes by using the error back propagation method in which the weights and biases between the nodes are sequentially updated from the output layer 213 of the learning model 210 toward the input layer 211. it can.
  • the calculation unit 11 stores the learned learning model 210 in the storage unit 12 (step S107), and ends the process according to this flowchart.
  • the arithmetic unit 10 can generate the learning model 210 by collecting the image data of the article to be counted and the label data indicating the type of the article and using the collected data as the teacher data. it can. Further, the arithmetic unit 10 can generate the learning model 220 for detecting the position of the separator SP by the same processing procedure as that shown in FIG. 7. In this case, the arithmetic unit 10 collects the load distribution data obtained from the load sensor 130 and the label data indicating the position of the separator SP in the measurement area, and uses the collected data as the teacher data to perform the learning model 220. It should be generated.
  • the procedure for generating the learning models 210 and 220 in the arithmetic unit 10 has been described, but the learning model is also generated in the case where the learning models 210 and 220 are generated in the external server device by the same processing procedure. 210 and 220 may be generated.
  • the arithmetic unit 10 can execute the counting process of the number of articles at an appropriate timing in the operation phase after the learning models 210 and 220 are generated.
  • the counting process of the number of articles may be executed when an execution instruction is given by an administrator or the like, or may be executed at a regular timing.
  • the counting process of the number of articles by the arithmetic unit 10 will be described.
  • FIG. 8 is a flowchart illustrating a procedure for counting the number of articles.
  • the arithmetic unit 11 of the arithmetic unit 10 acquires the load distribution data output from the load sensor 130 through the first connection unit 13 (step S121).
  • the load distribution data shows matrix data composed of position information in the measurement region and measurement values measured by each pressure sensitive element.
  • the calculation unit 11 inputs the acquired load distribution data to the learning model 220 for detecting the position of the separator SP (step S122).
  • the calculation unit 11 gives the acquired load distribution data to the input layer 221 of the learning model 220 to execute the calculation by the learning model 220.
  • the load distribution data given to the input layer 221 of the learning model 220 is sent to the intermediate layer 222.
  • an operation using an activation function including weights and biases between nodes is executed.
  • the features of the load distribution data are extracted from the convolution layer 222a and the pooling layer 222b of the intermediate layer 222.
  • the data of the feature portion extracted by the convolution layer 222a and the pooling layer 222b is combined with each node constituting the fully connected layer 222c and converted into a feature variable by the activation function.
  • the converted feature variable is output to the output layer 223 through the fully connected layer 222c.
  • the output layer 223 is converted into a probability by using a softmax function based on the feature variable input from the fully connected layer 222c of the intermediate layer 222, and the probability corresponding to the position coordinates of the pressure sensitive element corresponds to the separator SP. Is output from each node.
  • the calculation unit 11 acquires the calculation result from the learning model 220, and specifies the division area based on the obtained calculation result (step S123).
  • the calculation unit 11 can detect the position of the separator SP placed in the measurement area based on the calculation result obtained from the learning model 220.
  • the calculation unit 11 may specify the division area based on the detected position coordinates of the separator SP. For example, as shown in FIG. 5, when the separator SP extends in the vertical direction (depth direction of the shelf board S1), the left side of the separator SP (the region where the X coordinate is smaller than the X coordinate of the separator SP) is one divided region. It can be specified as (division area R1), and the right side of the separator SP (the area whose X coordinate is larger than the X coordinate of the separator SP) can be specified as one division area (division area R2).
  • the calculation unit 11 derives the total weight in the divided region (step S124).
  • the calculation unit 11 can derive the total weight in the divided region by obtaining the sum of the measured values in the divided region among the measured values from the load sensor 130.
  • the calculation unit 11 may derive the total weight for each of the divided regions.
  • the calculation unit 11 acquires the image data output from the image pickup apparatus 140 through the second connection unit 14 (step S125).
  • the image data is, for example, data in which each pixel is represented by RGB gradation values.
  • the calculation unit 11 inputs the acquired image data to the learning model 210 for specifying the type of the article (step S126).
  • the calculation unit 11 gives the acquired image data to the input layer 211 of the learning model 210 to execute the calculation by the learning model 210.
  • the image data given to the input layer 211 of the learning model 210 is sent to the intermediate layer 212.
  • an operation using an activation function including weights and biases between nodes is executed.
  • Image features are extracted from the convolutional layer 212a and the pooling layer 212b of the intermediate layer 212.
  • the data of the feature portion extracted by the convolution layer 212a and the pooling layer 212b is combined with each node constituting the fully connected layer 212c and converted into a feature variable by the activation function.
  • the converted feature variable is output to the output layer 213 through the fully connected layer 212c.
  • the output layer 213 is converted into a probability using a softmax function based on the feature variable input from the fully connected layer 212c of the intermediate layer 212, and the type of the article contained in each division region is determined. The indicated probability is output from each node.
  • the calculation unit 11 acquires a calculation result from the learning model 210, and specifies the type of the article based on the obtained calculation result (step S127).
  • the calculation unit 11 can specify the type of the article placed in each division region, for example, by selecting the combination of articles having the highest probability based on the calculation result obtained from the learning model 210.
  • the calculation unit 11 reads out the weight per article from the weight table 201 with respect to the article whose type is specified in step S127 (step S128). For example, when the type specified in step S127 is "type A", the calculation unit 11 refers to the weight table 201 and sets the weight "Wa" per article stored in association with "type A". You just have to read it. The same applies when other types are specified. In step S128, the weight per article corresponding to the type may be read out in each of the divided regions.
  • the calculation unit 11 calculates the number of articles based on the total weight in the divided area derived in step S124 and the weight per article placed in the divided area specified in step S128. (Step S129). For example, when the total weight in the divided region derived in step S124 is "WA" and the weight per piece specified in step S128 is "Wa", the calculation unit 11 calculates WA / Wa. Calculate the number in the division area. In step S129, the number of articles may be calculated in each of the divided regions.
  • the calculation unit 11 stores the calculated number of articles in the storage unit 12. Further, the calculation unit 11 may display the calculated number of articles on the display unit 17, or may notify the terminal device used by the administrator or the like through the communication unit 15.
  • the type of the article in the divided areas R1 to R4 divided by the separator SP is specified by using the learning model 210, and the number of articles in each divided area R1 to R4 is calculated. Can be done.
  • the divided region is specified based on the load distribution data from the load sensor 130, and then the type is specified based on the image data from the image pickup device 140.
  • the type is specified first. After that, the procedure may be to specify the division area.
  • the learning model 210 is used to specify the type of the article placed in each divided region, but the type of the article is specified in the captured image and the type is specified.
  • the type of the article in each division region may be specified based on the position in the image of the article and the position information of the separator SP detected by using the learning model 220.
  • the learning procedure of the learning model in this case, the same procedure as the learning procedure in the learning model 210 can be used.
  • the divided region is specified based on the load distribution data from the load sensor 130, but the divided region may be specified based on the image data obtained from the image pickup apparatus 140.
  • the image data output from the image pickup apparatus 140 it is preferable to use a learning model trained to output the data regarding the position of the separator SP.
  • the learning procedure of the learning model in this case, the same procedure as the learning procedure in the learning model 220 can be used.
  • the divided region can be specified without being based on the load distribution data from the load sensor 130, it is not necessary to use the distribution data (load distribution data) as the measurement data of the load sensor 130, and the divided region It suffices to use the data that can calculate the total weight of the articles placed on the load sensor 130.
  • the learning model 220 is used to detect the position of the separator SP, but a position detection sensor that detects the position of the separator SP may be used.
  • a position detection sensor that detects the position of the separator SP
  • an optical sensor an optical sensor
  • a magnetic sensor or the like can be used.
  • a separator is used by measuring the light receiving intensity of the light receiving element by using a light emitting element that emits light toward the separator SP and a light receiving element that receives light reflected by the separator SP.
  • the position of the SP can be detected.
  • a magnetic sensor the position of the separator SP can be detected by attaching a magnet to the separator SP and detecting the position of the magnet with the magnetic sensor.
  • the learning models 210 and 220 are generated in the learning phase, but re-learning may be executed at any timing after the start of operation.
  • the calculation unit 11 may display the estimation results of the learning models 210 and 220 on the display unit 17 and accept the selection of whether or not the estimation results by the learning models 210 and 220 are correct.
  • the calculation unit 11 can relearn the learning model 210 by using the image data used when the estimation process is performed and the label data indicating whether or not the estimation result of the type is correct as the teacher data.
  • the calculation unit 11 re-uses the measurement distribution data used when the estimation process is performed and the label data indicating whether or not the estimation result of the position of the separator SP is correct as the teacher data to re-learn the learning model 220. You can learn. Since the re-learning procedure is exactly the same as the learning procedure shown in FIG. 7, the description thereof will be omitted.
  • the image data obtained by imaging the article group is acquired, and the type of the article included in the article group is specified based on the acquired image data, but the article is not necessarily from the image data. There is no need to specify the type.
  • other methods for specifying the type of the article will be described. The same reference numerals are given to the same configurations as those described in the above embodiment, and duplicate description will be omitted.
  • the area to be placed on the load sensor 130 (corresponding to the divided area of the above embodiment) is determined in advance for each type of article. Then, an identifier (hereinafter, also referred to as an ID) is given to each pressure-sensitive element arranged in a grid pattern in the measurement area of the load sensor 130, and the identifier and the pressure-sensitive element having the ID are placed on the identifier.
  • an identifier hereinafter, also referred to as an ID
  • the type of the article placed on the load sensor 130 can be specified based on the ID of the pressure sensitive element that senses the pressure due to the load of the article. can do.
  • Table 1 is an example of a table in which the ID of the pressure-sensitive element, the divided region on the load sensor 130, and the type of the article are associated with each other.
  • the pressure sensitive element ID 1-100 is associated with the division region R1 and the article O1
  • the pressure sensitive element ID 101-200 is associated with the division region R2 and the article O2. That is, the information shown in Table 1 is stored in the storage unit 12, and by referring to the information in Table 1, the type of the article placed based on the ID of the pressure sensitive element that senses the pressure due to the load of the article can be determined. Can be identified.
  • a visually recognizable partition such as color-coding the divided regions R1 and R2 on the load sensor 130 so that they can be recognized.
  • the type of the article is determined based on the ID or position information of the pressure-sensitive element that has detected the placement of the article. It can be specified, and the number of articles placed in the specific area can be calculated based on the type of the specified article, the weight per article, and the total weight of the articles.
  • the information shown in Table 1 in which the pressure sensitive element ID, the division area, and the article type are associated is stored in the storage unit 12, but the information in which the pressure sensitive element ID and the article type are directly associated (division area). Information is not associated with this) is stored in the storage unit 12, and by referring to the information stored in the storage unit 12, the information is placed based on the ID of the pressure-sensitive element that senses the pressure due to the load of the article.
  • the type of the article may be specified. Further, it is preferable that the relationship (association between the pressure sensitive element ID and the article type) stored in the storage unit 12 and shown in Table 1 can be changed so that the divided region of the load sensor 130 can be changed.
  • a separator SP for classifying the articles O1 to O4 by type is placed together with the articles O1 to O4, and the separator SP is placed.
  • the placement position is configured so that data relating to the position of the separator SP is output in response to input of load distribution data obtained from the load sensor 130.
  • the position of the separator SP may be detected based on the image data output from the image pickup apparatus 140.
  • the storage unit 12 may store the learning model used for the process of detecting the position of the separator SP.
  • the learning model is configured to output data regarding the position of the separator SP in response to the input of image data obtained from the image pickup apparatus 140.
  • the structure of the learning model is defined by the definition information.
  • the definition information includes configuration information that defines the configuration of the learning model (number of layers, number of nodes, etc.), and various parameters such as weights and biases between nodes referred to in the calculation using the learning model.
  • the weight table 201 may store not only the weight per article but also the weight per unit number (one or more) including the case of one article. In this case as well, the weight per unit number (one or more) and the information that can be converted into the weight per article can be stored in the weight table 201 and converted into the weight per article. You can do it.

Landscapes

  • Engineering & Computer Science (AREA)
  • Mechanical Engineering (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Display Racks (AREA)

Abstract

[Problem] To provide a counting method, computer program, and counting system. [Solution] The present invention is provided with: a first computation unit which, on the basis of measurement data of a load sensor which measures loads of objects mounted in a specific region, computes a total weight of the objects; an identification unit which identifies the types of the objects mounted in the specific region; and a second computation unit which computes the number of the objects mounted in the specific region on the basis of the types of the objects identified by the identification unit, the weight per unit quantity of the objects, and the total weight of the objects computed by the first computation unit.

Description

カウント方法、コンピュータプログラム、及びカウントシステムCounting methods, computer programs, and counting systems
 本発明は、カウント方法、コンピュータプログラム、及びカウントシステムに関する。 The present invention relates to a counting method, a computer program, and a counting system.
 従来、食品や生活用品などを販売する店舗では、棚に配置された物品の情報を管理する際に、非接触データキャリア(RFID:Radio Frequency Identification)を利用した管理システムが採用されている(例えば、特許文献1を参照)。 Conventionally, in stores selling foods and daily necessities, a management system using a non-contact data carrier (RFID: Radio Frequency Identification) has been adopted when managing information on items placed on shelves (for example). , Patent Document 1).
 このようなRFIDを使用した管理システムは、物品に付されたRFIDを読み取ることにより、賞味期限や産地、在庫数等の物品情報を取得することができるシステムである。そのため、物品情報を管理する際の作業効率を上げることができるという点で効果的である。また、RFIDを使用した管理システムは、物品に接触しない状態でRFIDから物品情報を読み取ることができるため、物品の信頼性や安全性の観点からも有効である。 Such a management system using RFID is a system that can acquire article information such as expiration date, production area, and inventory quantity by reading the RFID attached to the article. Therefore, it is effective in that the work efficiency when managing the article information can be improved. Further, since the management system using RFID can read the article information from the RFID without touching the article, it is also effective from the viewpoint of the reliability and safety of the article.
特開2008-26979号公報Japanese Unexamined Patent Publication No. 2008-26979
 しかしながら、RFIDを使用した管理システムの場合、物品に付されたRFIDを読み取ることにより初めて物品情報が取得できるため、各物品にRFIDタグを添付するという作業が必要となる。また、物品情報を管理する際には、読取端末を用いて、各物品に添付されたRFIDタグを1つずつ読み取る作業が発生する。このように、RFIDを使用した管理システムであっても、多くの時間と手間を要してしまうという問題点を有する。 However, in the case of a management system using RFID, since the article information can be obtained only by reading the RFID attached to the article, it is necessary to attach the RFID tag to each article. Further, when managing the article information, the work of reading the RFID tag attached to each article one by one using the reading terminal is required. As described above, even a management system using RFID has a problem that it takes a lot of time and effort.
 本発明は、物品を種別に応じてカウントすることができるカウント方法、コンピュータプログラム、及びカウントシステムを提供することを目的とする。 An object of the present invention is to provide a counting method, a computer program, and a counting system capable of counting articles according to their types.
 本発明の一態様に係るカウント方法は、第1算出部が、特定領域に載置された物品の荷重を計測する荷重センサの計測データに基づいて、前記物品の総重量を算出する工程と、特定部が、前記特定領域に載置された物品の種別を特定する工程と、第2算出部が、前記特定部が特定した前記物品の種別、前記物品の単位個数あたりの重量及び前記第1算出部が算出した前記物品の総重量に基づいて、前記特定領域に載置された物品数を算出する工程と、を有する。 The counting method according to one aspect of the present invention includes a step in which the first calculation unit calculates the total weight of the article based on the measurement data of the load sensor that measures the load of the article placed in the specific area. The specific part specifies the type of the article placed in the specific area, and the second calculation unit determines the type of the article specified by the specific part, the weight per unit number of the article, and the first. It includes a step of calculating the number of articles placed in the specific area based on the total weight of the articles calculated by the calculation unit.
 本発明の一態様に係るコンピュータプログラムは、コンピュータを、特定領域に載置された物品の荷重を計測する荷重センサの計測データに基づいて、前記物品の総重量を算出する第1算出部、前記特定領域に載置された物品の種別を特定する特定部、前記特定部が特定した前記物品の種別、前記物品の単位個数あたりの重量及び前記第1算出部が算出した前記物品の総重量に基づいて、前記特定領域に載置された物品数を算出する第2算出部、として機能させる。 The computer program according to one aspect of the present invention is a first calculation unit that calculates the total weight of the article based on the measurement data of the load sensor that measures the load of the article placed on the specific area of the computer. To the specific part that specifies the type of the article placed in the specific area, the type of the article specified by the specific part, the weight per unit number of the article, and the total weight of the article calculated by the first calculation unit. Based on this, it functions as a second calculation unit that calculates the number of articles placed in the specific area.
 本発明の一態様に係るカウントシステムは、特定領域に載置された物品の荷重を計測する荷重センサの計測データに基づいて、前記物品の総重量を算出する第1算出部と、前記特定領域に載置された物品の種別を特定する特定部と、前記特定部が特定した前記物品の種別、前記物品の単位個数あたりの重量及び前記第1算出部が算出した前記物品の総重量に基づいて、前記特定領域に載置された物品数を算出する第2算出部と、を備える。 The counting system according to one aspect of the present invention includes a first calculation unit that calculates the total weight of the article based on the measurement data of the load sensor that measures the load of the article placed in the specific area, and the specific area. Based on the specific part that specifies the type of the article placed in, the type of the article specified by the specific part, the weight per unit number of the article, and the total weight of the article calculated by the first calculation unit. A second calculation unit for calculating the number of articles placed in the specific area is provided.
 本願によれば、物品を種別に応じてカウントすることができる。 According to the present application, articles can be counted according to the type.
本実施の形態に係るカウントシステムの構成を説明する模式図である。It is a schematic diagram explaining the structure of the count system which concerns on this embodiment. 演算装置の内部構成を示すブロック図である。It is a block diagram which shows the internal structure of the arithmetic unit. 重量テーブルの一例を示す概念図である。It is a conceptual diagram which shows an example of a weight table. 学習モデルの構成例を示す模式図である。It is a schematic diagram which shows the structural example of the learning model. 荷重センサから得られる荷重分布データの一例を示す概念図である。It is a conceptual diagram which shows an example of the load distribution data obtained from a load sensor. 学習モデルの構成例を示す模式図である。It is a schematic diagram which shows the structural example of the learning model. 学習モデルの生成手順を説明するフローチャートである。It is a flowchart explaining the generation procedure of a learning model. 物品数のカウント手順を説明するフローチャートである。It is a flowchart explaining the procedure of counting the number of articles.
 以下、本発明をその実施の形態を示す図面に基づいて具体的に説明する。
 図1は本実施の形態に係るカウントシステムの構成を説明する模式図である。本実施の形態に係るカウントシステムは、物品棚Sに載置された物品の数を種別毎にカウントするためのシステムであり、物品棚Sの棚板S1,S2に設置される荷重センサ130、物品棚Sに載置された物品群を撮像する撮像装置140、および、荷重センサ130及び撮像装置140から得られるデータに基づき各種演算を行い、物品群に含まれる物品の数を種別毎に算出する演算装置10を備える。図1において、符号O1~O4を付して示す物品は、それぞれ種類が異なる物品であることを示している。
Hereinafter, the present invention will be specifically described with reference to the drawings showing the embodiments thereof.
FIG. 1 is a schematic diagram illustrating a configuration of a counting system according to the present embodiment. The counting system according to the present embodiment is a system for counting the number of articles placed on the article shelves S for each type, and the load sensors 130 installed on the shelf boards S1 and S2 of the article shelves S, Various calculations are performed based on the data obtained from the image pickup device 140 that images the article group placed on the article shelf S, the load sensor 130, and the image pickup device 140, and the number of articles included in the article group is calculated for each type. The computing device 10 is provided. In FIG. 1, the articles indicated by reference numerals O1 to O4 indicate that they are different types of articles.
 物品棚Sは、例えば各種商品の陳列のために店舗に設置される商品棚である。物品棚Sは、支柱によって水平に支持される複数の棚板S1,S2を備える。本実施の形態では、物品棚Sが2つの棚板S1,S2を備える構成としたが、3つ以上の棚板を備える構成であってもよい。また、図1に示す物品棚Sは、前面、背面、及び側面を開放してあるが、背面及び側面の少なくとも1つが閉塞された棚であってもよい。 The goods shelf S is, for example, a product shelf installed in a store for displaying various products. The article shelf S includes a plurality of shelf boards S1 and S2 that are horizontally supported by columns. In the present embodiment, the article shelf S is configured to include two shelf boards S1 and S2, but may be configured to include three or more shelf boards. Further, although the article shelf S shown in FIG. 1 has the front surface, the back surface, and the side surface open, at least one of the back surface and the side surface may be closed.
 物品棚Sに載置される物品O1~O4は任意であるが、種別毎に決まった重量を有しているものとする。なお、物品O1~O4の重量は種別毎に異なっていてもよく、種別に依らず同一であってもよい。図1では、4種類の物品O1~O4が物品棚Sに載置された状態を示しているが、物品棚Sに載置される物品の種類は、3種類以下であってもよく、5種類以上であってもよい。 The articles O1 to O4 placed on the article shelf S are arbitrary, but have a weight determined for each type. The weights of the articles O1 to O4 may be different for each type, and may be the same regardless of the type. FIG. 1 shows a state in which four types of articles O1 to O4 are placed on the article shelf S, but the types of articles placed on the article shelf S may be three or less. It may be more than one kind.
 荷重センサ130は、シート状の感圧センサであり、荷重分布の計測データ(荷重分布データ)を出力する。荷重センサ130は、例えば矩形状の計測領域(特定領域)を有しており、計測領域内に格子状に配置された複数の感圧素子を備える。荷重センサ130は、各感圧素子が配置された位置における計測値(圧力値)を荷重分布データとして出力する。すなわち、荷重分布データは、計測領域内の位置の情報と、各感圧素子によって計測された計測値とにより構成される行列データを示す。代替的に、荷重分布データは、各感圧素子において計測された計測値の大きさを濃淡(又は色)により表した表示用のデータであってもよい。 The load sensor 130 is a sheet-shaped pressure-sensitive sensor and outputs measurement data (load distribution data) of the load distribution. The load sensor 130 has, for example, a rectangular measurement area (specific area), and includes a plurality of pressure-sensitive elements arranged in a grid pattern in the measurement area. The load sensor 130 outputs a measured value (pressure value) at the position where each pressure sensitive element is arranged as load distribution data. That is, the load distribution data indicates matrix data composed of position information in the measurement region and measurement values measured by each pressure sensitive element. Alternatively, the load distribution data may be display data in which the magnitude of the measured value measured by each pressure sensitive element is represented by shading (or color).
 荷重センサ130の計測領域内には、物品O1~O4と共に、物品O1~O4を種別毎に区分するためのセパレータSPが載置される。換言すれば、荷重センサ130の計測領域は、セパレータSPによって複数の分割領域に分割され、各分割領域内に物品O1~O4が種別毎に載置される。セパレータSPの素材、重量、及び形状は任意に設計することが可能である。セパレータSPは、荷重センサ130の計測領域内の適宜の場所に載置されるものであり、決まった場所に固定されている必要はない。また、荷重センサ130の計測領域内に載置されるセパレータSPの数は1つである必要はなく、2つ以上であってもよい。 In the measurement area of the load sensor 130, a separator SP for classifying articles O1 to O4 by type is placed together with articles O1 to O4. In other words, the measurement area of the load sensor 130 is divided into a plurality of divided areas by the separator SP, and articles O1 to O4 are placed in each divided area for each type. The material, weight, and shape of the separator SP can be arbitrarily designed. The separator SP is placed at an appropriate place in the measurement area of the load sensor 130, and does not need to be fixed at a fixed place. Further, the number of separator SPs mounted in the measurement area of the load sensor 130 does not have to be one, and may be two or more.
 図1の例では、上段の棚板S1に設置された荷重センサ130の計測領域は、1つのセパレータSPによって、2つの分割領域R1,R2に分割されている。この2つの分割領域R1,R2のうち、正面から向かって左側の分割領域R1には物品O1が載置され、右側の分割領域R2には複数の物品O2が載置されている。同様に、下段の棚板S2に設置された荷重センサ130の計測領域は、1つのセパレータSPによって、2つの分割領域R3,R4に分割されている。この2つの分割領域R3,R4のうち、正面から向かって左側の分割領域R3には物品O3が載置され、右側の分割領域R4には物品O4が載置されている。このように、各分割領域R1~R4には物品O1~O4が種別毎に載置され、複数種の物品が混在して載置されないものとする。 In the example of FIG. 1, the measurement area of the load sensor 130 installed on the upper shelf plate S1 is divided into two division areas R1 and R2 by one separator SP. Of the two divided areas R1 and R2, the article O1 is placed in the divided area R1 on the left side when viewed from the front, and a plurality of articles O2 are placed in the divided area R2 on the right side. Similarly, the measurement area of the load sensor 130 installed on the lower shelf plate S2 is divided into two division areas R3 and R4 by one separator SP. Of these two divided areas R3 and R4, the article O3 is placed in the divided area R3 on the left side when viewed from the front, and the article O4 is placed in the divided area R4 on the right side. In this way, articles O1 to O4 are placed in each of the divided regions R1 to R4 for each type, and a plurality of types of articles are not mixed and placed.
 撮像装置140は、デジタルカメラ又はデジタルビデオカメラであり、物品O1~O4を撮像して得られる画像データを出力する。撮像装置140は、物品O1~O4の種別を特定できるような場所に設置される。例えば、物品棚Sに向かい側に別の物品棚(不図示)が設置されている場合、撮像装置140は物品棚Sと向かい合った別の棚に設置されてもよい。 The image pickup device 140 is a digital camera or a digital video camera, and outputs image data obtained by imaging articles O1 to O4. The image pickup apparatus 140 is installed in a place where the types of articles O1 to O4 can be specified. For example, when another article shelf (not shown) is installed on the side facing the article shelf S, the image pickup apparatus 140 may be installed on another shelf facing the article shelf S.
 演算装置10は、専用又は汎用のコンピュータであり、荷重センサ130から出力される荷重分布データ、及び撮像装置140から出力される画像データが入力される。演算装置10は、入力された荷重分布データ及び画像データに基づき演算処理を実行し、物品O1~O4の数を種別毎に算出する。 The arithmetic unit 10 is a dedicated or general-purpose computer, and the load distribution data output from the load sensor 130 and the image data output from the image pickup device 140 are input. The arithmetic unit 10 executes arithmetic processing based on the input load distribution data and image data, and calculates the number of articles O1 to O4 for each type.
 図2は演算装置10の内部構成を示すブロック図である。演算装置10は、演算部11、記憶部12、第1接続部13、第2接続部14、通信部15、操作部16、及び表示部17を備える。 FIG. 2 is a block diagram showing the internal configuration of the arithmetic unit 10. The arithmetic unit 10 includes an arithmetic unit 11, a storage unit 12, a first connection unit 13, a second connection unit 14, a communication unit 15, an operation unit 16, and a display unit 17.
 演算部11は、例えば、CPU(Central Processing Unit)、ROM(Read Only Memory)、RAM(Random Access Memory)などを備える。演算部11が備えるROMには、演算装置10が備えるハードウェア各部の動作を制御する制御プログラム等が記憶される。演算部11内のCPUは、ROMに記憶された制御プログラムや後述する記憶部12に記憶された各種コンピュータプログラムを実行し、ハードウェア各部の動作を制御することによって、荷重センサ130及び撮像装置140から得られるデータに基づき演算処理を実行し、物品棚Sに載置された物品O1~O4の数を種別毎に算出する機能を実現する。演算部11が備えるRAMには、演算の実行中に利用されるデータが一時的に記憶される。 The calculation unit 11 includes, for example, a CPU (Central Processing Unit), a ROM (Read Only Memory), a RAM (Random Access Memory), and the like. The ROM included in the arithmetic unit 11 stores a control program or the like that controls the operation of each hardware unit included in the arithmetic unit 10. The CPU in the arithmetic unit 11 executes the control program stored in the ROM and various computer programs stored in the storage unit 12 described later, and controls the operation of each hardware unit to control the operation of each hardware unit, thereby controlling the load sensor 130 and the imaging device 140. A function of executing arithmetic processing based on the data obtained from the above and calculating the number of articles O1 to O4 placed on the article shelf S for each type is realized. Data used during execution of the calculation is temporarily stored in the RAM included in the calculation unit 11.
 演算部11は、CPU、ROM、及びRAMを備える構成とした。代替的に、演算部11は、GPU(Graphics Processing Unit)、FPGA(Field Programmable Gate Array)、DSP(Digital Signal Processor)、量子プロセッサ、揮発性又は不揮発性のメモリ等を備える1又は複数の演算回路であってもよい。また、演算部11は、日時情報を出力するクロック、計測開始指示を与えてから計測終了指示を与えるまでの経過時間を計測するタイマ、数をカウントするカウンタ等の機能を備えていてもよい。 The calculation unit 11 is configured to include a CPU, a ROM, and a RAM. Alternatively, the arithmetic unit 11 is one or a plurality of arithmetic circuits including a GPU (Graphics Processing Unit), an FPGA (Field Programmable Gate Array), a DSP (Digital Signal Processor), a quantum processor, a volatile or non-volatile memory, and the like. It may be. In addition, the calculation unit 11 may have functions such as a clock for outputting date and time information, a timer for measuring the elapsed time from giving the measurement start instruction to giving the measurement end instruction, and a counter for counting the number.
 記憶部12は、HDD(Hard Disk Drive)、SSD(Solid State Drive)、EEPROM(Electronically Erasable Programmable Read Only Memory)などの記憶装置を備える。記憶部12には、演算部11によって実行されるコンピュータプログラムや各種のデータが記憶される。 The storage unit 12 includes storage devices such as an HDD (Hard Disk Drive), an SSD (Solid State Drive), and an EEPROM (Electronically Erasable Programmable Read Only Memory). The storage unit 12 stores a computer program and various data executed by the calculation unit 11.
 記憶部12に記憶されるコンピュータプログラムは、荷重センサ130及び撮像装置140から得られるデータに基づき、物品棚Sに載置された物品O1~O4の数を種別毎に算出する処理を演算装置10に実行させるための演算処理プログラム200を含む。 The computer program stored in the storage unit 12 calculates the number of articles O1 to O4 placed on the article shelf S for each type based on the data obtained from the load sensor 130 and the image pickup apparatus 140. Includes an arithmetic processing program 200 for causing the computer to execute.
 記憶部12に記憶されるコンピュータプログラムは、このコンピュータプログラムを読み取り可能に記録した非一時的な記録媒体Mにより提供されてもよい。記録媒体Mは、例えば、CD-ROM、USBメモリ、SD(Secure Digital)カード、マイクロSDカード、コンパクトフラッシュ(登録商標)などの可搬型メモリである。記録媒体Mに記録されたコンピュータプログラムは、図に示していない読取装置によって読み取られ、記憶部12に記憶される。 The computer program stored in the storage unit 12 may be provided by a non-temporary recording medium M in which the computer program is readablely recorded. The recording medium M is, for example, a portable memory such as a CD-ROM, a USB memory, an SD (Secure Digital) card, a micro SD card, or a compact flash (registered trademark). The computer program recorded on the recording medium M is read by a reading device (not shown) and stored in the storage unit 12.
 記憶部12に記憶されるデータは、各物品の種別と各物品の1個あたりの重量とを関連付けて記憶した重量テーブル201を含む。図3は重量テーブル201の一例を示す概念図である。重量テーブル201では、各物品の種別と、各物品の1個あたりの重量を関連付けて記憶する。図3に例示した重量テーブル201は、種別A,B,C,D,…,Xの物品の1個あたりの重量がそれぞれWaグラム,Wbグラム,Wcグラム,Wdグラム,…,Wxグラムであることを示している。このようなテーブルは、物品の種別の情報と、物品の1個あたりの重量とを例えば操作部16を通じて受付けることにより生成される。物品の種別が特定された場合、演算部11は、重量テーブル201を参照することにより、その物品の1個あたりの重量を把握することができる。なお、言うまでもないが、重量テーブル201に記憶される重量Waグラム,Wbグラム,Wcグラム,Wdグラム,…,Wxグラムは、物品の1個あたりの重量に限らず、1個の場合を含む単位個数(1個以上)あたりの重量であっても良く、この場合、これらの単位個数(1個以上)あたりの重量とともに、物品の1個あたりの重量に換算できる情報を重量テーブル201に記憶して、物品の1個あたりの重量に換算できるようにすれば良い。 The data stored in the storage unit 12 includes a weight table 201 stored in association with the type of each article and the weight of each article. FIG. 3 is a conceptual diagram showing an example of the weight table 201. In the weight table 201, the type of each article and the weight of each article are stored in association with each other. In the weight table 201 illustrated in FIG. 3, the weights of each of the articles of types A, B, C, D, ..., X are Wagram, Wbgram, Wcgram, Wdgram, ..., Wxgram, respectively. It is shown that. Such a table is generated by receiving information on the type of an article and the weight of each article through, for example, an operation unit 16. When the type of the article is specified, the calculation unit 11 can grasp the weight of each article by referring to the weight table 201. Needless to say, the weights Wagram, Wbgram, Wcgram, Wdgram, ..., Wxgram stored in the weight table 201 are not limited to the weight per article, but are units including the case of one article. It may be the weight per piece (1 piece or more). In this case, the weight per unit number (1 piece or more) and the information that can be converted into the weight per piece of the article are stored in the weight table 201. Therefore, it may be possible to convert it into the weight of each article.
 また、記憶部12には、物品O1~O4の種別を特定する処理に用いられる学習モデル210が記憶されてもよい。学習モデル210は、撮像装置140から得られる画像データの入力に対して、物品O1~O4の種別に関するデータを出力するように構成される。学習モデル210の構成は、その定義情報によって定義される。定義情報は、学習モデル210の構成(層の数やノードの数など)を定義する構成情報、学習モデル210を用いた演算において参照されるノード間の重みやバイアスなどの各種パラメータを含む。 Further, the storage unit 12 may store the learning model 210 used for the process of specifying the types of the articles O1 to O4. The learning model 210 is configured to output data relating to the types of articles O1 to O4 in response to input of image data obtained from the image pickup apparatus 140. The structure of the learning model 210 is defined by the definition information. The definition information includes configuration information that defines the configuration of the learning model 210 (number of layers, number of nodes, etc.), and various parameters such as weights and biases between nodes referred to in the calculation using the learning model 210.
 また、記憶部12には、荷重センサ130上のセパレータSPの位置を検出する処理に用いられる学習モデル220が記憶されてもよい。学習モデル220は、荷重センサ130から得られる荷重分布データの入力に対して、セパレータSPの位置に関するデータを出力するように構成される。学習モデル220の構成は、その定義情報によって定義される。定義情報は、学習モデル220の構成(層の数やノードの数など)を定義する構成情報、学習モデル220を用いた演算において参照されるノード間の重みやバイアスなどの各種パラメータを含む。 Further, the storage unit 12 may store the learning model 220 used for the process of detecting the position of the separator SP on the load sensor 130. The learning model 220 is configured to output data regarding the position of the separator SP in response to the input of the load distribution data obtained from the load sensor 130. The configuration of the learning model 220 is defined by the definition information. The definition information includes configuration information that defines the configuration of the learning model 220 (number of layers, number of nodes, etc.), and various parameters such as weights and biases between nodes referred to in the calculation using the learning model 220.
 学習モデル210,220は、演算装置10によって生成されてもよい。また、学習モデル210,220は、外部のサーバ装置(不図示)によって生成されてもよい。後者の場合、演算装置10は、外部のサーバ装置と通信し、通信により学習モデル210,220をダウンロードすればよい。また、学習モデル210,220は、各種コンピュータプログラムと同様に、記録媒体Mにより提供されてもよい。 The learning models 210 and 220 may be generated by the arithmetic unit 10. Further, the learning models 210 and 220 may be generated by an external server device (not shown). In the latter case, the arithmetic unit 10 may communicate with the external server device and download the learning models 210 and 220 by communication. Further, the learning models 210 and 220 may be provided by the recording medium M as well as various computer programs.
 第1接続部13は、荷重センサ130を接続する接続インタフェースを備える。荷重センサ130は、シート状の感圧センサであり、計測領域内で計測した荷重分布のデータ(荷重分布データ)を出力する。荷重分布データは、荷重センサ130が備える各感圧素子の位置に対応して計測される計測値の情報が含まれる。第1接続部13には、物品O1~O4及びセパレータSPが荷重センサ130の計測領域内に載置された状態での荷重分布データが入力される。入力された荷重分布データは、演算部11を介して、記憶部12に記憶されてもよい。 The first connection unit 13 includes a connection interface for connecting the load sensor 130. The load sensor 130 is a sheet-shaped pressure-sensitive sensor, and outputs load distribution data (load distribution data) measured in the measurement area. The load distribution data includes information on measured values measured corresponding to the positions of the pressure-sensitive elements included in the load sensor 130. The load distribution data in a state where the articles O1 to O4 and the separator SP are placed in the measurement area of the load sensor 130 is input to the first connection portion 13. The input load distribution data may be stored in the storage unit 12 via the calculation unit 11.
 第2接続部14は、撮像装置140を接続する接続インタフェースを備える。撮像装置140は、デジタルカメラ又はデジタルビデオカメラであり、撮像対象物を撮像して得られる画像データを出力する。画像データは、例えば各画素がRGBの階調値により表現される。第2接続部14には、物品棚Sに載置された物品O1~O4を撮像して得られる画像データが入力される。入力された画像データは、演算部11を介して、記憶部12に記憶されてもよい。 The second connection unit 14 includes a connection interface for connecting the image pickup device 140. The image pickup apparatus 140 is a digital camera or a digital video camera, and outputs image data obtained by imaging an image pickup target. In the image data, for example, each pixel is represented by an RGB gradation value. Image data obtained by imaging the articles O1 to O4 placed on the article shelf S is input to the second connection portion 14. The input image data may be stored in the storage unit 12 via the calculation unit 11.
 通信部15は、各種データを送受信する通信インタフェースを備える。通信部15が備える通信インタフェースは、例えば、WiFi(登録商標)やイーサネット(登録商標)で用いられるLAN(Local Area Network)の通信規格に準じた通信インタフェースである。通信部15は、送信すべきデータが演算部11から入力された場合、指定された宛先へ送信すべきデータを送信する。また、通信部15は、外部装置から送信されたデータを受信した場合、受信したデータを演算部11へ出力する。 The communication unit 15 includes a communication interface for transmitting and receiving various data. The communication interface included in the communication unit 15 is, for example, a communication interface conforming to the communication standard of LAN (Local Area Network) used in WiFi (registered trademark) and Ethernet (registered trademark). When the data to be transmitted is input from the calculation unit 11, the communication unit 15 transmits the data to be transmitted to the designated destination. Further, when the communication unit 15 receives the data transmitted from the external device, the communication unit 15 outputs the received data to the calculation unit 11.
 操作部16は、各種操作ボタン、スイッチ、タッチパネル等の入力インタフェースを備えており、各種の操作情報及び設定情報を受付ける。演算部11は、操作部16から入力される操作情報に基づき適宜の演算を行い、必要に応じて演算結果を記憶部12に記憶させる。 The operation unit 16 is provided with input interfaces such as various operation buttons, switches, and a touch panel, and receives various operation information and setting information. The calculation unit 11 performs an appropriate calculation based on the operation information input from the operation unit 16, and stores the calculation result in the storage unit 12 as needed.
 表示部17は、液晶パネル又は有機EL(Electro-Luminescence)パネル等の表示装パネルを備えており、管理者等に報知すべき情報を表示する。このとき、演算部11において管理者等に報知すべき情報を含む表示データが生成され、生成された表示データが表示部17へ出力されることによって、各種情報が表示される。 The display unit 17 is provided with a display panel such as a liquid crystal panel or an organic EL (Electro-Luminescence) panel, and displays information to be notified to an administrator or the like. At this time, the calculation unit 11 generates display data including information to be notified to the administrator and the like, and the generated display data is output to the display unit 17, so that various information is displayed.
 なお、本実施の形態では、演算装置10が操作部16及び表示部17を備える構成としたが、操作部16及び表示部17は必須の構成ではなく、演算装置10の外部に接続されたコンピュータを通じて操作を受付け、管理者等に報知すべき情報を外部のコンピュータへ出力する構成としてもよい。 In the present embodiment, the arithmetic unit 10 is configured to include the operation unit 16 and the display unit 17, but the operation unit 16 and the display unit 17 are not indispensable configurations and are computers connected to the outside of the arithmetic unit 10. The operation may be received through the device and the information to be notified to the administrator or the like may be output to an external computer.
 演算装置10は、学習モデル210を用いて、物品棚Sに載置された物品の種別を特定する。以下、物品の種別を特定する際に用いられる学習モデル210について説明する。 The arithmetic unit 10 uses the learning model 210 to specify the type of the article placed on the article shelf S. Hereinafter, the learning model 210 used when specifying the type of the article will be described.
 図4は学習モデル210の構成例を示す模式図である。学習モデル210は、例えば、CNN(Convolutional Neural Networks)による学習モデルであり、入力層211、中間層212、及び、出力層213を備える。学習モデル210は、撮像装置140によって撮像された画像(撮像画像)が入力された場合、物品の種別に関するデータを出力するように予め学習される。 FIG. 4 is a schematic diagram showing a configuration example of the learning model 210. The learning model 210 is, for example, a learning model based on CNN (Convolutional Neural Networks), and includes an input layer 211, an intermediate layer 212, and an output layer 213. When an image (captured image) captured by the image pickup device 140 is input, the learning model 210 is learned in advance so as to output data relating to the type of the article.
 入力層211には、撮像装置140によって撮像された撮像画像が入力される。入力層211に入力された撮像画像は、中間層212へ送出される。 The captured image captured by the imaging device 140 is input to the input layer 211. The captured image input to the input layer 211 is sent to the intermediate layer 212.
 中間層212は、例えば、畳み込み層212a、プーリング層212b、及び全結合層212cにより構成される。畳み込み層212a及びプーリング層212bは交互に複数設けられてもよい。畳み込み層212a及びプーリング層212bは、各層のノードを用いた演算によって、入力層211を通じて入力される撮像画像の特徴を抽出する。全結合層212cは、畳み込み層212a及びプーリング層212bによって特徴部分が抽出されたデータを1つのノードに結合し、活性化関数によって変換された特徴変数を出力する。特徴変数は、全結合層212cを通じて出力層213へ出力される。 The intermediate layer 212 is composed of, for example, a convolution layer 212a, a pooling layer 212b, and a fully connected layer 212c. A plurality of convolution layers 212a and pooling layers 212b may be provided alternately. The convolution layer 212a and the pooling layer 212b extract the features of the captured image input through the input layer 211 by the calculation using the nodes of each layer. The fully connected layer 212c combines the data from which the feature portion is extracted by the convolution layer 212a and the pooling layer 212b into one node, and outputs the feature variable converted by the activation function. The feature variable is output to the output layer 213 through the fully connected layer 212c.
 出力層213は、1つ又は複数のノードを備える。出力層213は、中間層212の全結合層212cから入力される特徴変数を基に、ソフトマックス関数を用いて確率に変換し、撮像画像内に含まれる物品がどの種別に該当するかを示す確率を各ノードから出力する。 The output layer 213 includes one or more nodes. The output layer 213 is converted into a probability using a softmax function based on the feature variable input from the fully connected layer 212c of the intermediate layer 212, and indicates which type the article contained in the captured image corresponds to. Output the probability from each node.
 例えば、出力層213を第1ノードから第nノードまでのn個(nは1以上の整数)のノードにより構成し、第1ノードから、分割領域R1~R4に載置された物品の種別がそれぞれ「種別A」、「種別B」、「種別C」、「種別D」である確率P1を出力し、第2ノードから、分割領域R1~R4に載置された物品の種別がそれぞれ「種別B」、「種別C」、「種別D」、「種別A」である確率P2を出力し、…、第nノードから、分割領域R1~R4に載置された物品の種別がそれぞれ「種別X」、「種別X」、「種別X」、「種別X」である確率Pnを出力してもよい。なお、出力層213を構成するノードの数や各ノードに割り当てる演算結果は、上述の例に限定されるものではなく、適宜設計することが可能である。 For example, the output layer 213 is composed of n nodes (n is an integer of 1 or more) from the first node to the nth node, and the type of the article placed in the division areas R1 to R4 is different from the first node. Probability P1 of "type A", "type B", "type C", and "type D" is output, and the types of articles placed in the division areas R1 to R4 are "types" from the second node, respectively. Probability P2 of "B", "Type C", "Type D", and "Type A" is output, and ..., From the nth node, the types of articles placed in the division areas R1 to R4 are "Type X", respectively. , "Type X", "Type X", "Type X" Probability Pn may be output. The number of nodes constituting the output layer 213 and the calculation result assigned to each node are not limited to the above examples, and can be appropriately designed.
 演算装置10の演算部11は、学習モデル210から得られる演算結果を参照し、例えば確率が最も高い種別の組み合わせを選択することにより、各領域に載置された物品の種別を特定することが可能である。 The arithmetic unit 11 of the arithmetic unit 10 can specify the type of the article placed in each area by referring to the arithmetic result obtained from the learning model 210 and, for example, selecting the combination of the types having the highest probability. It is possible.
 本実施の形態では、撮像装置140から得られる撮像画像を学習モデル210の入力層211に入力する構成としたが、事前に加工を施した撮像画像を学習モデル210の入力層211に入力する構成としてもよい。例えば、演算部11は、物品数のカウント対象となる領域に載置された物品のみを含むように撮像画像の他の領域にマスク処理を施し、マスク処理を施した撮像画像を学習モデル210の入力層211に入力してもよい。この場合、学習モデル210は、1種類の物品の種別に関するデータを出力するように学習されるとよい。 In the present embodiment, the captured image obtained from the imaging device 140 is input to the input layer 211 of the learning model 210, but the captured image processed in advance is input to the input layer 211 of the learning model 210. May be. For example, the calculation unit 11 masks the other regions of the captured image so as to include only the articles placed in the region where the number of articles is to be counted, and uses the masked captured image as the learning model 210. It may be input to the input layer 211. In this case, the learning model 210 may be trained to output data relating to one type of article.
 なお、図3の例ではCNNによる学習モデル210を示したが、学習モデル210を構築する機械学習のモデルは任意に設定することができる。例えば、CNNに代えて、R-CNN(Region-based CNN)、YOLO(You Only Look Once)、SSD(Single Shot Detector)等に基づく学習モデルを設定してもよい。 Although the learning model 210 by CNN is shown in the example of FIG. 3, the machine learning model for constructing the learning model 210 can be arbitrarily set. For example, instead of CNN, a learning model based on R-CNN (Region-based CNN), YOLO (You Only Look Once), SSD (Single Shot Detector), or the like may be set.
 演算装置10は、荷重センサ130より取得した荷重分布データを学習モデル220に入力し、学習モデル220から演算結果を取得することによって、荷重センサ130の計測領域内に置かれたセパレータSPの位置を検出する。以下、荷重センサ130から得られる荷重分布データについて説明した後、学習モデル220の構成について説明する。 The arithmetic unit 10 inputs the load distribution data acquired from the load sensor 130 into the learning model 220, and acquires the calculation result from the learning model 220 to determine the position of the separator SP placed in the measurement area of the load sensor 130. To detect. Hereinafter, the load distribution data obtained from the load sensor 130 will be described, and then the configuration of the learning model 220 will be described.
 図5は荷重センサ130から得られる荷重分布データの一例を示す概念図である。荷重センサ130は、格子状に配置された複数の感圧素子を備え、各感圧素子の位置に対応した計測値(圧力値)を出力する。荷重センサ130が横方向(例えば棚板S1の幅方向)にm個、縦方向(例えば棚板S1の奥行き方向)にn個の感圧素子を備える場合、感圧素子の位置は(X1,Y1),(X2,Y1),…,(Xm,Y1),(X1,Y2,)…,(Xm,Yn)のように位置座標によって表される。ここで、m,nは1以上の整数である。荷重センサ130は、各位置座標に対応して計測値(圧力値)を出力する。図5の例では、圧力値が低い(重量が軽い)領域を濃淡が薄い領域により示し、圧力値が高い(重量が重い)領域を濃淡が濃い領域により示している。 FIG. 5 is a conceptual diagram showing an example of load distribution data obtained from the load sensor 130. The load sensor 130 includes a plurality of pressure-sensitive elements arranged in a grid pattern, and outputs a measured value (pressure value) corresponding to the position of each pressure-sensitive element. When the load sensor 130 includes m pressure sensors in the horizontal direction (for example, the width direction of the shelf board S1) and n pressure sensors in the vertical direction (for example, the depth direction of the shelf board S1), the positions of the pressure sensitive elements are (X1, It is represented by position coordinates such as Y1), (X2, Y1), ..., (Xm, Y1), (X1, Y2,) ..., (Xm, Yn). Here, m and n are integers of 1 or more. The load sensor 130 outputs a measured value (pressure value) corresponding to each position coordinate. In the example of FIG. 5, a region having a low pressure value (light weight) is indicated by a light shade region, and a region having a high pressure value (heavy weight) is indicated by a dark shade region.
 計測領域内にセパレータSPが置かれている場合、荷重センサ130は、セパレータSPの重量に応じた計測値(濃淡)を出力する。図5の例は、計測領域の中央付近において縦方向にセパレータSPが置かれている様子を示している。このセパレータSPにより分割される分割領域の一方を分割領域R1とし、他方を分割領域R2とする。分割領域R1,R2に何らかの物品が置かれている場合、荷重センサ130は、物品の重量に応じた計測値(濃淡)を出力する。図5の例は、セパレータSPより左側の分割領域R1に複数個の物品O1が載置され、セパレータSPより右側の分割領域R2に複数個の物品O2が載置された状態を示している。ただし、図5の例では、説明のために物品O1及び物品O2の符号を明示したが、荷重センサ130の計測値のみから物品の種別を特定できるものではない。物品の種別及び個数は、後述する演算装置10の処理によって特定されることになる。 When the separator SP is placed in the measurement area, the load sensor 130 outputs a measured value (shade) according to the weight of the separator SP. The example of FIG. 5 shows how the separator SP is placed in the vertical direction near the center of the measurement area. One of the divided regions divided by the separator SP is a divided region R1, and the other is a divided region R2. When some article is placed in the divided areas R1 and R2, the load sensor 130 outputs a measured value (shade) according to the weight of the article. The example of FIG. 5 shows a state in which a plurality of articles O1 are placed in the division area R1 on the left side of the separator SP, and a plurality of articles O2 are placed in the division area R2 on the right side of the separator SP. However, in the example of FIG. 5, although the symbols of the article O1 and the article O2 are specified for the sake of explanation, the type of the article cannot be specified only from the measured value of the load sensor 130. The type and number of articles will be specified by the processing of the arithmetic unit 10 described later.
 図6は学習モデル220の構成例を示す模式図である。学習モデル220は、例えば、CNNによる学習モデルであり、入力層221、中間層222、及び、出力層223を備える。学習モデル210は、荷重センサ130によって計測された荷重分布データが入力された場合、セパレータSPの位置に関するデータを出力するように予め学習される。 FIG. 6 is a schematic diagram showing a configuration example of the learning model 220. The learning model 220 is, for example, a learning model based on CNN, and includes an input layer 221, an intermediate layer 222, and an output layer 223. The learning model 210 is trained in advance so as to output data regarding the position of the separator SP when the load distribution data measured by the load sensor 130 is input.
 入力層221には、荷重センサ130によって計測された荷重分布データが入力される。入力層221に入力された荷重分布データは、中間層222へ送出される。 The load distribution data measured by the load sensor 130 is input to the input layer 221. The load distribution data input to the input layer 221 is sent to the intermediate layer 222.
 中間層222は、例えば、畳み込み層222a、プーリング層222b、及び全結合層222cにより構成される。畳み込み層222a及びプーリング層222bは交互に複数設けられてもよい。畳み込み層222a及びプーリング層222bは、各層のノードを用いた演算によって、入力層221を通じて入力される荷重分布データの特徴を抽出する。全結合層222cは、畳み込み層222a及びプーリング層222bによって特徴部分が抽出されたデータを1つのノードに結合し、活性化関数によって変換された特徴変数を出力する。特徴変数は、全結合層222cを通じて出力層223へ出力される。 The intermediate layer 222 is composed of, for example, a convolution layer 222a, a pooling layer 222b, and a fully connected layer 222c. A plurality of convolution layers 222a and pooling layers 222b may be provided alternately. The convolution layer 222a and the pooling layer 222b extract the characteristics of the load distribution data input through the input layer 221 by the calculation using the nodes of each layer. The fully connected layer 222c combines the data whose feature portions are extracted by the convolution layer 222a and the pooling layer 222b into one node, and outputs the feature variable converted by the activation function. The feature variable is output to the output layer 223 through the fully connected layer 222c.
 出力層223は、1つ又は複数のノードを備える。出力層223は、中間層222の全結合層222cから入力される特徴変数を基に、ソフトマックス関数を用いて確率に変換し、セパレータSPの位置に関するデータを各ノードから出力する。例えば、荷重センサ130が横方向にm個、縦方向にn個の感圧素子を備える場合、出力層223の各ノードは、各感圧素子の位置座標(X1,Y1),(X2,Y1),…,(Xi,Yj),…,(Xm,Yn)に対応して、セパレータSPに該当する確率を出力すればよい。例えば、出力層223を第1ノードから第n×mノードまでのn×m個(n,mは1以上の整数)のノードにより構成し、第1ノードからは、位置座標(X1,Y1)に対応する位置がセパレータSPに該当する確率P11を出力し、第2ノードからは、位置座標(X1,Y1)に対応する位置がセパレータSPに該当する確率P21を出力し、…、第mnノードからは、位置座標(Xm,Yn)に対応する位置がセパレータSPに該当する確率Pmnを出力してもよい。なお、出力層223を構成するノードの数や各ノードに割り当てる演算結果は、上述の例に限定されるものではなく、適宜設計することが可能である。 The output layer 223 includes one or more nodes. The output layer 223 converts the characteristic variables input from the fully connected layer 222c of the intermediate layer 222 into probabilities using a softmax function, and outputs data regarding the position of the separator SP from each node. For example, when the load sensor 130 includes m pressure sensors in the horizontal direction and n pressure sensors in the vertical direction, each node of the output layer 223 has the position coordinates (X1, Y1), (X2, Y1) of each pressure sensor. ), ..., (Xi, Yj), ..., (Xm, Yn), the probability corresponding to the separator SP may be output. For example, the output layer 223 is composed of n × m nodes (n and m are integers of 1 or more) from the first node to the n × m node, and the position coordinates (X1, Y1) from the first node. The probability P 11 in which the position corresponding to the position corresponds to the separator SP is output, and the probability P 21 in which the position corresponding to the position coordinates (X1, Y1) corresponds to the separator SP is output from the second node. From the mn node, the probability P mn that the position corresponding to the position coordinates (Xm, Yn) corresponds to the separator SP may be output. The number of nodes constituting the output layer 223 and the calculation result assigned to each node are not limited to the above examples, and can be appropriately designed.
 演算装置10の演算部11は、学習モデル220から得られる演算結果を参照し、確率が閾値以上(例えば、セパレータSPに該当する確率が90%以上)の位置座標を選択することにより、セパレータSPの位置を特定することが可能である。 The arithmetic unit 11 of the arithmetic unit 10 refers to the arithmetic result obtained from the learning model 220 and selects the position coordinates whose probability is equal to or greater than the threshold value (for example, the probability of corresponding to the separator SP is 90% or more). It is possible to identify the position of.
 演算装置10は、学習フェーズにおいて、学習モデル210,220を生成する処理を実行する。以下、演算装置10において学習モデル210を生成する手順について説明する。 The arithmetic unit 10 executes a process of generating learning models 210 and 220 in the learning phase. Hereinafter, the procedure for generating the learning model 210 in the arithmetic unit 10 will be described.
 図7は学習モデル210の生成手順を説明するフローチャートである。演算装置10は、学習モデル210を生成する準備段階として、カウント対象となる物品の画像データと、物品の種別を示すラベルデータとを収集し、収集したデータを教師データとして記憶部12に記憶させる。この準備段階で、十分な数の画像データと、ラベルデータとを収集しておくことで、種別の推定精度を高めることができる。 FIG. 7 is a flowchart illustrating the procedure for generating the learning model 210. The arithmetic unit 10 collects image data of the article to be counted and label data indicating the type of the article as a preparatory step for generating the learning model 210, and stores the collected data in the storage unit 12 as teacher data. .. By collecting a sufficient number of image data and label data in this preparatory stage, the estimation accuracy of the type can be improved.
 演算部11は、記憶部12にアクセスし、学習モデル210の生成に用いる教師データを取得する(ステップS101)。教師データは、物品の画像データと、当該画像データに含まれる物品の種別を示すラベルデータとを含む。ステップS101では、教師データとして含まれる多数の画像データ及びラベルデータのうち、1組の画像データ及びラベルデータを取得すればよい。学習モデル210を生成する初期段階では、教師データは、演算装置10の管理者等によって用意されたものが設定される。また、学習が進めば、学習モデル210による推定結果と、推定処理に用いた撮像画像とを取得し、取得したデータを教師データとして設定してもよい。 The calculation unit 11 accesses the storage unit 12 and acquires the teacher data used for generating the learning model 210 (step S101). The teacher data includes image data of the article and label data indicating the type of the article included in the image data. In step S101, one set of image data and label data may be acquired out of a large number of image data and label data included as teacher data. At the initial stage of generating the learning model 210, the teacher data prepared by the administrator of the arithmetic unit 10 or the like is set. Further, if the learning progresses, the estimation result by the learning model 210 and the captured image used for the estimation process may be acquired, and the acquired data may be set as teacher data.
 次いで、演算部11は、教師データとして含まれる画像データを学習モデル210へ入力し(ステップS102)、学習モデル210から演算結果を取得する(ステップS103)。学習が開始される前の段階では、学習モデル210を記述する定義情報には、初期設定値が与えられているものとする。学習モデル210では、前述のように、各層を構成するノード間において所定の演算が行われる。 Next, the calculation unit 11 inputs the image data included as the teacher data into the learning model 210 (step S102), and acquires the calculation result from the learning model 210 (step S103). At the stage before the start of learning, it is assumed that the definition information describing the learning model 210 is given an initial setting value. In the learning model 210, as described above, a predetermined operation is performed between the nodes constituting each layer.
 次いで、演算部11は、ステップS103で得られた演算結果を評価し(ステップS104)、学習が完了したか否かを判断する(ステップS105)。具体的には、演算部11は、ステップS103で得られる演算結果と教師データとに基づく誤差関数(目的関数、損失関数、コスト関数ともいう)を用いて、演算結果を評価することができる。演算部11は、最急降下法などの勾配降下法により誤差関数を最適化(最小化又は最大化)する過程で、誤差関数が閾値以下(又は閾値以上)となった場合、学習が完了したと判断する。なお、過学習の問題を避けるために、交差検定、早期打ち切りなどの手法を取り入れ、適切なタイミングにて学習を終了させてもよい。 Next, the calculation unit 11 evaluates the calculation result obtained in step S103 (step S104), and determines whether or not the learning is completed (step S105). Specifically, the calculation unit 11 can evaluate the calculation result by using an error function (also referred to as an objective function, a loss function, or a cost function) based on the calculation result obtained in step S103 and the teacher data. When the error function becomes less than or equal to the threshold value (or more than the threshold value) in the process of optimizing (minimizing or maximizing) the error function by the gradient descent method such as the steepest descent method, the calculation unit 11 states that the learning is completed. to decide. In order to avoid the problem of overfitting, techniques such as cross-validation and early stopping may be adopted to end learning at an appropriate timing.
 学習が完了していないと判断した場合(S105:NO)、演算部11は、学習モデル210のノード間の重み及びバイアスを更新し(ステップS106)、処理をステップS101へ戻す。演算部11は、学習モデル210の出力層213から入力層211に向かって、ノード間の重み及びバイアスを順次更新する誤差逆伝搬法を用いて、各ノード間の重み及びバイアスを更新することができる。 When it is determined that the learning is not completed (S105: NO), the calculation unit 11 updates the weights and biases between the nodes of the learning model 210 (step S106), and returns the process to step S101. The arithmetic unit 11 may update the weights and biases between the nodes by using the error back propagation method in which the weights and biases between the nodes are sequentially updated from the output layer 213 of the learning model 210 toward the input layer 211. it can.
 学習が完了したと判断した場合(S105:YES)、演算部11は、学習済みの学習モデル210として記憶部12に記憶させ(ステップS107)、本フローチャートによる処理を終了する。 When it is determined that the learning is completed (S105: YES), the calculation unit 11 stores the learned learning model 210 in the storage unit 12 (step S107), and ends the process according to this flowchart.
 このように、演算装置10は、カウント対象となる物品の画像データと、物品の種別を示すラベルデータとを収集し、収集したデータを教師データに用いることによって、学習モデル210を生成することができる。また、演算装置10は、図7に示す処理手順と同様の処理手順にてセパレータSPの位置検出用の学習モデル220を生成することができる。この場合、演算装置10は、荷重センサ130から得られる荷重分布データと、計測領域内のセパレータSPの位置を示すラベルデータとを収集し、収集したデータを教師データに用いて、学習モデル220を生成すればよい。本実施の形態では、演算装置10において学習モデル210,220を生成する手順を説明したが、外部のサーバ装置にて学習モデル210,220を生成する場合についても、同様の処理手順にて学習モデル210,220を生成すればよい。 In this way, the arithmetic unit 10 can generate the learning model 210 by collecting the image data of the article to be counted and the label data indicating the type of the article and using the collected data as the teacher data. it can. Further, the arithmetic unit 10 can generate the learning model 220 for detecting the position of the separator SP by the same processing procedure as that shown in FIG. 7. In this case, the arithmetic unit 10 collects the load distribution data obtained from the load sensor 130 and the label data indicating the position of the separator SP in the measurement area, and uses the collected data as the teacher data to perform the learning model 220. It should be generated. In the present embodiment, the procedure for generating the learning models 210 and 220 in the arithmetic unit 10 has been described, but the learning model is also generated in the case where the learning models 210 and 220 are generated in the external server device by the same processing procedure. 210 and 220 may be generated.
 演算装置10は、学習モデル210,220が生成された後の運用フェーズにおいて、適宜のタイミングで物品数のカウント処理を実行することが可能である。物品数のカウント処理は、管理者等により実行指示が与えられた場合に実行されてもよく、定期的なタイミングにて実行されてもよい。以下、演算装置10による物品数のカウント処理について説明する。 The arithmetic unit 10 can execute the counting process of the number of articles at an appropriate timing in the operation phase after the learning models 210 and 220 are generated. The counting process of the number of articles may be executed when an execution instruction is given by an administrator or the like, or may be executed at a regular timing. Hereinafter, the counting process of the number of articles by the arithmetic unit 10 will be described.
 図8は物品数のカウント手順を説明するフローチャートである。演算装置10の演算部11は、第1接続部13を通じて、荷重センサ130から出力される荷重分布データを取得する(ステップS121)。荷重分布データは、計測領域内の位置の情報と、各感圧素子によって計測された計測値とにより構成される行列データを示す。 FIG. 8 is a flowchart illustrating a procedure for counting the number of articles. The arithmetic unit 11 of the arithmetic unit 10 acquires the load distribution data output from the load sensor 130 through the first connection unit 13 (step S121). The load distribution data shows matrix data composed of position information in the measurement region and measurement values measured by each pressure sensitive element.
 演算部11は、取得した荷重分布データをセパレータSPの位置検出用の学習モデル220へ入力する(ステップS122)。演算部11は、取得した荷重分布データを学習モデル220の入力層221に与えることによって、学習モデル220による演算を実行させる。学習モデル220の入力層221に与えられた荷重分布データは中間層222へ送出される。中間層222では、ノード間の重み及びバイアスを含む活性化関数を用いた演算が実行される。中間層222の畳み込み層222a及びプーリング層222bでは荷重分布データの特徴が抽出される。畳み込み層222a及びプーリング層222bによって抽出された特徴部分のデータは、全結合層222cの構成する各ノードに結合され、活性化関数によって特徴変数に変換される。変換された特徴変数は、全結合層222cを通じて出力層223へ出力される。出力層223は、中間層222の全結合層222cから入力される特徴変数を基に、ソフトマックス関数を用いて確率に変換し、感圧素子の位置座標に対応してセパレータSPに該当する確率を各ノードから出力する。 The calculation unit 11 inputs the acquired load distribution data to the learning model 220 for detecting the position of the separator SP (step S122). The calculation unit 11 gives the acquired load distribution data to the input layer 221 of the learning model 220 to execute the calculation by the learning model 220. The load distribution data given to the input layer 221 of the learning model 220 is sent to the intermediate layer 222. In the intermediate layer 222, an operation using an activation function including weights and biases between nodes is executed. The features of the load distribution data are extracted from the convolution layer 222a and the pooling layer 222b of the intermediate layer 222. The data of the feature portion extracted by the convolution layer 222a and the pooling layer 222b is combined with each node constituting the fully connected layer 222c and converted into a feature variable by the activation function. The converted feature variable is output to the output layer 223 through the fully connected layer 222c. The output layer 223 is converted into a probability by using a softmax function based on the feature variable input from the fully connected layer 222c of the intermediate layer 222, and the probability corresponding to the position coordinates of the pressure sensitive element corresponds to the separator SP. Is output from each node.
 演算部11は、学習モデル220から演算結果を取得し、取得した演算結果に基づき、分割領域を特定する(ステップS123)。演算部11は、学習モデル220から得られる演算結果に基づき、計測領域内に置かれたセパレータSPの位置を検出することができる。演算部11は、検出したセパレータSPの位置座標に基づき、分割領域を特定すればよい。例えば、図5に示すように、セパレータSPが縦方向(棚板S1の奥行き方向)に延びている場合、セパレータSPより左側(X座標がセパレータSPのX座標より小さい領域)を1つの分割領域(分割領域R1)として特定し、セパレータSPより右側(X座標がセパレータSPのX座標より大きい領域)を1つの分割領域(分割領域R2)として特定することができる。 The calculation unit 11 acquires the calculation result from the learning model 220, and specifies the division area based on the obtained calculation result (step S123). The calculation unit 11 can detect the position of the separator SP placed in the measurement area based on the calculation result obtained from the learning model 220. The calculation unit 11 may specify the division area based on the detected position coordinates of the separator SP. For example, as shown in FIG. 5, when the separator SP extends in the vertical direction (depth direction of the shelf board S1), the left side of the separator SP (the region where the X coordinate is smaller than the X coordinate of the separator SP) is one divided region. It can be specified as (division area R1), and the right side of the separator SP (the area whose X coordinate is larger than the X coordinate of the separator SP) can be specified as one division area (division area R2).
 次いで、演算部11は、分割領域内の総重量を導出する(ステップS124)。演算部11は、荷重センサ130からの計測値のうち、分割領域内の計測値の和を求めることにより、分割領域内の総重量を導出することができる。演算部11は、分割領域のそれぞれについて、総重量を導出すればよい。 Next, the calculation unit 11 derives the total weight in the divided region (step S124). The calculation unit 11 can derive the total weight in the divided region by obtaining the sum of the measured values in the divided region among the measured values from the load sensor 130. The calculation unit 11 may derive the total weight for each of the divided regions.
 次いで、演算部11は、第2接続部14を通じて、撮像装置140から出力される画像データを取得する(ステップS125)。画像データは、例えば各画素がRGBの階調値により表現されるデータである。 Next, the calculation unit 11 acquires the image data output from the image pickup apparatus 140 through the second connection unit 14 (step S125). The image data is, for example, data in which each pixel is represented by RGB gradation values.
 演算部11は、取得した画像データを物品の種別特定用の学習モデル210へ入力する(ステップS126)。演算部11は、取得した画像データを学習モデル210の入力層211に与えることによって、学習モデル210による演算を実行させる。学習モデル210の入力層211に与えられた画像データは中間層212へ送出される。中間層212では、ノード間の重み及びバイアスを含む活性化関数を用いた演算が実行される。中間層212の畳み込み層212a及びプーリング層212bでは画像の特徴が抽出される。畳み込み層212a及びプーリング層212bによって抽出された特徴部分のデータは、全結合層212cの構成する各ノードに結合され、活性化関数によって特徴変数に変換される。変換された特徴変数は、全結合層212cを通じて出力層213へ出力される。出力層213は、中間層212の全結合層212cから入力される特徴変数を基に、ソフトマックス関数を用いて確率に変換し、各分割領域内に含まれる物品がどの種別に該当するかを示す確率を各ノードから出力する。 The calculation unit 11 inputs the acquired image data to the learning model 210 for specifying the type of the article (step S126). The calculation unit 11 gives the acquired image data to the input layer 211 of the learning model 210 to execute the calculation by the learning model 210. The image data given to the input layer 211 of the learning model 210 is sent to the intermediate layer 212. In the intermediate layer 212, an operation using an activation function including weights and biases between nodes is executed. Image features are extracted from the convolutional layer 212a and the pooling layer 212b of the intermediate layer 212. The data of the feature portion extracted by the convolution layer 212a and the pooling layer 212b is combined with each node constituting the fully connected layer 212c and converted into a feature variable by the activation function. The converted feature variable is output to the output layer 213 through the fully connected layer 212c. The output layer 213 is converted into a probability using a softmax function based on the feature variable input from the fully connected layer 212c of the intermediate layer 212, and the type of the article contained in each division region is determined. The indicated probability is output from each node.
 演算部11は、学習モデル210から演算結果を取得し、取得した演算結果に基づき、物品の種別を特定する(ステップS127)。演算部11は、学習モデル210から得られる演算結果に基づき、例えば、確率が最も高い物品の組み合わせを選択することによって、各分割領域内に置かれた物品の種別を特定することができる。 The calculation unit 11 acquires a calculation result from the learning model 210, and specifies the type of the article based on the obtained calculation result (step S127). The calculation unit 11 can specify the type of the article placed in each division region, for example, by selecting the combination of articles having the highest probability based on the calculation result obtained from the learning model 210.
 次いで、演算部11は、ステップS127において種別が特定された物品に関して、重量テーブル201から、物品1個あたりの重量を読み出す(ステップS128)。例えば、ステップS127で特定した種別が「種別A」である場合、演算部11は、重量テーブル201を参照し、「種別A」に関連付けて記憶されている物品1個あたりの重量「Wa」を読み出せばよい。他の種別を特定した場合も同様である。ステップS128では、分割領域のそれぞれにおいて種別に対応した物品1個あたりの重量を読み出せばよい。 Next, the calculation unit 11 reads out the weight per article from the weight table 201 with respect to the article whose type is specified in step S127 (step S128). For example, when the type specified in step S127 is "type A", the calculation unit 11 refers to the weight table 201 and sets the weight "Wa" per article stored in association with "type A". You just have to read it. The same applies when other types are specified. In step S128, the weight per article corresponding to the type may be read out in each of the divided regions.
 次いで、演算部11は、ステップS124で導出した分割領域内の総重量と、ステップS128で特定した分割領域内に載置されている物品の1個あたりの重量とに基づき、物品の個数を算出する(ステップS129)。例えば、ステップS124で導出した分割領域内の総重量を「WA」、ステップS128で特定した1個あたりの重量を「Wa」とした場合、演算部11は、WA/Waを算出することによって、分割領域内の個数を算出する。ステップS129では、分割領域のそれぞれにおいて物品の個数を算出すればよい。 Next, the calculation unit 11 calculates the number of articles based on the total weight in the divided area derived in step S124 and the weight per article placed in the divided area specified in step S128. (Step S129). For example, when the total weight in the divided region derived in step S124 is "WA" and the weight per piece specified in step S128 is "Wa", the calculation unit 11 calculates WA / Wa. Calculate the number in the division area. In step S129, the number of articles may be calculated in each of the divided regions.
 演算部11は、算出した物品の個数を記憶部12に記憶させる。また、演算部11は、算出した物品の個数を表示部17に表示させてもよく、通信部15を通じて管理者等が使用する端末装置へ通知してもよい。 The calculation unit 11 stores the calculated number of articles in the storage unit 12. Further, the calculation unit 11 may display the calculated number of articles on the display unit 17, or may notify the terminal device used by the administrator or the like through the communication unit 15.
 このように、本実施の形態では、セパレータSPにより分割される分割領域R1~R4内の物品の種別を学習モデル210を用いて特定し、各分割領域R1~R4における物品の個数を算出することができる。 As described above, in the present embodiment, the type of the article in the divided areas R1 to R4 divided by the separator SP is specified by using the learning model 210, and the number of articles in each divided area R1 to R4 is calculated. Can be done.
 なお、本実施の形態では、荷重センサ130からの荷重分布データに基づき分割領域を特定し、その後に、撮像装置140からの画像データに基づき種別を特定する手順としたが、先に種別を特定した後に、分割領域を特定する手順としてもよい。 In the present embodiment, the divided region is specified based on the load distribution data from the load sensor 130, and then the type is specified based on the image data from the image pickup device 140. However, the type is specified first. After that, the procedure may be to specify the division area.
 また、本実施の形態では、学習モデル210を用いて、各分割領域に載置されている物品の種別を特定する構成としたが、撮像画像において物品の種別を特定し、種別が特定された物品の画像内の位置と、学習モデル220を用いて検出されるセパレータSPの位置情報とに基づき、各分割領域における物品の種別を特定してもよい。後者の場合、撮像装置140から出力される画像データが入力された場合、画像内で特定した物品の種別に関するデータを出力するように学習された学習モデルを用いるとよい。この場合の学習モデルの学習手順は、学習モデル210における学習手順と同様の手順を用いることができる。 Further, in the present embodiment, the learning model 210 is used to specify the type of the article placed in each divided region, but the type of the article is specified in the captured image and the type is specified. The type of the article in each division region may be specified based on the position in the image of the article and the position information of the separator SP detected by using the learning model 220. In the latter case, when the image data output from the image pickup apparatus 140 is input, it is preferable to use a learning model trained to output data relating to the type of the article specified in the image. As the learning procedure of the learning model in this case, the same procedure as the learning procedure in the learning model 210 can be used.
 また、本実施の形態では、荷重センサ130からの荷重分布データに基づき、分割領域を特定する構成としたが、撮像装置140から得られる画像データに基づき、分割領域を特定する構成としてもよい。後者の場合、撮像装置140から出力される画像データが入力された場合、セパレータSPの位置に関するデータを出力するように学習された学習モデルを用いるとよい。この場合の学習モデルの学習手順は、学習モデル220における学習手順と同様の手順を用いることができる。
 また、荷重センサ130からの荷重分布データに基づかずに分割領域を特定できる構成を採用する場合には、荷重センサ130の計測データとして、分布データ(荷重分布データ)を用いる必要はなく、分割領域に載置された物品の総重量を荷重センサ130により算出できるデータを用いれば足りる。
Further, in the present embodiment, the divided region is specified based on the load distribution data from the load sensor 130, but the divided region may be specified based on the image data obtained from the image pickup apparatus 140. In the latter case, when the image data output from the image pickup apparatus 140 is input, it is preferable to use a learning model trained to output the data regarding the position of the separator SP. As the learning procedure of the learning model in this case, the same procedure as the learning procedure in the learning model 220 can be used.
Further, when adopting a configuration in which the divided region can be specified without being based on the load distribution data from the load sensor 130, it is not necessary to use the distribution data (load distribution data) as the measurement data of the load sensor 130, and the divided region It suffices to use the data that can calculate the total weight of the articles placed on the load sensor 130.
 また、本実施の形態では、学習モデル220を用いてセパレータSPの位置を検出する構成としたが、セパレータSPの位置を検出する位置検出センサを用いてもよい。位置検出センサとしては、光学センサや磁気センサなどを用いることができる。光学センサを用いる場合、セパレータSPに向けて光を出射する発光素子と、セパレータSPによって反射される光を受光する受光素子とを用いて、受光素子における光の受光強度を計測することによって、セパレータSPの位置を検出することができる。また、磁気センサを用いる場合、セパレータSPに磁石を貼着し、この磁石の位置を磁気センサによって検出することによってセパレータSPの位置を検出することができる。 Further, in the present embodiment, the learning model 220 is used to detect the position of the separator SP, but a position detection sensor that detects the position of the separator SP may be used. As the position detection sensor, an optical sensor, a magnetic sensor, or the like can be used. When an optical sensor is used, a separator is used by measuring the light receiving intensity of the light receiving element by using a light emitting element that emits light toward the separator SP and a light receiving element that receives light reflected by the separator SP. The position of the SP can be detected. When a magnetic sensor is used, the position of the separator SP can be detected by attaching a magnet to the separator SP and detecting the position of the magnet with the magnetic sensor.
 また、本実施の形態では、学習フェーズにおいて、学習モデル210,220を生成する構成としたが、運用開始後の任意のタイミングにて、再学習を実行してもよい。この場合、演算部11は、学習モデル210,220の推定結果を表示部17に表示し、学習モデル210,220による推定結果が正しいか否かの選択を受付けるとよい。演算部11は、推定処理を行った際に用いた画像データと、種別の推定結果が正しいか否かを示すラベルデータとを教師データに用いて、学習モデル210を再学習することができる。また、演算部11は、推定処理を行った際に用いた計測分布データと、セパレータSPの位置の推定結果が正しいか否かを示すラベルデータとを教師データに用いて、学習モデル220を再学習することができる。なお、再学習の手順は、図7に示す学習手順と全く同様であるため、その説明を省略することとする。 Further, in the present embodiment, the learning models 210 and 220 are generated in the learning phase, but re-learning may be executed at any timing after the start of operation. In this case, the calculation unit 11 may display the estimation results of the learning models 210 and 220 on the display unit 17 and accept the selection of whether or not the estimation results by the learning models 210 and 220 are correct. The calculation unit 11 can relearn the learning model 210 by using the image data used when the estimation process is performed and the label data indicating whether or not the estimation result of the type is correct as the teacher data. Further, the calculation unit 11 re-uses the measurement distribution data used when the estimation process is performed and the label data indicating whether or not the estimation result of the position of the separator SP is correct as the teacher data to re-learn the learning model 220. You can learn. Since the re-learning procedure is exactly the same as the learning procedure shown in FIG. 7, the description thereof will be omitted.
[実施の形態の変形例]
 なお、上記実施の形態では、物品群を撮像して得られる画像データを取得し、取得した画像データに基づき、物品群に含まれる物品の種別を特定しているが、必ずしも画像データから物品の種別を特定する必要はない。以下、物品の種別を特定する他の手法について説明する。なお、上記実施の形態で説明した構成と同じ構成には同じ符号を付与し、重複する説明を省略する。
[Modified example of the embodiment]
In the above embodiment, the image data obtained by imaging the article group is acquired, and the type of the article included in the article group is specified based on the acquired image data, but the article is not necessarily from the image data. There is no need to specify the type. Hereinafter, other methods for specifying the type of the article will be described. The same reference numerals are given to the same configurations as those described in the above embodiment, and duplicate description will be omitted.
 例えば、物品の種別ごとに荷重センサ130上に載置する領域(上記実施形態の分割領域に対応する)を予め決めておく。そして、荷重センサ130の計測領域内に格子状に配置された各感圧素子に識別子(以下、IDともいう)を付与し、該識別子と、該IDを有する感圧素子上に載置される物品の種別とを対応付けて記憶部12に記憶させておくことで、荷重センサ130上に載置された物品の種別を、物品の荷重による圧力を感知した感圧素子のIDに基づいて特定することができる。 For example, the area to be placed on the load sensor 130 (corresponding to the divided area of the above embodiment) is determined in advance for each type of article. Then, an identifier (hereinafter, also referred to as an ID) is given to each pressure-sensitive element arranged in a grid pattern in the measurement area of the load sensor 130, and the identifier and the pressure-sensitive element having the ID are placed on the identifier. By storing in the storage unit 12 in association with the type of the article, the type of the article placed on the load sensor 130 can be specified based on the ID of the pressure sensitive element that senses the pressure due to the load of the article. can do.
 表1は、感圧素子のIDと、荷重センサ130上の分割領域と、物品の種別とを関連付けた表の一例である。表1に示す例では、感圧素子IDが1-100には、分割領域R1及び物品O1が関連付けられ、感圧素子IDが101-200には分割領域R2及び物品O2が関連付けられている。つまり、記憶部12に表1に示す情報を記憶し、この表1の情報を参照することで、物品の荷重による圧力を感知した感圧素子のIDに基づいて載置された物品の種別を特定することができる。なお、物品を荷重センサ130上に載置する際に、荷重センサ130上の分割領域R1、R2を認識できるように色分けするなど視覚上認識可能な仕切りを設けることが好ましい。
Figure JPOXMLDOC01-appb-T000001
Table 1 is an example of a table in which the ID of the pressure-sensitive element, the divided region on the load sensor 130, and the type of the article are associated with each other. In the example shown in Table 1, the pressure sensitive element ID 1-100 is associated with the division region R1 and the article O1, and the pressure sensitive element ID 101-200 is associated with the division region R2 and the article O2. That is, the information shown in Table 1 is stored in the storage unit 12, and by referring to the information in Table 1, the type of the article placed based on the ID of the pressure sensitive element that senses the pressure due to the load of the article can be determined. Can be identified. When the article is placed on the load sensor 130, it is preferable to provide a visually recognizable partition such as color-coding the divided regions R1 and R2 on the load sensor 130 so that they can be recognized.
Figure JPOXMLDOC01-appb-T000001
 上記構成によれば、荷重センサ130の計測領域内に格子状に配置された複数の感圧素子のうち物品の載置を検知した感圧素子のID又は位置情報に基づいて、物品の種別を特定することができ、この特定した物品の種別、物品の1個あたりの重量及び物品の総重量に基づいて、特定領域に載置された物品数を算出することができる。 According to the above configuration, among a plurality of pressure-sensitive elements arranged in a grid pattern in the measurement area of the load sensor 130, the type of the article is determined based on the ID or position information of the pressure-sensitive element that has detected the placement of the article. It can be specified, and the number of articles placed in the specific area can be calculated based on the type of the specified article, the weight per article, and the total weight of the articles.
 なお、上記説明では、感圧素子ID、分割領域及び物品種別を関連付けた表1に示す情報が記憶部12に記憶されているが、感圧素子ID及び物品種別を直接関連付けた情報(分割領域の情報が関連付けられていない)を記憶部12に記憶し、この記憶部12に記憶された情報を参照することで、物品の荷重による圧力を感知した感圧素子のIDに基づいて載置された物品の種別を特定するようにしてもよい。また、荷重センサ130の分割領域を変更可能なように、記憶部12に記憶された表1に示す関係(感圧素子IDと物品種別との関連付け)を変更可能に構成することが好ましい。 In the above description, the information shown in Table 1 in which the pressure sensitive element ID, the division area, and the article type are associated is stored in the storage unit 12, but the information in which the pressure sensitive element ID and the article type are directly associated (division area). Information is not associated with this) is stored in the storage unit 12, and by referring to the information stored in the storage unit 12, the information is placed based on the ID of the pressure-sensitive element that senses the pressure due to the load of the article. The type of the article may be specified. Further, it is preferable that the relationship (association between the pressure sensitive element ID and the article type) stored in the storage unit 12 and shown in Table 1 can be changed so that the divided region of the load sensor 130 can be changed.
 また、上記実施の形態では、荷重センサ130の計測領域内には、物品O1~O4と共に、物品O1~O4を種別毎に区分するためのセパレータSPが載置されるが、このセパレータSPの載置位置は、荷重センサ130から得られる荷重分布データの入力に対して、セパレータSPの位置に関するデータが出力するように構成されている。しかしながら、必ずしも荷重センサ130から得られる荷重分布データに基づいてセパレータSPの位置を検出する必要はない。例えば、撮像装置140から出力される画像データに基づいてセパレータSPの位置を検出するようにしてもよい。 Further, in the above embodiment, in the measurement area of the load sensor 130, a separator SP for classifying the articles O1 to O4 by type is placed together with the articles O1 to O4, and the separator SP is placed. The placement position is configured so that data relating to the position of the separator SP is output in response to input of load distribution data obtained from the load sensor 130. However, it is not always necessary to detect the position of the separator SP based on the load distribution data obtained from the load sensor 130. For example, the position of the separator SP may be detected based on the image data output from the image pickup apparatus 140.
 この場合、記憶部12には、セパレータSPの位置を検出する処理に用いられる学習モデルが記憶されてもよい。該学習モデルは、撮像装置140から得られる画像データの入力に対して、セパレータSPの位置に関するデータを出力するように構成される。学習モデルの構成は、その定義情報によって定義される。定義情報は、学習モデルの構成(層の数やノードの数など)を定義する構成情報、学習モデルを用いた演算において参照されるノード間の重みやバイアスなどの各種パラメータを含む。 In this case, the storage unit 12 may store the learning model used for the process of detecting the position of the separator SP. The learning model is configured to output data regarding the position of the separator SP in response to the input of image data obtained from the image pickup apparatus 140. The structure of the learning model is defined by the definition information. The definition information includes configuration information that defines the configuration of the learning model (number of layers, number of nodes, etc.), and various parameters such as weights and biases between nodes referred to in the calculation using the learning model.
 なお、本変形例においても上記実施の形態と同様に荷重センサ130からの荷重分布データに基づかずに分割領域を特定できる構成を採用してもよい。この場合も同様に、荷重センサ130の計測データとして、分布データ(荷重分布データ)を用いる必要はなく、分割領域に載置された物品の総重量を荷重センサ130により算出できるデータを用いれば足りる。 In this modified example as well, a configuration in which the divided region can be specified without being based on the load distribution data from the load sensor 130 may be adopted as in the above embodiment. Similarly, in this case as well, it is not necessary to use the distribution data (load distribution data) as the measurement data of the load sensor 130, and it is sufficient to use the data that can calculate the total weight of the articles placed in the divided region by the load sensor 130. ..
 また、同様に、本変形例においても重量テーブル201に物品の1個あたりの重量に限らず、1個の場合を含む単位個数(1個以上)あたりの重量を記憶してもよい。この場合も同様に、これらの単位個数(1個以上)あたりの重量とともに、物品の1個あたりの重量に換算できる情報を重量テーブル201に記憶して、物品の1個あたりの重量に換算できるようにすれば良い。 Similarly, also in this modification, the weight table 201 may store not only the weight per article but also the weight per unit number (one or more) including the case of one article. In this case as well, the weight per unit number (one or more) and the information that can be converted into the weight per article can be stored in the weight table 201 and converted into the weight per article. You can do it.
 今回開示された実施形態は、全ての点において例示であって、制限的なものではないと考えられるべきである。本発明の範囲は、上述した意味ではなく、請求の範囲によって示され、請求の範囲と均等の意味及び範囲内での全ての変更が含まれることが意図される。 The embodiments disclosed this time should be considered to be exemplary in all respects and not restrictive. The scope of the present invention is indicated by the scope of claims, not the meaning described above, and is intended to include all modifications within the meaning and scope equivalent to the claims.
 10 演算装置
 11 演算部
 12 記憶部
 13 第1接続部
 14 第2接続部
 15 通信部
 16 操作部
 17 表示部
 130 荷重センサ
 140 撮像装置

 
10 Arithmetic logic unit 11 Arithmetic logic unit 12 Storage unit 13 1st connection unit 14 2nd connection unit 15 Communication unit 16 Operation unit 17 Display unit 130 Load sensor 140 Imaging device

Claims (8)

  1.  特定領域に載置された物品の荷重を計測する荷重センサの計測データに基づいて、前記物品の総重量を算出する第1算出部と、
     前記特定領域に載置された物品の種別を特定する特定部と、
     前記特定部が特定した前記物品の種別、前記物品の単位個数あたりの重量及び前記第1算出部が算出した前記物品の総重量に基づいて、前記特定領域に載置された物品数を算出する第2算出部と、
     を備える物品数のカウントシステム。
    A first calculation unit that calculates the total weight of the article based on the measurement data of the load sensor that measures the load of the article placed in the specific area.
    A specific part that specifies the type of article placed in the specific area, and
    The number of articles placed in the specific area is calculated based on the type of the article specified by the specific unit, the weight per unit number of the articles, and the total weight of the articles calculated by the first calculation unit. The second calculation unit and
    A counting system for the number of articles.
  2.  前記荷重センサは、
     所定間隔で配置された複数の感圧素子を有し、
     前記特定部は、
     前記複数の感圧素子のそれぞれと、前記載置される物品の種別とを関連付けた情報を参照し、前記複数の感圧素子のうち前記物品の載置を検知した感圧素子に基づいて、前記物品の種別を特定する
     請求項1に記載の物品数のカウントシステム。
    The load sensor is
    It has a plurality of pressure sensitive elements arranged at predetermined intervals, and has a plurality of pressure sensitive elements.
    The specific part is
    Based on the pressure-sensitive element that has detected the placement of the article among the plurality of pressure-sensitive elements by referring to the information associated with each of the plurality of pressure-sensitive elements and the type of the article placed above. The counting system for the number of articles according to claim 1, which specifies the type of the article.
  3.  前記特定部は、
     前記物品の撮像データに基づいて、前記物品の種別を特定する
     請求項1に記載の物品数のカウントシステム。
    The specific part is
    The counting system for the number of articles according to claim 1, which specifies the type of the article based on the imaging data of the article.
  4.  前記第2算出部は、
     前記物品を種別毎に区分するためのセパレータにより分割される分割領域内に載置された物品の総重量を算出し、
     前記分割領域内に載置された物品の総重量と、前記物品の単位個数あたりの重量とに基づき、前記分割領域内に載置された物品の数を算出する
     請求項1に記載の物品数のカウントシステム。
    The second calculation unit
    The total weight of the articles placed in the division area divided by the separator for classifying the articles by type is calculated.
    The number of articles according to claim 1, wherein the number of articles placed in the divided area is calculated based on the total weight of the articles placed in the divided area and the weight per unit number of the articles. Counting system.
  5.  前記セパレータが前記特定領域に載置された状態での荷重分布の計測データに基づいて、前記セパレータの位置を検出する第1検出部を備え、
     前記第2算出部は、
     前記第1検出部の検出結果に基づき、前記セパレータにより分割される分割領域を特定する
     請求項4に記載の物品数のカウントシステム。
    A first detection unit that detects the position of the separator based on the measurement data of the load distribution in the state where the separator is placed on the specific region is provided.
    The second calculation unit
    The counting system for the number of articles according to claim 4, wherein a division area divided by the separator is specified based on the detection result of the first detection unit.
  6.  撮像データに基づいて、前記セパレータの位置を検出する第2検出部を備え、
     前記第2算出部は、
     前記第2検出部の検出結果に基づき、前記セパレータにより分割される分割領域を特定する
     請求項4に記載の物品数のカウントシステム。
    A second detection unit that detects the position of the separator based on the imaged data is provided.
    The second calculation unit
    The counting system for the number of articles according to claim 4, wherein a division area divided by the separator is specified based on the detection result of the second detection unit.
  7.  第1算出部が、特定領域に載置された物品の荷重を計測する荷重センサの計測データに基づいて、前記物品の総重量を算出する工程と、
     特定部が、前記特定領域に載置された物品の種別を特定する工程と、
     第2算出部が、前記特定部が特定した前記物品の種別、前記物品の単位個数あたりの重量及び前記第1算出部が算出した前記物品の総重量に基づいて、前記特定領域に載置された物品数を算出する工程と、
     を有する物品数のカウント方法。
    A step in which the first calculation unit calculates the total weight of the article based on the measurement data of the load sensor that measures the load of the article placed in the specific area.
    A step in which the specific part specifies the type of the article placed in the specific area, and
    The second calculation unit is placed in the specific area based on the type of the article specified by the specific unit, the weight per unit number of the article, and the total weight of the article calculated by the first calculation unit. The process of calculating the number of articles
    How to count the number of articles with.
  8.  コンピュータを、
     特定領域に載置された物品の荷重を計測する荷重センサの計測データに基づいて、前記物品の総重量を算出する第1算出部、
     前記特定領域に載置された物品の種別を特定する特定部、
     前記特定部が特定した前記物品の種別、前記物品の単位個数あたりの重量及び前記第1算出部が算出した前記物品の総重量に基づいて、前記特定領域に載置された物品数を算出する第2算出部、
     として機能させるコンピュータプログラム。

     
    Computer,
    The first calculation unit, which calculates the total weight of the article based on the measurement data of the load sensor that measures the load of the article placed in the specific area.
    A specific part that specifies the type of article placed in the specific area,
    The number of articles placed in the specific area is calculated based on the type of the article specified by the specific unit, the weight per unit number of the articles, and the total weight of the articles calculated by the first calculation unit. Second calculation unit,
    A computer program that acts as.

PCT/JP2020/022056 2019-07-23 2020-06-04 Counting method, computer program, and counting system WO2021014781A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2019135649A JP6598182B1 (en) 2019-07-23 2019-07-23 Counting method, computer program, and counting system
JP2019-135649 2019-07-23

Publications (1)

Publication Number Publication Date
WO2021014781A1 true WO2021014781A1 (en) 2021-01-28

Family

ID=68383235

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2020/022056 WO2021014781A1 (en) 2019-07-23 2020-06-04 Counting method, computer program, and counting system

Country Status (2)

Country Link
JP (1) JP6598182B1 (en)
WO (1) WO2021014781A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7467166B2 (en) 2020-03-09 2024-04-15 東芝テック株式会社 Information processing device and item shelf

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017180752A1 (en) * 2016-04-15 2017-10-19 The Coca-Cola Company Shelf inventory management system and method
JP2018062395A (en) * 2016-10-11 2018-04-19 新日本リース株式会社 Material conveyance system

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1017121A (en) * 1996-07-02 1998-01-20 Keiyo Syst Kk Automatic stocktaking device
JP2006282347A (en) * 2005-04-01 2006-10-19 Ishida Co Ltd Sorting system
JP6048741B2 (en) * 2013-03-04 2016-12-21 日本電気株式会社 Article management system, article management method, information processing apparatus, control method thereof, and control program

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017180752A1 (en) * 2016-04-15 2017-10-19 The Coca-Cola Company Shelf inventory management system and method
JP2018062395A (en) * 2016-10-11 2018-04-19 新日本リース株式会社 Material conveyance system

Also Published As

Publication number Publication date
JP2021018747A (en) 2021-02-15
JP6598182B1 (en) 2019-10-30

Similar Documents

Publication Publication Date Title
US11521248B2 (en) Method and system for tracking objects in an automated-checkout store based on distributed computing
CN109446883B (en) Commodity state identification method and device, electronic equipment and readable storage medium
US10909667B1 (en) Image rectification using transformation data
US10332066B1 (en) Item management system using weight
US11164148B1 (en) Evaluation of weight hypotheses using non-weight data
US11263795B1 (en) Visualization system for sensor data and facility data
CN111315670B (en) Shelf label detection device, shelf label detection method, and recording medium
US10318917B1 (en) Multiple sensor data fusion system
WO2019087519A1 (en) Shelf monitoring device, shelf monitoring method, and shelf monitoring program
US10520353B1 (en) System to process load cell data
EP3629197A1 (en) System and method for binned inter-quartile range analysis in anomaly detection of a data series
JP2019094191A (en) Shelf allocation generation program, shelf allocation generation method and shelf allocation generation device
US11636424B1 (en) System and method to detect failures at a subset of load cells
WO2021014781A1 (en) Counting method, computer program, and counting system
CN113191794A (en) Commodity sales condition statistical method, device, equipment and storage medium
Huang et al. Zero defect manufacturing of microsemiconductors–an application of machine learning and artificial intelligence
US11117744B1 (en) Determination of untidy item return to an inventory location
JP7130945B2 (en) Inventory detection program, inventory detection method and inventory detection device
EP4174796A1 (en) Inference program, learning program, inference method, and learning method
US11599737B1 (en) System for generating tags
JP2024025061A (en) Article specification system, article specification method, article specification program, and article acquisition determination system
CN110188695B (en) Shopping action decision method and device
KR102108549B1 (en) Method and apparatus for distribution management of tile and sanitary ware
JP4656114B2 (en) Object management apparatus and system, computer program, and data processing method
US11410119B1 (en) System to determine user interaction with fixture

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: 20844035

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: 20844035

Country of ref document: EP

Kind code of ref document: A1