JP2017178574A - Inspection processing device, inspection system, commodity master registration device, inspection processing method and program - Google Patents

Inspection processing device, inspection system, commodity master registration device, inspection processing method and program Download PDF

Info

Publication number
JP2017178574A
JP2017178574A JP2016069899A JP2016069899A JP2017178574A JP 2017178574 A JP2017178574 A JP 2017178574A JP 2016069899 A JP2016069899 A JP 2016069899A JP 2016069899 A JP2016069899 A JP 2016069899A JP 2017178574 A JP2017178574 A JP 2017178574A
Authority
JP
Japan
Prior art keywords
inspection
product
image
data
unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2016069899A
Other languages
Japanese (ja)
Other versions
JP6724484B2 (en
Inventor
康 日高
Yasushi Hidaka
康 日高
克彦 近藤
Katsuhiko Kondo
克彦 近藤
友宏 小南
Tomohiro Kominami
友宏 小南
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP2016069899A priority Critical patent/JP6724484B2/en
Priority to SG11201807007PA priority patent/SG11201807007PA/en
Priority to PCT/JP2017/012121 priority patent/WO2017170260A1/en
Priority to TW106110272A priority patent/TWI770015B/en
Publication of JP2017178574A publication Critical patent/JP2017178574A/en
Application granted granted Critical
Publication of JP6724484B2 publication Critical patent/JP6724484B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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
    • G01MEASURING; TESTING
    • G01GWEIGHING
    • G01G19/00Weighing apparatus or methods adapted for special purposes not provided for in the preceding groups
    • G01G19/52Weighing apparatus combined with other objects, e.g. furniture
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis

Abstract

PROBLEM TO BE SOLVED: To provide an inspection system with automatic registration function for a commodity master.SOLUTION: An inspection processing device comprises: a commodity image determination part which specifies an image of each inspection object commodity on the basis of inspection data including an inspection object commodity and an inspection quantity and an inspection object image in which a commodity group coincident with the inspection object commodity and the inspection quantity included in said inspection data is picked up; a commodity data registration part which registers the image specified by the commodity image determination part to a storage part; and a collation part which specifies a commodity included in an inspection object image corresponding to new inspection data on the basis of the image stored by the storage part.SELECTED DRAWING: Figure 1

Description

本発明は、検品処理装置、検品システム、商品マスタ登録装置、検品処理方法及びプログラムに関する。   The present invention relates to an inspection processing apparatus, an inspection system, a product master registration apparatus, an inspection processing method, and a program.

倉庫業や卸売業など物流業者が取り扱う流通商品を出荷する過程において、商品の出荷前に、出荷伝票と比較して、出荷する商品が出荷伝票に記載された商品であるかどうかを確認する作業がある。この作業を検品作業と呼ぶ。この検品作業の中には、「100部の同じカタログ」、「60部の同じ箱」のように、同じ商品を複数個まとめて検品する検品作業もある。このような検品作業の場合、商品の束のうち一番上に置かれた商品の表面等をカメラで撮像し、予め登録した商品のマスタ画像と照合して商品の特定を行う技術が存在する。さらに、検品対象となる商品の重量測定値と検品数量とから、その商品の単位重量を算出し、商品の画像と単位重量とから商品の特定を行う技術が存在する(例えば特許文献1)。   In the process of shipping distribution products handled by logistics companies such as warehousing and wholesalers, before shipping products, work to confirm whether the products to be shipped are products listed in the shipping slips There is. This work is called inspection work. Among the inspection operations, there is an inspection operation for inspecting a plurality of the same products, such as “100 parts of the same catalog” and “60 parts of the same box”. In the case of such inspection work, there is a technology for identifying the product by capturing the surface of the product placed at the top of the bundle of products with a camera and comparing it with a master image of the product registered in advance. . Furthermore, there is a technique for calculating a unit weight of a product from the weight measurement value and the inspection quantity of the product to be inspected and specifying the product from the product image and the unit weight (for example, Patent Document 1).

特開2015−182825号公報Japanese Patent Laying-Open No. 2015-182825

しかし、商品の特定をマスタ画像との照合によって行う場合、物流業者が取り扱う商品数は1万種類を超えることが多くあり、全ての商品のマスタ画像を登録するのに多くの手間や時間が掛かっている。また、商品の中には、立体的な形状をした商品も存在する。このような商品の場合、検品作業中にどの面が撮像されても照合ができるように、複数の側面についてマスタ画像を撮像することが多く、登録の手間や時間に加え、マスタ画像の増加による照合処理時間の増大が問題となる。   However, when identifying a product by collating it with a master image, the number of products handled by logistics companies often exceeds 10,000, and it takes a lot of time and effort to register the master image of all the products. ing. In addition, some products have a three-dimensional shape. In the case of such products, in many cases, a master image is taken for a plurality of sides so that verification can be performed regardless of which side is taken during inspection work. Increase in verification processing time becomes a problem.

そこでこの発明は、上述した課題を解決する検品処理装置、検品システム、商品マスタ登録装置、検品処理方法及びプログラムを提供することを目的としている。   Accordingly, an object of the present invention is to provide an inspection processing apparatus, an inspection system, a product master registration apparatus, an inspection processing method, and a program that solve the above-described problems.

本発明は、検品商品と検品数量とを含む検品データと、当該検品データに含まれる検品商品および検品数量と一致する商品群を撮像した検品対象画像に基づいて、前記検品商品ごとの画像を特定する商品画像決定部と、前記商品画像決定部が特定した画像を記憶部に登録する商品データ登録部と、前記記憶部が記憶する画像に基づいて、新たな検品データに対応する検品対象画像に含まれる商品を特定する照合部と、を備える検品処理装置である。   The present invention specifies an image for each inspection product based on inspection data including an inspection product and an inspection quantity, and an inspection target image obtained by imaging an inspection product and an inspection product group included in the inspection data. An image to be inspected corresponding to new inspection data based on the image stored in the storage unit, the product data registration unit that registers the image specified by the product image determination unit in the storage unit, and the image stored in the storage unit An inspection processing apparatus comprising: a matching unit that identifies a product to be included.

また本発明は、検品データに含まれる検品商品および検品数量と一致する商品群を撮像する撮像装置と、前記商品群の重量を測定する重量計測器と、前記撮像装置が撮像した検品対象画像と、前記重量計測器が測定した重量を取得する上記の検品処理装置と、を備えることを特徴とする検品システムである。   Further, the present invention provides an imaging device that captures a product group that matches the inspection product and the inspection quantity included in the inspection data, a weight measuring device that measures the weight of the product group, and an inspection target image captured by the imaging device. And an inspection processing apparatus for acquiring the weight measured by the weight measuring instrument.

また本発明は、検品商品と検品数量とを含む検品データと、当該検品データに含まれる検品商品および検品数量と一致する商品群を撮像した検品対象画像に基づいて、前記検品商品ごとの画像を特定する商品画像決定部と、前記商品画像決定部が特定した画像を商品マスタに登録する商品データ登録部と、を備える商品マスタ登録装置である。   Further, the present invention provides an image for each inspection product based on inspection data including the inspection product and the inspection quantity, and an inspection target image obtained by imaging the inspection product included in the inspection data and a product group that matches the inspection quantity. A product master registration device comprising: a product image determination unit to be specified; and a product data registration unit for registering an image specified by the product image determination unit in a product master.

また本発明は、検品処理装置が、検品商品と検品数量とを含む検品データと、当該検品データに含まれる検品商品および検品数量と一致する商品群を撮像した検品対象画像に基づいて、前記検品商品ごとの画像を特定し、前記特定した画像を記憶部に登録し、前記記憶部が記憶する画像に基づいて、新たな検品データに対応する検品対象画像に含まれる商品を特定する、検品処理方法である。   Further, the present invention provides the inspection processing device based on the inspection object image obtained by imaging the inspection data including the inspection product and the inspection quantity, and the inspection product and the inspection product included in the inspection data. An inspection process for specifying an image for each product, registering the specified image in a storage unit, and specifying a product included in an inspection target image corresponding to new inspection data based on the image stored in the storage unit Is the method.

また本発明は、検品処理装置のコンピュータを、検品商品と検品数量とを含む検品データと、当該検品データに含まれる検品商品および検品数量と一致する商品群を撮像した検品対象画像に基づいて、前記検品商品ごとの画像を特定する手段、前記特定した画像を記憶部に登録する手段、前記記憶部が記憶する画像に基づいて、新たな検品データに対応する検品対象画像に含まれる商品を特定する手段、として機能させるためのプログラムである。   Further, the present invention provides a computer of an inspection processing apparatus based on inspection data including inspection products including inspection products and inspection quantities, and inspection target images obtained by imaging inspection products and inspection products included in the inspection data. A means for specifying an image for each inspection product, a means for registering the specified image in a storage unit, and a product included in an inspection target image corresponding to new inspection data based on the image stored in the storage unit It is a program for making it function as a means to do.

本発明によれば、検品作業に用いる商品のマスタ画像の登録作業を効率化するという効果が得られる。   According to the present invention, it is possible to obtain an effect of improving the efficiency of registering a master image of a product used for inspection work.

本発明の第一の実施形態による検品処理装置の最小構成を示すブロック図である。It is a block diagram which shows the minimum structure of the inspection processing apparatus by 1st embodiment of this invention. 本発明の第一の実施形態による検品処理装置の構成の一例を示すブロック図である。It is a block diagram which shows an example of a structure of the inspection processing apparatus by 1st embodiment of this invention. 本発明の第一の実施形態による検品システムの一例を示す図である。It is a figure which shows an example of the inspection system by 1st embodiment of this invention. 本発明の第一の実施形態による検品処理装置を用いた検品処理の一例を示すフローチャートである。It is a flowchart which shows an example of the inspection process using the inspection processing apparatus by 1st embodiment of this invention. 本発明の第一の実施形態による検品確認画面の一例を示す第一の図である。It is a 1st figure which shows an example of the inspection confirmation screen by 1st embodiment of this invention. 本発明の第一の実施形態による検品確認画面の一例を示す第二の図である。It is a 2nd figure which shows an example of the inspection confirmation screen by 1st embodiment of this invention. 本発明の第一の実施形態による検品確認画面の一例を示す第三の図である。It is a 3rd figure which shows an example of the inspection confirmation screen by 1st embodiment of this invention. 本発明の第一の実施形態による検品処理装置のマスタ登録処理の一例を示すフローチャートである。It is a flowchart which shows an example of the master registration process of the inspection processing apparatus by 1st embodiment of this invention. 本発明の第一の実施形態による検品処理を説明する第一の図である。It is a 1st figure explaining the inspection process by 1st embodiment of this invention. 本発明の第一の実施形態による検品処理を説明する第二の図である。It is a 2nd figure explaining the inspection process by 1st embodiment of this invention. 本発明の第一の実施形態による検品処理を説明する第三の図である。It is a 3rd figure explaining the inspection process by 1st embodiment of this invention. 本発明の第一の実施形態による検品処理を説明する第四の図である。It is a 4th figure explaining the inspection process by 1st embodiment of this invention. 本発明の第二の実施形態による検品処理装置の構成の一例を示すブロック図である。It is a block diagram which shows an example of a structure of the inspection processing apparatus by 2nd embodiment of this invention. 本発明の第二の実施形態による検品確認画面の一例を示す図である。It is a figure which shows an example of the inspection confirmation screen by 2nd embodiment of this invention. 本発明の第二の実施形態によるマスタ登録処理を説明する第一の図である。It is a 1st figure explaining the master registration process by 2nd embodiment of this invention. 本発明の第二の実施形態によるマスタ登録処理を説明する第二の図である。It is a 2nd figure explaining the master registration process by 2nd embodiment of this invention. 本発明の第二の実施形態による検品処理装置のマスタ登録処理の一例を示すフローチャートである。It is a flowchart which shows an example of the master registration process of the inspection processing apparatus by 2nd embodiment of this invention. 本発明の第三の実施形態による検品処理装置を用いた検品処理の一例を示すフローチャート。The flowchart which shows an example of the inspection process using the inspection processing apparatus by 3rd embodiment of this invention. 本発明の第三の実施形態による検品確認画面の一例を示す図である。It is a figure which shows an example of the inspection confirmation screen by 3rd embodiment of this invention. 本発明に係る商品データ登録装置の構成の一例を示すブロック図である。It is a block diagram which shows an example of a structure of the goods data registration apparatus which concerns on this invention. 本発明の検品処理装置および商品データ登録装置のハードウェア構成の一例を示すブロック図である。It is a block diagram which shows an example of the hardware constitutions of the inspection processing apparatus of this invention, and a goods data registration apparatus.

<第一の実施形態>
以下、本発明の一実施形態による検品処理装置を図1〜図12を参照して説明する。
図1は第一の実施形態による検品処理装置の最小構成を示す図である。
図1に示す通り、検品処理装置100は、商品データ登録部109と、商品画像決定部110と、照合部115と、を少なくとも備えている。検品処理装置100は、例えばCPU(Central Processing Unit)を備えたコンピュータである。
商品画像決定部110は、検品すべき対象である商品(検品商品)の識別情報とその商品について検品すべき数量(検品数量)とを含む検品データ(伝票データ)と、当該検品データに含まれる検品商品および検品数量と一致する商品群を撮像した検品対象画像に基づいて、検品対象商品毎の画像を特定する。
商品データ登録部109は、商品画像決定部110が特定した画像を記憶部に登録する。なお、記憶部とは、後述する商品データ格納部117であり、商品マスタに相当する。
照合部115は、商品画像決定部110が特定した商品の画像が登録された記憶部(商品マスタ)が記憶する画像に基づいて、新たな検品データに対応する検品対象画像に含まれる商品を特定する。
<First embodiment>
Hereinafter, an inspection processing apparatus according to an embodiment of the present invention will be described with reference to FIGS.
FIG. 1 is a diagram showing a minimum configuration of an inspection processing apparatus according to the first embodiment.
As shown in FIG. 1, the inspection processing apparatus 100 includes at least a product data registration unit 109, a product image determination unit 110, and a collation unit 115. The inspection processing apparatus 100 is, for example, a computer including a CPU (Central Processing Unit).
The product image determination unit 110 includes inspection data (slip data) including identification information of a product to be inspected (inspected product) and a quantity to be inspected for the product (inspection quantity), and the inspection data. An image for each inspection target product is specified based on an inspection target image obtained by imaging a product group that matches the inspection product and the inspection quantity.
The product data registration unit 109 registers the image specified by the product image determination unit 110 in the storage unit. The storage unit is a product data storage unit 117 described later, and corresponds to a product master.
The matching unit 115 identifies a product included in the inspection target image corresponding to the new inspection data based on the image stored in the storage unit (product master) in which the product image specified by the product image determination unit 110 is registered. To do.

図2は第一の実施形態による検品処理装置の構成の一例を示すブロック図である。
図2に示す通り、検品処理装置100は、制御判定部101と、重量取得部102と、商品画像取得部103と、入力受付部104と、表示情報出力部105と、特徴量計算部106と、検品データ保存部107と、目標総重量計算部108と、商品データ登録部109と、商品画像決定部110と、商品重量計算部114と、照合部115と、検品データ格納部116と、商品データ格納部117とを備えている。なお、検品データに含まれる検品すべき商品を検品商品、検品すべき数量を検品数量、これに対して検品作業を行う作業員が検品商品の候補として商品棚から取り出した商品を検品対象商品と呼ぶ。また、検品対象商品群を撮像した画像を検品対象画像と呼ぶ。また、検品対象画像から切り出した検品商品の候補となる一まとまりの画像を商品画像と呼ぶ。
FIG. 2 is a block diagram showing an example of the configuration of the inspection processing apparatus according to the first embodiment.
As shown in FIG. 2, the inspection processing apparatus 100 includes a control determination unit 101, a weight acquisition unit 102, a product image acquisition unit 103, an input reception unit 104, a display information output unit 105, and a feature amount calculation unit 106. , Inspection data storage unit 107, target total weight calculation unit 108, product data registration unit 109, product image determination unit 110, product weight calculation unit 114, verification unit 115, inspection data storage unit 116, product A data storage unit 117. The product to be inspected included in the inspection data is the inspection product, the quantity to be inspected is the inspection quantity, and the product taken out from the product shelf as a candidate for the inspection product by the worker who inspects the inspection product is the inspection target product. Call. In addition, an image obtained by capturing an inspection target product group is referred to as an inspection target image. In addition, a group of images that are candidates for inspection products cut out from the inspection target image are referred to as product images.

制御判定部101は、他の機能部へ、情報の伝達や処理の指示を行う。
重量取得部102は、重量計測器が測定した検品対象商品の重量を、重量計測器から取得する。
商品画像取得部103は、撮像装置に検品対象商品の撮像指示を行い、撮像装置から撮像装置が撮像した検品対象画像を取得する。
入力受付部104は、作業員の入力操作を受け付ける。また、入力受付部104は、作業員による検品データの入力操作に基づいて、検品データを取得する。
表示情報出力部105は、検品作業に必要な各種情報を生成し、検品処理装置100に接続された表示装置に出力する。
特徴量計算部106は、商品画像取得部103が取得した検品対象画像の特徴量を、例えば図形特徴量を算出するなどの一般的な特徴量計算手法により計算する。
検品データ保存部107は、作業員が入力した検品作業の対象となる検品データを検品データ格納部116に記録する。
目標総重量計算部108は、検品データに含まれる検品商品の総重量(目標総重量)を計算する。また、目標総重量計算部108は、計算した目標総重量と重量取得部102が取得した検品対象商品の重量とを比較し、差を計算する。
The control determination unit 101 instructs information transmission and processing to other functional units.
The weight acquisition unit 102 acquires the weight of the inspection target product measured by the weight measuring instrument from the weight measuring instrument.
The product image acquisition unit 103 instructs the imaging device to capture an inspection target product, and acquires an inspection target image captured by the imaging device from the imaging device.
The input receiving unit 104 receives an input operation of a worker. The input receiving unit 104 acquires inspection data based on an inspection data input operation by a worker.
The display information output unit 105 generates various information necessary for the inspection work and outputs it to a display device connected to the inspection processing apparatus 100.
The feature amount calculation unit 106 calculates the feature amount of the inspection target image acquired by the product image acquisition unit 103 by, for example, a general feature amount calculation method such as calculating a graphic feature amount.
The inspection data storage unit 107 records the inspection data to be inspected by the worker in the inspection data storage unit 116.
The target total weight calculator 108 calculates the total weight (target total weight) of the inspection products included in the inspection data. The target total weight calculation unit 108 compares the calculated target total weight with the weight of the inspection target product acquired by the weight acquisition unit 102, and calculates a difference.

商品データ登録部109は、商品データ格納部117に検品商品を撮像した画像、単位重量などを登録する。商品データ登録部109は、商品画像決定部110と商品重量計算部114とを備える。
商品画像決定部110は、画像抽出部111と、画像分析部112と、商品特定部113とを備えている。
画像抽出部111は、検品対象画像から前記検品対象商品の候補となる一まとまりの画像(商品画像)を切り出す。
画像分析部112は、切り出した商品画像を互いに照合し、検品対象画像に含まれる商品画像の種類別の数量を算出する。
商品特定部113は、商品画像の種類別の数量と、検品データに含まれる検品商品ごとの検品数量とを比較して、商品画像の各々が示す商品を特定する。
商品画像決定部110は、商品特定部113が特定した商品画像と検品商品とを対応付けて商品データ格納部117(商品マスタ)に記録する。
The product data registration unit 109 registers an image obtained by capturing an inspection product, unit weight, and the like in the product data storage unit 117. The product data registration unit 109 includes a product image determination unit 110 and a product weight calculation unit 114.
The product image determination unit 110 includes an image extraction unit 111, an image analysis unit 112, and a product identification unit 113.
The image extraction unit 111 cuts out a group of images (product images) that are candidates for the inspection target product from the inspection target image.
The image analysis unit 112 compares the extracted product images with each other, and calculates the quantity of each product image included in the inspection target image.
The product specifying unit 113 compares the quantity for each type of product image with the inspection quantity for each inspection product included in the inspection data, and specifies the product indicated by each product image.
The product image determination unit 110 records the product image specified by the product specification unit 113 and the inspection product in the product data storage unit 117 (product master) in association with each other.

商品重量計算部114は、検品データに含まれる検品商品ごとの単位重量および検品商品ごとの検品数量と、検品データに含まれる検品商品および検品数量と一致する商品群の重量を測定した重量データとの関係を示す方程式に基づいて、検品商品ごとの単位重量を算出する。
照合部115は、商品データ格納部117が記憶する商品のマスタ画像を用いて、検品商品を撮像した検品対象画像を照合して検品対象画像に写る商品を特定し、特定した商品が検品データに含まれる検品商品と一致するかどうかを判定する。
The product weight calculation unit 114 includes weight data obtained by measuring the unit weight for each inspection product included in the inspection data and the inspection quantity for each inspection product, and the weight of the inspection product included in the inspection data and the product group that matches the inspection quantity. Based on the equation indicating the relationship, the unit weight for each inspection product is calculated.
The matching unit 115 uses the product master image stored in the product data storage unit 117 to match the inspection target image obtained by capturing the inspection product, identifies the product that appears in the inspection target image, and the identified product becomes the inspection data. It is determined whether or not it matches the inspection product included.

検品データ格納部116は、検品対象の検品データに含まれる検品商品の商品名、検品数量などを格納するデータベースである。
商品データ格納部117は、商品ごとに、商品名、商品の画像(マスタ画像)、商品画像の特徴量、単位重量などを格納するデータベースである。
なお、制御判定部101、重量取得部102、商品画像取得部103、入力受付部104、表示情報出力部105、特徴量計算部106、検品データ保存部107、商品データ登録部109、商品画像決定部110、画像抽出部111、画像分析部112、商品特定部113、商品重量計算部114、照合部115の少なくとも一部は検品処理装置100の備えるCPUがハードディスクなどの記憶部からプログラムを読み出し実行することで備わる機能である。
The inspection data storage unit 116 is a database that stores the product name, inspection quantity, etc. of the inspection products included in the inspection data to be inspected.
The product data storage unit 117 is a database that stores product names, product images (master images), product image feature quantities, unit weights, and the like for each product.
Note that the control determination unit 101, the weight acquisition unit 102, the product image acquisition unit 103, the input reception unit 104, the display information output unit 105, the feature amount calculation unit 106, the inspection data storage unit 107, the product data registration unit 109, and the product image determination At least a part of the unit 110, the image extraction unit 111, the image analysis unit 112, the product identification unit 113, the product weight calculation unit 114, and the verification unit 115 is read and executed by a CPU included in the inspection processing apparatus 100 from a storage unit such as a hard disk It is a function provided by doing.

図3は、本発明の第一の実施形態による検品システムの一例を示す図である。
以下、図3を用いて、本実施形態の検品システムの説明を行う。
図3に示す通り、検品システム1は、検品処理装置100と、撮像装置200と、重量計測器300と、表示装置400と、入力装置500とを備えている。また、重量計測器300には1つまたは複数の検品対象商品(検品対象商品600)が置かれている。なお、重量計測器300の表面(検品対象商品を置く面)には、格子状など特徴のある既知の模様が描かれている。
FIG. 3 is a diagram showing an example of an inspection system according to the first embodiment of the present invention.
Hereinafter, the inspection system of this embodiment will be described with reference to FIG.
As shown in FIG. 3, the inspection system 1 includes an inspection processing apparatus 100, an imaging apparatus 200, a weight measuring instrument 300, a display apparatus 400, and an input apparatus 500. Further, one or more inspection target products (inspection target products 600) are placed on the weight measuring device 300. It should be noted that a known pattern having a characteristic such as a lattice shape is drawn on the surface of the weight measuring device 300 (the surface on which the inspection target product is placed).

撮像装置200は、検品対象商品を撮像する例えばカメラである。重量計測器300は、検品対象商品の重量を測定する装置である。図3において、撮像装置200は、重量計測器300の上に載せられた検品対象商品を真上から撮像できるようにレンズを地面側に向けて支柱302に取り付けられている。支柱302は、土台301によって固定され、重量計測器300は、土台301の上に設置されている。撮像装置200の取り付け位置は、この図の例に限定されない。検品処理装置100は、撮像装置200と接続されており、撮像装置200が撮像した検品対象商品の画像を取得する。検品処理装置100は、重量計測器300と接続されており、重量計測器300が測定した検品対象商品の重量を取得する。   The imaging device 200 is, for example, a camera that images an inspection target product. The weight measuring device 300 is a device that measures the weight of a product to be inspected. In FIG. 3, the imaging device 200 is attached to the support column 302 with the lens facing the ground so that an inspection target product placed on the weight measuring device 300 can be imaged from directly above. The support column 302 is fixed by a base 301, and the weight measuring device 300 is installed on the base 301. The attachment position of the imaging device 200 is not limited to the example of this figure. The inspection processing apparatus 100 is connected to the imaging apparatus 200 and acquires an image of the inspection target product captured by the imaging apparatus 200. The inspection processing apparatus 100 is connected to the weight measuring device 300 and acquires the weight of the inspection target product measured by the weight measuring device 300.

表示装置400は、例えばディスプレイである。表示装置400は、検品処理装置100と接続されており、検品処理装置100が生成した検品作業に必要な情報を表示する。入力装置500は、キーボード、マウス、あるいは任意のデータ読み取り手段(記憶媒体読み取り装置など)である。作業員は、表示装置400に表示される情報を参照しながら、入力装置500を用いて検品処理装置100を操作し、検品作業を行う。   The display device 400 is a display, for example. The display device 400 is connected to the inspection processing device 100 and displays information necessary for the inspection work generated by the inspection processing device 100. The input device 500 is a keyboard, a mouse, or arbitrary data reading means (such as a storage medium reading device). The worker operates the inspection processing apparatus 100 using the input device 500 while referring to information displayed on the display device 400 to perform inspection work.

次に、図3を用いて検品作業の大まかな流れについて説明する。まず、作業員は、検品作業の対象となる1枚の伝票に記載された1つまたは複数の検品商品の候補を商品棚などから取り出し重量計測器300の上に置く。重量計測器300の上に置かれた検品対象商品600は、作業員が誤って類似する商品を選択する場合もある。1枚の伝票には、複数種類の商品が含まれていることも多く、その場合、検品対象商品600には、複数種類の商品が含まれることになる。作業員が検品対象商品600を重量計測器300の上に置くと、重量計測器300は、検品対象商品600の重量を測定し、測定した重量データを検品処理装置100に送信する。検品処理装置100は、重量データを受信したタイミングで撮像装置200に撮像指示信号を送信する。撮像装置200は、撮像指示信号を受信すると、検品対象商品600を上から撮像し、撮像した検品対象画像を検品処理装置100に送信する。
また、これらの処理と並行して、作業員は、1枚の伝票に含まれる検品データ(検品商品の名称、検品数量など)を、入力装置500を用いて入力する。例えば、伝票のデータは電子化されたファイルで、作業員は、記憶媒体に格納されたそのファイルを、記憶媒体読取装置を介して検品処理装置100に入力する。なお、検品データに含まれる1つずつの明細を明細情報と呼ぶ。
Next, a rough flow of the inspection work will be described with reference to FIG. First, the worker takes out one or a plurality of inspection product candidates described in one slip to be inspected from a product shelf and puts them on the weight measuring device 300. As the inspection target product 600 placed on the weight measuring device 300, the worker may select a similar product by mistake. In many cases, a single slip includes a plurality of types of products. In this case, the inspection target product 600 includes a plurality of types of products. When the worker places the inspection target product 600 on the weight measuring device 300, the weight measuring device 300 measures the weight of the inspection target product 600 and transmits the measured weight data to the inspection processing apparatus 100. The inspection processing apparatus 100 transmits an imaging instruction signal to the imaging apparatus 200 at the timing when the weight data is received. When the imaging apparatus 200 receives the imaging instruction signal, the imaging apparatus 200 captures the inspection target product 600 from above and transmits the captured inspection target image to the inspection processing apparatus 100.
In parallel with these processes, the worker inputs inspection data (name of inspection product, inspection quantity, etc.) included in one slip using the input device 500. For example, the slip data is an electronic file, and the worker inputs the file stored in the storage medium to the inspection processing apparatus 100 via the storage medium reader. Each detail included in the inspection data is called detail information.

検品対象画像を取得すると、検品処理装置100は、商品データ格納部117が記憶する商品のマスタ画像と照合処理を行って、検品対象画像に含まれる商品を特定する。また、検品処理装置100は、照合処理の結果、画像に写っていると特定した商品と、検品データに含まれる検品商品とが一致するかどうかを判定する。検品処理装置100は、検品データに含まれる全ての検品商品についてこの照合処理および判定処理を行う。また、検品処理装置100は、検品データに含まれる全ての検品商品の総重量を計算し、重量計測器300が測定した重量データと比較する。
そして、検品処理装置100は、全ての検品対象商品についての照合処理結果と、重量データの比較結果とを表示装置400に表示する。また、検品処理装置100は、検品データの一覧を表示装置400に表示する。
When the inspection target image is acquired, the inspection processing apparatus 100 performs a collation process with the master image of the product stored in the product data storage unit 117 to identify the product included in the inspection target image. Moreover, the inspection processing apparatus 100 determines whether the product identified as being reflected in the image as a result of the collation processing matches the inspection product included in the inspection data. The inspection processing apparatus 100 performs this collation processing and determination processing for all inspection products included in the inspection data. Further, the inspection processing apparatus 100 calculates the total weight of all inspection products included in the inspection data, and compares it with the weight data measured by the weight measuring device 300.
Then, the inspection processing apparatus 100 displays the comparison processing result for all the inspection target products and the comparison result of the weight data on the display device 400. Further, the inspection processing apparatus 100 displays a list of inspection data on the display device 400.

作業員は、表示装置400に表示された検品データの一覧、照合処理結果、重量データ比較結果を目視によって確認し、検品結果を把握する。作業員は、過不足分の数量の検品対象商品600を重量計測器300に載せたり、取り除いたりして数量の調整を行う。以上の作業と処理の結果、作業員が表示装置400に表示された商品の数量が検品データ通りになれば、その検品データについての検品作業は終了である。   The worker visually confirms the list of inspection data displayed on the display device 400, the verification processing result, and the weight data comparison result, and grasps the inspection result. The worker adjusts the quantity by placing or removing a quantity 600 of the inspection target product 600 on or off the weight measuring instrument 300. As a result of the above work and processing, if the quantity of the product displayed on the display device 400 by the worker is in accordance with the inspection data, the inspection work for the inspection data is completed.

ところで、物流業者が扱う商品は1万点を超える場合があり、例えば新商品が開発され市場へと提供された場合、新たにその新商品のマスタ画像を商品データ格納部117へ登録しなければならない。新商品が出る度にマスタ画像の登録を行わなければならないのは手間がかかる。特に、その新商品が立体物の場合、作業員が、どの面を上にして重量計測器300に載せるのかが分からない為、全ての側面のマスタ画像を登録する必要があり、さらに多くの手間や時間を費やすことになる。また、マスタ画像が多く登録されると、それだけ照合処理に時間が掛かるという問題も存在する。   By the way, the product handled by the logistics company may exceed 10,000 items. For example, when a new product is developed and provided to the market, a master image of the new product must be newly registered in the product data storage unit 117. Don't be. It is troublesome to register a master image every time a new product comes out. In particular, when the new product is a three-dimensional object, it is necessary for the worker to register the master image of all the sides because the worker does not know which side is placed on the weight measuring device 300, and more labor is required. And spend time. In addition, when a large number of master images are registered, there is a problem that it takes much time for the matching process.

そこで、本実施形態では、新商品など商品データ格納部117に登録されていない商品について、目視検品を行った結果の情報を記録し、記録した情報に基づいて、自動的に未登録商品のマスタ画像、単位重量を商品データ格納部117に登録する方法を提供する。次に本実施形態における未登録商品の商品画像、単位重量の登録処理について説明を行う。   Therefore, in the present embodiment, information on the result of visual inspection is recorded for products that are not registered in the product data storage unit 117 such as new products, and the master of unregistered products is automatically based on the recorded information. A method of registering images and unit weights in the product data storage unit 117 is provided. Next, a registration process of product images and unit weights of unregistered products in the present embodiment will be described.

図4は、本発明の第一の実施形態による検品処理装置を用いた検品処理の一例を示すフローチャートである。
図5は、本発明の第一の実施形態による検品確認画面の一例を示す第一の図である。
まず、作業員がある1つの検品データを検品処理装置100に入力する。検品処理装置100では、入力受付部104がその検品データを取得し、制御判定部101に出力する。すると、目標総重量計算部108は、制御判定部101の指示に基づいて目標総重量を計算する(ステップS11)。具体的には、目標総重量計算部108は、入力された検品データについて、検品商品ごとに商品データ格納部117が記憶するその検品商品の単位重量と、その検品商品の検品数量とを乗算して検品数量分の重量(検品重量とよぶ)を計算する。目標総重量計算部108は、全ての検品重量を合計して目標総重量を計算し、目標総重量をメモリに記録する。なお、検品データに含まれる検品商品が未登録の場合、単位重量の情報が得られないので、その検品商品についての検品重量は0となる。
FIG. 4 is a flowchart showing an example of inspection processing using the inspection processing apparatus according to the first embodiment of the present invention.
FIG. 5 is a first diagram showing an example of an inspection confirmation screen according to the first embodiment of the present invention.
First, the worker inputs one inspection data to the inspection processing apparatus 100. In the inspection processing apparatus 100, the input receiving unit 104 acquires the inspection data and outputs it to the control determination unit 101. Then, the target total weight calculation unit 108 calculates the target total weight based on an instruction from the control determination unit 101 (step S11). Specifically, the target total weight calculation unit 108 multiplies the unit weight of the inspection product stored in the product data storage unit 117 for each inspection product and the inspection quantity of the inspection product for the input inspection data. Calculate the weight of the inspection quantity (called inspection weight). The target total weight calculation unit 108 calculates the target total weight by adding all the inspection weights, and records the target total weight in the memory. Note that when the inspection product included in the inspection data is not registered, the information on the unit weight cannot be obtained, so the inspection weight for the inspection product is zero.

次に、作業員は、検品処理装置100に入力した検品データを参照して検品対象商品600を商品棚などから取り出し重量計測器300に置く。検品対象商品600が重量計測器300に置かれると、重量取得部102は、重量計測器300が測定した検品対象商品600の重量データを取得する(ステップS12)。重量取得部102は、取得した重量データを制御判定部101に出力する。制御判定部101は、重量データをメモリに記録する。
次に、制御判定部101は、重量データを取得したことを契機として、商品画像取得部103に撮像指示信号を出力する。すると、商品画像取得部103は、撮像装置200に撮像指示を行い、撮像装置200が検品対象商品600の検品対象画像を撮像する。商品画像取得部103は、撮像装置200が撮像した検品対象画像を取得し(ステップS13)、メモリに格納する。
Next, the worker refers to the inspection data input to the inspection processing apparatus 100 and takes out the inspection target product 600 from the product shelf or the like and places it on the weight measuring device 300. When the inspection target product 600 is placed on the weight measuring device 300, the weight acquisition unit 102 acquires the weight data of the inspection target product 600 measured by the weight measuring device 300 (step S12). The weight acquisition unit 102 outputs the acquired weight data to the control determination unit 101. The control determination unit 101 records weight data in a memory.
Next, the control determination unit 101 outputs an imaging instruction signal to the product image acquisition unit 103 when the weight data is acquired. Then, the product image acquisition unit 103 instructs the imaging device 200 to capture an image, and the imaging device 200 captures an inspection target image of the inspection target product 600. The product image acquisition unit 103 acquires the inspection target image captured by the imaging device 200 (step S13) and stores it in the memory.

メモリに画像が格納されると、制御判定部101は、特徴量計算部106に、格納した画像の特徴量を計算するように指示を行う。特徴量計算部106は、メモリから検品対象画像を読み出して、所定の公知の特徴計算手法により特徴量を計算し(ステップS14)、計算結果を制御判定部101に出力する。この計算結果には、検品対象画像上の特徴量の分布が含まれている。また、この特徴量分布には、重量計測器300に置かれた検品対象商品600の全ての商品による特徴量が含まれている。制御判定部101は、特徴量をメモリに記録する。   When the image is stored in the memory, the control determination unit 101 instructs the feature amount calculation unit 106 to calculate the feature amount of the stored image. The feature amount calculation unit 106 reads the inspection target image from the memory, calculates the feature amount by a predetermined known feature calculation method (step S14), and outputs the calculation result to the control determination unit 101. This calculation result includes the distribution of the feature amount on the inspection target image. Further, the feature amount distribution includes the feature amounts of all the products to be inspected 600 placed on the weight measuring device 300. The control determination unit 101 records the feature amount in the memory.

次に、照合部115は、商品データ格納部117に記録されたマスタ画像に基づいて、検品対象画像に含まれる商品を検索する(ステップS15)。具体的には、照合部115は、商品データ格納部117に登録された全商品のマスタ画像のうち、検品データに含まれる検品商品のマスタ画像を読み出して、それらのマスタ画像と検品対象画像とを比較して、検品対象画像に写る商品を特定する。例えば、照合部115は、検品データに含まれる商品名に基づいて商品データ格納部117からその商品の特徴量を読み出す。そして、商品特定部113は、読み出した照合商品の特徴量と検品対象画像の特徴量分布とを比較して、検品商品の特徴量が検品対象画像の特徴量分布に含まれているかどうかを照合する検索処理を行う。照合部115は、検品商品の特徴量と検品対象画像に含まれる特徴量との類似度が所定の閾値以上であれば、検品対象画像に検品商品が写っていると判定する。照合部115は、検品データに含まれる各検品商品について検索処理を行い、その検索結果(検索できた数量)を制御判定部101に出力する。   Next, the collation unit 115 searches for a product included in the inspection target image based on the master image recorded in the product data storage unit 117 (step S15). Specifically, the collation unit 115 reads out the master image of the inspection product included in the inspection data from the master images of all the products registered in the product data storage unit 117, and extracts the master image and the inspection target image. Are compared, and the product shown in the inspection object image is specified. For example, the collation unit 115 reads the feature amount of the product from the product data storage unit 117 based on the product name included in the inspection data. Then, the product specifying unit 113 compares the feature quantity of the read verification product with the feature quantity distribution of the inspection target image, and checks whether the feature quantity of the inspection product is included in the feature quantity distribution of the inspection target image. Perform search processing. If the similarity between the feature quantity of the inspection product and the feature quantity included in the inspection target image is equal to or greater than a predetermined threshold, the matching unit 115 determines that the inspection product is reflected in the inspection target image. The collation unit 115 performs a search process for each inspection product included in the inspection data, and outputs the search result (a quantity that can be searched) to the control determination unit 101.

照合部115から検索結果を取得すると、制御判定部101は、その検索結果を表示情報出力部105に出力し、検品確認画面を表示するよう指示する。次に表示情報出力部105は、検品データ格納部116に記録された「明細番号」、「商品コード」、「検品数量」、商品データ格納部117に記録された「単位重量」を読み出す。また、表示情報出力部105は、制御判定部101に、目標総重量、重量取得部102が取得した重量データ、総重量誤差の情報を要求する。総重量誤差は、目標総重量計算部108が計算した目標総重量と重量取得部102が取得した重量データとの差である。制御判定部101は、目標総重量計算部108に総重量誤差の計算を指示する。目標総重量計算部108は、先に計算した目標総重量と重量取得部102が取得した重量データとをメモリから読み出して、総重量誤差を計算する。目標総重量計算部108は、目標総重量、重量データ、計算した総重量誤差を、制御判定部101に出力する。制御判定部101は、それらの情報を表示情報出力部105に出力する。また、表示情報出力部105は、メモリから検品対象画像を取得する。
表示情報出力部105は、照合部115の判定結果、検品データ格納部116から取得した検品データ、目標総重量計算部108が出力した総重量誤差などのデータ、検品対象画像を用いて、作業員が検品作業に使用する検品確認画面の画像を生成し、表示装置400に表示する(ステップS16)。
When the search result is acquired from the collation unit 115, the control determination unit 101 outputs the search result to the display information output unit 105, and instructs to display the inspection confirmation screen. Next, the display information output unit 105 reads “detail number”, “product code”, “inspection quantity” recorded in the inspection data storage unit 116, and “unit weight” recorded in the product data storage unit 117. The display information output unit 105 requests the control determination unit 101 for information on the target total weight, the weight data acquired by the weight acquisition unit 102, and the total weight error. The total weight error is a difference between the target total weight calculated by the target total weight calculation unit 108 and the weight data acquired by the weight acquisition unit 102. The control determination unit 101 instructs the target total weight calculation unit 108 to calculate the total weight error. The target total weight calculation unit 108 reads the target total weight calculated previously and the weight data acquired by the weight acquisition unit 102 from the memory, and calculates a total weight error. The target total weight calculation unit 108 outputs the target total weight, the weight data, and the calculated total weight error to the control determination unit 101. The control determination unit 101 outputs such information to the display information output unit 105. Further, the display information output unit 105 acquires an inspection target image from the memory.
The display information output unit 105 uses the determination result of the verification unit 115, the inspection data acquired from the inspection data storage unit 116, the data such as the total weight error output from the target total weight calculation unit 108, and the inspection target image. Generates an image of an inspection confirmation screen used for inspection work and displays it on the display device 400 (step S16).

ここで、図5を用いて、検品確認画面について説明する。図5は、検品確認画面の一例を示す図である。図示するように、検品確認画面は、検品データ表示欄61、検品対象画像表示欄62、画像照合結果表示欄63、重量比較結果表示欄64、OKボタン65を含む。表示情報出力部105は、検品データ表示欄61に検品データ格納部116等から取得した検品データ(「明細番号」、「商品コード」、「検品数量」、「単位重量」の各欄)および照合部115から取得した検索結果(「検品実績」欄)を表示する。表示情報出力部105は、取得した検品対象画像を検品対象画像表示欄62に表示する。また、表示情報出力部105は、商品特定部113による判定結果を画像照合結果表示欄63に表示する。例えば、表示情報出力部105は、照合部115から取得した検索結果が検品データに含まれている全ての商品と一致することを示している場合、「画像OK」などの表示を行い、検品データに含まれている商品と一致しないとの判定結果が一つでも含まれていれば、「画像NG」などの表示を行う。また、表示情報出力部105は、目標総重量計算部108から取得した総重量誤差などのデータに基づいて重量比較結果表示欄64の表示を行う。例えば、総重量誤差が0の場合、表示情報出力部105は、重量比較結果表示欄64に「重量OK」などの表示を行う。また、総重量誤差が0ではない場合、表示情報出力部105は、重量比較結果表示欄64に「重量NG」などの表示を行う。また、表示情報出力部105は、目標総重量、重量データ、総重量誤差を重量比較結果表示欄64に表示する。また、表示情報出力部105は、OKボタン65を表示する。OKボタン65は、作業員が現在表示している検品データに対する検品作業が終了すると押下するボタンである。   Here, the inspection confirmation screen will be described with reference to FIG. FIG. 5 is a diagram illustrating an example of an inspection confirmation screen. As shown in the drawing, the inspection confirmation screen includes an inspection data display field 61, an inspection object image display field 62, an image comparison result display field 63, a weight comparison result display field 64, and an OK button 65. The display information output unit 105 displays the inspection data (“detail number”, “product code”, “inspection quantity”, and “unit weight” fields) acquired from the inspection data storage unit 116 and the like in the inspection data display field 61 and collation. The search result (“inspection result” column) acquired from the section 115 is displayed. The display information output unit 105 displays the acquired inspection target image in the inspection target image display field 62. In addition, the display information output unit 105 displays the determination result by the product specifying unit 113 in the image matching result display field 63. For example, when the search result acquired from the collating unit 115 indicates that all the products included in the inspection data match, the display information output unit 105 displays “image OK” or the like to display the inspection data. If there is at least one determination result that does not match the product included in the item, “image NG” or the like is displayed. The display information output unit 105 displays the weight comparison result display column 64 based on data such as the total weight error acquired from the target total weight calculation unit 108. For example, when the total weight error is 0, the display information output unit 105 displays “weight OK” or the like in the weight comparison result display field 64. When the total weight error is not 0, the display information output unit 105 displays “weight NG” or the like in the weight comparison result display field 64. The display information output unit 105 also displays the target total weight, weight data, and total weight error in the weight comparison result display field 64. Further, the display information output unit 105 displays an OK button 65. The OK button 65 is a button to be pressed when the inspection work for the inspection data currently displayed by the worker is completed.

作業員は、商品を全て特定できたかどうかを確認する(ステップS17)。例えば、作業員は、検品対象画像表示欄62に「画像OK」が表示されているかどうかで商品を全て特定できたかどうかを確認することができる。特定できなかった場合(ステップS17;No)、表示情報出力部105は、目視検品画面(図示せず)の画像を生成し、表示装置400に表示する(ステップS18)。目視検品画面は、重量計測器300に置かれた各検品対象商品600を目視によって確認するための画面である。目視検品画面では、各検品対象商品がより拡大されて表示されてもよい。作業者は検品確認画面を見て、表示された商品の画像や商品名を目視によって確認する。検品対象商品や数量に過不足がある場合、作業員は、商品の過不足を調整する。目視検品の結果、全ての検品対象商品が正しく重量計測器300に載せられた場合、検品終了となる。なお、商品の入れ替えや、追加、削除された際に、撮像装置200は、新たな検品対象画像を撮像し、商品画像取得部103は、その画像を取得する。また、重量計測器300は、重量を再計測し、重量取得部102が再計測された新たな重量データ取得する。なお、目視確認画面のレイアウトは、検品対象商品が目視で確認できるものであれば任意でよいが、例えば、図5等に例示する検品確認画面と同様であってもよい。   The worker checks whether or not all the products have been identified (step S17). For example, the worker can confirm whether or not all the products have been specified based on whether or not “image OK” is displayed in the inspection target image display field 62. When it cannot identify (step S17; No), the display information output part 105 produces | generates the image of a visual inspection screen (not shown), and displays it on the display apparatus 400 (step S18). The visual inspection screen is a screen for visually confirming each inspection target product 600 placed on the weight measuring device 300. On the visual inspection screen, each inspection target product may be further enlarged and displayed. The operator looks at the inspection confirmation screen, and visually confirms the displayed product image and product name. If there is an excess or deficiency in the product or quantity to be inspected, the worker adjusts the excess or deficiency of the product. As a result of the visual inspection, when all the inspection target products are correctly placed on the weight measuring device 300, the inspection ends. Note that when a product is replaced, added, or deleted, the imaging device 200 captures a new inspection target image, and the product image acquisition unit 103 acquires the image. In addition, the weight measuring device 300 remeasures the weight, and the weight acquisition unit 102 acquires new weight data that has been remeasured. The layout of the visual confirmation screen may be arbitrary as long as the inspection target product can be visually confirmed, but may be the same as the inspection confirmation screen illustrated in FIG.

一方、商品が特定できた場合(ステップS17;Yes)、次に作業員は、総重量誤差は許容範囲内かどうか確認する(ステップS19)。許容範囲内ではない場合(ステップS19;No)、作業員は、商品の過不足を調整する。重量計測器300に載せられた商品の数量が変化すると、重量取得部102が新たな重量データ取得する。また、目標総重量計算部108は、総重量誤差を再計算する。そして、表示情報出力部105は、重量比較結果表示欄64の表示を更新する。このような作業員の調整作業により総重量誤差が許容範囲内となると(ステップS19)、検品終了となる。   On the other hand, if the product can be identified (step S17; Yes), the worker next checks whether the total weight error is within the allowable range (step S19). If not within the allowable range (step S19; No), the worker adjusts the excess or deficiency of the product. When the quantity of products placed on the weight measuring device 300 changes, the weight acquisition unit 102 acquires new weight data. The target total weight calculation unit 108 recalculates the total weight error. Then, the display information output unit 105 updates the display in the weight comparison result display field 64. When the total weight error falls within the allowable range due to the adjustment work of such an operator (step S19), the inspection ends.

検品終了となると、検品データ保存部107は、検品対象画像と、重量データと、検品データとを対応付けて検品データ格納部116に記録する(ステップS20)。なお、検品対象画像と重量データは検品終了時のもの(つまり検品データの内容と一致する検品対象商品群の検品対象画像と重量データ)である。また、検品データ保存部107は、今回の検品データに目視によって検品した明細情報が含まれている場合、検品データ等と目視による検品を行ったこと示す情報とを対応付けて検品データ格納部116に記録する。次に検品処理装置100は、マスタ登録処理を行う(ステップS21)。このマスタ登録処理は、ステップS17にて、全ての商品が特定できた場合、つまり、商品データ格納部117に商品のマスタ画像が記録されている場合には必要のない処理である。次に図5〜図12用いて、マスタ登録処理の説明を行う。   When the inspection ends, the inspection data storage unit 107 records the inspection object image, the weight data, and the inspection data in association with each other in the inspection data storage unit 116 (step S20). The inspection target image and the weight data are those at the end of inspection (that is, the inspection target image and weight data of the inspection target product group that matches the contents of the inspection data). The inspection data storage unit 107 also associates inspection data or the like with information indicating that inspection has been performed visually when the inspection data of this time includes detailed inspection information that has been visually inspected. To record. Next, the inspection processing apparatus 100 performs a master registration process (step S21). This master registration process is not necessary when all the products can be identified in step S17, that is, when the product master image is recorded in the product data storage unit 117. Next, the master registration process will be described with reference to FIGS.

図6は、本発明の第一の実施形態による検品確認画面の一例を示す第二の図である。
図7は、本発明の第一の実施形態による検品確認画面の一例を示す第三の図である。
図8で説明するマスタ登録処理において、商品データ格納部117に記録のない商品である商品コード「A」、「B」、「C」の商品を含む検品データ(図5〜図7)に対して、「出荷伝票1」〜「出荷伝票3」の順に図4で説明した検品処理を行うとする。また、ステップS20で記録された検品対象画像等は、図5〜図7で例示する3件の検品データについてのみであるとする。
具体的には、まず、図5で例示する検品データ「出荷伝票1」について検品処理を行うとする。「出荷伝票1」には、商品コード「A」の商品(商品Aとする)の検品数量が「2」、商品コード「B」の商品(商品Bとする)の検品数量が「1」、商品コード「C」の商品(商品Cとする)の検品数量が「1」、の明細情報が含まれている。図4で説明した検品処理の結果、検品データ格納部116には、「出荷伝票1」の検品データに対応して、目視検品画面で確認された検品対象画像と、その検品対象画像が示す状態で測定された重量データが記録される。
FIG. 6 is a second diagram showing an example of an inspection confirmation screen according to the first embodiment of the present invention.
FIG. 7 is a third diagram showing an example of an inspection confirmation screen according to the first embodiment of the present invention.
In the master registration process described with reference to FIG. 8, for inspection data (FIG. 5 to FIG. 7) including products with product codes “A”, “B”, and “C” that are products not recorded in the product data storage unit 117. Assume that the inspection processing described in FIG. 4 is performed in the order of “shipping slip 1” to “shipping slip 3”. Further, it is assumed that the inspection target images and the like recorded in step S20 are only for the three inspection data illustrated in FIGS.
Specifically, first, it is assumed that the inspection process is performed on the inspection data “shipment slip 1” illustrated in FIG. In “Shipping slip 1”, the inspection quantity of the product (product A) with the product code “A” is “2”, the inspection quantity of the product (product B) with the product code “B” is “1”, Detailed information on the inspection quantity “1” of the product (product C) with the product code “C” is included. As a result of the inspection processing described with reference to FIG. 4, the inspection data storage unit 116 stores the inspection target image confirmed on the visual inspection screen corresponding to the inspection data of “shipment slip 1” and the state indicated by the inspection target image. The weight data measured in is recorded.

次に図6で例示する検品データ「出荷伝票2」について検品処理を行うとする。「出荷伝票2」には、商品Aの検品数量が「2」、商品Bの検品数量が「2」の明細情報が含まれている。図4で説明した検品処理の結果、検品データ格納部116には、「出荷伝票2」の検品データに対応して、目視検品画面で確認された検品対象画像と、対応する重量データが記録される。以下に説明するステップS39〜ステップS42のマスタ画像の登録処理については、「出荷伝票2」について検品処理を行い、ステップS20で検品対象画像などの記録を行い、次にマスタ登録処理を行う場面であると仮定して説明を行う。
次に図7で例示する検品データ「出荷伝票3」について検品処理を行うとする。「出荷伝票3」には、商品Bの検品数量が「2」、商品Cの検品数量が「1」の明細情報が含まれている。図4で説明した検品処理の結果、検品データ格納部116には、「出荷伝票3」の検品データに対応して、目視検品画面で確認された検品対象画像と、その画像に対応する重量データが記録される。以下に説明するステップS43〜ステップS45の単位重量の登録処理については、この「出荷伝票3」について検品処理を行い、ステップS20で検品対象画像などの記録を行い、次にマスタ登録処理を行う場面であると仮定して説明を行う。
Next, it is assumed that the inspection process is performed on the inspection data “shipment slip 2” illustrated in FIG. The “shipping slip 2” includes detailed information on the inspection quantity of the product A being “2” and the inspection quantity of the product B being “2”. As a result of the inspection processing described with reference to FIG. 4, the inspection data storage unit 116 records the inspection target image confirmed on the visual inspection screen and the corresponding weight data corresponding to the inspection data of “shipment slip 2”. The Regarding the master image registration process in steps S39 to S42 described below, the inspection process is performed for “shipment slip 2”, the inspection target image is recorded in step S20, and then the master registration process is performed. The explanation will be made assuming that there is.
Next, it is assumed that the inspection process is performed on the inspection data “shipment slip 3” illustrated in FIG. The “shipping slip 3” includes detailed information with the inspection quantity of the product B being “2” and the inspection quantity of the product C being “1”. As a result of the inspection process described with reference to FIG. 4, the inspection data storage unit 116 stores the inspection target image confirmed on the visual inspection screen and the weight data corresponding to the image corresponding to the inspection data of “shipment slip 3”. Is recorded. As for the unit weight registration process in steps S43 to S45 described below, the inspection process is performed on the “shipment slip 3”, the inspection target image is recorded in step S20, and then the master registration process is performed. The description will be made assuming that

図8は、本発明の第一の実施形態による検品処理装置のマスタ登録処理の一例を示すフローチャートである。
図9は、本発明の第一の実施形態による検品処理を説明する第一の図である。
図10は、本発明の第一の実施形態による検品処理を説明する第二の図である。
図11は、本発明の第一の実施形態による検品処理を説明する第三の図である。
図12は、本発明の第一の実施形態による検品処理を説明する第四の図である。
図8は、ステップS21のマスタ登録処理を詳細に説明する図である。
まず、商品データ登録部109が検品データをカウントする変数Nを初期化し、Nに1を設定する(ステップS31)。商品データ登録部109は、N回目の検品処理のステップS20で登録した検品データと検品対象画像・重量データを検品データ格納部116から読み出して取得する(ステップS32)。今回はN=1なので、商品データ登録部109は、図5で例示した1回目の検品データ、検品対象画像・重量データを取得する。
FIG. 8 is a flowchart showing an example of a master registration process of the inspection processing apparatus according to the first embodiment of the present invention.
FIG. 9 is a first diagram illustrating inspection processing according to the first embodiment of the present invention.
FIG. 10 is a second diagram illustrating the inspection processing according to the first embodiment of the present invention.
FIG. 11 is a third diagram for explaining the inspection processing according to the first embodiment of the present invention.
FIG. 12 is a fourth diagram for explaining the inspection processing according to the first embodiment of the present invention.
FIG. 8 is a diagram for explaining the master registration process in step S21 in detail.
First, the product data registration unit 109 initializes a variable N for counting inspection data, and sets 1 to N (step S31). The product data registration unit 109 reads out and acquires the inspection data and the inspection object image / weight data registered in step S20 of the N-th inspection process from the inspection data storage unit 116 (step S32). Since N = 1 this time, the product data registration unit 109 acquires the first inspection data and inspection target image / weight data exemplified in FIG.

次に、商品データ登録部109は、1回目の検品データに目視による検品結果が1件でも含まれているかどうかを判定する(ステップS33)。目視による検品結果が1件でも含まれているかどうかとは、図4で目視検品画面にて検品を行った商品が含まれているかどうかである。例えば、商品データ登録部109は、検品データと目視による検品を行ったことを示す情報が対応付けて検品データ格納部116に記録されている場合、目視による検品結果が1件でも含まれていると判定する。N件目の検品データが目視による検品を含まない場合(ステップS33;No)ステップS37の判定にすすむ。N件目の検品データが目視による検品結果が含まれている場合(ステップS33;Yes)、商品データ登録部109は、画像抽出部111に画像の切り出しを指示する。画像抽出部111は、読み出した検品対象画像において商品画像の切り出しを行う(ステップS34)。上述のとおり重量計測器300には、例えば、格子状の模様が描かれている。画像抽出部111は、この既知の背景模様を利用して、背景差分法等の画像処理により、商品の候補となる一まとまりの物体が写った部分の画像(商品画像)を切り出す。N=1の場合、図9(a)の左図が、切り出し後の状態の例を示している。図9(a)の左図は、画像抽出部111による切り出し後、11、12、13、14の符号が付された商品画像が切り出されたことを示している。なお、ここで、同じ商品Aを撮像した画像であっても商品Aが立体形状をしている場合など、商品Aのどの面が上向きになるように置くかで、商品画像は異なるが、以下の説明においては、同じ検品対象商品については同じ面が撮影されているものとする。   Next, the product data registration unit 109 determines whether or not the first inspection data includes at least one inspection result (step S33). Whether or not even one inspection result by visual inspection is included is whether or not a product that has been inspected on the visual inspection screen in FIG. 4 is included. For example, when the product data registration unit 109 records the inspection data and the information indicating that the visual inspection has been performed in association with each other and is recorded in the inspection data storage unit 116, even one visual inspection result is included. Is determined. When the N-th inspection data does not include visual inspection (step S33; No), the determination in step S37 is recommended. When the N-th inspection data includes a visual inspection result (step S33; Yes), the product data registration unit 109 instructs the image extraction unit 111 to cut out an image. The image extraction unit 111 cuts out a product image in the read inspection target image (step S34). As described above, for example, a lattice pattern is drawn on the weight measuring device 300. Using this known background pattern, the image extraction unit 111 cuts out an image (product image) of a part in which a group of objects that are candidates for a product is captured by image processing such as a background subtraction method. In the case of N = 1, the left diagram in FIG. 9A shows an example of a state after cutting. The left diagram in FIG. 9A shows that the product images to which the reference numerals 11, 12, 13, and 14 are attached are cut out after being cut out by the image extraction unit 111. Here, even if images of the same product A are captured, the product image differs depending on which side of the product A is placed upward, such as when the product A has a three-dimensional shape. In the description, it is assumed that the same surface is photographed for the same inspection target product.

次に、商品データ登録部109は、画像抽出部111が切り出した各商品画像の特徴量を計算するよう特徴量計算部106に指示する。特徴量計算部106は、切り出した各商品画像に対して特徴量を計算し(ステップS35)、その値を商品データ登録部109に出力する。商品データ登録部109は、特徴量を各商品画像と対応付けてメモリに記録する。例えば、図9(a)の切り出し画像「11」の特徴量が「AAA」であれば、商品データ登録部109は、「11」と「AAA」を対応付けてメモリに記録する。   Next, the product data registration unit 109 instructs the feature amount calculation unit 106 to calculate the feature amount of each product image cut out by the image extraction unit 111. The feature amount calculation unit 106 calculates a feature amount for each extracted product image (step S35), and outputs the value to the product data registration unit 109. The product data registration unit 109 records the feature amount in the memory in association with each product image. For example, if the feature amount of the cutout image “11” in FIG. 9A is “AAA”, the product data registration unit 109 records “11” and “AAA” in association with each other in the memory.

次に、商品データ登録部109は、商品重量計算部114に方程式の作成を指示する。商品重量計算部114は、N回目の検品データとN回目の重量データとを用いて、重量データと検品データの関係を数式化する(ステップS36)。例えば、図11(a)は、1回目の検品データと重量データを示した図である。図11(a)のデータから検品データと重量データとの関係を求めると、Wa(商品Aの単位重量)×2(個)+Wb(商品Bの単位重量)×1(個)+Wc(商品Cの単位重量)×1(個)=450(総重量)となる。商品重量計算部114は、このような方程式(図12(a)の出荷伝票1の行)を生成しメモリに記録する。   Next, the product data registration unit 109 instructs the product weight calculation unit 114 to create an equation. The product weight calculation unit 114 formulates the relationship between the weight data and the inspection data using the N-th inspection data and the N-th weight data (step S36). For example, FIG. 11A shows the first inspection data and weight data. When the relationship between the inspection data and the weight data is obtained from the data of FIG. 11A, Wa (unit weight of product A) × 2 (pieces) + Wb (unit weight of product B) × 1 (pieces) + Wc (product C) Unit weight) × 1 (pieces) = 450 (total weight). The merchandise weight calculation unit 114 generates such an equation (the line of the shipping slip 1 in FIG. 12A) and records it in the memory.

