JP6724484B2 - Inspection processing device, inspection system, product master registration device, inspection processing method and program - Google Patents

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

Info

Publication number
JP6724484B2
JP6724484B2 JP2016069899A JP2016069899A JP6724484B2 JP 6724484 B2 JP6724484 B2 JP 6724484B2 JP 2016069899 A JP2016069899 A JP 2016069899A JP 2016069899 A JP2016069899 A JP 2016069899A JP 6724484 B2 JP6724484 B2 JP 6724484B2
Authority
JP
Japan
Prior art keywords
inspection
product
image
unit
data
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.)
Active
Application number
JP2016069899A
Other languages
Japanese (ja)
Other versions
JP2017178574A (en
Inventor
康 日高
康 日高
克彦 近藤
克彦 近藤
友宏 小南
友宏 小南
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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

Description

本発明は、検品処理装置、検品システム、商品マスタ登録装置、検品処理方法及びプログラムに関する。 The present invention relates to an inspection processing device, an inspection system, a product master registration device, 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 wholesale businesses, before shipping the products, comparing the shipping slips and checking whether the products to be shipped are the products described in the shipping slips There is. This work is called inspection work. Among the inspection work, there is also an inspection work for collectively inspecting a plurality of the same products such as “100 copies of the same catalog” and “60 copies of the same box”. In the case of such inspection work, there is a technology for identifying the product by capturing an image of the surface of the product placed on the top of the product bundle with a camera and comparing it with a master image of the product registered in advance. .. Further, there is a technique of calculating the unit weight of the product from the weight measurement value and the inspection quantity of the product to be inspected and specifying the product from the image of the product and the unit weight (for example, Patent Document 1).

特開2015−182825号公報JP, 2005-182825, A

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

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

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

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

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

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

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

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

本発明の第一の実施形態による検品処理装置の最小構成を示すブロック図である。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 showing an example of composition of an inspection processing device by a first embodiment of the present invention. 本発明の第一の実施形態による検品システムの一例を示す図である。It is a figure which shows an example of the inspection system by 1st embodiment of this invention. 本発明の第一の実施形態による検品処理装置を用いた検品処理の一例を示すフローチャートである。It is a flow chart which shows an example of inspection processing using an inspection processing device by a first embodiment of the present 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 flow chart which shows an example of master registration processing of an inspection processing device by a first embodiment of the present 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 processing 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 flow chart which shows an example of master registration processing of an inspection processing device by a second embodiment of the present 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 showing an example of composition of a goods data registration device concerning the present invention. 本発明の検品処理装置および商品データ登録装置のハードウェア構成の一例を示すブロック図である。It is a block diagram showing an example of hardware constitutions of an inspection processing device and a goods data registration device of the present invention.

<第一の実施形態>
以下、本発明の一実施形態による検品処理装置を図1〜図12を参照して説明する。
図1は第一の実施形態による検品処理装置の最小構成を示す図である。
図1に示す通り、検品処理装置100は、商品データ登録部109と、商品画像決定部110と、照合部115と、を少なくとも備えている。検品処理装置100は、例えばCPU(Central Processing Unit)を備えたコンピュータである。
商品画像決定部110は、検品すべき対象である商品(検品商品)の識別情報とその商品について検品すべき数量(検品数量)とを含む検品データ(伝票データ)と、当該検品データに含まれる検品商品および検品数量と一致する商品群を撮像した検品対象画像に基づいて、検品対象商品毎の画像を特定する。
商品データ登録部109は、商品画像決定部110が特定した画像を記憶部に登録する。なお、記憶部とは、後述する商品データ格納部117であり、商品マスタに相当する。
照合部115は、商品画像決定部110が特定した商品の画像が登録された記憶部(商品マスタ)が記憶する画像に基づいて、新たな検品データに対応する検品対象画像に含まれる商品を特定する。
<First embodiment>
An inspection processing apparatus according to an embodiment of the present invention will be described below with reference to FIGS.
FIG. 1 is a diagram showing the minimum configuration of the 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 matching 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 the quantity to be inspected for the product (inspection quantity), and the inspection data. An image for each inspection target product is specified based on the inspection target image obtained by imaging the inspection product and the product group that matches 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, which will be described later, and corresponds to a product master.
The collation unit 115 identifies the 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 image of the product identified 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. The inspection data storage unit 107, the target total weight calculation unit 108, the product data registration unit 109, the product image determination unit 110, the product weight calculation unit 114, the collation unit 115, the inspection data storage unit 116, and the product And a data storage unit 117. Note that the products to be inspected included in the inspection data are the inspected products, the quantity to be inspected is the inspected product, and the products that are inspected by the workers who perform the inspection work are candidates for the inspected products as the inspected products. Call. Further, an image obtained by imaging the inspection target product group is referred to as an inspection target image. In addition, a set of images that are candidates for the inspection product 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 other functional units to transmit information or process.
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 image the inspection target product, and acquires the 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 also acquires inspection data based on an input operation of inspection data by a worker.
The display information output unit 105 generates various kinds of information necessary for the inspection work and outputs it to the display device connected to the inspection processing device 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 a general feature amount calculation method such as calculating a graphic feature amount.
The inspection data storage unit 107 records the inspection data, which is the target of the inspection work, input by the worker in the inspection data storage unit 116.
The target total weight calculation unit 108 calculates the total weight (target total weight) of the inspection merchandise included in the inspection data. Further, 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 the 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 of an inspected product, a 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 specification unit 113.
The image extraction unit 111 cuts out a set of images (product images) that are candidates for the inspection target product from the inspection target image.
The image analysis unit 112 collates the cut-out product images with each other and calculates the quantity of each type of product image included in the inspection target image.
The product identification unit 113 identifies the product indicated by each of the product images by comparing the quantity of each type of product image with the inspection quantity of each inspection product included in the inspection data.
The product image determination unit 110 associates the product image identified by the product identification unit 113 with the inspection product and records the product image in the product data storage unit 117 (product master).

商品重量計算部114は、検品データに含まれる検品商品ごとの単位重量および検品商品ごとの検品数量と、検品データに含まれる検品商品および検品数量と一致する商品群の重量を測定した重量データとの関係を示す方程式に基づいて、検品商品ごとの単位重量を算出する。
照合部115は、商品データ格納部117が記憶する商品のマスタ画像を用いて、検品商品を撮像した検品対象画像を照合して検品対象画像に写る商品を特定し、特定した商品が検品データに含まれる検品商品と一致するかどうかを判定する。
The product weight calculation unit 114 stores the unit weight of each inspected product included in the inspection data and the inspection quantity of each inspected product, and the weight data of the inspected product included in the inspection data and the weight of the product group matching the inspected quantity. The unit weight for each inspected product is calculated on the basis of the equation showing the relationship.
The matching unit 115 uses the master image of the product stored in the product data storage unit 117 to match the inspection target image obtained by capturing the inspection product to identify the product in the inspection target image, and specify the identified product as 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, the inspection quantity, and the like of the inspection product included in the inspection data to be inspected.
The product data storage unit 117 is a database that stores, for each product, a product name, a product image (master image), a feature amount of the product image, a unit weight, and the like.
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 matching unit 115 is executed by the CPU of the inspection processing device 100 by reading a program from a storage unit such as a hard disk. This 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 device 100, an imaging device 200, a weight measuring device 300, a display device 400, and an input device 500. In addition, one or a plurality of inspection target products (inspection target products 600) are placed on the weight measuring device 300. A known pattern having a characteristic such as a grid pattern is drawn on the surface of the weight measuring device 300 (the surface on which the product to be inspected 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 the inspection target product. The weight measuring device 300 is a device that measures the weight of the product to be inspected. In FIG. 3, the imaging device 200 is attached to the support column 302 with the lens facing the ground side so that the inspection target product placed on the weight measuring device 300 can be imaged from directly above. The column 302 is fixed by the base 301, and the weight measuring device 300 is installed on the base 301. The mounting position of the imaging device 200 is not limited to the example shown in this figure. The inspection processing device 100 is connected to the imaging device 200 and acquires an image of the inspection target product imaged by the imaging device 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, for example, a display. The display device 400 is connected to the inspection processing device 100 and displays the information generated by the inspection processing device 100 and necessary for the inspection work. The input device 500 is a keyboard, a mouse, or any data reading means (such as a storage medium reading device). The worker operates the inspection processing device 100 by using the input device 500 while referring to the information displayed on the display device 400, and performs the 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 inspected product candidates described in one voucher to be inspected from a product shelf or the like and places them on the weight measuring device 300. The inspection target product 600 placed on the weight measuring device 300 may be mistakenly selected by a worker for a similar product. In many cases, one slip includes a plurality of types of products, and in that 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 device 100. The inspection processing apparatus 100 transmits an image capturing instruction signal to the image capturing apparatus 200 at the timing of receiving the weight data. Upon receiving the image capturing instruction signal, the image capturing apparatus 200 captures an image of the inspection target commodity 600 from above, and transmits the captured inspection target image to the inspection processing apparatus 100.
Further, in parallel with these processes, the worker inputs the inspection data (name of inspection product, inspection quantity, etc.) included in one voucher 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 reading device. In addition, each detail included in the inspection data is referred to as detail information.

検品対象画像を取得すると、検品処理装置100は、商品データ格納部117が記憶する商品のマスタ画像と照合処理を行って、検品対象画像に含まれる商品を特定する。また、検品処理装置100は、照合処理の結果、画像に写っていると特定した商品と、検品データに含まれる検品商品とが一致するかどうかを判定する。検品処理装置100は、検品データに含まれる全ての検品商品についてこの照合処理および判定処理を行う。また、検品処理装置100は、検品データに含まれる全ての検品商品の総重量を計算し、重量計測器300が測定した重量データと比較する。
そして、検品処理装置100は、全ての検品対象商品についての照合処理結果と、重量データの比較結果とを表示装置400に表示する。また、検品処理装置100は、検品データの一覧を表示装置400に表示する。
When the inspection target image is acquired, the inspection processing device 100 performs a matching process with the master image of the product stored in the product data storage unit 117 to specify the product included in the inspection target image. Further, the inspection processing apparatus 100 determines whether or not the product identified as being shown in the image as a result of the matching process and the inspection product included in the inspection data match. The inspection processing apparatus 100 performs the collation process and the determination process for all the inspection products included in the inspection data. Further, the inspection processing device 100 calculates the total weight of all the inspection products included in the inspection data, and compares the total weight with the weight data measured by the weight measuring device 300.
Then, the inspection processing device 100 displays on the display device 400 the comparison processing results for all the inspection target products and the comparison result of the weight data. The inspection processing apparatus 100 also 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 collation processing result, and the weight data comparison result to grasp the inspection result. The worker adjusts the quantity by placing or removing the inspection target products 600 in excess and deficiency on the weight measuring device 300. As a result of the above work and processing, if the number of products displayed on the display device 400 by the worker is the same as the inspection data, the inspection work on 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, the master image of the new product must be newly registered in the product data storage unit 117. It doesn't happen. It is troublesome to register the master image each time a new product comes out. In particular, when the new product is a three-dimensional object, the worker does not know which side to put on the weight measuring device 300, and thus it is necessary to register the master images of all the sides, which is more troublesome. Or spend time. In addition, there is also a problem in that the more the master images are registered, the longer the matching process takes.

そこで、本実施形態では、新商品など商品データ格納部117に登録されていない商品について、目視検品を行った結果の情報を記録し、記録した情報に基づいて、自動的に未登録商品のマスタ画像、単位重量を商品データ格納部117に登録する方法を提供する。次に本実施形態における未登録商品の商品画像、単位重量の登録処理について説明を行う。 Therefore, in the present embodiment, information about the result of visual inspection of a product such as a new product that is not registered in the product data storage unit 117 is recorded, and the master of the unregistered product is automatically recorded based on the recorded information. A method of registering an image and a unit weight in the product data storage unit 117 is provided. Next, the registration process of the product image and unit weight of the unregistered product 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 the 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 the inspection confirmation screen according to the first embodiment of the present invention.
First, a worker inputs one piece of inspection data to the inspection processing apparatus 100. In the inspection processing apparatus 100, the input reception 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 the instruction from the control determination unit 101 (step S11). Specifically, the target gross weight calculation unit 108 multiplies the input inspection data by 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. Calculate the weight for the quantity of the inspection (called inspection weight). The target total weight calculation unit 108 sums all the inspection weights to calculate the target total weight, and records the target total weight in the memory. If the inspection product included in the inspection data is not registered, the unit weight information cannot be obtained, and therefore the inspection weight of the inspection product is 0.

次に、作業員は、検品処理装置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 the weight data in the memory.
Next, the control determination unit 101 outputs an imaging instruction signal to the product image acquisition unit 103, triggered by the acquisition of the weight data. Then, the product image acquisition unit 103 instructs the image capturing device 200 to capture an image, and the image capturing device 200 captures the 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 characteristic amount calculation unit 106 to calculate the characteristic 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. The calculation result includes the distribution of the feature amount on the inspection target image. In addition, the feature amount distribution includes feature amounts of all the inspection target products 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 matching 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 images of the inspection products included in the inspection data from the master images of all the products registered in the product data storage unit 117, and reads the master images and the inspection target images. Are compared with each other to identify the product shown in the inspection target image. For example, the matching unit 115 reads out 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 identification unit 113 compares the read characteristic amount of the collated product with the characteristic amount distribution of the inspection target image to collate whether the characteristic amount of the inspection commodity is included in the characteristic amount distribution of the inspection target image. Perform a search process. The matching unit 115 determines that the inspection product is included in the inspection target image if the similarity between the characteristic amount of the inspection product and the characteristic amount included in the inspection target image is equal to or more than a predetermined threshold. The collation unit 115 performs a search process for each inspected product included in the inspection data, and outputs the search result (quantity that can be retrieved) 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 the display information output unit 105 to display the inspection confirmation screen. Next, the display information output unit 105 reads the “detail number”, the “product code”, the “inspection quantity” recorded in the inspection data storage unit 116, and the “unit weight” recorded in the product data storage unit 117. Further, the display information output unit 105 requests the control determination unit 101 for the target total weight, the weight data acquired by the weight acquisition unit 102, and the total weight error information. The total weight error is the 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 previously calculated and the weight data acquired by the weight acquisition unit 102 from the memory and calculates the 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 the information to the display information output unit 105. The display information output unit 105 also acquires the inspection target image from the memory.
The display information output unit 105 uses the determination result of the collation unit 115, the inspection data acquired from the inspection data storage unit 116, the data such as the total weight error output by the target total weight calculation unit 108, and the inspection target image, and the worker. Generates an image of the inspection confirmation screen used for the 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 showing an example of the inspection confirmation screen. As illustrated, the inspection confirmation screen includes an inspection data display column 61, an inspection target image display column 62, an image comparison result display column 63, a weight comparison result display column 64, and an OK button 65. The display information output unit 105 causes the inspection data display column 61 to inspect the inspection data acquired from the inspection data storage unit 116 and the like (each column of “Detail number”, “Product code”, “Inspection quantity”, “Unit weight”) and collation. The search result (the "inspection result" column) acquired from the unit 115 is displayed. The display information output unit 105 displays the acquired inspection target image in the inspection target image display field 62. Further, 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 display information output unit 105 indicates that the search result acquired from the collation unit 115 matches all the products included in the inspection data, the display information output unit 105 displays “image OK” or the like to display the inspection data. If at least one determination result that the product does not match the product included in is included, “image NG” or the like is displayed. Further, the display information output unit 105 displays the weight comparison result display column 64 based on the 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” 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 the OK button 65. The OK button 65 is a button that the worker presses when the inspection work on the inspection data currently displayed is completed.

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

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

検品終了となると、検品データ保存部107は、検品対象画像と、重量データと、検品データとを対応付けて検品データ格納部116に記録する(ステップS20)。なお、検品対象画像と重量データは検品終了時のもの(つまり検品データの内容と一致する検品対象商品群の検品対象画像と重量データ)である。また、検品データ保存部107は、今回の検品データに目視によって検品した明細情報が含まれている場合、検品データ等と目視による検品を行ったこと示す情報とを対応付けて検品データ格納部116に記録する。次に検品処理装置100は、マスタ登録処理を行う(ステップS21)。このマスタ登録処理は、ステップS17にて、全ての商品が特定できた場合、つまり、商品データ格納部117に商品のマスタ画像が記録されている場合には必要のない処理である。次に図5〜図12用いて、マスタ登録処理の説明を行う。 When the inspection is completed, the inspection data storage unit 107 records the inspection target image, the weight data, and the inspection data in the inspection data storage unit 116 in association with each other (step S20). The inspection target image and the weight data are those at the end of the inspection (that is, the inspection target image and the weight data of the inspection target product group that match the contents of the inspection data). Further, when the inspection data of this time includes the detailed information of the inspection visually, the inspection data storage unit 107 associates the inspection data and the information indicating that the inspection has been visually performed with each other, and the inspection data storage unit 116. To record. Next, the inspection processing device 100 performs master registration processing (step S21). This master registration process is not necessary when all the products can be identified in step S17, that is, when the master image of the products 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 the inspection confirmation screen according to the first embodiment of the present invention.
FIG. 7 is a third diagram showing an example of the inspection confirmation screen according to the first embodiment of the present invention.
In the master registration process described with reference to FIG. 8, with respect to the inspection data (FIGS. 5 to 7) including the products of the product codes “A”, “B”, and “C” which are the products not recorded in the product data storage unit 117 Then, the inspection processing described in FIG. 4 is performed in the order of “shipment slip 1” to “shipment slip 3”. Further, it is assumed that the inspection target images and the like recorded in step S20 are only for three inspection data illustrated in FIGS. 5 to 7.
Specifically, first, it is assumed that the inspection processing is performed on the inspection data “shipping slip 1” illustrated in FIG. In the “shipment slip 1”, the inspection quantity of the product with the product code “A” (referred to as the product A) is “2”, the inspection quantity of the product with the product code “B” (referred to as the product B) is “1”, Included is detailed information that the inspection quantity of the product with the product code “C” (referred to as the product C) is “1”. As a result of the inspection processing described in FIG. 4, the inspection data storage unit 116 stores the inspection target image confirmed on the visual inspection screen and the state indicated by the inspection target image in correspondence with the inspection data of “shipping slip 1”. The weight data measured at 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 inspection processing is performed on the inspection data “shipping slip 2” illustrated in FIG. The “shipment slip 2” includes detailed information that the inspection quantity of the product A is “2” and the inspection quantity of the product B is “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 the “shipping slip 2”. It Regarding the registration process of the master image in steps S39 to S42 described below, the inspection process is performed on the “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 inspection processing is performed on the inspection data “shipping slip 3” illustrated in FIG. 7. The “shipment slip 3” includes detailed information that the inspection quantity of the product B is “2” and the inspection quantity of the product C is “1”. As a result of the inspection processing described in FIG. 4, the inspection data storage unit 116 stores the inspection target image confirmed on the visual inspection screen in correspondence with the inspection data of the “shipment slip 3” and the weight data corresponding to the image. Is recorded. Regarding the unit weight registration processing in steps S43 to S45 described below, the inspection processing is performed on this "shipping slip 3", the inspection target image is recorded in step S20, and then the master registration processing is performed. Will be explained.

図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 the master registration process of the inspection processing device according to the first embodiment of the present invention.
FIG. 9 is a first diagram illustrating the 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 illustrating the inspection processing according to the first embodiment of the present invention.
FIG. 12 is a fourth diagram illustrating the inspection processing according to the first embodiment of the present invention.
FIG. 8 is a diagram illustrating the master registration process of step S21 in detail.
First, the product data registration unit 109 initializes a variable N for counting inspection data, and sets N to 1 (step S31). The product data registration unit 109 reads and acquires the inspection data and the inspection target image/weight data registered in step S20 of the Nth 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 the inspection target image/weight data illustrated 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 visual inspection result (step S33). Whether or not even one inspection result by visual inspection is included means whether or not the product inspected on the visual inspection screen in FIG. 4 is included. For example, in the product data registration unit 109, when the inspection data and the information indicating that the inspection has been visually performed are recorded in the inspection data storage unit 116 in association with each other, even one inspection result is visually included. To determine. When the Nth inspection data does not include the visual inspection (step S33; No), the determination in step S37 is performed. When the Nth inspection data includes the inspection result by visual inspection (step S33; Yes), the product data registration unit 109 instructs the image extraction unit 111 to cut out the image. The image extraction unit 111 cuts out a product image from the read inspection target image (step S34). As described above, for example, a grid pattern is drawn on the weight measuring device 300. The image extracting unit 111 uses this known background pattern to cut out an image (product image) of a portion in which a group of objects that are product candidates are captured by image processing such as a background subtraction method. When N=1, the left diagram of FIG. 9A shows an example of the state after cutting. The left diagram of FIG. 9A illustrates that after the image is extracted by the image extracting unit 111, the product images with the reference numerals 11, 12, 13, and 14 are extracted. Note that here, even if the 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 the feature amount for each of the cut out product images (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 the memory in association with each other.

次に、商品データ登録部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 uses the Nth inspection data and the Nth weight data to formulate the relationship between the weight data and the inspection data (step S36). For example, FIG. 11A is a diagram showing the first inspection data and the 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 the product A)×2 (pieces)+Wb (unit weight of the product B)×1 (pieces)+Wc (product C Unit weight)×1 (pieces)=450 (total weight). The product weight calculation unit 114 generates such an equation (the row 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 items 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, for the inspection data of “shipment slip 2” with N=2, the image extraction unit 111 cuts out the product images 21 to 24 as shown in the left diagram of FIG. 9B. Further, the feature amount calculation unit 106 calculates the feature amount of each of the product images 21 to 24. Further, the product weight calculation unit 114 generates the equation “Wa×2+Wc×2=300” (shipment slip 2 in FIG. 12A) from the data in FIG. 11B. When 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 process on the inspection data of “shipping slip 3” with N=3. .. For example, the product weight calculation unit 114 generates the equation “Wb×2+Wc×1=450” (shipping slip 3 in FIG. 12A) from the data in FIG. 11C.

変数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 out 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 collation processing for comparing the feature amount with other product images for each of all the product images obtained in steps S32 to S37. Here, it is assumed that N=2 (that is, the inspection data of the shipping slip 1 and the shipping slip 2 are already recorded in the inspection data storage unit 116). For the product image 11 of 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, and 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 or not there is an image of a product for which the feature amount matches among all the cut-out 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 the two are images of matching products. FIG. 10A shows an example of the matching result by the image analysis unit 112. As shown in FIG. 10A, as a result of the matching process, 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. There is. Similarly, the image analysis unit 112 causes the product image 12, the product image 21, and the product image 24 to match the product image, the product image 14, the product image 22, and the product image 23 to match the product image, product image 21, and product. The image 24 indicates that it is determined that the matching product image, the product image 22, and the product image 23 are the matching product images. When there is an image of a product having a matching feature amount (step S40; Yes), the image analysis unit 112 determines the quantity of each type of product image included in the compared inspection target image by the inspection target image (inspection data). Calculate). In the example of FIG. 10A, since the image analysis unit 112 matches the product image 11 and the product image 14, the inspection target image of the shipping slip 1 includes two product images of the same type as the product image 11. It is calculated that (the product image 11 and the product image 14) are included. In addition, the image analysis unit 112 calculates that one product image of the same type as the product image 12 (the product image 12 itself) and one product image of the same type as the product image 13 (the product image 13 itself) are included. To do. Similarly, the image analysis unit 112 calculates that the shipping slip 2 also includes two product images of the same type as the product image 11 (product image 22 and product image 23). The image analysis unit 112 also calculates that two product images of the same type as the product image 12 (product image 21 and product image 24) and zero product images of the same type as the product image 13 are included. On the other hand, if there is no image of a product having the same feature amount (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へ進む。
When there is an image of a product having the same characteristic amount, the product specifying unit 113 next determines whether or not there is a product having the same number of images having the same characteristic amount and the inspection quantity of the slip (step S41). Specifically, the product identifying unit 113 compares the quantity of each type of product image for each inspection target image (inspection data) by the image analysis unit 112 with the inspection quantity of the inspection product included in the inspection data. , Specify the inspected product indicated by each of the product images. This will be described in more detail with reference to FIG. The “matching image” column, the “shipment slip 1” column, and the “shipment slip 2” column in FIG. 10B are a table summarizing the calculation results by the image analysis unit 112. The product specifying unit 113 determines the quantity (FIG. 10B) of each product image for each inspection target image, the shipping slip 1 (the right view of FIG. 9A), and the shipping slip 2 (FIG. 9B). ) To the right figure). From FIG. 10B, it can be seen that, for example, the product images 11, 14, 22, and 23 are of the same type, and two items are included in the shipping slip 1 and two items are included 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 shows the product A. As for the product images 12, 21, and 24, one product included in the shipping slip 1 and two products included in the shipping slip 2 are the products C according to the inspection data. Therefore, the product identifying unit 113 displays the product images. 12 and the like indicate that the product C is shown. Further, regarding the product image 13, one product included in the shipping slip 1 and zero in the shipping slip 2 is the product B when compared with the inspection data. Therefore, the product identifying unit 113 determines that the product image 13 is the product B. It is identified as the captured image. When there is a product that can be identified, the product identifying unit 113 determines that there is a product in which the number of images whose feature values match and the inspection quantity of the slip match. When it is determined that there is a matching product (step S41), the product specifying unit 113 outputs the specified result to the product data registration unit 109. Subsequently, the product data registration unit 109 registers, in the product data storage unit 117, a product image in which the number of product images included in the inspection target image and the inspection amount included in the inspection data match each other in association with the product ( Step S42). As described above, according to the present embodiment, it is possible to automatically register the image of the product as the master in the flow of the inspection work without registering the image as the master in advance.
When it is determined that there is no matching product (step S41; No), the process proceeds 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 simultaneously solves all the equations generated in step S36 (step S43). Here, it is assumed that N=3 (that is, the inspection data of the shipping slip 1, the shipping slip 2, and the shipping slip 3 are already recorded in the inspection data storage unit 116). FIG. 12A shows the 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. Since there are three types of variables (Wa, Wb, Wc) and three equations to be obtained, Wa, Wb, and Wc can be obtained by solving this simultaneous equation. When these are actually solved, the weight of the product A is 100, the weight of the product B is 200, and the weight of the product C is 50. FIG. 12B shows the unit weights of the products A to C obtained by solving the simultaneous equations. The product weight calculation unit 114 associates the solution of the simultaneous equations (unit weight) with the product and outputs the solution 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). If 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). .. If there is no solution to the simultaneous equations (step S44; No), the master registration process ends. As described above, according to the present embodiment, it is possible to automatically register the unit weight as a master in the inspection work flow without registering the unit weight as a master in advance.
In addition, in the above example, regarding 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. Further, in the above description, in step S32, all the inspection data stored in the inspection data storage unit 116 is read and processed, but the inspection data included in the inspection data used in the last inspection process is performed. Only the inspection data including the target product in the detailed information may be read out.