次に、商品データ登録部109は、変数Nが検品データ格納部116に記録済みの検品データの個数と等しいかどうかを判定する(ステップS37)。変数Nが記録済みの検品データの個数と等しくない場合(ステップS37;No)、商品データ登録部109は、変数Nに1を加算し(ステップS38)、ステップS32からの処理を繰り返す。具体的には、N=2の「出荷伝票2」の検品データに対して、画像抽出部111は、図9(b)の左図のように商品画像21〜24を切り出す。また、特徴量計算部106は、商品画像21〜24それぞれの特徴量を計算する。また、商品重量計算部114は、図11(b)のデータから方程式「Wa×2+Wc×2=300」(図12(a)の出荷伝票2)を生成する。記録済みの検品データの個数が2の場合、ステップS39の処理に進む。記録済みの検品データの個数が3の場合は、商品データ登録部109は、変数Nに1を加算し、続いてN=3の「出荷伝票3」の検品データに対して同様の処理を行う。例えば、商品重量計算部114は、図11(c)のデータから方程式「Wb×2+Wc×1=450」(図12(a)の出荷伝票3)を生成する。   Next, the product data registration unit 109 determines whether the variable N is equal to the number of inspection data recorded in the inspection data storage unit 116 (step S37). When the variable N is not equal to the number of recorded inspection data (step S37; No), the product data registration unit 109 adds 1 to the variable N (step S38), and repeats the processing from step S32. Specifically, the image extraction unit 111 cuts out the product images 21 to 24 as illustrated in the left diagram of FIG. 9B with respect to the inspection data of “Shipping slip 2” with N = 2. Further, the feature amount calculation unit 106 calculates the feature amounts of the product images 21 to 24. Further, the product weight calculation unit 114 generates the equation “Wa × 2 + Wc × 2 = 300” (the shipping slip 2 in FIG. 12A) from the data in FIG. If the number of recorded inspection data is 2, the process proceeds to step S39. When the number of recorded inspection data is 3, the product data registration unit 109 adds 1 to the variable N, and then performs the same processing on the inspection data of “shipment slip 3” with N = 3. . For example, the product weight calculation unit 114 generates the equation “Wb × 2 + Wc × 1 = 450” (the shipping slip 3 in FIG. 12A) from the data in FIG.

変数Nが記録済みの検品データの個数と等しい場合(ステップS37;Yes)、商品データ登録部109は、切り出した画像どうしの照合を、画像分析部112に指示する。画像分析部112は、画像抽出部111によって切り出された商品画像同士を照合する(ステップS39)。具体的には、画像分析部112は、ステップS32〜ステップS37で得られた全ての商品画像のそれぞれについて、他の商品画像と特徴量を比較する照合処理を行う。ここでは、N=2(つまり、現在、出荷伝票1および出荷伝票2の検品データが検品データ格納部116に記録済み)であるとして説明を行う。図9の商品画像11について、商品画像11と商品画像12、13、14、21、22、23、24のそれぞれを照合する。同様に商品画像12と商品画像11、13、14、21、22、23、24のそれぞれを照合する。他の商品画像13、14、21、22、23、24についても同様である。   When the variable N is equal to the number of recorded inspection data (step S37; Yes), the product data registration unit 109 instructs the image analysis unit 112 to collate the cut images. The image analysis unit 112 collates the product images cut out by the image extraction unit 111 (step S39). Specifically, the image analysis unit 112 performs a collation process for comparing feature quantities with other product images for each of all product images obtained in steps S32 to S37. Here, the description will be made assuming that N = 2 (that is, the inspection data of the shipping slip 1 and the shipping slip 2 are currently recorded in the inspection data storage unit 116). For the product image 11 in FIG. 9, the product image 11 and the product images 12, 13, 14, 21, 22, 23, and 24 are collated. Similarly, the product image 12 and the product images 11, 13, 14, 21, 22, 23, and 24 are collated. The same applies to the other product images 13, 14, 21, 22, 23, 24.