本実施形態の検品処理装置によれば、照合部115が、商品データ格納部117に記録されているマスタ画像を用いて対象商品を撮像した画像に写る商品を特定できなかった場合でも、検品作業を何度か繰り返すうちに記録された検品データと検品対象画像に基づいて、検品商品と、その検品商品のマスタ画像とを対応付けて自動的に商品データ格納部117に登録することができる。また、検品作業を何度か繰り返すうちに記録された検品データと重量データに基づいて、検品商品と、その検品商品の単位重量とを対応付けて自動的に商品データ格納部117に登録することができる。従って、商品のマスタ画像および単位重量を予めマスタ登録する必要がなく、マスタ登録の手間を減らすことができる。また、検品時の撮像画像を用いてマスタ登録するため、実際に上を向けて置かれる側面のみのマスタ画像が登録され、そうでない側面の画像は登録されることはない。したがって、照合対象の画像数が実際に検品作業で用いられる側面のみに限定されるため、照合時間を短縮することができる。 According to the inspection processing apparatus of the present embodiment, even if the collating unit 115 cannot specify 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. Based on the inspection data and the inspection target image recorded by repeating the above process several times, the inspection product and the master image of the inspection product can be associated with each other and automatically registered in the product data storage unit 117. Further, based on the inspection data and the weight data recorded while the inspection work is repeated 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. You can Therefore, it is not necessary to pre-register the master image and unit weight of the product as a master, and the labor of the master registration can be reduced. In addition, since master registration is performed using the captured image at the time of inspection, only the master image of the side that is actually placed facing upward is registered, and the image of the other side is not registered. Therefore, the number of images to be collated is limited to only the side actually used in the inspection work, and the collation 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>
An inspection processing apparatus according to the second embodiment of the present invention will be described below with reference to FIGS. 13 to 17.
When there are many inspection target products, the inspection target products placed in the weight measuring device 300 may overlap with each other. In such a case, since it is difficult to individually cut out the product image for each product, it is difficult to automatically register the product image as a master by the same processing as that of the first embodiment. In the second embodiment, even when products are placed in an overlapping manner, the images of the overlapped products are divided and the respective product images are 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 has a display information output unit 105A and a product data registration unit instead of the display information output unit 105 and the product data registration unit 109 according to the first embodiment. 109A is provided, which is different from the first embodiment. The display information output unit 105A provides an input unit of an operation of associating an inspection product with a worker and a portion of the inspection target image in which the inspection product is reflected. The product data registration unit 109A includes a product image determination unit 110A and a product weight calculation unit 114. The product image determination unit 110A includes an image extraction unit 111, an image analysis unit 112, and a product specification unit 113 as in the first embodiment, and further includes a partial image selection unit 118 that is a feature of this embodiment. Other configurations are similar to those of the first embodiment.