次に、画像分析部112は、全ての切り出し画像のうち、特徴量が一致する商品の画像があるかどうかを判定する(ステップS40)。画像分析部112は、例えば、商品画像11の特徴量と商品画像14の特徴量との類似度が所定の範囲内にあれば、両者は一致する商品の画像であると判定する。図10(a)は、画像分析部112による照合結果の一例を示している。図10(a)によれば、照合処理の結果、画像分析部112は、商品画像11、商品画像14、商品画像22、商品画像23は一致する商品の画像であると判定したことを示している。同様に、画像分析部112は、商品画像12、商品画像21、商品画像24は一致する商品の画像、商品画像14、商品画像22、商品画像23は一致する商品の画像、商品画像21、商品画像24は一致する商品の画像、商品画像22、商品画像23は一致する商品の画像であると判定されたことを示している。特徴量が一致する商品の画像がある場合(ステップS40;Yes)、画像分析部112は、照合を行った検品対象画像に含まれる商品画像の種類別の数量を、検品対象画像別(検品データ別)に算出する。図10(a)の例では、画像分析部112は、商品画像11と商品画像14が一致することから、出荷伝票1の検品対象画像には、商品画像11と同じ種類の商品画像が2つ(商品画像11と商品画像14)含まれることを算出する。また、画像分析部112は、商品画像12と同じ種類の商品画像が1つ(商品画像12自身)、商品画像13と同じ種類の商品画像が1つ(商品画像13自身)含まれることを算出する。画像分析部112は、同様に出荷伝票2についても、商品画像11と同じ種類の商品画像が2つ(商品画像22と商品画像23)含まれることを算出する。また、画像分析部112は、商品画像12と同じ種類の商品画像が2つ(商品画像21と商品画像24)、商品画像13と同じ種類の商品画像が0個含まれることを算出する。一方、特徴量が一致する商品の画像が無い場合(ステップS40;No)、ステップS43の処理にすすむ。   Next, the image analysis unit 112 determines whether there is an image of a product having a matching feature amount among all the cutout images (step S40). For example, if the similarity between the feature amount of the product image 11 and the feature amount of the product image 14 is within a predetermined range, the image analysis unit 112 determines that both are images of the matching product. FIG. 10A shows an example of a collation result by the image analysis unit 112. 10A shows that as a result of the collation processing, the image analysis unit 112 has determined that the product image 11, the product image 14, the product image 22, and the product image 23 are images of matching products. Yes. Similarly, the image analysis unit 112 determines that the product image 12, the product image 21, and the product image 24 are images of matching products, the product image 14, the product image 22, and the product image 23 are images of matching products, a product image 21, and a product image. The image 24 indicates that the image of the matching product, the product image 22, and the product image 23 are determined to be images of the matching product. If there is an image of the product with the matching feature quantity (step S40; Yes), the image analysis unit 112 calculates the quantity for each type of product image included in the verified image to be inspected by inspection object image (inspection data). Calculated separately). In the example of FIG. 10A, since the product image 11 and the product image 14 match, the image analysis unit 112 has two product images of the same type as the product image 11 in the inspection target image of the shipping slip 1. (Product image 11 and product image 14) are included. The image analysis unit 112 calculates that one product image of the same type as the product image 12 (product image 12 itself) and one product image of the same type as the product image 13 (product image 13 itself) are included. To do. Similarly, the image analysis unit 112 calculates that the shipping slip 2 includes two product images of the same type as the product image 11 (the product image 22 and the product image 23). In addition, the image analysis unit 112 calculates that two product images of the same type as the product image 12 (product image 21 and product image 24) and 0 product images of the same type as the product image 13 are included. On the other hand, if there is no product image with the same feature quantity (step S40; No), the process proceeds to step S43.