部分画像選択部118は、検品対象画像において、切り出された一まとまりの画像(商品画像)の数が、検品データに含まれる検品数量の合計に比べ小さい場合、検品データに含まれる検品商品とその検品商品が写った画像の部分とを対応付ける操作に基づいて、一まとまりの画像のうち複数の商品を含む画像であって、ある一つの検品商品(例えば、商品A)を含む画像と、同じ検品商品(商品A)を含む他の一まとまりの画像とを照合し、照合の結果、特徴量が一致する範囲の画像を、当該検品商品(商品A)の部分画像として選択する。
また、商品データ登録部109Aは、部分画像選択部118が選択した範囲の画像を、対応付けられた商品および当該画像が不完全であることを示す情報と対応付けて商品データ格納部117に登録する。また、商品データ登録部109Aは、部分画像が登録されたある一つの商品(例えば、商品A)について、当該商品の輪郭が切り出せた一まとまりの画像(商品A単体の商品画像)が得られた場合、その画像を部分画像の代わりに登録する。
When the number of cut-out images (product images) in the inspection target image is smaller than the total inspection quantity included in the inspection data, the partial image selection unit 118 and the inspection product included in the inspection data An image including a plurality of products out of a set of images based on an operation of associating with a part of an image in which an inspection product is reflected, and an image including a certain inspection product (for example, product A) and the same inspection product The other image including the product (product A) is collated, and as a result of the collation, the image in the range where the feature amounts match is selected as the partial image of the inspection product (product A).
Further, the product data registration unit 109A registers the image of 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. Further, the product data registration unit 109A obtains a single image (a product image of the product A alone) in which the contour of the product is cut out for one product (for example, product A) for which a partial image is registered. In that 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. 14 to 16.
FIG. 14 is a diagram showing an example of the inspection confirmation screen according to the second embodiment of the present invention.
FIG. 14 shows an example of the inspection confirmation screen displayed when the inspection processing is performed on "shipping slip 4". The “shipment slip 4” includes two products A, one product B, and three products C. Further, it is assumed that the products A, B, and 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 on the “shipment slip 4”, the products A to C are placed on the weight measuring device 300 as shown in the inspection target image display column 62. That is, a part of one product A is placed so as to overlap with a product C, and a part of another product A is placed so as to overlap with a product B. 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 products A and C placed so as to overlap are cut out as one united product image (broken line). Product image enclosed in (41). Further, the product A and the product B placed so as to overlap each other are cut out as one integrated product image (product image 44 enclosed by a broken line). That is, in practice, although six products are placed on the weight measuring device 300, only four products can be cut out by image processing by the background subtraction method or the like. Therefore, in the present embodiment, the partial image selection unit 118 realizes a semi-automatic master registration process by dividing the images of the commodities placed on top of each other for each commodity. More specifically, on the visual inspection screen (step S18 in FIG. 4 ), the input reception 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 displays an inspection target image, and has any input means for an operation of associating the image portion of the inspection target image showing a certain product with the product. However, the following description will be given here 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 diagram of FIG. 15 is an example of the inspection target image display field 62 after the operation of associating the product with the image portion in which the product is reflected by the worker. The right diagram of FIG. 15 shows detailed data of "shipping slip 4". For example, on the visual confirmation screen similar to the inspection confirmation screen of FIG. 14, the worker performs an operation of selecting the first line of the inspection data display field 61 with a mouse or the like, and further, the product displayed in the inspection target image display field 62. The operation of selecting A with a mouse or the like (points 41A and 44A in FIG. 15) is performed. Then, the worker presses the pointing confirmation button 66. This is an example of the operation of associating the inspection product (product A) included in the inspection data with the image portion in which the inspection product (product A) in the inspection target image appears. When the worker performs this associating operation, the input receiving unit 104 receives this operation, and the identification information of the product A and the coordinate information of the image portion selected by the worker are sent via the control determination unit 101 to the product data. It 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. Further, 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. Further, 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 uses these pieces of information to perform a process of dividing the images of the overlapping products. Similarly, for the products B and C, the worker may perform an operation of associating the product with the image portion showing the product. In that case, the partial image selection unit 118 acquires the identification information of the product B and 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 the product image 41 and the product image 44 while performing image processing such as moving and rotating, and searches for a positional relationship in which the feature amounts of the two images overlap. Then, as shown in FIG. 16A, a positional relationship is found in which the areas in which the product A is reflected partially match. The partial image selection unit 118 cuts out only the area of the range in which the feature amounts match from the images superimposed in the positional relationship illustrated in FIG. 16A in which the feature amounts match. Then, the partial image selection unit 118 obtains a partial image of the product A illustrated in FIG. At this time, when the product A is partially hidden under another product as shown in FIG. 16A, the other product may appear in the image of the product A. Therefore, the partial image selection unit 118 may not be able to recognize the accurate contour of the product A from the image illustrated in FIG. 16A, and only a partial image may be obtained. However, if the cut-out partial image includes a sufficient amount of the characteristic amount of the product A, the verification process of the product A can be performed in the inspection process. Therefore, in the present 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 the image of the product A.