特徴量が一致する商品の画像がある場合、次に商品特定部113は、特徴量が一致した画像の個数と伝票の検品数量が一致する商品があるかどうかを判定する(ステップS41)。具体的には、商品特定部113は、画像分析部112による検品対象画像別(検品データ別)の商品画像の種類別の数量と、検品データに含まれる検品商品の検品数量とを比較して、商品画像の各々が示す検品商品を特定する。図10(b)を用いてより詳しく説明する。図10(b)の「一致画像」欄、「出荷伝票1」欄、「出荷伝票2」欄は、画像分析部112による算出結果を表にまとめたものである。商品特定部113は、この検品対象画像別の商品画像の種類別の数量(図10(b))と、出荷伝票1(図9(a)の右図)および出荷伝票2(図9(b)の右図)とを比較する。図10(b)によると、例えば、商品画像11、14、22、23は同種、かつ出荷伝票1に2個、出荷伝票2に2個含まれることが分かる。そのような商品は商品Aのみであるため、商品特定部113は、商品画像11等が示すのは商品Aであると特定する。また、商品画像12、21、24については、出荷伝票1に1個、出荷伝票2に2個含まれる商品は、検品データに照らし合わせると商品Cであるため、商品特定部113は、商品画像12等が示すのは商品Cであると特定する。また、商品画像13について、出荷伝票1に1個、出荷伝票2に0個含まれる商品は、検品データに照らし合わせると商品Bであるため、商品特定部113は、商品画像13は商品Bを撮像した画像であると特定する。特定できた商品がある場合、商品特定部113は、特徴量が一致した画像の個数と伝票の検品数量が一致する商品があると判定する。一致する商品があると判定した場合(ステップS41)、商品特定部113は、特定した結果を商品データ登録部109に出力する。続いて、商品データ登録部109は、検品対象画像に含まれる商品画像の数量と検品データに含まれる検品数量が一致した商品画像を、その商品と対応付けて商品データ格納部117に登録する(ステップS42)。このように本実施形態によれば、事前に画像をマスタ登録しなくとも、検品作業の流れの中で自動的に商品の画像をマスタ登録することができる。
なお、一致する商品が一つもないと判定した場合(ステップS41;No)、ステップS43へ進む。
If there is an image of the product with the matching feature quantity, the product specifying unit 113 determines whether there is a product with the number of images with the matched feature quantity and the inspection quantity on the slip (step S41). Specifically, the product specifying unit 113 compares the quantity of each product image for each inspection target image (by inspection data) by the image analysis unit 112 with the inspection quantity of the inspection product included in the inspection data. The inspection product indicated by each of the product images is specified. This will be described in more detail with reference to FIG. The “coincidence image” field, “shipment slip 1” field, and “shipment slip 2” field in FIG. 10B summarize the calculation results by the image analysis unit 112 in a table. The merchandise specifying unit 113 determines the quantity (FIG. 10 (b)) for each type of product image for each inspection object image, the shipping slip 1 (the right diagram in FIG. 9 (a)), and the shipping slip 2 (FIG. 9 (b)). Compare the figure on the right side of). 10B, for example, it can be seen that the product images 11, 14, 22, and 23 are of the same type and are included in the shipping slip 1 and two in the shipping slip 2. Since such a product is only the product A, the product specifying unit 113 specifies that the product image 11 or the like indicates the product A. In addition, regarding the product images 12, 21, and 24, the product included in the shipping slip 1 and the product included in the shipping slip 2 is the product C when compared with the inspection data. 12 etc. specify that it is the goods C. In addition, regarding the product image 13, the product included in the shipping slip 1 and 0 in the shipping slip 2 is the product B in comparison with the inspection data. The captured image is specified. If there is a product that can be identified, the product identification unit 113 determines that there is a product whose number of images with the same feature quantity matches the inspection quantity of the slip. When it is determined that there is a matching product (step S41), the product identification unit 113 outputs the identified result to the product data registration unit 109. Subsequently, the product data registration unit 109 registers a product image in which the quantity of the product image included in the inspection target image and the inspection quantity included in the inspection data match with the product in the product data storage unit 117 ( Step S42). As described above, according to the present embodiment, an image of a product can be automatically registered as a master in the inspection work flow without registering the image as a master in advance.
In addition, when it determines with there being no matching goods (step S41; No), it progresses to step S43.

次に、商品重量計算部114が、ステップS36で生成した全ての方程式を連立させて解く(ステップS43)。ここでは、N=3(つまり、現在、出荷伝票1、出荷伝票2、出荷伝票3の検品データが検品データ格納部116に記録済み)であるとして説明を行う。図12(a)に商品重量計算部114が生成した方程式を示す。なお、図中、Waは商品Aの単位重量、Wbは商品Bの単位重量、Wcは商品Cの単位重量を示している。ここで、求める変数は3種類(Wa、Wb、Wc)、方程式が3つあるので、この連立方程式を解くことにより、Wa、Wb、Wcを求めることができる。実際にこれらを解くと、商品Aの重量は100、商品Bの重量は200、商品Cの重量は50となる。図12(b)に連立方程式を解いて得た各商品A〜Cの単位重量を示す。商品重量計算部114は、連立方程式の解(単位重量)を商品と対応付けて、商品データ登録部109に出力する。また、商品重量計算部114は、連立方程式が解けない場合は、解なしなどの情報を商品データ登録部109に出力する。   Next, the product weight calculation unit 114 solves all the equations generated in step S36 by simultaneous (step S43). Here, the description will be made assuming that N = 3 (that is, the inspection data of the shipping slip 1, the shipping slip 2, and the shipping slip 3 is recorded in the inspection data storage unit 116 at present). FIG. 12A shows an equation generated by the product weight calculation unit 114. In the figure, Wa represents the unit weight of the product A, Wb represents the unit weight of the product B, and Wc represents the unit weight of the product C. Here, since there are three types of variables to be obtained (Wa, Wb, Wc) and three equations, Wa, Wb, Wc can be obtained by solving the simultaneous equations. When these are actually solved, the weight of the commodity A is 100, the weight of the commodity B is 200, and the weight of the commodity C is 50. FIG. 12B shows the unit weight of each product A to C obtained by solving the simultaneous equations. The product weight calculation unit 114 associates the solution of simultaneous equations (unit weight) with the product and outputs the product to the product data registration unit 109. If the simultaneous equations cannot be solved, the product weight calculation unit 114 outputs information such as no solution to the product data registration unit 109.

商品データ登録部109は、商品重量計算部114から取得した情報に基づいて、連立方程式の解があるかどうかを判定する(ステップS44)。連立方程式の解がある場合(ステップS44;Yes)、商品データ登録部109は、商品重量計算部114から取得した単位重量を、商品と対応付けて商品データ格納部117に登録する(ステップS45)。連立方程式の解がない場合(ステップS44;No)、マスタ登録処理を終了する。このように本実施形態によれば、事前に単位重量をマスタ登録しなくとも、検品作業の流れの中で自動的に単位重量をマスタ登録することができる。
なお、上記の例では、商品画像の登録については、出荷伝票2の検品処理後のマスタ登録処理において商品画像の登録が可能である。また、単位重量の登録については、出荷伝票3の検品処理後のマスタ登録処理において可能となる。つまり、商品画像のマスタ登録処理と単位重量のマスタ登録処理は独立したタイミングで行われる。また、上記の説明では、ステップS32において、検品データ格納部116に格納されている全ての検品データを読み出して処理を行っているが、最後に行った検品処理で用いた検品データに含まれる検品対象商品を明細情報に含む検品データだけを読み出してもよい。
The product data registration unit 109 determines whether there is a solution to the simultaneous equations based on the information acquired from the product weight calculation unit 114 (step S44). When there is a solution of simultaneous equations (step S44; Yes), the product data registration unit 109 registers the unit weight acquired from the product weight calculation unit 114 in the product data storage unit 117 in association with the product (step S45). . When there is no solution of simultaneous equations (step S44; No), the master registration process is terminated. As described above, according to the present embodiment, the unit weight can be automatically registered as a master in the inspection work flow without the unit weight being registered as a master in advance.
In the above example, as for the registration of the product image, the product image can be registered in the master registration process after the inspection process of the shipping slip 2. The unit weight can be registered in the master registration process after the inspection process of the shipping slip 3. That is, the product image master registration process and the unit weight master registration process are performed at independent timings. In the above description, in step S32, all the inspection data stored in the inspection data storage unit 116 are read and processed, but the inspection included in the inspection data used in the last inspection processing is performed. Only inspection data including the target product in the detailed information may be read.

本実施形態の検品処理装置によれば、照合部115が、商品データ格納部117に記録されているマスタ画像を用いて対象商品を撮像した画像に写る商品を特定できなかった場合でも、検品作業を何度か繰り返すうちに記録された検品データと検品対象画像に基づいて、検品商品と、その検品商品のマスタ画像とを対応付けて自動的に商品データ格納部117に登録することができる。また、検品作業を何度か繰り返すうちに記録された検品データと重量データに基づいて、検品商品と、その検品商品の単位重量とを対応付けて自動的に商品データ格納部117に登録することができる。従って、商品のマスタ画像および単位重量を予めマスタ登録する必要がなく、マスタ登録の手間を減らすことができる。また、検品時の撮像画像を用いてマスタ登録するため、実際に上を向けて置かれる側面のみのマスタ画像が登録され、そうでない側面の画像は登録されることはない。したがって、照合対象の画像数が実際に検品作業で用いられる側面のみに限定されるため、照合時間を短縮することができる。   According to the inspection processing apparatus of the present embodiment, even when the collation unit 115 cannot identify the product shown in the image obtained by capturing the target product using the master image recorded in the product data storage unit 117, the inspection work is performed. The inspection product and the master image of the inspection product can be automatically registered in the product data storage unit 117 in association with each other based on the inspection data and the inspection target image that are recorded several times. Further, based on the inspection data and the weight data recorded while repeating the inspection work several times, the inspection product and the unit weight of the inspection product are automatically registered in the product data storage unit 117 in association with each other. Can do. Therefore, it is not necessary to previously register the master image and unit weight of the product, and the labor for master registration can be reduced. In addition, since master registration is performed using a captured image at the time of inspection, only the side master image that is actually placed facing upward is registered, and the other side image is not registered. Therefore, since the number of images to be verified is limited to only the side surface that is actually used in the inspection work, the verification time can be shortened.

<第二の実施形態>
以下、本発明の第二の実施形態による検品処理装置を図13〜図17を参照して説明する。
検品対象商品が多い場合など、重量計測器300におかれる検品対象商品同士が重なることがある。そのような場合、商品画像を商品ごとに個別に切り出すことが困難であるため、第一の実施形態と同様の処理で商品画像を、自動的にマスタ登録することは難しい。第二の実施形態では、商品同士が重なって置かれた場合でも、重なった商品の画像を分割して、それぞれの商品画像を商品データ格納部117に登録する。
図13は、本発明の第二の実施形態による検品処理装置の構成の一例を示すブロック図である。
図13で示すように、第二の実施形態による検品処理装置100Aは、第一の実施形態における表示情報出力部105、商品データ登録部109に代えて、表示情報出力部105A、商品データ登録部109Aを備えている点で第一の実施形態と異なる。表示情報出力部105Aは、作業員による検品商品と検品対象画像における当該検品商品が写った部分の対応付け操作の入力手段を提供する。商品データ登録部109Aは、商品画像決定部110Aと、商品重量計算部114とを備える。商品画像決定部110Aは、第一の実施形態と同様に画像抽出部111および画像分析部112および商品特定部113を備え、さらに本実施形態の特徴である部分画像選択部118を備えている。他の構成は、第一の実施形態と同様である。
<Second Embodiment>
The inspection processing apparatus according to the second embodiment of the present invention will be described below with reference to FIGS.
When there are many inspection target products, the inspection target products placed in the weight measuring device 300 may overlap each other. In such a case, since it is difficult to cut out the product image individually for each product, it is difficult to automatically register the product image as a master by the same processing as in the first embodiment. In the second embodiment, even when the products are placed on top of each other, the images of the overlaid products are divided and each product image is registered in the product data storage unit 117.
FIG. 13 is a block diagram showing an example of the configuration of the inspection processing apparatus according to the second embodiment of the present invention.
As shown in FIG. 13, the inspection processing apparatus 100A according to the second embodiment replaces the display information output unit 105 and the product data registration unit 109 in the first embodiment with a display information output unit 105A and a product data registration unit. It differs from 1st embodiment by the point provided with 109A. The display information output unit 105A provides an input means for associating an inspection product with a part of the inspection target image where the inspection product appears in the inspection target image. The product data registration unit 109A includes a product image determination unit 110A and a product weight calculation unit 114. 110 A of product image determination parts are provided with the image extraction part 111, the image analysis part 112, and the goods specific | specification part 113 similarly to 1st embodiment, and also the partial image selection part 118 which is the characteristics of this embodiment. Other configurations are the same as those of the first embodiment.

部分画像選択部118は、検品対象画像において、切り出された一まとまりの画像(商品画像)の数が、検品データに含まれる検品数量の合計に比べ小さい場合、検品データに含まれる検品商品とその検品商品が写った画像の部分とを対応付ける操作に基づいて、一まとまりの画像のうち複数の商品を含む画像であって、ある一つの検品商品(例えば、商品A)を含む画像と、同じ検品商品(商品A)を含む他の一まとまりの画像とを照合し、照合の結果、特徴量が一致する範囲の画像を、当該検品商品(商品A)の部分画像として選択する。
また、商品データ登録部109Aは、部分画像選択部118が選択した範囲の画像を、対応付けられた商品および当該画像が不完全であることを示す情報と対応付けて商品データ格納部117に登録する。また、商品データ登録部109Aは、部分画像が登録されたある一つの商品(例えば、商品A)について、当該商品の輪郭が切り出せた一まとまりの画像(商品A単体の商品画像)が得られた場合、その画像を部分画像の代わりに登録する。
The partial image selection unit 118, when the number of cut-out images (product images) in the inspection target image is smaller than the total of the inspection quantities included in the inspection data, the inspection product included in the inspection data and the inspection product Based on the operation of associating the image portion in which the inspection product is shown, the same inspection with an image including a plurality of products among a group of images and including an inspection product (for example, product A) The image is collated with another group of images including the product (product A), and as a result of the collation, an image in a range where the feature amounts match is selected as a partial image of the inspection product (product A).
Further, the product data registration unit 109A registers the image in the range selected by the partial image selection unit 118 in the product data storage unit 117 in association with the associated product and information indicating that the image is incomplete. To do. In addition, the product data registration unit 109A obtains a group of images (product images of product A alone) in which the outline of the product is cut out for a certain product (for example, product A) in which the partial image is registered. In this case, the image is registered instead of the partial image.

次に図14〜図16を用いて、第二の実施形態に固有の処理について説明する。
図14は、本発明の第二の実施形態による検品確認画面の一例を示す図である。
図14に示すのは「出荷伝票4」について検品処理を行った場合に表示される検品確認画面の例である。「出荷伝票4」には、商品Aが2つ、商品Bが1つ、商品Cが3つ含まれている。また、商品A、商品B、商品Cは、商品データ格納部117に登録されていないとする。その為、画像照合結果表示欄63には「画像NG」、重量比較結果表示欄64に「重量NG」が表示されている。この「出荷伝票4」についての検品作業において、商品A〜商品Cは、重量計測器300上に、検品対象画像表示欄62に示すように置かれている。つまり、1つの商品Aの一部と商品Cが重なるように置かれ、もう一つの商品Aの一部と商品Bが重なるように置かれている。このように商品同士が重なるように置かれた場合、画像抽出部111が商品画像の切り出しを行うと、重なるように置かれた商品Aと商品Cは一つのまとまった商品画像として切り出される(破線で囲った商品画像41)。また、重なるように置かれた商品Aと商品Bは一つのまとまった商品画像として切り出される(破線で囲った商品画像44)。つまり、実際には、6個の商品が重量計測器300に置かれているところ、背景差分法等による画像処理では、4つの商品しか切り出すことができない。そこで、本実施形態では、部分画像選択部118が、重なって置かれた商品の画像を商品ごとに分割して、半自動的なマスタ登録処理を実現する。より具体的には、目視検品画面(図4のステップS18)において、入力受付部104は、作業員による検品データに含まれる検品商品と、検品対象画像におけるその検品商品が写った画像部分を対応付ける操作を受け付ける。部分画像選択部118は、この操作に基づいて、商品画像の分割を行う。なお、本実施形態において目視検品画面は、検品対象画像を表示し、検品対象画像のうちある商品が写った画像部分とその商品とを対応付ける操作の入力手段を有していれば、任意のものであって構わないが、ここでは、図14に例示した検品確認画面と同様の画面であるとして以下の説明を行う。
Next, processing unique to the second embodiment will be described with reference to FIGS.
FIG. 14 is a diagram showing an example of an inspection confirmation screen according to the second embodiment of the present invention.
FIG. 14 shows an example of an inspection confirmation screen displayed when an inspection process is performed on “shipment slip 4”. “Shipping slip 4” includes two products A, one product B, and three products C. Further, it is assumed that the product A, the product B, and the product C are not registered in the product data storage unit 117. Therefore, “image NG” is displayed in the image comparison result display field 63, and “weight NG” is displayed in the weight comparison result display field 64. In the inspection work for the “shipping slip 4”, the products A to C are placed on the weight measuring device 300 as shown in the inspection object image display column 62. That is, a part of one product A and a product C are placed so as to overlap each other, and a part of another product A and a product B are placed so as to overlap each other. In this way, when the products are placed so as to overlap each other, when the image extraction unit 111 cuts out the product images, the product A and the product C placed so as to overlap each other are cut out as a single product image (broken line) Product image 41) surrounded by. Further, the product A and the product B placed so as to overlap each other are cut out as a single product image (a product image 44 surrounded by a broken line). That is, in practice, when six products are placed on the weight measuring device 300, only four products can be cut out by image processing using the background subtraction method or the like. Therefore, in the present embodiment, the partial image selection unit 118 divides the product images placed in an overlapping manner for each product, thereby realizing a semi-automatic master registration process. More specifically, on the visual inspection screen (step S18 in FIG. 4), the input receiving unit 104 associates the inspection product included in the inspection data by the worker with the image portion in which the inspection product is reflected in the inspection target image. Accept the operation. The partial image selection unit 118 divides the product image based on this operation. In the present embodiment, the visual inspection screen is an arbitrary one as long as it has an input means for displaying an inspection target image and associating the product with an image portion showing a certain product in the inspection target image. However, here, the following description will be given assuming that the screen is the same as the inspection confirmation screen illustrated in FIG.