次に図17を用いて本実施形態のマスタ登録処理について説明する。前提として、図4のステップS17にてNoの場合、目視検品画面(例えば、図14の検品確認画面と同様であってよい)において、入力受付部104は、作業員による検品商品とその検品商品が写った画像部分とを対応付ける操作を受け付ける。入力受付部104は、対応付けられた検品商品の識別情報と作業員が選択した画像部分の座標情報とを、制御判定部101へ出力する。制御判定部101は、これらの情報をメモリに記録する。また、ステップS20において、制御判定部101は、検品対象画像と、重量データと、検品データと、商品の識別情報と、作業員が選択した画像部分の座標情報とを対応付けて検品データ格納部116に記録する。
なお、表示情報出力部105Aが目視検品画面を出力する際、例えば、画像抽出部111が検品対象画像から商品の切り出し処理を行い、商品データ登録部109Aが、検品データに含まれる検品数量の合計と切り出された商品画像数とを比較して、両者の数量が一致しない場合、表示情報出力部105Aに「重ねて置かれた商品が存在するので、検品商品とその検品商品が写った画像部分を対応付ける操作を行ってください」等のメッセージを表示して、作業員に対応付け操作を促してもよい。
Next, the master registration process of this embodiment will be described with reference to FIG. As a premise, in the case of No in step S17 of FIG. 4, in the visual inspection screen (for example, the inspection confirmation screen of FIG. 14 may be the same), the input receiving unit 104 determines the inspection product by the worker and the inspection product. An operation for associating with the image portion in which is captured is accepted. The input receiving unit 104 outputs the associated identification information of the 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 these pieces of 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 each other and associates them with the inspection data storage unit. Record at 116.
When the display information output unit 105A outputs the visual inspection screen, for example, the image extraction unit 111 performs a process of cutting out the product from the inspection target image, and the product data registration unit 109A causes the total of the inspection quantity included in the inspection data. And the number of cut-out product images is compared, and when the quantities of the two do not match, the display information output unit 105A displays “There is a product placed on top of another, so the inspection product and the image portion showing the inspection product Please perform the operation of associating with" to prompt the operator to perform the operation of 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 the master registration process of the inspection processing device according to the second embodiment of the present invention.
Processing similar to that in 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 target image/weight data registered N times from the inspection data storage unit 116 (step S32). Next, the product data registration unit 109A determines whether or not the Nth inspection data includes at least one inspection result by visual inspection (step S33). When the Nth inspection data does not include the visual inspection (step S33; No), the determination in step S37 is performed. When the inspection result by visual inspection is included (step S33; Yes), the image extraction unit 111 cuts out the product image of the inspection target image (step S34). Next, the feature amount calculation unit 106 calculates the feature amount for each of the cut out product images (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 cut out product images matches the number of all inspected 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 identification information of the product and the coordinate information of the image portion of the product recorded in the inspection data storage unit 116 (step S352), and 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 a partial image (step S353). Specifically, as described with reference to FIG. 16, the partial image selection unit 118 performs image processing of superimposing a plurality of images including the same product so that the distributions of the feature amounts included in the images match each other. .. Then, the partial image selection unit 118 cuts out only the range of the portion where the feature amounts match (commodity A in the example of FIG. 16). In addition, when there are a plurality of types of products such as the product A that are shown in an overlapping manner, the partial image selection unit 118 performs a partial image cutting process for each of the plurality of types of products. In addition, the partial image selection unit 118 also makes a plurality of images other than the cut-out image (in the example of FIG. 15, a portion of the product image 41 showing the product C and a portion of the product image 44 showing the product B). Cut out from the product image that contains 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. Get one containing image.

次に、商品重量計算部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 uses the Nth inspection data and the corresponding weight data to formulate the relationship between the weight data and the inspection data (step S36). Next, the product data registration unit 109A determines whether 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 the recorded inspection data (step S37; Yes), the image analysis unit 112 compares the cutout images by the image extraction unit 111 and the partial image selection unit 118 (the product image including one product and , A partial image cut out from a product image showing a plurality of products is included) (step S39). When an inspection target image as shown in FIG. 15 is obtained, the image analysis unit 112 causes the image extraction unit 111 to cut out two images of the product C, the partial image selection unit 118 cuts out two images of the product A, and a partial image. One image of the remaining product B and one image of the product C cut out by the image selection unit 118, and the product image cut out from the inspection target image of the other shipping slip are used, and the feature amounts match each other among them. Whether or not there is an image to be checked is brute force. Next, the image analysis unit 112 determines whether or not there is an image of the matching product among all the cut-out images (step S40). If there is no image of the matching product (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 an image of the matching product (step S40; Yes), the image analysis unit 112 calculates the quantity of each type of product image and partial image included in the compared inspection target image for each inspection target image. Next, the product identification unit 113 determines whether or not there is a product in which the number of images having the same feature amount and the inspection quantity of the inspection data match (step S41). If there is a matching product (step S41; Yes), the product data registration unit 109A displays the product image or the partial image of the product in which the quantity of the product image or the like included in the inspection target image and the inspection quantity included in the inspection data match. , Is registered in the product data storage unit 117 in association with the product (step S42). At this time, when 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 image 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 amount and the inspection quantity of the inspection data match (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 simultaneously solves all the equations generated in step S36 (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 to the 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 a contour can be obtained for the product for which the partial image is registered (step S46). The product for which the partial image is registered is, for example, a product such as the product A of the “shipment slip 4” described above. Here, it is assumed that "shipment slip 4" and then "shipment slip 5" are inspected. In that case, the product data registration unit 109A searches the product data storage unit 117 for products included in the inspection data of the shipping slip 5, and registers the master image in association with the information indicating that the image is an incomplete image. Check if is registered. For example, if the inspection data of the “shipment slip 5” includes the product A, the product data registration unit 109A searches the product data storage unit 117 and the inspection data includes the product for which the partial image is registered. Determine that Subsequently, the product data registration unit 109A determines whether or not the outline of the product A is visible in the inspection target image of the “shipment slip 5”. For example, the image extraction unit 111 cuts out all the products from the inspection target image, and the product data registration unit 109A determines whether or not the total number of the cut-out product images 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. If, as a result of the matching, an image having the same feature amount as that of the partial image of the product A is found in the product image, it is considered that the product image is an image in which the contour of the product A including the feature amount of the product A is known. To be In this case, the product data registration unit 109A determines that an image including the contour can be obtained. When it is determined that the 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 registered with the product image (step S47). For example, the product data registration unit 109A registers, in the product data storage unit 117, the product image of the product A that the image analysis unit 112 determines to match, associating with the product A. Further, the partial image of the registered product A and the 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 the image including the contour cannot be obtained (step S46; No), the master registration process ends.

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

<第三の実施形態>
以下、本発明の第三の実施形態による検品処理の一例を、図18を参照して説明する。
第三の実施形態では、商品の画像が商品データ格納部117に登録されていない場合、作業員の指さし確認操作によって、その商品の商品画像を商品データ格納部117に登録することができる。指さし確認操作とは、検品商品とその商品が写った画像部分を対応付ける操作である。第三の実施形態の構成は、例えば、第二実施形態の検品処理装置100Aと同様である。次に図18を用いて、本実施形態の検品処理および商品画像の登録処理について説明する。
<Third embodiment>
Hereinafter, an example of the inspection processing according to the third embodiment of the present invention will be described with reference to FIG.
In the third embodiment, when the image of the 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 the pointing confirmation operation of the worker. The pointing confirmation operation is an operation of associating an inspected product with an image portion showing the product. The configuration of the third embodiment is similar to, for example, the inspection processing apparatus 100A of the second embodiment. Next, the inspection process and the product image registration process of this 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 the inspection processing using the inspection processing device according to the third embodiment of the present invention.
FIG. 19 is a diagram showing an example of the 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.
As a premise, it is assumed that the inspection data is input to the inspection processing device 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 the 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 matching unit 115 uses the master image registered in the product data storage unit 117 to search whether or not the inspection product is included in the inspection target image (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 confirms whether 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). On the visual confirmation screen, the worker adjusts the products to be placed on the weight measuring device 300 until the visual inspection is completed. When the inspection merchandise included in the inspection data is placed on the weight measuring device 300 without excess or deficiency, the worker performs the registration operation of the unregistered merchandise. The registration operation will be described assuming that the visual confirmation screen is the same as the screen illustrated in FIG. First, a worker performs an operation of associating an inspected product with an image portion showing the inspected product. For example, the worker performs an operation of selecting the first line of the inspection data display field 61, and further performs an operation of selecting two portions of the inspection target image display field 62 where the product A is shown. Then, the worker presses the pointing confirmation button 66. The worker also performs the same operation on the products B and C. The input accepting unit 104 accepts an operation of associating an inspected product with an image portion showing the inspected product by a worker (step S22). 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 product data registration unit 109A via the control determination unit 101. Next, the product data registration unit 109A registers the image of the product 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 product information including the coordinate information of the part selected by the worker in the cut out product image. The worker registers the image in the product data storage unit 117 in association with the inspection product associated with the product image. This completes the inspection.

一方、商品が特定できている場合(ステップS17;Yes)、作業員は、総重量誤差は許容範囲内かどうか確認する(ステップS19)。許容範囲内ではなかった場合(ステップS19;No)、作業員は、商品の過不足を調整する。作業員の調整作業により総重量誤差が許容範囲内となると(ステップS19)、検品終了となる。検品終了となると、制御判定部101は、検品対象画像と、重量データと、検品データとを対応付けて検品データ格納部116に記録する(ステップS20)。次に検品処理装置100は、マスタ登録処理を行う(ステップS24)。本実施形態のマスタ処理においては、マスタ画像の登録処理は、作業員の操作によって完了しているので、商品重量計算部114が単位重量の算出を行い、商品データ登録部109Aが商品ごとの単位重量を商品データ格納部117に登録する。 On the other hand, when the product can be identified (step S17; Yes), the worker confirms whether the gross weight error is within the 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 is within the allowable range due to the adjustment work of the worker (step S19), the inspection is finished. When the inspection is completed, the control determination unit 101 records the inspection target image, the weight data, and the inspection data in the inspection data storage unit 116 in association with each other (step S20). Next, the inspection processing device 100 performs a master registration process (step S24). In the master processing of this embodiment, since the master image registration processing is completed by the operation of the worker, the product weight calculation unit 114 calculates the unit weight, and the product data registration unit 109A calculates 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 itself. This eliminates the need for pre-registration of the master image and saves labor. Further, on the visual confirmation screen, an operator can expect an effect of reducing errors in the inspection work by pointing and confirming each product image shown in the inspection target image and the inspection product included in the inspection data.

<変形例>
なお、第一の実施形態における商品データ登録部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 device according to the present invention.
As shown 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 product master registration device 150, the input accepting unit 104 acquires a plurality of inspection data items, inspection target images that have been inspected for the inspection data items, and weight data items. The product data registration unit 109 uses the data acquired by the input reception unit 104 based on, for example, a master registration instruction operation by a worker, and performs the process described in FIG. 8 to perform a master image of the product included in the inspection data. , Unit weight is obtained, and the information is registered in the product master 151. According to the product master registration device 150, the master image and the like can be registered 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 showing an example of the hardware configuration of the inspection processing device and the product data registration device of the present invention.
As shown in FIG. 21, the inspection processing devices 100 and 100A are realized by a computer device 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 configurations of the inspection processing devices 100 and 100A are not limited to the computer device shown in FIG. For example, the inspection processing apparatus 100 or 100A may transmit the image or the weight data to the outside via the communication IF 904, collate the inspection target product with the outside, and receive the result. The same applies to the product master registration device 150.

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

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

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

その他、本発明の趣旨を逸脱しない範囲で、上記した実施の形態における構成要素を周知の構成要素に置き換えることは適宜可能である。また、この発明の技術範囲は上記の実施形態に限られるものではなく、本発明の趣旨を逸脱しない範囲において種々の変更を加えることが可能である。 In addition, it is possible to appropriately replace the constituent elements in the above-described embodiments with known constituent elements without departing from the spirit of the present invention. Further, 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
1... Inspection system 100... Inspection processing device 101... Control determination unit 102... Weight acquisition unit 103... Product image acquisition unit 104... Input acceptance unit 105, 105A... Display information Output unit 106... Feature amount calculation unit 107... Inspection data storage unit 108... Target gross 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... Collation 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 400... Display device 500... Input Device 600...Inspected product 901...CPU
902... Memory 903... Storage device 904... Communication IF

Claims (12)

検品商品と検品数量とを含む検品データと、当該検品データに含まれる検品商品および検品数量と一致する商品群を撮像した検品対象画像に基づいて、前記検品商品ごとの画像を特定する商品画像決定部と、
前記商品画像決定部が特定した画像を記憶部に登録する商品データ登録部と、
前記記憶部が記憶する画像に基づいて、新たな検品データに対応する検品対象画像に含まれる商品を特定する照合部と、
を備える検品処理装置。
Based on the inspection data including the inspection product and the inspection quantity, and the inspection target image in which the inspection product included in the inspection data and the product group that matches the inspection quantity are imaged, the product image determination for specifying the image for each inspection product Department,
A product data registration unit that registers the image specified by the product image determination unit in a storage unit;
A collating unit that identifies a product included in the inspection target image corresponding to the new inspection data based on the image stored in the storage unit;
An inspection processing apparatus including.
前記商品画像決定部は、
前記検品対象画像から前記検品商品の画像の候補となる一まとまりの画像を切り出す画像抽出部と、
前記切り出した画像を互いに照合し、それらの画像の種類別の数量を算出する画像分析部と、
前記画像の種類別の数量と、前記検品データに含まれる検品商品ごとの検品数量とを比較して、前記画像の各々が示す検品商品を特定する商品特定部と、
を備える請求項1に記載の検品処理装置。
The product image determination unit,
An image extraction unit that cuts out a set 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 the quantity of each of the images by type,
A quantity specifying unit for identifying the inspection goods indicated by each of the images by comparing the quantity of each type of the image and the inspection quantity for each of the inspection goods contained in the inspection data.
The inspection processing apparatus according to claim 1, further comprising:
前記商品画像決定部は、
一つ又は複数の前記検品データと、各々の検品データに対する検品処理において得られた当該検品データに含まれる検品商品および検品数量に一致する検品対象画像と、に基づいて、前記一つ又は複数の検品データに含まれる検品商品ごとの画像を特定する、
請求項1または請求項2に記載の検品処理装置。
The product image determination unit,
Based on one or more 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 of the Specify the image for each inspected product included in the inspection data,
The inspection processing apparatus according to claim 1 or 2.
前記検品データに基づく前記検品商品の単位重量および検品数量と、前記商品群の重量を測定した重量データとの関係を示す方程式に基づいて、前記検品商品の単位重量を算出する商品重量計算部、
をさらに備える請求項1から請求項3の何れか1項に記載の検品処理装置。
Based on the equation showing the relationship between the unit weight and the inspection quantity of the inspected product based on the inspection data, and the weight data obtained by measuring the weight of the product group, a product weight calculator that calculates the unit weight of the inspected product,
The inspection processing apparatus according to any one of claims 1 to 3, further comprising:
前記商品重量計算部は、
一つ又は複数の前記検品データと、各々の検品データに対する検品処理において得られた当該検品データに含まれる検品商品および検品数量に一致する前記商品群の重量データとに基づいて、前記一つ又は複数の検品データに含まれる検品商品ごとの単位重量を算出する、
請求項4に記載の検品処理装置。
The product weight calculator is
Based on one or more 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, the one or Calculate the unit weight for each inspected product included in multiple inspection data,
The inspection processing apparatus according to claim 4.
前記検品対象画像において、切り出された一まとまりの画像の数が、前記検品データに含まれる検品数量の合計に比べ小さい場合、前記検品データに含まれる検品商品とその検品商品が写った画像の部分とを対応付ける操作に基づいて、前記一まとまりの画像のうち複数の前記検品商品を含む画像であって、前記検品商品のうちの一つの検品商品を含む画像と、当該一つの検品商品を含む他の一まとまりの画像とを照合し、照合の結果、特徴量が一致する範囲の画像を、当該一つの検品商品の部分画像として選択する部分画像選択部、
をさらに備え、
前記商品データ登録部は、前記部分画像選択部が選択した部分画像を、前記一つの検品商品および当該画像が不完全であることを示す情報と対応付けて登録する、
をさらに備える請求項1から請求項5の何れか1項に記載の検品処理装置。
In the inspection target image, when the number of cut-out batches of images is smaller than the total of the inspection quantity included in the inspection data, the inspection product included in the inspection data and the part of the image showing the inspection product An image including a plurality of the inspection products among the one set of images based on an operation of associating with, an image including one inspection product among the inspection products, and another including the one inspection product. A partial image selection unit that compares a group of images with each other and, as a result of the comparison, selects an image in a range in which the feature amounts match, as a partial image of the one inspection product.
Further equipped with,
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, for the one inspection product, when a set of images in which the contour of the one inspection product is cut out is obtained, register the image instead of the partial image,
The inspection processing apparatus according to claim 6.
前記商品データ登録部は、
前記検品データに含まれる検品商品と前記検品対象画像における当該検品商品が写った部分とを対応付ける操作に基づいて、前記検品対象画像から切り出された一まとまりの画像を、前記操作によって対応付けられた検品商品の画像として前記記憶部に登録する、
請求項1から請求項7の何れか1項に記載の検品処理装置。
The product data registration unit is
Based on an operation of associating an inspection product included in the inspection data with a portion in which the inspection product is reflected in the inspection target image, a set of images cut out from the inspection target image is associated with the operation. Registered 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 image pickup device for picking up an image of an inspected product included in inspection data and a product group matching the inspected quantity,
A weight measuring device for measuring the weight of the product group,
The inspection processing apparatus according to claim 1, wherein the inspection target image captured by the imaging device and the weight measured by the weight measuring device are acquired.
An inspection system comprising:
検品商品と検品数量とを含む検品データと、当該検品データに含まれる検品商品および検品数量と一致する商品群を撮像した検品対象画像に基づいて、前記検品商品ごとの画像を特定する商品画像決定部と、
前記商品画像決定部が特定した画像を商品マスタに登録する商品データ登録部と、
を備える商品マスタ登録装置。
Based on the inspection data including the inspection product and the inspection quantity, and the inspection target image in which the inspection product included in the inspection data and the product group that matches the inspection quantity are imaged, the product image determination for specifying the image for each inspection product Department,
A product data registration unit that registers the image specified by the product image determination unit in a product master;
A device for registering a product master.
検品処理装置が、
検品商品と検品数量とを含む検品データと、当該検品データに含まれる検品商品および検品数量と一致する商品群を撮像した検品対象画像に基づいて、前記検品商品ごとの画像を特定し、
前記特定した画像を記憶部に登録し、
前記記憶部が記憶する画像に基づいて、新たな検品データに対応する検品対象画像に含まれる商品を特定する、
検品処理方法。
The inspection processing device
Inspection data including an inspection product and an inspection quantity, based on an inspection target image obtained by capturing an inspection product and a product group matching the inspection quantity included in the inspection data, an image for each inspection product is specified,
Register the specified image in the storage unit,
Based on the image stored in the storage unit, specify the product included in the inspection target image corresponding to the new inspection data,
Inspection processing method.
検品処理装置のコンピュータを、
検品商品と検品数量とを含む検品データと、当該検品データに含まれる検品商品および検品数量と一致する商品群を撮像した検品対象画像に基づいて、前記検品商品ごとの画像を特定する手段、
前記特定した画像を記憶部に登録する手段、
前記記憶部が記憶する画像に基づいて、新たな検品データに対応する検品対象画像に含まれる商品を特定する手段、
として機能させるためのプログラム。
Computer of inspection processing equipment,
Inspection data including an inspection product and an inspection quantity, based on an inspection target image obtained by imaging an inspection product and a product group matching the inspection quantity included in the inspection data, a means for specifying an image for each inspection product,
Means for registering the specified image in the storage unit,
Means for identifying a product included in the inspection target image corresponding to the 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 JP2017178574A (en) 2017-10-05
JP6724484B2 true 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)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7291264B2 (en) * 2017-11-02 2023-06-14 株式会社オービック Computational processing device, computational processing method and computational processing program
JP7067812B2 (en) * 2018-03-20 2022-05-16 日本電気株式会社 Information processing device and control method
CN110443553B (en) * 2019-08-15 2022-08-23 深圳市海思睿科技有限公司 Unattended article management method based on article storage box
JP7388871B2 (en) 2019-10-18 2023-11-29 株式会社キッツ Judgment device, judgment method and judgment program

Family Cites Families (6)

* 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
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
JP2011039872A (en) * 2009-08-13 2011-02-24 Komatsu Denshi Kk Device and method for counting article
CN103901489B (en) * 2012-12-27 2017-07-21 清华大学 Check method, display methods and the equipment of object

Also Published As

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

Similar Documents

Publication Publication Date Title
JP6724484B2 (en) Inspection processing device, inspection system, product master registration device, inspection processing method and program
JP6605711B2 (en) Measuring system and measuring method
JP6679891B2 (en) Inspection processing device, inspection system, inspection processing method and program
WO2016158438A1 (en) Inspection processing apparatus, method, and program
US20160063519A1 (en) Data analysis apparatus, data analysis system, commodity exchange forecasting apparatus, commodity exchange forecasting system, data analysis method, commodity exchange forecasting method, and computer-readable medium
JP6481460B2 (en) Article management apparatus, article management system, article management method and program
JP2013539102A5 (en)
US8957970B1 (en) Receiving items into inventory
JP5888358B2 (en) Inspection processing apparatus, inspection system, inspection processing method and program
JP6520218B2 (en) INFORMATION PROCESSING APPARATUS AND INFORMATION PROCESSING PROGRAM
JP2014191423A (en) Selling commercial article recognition device and selling commercial article recognition method of automatic vending machine and computer program
JP6052448B2 (en) Inspection processing apparatus, inspection system, inspection processing method and program
JP6769554B2 (en) Object identification device, object identification method, computing device, system and recording medium
JP6651169B2 (en) Display status judgment system
CN111832381A (en) Object information registration device and object information registration method
US20220036529A1 (en) Device and method for the calibrated checking of a printing on an article
CN110268449B (en) Method, apparatus and machine readable medium for locating a region of interest on an object
JP2018005500A (en) Image processing system, image processing method, and image processing program
US9045283B2 (en) Object information management system and program
JP6769555B2 (en) Article identification device, article identification method, calculation device, system and program
JP6582875B2 (en) Inspection processing apparatus, inspection system, inspection processing method and program
JP6532116B1 (en) Inspection system, information collection device, inspection method, information collection method and program
JP2016018403A (en) Image processing device, image processing system, image processing method, and image processing program
JP4379038B2 (en) Image collation apparatus, image collation method, and image collation program
JP6454249B2 (en) Drug inspection apparatus and method

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