図15は、本発明の第二の実施形態によるマスタ登録処理を説明する第一の図である。
図15の左図は、作業員による商品とその商品が写った画像部分とを対応付ける操作を行った後の検品対象画像表示欄62の一例である。図15の右図は、「出荷伝票4」の明細データである。作業員は、例えば、図14の検品確認画面と同様の目視確認画面において、検品データ表示欄61の1行目をマウス等で選択する操作を行い、さらに検品対象画像表示欄62に写った商品Aをマウス等で選択する(図15の点41A、44A)操作を行う。そして、作業員は、指さし確認ボタン66を押下する。これが、検品データに含まれる検品商品(商品A)と検品対象画像におけるその検品商品(商品A)が写った画像部分を対応付ける操作の例である。作業員がこの対応付け操作を行うと、入力受付部104はこの操作を受け付け、商品Aの識別情報と作業員が選択した画像部分の座標情報とを、制御判定部101を介して、商品データ登録部109Aに出力する。商品データ登録部109Aでは、部分画像選択部118がこれらの情報を取得する。また、部分画像選択部118は、画像抽出部111による切り出し後の商品画像41、商品画像44を取得する。また、部分画像選択部118は、特徴量計算部106が計算した商品画像41、商品画像44の特徴量を取得する。部分画像選択部118は、これらの情報を用いて、重なり合った商品の画像を分割する処理を行う。なお、同様に作業員は、商品B、商品Cについても、商品とその商品が写った画像部分を対応付ける操作を行ってもよい。その場合、部分画像選択部118は、商品Bの識別情報と商品Bの座標情報、商品Cの識別情報と商品Cの座標情報を取得する。
FIG. 15 is a first diagram illustrating a master registration process according to the second embodiment of the present invention.
The left figure of FIG. 15 is an example of the inspection object image display column 62 after the operator performs an operation of associating the product with the image portion showing the product. The right figure of FIG. 15 shows detailed data of “shipment slip 4”. For example, on the visual confirmation screen similar to the inspection confirmation screen in FIG. 14, the operator performs an operation of selecting the first line of the inspection data display column 61 with a mouse or the like, and further the product shown in the inspection target image display column 62 An operation of selecting A with a mouse or the like (points 41A and 44A in FIG. 15) is performed. The worker then presses the pointing confirmation button 66. This is an example of an operation for associating an inspection product (product A) included in the inspection data with an image portion showing the inspection product (product A) in the inspection target image. When the worker performs this associating operation, the input receiving unit 104 receives this operation, and the product data is sent to the identification information of the product A and the coordinate information of the image portion selected by the worker via the control determination unit 101. The data is output to the registration unit 109A. In the product data registration unit 109A, the partial image selection unit 118 acquires these pieces of information. In addition, the partial image selection unit 118 acquires the product image 41 and the product image 44 after being cut out by the image extraction unit 111. In addition, the partial image selection unit 118 acquires the feature amounts of the product image 41 and the product image 44 calculated by the feature amount calculation unit 106. The partial image selection unit 118 performs processing for dividing the images of the overlapping products using these pieces of information. Similarly, for the products B and C, the worker may perform an operation for associating the product with an image portion in which the product is shown. In that case, the partial image selection unit 118 acquires the identification information of the product B, the coordinate information of the product B, the identification information of the product C, and the coordinate information of the product C.

図16は、本発明の第二の実施形態によるマスタ登録処理を説明する第二の図である。
図16を用いて部分画像選択部118の切り出し処理について説明する。部分画像選択部118は、商品画像41と商品画像44に対して、移動、回転などの画像処理を行いつつ両画像を照合し、両画像の特徴量が重なり合う位置関係を探す。すると、図16(a)のように、商品Aが写っている領域が部分的に一致する位置関係が見つかる。部分画像選択部118は、図16(a)に例示する特徴量が一致するような位置関係で重ね合わせた画像から、特徴量が一致する範囲の領域のみを切り出す。すると、部分画像選択部118は、図16(b)に例示する商品Aの部分的な画像を得る。このとき、図16(a)のように商品Aが他商品の下に一部隠れていた場合、商品Aの画像の中に他の商品が写りこむことがある。従って、部分画像選択部118は、図16(a)に例示する画像からでは、商品Aの正確な輪郭を認識できず、部分的な画像しか得られない場合がある。しかし、切り出された部分的な画像の中に、商品Aの特徴量が十分含まれていれば、検品処理において商品Aの照合処理を行うことができる。そこで、本実施形態では、部分画像選択部118が切り出した部分的な画像(部分画像)を商品Aの画像として、商品データ格納部117に登録する。
FIG. 16 is a second diagram illustrating the master registration process according to the second embodiment of the present invention.
The clipping process of the partial image selection unit 118 will be described with reference to FIG. The partial image selection unit 118 collates both images while performing image processing such as movement and rotation on the product image 41 and the product image 44, and searches for a positional relationship in which the feature amounts of both images overlap. Then, as shown in FIG. 16A, a positional relationship is found in which the areas where the product A is shown partially match. The partial image selection unit 118 cuts out only the region in the range where the feature amounts match from the image superimposed in the positional relationship such that the feature amounts exemplified in FIG. 16A match. Then, the partial image selection unit 118 obtains a partial image of the product A illustrated in FIG. At this time, as shown in FIG. 16A, when the product A is partially hidden under the other product, the other product may be reflected in the image of the product A. Accordingly, the partial image selection unit 118 may not be able to recognize the exact contour of the product A from the image illustrated in FIG. 16A, and may only obtain a partial image. However, if the feature amount of the product A is sufficiently included in the cut out partial image, the matching process of the product A can be performed in the inspection process. Therefore, in this embodiment, the partial image (partial image) cut out by the partial image selection unit 118 is registered in the product data storage unit 117 as an image of the product A.

次に図17を用いて本実施形態のマスタ登録処理について説明する。前提として、図4のステップS17にてNoの場合、目視検品画面(例えば、図14の検品確認画面と同様であってよい)において、入力受付部104は、作業員による検品商品とその検品商品が写った画像部分とを対応付ける操作を受け付ける。入力受付部104は、対応付けられた検品商品の識別情報と作業員が選択した画像部分の座標情報とを、制御判定部101へ出力する。制御判定部101は、これらの情報をメモリに記録する。また、ステップS20において、制御判定部101は、検品対象画像と、重量データと、検品データと、商品の識別情報と、作業員が選択した画像部分の座標情報とを対応付けて検品データ格納部116に記録する。
なお、表示情報出力部105Aが目視検品画面を出力する際、例えば、画像抽出部111が検品対象画像から商品の切り出し処理を行い、商品データ登録部109Aが、検品データに含まれる検品数量の合計と切り出された商品画像数とを比較して、両者の数量が一致しない場合、表示情報出力部105Aに「重ねて置かれた商品が存在するので、検品商品とその検品商品が写った画像部分を対応付ける操作を行ってください」等のメッセージを表示して、作業員に対応付け操作を促してもよい。
Next, master registration processing according to the present embodiment will be described with reference to FIG. As a premise, in the case of No in step S17 in FIG. 4, in the visual inspection screen (for example, the same as the inspection confirmation screen in FIG. 14), the input reception unit 104 checks the inspection product by the worker and the inspection product. An operation for associating an image portion with a mark is accepted. The input reception unit 104 outputs the identification information of the associated inspection product and the coordinate information of the image portion selected by the worker to the control determination unit 101. The control determination unit 101 records this information in the memory. In step S20, the control determination unit 101 associates the inspection target image, the weight data, the inspection data, the product identification information, and the coordinate information of the image portion selected by the worker with the inspection data storage unit. 116.
Note that when the display information output unit 105A outputs the visual inspection screen, for example, the image extraction unit 111 performs product cut-out processing from the inspection target image, and the product data registration unit 109A adds the total number of inspection items included in the inspection data. Is compared with the number of product images that are cut out, and if the quantity does not match, the display information output unit 105A indicates that “there is an overlaid product, so that the inspection product and the inspection product are shown. Please perform an operation for associating "with a message such as" Please perform an operation for associating ".

図17は、本発明の第二の実施形態による検品処理装置のマスタ登録処理の一例を示すフローチャートである。
図8と同様の処理については簡単に説明を行う。まず、商品データ登録部109Aが変数Nに1を設定する(ステップS31)。商品データ登録部109Aは、N回目に登録した検品データと検品対象画像・重量データを検品データ格納部116から読み出して取得する(ステップS32)。次に、商品データ登録部109Aは、N回目の検品データに目視による検品結果が1件でも含まれているかどうかを判定する(ステップS33)。N件目の検品データが目視による検品を含まない場合(ステップS33;No)ステップS37の判定にすすむ。目視による検品結果が含まれている場合(ステップS33;Yes)、画像抽出部111は、検品対象画像について商品画像の切り出しを行う(ステップS34)。次に特徴量計算部106は、切り出した各商品画像に対して特徴量を計算する(ステップS35)。商品データ登録部109Aは、画像抽出部111が切り出した商品画像、その商品画像の特徴量を取得する。次に商品データ登録部109Aは、切り出された商品画像の数とN回目の検品データに含まれる全検品商品の個数とが一致するかどうか判定する(ステップS351)。一致する場合(ステップS351;Yes)、ステップS36へ進む。
FIG. 17 is a flowchart showing an example of a master registration process of the inspection processing apparatus according to the second embodiment of the present invention.
A process similar to that of FIG. 8 will be briefly described. First, the product data registration unit 109A sets 1 to the variable N (step S31). The product data registration unit 109A reads and acquires the inspection data and the inspection object image / weight data registered for the Nth time from the inspection data storage unit 116 (step S32). Next, the product data registration unit 109A determines whether at least one inspection result by visual inspection is included in the N-th inspection data (step S33). When the N-th inspection data does not include visual inspection (step S33; No), the determination in step S37 is recommended. When a visual inspection result is included (step S33; Yes), the image extraction unit 111 cuts out a product image for the inspection target image (step S34). Next, the feature amount calculation unit 106 calculates a feature amount for each extracted product image (step S35). The product data registration unit 109A acquires the product image cut out by the image extraction unit 111 and the feature amount of the product image. Next, the product data registration unit 109A determines whether or not the number of the cut product images matches the number of all the inspection products included in the Nth inspection data (step S351). If they match (step S351; Yes), the process proceeds to step S36.

一致しない場合(ステップS351;No)、制御判定部101は、検品データ格納部116に記録された、商品の識別情報とその商品の画像部分の座標情報とを読み出して(ステップS352)、これらの情報を、商品データ登録部109Aへ出力する。次に商品データ登録部109Aでは部分画像選択部118が、部分画像を切り出す処理を行う(ステップS353)。具体的には、図16を用いて説明したように、部分画像選択部118が、同じ商品を含む複数の画像を、その画像が含む特徴量の分布が一致するように重ね合わせる画像処理を行う。そして、部分画像選択部118は、特徴量が一致する部分の範囲のみを切り出す(図16の例では商品A)。なお、商品Aのように重なって写った商品が複数種類ある場合、部分画像選択部118は、それら複数の種類の商品のそれぞれについて部分画像の切り出し処理を行う。また、部分画像選択部118は、切り出された画像以外の部分の画像(図15の例では、商品画像41の商品Cが写った部分、商品画像44の商品Bが写った部分)についても複数商品を含んだ商品画像からの切り出しを行う。ステップS353の処理では、部分画像選択部118は、商品Aの特徴量が含まれる2つの画像と、商品Aを切り出した後の商品Bの特徴量を含む画像1つと、商品Cの特徴量を含む画像1つとを得る。   If they do not match (step S351; No), the control determination unit 101 reads the product identification information and the coordinate information of the image portion of the product recorded in the inspection data storage unit 116 (step S352), and these The information is output to the product data registration unit 109A. Next, in the product data registration unit 109A, the partial image selection unit 118 performs a process of cutting out the partial image (step S353). Specifically, as described with reference to FIG. 16, the partial image selection unit 118 performs image processing to superimpose a plurality of images including the same product so that the distributions of the feature amounts included in the images match. . Then, the partial image selection unit 118 cuts out only the range of the parts having the same feature amount (product A in the example of FIG. 16). When there are a plurality of types of products such as the product A that are overlapped, the partial image selection unit 118 performs a partial image cut-out process for each of the plurality of types of products. In addition, the partial image selection unit 118 also includes a plurality of image portions other than the clipped image (in the example of FIG. 15, a portion where the product C of the product image 41 is shown and a portion where the product B of the product image 44 is shown). Cut out from the product image including the product. In the process of step S353, the partial image selection unit 118 determines two images including the feature amount of the product A, one image including the feature amount of the product B after the product A is cut out, and the feature amount of the product C. One image containing is obtained.

次に、商品重量計算部114は、N回目の検品データとそれに対応する重量データとを用いて、重量データと検品データの関係を数式化する(ステップS36)。次に、商品データ登録部109Aは、変数Nが記録済みの検品データの個数と等しいかどうかを判定する(ステップS37)。変数Nが記録済みの検品データの個数と等しくない場合(ステップS37;No)、商品データ登録部109Aは、変数Nに1を加算し(ステップS38)、ステップS32からの処理を繰り返す。変数Nが記録済みの検品データの個数と等しい場合(ステップS37;Yes)、画像分析部112は、画像抽出部111、部分画像選択部118による切り出し画像同士(一つの商品が写った商品画像と、複数の商品が写った商品画像から切り出した部分画像が含まれる)を照合する(ステップS39)。図15のような検品対象画像が得られた場合、画像分析部112は、画像抽出部111が切り出した商品Cの画像2つ、部分画像選択部118が切り出した商品Aの画像2つ、部分画像選択部118が切り出した残りの商品Bの画像1つと商品Cの画像1つ、及び、他の出荷伝票の検品対象画像から切り出された商品画像を用い、それらの中で互いに特徴量が一致する画像があるかどうか総当たりで照合処理を行う。次に、画像分析部112は、全ての切り出し画像のうち、一致する商品の画像があるかどうかを判定する(ステップS40)。一致する商品の画像が無い場合(ステップS40;No)、ステップS43の処理に進む。   Next, the product weight calculation unit 114 formulates the relationship between the weight data and the inspection data using the Nth inspection data and the corresponding weight data (step S36). Next, the product data registration unit 109A determines whether or not the variable N is equal to the number of recorded inspection data (step S37). When the variable N is not equal to the number of recorded inspection data (step S37; No), the product data registration unit 109A adds 1 to the variable N (step S38), and repeats the processing from step S32. When the variable N is equal to the number of recorded inspection data (step S37; Yes), the image analysis unit 112 extracts the images extracted by the image extraction unit 111 and the partial image selection unit 118 (a product image showing one product and , A partial image cut out from a product image showing a plurality of products is included) (step S39). When the inspection target image as shown in FIG. 15 is obtained, the image analysis unit 112 includes two images of the product C cut out by the image extraction unit 111, two images of the product A cut out by the partial image selection unit 118, and a portion. The image selection unit 118 uses one image of the remaining product B, one image of the product C, and product images cut out from the inspection target images of other shipping slips, and the feature amounts match among them. Check whether or not there is an image to be checked. Next, the image analysis unit 112 determines whether there is an image of a matching product among all the cut-out images (step S40). If there is no matching product image (step S40; No), the process proceeds to step S43.

一致する商品の画像がある場合(ステップS40;Yes)、画像分析部112は、照合を行った検品対象画像に含まれる商品画像および部分画像の種類別の数量を、検品対象画像別に算出する。次に商品特定部113は、特徴量が一致した画像の個数と検品データの検品数量が一致する商品があるかどうかを判定する(ステップS41)。一致する商品がある場合(ステップS41;Yes)、商品データ登録部109Aは、検品対象画像に含まれる商品画像等の数量と検品データに含まれる検品数量が一致した商品の商品画像や部分画像を、その商品と対応付けて商品データ格納部117に登録する(ステップS42)。このとき、登録する画像が部分画像であって、商品の輪郭が不明確な商品については、商品データ登録部109Aは、画像が不完全であることを示す情報と対応付けて登録する。なお、特徴量が一致した画像の個数と検品データの検品数量が一致する商品が無い場合(ステップS41;No)、ステップS43の処理に進む。   When there is a matching product image (step S40; Yes), the image analysis unit 112 calculates the number of product images and types of partial images included in the verified inspection target image for each inspection target image. Next, the product specifying unit 113 determines whether there is a product in which the number of images having the same feature amount matches the inspection quantity of the inspection data (step S41). When there is a matching product (step S41; Yes), the product data registration unit 109A displays a product image or partial image of a product in which the quantity of the product image included in the inspection target image and the inspection quantity included in the inspection data match. The product is registered in the product data storage unit 117 in association with the product (step S42). At this time, for a product for which the image to be registered is a partial image and the contour of the product is unclear, the product data registration unit 109A registers the product in association with information indicating that the image is incomplete. If there is no product in which the number of images having the same feature quantity matches the inspection quantity of the inspection data (step S41; No), the process proceeds to step S43.

次に、商品重量計算部114が、ステップS36で生成した全ての方程式を連立させて解く(ステップS43)。連立方程式の解がある場合(ステップS44;Yes)、商品データ登録部109Aは、商品重量計算部114が計算した単位重量を、商品と対応付けて商品データ格納部117に登録する(ステップS45)。連立方程式の解がない場合(ステップS44;No)、ステップS46に進む。
次に商品データ登録部109Aは、部分画像が登録された商品について、輪郭が含まれた画像が得られるかどうかを判定する(ステップS46)。部分画像が登録された商品とは、例えば上記の「出荷伝票4」の商品Aのような商品のことである。ここで、「出荷伝票4」の次に「出荷伝票5」の検品処理を行ったとする。その場合、商品データ登録部109Aは、出荷伝票5の検品データに含まれる商品について、商品データ格納部117を検索し、不完全な画像であることを示す情報と対応付けて登録されたマスタ画像が登録されているかどうかを確認する。例えば、「出荷伝票5」の検品データに商品Aが含まれていれば、商品データ登録部109Aは、商品データ格納部117を検索し、検品データに部分画像が登録された商品が含まれていると判定する。続いて、商品データ登録部109Aは、「出荷伝票5」の検品対象画像に商品Aの輪郭がわかる形態で写っているかどうか判定する。例えば、画像抽出部111が検品対象画像から全ての商品を切り出し、商品データ登録部109Aが切り出された商品画像数と検品データに含まれる検品数量の合計が一致するかどうかを判定する。一致する場合、画像分析部112が、画像抽出部111によって切り出された各画像のそれぞれと、商品データ格納部117に登録された商品Aの部分画像とを照合する。照合の結果、商品画像の中に、商品Aの部分画像と特徴量が一致する画像が見つかれば、その商品画像は商品Aの特徴量が含まれた商品Aの輪郭が分かる画像であると考えられる。この場合、商品データ登録部109Aは、輪郭が含まれた画像が得られると判定する。輪郭が含まれた画像が得られると判定した場合(ステップS46;Yes)、画像分析部112は輪郭が含まれた商品画像を、商品データ登録部109Aへ出力する。商品データ登録部109Aは、その商品画像で登録済みの商品Aの部分画像を更新する(ステップS47)。例えば、商品データ登録部109Aは、画像分析部112が照合の結果一致すると判定した商品Aの商品画像を、商品Aと対応付けて商品データ格納部117に登録する。また、登録済みの商品Aの部分画像と商品Aに対応付けられた不完全な画像であることを示す情報とを商品データ格納部117から削除する。輪郭が含まれた画像が得られないと判定した場合(ステップS46;No)、マスタ登録処理を終了する。
Next, the product weight calculation unit 114 solves all the equations generated in step S36 by simultaneous (step S43). When there is a solution of simultaneous equations (step S44; Yes), the product data registration unit 109A registers the unit weight calculated by the product weight calculation unit 114 in the product data storage unit 117 in association with the product (step S45). . When there is no solution of simultaneous equations (step S44; No), the process proceeds to step S46.
Next, the product data registration unit 109A determines whether or not an image including an outline is obtained for the product for which the partial image is registered (step S46). The product for which the partial image is registered is a product such as the product A of the “shipping slip 4” described above. Here, it is assumed that the inspection process of “shipping slip 5” is performed after “shipping slip 4”. In that case, the product data registration unit 109A searches the product data storage unit 117 for the product included in the inspection data of the shipping slip 5, and the master image registered in association with the information indicating that the product is an incomplete image. Check if is registered. For example, if the product A is included in the inspection data of the “shipping slip 5”, the product data registration unit 109A searches the product data storage unit 117, and the product in which the partial image is registered is included in the inspection data. It is determined that Subsequently, the product data registration unit 109A determines whether or not the inspection target image of the “shipping slip 5” shows the outline of the product A. For example, the image extraction unit 111 cuts out all products from the inspection target image, and the product data registration unit 109A determines whether the total number of product images extracted and the inspection quantity included in the inspection data match. If they match, the image analysis unit 112 compares each of the images cut out by the image extraction unit 111 with the partial image of the product A registered in the product data storage unit 117. As a result of the collation, if an image whose feature quantity matches the partial image of the product A is found in the product image, the product image is considered to be an image in which the outline of the product A including the feature quantity of the product A can be understood. It is done. In this case, the product data registration unit 109A determines that an image including a contour is obtained. When it is determined that an image including the contour is obtained (step S46; Yes), the image analysis unit 112 outputs the product image including the contour to the product data registration unit 109A. The product data registration unit 109A updates the partial image of the product A that has been registered with the product image (step S47). For example, the product data registration unit 109A registers the product image of the product A determined by the image analysis unit 112 as a result of the matching in the product data storage unit 117 in association with the product A. In addition, the registered partial image of the product A and information indicating that the image is an incomplete image associated with the product A are deleted from the product data storage unit 117. When it is determined that an image including a contour cannot be obtained (step S46; No), the master registration process is terminated.

本実施形態によれば、第一の実施形態の効果に加えて、商品同士が重なるように置かれた状況下においても、事前に画像をマスタ登録せずに、検品作業の流れの中で半自動的にマスタ画像を商品データ格納部117に登録することができる。また、検品作業を続ける中で、部分画像を登録した検品商品について、重なりのない状態で撮像された商品画像が検品対象画像に含まれる場合、マスタ画像をその商品画像に差し替える処理を行えば、他商品と重なった状態で登録されたマスタ画像を是正することができ、より照合の精度を高めることができる。   According to this embodiment, in addition to the effects of the first embodiment, even in the situation where the products are placed so as to overlap each other, the image is not registered in advance as a master, but semi-automatically in the inspection work flow In particular, the master image can be registered in the product data storage unit 117. In addition, while continuing the inspection work, for the inspection product in which the partial image is registered, if the inspection target image includes a product image captured in a state where there is no overlap, a process of replacing the master image with the product image, The master image registered in a state where it overlaps with other products can be corrected, and the accuracy of verification can be further improved.

<第三の実施形態>
以下、本発明の第三の実施形態による検品処理の一例を、図18を参照して説明する。
第三の実施形態では、商品の画像が商品データ格納部117に登録されていない場合、作業員の指さし確認操作によって、その商品の商品画像を商品データ格納部117に登録することができる。指さし確認操作とは、検品商品とその商品が写った画像部分を対応付ける操作である。第三の実施形態の構成は、例えば、第二実施形態の検品処理装置100Aと同様である。次に図18を用いて、本実施形態の検品処理および商品画像の登録処理について説明する。
<Third embodiment>
Hereinafter, an example of inspection processing according to the third embodiment of the present invention will be described with reference to FIG.
In the third embodiment, when an image of a product is not registered in the product data storage unit 117, the product image of the product can be registered in the product data storage unit 117 by an operator's pointing confirmation operation. The pointing confirmation operation is an operation for associating an inspection product with an image portion showing the product. The configuration of the third embodiment is the same as that of the inspection processing apparatus 100A of the second embodiment, for example. Next, an inspection process and a product image registration process according to the present embodiment will be described with reference to FIG.

図18は、本発明の第三の実施形態による検品処理装置を用いた検品処理の一例を示すフローチャートである。
図19は、本発明の第三の実施形態による検品確認画面の一例を示す図である。
第一実施形態の図4と同様の処理については簡単に説明する。
前提として検品データが検品処理装置100Aに入力されたとする。すると、目標総重量計算部108は、検品データに含まれる検品商品の単位重量、検品数量を用いて目標総重量を計算する(ステップS11)。次に、作業員は、検品対象商品600を重量計測器300に置く。すると、重量計測器300が重量を測定し、重量取得部102は、重量データを取得する(ステップS12)。次に撮像装置200が検品対象商品600の検品対象画像を撮像し、商品画像取得部103がその検品対象画像を取得する(ステップS13)。次に特徴量計算部106は、検品対象画像の特徴量を計算する(ステップS14)。次に照合部115は、商品データ格納部117に登録されたマスタ画像を用いて検品対象画像に検品商品が写っているかどうかを検索する(ステップS15)。次に表示情報出力部105Aは、図19で例示する検品確認画面の画像を生成し、表示装置400に表示する(ステップS16)。
FIG. 18 is a flowchart showing an example of inspection processing using the inspection processing apparatus according to the third embodiment of the present invention.
FIG. 19 is a diagram showing an example of an inspection confirmation screen according to the third embodiment of the present invention.
Processing similar to that of FIG. 4 of the first embodiment will be briefly described.
Assuming that inspection data is input to the inspection processing apparatus 100A. Then, the target total weight calculation unit 108 calculates the target total weight using the unit weight and the inspection quantity of the inspection product included in the inspection data (Step S11). Next, the worker places the inspection target product 600 on the weight measuring device 300. Then, the weight measuring device 300 measures the weight, and the weight acquisition unit 102 acquires weight data (step S12). Next, the imaging device 200 captures an inspection target image of the inspection target product 600, and the product image acquisition unit 103 acquires the inspection target image (step S13). Next, the feature amount calculation unit 106 calculates the feature amount of the inspection target image (step S14). Next, the collation unit 115 searches for an inspection product in the inspection target image using the master image registered in the product data storage unit 117 (step S15). Next, the display information output unit 105A generates an image of the inspection confirmation screen illustrated in FIG. 19 and displays it on the display device 400 (step S16).

次に作業員は、商品を全て特定できたかどうかを確認する(ステップS17)。例えば、特定できなかった場合(ステップS17;No)、表示情報出力部105Aは目視確認画面(例えば、図19で例示する検品確認画面と同様であってよい)を表示する(ステップS18)。作業員は、目視確認画面上で、目視による検品が完了するまで重量計測器300に載せる商品の調整を行う。検品データに含まれる検品商品を過不足なく重量計測器300に置くと、作業員は、未登録商品の登録操作を行う。目視確認画面が図19で例示する画面と同様であるとして登録操作の説明を行う。まず、作業員は、検品商品とその検品商品が写った画像部分を対応付ける操作を行う。例えば、作業員は、検品データ表示欄61の1行目を選択する操作を行い、さらに、検品対象画像表示欄62の商品Aが写った部分2箇所を選択する操作を行う。そして、作業員は、指さし確認ボタン66を押下する。作業員は、商品B、商品Cについても同様の操作を行う。入力受付部104は、作業員による検品商品とその検品商品が写った画像部分を対応付ける操作を受け付ける(ステップS22)。入力受付部104は、対応付けられた検品商品の識別情報と作業員が選択した画像部分の座標情報を、制御判定部101を介して、商品データ登録部109Aへ出力する。次に商品データ登録部109Aが、商品の画像を商品データ格納部117に登録する(ステップS23)。具体的には、画像抽出部111が検品対象画像から各商品画像を切り出す処理を行い、商品データ登録部109Aが、切り出された商品画像のうち、作業員が選択した部分の座標情報を含む商品画像を、作業員がその商品画像に対応付けた検品商品と対応付けて商品データ格納部117に登録する。これにより、検品終了となる。   Next, the worker checks whether or not all the products have been specified (step S17). For example, when it cannot be specified (step S17; No), the display information output unit 105A displays a visual confirmation screen (for example, the same as the inspection confirmation screen illustrated in FIG. 19) (step S18). The worker adjusts the product placed on the weight measuring device 300 on the visual confirmation screen until the visual inspection is completed. When inspection products included in the inspection data are placed on the weight measuring device 300 without excess or deficiency, the worker performs an operation for registering unregistered products. The registration operation will be described on the assumption that the visual confirmation screen is the same as the screen illustrated in FIG. First, the worker performs an operation of associating an inspection product with an image portion showing the inspection product. For example, the worker performs an operation of selecting the first line of the inspection data display column 61, and further performs an operation of selecting two portions where the product A in the inspection target image display column 62 is reflected. The worker then presses the pointing confirmation button 66. The worker performs the same operation for the products B and C. The input receiving unit 104 receives an operation for associating an inspection product with an image portion showing the inspection product by the worker (step S22). The input receiving unit 104 outputs the identification information of the associated inspection product and the coordinate information of the image portion selected by the worker to the product data registration unit 109A via the control determination unit 101. Next, the product data registration unit 109A registers the product image in the product data storage unit 117 (step S23). Specifically, the image extraction unit 111 performs a process of cutting out each product image from the inspection target image, and the product data registration unit 109A includes the coordinate information of the portion selected by the worker from the cut out product image. The image is registered in the product data storage unit 117 in association with the inspection product associated with the product image by the worker. As a result, the inspection ends.

一方、商品が特定できている場合(ステップS17;Yes)、作業員は、総重量誤差は許容範囲内かどうか確認する(ステップS19)。許容範囲内ではなかった場合(ステップS19;No)、作業員は、商品の過不足を調整する。作業員の調整作業により総重量誤差が許容範囲内となると(ステップS19)、検品終了となる。検品終了となると、制御判定部101は、検品対象画像と、重量データと、検品データとを対応付けて検品データ格納部116に記録する(ステップS20)。次に検品処理装置100は、マスタ登録処理を行う(ステップS24)。本実施形態のマスタ処理においては、マスタ画像の登録処理は、作業員の操作によって完了しているので、商品重量計算部114が単位重量の算出を行い、商品データ登録部109Aが商品ごとの単位重量を商品データ格納部117に登録する。   On the other hand, when the product can be specified (step S17; Yes), the worker checks whether the total weight error is within an allowable range (step S19). When it is not within the allowable range (step S19; No), the worker adjusts the excess or deficiency of the product. When the total weight error falls within the allowable range due to the adjustment work by the worker (step S19), the inspection is finished. When the inspection ends, the control determination unit 101 records the inspection target image, the weight data, and the inspection data in association with each other in the inspection data storage unit 116 (step S20). Next, the inspection processing apparatus 100 performs a master registration process (step S24). In the master process of the present embodiment, the master image registration process is completed by the operator's operation, so the product weight calculation unit 114 calculates the unit weight, and the product data registration unit 109A performs the unit for each product. The weight is registered in the product data storage unit 117.

本実施形態によれば、マスタ画像が商品データ格納部117に登録されていない検品商品が存在する場合、作業員は、検品作業中に当該検品商品とその検品商品の画像とを対応付ける操作を行うだけでマスタ画像の登録を行うことができる。これによって、マスタ画像の事前登録が不要となり手間を省くことができる。また、目視確認画面において、作業員が、検品対象画像に写る各商品画像と検品データに含まれる検品商品とを指さし確認することによって、検品作業における誤りを低減する効果が期待できる。   According to the present embodiment, when there is an inspection product whose master image is not registered in the product data storage unit 117, the worker performs an operation of associating the inspection product with the image of the inspection product during the inspection work. The master image can be registered only by this. This eliminates the need for pre-registration of the master image and saves labor. In addition, the operator can expect an effect of reducing errors in the inspection work by pointing and checking each product image shown in the inspection target image and the inspection product included in the inspection data on the visual confirmation screen.

<変形例>
なお、第一の実施形態における商品データ登録部109、第二の実施形態における商品データ登録部109Aは、独立した装置として構成し、商品マスタ登録装置として用いることができる。
図20は、本発明に係る商品マスタ登録装置の構成の一例を示すブロック図である。
図20に示すように、商品マスタ登録装置150は、制御判定部101と、入力受付部104と、商品データ登録部109とを備えている。
商品マスタ登録装置150では、入力受付部104は、複数の検品データと、それらの検品データに対する検品済みの検品対象画像および重量データとを取得する。商品データ登録部109は、例えば、作業員のマスタ登録指示操作などに基づいて、入力受付部104が取得したデータを用いて、図8で説明した処理によって、検品データに含まれる商品のマスタ画像、単位重量を求め、それらの情報を商品マスタ151に登録する。商品マスタ登録装置150によれば、検品作業で得られた検品データ、検品対象画像、重量データを利用して、商品マスタ151へのマスタ画像等の登録を行うことができる。
<Modification>
The product data registration unit 109 in the first embodiment and the product data registration unit 109A in the second embodiment can be configured as independent devices and used as a product master registration device.
FIG. 20 is a block diagram showing an example of the configuration of the product master registration apparatus according to the present invention.
As illustrated in FIG. 20, the product master registration device 150 includes a control determination unit 101, an input reception unit 104, and a product data registration unit 109.
In the merchandise master registration apparatus 150, the input receiving unit 104 acquires a plurality of inspection data, and inspection target images and weight data that have already been inspected for the inspection data. For example, the product data registration unit 109 uses the data acquired by the input reception unit 104 based on an operator's master registration instruction operation or the like and performs the process described with reference to FIG. 8 to obtain a master image of the product included in the inspection data. The unit weight is obtained and the information is registered in the product master 151. According to the product master registration device 150, it is possible to register a master image or the like in the product master 151 using the inspection data, the inspection target image, and the weight data obtained in the inspection work.

図21は、本発明の検品処理装置および商品データ登録装置のハードウェア構成の一例を示すブロック図である。
図21に示す通り、検品処理装置100、100Aは、CPU901と、メモリ902と、ハードディスク等の記憶装置903と、ネットワーク接続用の通信IF904(通信インターフェース)とを含む、コンピュータ装置によって実現される。ただし、検品処理装置100、100Aの構成は、図21に示すコンピュータ装置に限定されない。例えば、検品処理装置100、100Aは、通信IF904を介して外部に画像または重量データを送信し、外部で検品対象の商品の照合を行い、その結果を受信してもよい。商品マスタ登録装置150についても同様である。
FIG. 21 is a block diagram illustrating an example of a hardware configuration of the inspection processing apparatus and the commodity data registration apparatus according to the present invention.
As shown in FIG. 21, the inspection processing apparatuses 100 and 100A are realized by a computer apparatus including a CPU 901, a memory 902, a storage device 903 such as a hard disk, and a communication IF 904 (communication interface) for network connection. However, the configuration of the inspection processing apparatuses 100 and 100A is not limited to the computer apparatus shown in FIG. For example, the inspection processing apparatuses 100 and 100A may transmit images or weight data to the outside via the communication IF 904, collate products to be inspected outside, and receive the results. The same applies to the product master registration device 150.

なお、本実施形態において利用するブロック図は、ハードウェア単位の構成ではなく、機能単位のブロックを示している。これらの機能ブロックはハードウェアおよびソフトウェアの任意の組み合わせによって実現される。また、検品処理装置100、100A、商品マスタ登録装置150は、物理的に結合した一つの装置により実現されてもよいし、物理的に分離した二つ以上の装置を有線または無線で接続し、これら複数の装置により実現されてもよい。   Note that the block diagram used in the present embodiment shows functional unit blocks, not hardware unit configurations. These functional blocks are realized by any combination of hardware and software. Further, the inspection processing devices 100 and 100A and the product master registration device 150 may be realized by one physically coupled device, or two or more physically separated devices are connected by wire or wirelessly, You may implement | achieve by these several apparatuses.

なお、上述の検品処理装置100、100A、商品マスタ登録装置150は内部にコンピュータを有している。そして、上述した検品処理装置100、100A、商品マスタ登録装置150の各処理の過程は、プログラムの形式でコンピュータ読み取り可能な記録媒体に記憶されており、このプログラムをコンピュータが読み出して実行することによって、上記処理が行われる。ここでコンピュータ読み取り可能な記録媒体とは、磁気ディスク、光磁気ディスク、CD−ROM、DVD−ROM、半導体メモリ等をいう。また、このコンピュータプログラムを通信回線によってコンピュータに配信し、この配信を受けたコンピュータが当該プログラムを実行するようにしてもよい。   The inspection processing apparatuses 100 and 100A and the commodity master registration apparatus 150 described above have a computer inside. The processes of the inspection processing devices 100 and 100A and the product master registration device 150 described above are stored in a computer-readable recording medium in the form of a program, and the computer reads and executes the program. The above processing is performed. Here, the computer-readable recording medium means a magnetic disk, a magneto-optical disk, a CD-ROM, a DVD-ROM, a semiconductor memory, or the like. Alternatively, the computer program may be distributed to the computer via a communication line, and the computer that has received the distribution may execute the program.

また、上記プログラムは、前述した機能の一部を実現するためのものであってもよい。さらに、前述した機能をコンピュータシステムにすでに記録されているプログラムとの組み合わせで実現できるもの、いわゆる差分ファイル(差分プログラム)であってもよい。   The program may be for realizing a part of the functions described above. Furthermore, what can implement | achieve the function mentioned above in combination with the program already recorded on the computer system, what is called a difference file (difference program) may be sufficient.

その他、本発明の趣旨を逸脱しない範囲で、上記した実施の形態における構成要素を周知の構成要素に置き換えることは適宜可能である。また、この発明の技術範囲は上記の実施形態に限られるものではなく、本発明の趣旨を逸脱しない範囲において種々の変更を加えることが可能である。   In addition, it is possible to appropriately replace the components in the above-described embodiments with known components without departing from the spirit of the present invention. The technical scope of the present invention is not limited to the above-described embodiment, and various modifications can be made without departing from the spirit of the present invention.

1・・・検品システム
100・・・検品処理装置
101・・・制御判定部
102・・・重量取得部
103・・・商品画像取得部
104・・・入力受付部
105、105A・・・表示情報出力部
106・・・特徴量計算部
107・・・検品データ保存部
108・・・目標総重量計算部
109・・・商品データ登録部
110・・・商品画像決定部
111・・・画像抽出部
112・・・画像分析部
113・・・商品特定部
114・・・商品重量計算部
115・・・照合部
116・・・検品データ格納部
117・・・商品データ格納部
118・・・部分画像選択部
150・・・商品マスタ登録装置
151・・・商品マスタ
200・・・撮像装置
300・・・重量計測器
301・・・土台
302・・・支柱
400・・・表示装置
500・・・入力装置
600・・・検品対象商品
901・・・CPU
902・・・メモリ
903・・・記憶装置
904・・・通信IF
DESCRIPTION OF SYMBOLS 1 ... Inspection system 100 ... Inspection processing apparatus 101 ... Control determination part 102 ... Weight acquisition part 103 ... Product image acquisition part 104 ... Input reception part 105, 105A ... Display information Output unit 106 ... feature value calculation unit 107 ... inspection data storage unit 108 ... target total weight calculation unit 109 ... product data registration unit 110 ... product image determination unit 111 ... image extraction unit 112 ... Image analysis unit 113 ... Product identification unit 114 ... Product weight calculation unit 115 ... Verification unit 116 ... Inspection data storage unit 117 ... Product data storage unit 118 ... Partial image Selection unit 150 ... merchandise master registration device 151 ... merchandise master 200 ... imaging device 300 ... weight measuring device 301 ... base 302 ... support column 400 ... display device 500 ... input Device 6 0 ... inspection target items 901 ··· CPU
902 ... Memory 903 ... Storage device 904 ... Communication IF

Claims (12)

検品商品と検品数量とを含む検品データと、当該検品データに含まれる検品商品および検品数量と一致する商品群を撮像した検品対象画像に基づいて、前記検品商品ごとの画像を特定する商品画像決定部と、
前記商品画像決定部が特定した画像を記憶部に登録する商品データ登録部と、
前記記憶部が記憶する画像に基づいて、新たな検品データに対応する検品対象画像に含まれる商品を特定する照合部と、
を備える検品処理装置。
Product image determination that identifies an image for each inspection product based on inspection data including the inspection product and the inspection quantity, and an inspection target image obtained by imaging a product group that matches the inspection product and the inspection quantity included in the inspection data And
A product data registration unit for registering the image specified by the product image determination unit in a storage unit;
Based on the image stored in the storage unit, a collation unit that identifies a product included in an inspection target image corresponding to new inspection data;
Inspection processing apparatus comprising:
前記商品画像決定部は、
前記検品対象画像から前記検品商品の画像の候補となる一まとまりの画像を切り出す画像抽出部と、
前記切り出した画像を互いに照合し、それらの画像の種類別の数量を算出する画像分析部と、
前記画像の種類別の数量と、前記検品データに含まれる検品商品ごとの検品数量とを比較して、前記画像の各々が示す検品商品を特定する商品特定部と、
を備える請求項1に記載の検品処理装置。
The product image determination unit
An image extraction unit that cuts out a group of images that are candidates for the image of the inspection product from the inspection target image;
An image analysis unit that collates the cut-out images with each other and calculates a quantity for each type of the images;
Compared with the quantity for each type of image and the inspection quantity for each inspection product included in the inspection data, a product specifying unit for specifying the inspection product indicated by each of the images,
The inspection processing apparatus according to claim 1, comprising:
前記商品画像決定部は、
一つ又は複数の前記検品データと、各々の検品データに対する検品処理において得られた当該検品データに含まれる検品商品および検品数量に一致する検品対象画像と、に基づいて、前記一つ又は複数の検品データに含まれる検品商品ごとの画像を特定する、
請求項1または請求項2に記載の検品処理装置。
The product image determination unit
Based on one or a plurality of the inspection data and an inspection target image matching the inspection product and the inspection quantity included in the inspection data obtained in the inspection processing for each inspection data, the one or more inspection data Identify images for each inspection product included in the inspection data.
The inspection processing apparatus according to claim 1 or 2.
前記検品データに基づく前記検品商品の単位重量および検品数量と、前記商品群の重量を測定した重量データとの関係を示す方程式に基づいて、前記検品商品の単位重量を算出する商品重量計算部、
をさらに備える請求項1から請求項3の何れか1項に記載の検品処理装置。
A product weight calculator for calculating a unit weight of the inspection product based on an equation indicating a relationship between a unit weight and an inspection quantity of the inspection product based on the inspection data and a weight data obtained by measuring a weight of the product group;
The inspection processing apparatus according to any one of claims 1 to 3, further comprising:
前記商品重量計算部は、
一つ又は複数の前記検品データと、各々の検品データに対する検品処理において得られた当該検品データに含まれる検品商品および検品数量に一致する前記商品群の重量データとに基づいて、前記一つ又は複数の検品データに含まれる検品商品ごとの単位重量を算出する、
請求項4に記載の検品処理装置。
The product weight calculator
Based on one or a plurality of the inspection data and the weight data of the product group that matches the inspection product and the inspection quantity included in the inspection data obtained in the inspection processing for each inspection data, Calculate the unit weight for each inspection product included in multiple inspection data.
The inspection processing apparatus according to claim 4.
前記検品対象画像において、切り出された一まとまりの画像の数が、前記検品データに含まれる検品数量の合計に比べ小さい場合、前記検品データに含まれる検品商品とその検品商品が写った画像の部分とを対応付ける操作に基づいて、前記一まとまりの画像のうち複数の前記検品商品を含む画像であって、前記検品商品のうちの一つの検品商品を含む画像と、当該一つの検品商品を含む他の一まとまりの画像とを照合し、照合の結果、特徴量が一致する範囲の画像を、当該一つの検品商品の部分画像として選択する部分画像選択部、
をさらに備え、
前記商品データ登録部は、前記部分画像選択部が選択した部分画像を、前記一つの検品商品および当該画像が不完全であることを示す情報と対応付けて登録する、
をさらに備える請求項1から請求項5の何れか1項に記載の検品処理装置。
In the inspection object image, when the number of cut out images is smaller than the total inspection quantity included in the inspection data, the inspection product included in the inspection data and the portion of the image showing the inspection product And an image including a plurality of inspection products among the group of images, and an image including one inspection product among the inspection products, and the other including the one inspection product. A partial image selection unit that collates with a group of images and selects, as a result of the collation, an image in a range where the feature amounts match as a partial image of the one inspection product,
Further comprising
The product data registration unit registers the partial image selected by the partial image selection unit in association with the one inspection product and information indicating that the image is incomplete,
The inspection processing apparatus according to any one of claims 1 to 5, further comprising:
前記商品データ登録部は、前記一つの検品商品について、前記一つの検品商品の輪郭が切り出せた一まとまりの画像が得られた場合、その画像を、前記部分画像の代わりに登録する、
請求項6に記載の検品処理装置。
The product data registration unit registers the image instead of the partial image when the batch of images obtained by cutting out the outline of the one inspection product is obtained for the one inspection product.
The inspection processing apparatus according to claim 6.
前記商品データ登録部は、
前記検品データに含まれる検品商品と前記検品対象画像における当該検品商品が写った部分とを対応付ける操作に基づいて、前記検品対象画像から切り出された一まとまりの画像を、前記操作によって対応付けられた検品商品の画像として前記記憶部に登録する、
請求項1から請求項7の何れか1項に記載の検品処理装置。
The product data registration unit
Based on the operation of associating the inspection product included in the inspection data with the portion of the inspection target image in which the inspection product is reflected, a group of images cut out from the inspection target image are associated by the operation. Register as an image of the inspection product in the storage unit,
The inspection processing apparatus according to any one of claims 1 to 7.
検品データに含まれる検品商品および検品数量と一致する商品群を撮像する撮像装置と、
前記商品群の重量を測定する重量計測器と、
前記撮像装置が撮像した検品対象画像と、前記重量計測器が測定した重量を取得する請求項1から請求項8の何れか1項に記載の検品処理装置と、
を備えることを特徴とする検品システム。
An imaging device for imaging a product group that matches the inspection product and the inspection quantity included in the inspection data;
A weight measuring instrument for measuring the weight of the product group;
The inspection processing apparatus according to any one of claims 1 to 8, wherein the inspection target image captured by the imaging apparatus and the weight measured by the weight measuring device are acquired.
An inspection system comprising:
検品商品と検品数量とを含む検品データと、当該検品データに含まれる検品商品および検品数量と一致する商品群を撮像した検品対象画像に基づいて、前記検品商品ごとの画像を特定する商品画像決定部と、
前記商品画像決定部が特定した画像を商品マスタに登録する商品データ登録部と、
を備える商品マスタ登録装置。
Product image determination that identifies an image for each inspection product based on inspection data including the inspection product and the inspection quantity, and an inspection target image obtained by imaging a product group that matches the inspection product and the inspection quantity included in the inspection data And
A product data registration unit for registering the image specified by the product image determination unit in a product master;
A product master registration device comprising:
検品処理装置が、
検品商品と検品数量とを含む検品データと、当該検品データに含まれる検品商品および検品数量と一致する商品群を撮像した検品対象画像に基づいて、前記検品商品ごとの画像を特定し、
前記特定した画像を記憶部に登録し、
前記記憶部が記憶する画像に基づいて、新たな検品データに対応する検品対象画像に含まれる商品を特定する、
検品処理方法。
Inspection processing equipment
Based on the inspection data including the inspection product and the inspection quantity, and the inspection target image obtained by imaging the inspection commodity included in the inspection data and the product group that matches the inspection quantity, the image for each inspection product is identified,
Register the identified image in the storage unit,
Based on the image stored in the storage unit, the product included in the inspection target image corresponding to the new inspection data is specified.
Inspection processing method.
検品処理装置のコンピュータを、
検品商品と検品数量とを含む検品データと、当該検品データに含まれる検品商品および検品数量と一致する商品群を撮像した検品対象画像に基づいて、前記検品商品ごとの画像を特定する手段、
前記特定した画像を記憶部に登録する手段、
前記記憶部が記憶する画像に基づいて、新たな検品データに対応する検品対象画像に含まれる商品を特定する手段、
として機能させるためのプログラム。
Computer of inspection processing equipment,
Means for specifying an image for each inspection product based on inspection data including the inspection data including the inspection product and the inspection quantity, and the inspection product included in the inspection data and the product group matching the inspection quantity;
Means for registering the identified image in a storage unit;
Means for specifying a product included in an inspection target image corresponding to new inspection data based on the image stored in the storage unit;
Program to function as.
JP2016069899A 2016-03-31 2016-03-31 Inspection processing device, inspection system, product master registration device, inspection processing method and program Active JP6724484B2 (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
JP2016069899A JP6724484B2 (en) 2016-03-31 2016-03-31 Inspection processing device, inspection system, product master registration device, inspection processing method and program
SG11201807007PA SG11201807007PA (en) 2016-03-31 2017-03-24 Inspection processing device, inspection system, commodity master registration device, inspection processing method, and program
PCT/JP2017/012121 WO2017170260A1 (en) 2016-03-31 2017-03-24 Inspection processing device, inspection system, commodity master registration device, inspection processing method, and program
TW106110272A TWI770015B (en) 2016-03-31 2017-03-28 Inspection processing device, inspection system, item master registration device, inspection processing method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016069899A JP6724484B2 (en) 2016-03-31 2016-03-31 Inspection processing device, inspection system, product master registration device, inspection processing method and program

Publications (2)

Publication Number Publication Date
JP2017178574A true JP2017178574A (en) 2017-10-05
JP6724484B2 JP6724484B2 (en) 2020-07-15

Family

ID=59964579

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016069899A Active JP6724484B2 (en) 2016-03-31 2016-03-31 Inspection processing device, inspection system, product master registration device, inspection processing method and program

Country Status (4)

Country Link
JP (1) JP6724484B2 (en)
SG (1) SG11201807007PA (en)
TW (1) TWI770015B (en)
WO (1) WO2017170260A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019181441A1 (en) * 2018-03-20 2019-09-26 日本電気株式会社 Information processing device, control method, program
JP2022084807A (en) * 2017-11-02 2022-06-07 株式会社オービック Calculation processing apparatus, calculation processing method, and calculation processing program
JP7388871B2 (en) 2019-10-18 2023-11-29 株式会社キッツ Judgment device, judgment method and judgment program

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110443553B (en) * 2019-08-15 2022-08-23 深圳市海思睿科技有限公司 Unattended article management method based on article storage box

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0891543A (en) * 1994-09-28 1996-04-09 Omron Corp Image processing method, and device therefor
JP2004318488A (en) * 2003-04-16 2004-11-11 Konica Minolta Photo Imaging Inc Product inspection method and product inspection device
JP2011039872A (en) * 2009-08-13 2011-02-24 Komatsu Denshi Kk Device and method for counting article

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8131055B2 (en) * 2008-01-31 2012-03-06 Caterpillar Inc. System and method for assembly inspection
BRPI0800754A2 (en) * 2008-03-25 2020-09-24 Sicpa Holding S.A. PRODUCTION CONTROL SYSTEM INTEGRATED BY IMAGE PROCESSING AND AUTOMATED CODING
CN103901489B (en) * 2012-12-27 2017-07-21 清华大学 Check method, display methods and the equipment of object

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0891543A (en) * 1994-09-28 1996-04-09 Omron Corp Image processing method, and device therefor
JP2004318488A (en) * 2003-04-16 2004-11-11 Konica Minolta Photo Imaging Inc Product inspection method and product inspection device
JP2011039872A (en) * 2009-08-13 2011-02-24 Komatsu Denshi Kk Device and method for counting article

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2022084807A (en) * 2017-11-02 2022-06-07 株式会社オービック Calculation processing apparatus, calculation processing method, and calculation processing program
JP7291264B2 (en) 2017-11-02 2023-06-14 株式会社オービック Computational processing device, computational processing method and computational processing program
WO2019181441A1 (en) * 2018-03-20 2019-09-26 日本電気株式会社 Information processing device, control method, program
JPWO2019181441A1 (en) * 2018-03-20 2021-03-18 日本電気株式会社 Information processing device and control method
JP7067812B2 (en) 2018-03-20 2022-05-16 日本電気株式会社 Information processing device and control method
US11966435B2 (en) 2018-03-20 2024-04-23 Nec Corporation Information processing apparatus, control method, and program
JP7388871B2 (en) 2019-10-18 2023-11-29 株式会社キッツ Judgment device, judgment method and judgment program

Also Published As

Publication number Publication date
SG11201807007PA (en) 2018-09-27
WO2017170260A1 (en) 2017-10-05
TW201804381A (en) 2018-02-01
TWI770015B (en) 2022-07-11
JP6724484B2 (en) 2020-07-15

Similar Documents

Publication Publication Date Title
WO2017170260A1 (en) Inspection processing device, inspection system, commodity master registration device, inspection processing method, and program
JP6679891B2 (en) Inspection processing device, inspection system, inspection processing method and program
JP2019055828A (en) Shelf information estimation device and information processing program
JP5522065B2 (en) Board inspection system
WO2014030399A1 (en) Object discrimination device, object discrimination method, and program
EP2584527B1 (en) Three dimensional measurement apparatus, control method and program therefor
JP6278276B2 (en) Object identification device, object identification method, and program
WO2016158438A1 (en) Inspection processing apparatus, method, and program
JP6458239B1 (en) Image recognition system
JP5888358B2 (en) Inspection processing apparatus, inspection system, inspection processing method and program
JP6052448B2 (en) Inspection processing apparatus, inspection system, inspection processing method and program
JP6651169B2 (en) Display status judgment system
JP6769554B2 (en) Object identification device, object identification method, computing device, system and recording medium
CN111164622B (en) Work analysis device and work analysis method
CN111832381B (en) Object information registration device and object information registration method
CN104637781A (en) Method of generating process for positioning wafer on processing machine table
US9045283B2 (en) Object information management system and program
US20060028465A1 (en) Contact definition device, contact definition program, and contact definition method
JP6582875B2 (en) Inspection processing apparatus, inspection system, inspection processing method and program
US11462004B2 (en) Object identification device, object identification method, calculation device, system, and recording medium
JP6981495B2 (en) Inspection processing equipment
JP2016018403A (en) Image processing device, image processing system, image processing method, and image processing program
JP2015141696A (en) Provided commodity confirmation system, provided commodity confirmation method, and provided commodity confirmation program
JP2020057298A (en) Determination device, determination method, and determination program
JP6941331B2 (en) Image recognition system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20190207

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20200526

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20200608

R150 Certificate of patent or registration of utility model

Ref document number: 6724484

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150