JP7211775B2 - Search program, server device, search method and search system - Google Patents

Search program, server device, search method and search system Download PDF

Info

Publication number
JP7211775B2
JP7211775B2 JP2018220243A JP2018220243A JP7211775B2 JP 7211775 B2 JP7211775 B2 JP 7211775B2 JP 2018220243 A JP2018220243 A JP 2018220243A JP 2018220243 A JP2018220243 A JP 2018220243A JP 7211775 B2 JP7211775 B2 JP 7211775B2
Authority
JP
Japan
Prior art keywords
search
feature
image
product
information
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
JP2018220243A
Other languages
Japanese (ja)
Other versions
JP2020086914A (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.)
Mercari Inc
Original Assignee
Mercari Inc
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 Mercari Inc filed Critical Mercari Inc
Priority to JP2018220243A priority Critical patent/JP7211775B2/en
Publication of JP2020086914A publication Critical patent/JP2020086914A/en
Application granted granted Critical
Publication of JP7211775B2 publication Critical patent/JP7211775B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Description

本発明は、検索プログラム、サーバ装置、検索方法及び検索システムに関する。 The present invention relates to a search program, a server device, a search method, and a search system.

従来より、クエリ画像に類似する類似画像を検索するための種々の検索方法が提案されている(例えば、下記特許文献1、2等)。 Conventionally, various search methods have been proposed for searching for similar images similar to a query image (for example, Patent Documents 1 and 2 listed below).

特開2001-052175号公報Japanese Patent Application Laid-Open No. 2001-052175 特開2001-319232号公報Japanese Patent Application Laid-Open No. 2001-319232

しかしながら、上記検索方法の場合、クエリ画像内に検索対象の物品と非検索対象の両方が含まれ、かつ、検索対象の物品の特徴量よりも、非検索対象の特徴量の方が類似度に与える影響が大きい場合に、適切な画像を検索することができない、という問題がある。 However, in the case of the above search method, both the search target article and the non-search target are included in the query image, and the feature amount of the non-search target is higher in similarity than the feature amount of the search target article. There is a problem that an appropriate image cannot be retrieved when the effect is large.

本発明は上記課題に鑑みてなされたものであり、クエリ画像を用いた画像検索において、検索対象に応じた検索結果を出力することを目的とする。 SUMMARY OF THE INVENTION The present invention has been made in view of the above problems, and an object of the present invention is to output search results according to a search target in image search using a query image.

本発明の一実施形態によれば、検索プログラムは、例えば、以下のような構成を有する。即ち、
クエリ画像を入力する入力工程と、
前記クエリ画像内に検索対象と非検索対象とが含まれていた場合に、前記クエリ画像の特徴量から前記非検索対象部分の特徴量を取り除いた特徴量と複数の画像の特徴量とに基づいて、複数の画像の中から、該検索対象に類似する物品を含み、かつ、該非検索対象を含まない画像を検索する検索工程とをコンピュータに実行させる。
According to one embodiment of the present invention, the search program has, for example, the following configuration. Namely
an input step of inputting a query image;
When the query image includes a search target and a non-search target , based on the feature quantity obtained by removing the feature quantity of the non-search target part from the feature quantity of the query image and the feature quantity of a plurality of images Then, the computer is caused to execute a search step of searching for an image that includes an article similar to the search target and does not include the non-search target from among the plurality of images.

本発明によれば、クエリ画像を用いた画像検索において、検索対象に応じた検索結果を出力することができる。 According to the present invention, it is possible to output search results according to a search target in image search using a query image.

検索システムのシステム構成の一例を示す図である。It is a figure which shows an example of the system configuration|structure of a search system. サーバ装置のハードウェア構成の一例を示す図である。It is a figure which shows an example of the hardware constitutions of a server apparatus. 登録情報格納部内の登録情報の具体例を示す図である。It is a figure which shows the specific example of the registration information in a registration information storage part. 特徴ベクトル情報(商品)保存部に保存される特徴ベクトル情報(商品)の具体例を示す図である。FIG. 4 is a diagram showing a specific example of feature vector information (product) stored in a feature vector information (product) storage unit; 特徴ベクトル情報(人物)保存部に保存される特徴ベクトル情報(人物)及び代表ベクトルの具体例を示す図である。FIG. 4 is a diagram showing a specific example of feature vector information (person) and representative vectors stored in a feature vector information (person) storage unit; 商品情報登録部の機能構成の一例を示す図である。It is a figure which shows an example of a functional structure of a product information registration part. 商品情報検索部の機能構成の一例を示す図である。It is a figure which shows an example of a functional structure of a product information search part. 検索システムにおける商品情報登録処理の流れを示すシーケンス図である。FIG. 10 is a sequence diagram showing the flow of product information registration processing in the search system; 検索システムにおける商品情報検索処理の流れを示すシーケンス図である。FIG. 10 is a sequence diagram showing the flow of product information search processing in the search system; 特徴ベクトル算出用モデルの学習処理を説明するための図である。FIG. 4 is a diagram for explaining learning processing of a feature vector calculation model; 特徴ベクトル情報(人物)及び代表ベクトル生成処理の流れを示すフローチャートである。10 is a flow chart showing the flow of feature vector information (person) and representative vector generation processing. 特徴ベクトル情報(人物)及び代表ベクトル生成処理の処理内容を説明するための第1の図である。FIG. 10 is a first diagram for explaining the feature vector information (person) and processing contents of representative vector generation processing; 特徴ベクトル情報(商品)生成処理の流れを示すフローチャートである。10 is a flow chart showing the flow of feature vector information (product) generation processing. 特徴ベクトル情報(商品)生成処理の処理内容を説明するための図である。FIG. 10 is a diagram for explaining the processing contents of feature vector information (product) generation processing; 商品情報検索処理の流れを示すフローチャートである。It is a flowchart which shows the flow of product information search processing. 商品情報検索処理の処理内容を説明するための図である。It is a figure for demonstrating the processing content of merchandise information search processing. 商品情報検索処理の具体例を示す図である。It is a figure which shows the specific example of product information search processing. ユーザ端末の検索画面に表示される検索結果の一例を示す第1の図である。FIG. 10 is a first diagram showing an example of search results displayed on the search screen of the user terminal; ユーザ端末の検索画面に表示される検索結果の一例を示す第2の図である。FIG. 9 is a second diagram showing an example of search results displayed on the search screen of the user terminal; 特徴ベクトル情報(人物)及び代表ベクトル生成処理の処理内容を説明するための第2の図である。FIG. 10 is a second diagram for explaining the feature vector information (person) and processing contents of representative vector generation processing; ユーザ端末のチャット画面の一例を示す図である。It is a figure which shows an example of the chat screen of a user terminal.

以下、各実施形態の詳細について説明する。なお、各実施形態に係る明細書及び図面の記載に際して、実質的に同一の機能構成を有する構成要素については、同一の符号を付することにより重複した説明を省く。 The details of each embodiment will be described below. In describing the specifications and drawings according to each embodiment, constituent elements having substantially the same functional configuration are denoted by the same reference numerals, thereby omitting redundant description.

[第1の実施形態]
<1.検索システムのシステム構成>
はじめに、検索システムのシステム構成について説明する。図1は、検索システムのシステム構成の一例を示す図である。
[First embodiment]
<1. System configuration of search system>
First, the system configuration of the search system will be explained. FIG. 1 is a diagram showing an example of the system configuration of a search system.

図1に示すように、検索システム100は、サーバ装置110と、ユーザ180_1~180_nそれぞれが利用するユーザ端末170_1~170_nとを有する。なお、ユーザ端末170_1~170_nは、ネットワーク190を介してサーバ装置110と通信可能に接続される。 As shown in FIG. 1, the search system 100 has a server device 110 and user terminals 170_1 to 170_n used by users 180_1 to 180_n, respectively. The user terminals 170_1 to 170_n are connected to the server device 110 via the network 190 so as to be able to communicate therewith.

サーバ装置110には、フリーマーケットサービスプログラムがインストールされており、当該プログラムが実行されることで、サーバ装置110は、フリーマーケットサービス部120として機能する。 A flea market service program is installed in the server device 110 , and the server device 110 functions as a flea market service section 120 by executing the program.

フリーマーケットサービス部120は、ネットワーク190を介して接続されるユーザ端末170_1~170_nのユーザ180_1~180_nに対して、各種商品等を取引する場を提供するサービスを行う。 The flea market service unit 120 provides users 180_1 to 180_n of user terminals 170_1 to 170_n connected via the network 190 with a place to trade various products.

ここで、フリーマーケットサービスプログラムには、少なくとも、登録プログラムと検索プログラムとが含まれているものとする。そして、これらのプログラムが実行されることで、サーバ装置110は、商品情報登録部130と商品情報検索部140とを有するフリーマーケットサービス部120として機能する。 Here, it is assumed that the flea market service program includes at least a registration program and a search program. By executing these programs, server device 110 functions as flea market service section 120 having product information registration section 130 and product information search section 140 .

商品情報登録部130は、ユーザ180_1~180_nが商品を出品すべく、ユーザ端末170_1~170_nから商品情報を送信した場合に、当該商品情報を受信し、登録情報格納部150に格納する。なお、本実施形態では、登録情報格納部150に格納された複数の商品情報を、「登録情報」と総称する。 When the users 180_1 to 180_n send product information from the user terminals 170_1 to 170_n, the product information registration unit 130 receives the product information and stores it in the registration information storage unit 150 . In addition, in this embodiment, a plurality of items of product information stored in the registered information storage unit 150 are collectively referred to as "registered information".

また、商品情報登録部130は、格納した各商品情報に含まれる商品画像から、「特徴ベクトル」(画像から抽出される特徴量の項目と特徴量の値との組)を抽出し、特徴ベクトル情報(商品)保存部151に保存する。 In addition, the product information registration unit 130 extracts a “feature vector” (a set of a feature amount item and a feature amount value extracted from the image) from the product image included in each stored product information, and extracts the feature vector It saves in the information (product) saving unit 151 .

更に、商品情報登録部130は、格納した各商品情報に含まれる商品画像のうち、特定の商品画像(例えば、商品以外に、商品を着用した人物が含まれる商品画像(「着用画像」))から特徴ベクトルを抽出し、特徴ベクトル情報(人物)保存部152に保存する。 Furthermore, the product information registration unit 130 registers a specific product image (for example, a product image including a person wearing the product (“wearing image”) other than the product) among the product images included in each item of stored product information. A feature vector is extracted from and stored in the feature vector information (person) storage unit 152 .

商品情報検索部140は、ユーザ端末170_1~170_nからクエリ画像を含む検索要求を受信した場合に、特徴ベクトル情報(人物)保存部152に保存された特徴ベクトルを用いて、クエリ画像に含まれる人物の特徴量の影響を抑制する処理を行う。そのうえで、商品情報検索部140は、クエリ画像に含まれる検索対象に類似する商品を含む商品画像を検索する。 When the product information search unit 140 receives a search request including a query image from the user terminals 170_1 to 170_n, the product information search unit 140 uses the feature vector stored in the feature vector information (person) storage unit 152 to search for the person included in the query image. A process for suppressing the influence of the feature amount of is performed. After that, the product information search unit 140 searches for product images including products similar to the search target included in the query image.

具体的には、商品情報検索部140は、特徴ベクトル情報(商品)保存部151に保存された特徴ベクトルの中から、処理後のクエリ画像の特徴ベクトルに類似する特徴ベクトルを求めることで、クエリ画像内の検索対象に類似する商品を含む商品画像を検索する。 Specifically, the product information search unit 140 obtains a feature vector similar to the feature vector of the post-processing query image from among the feature vectors stored in the feature vector information (product) storage unit 151, thereby obtaining a query image. Search for product images that contain products similar to the search target in the image.

なお、商品情報検索部140では、検索した商品画像を含む検索結果を、検索要求の送信元のユーザ端末(ユーザ端末170_1~170_nのいずれか)に送信する。 The product information search unit 140 transmits the search result including the searched product image to the user terminal (one of the user terminals 170_1 to 170_n) that sent the search request.

<サーバ装置のハードウェア構成>
次に、検索システム100に含まれるサーバ装置110のハードウェア構成について説明する。図2は、サーバ装置のハードウェア構成の一例を示す図である。
<Hardware Configuration of Server Device>
Next, the hardware configuration of the server device 110 included in the search system 100 will be described. FIG. 2 is a diagram illustrating an example of a hardware configuration of a server device;

図2に示すように、サーバ装置110は、CPU(Central Processing Unit)201、ROM(Read Only Memory)202、RAM(Random Access Memory)203を有する。また、サーバ装置110は、GPU(Graphics Processing Unit)204を有する。なお、CPU201、GPU204などのプロセッサ(処理回路、Processing Circuit、Processing Circuitry)と、ROM202、RAM203などのメモリは、いわゆるコンピュータを形成する。 As shown in FIG. 2 , the server device 110 has a CPU (Central Processing Unit) 201 , a ROM (Read Only Memory) 202 and a RAM (Random Access Memory) 203 . The server device 110 also has a GPU (Graphics Processing Unit) 204 . Note that processors (processing circuits, processing circuits) such as the CPU 201 and GPU 204 and memories such as the ROM 202 and RAM 203 form a so-called computer.

更に、サーバ装置110は、補助記憶装置205、表示装置206、操作装置207、I/F(Interface)装置208、ドライブ装置209を有する。なお、サーバ装置110の各ハードウェアは、バス210を介して相互に接続される。また、図2に示す各ハードウェアは、一例に過ぎず、一部を変更して(例えば、GPU204を外して)サーバ装置110を構成してもよいことはいうまでもない。 Further, the server device 110 has an auxiliary storage device 205 , a display device 206 , an operation device 207 , an I/F (Interface) device 208 and a drive device 209 . Each piece of hardware of the server device 110 is interconnected via a bus 210 . Further, each hardware shown in FIG. 2 is merely an example, and it goes without saying that the server apparatus 110 may be configured by partially changing (for example, removing the GPU 204).

CPU201は、補助記憶装置205にインストールされた各種プログラム(例えば、フリーマーケットサービスプログラム等)を実行する演算デバイスである。 The CPU 201 is an arithmetic device that executes various programs (for example, a flea market service program, etc.) installed in the auxiliary storage device 205 .

ROM202は、不揮発性メモリであり、主記憶装置として機能する。ROM202は、補助記憶装置205にインストールされた各種プログラムをCPU201が実行するために必要な各種プログラム、データ等を格納する。具体的には、ROM202はBIOS(Basic Input/Output System)やEFI(Extensible Firmware Interface)等のブートプログラム等を格納する。 A ROM 202 is a non-volatile memory and functions as a main memory. The ROM 202 stores various programs, data, etc. necessary for the CPU 201 to execute various programs installed in the auxiliary storage device 205 . Specifically, the ROM 202 stores boot programs such as BIOS (Basic Input/Output System) and EFI (Extensible Firmware Interface).

RAM203は、DRAM(Dynamic Random Access Memory)やSRAM(Static Random Access Memory)等の揮発性メモリであり、主記憶装置として機能する。RAM203は、補助記憶装置205にインストールされた各種プログラムがCPU201によって実行される際に展開される、作業領域を提供する。 A RAM 203 is a volatile memory such as a DRAM (Dynamic Random Access Memory) or an SRAM (Static Random Access Memory), and functions as a main storage device. The RAM 203 provides a work area that is expanded when various programs installed in the auxiliary storage device 205 are executed by the CPU 201 .

GPU204は、画像処理用の演算デバイスであり、CPU201によりフリーマーケットサービスプログラムが実行される際に、各種画像データについて、並列処理による高速演算を行う。なお、GPU204は、内部メモリ(GPUメモリ)を搭載しており、各種画像データについて並列処理を行う際に必要な情報を一時的に保持する。 The GPU 204 is an arithmetic device for image processing, and when the CPU 201 executes the flea market service program, the GPU 204 performs high-speed arithmetic through parallel processing on various image data. Note that the GPU 204 is equipped with an internal memory (GPU memory), and temporarily holds information necessary for parallel processing of various image data.

補助記憶装置205は、各種プログラムや、各種プログラムがCPU201によって実行される際に用いられる各種データ等を格納する。例えば、登録情報格納部150、特徴ベクトル情報(商品)保存部151、特徴ベクトル情報(人物)保存部152は、補助記憶装置205において実現される。 The auxiliary storage device 205 stores various programs and various data used when the various programs are executed by the CPU 201 . For example, the registration information storage unit 150 , the feature vector information (product) storage unit 151 , and the feature vector information (person) storage unit 152 are implemented in the auxiliary storage device 205 .

表示装置206は、サーバ装置110の内部状態を表示する表示デバイスである。操作装置207は、サーバ装置110の管理者がサーバ装置110に対して各種指示を入力する際に用いる入力デバイスである。I/F装置208は、ネットワーク190と接続し、ユーザ端末170_1~170_nと通信を行うための接続デバイスである。 The display device 206 is a display device that displays the internal state of the server device 110 . The operation device 207 is an input device used when an administrator of the server device 110 inputs various instructions to the server device 110 . The I/F device 208 is a connection device for connecting to the network 190 and communicating with the user terminals 170_1 to 170_n.

ドライブ装置209は記録媒体220をセットするためのデバイスである。ここでいう記録媒体220には、CD-ROM、フレキシブルディスク、光磁気ディスク等のように情報を光学的、電気的あるいは磁気的に記録する媒体が含まれる。また、記録媒体220には、ROM、フラッシュメモリ等のように情報を電気的に記録する半導体メモリ等が含まれていてもよい。 A drive device 209 is a device for setting a recording medium 220 . The recording medium 220 here includes media for optically, electrically or magnetically recording information, such as CD-ROMs, flexible disks, and magneto-optical disks. The recording medium 220 may also include a semiconductor memory or the like that electrically records information, such as a ROM or flash memory.

なお、補助記憶装置205にインストールされる各種プログラムは、例えば、配布された記録媒体220がドライブ装置209にセットされ、該記録媒体220に記録された各種プログラムがドライブ装置209により読み出されることでインストールされる。あるいは、補助記憶装置205にインストールされる各種プログラムは、ネットワーク190を介してダウンロードされることで、インストールされてもよい。 Various programs to be installed in the auxiliary storage device 205 are installed by, for example, setting the distributed recording medium 220 in the drive device 209 and reading the various programs recorded in the recording medium 220 by the drive device 209. be done. Alternatively, various programs installed in the auxiliary storage device 205 may be installed by being downloaded via the network 190 .

<登録情報の具体例>
次に、登録情報格納部150内の登録情報の具体例について説明する。図3は、登録情報格納部内の登録情報の具体例を示す図である。
<Specific example of registration information>
Next, a specific example of registration information in the registration information storage unit 150 will be described. FIG. 3 is a diagram showing a specific example of registration information in a registration information storage unit.

図3に示すように、登録情報300は、複数の商品情報により構成される。具体的には、登録情報300には、情報の項目として、"商品ID"、"商品属性情報"、"商品画像"が含まれ、複数の商品情報それぞれが、当該情報の項目ごとにわけて登録情報格納部150に格納されることで、登録情報300が構成される。 As shown in FIG. 3, the registration information 300 is composed of a plurality of item information. Specifically, the registration information 300 includes "product ID", "product attribute information", and "product image" as information items. The registration information 300 is configured by being stored in the registration information storage unit 150 .

例えば、"商品ID"には、商品情報のうち、商品を識別するための識別子が格納される。"商品属性情報"には、商品情報のうち、商品の属性(例えば、商品のカテゴリ、商品のブランド、商品のタイトル等)を示す情報が格納される。"商品画像"には、商品情報のうち、商品画像が格納される。 For example, the "product ID" stores an identifier for identifying the product among the product information. "Product attribute information" stores information indicating product attributes (for example, product category, product brand, product title, etc.) among product information. "Product image" stores the product image of the product information.

なお、"商品画像"に格納される商品画像には、商品単体の画像の他、商品を着用した人物が含まれる商品画像(着用画像)等が含まれる。 The product images stored in the "product image" include not only the image of the product itself, but also the product image (wearing image) including the person wearing the product.

<特徴ベクトル情報(商品)の具体例>
次に、特徴ベクトル情報(商品)保存部151に保存される特徴ベクトル情報(商品)の具体例について説明する。特徴ベクトル情報(商品)保存部151では、商品画像から抽出された特徴ベクトルを、商品情報と対応付けて、特徴ベクトル情報(商品)として保存する。図4は、特徴ベクトル情報(商品)保存部に保存される特徴ベクトル情報(商品)の具体例を示す図である。
<Specific example of feature vector information (product)>
Next, a specific example of the feature vector information (product) stored in the feature vector information (product) storage unit 151 will be described. The feature vector information (product) storage unit 151 stores the feature vector extracted from the product image as feature vector information (product) in association with the product information. FIG. 4 is a diagram showing a specific example of feature vector information (product) stored in a feature vector information (product) storage unit.

図4に示すように、特徴ベクトル情報(商品)400には、情報の項目として、商品情報についての情報の項目である"商品ID"、"商品属性情報"、"商品画像"に加え、"特徴ベクトル"が含まれる。"特徴ベクトル"には、"商品画像"に格納された商品画像から抽出された特徴ベクトルが格納される。 As shown in FIG. 4, the feature vector information (product) 400 includes, as information items, "product ID", "product attribute information", and "product image", which are information items related to product information. feature vector". "Feature vector" stores a feature vector extracted from the product image stored in "product image".

なお、上述したとおり、特徴ベクトルは、画像から抽出される特徴量の項目と特徴量の値との組であり、図4の例は、特徴量の項目として、"特徴1"~"特徴m"が抽出されたことを示している。また、図4の例は、特徴量の値を、棒グラフの長さとして示している。 As described above, a feature vector is a set of a feature amount item and a feature amount value extracted from an image. In the example of FIG. " is extracted. Also, in the example of FIG. 4, the value of the feature amount is shown as the length of the bar graph.

<特徴ベクトル情報(人物)の具体例>
次に、特徴ベクトル情報(人物)保存部152に保存される特徴ベクトル情報(人物)等の具体例について説明する。特徴ベクトル情報(人物)保存部152では、着用画像から抽出された特徴ベクトルを、商品情報と対応付けて、特徴ベクトル情報(人物)として保存するとともに、着用画像から抽出された特徴ベクトルに基づいて算出された代表ベクトルを保存する。
<Specific example of feature vector information (person)>
Next, a specific example of the feature vector information (person) stored in the feature vector information (person) storage unit 152 will be described. The feature vector information (person) storage unit 152 associates the feature vector extracted from the wearing image with the product information and stores it as feature vector information (person), based on the feature vector extracted from the wearing image. Save the calculated representative vector.

図5は、特徴ベクトル情報(人物)保存部に保存される特徴ベクトル情報(人物)及び代表ベクトルの具体例を示す図である。 FIG. 5 is a diagram showing a specific example of the feature vector information (person) and the representative vector stored in the feature vector information (person) storage unit.

図5に示すように、特徴ベクトル情報(人物)500には、情報の項目として、"商品ID"、"商品属性情報"、"着用画像"、"特徴ベクトル"が含まれる。特徴ベクトル情報(人物)500の場合、登録情報300を構成する各商品情報に含まれる商品画像の中から選択された着用画像が"着用画像"に格納され、対応する商品の識別子、商品の属性情報が、それぞれ、"商品ID"、"商品属性情報"に格納される。また、"特徴ベクトル"には、"着用画像"に格納された着用画像から抽出された特徴ベクトルが格納される。なお、図4と同様、図5の例は、特徴量の項目として、"特徴1"~"特徴m"が抽出されたことを示している。また、図5の例は、特徴量の値を、棒グラフの長さとして示している。 As shown in FIG. 5, the feature vector information (person) 500 includes "product ID", "product attribute information", "wearing image", and "feature vector" as information items. In the case of the feature vector information (person) 500, a wearing image selected from product images included in each product information constituting the registration information 300 is stored in the "wearing image", and the corresponding product identifier and product attribute are stored. Information is stored in "product ID" and "product attribute information", respectively. Further, the "feature vector" stores a feature vector extracted from the wearing image stored in the "wearing image". As in FIG. 4, the example of FIG. 5 indicates that "feature 1" to "feature m" have been extracted as feature amount items. Also, in the example of FIG. 5, the value of the feature amount is shown as the length of the bar graph.

代表ベクトル510は、特徴ベクトル情報(人物)500の"特徴ベクトル"に格納された、各着用画像の特徴ベクトルに基づいて算出される。代表ベクトル510は、例えば、各着用画像の特徴ベクトルの平均値を算出することで求められる。あるいは、代表ベクトル510は、各着用画像の特徴ベクトルの中央値を算出することで求められる。あるいは、代表ベクトル510は、各着用画像の特徴ベクトルを整数化し、最頻値を算出することで求められる。 The representative vector 510 is calculated based on the feature vector of each wearing image stored in the “feature vector” of the feature vector information (person) 500 . The representative vector 510 is obtained, for example, by calculating the average value of the feature vectors of the wearing images. Alternatively, the representative vector 510 is obtained by calculating the median value of the feature vectors of the wearing images. Alternatively, the representative vector 510 is obtained by integerizing the feature vector of each wearing image and calculating the mode.

<商品情報登録部の機能構成>
次に、サーバ装置110のフリーマーケットサービス部120が有する商品情報登録部130の機能構成について説明する。図6は、商品情報登録部の機能構成の一例を示す図である。図6に示すように、商品情報登録部130は、商品情報取得部610、商品情報(着用画像)選択部620、画像特徴抽出部630、人物特徴演算部640、商品情報読み出し部650を有する。
<Functional configuration of the product information registration unit>
Next, the functional configuration of the product information registration unit 130 included in the flea market service unit 120 of the server device 110 will be described. FIG. 6 is a diagram illustrating an example of a functional configuration of a product information registration unit; As shown in FIG. 6 , product information registration unit 130 has product information acquisition unit 610 , product information (wearing image) selection unit 620 , image feature extraction unit 630 , person feature calculation unit 640 , and product information readout unit 650 .

商品情報取得部610は、ユーザ180_1~180_nが商品を出品すべく、ユーザ端末170_1~170_nから商品情報を送信した場合において、当該商品情報を受信するごとに、登録情報格納部150に格納する。これにより、登録情報格納部150内の登録情報300は、商品情報取得部610が商品情報を受信するごとに更新される。 When the user terminals 170_1 to 170_n send product information from the user terminals 170_1 to 170_n in order for the users 180_1 to 180_n to exhibit products, the product information acquisition unit 610 stores the product information in the registration information storage unit 150 each time it receives the product information. Thereby, the registration information 300 in the registration information storage unit 150 is updated each time the product information acquisition unit 610 receives the product information.

商品情報(着用画像)選択部620は、登録情報格納部150内の登録情報300を構成する各商品情報のうち、着用画像を含む商品情報を選択して読み出し、画像特徴抽出部630に通知する。なお、商品情報(着用画像)選択部620は、例えば、着用画像を含む商品情報が、登録情報格納部150内に登録情報300として一定程度登録されたタイミングで、着用画像を含む商品画像を選択して読み出すものとする。 Product information (wearing image) selection unit 620 selects and reads product information including a wearing image from among the product information constituting registration information 300 in registration information storage unit 150 , and notifies image feature extraction unit 630 of the product information. . The product information (wearing image) selection unit 620 selects the product image including the wearing image, for example, at the timing when the product information including the wearing image is registered as the registration information 300 in the registration information storage unit 150 to a certain extent. shall be read as

この場合、画像特徴抽出部630では、商品情報(着用画像)選択部620より通知された商品情報に含まれる着用画像から、特徴ベクトルを抽出し、商品情報と対応付けて人物特徴演算部640に通知する。 In this case, the image feature extraction unit 630 extracts a feature vector from the wearing image included in the product information notified by the product information (wearing image) selection unit 620, associates it with the product information, and outputs it to the person feature calculation unit 640. Notice.

人物特徴演算部640は、人物特徴演算部640より通知された各商品情報に対応付けられた特徴ベクトルに基づいて、代表ベクトル510を算出する。また、人物特徴演算部640は、着用画像から抽出された特徴ベクトルが対応付けられた商品情報を、特徴ベクトル情報(人物)500として、代表ベクトル510とともに特徴ベクトル情報(人物)保存部152に保存する。 Personal characteristic calculation section 640 calculates representative vector 510 based on the characteristic vector associated with each product information notified from personal characteristic calculation section 640 . Further, the person feature calculation unit 640 stores the product information associated with the feature vector extracted from the wearing image as the feature vector information (person) 500 together with the representative vector 510 in the feature vector information (person) storage unit 152 . do.

商品情報読み出し部650は、登録情報格納部150内の登録情報300を読み出し、画像特徴抽出部630に通知する。 The product information reading unit 650 reads the registration information 300 in the registration information storage unit 150 and notifies the image feature extraction unit 630 of it.

この場合、画像特徴抽出部630では、商品情報読み出し部650より通知された登録情報300を構成する各商品情報に含まれる商品画像から、特徴ベクトルを抽出する。また、画像特徴抽出部630は、抽出した特徴ベクトルを商品情報と対応付けて、特徴ベクトル情報(商品)400として、特徴ベクトル情報(商品)保存部151に保存する。 In this case, the image feature extractor 630 extracts a feature vector from the product image included in each product information constituting the registration information 300 notified from the product information readout unit 650 . The image feature extraction unit 630 also associates the extracted feature vector with the product information, and stores the feature vector information (product) 400 in the feature vector information (product) storage unit 151 .

<商品情報検索部の機能構成>
次に、サーバ装置110のフリーマーケットサービス部120が有する商品情報検索部140の機能構成について説明する。図7は、商品情報検索部の機能構成の一例を示す図である。図7に示すように、商品情報検索部140は、クエリ画像取得部710、検索対象物検出部720、画像特徴抽出部630、画像特徴変換部740、類似ベクトル演算部750、検索結果出力部760を有する。
<Functional configuration of the product information search unit>
Next, the functional configuration of the product information search section 140 included in the flea market service section 120 of the server device 110 will be described. FIG. 7 is a diagram illustrating an example of a functional configuration of a product information search unit; As shown in FIG. 7, the product information search unit 140 includes a query image acquisition unit 710, a search object detection unit 720, an image feature extraction unit 630, an image feature conversion unit 740, a similar vector calculation unit 750, and a search result output unit 760. have

クエリ画像取得部710は入力部の一例であり、ユーザ端末170_1~170_nから検索要求を受信し、受信した検索要求に含まれるクエリ画像を取得する。 The query image acquisition unit 710 is an example of an input unit, receives search requests from the user terminals 170_1 to 170_n, and acquires query images included in the received search requests.

検索対象物検出部720は、クエリ画像から、検索対象の商品を含む領域を検索対象領域として検出する。ただし、検索対象物検出部720の機能は必須ではなく、商品情報検索部140は、検索対象物検出部720を実行しなくてもよい。 The search target object detection unit 720 detects a region including a product to be searched from the query image as a search target region. However, the function of the search object detection unit 720 is not essential, and the product information search unit 140 does not have to execute the search object detection unit 720 .

画像特徴抽出部630は、検索対象物検出部720により検出された検索対象領域から特徴ベクトルを抽出し、画像特徴変換部740に通知する。 The image feature extraction unit 630 extracts a feature vector from the search target area detected by the search target object detection unit 720 and notifies the image feature conversion unit 740 of the feature vector.

画像特徴変換部740は、特徴ベクトル情報(人物)保存部152に格納された代表ベクトル510を読み出し、画像特徴抽出部630より通知された特徴ベクトルから、代表ベクトル510を減算することで、減算後の特徴ベクトルを算出する。具体的には、画像特徴変換部740は、特徴量の項目ごとに、特徴ベクトルの特徴量の値から代表ベクトル510の特徴量の値を減算することで、減算後の特徴ベクトルを算出する。これにより、減算後の特徴ベクトルは、人物の特徴量の影響が抑制された特徴ベクトルとなる。 The image feature conversion unit 740 reads out the representative vector 510 stored in the feature vector information (person) storage unit 152, and subtracts the representative vector 510 from the feature vector notified from the image feature extraction unit 630. Calculate the feature vector of . Specifically, the image feature conversion unit 740 subtracts the value of the feature amount of the representative vector 510 from the value of the feature amount of the feature vector for each item of the feature amount, thereby calculating the feature vector after the subtraction. As a result, the feature vector after the subtraction becomes a feature vector in which the influence of the person's feature amount is suppressed.

また、画像特徴変換部740は、減算後の特徴ベクトルに含まれる負値をゼロ化することで、減算後の特徴ベクトルを変換し、変換後の特徴ベクトルを算出する。具体的には、画像特徴変換部740は、各特徴量の項目のうち、減算により負値になった特徴量の項目について、特徴量の値をゼロ値に変換する(非負化する)。これにより、変換後の特徴ベクトルは、負値を含まない特徴ベクトルとなる。人物の特徴量の影響を抑制するために減算したにも関わらず、減算の結果、負値として人物の特徴量の影響が現れたのでは、人物の特徴量の影響を抑制したことにならないため、画像特徴変換部740では、ゼロ値に変換することで、人物の特徴量の影響を適切に抑制する。 Further, the image feature conversion unit 740 converts the feature vector after subtraction by zeroing the negative values included in the feature vector after subtraction, and calculates the feature vector after conversion. Specifically, the image feature transforming unit 740 transforms the value of the feature amount into a zero value (non-negative) for the item of the feature amount that has become a negative value due to the subtraction among the items of each feature amount. As a result, the feature vector after conversion becomes a feature vector that does not contain negative values. Although the subtraction is performed to suppress the influence of the person's feature amount, if the effect of the person's feature amount appears as a negative value as a result of the subtraction, it does not mean that the influence of the person's feature amount has been suppressed. , the image feature conversion unit 740 appropriately suppresses the influence of the person's feature amount by converting to a zero value.

類似ベクトル演算部750は検索部の一例であり、特徴ベクトル情報(商品)保存部151より、特徴ベクトル情報(商品)400を読み出し、画像特徴変換部740より通知された変換後の特徴ベクトルに類似する特徴ベクトルを検索する。また、類似ベクトル演算部750は、検索した特徴ベクトルを、検索結果出力部760に通知する。 The similarity vector calculation unit 750 is an example of a search unit, reads the feature vector information (product) 400 from the feature vector information (product) storage unit 151, and finds similarity to the converted feature vector notified from the image feature conversion unit 740. Find feature vectors that Further, the similarity vector calculation unit 750 notifies the searched feature vector to the search result output unit 760 .

検索結果出力部760は、類似ベクトル演算部750より通知された特徴ベクトルが対応付けられた商品情報を、検索結果として、検索要求の送信元のユーザ端末(ユーザ端末170_1~170_nのいずれか)に送信する。 The search result output unit 760 sends the product information associated with the feature vector notified from the similarity vector calculation unit 750 as the search result to the user terminal (any of the user terminals 170_1 to 170_n) that sent the search request. Send.

<商品情報登録処理の流れ>
次に、検索システム100における商品情報登録処理の流れについて説明する。図8は、検索システムにおける商品情報登録処理の流れを示すシーケンス図である。
<Product information registration process flow>
Next, the flow of product information registration processing in the search system 100 will be described. FIG. 8 is a sequence diagram showing the flow of product information registration processing in the search system.

ステップS801において、サーバ装置110の商品情報登録部130に含まれる画像特徴抽出部630は、特徴ベクトルを抽出するための学習モデル(特徴ベクトル算出用モデル。詳細は後述)を機械学習する際に用いる学習用画像を取得する。学習用画像には、例えば、登録情報格納部150内の登録情報300を構成する複数の商品情報の一部の商品情報に含まれる商品画像等が用いられる。なお、学習用画像に用いるのは、商品画像に限定されず、例えば、ネットワーク190上でダウンロード可能な任意の画像であってもよい。 In step S801, the image feature extraction unit 630 included in the product information registration unit 130 of the server device 110 uses a learning model (feature vector calculation model; details will be described later) for machine learning to extract feature vectors. Get training images. As the learning image, for example, a product image or the like included in a part of product information of a plurality of product information constituting the registration information 300 in the registration information storage unit 150 is used. Note that images to be used for learning images are not limited to product images, and may be any image that can be downloaded on the network 190, for example.

ステップS802において、画像特徴抽出部630は、取得した学習用画像を用いて、特徴ベクトル算出用モデルを機械学習する。 In step S802, the image feature extraction unit 630 machine-learns a feature vector calculation model using the acquired learning image.

ステップS810_1~S810_3において、ユーザ端末170_1~170_nは、ユーザ180_1~180_nより出品する商品についての商品情報の入力を受け付け、サーバ装置110に送信する。 In steps S810_1 to S810_3, the user terminals 170_1 to 170_n accept input of product information about products to be exhibited from the users 180_1 to 180_n, and transmit the input to the server device 110. FIG.

ステップS811_1~S811_3において、サーバ装置110の商品情報登録部130に含まれる商品情報取得部610は、受信した商品情報(ユーザ180_1~180_nが出品する商品についての商品情報)を、順次、登録情報格納部150に格納する。これにより、登録情報格納部150内に登録情報300が構成される。 In steps S811_1 to S811_3, the product information acquisition unit 610 included in the product information registration unit 130 of the server device 110 sequentially stores the received product information (product information on products exhibited by the users 180_1 to 180_n) as registered information. Stored in unit 150 . Thereby, the registration information 300 is configured in the registration information storage unit 150 .

ステップS820において、サーバ装置110の商品情報登録部130に含まれる商品情報(着用画像)選択部620、画像特徴抽出部630、人物特徴演算部640は、特徴ベクトル情報(人物)及び代表ベクトル生成処理を実行する。これにより、特徴ベクトル情報(人物)保存部152には、特徴ベクトル情報(人物)500及び代表ベクトル510が格納される。 In step S820, product information (wearing image) selection unit 620, image feature extraction unit 630, and person feature calculation unit 640 included in product information registration unit 130 of server device 110 perform feature vector information (person) and representative vector generation processing. to run. As a result, the feature vector information (person) storage unit 152 stores the feature vector information (person) 500 and the representative vector 510 .

ステップS830_1において、商品情報読み出し部650、画像特徴抽出部630は、特徴ベクトル情報(商品)生成処理を実行する。これにより、特徴ベクトル情報(商品)保存部151には、特徴ベクトル情報(商品)400が格納される。 In step S830_1, the product information reading unit 650 and the image feature extraction unit 630 execute feature vector information (product) generation processing. As a result, the feature vector information (product) 400 is stored in the feature vector information (product) storage unit 151 .

ステップS810_4~S810_6において、ユーザ端末170_1~170_nは、ユーザ180_1~180_nより商品情報の入力を受け付け、サーバ装置110に送信する。 In steps S810_4 to S810_6, the user terminals 170_1 to 170_n accept input of product information from the users 180_1 to 180_n and transmit it to the server device 110. FIG.

ステップS811_4~S811_6において、サーバ装置110の商品情報登録部130に含まれる商品情報取得部610は、受信した商品情報を、順次、登録情報格納部150に格納する。これにより、登録情報格納部150内の登録情報300が更新される。 In steps S811_4 to S811_6, the product information acquisition unit 610 included in the product information registration unit 130 of the server device 110 sequentially stores the received product information in the registered information storage unit 150. FIG. Thereby, the registration information 300 in the registration information storage unit 150 is updated.

ステップS830_2において、商品情報読み出し部650、画像特徴抽出部630は、特徴ベクトル情報(商品)生成処理を実行する。これにより、特徴ベクトル情報(商品)保存部151の特徴ベクトル情報(商品)400が更新される。以降、ステップS810_7~S810_9、ステップS811_7~S811_9においても同様の処理が繰り返される。 In step S830_2, the product information reading unit 650 and the image feature extraction unit 630 execute feature vector information (product) generation processing. As a result, the feature vector information (product) 400 in the feature vector information (product) storage unit 151 is updated. Thereafter, similar processing is repeated in steps S810_7 to S810_9 and steps S811_7 to S811_9.

このように、検索システム100では、はじめに特徴ベクトル情報(人物)及び代表ベクトル生成処理(ステップS820)を1回実行して、代表ベクトル510を生成する。以降、検索システム100では、登録情報300が複数回更新されるごとに(あるいは所定時間が経過するごとに)、特徴ベクトル情報(商品)生成処理を実行し、特徴ベクトル情報(商品)400を更新する。 In this way, the retrieval system 100 first executes the feature vector information (person) and representative vector generation process (step S820) once to generate the representative vector 510. FIG. Thereafter, in the search system 100, each time the registration information 300 is updated multiple times (or each time a predetermined period of time elapses), the feature vector information (product) generation process is executed to update the feature vector information (product) 400. do.

<商品情報検索処理の流れ>
次に、検索システム100における商品情報検索処理の流れについて説明する。図9は、検索システムにおける商品情報検索処理の流れを示すシーケンス図である。
<Product information search process flow>
Next, the flow of product information search processing in the search system 100 will be described. FIG. 9 is a sequence diagram showing the flow of product information search processing in the search system.

ステップS900_1において、ユーザ端末170_1~170_nは、ユーザ180_1~180_nより検索要求を受け付け、サーバ装置110に送信する。 In step S900_1, the user terminals 170_1-170_n receive search requests from the users 180_1-180_n and transmit them to the server device 110. FIG.

ステップS910_1において、サーバ装置110の商品情報検索部140は、商品情報検索処理を実行し、検索要求の送信元のユーザ端末(ユーザ端末170_1~170_nのいずれか)に、検索結果を送信する。 In step S910_1, the product information search unit 140 of the server device 110 executes product information search processing, and transmits the search result to the user terminal (one of the user terminals 170_1 to 170_n) that sent the search request.

ステップS901_1において、ユーザ端末170_1~170_nは、検索結果を受信して表示する。以降、検索システム100では、ユーザ端末170_1~170_nが検索要求を受け付けるごとに、サーバ装置110が商品情報検索処理を実行し、ユーザ端末170_1~170_nに検索結果を表示する。 In step S901_1, the user terminals 170_1-170_n receive and display the search results. Thereafter, in the search system 100, every time the user terminals 170_1 to 170_n receive a search request, the server device 110 executes product information search processing and displays the search results on the user terminals 170_1 to 170_n.

なお、図9に示す商品情報検索処理は、図8に示す商品情報登録処理のステップS810_1以降の処理と、並行して実行されるものとする。 Note that the product information search processing shown in FIG. 9 is executed in parallel with the processing after step S810_1 of the product information registration processing shown in FIG.

<商品情報登録処理の各工程の詳細>
次に、図8に示す商品情報登録処理に含まれる各工程(ここでは、特徴ベクトル算出用モデルの学習処理、特徴ベクトル情報(人物)及び代表ベクトル生成処理、特徴ベクトル情報(商品)生成処理)の詳細について説明する。
<Details of each step of the product information registration process>
Next, each process included in the product information registration process shown in FIG. 8 (here, feature vector calculation model learning process, feature vector information (person) and representative vector generation process, feature vector information (product) generation process) will be described in detail.

(1)特徴ベクトル算出用モデルの学習処理(ステップS802)の詳細
はじめに、特徴ベクトル算出用モデルの学習処理(ステップS802)の詳細について説明する。図10は、特徴ベクトル算出用モデルの学習処理を説明するための図である。画像特徴抽出部630では、学習用画像を読み出すと、特徴ベクトル算出用モデル1000に入力する。なお、学習用画像として一部の商品画像に含まれる商品画像を用いる場合にあっては、画像特徴抽出部630は、学習処理前に登録情報格納部150より当該商品情報を学習用画像として読み出し、特徴ベクトル算出用モデル1000に入力する。
(1) Details of Feature Vector Calculation Model Learning Processing (Step S802) First, details of the feature vector calculation model learning processing (Step S802) will be described. FIG. 10 is a diagram for explaining the learning process of the feature vector calculation model. The image feature extraction unit 630 reads out the learning image and inputs it to the feature vector calculation model 1000 . Note that when a product image included in some product images is used as the learning image, the image feature extraction unit 630 reads out the product information from the registered information storage unit 150 as the learning image before the learning process. , is input to the feature vector calculation model 1000 .

学習用画像には、予め、対応するカテゴリ、ブランド、模様等の商品属性情報が対応付けられており、特徴ベクトル算出用モデル1000は、学習用画像が入力されると、対応する商品属性情報が出力されるように、モデルパラメータの機械学習を行う。なお、特徴ベクトル算出用モデル1000は、ニューラルネットワーク(例えば、畳み込みニューラルネットワーク)等により構成されているものとする。 Product attribute information such as a corresponding category, brand, pattern, etc., is associated in advance with the learning image. Perform machine learning of the model parameters so that they are output. Note that the feature vector calculation model 1000 is assumed to be configured by a neural network (for example, a convolutional neural network) or the like.

これにより、画像特徴抽出部630では、特徴ベクトル算出用モデル1000について学習済みモデルを生成する。画像特徴抽出部630では、特徴ベクトル算出用モデル1000についての学習済みモデルを用いて、特徴ベクトルを抽出する。 As a result, the image feature extraction unit 630 generates a trained model for the feature vector calculation model 1000 . The image feature extraction unit 630 extracts feature vectors using a learned model of the feature vector calculation model 1000 .

(2)特徴ベクトル情報(人物)及び代表ベクトル生成処理(ステップS820)の詳細
次に、特徴ベクトル情報(人物)及び代表ベクトル生成処理(ステップS820)の詳細について説明する。図11は、特徴ベクトル情報(人物)及び代表ベクトル生成処理の流れを示すフローチャートである。
(2) Details of Feature Vector Information (Person) and Representative Vector Generation Processing (Step S820) Next, details of the feature vector information (person) and representative vector generation processing (Step S820) will be described. FIG. 11 is a flowchart showing the flow of feature vector information (person) and representative vector generation processing.

図11に示すように、ステップS1101において、商品情報(着用画像)選択部620は、登録情報格納部150内の登録情報300を構成する商品情報のうち、着用画像を含む商品情報を選択して読み出し、着用画像を取得する。 As shown in FIG. 11, in step S1101, the product information (wearing image) selection unit 620 selects product information including a wearing image from the product information constituting the registered information 300 in the registered information storage unit 150. Read out and acquire the wearing image.

ステップS1102において、画像特徴抽出部630は、特徴ベクトル算出用モデル1000についての学習済みモデルを用いて、特徴ベクトルを抽出する。図12は、特徴ベクトル情報(人物)及び代表ベクトル生成処理の処理内容を説明するための第1の図である。 In step S1102, the image feature extraction unit 630 extracts feature vectors using the learned model of the feature vector calculation model 1000. FIG. FIG. 12 is a first diagram for explaining processing contents of feature vector information (person) and representative vector generation processing.

図12に示すように、画像特徴抽出部630は、着用画像を、順次、学習済みモデル1200(特徴ベクトル算出用モデル1000についての学習済みモデルの第k層までを実行可能にした学習済みモデル)に入力する。これにより、画像特徴抽出部630では、順次、第k層より、特徴ベクトルを抽出する。学習済みモデルの中間層である第k層では、人間が認識しやすい特徴量が算出されるため、第k層を可視化し、特徴ベクトルを算出することで、人間が認識しやすい特徴ベクトルを抽出することができるからである。なお、第k層より抽出される特徴ベクトルは、各特徴量の値が非負値となるように構成されているものとする。特徴ベクトル間で演算を行う際、特徴量の値として負値が含まれていると、負値で減算するケースが生じることとなり、そのような場合、特徴量の値が正値側に振れることになるからである。つまり、減算したにも関わらず、人物の特徴量の影響が抑制されないといった事態を回避するためである。 As shown in FIG. 12 , the image feature extraction unit 630 sequentially extracts the worn image from the learned model 1200 (a learned model in which up to the k-th layer of the learned model for the feature vector calculation model 1000 can be executed). to enter. As a result, the image feature extraction unit 630 sequentially extracts feature vectors from the k-th layer. In the k-th layer, which is the intermediate layer of the trained model, features that are easy for humans to recognize are calculated. Therefore, by visualizing the k-th layer and calculating the feature vectors, extract feature vectors that are easy for humans to recognize. Because you can. It should be noted that the feature vector extracted from the k-th layer is configured such that the value of each feature amount is a non-negative value. When calculating between feature vectors, if a negative value is included in the feature value, there will be a case where the negative value is subtracted. In such a case, the feature value will swing to the positive side. Because it becomes In other words, this is to avoid a situation in which the influence of the person's feature amount is not suppressed despite the subtraction.

ステップS1103において、人物特徴演算部640は、代表ベクトル510を算出する。人物特徴演算部640は、例えば、各着用画像から抽出された各特徴ベクトルの平均値を算出することで、代表ベクトル510を算出する(図12参照)。なお、代表ベクトル510の算出方法は、これに限定されず、例えば、各着用画像の特徴ベクトルから、商品画像の特徴ベクトルを減算して、負値を非負化した後、平均値を算出することで、代表ベクトル510を算出してもよい。かかる算出方法によれば、着用画像の特徴ベクトルからそのまま代表ベクトルを算出する場合と比較して、商品画像を減算しすぎないというメリットがある。 In step S<b>1103 , the person feature calculation unit 640 calculates the representative vector 510 . For example, the person feature calculator 640 calculates the representative vector 510 by calculating the average value of each feature vector extracted from each wearing image (see FIG. 12). Note that the method of calculating the representative vector 510 is not limited to this. For example, the feature vector of the product image is subtracted from the feature vector of each wearing image, the negative values are made non-negative, and then the average value is calculated. , the representative vector 510 may be calculated. According to this calculation method, there is an advantage that the product image is not subtracted too much compared to the case where the representative vector is calculated directly from the feature vector of the wearing image.

ステップS1104において、人物特徴演算部640は、読み出された商品情報に、抽出した特徴ベクトルを対応付けることで、特徴ベクトル情報(人物)500を生成し、特徴ベクトル情報(人物)保存部152に保存する。また、人物特徴演算部640は、算出した代表ベクトルを、特徴ベクトル情報(人物)保存部152に保存する。 In step S<b>1104 , the person feature calculation unit 640 generates feature vector information (person) 500 by associating the read product information with the extracted feature vector, and stores the generated feature vector information (person) 500 in the feature vector information (person) storage unit 152 . do. In addition, the person feature calculation unit 640 stores the calculated representative vector in the feature vector information (person) storage unit 152 .

(3)特徴ベクトル情報(商品)生成処理(ステップS830_1等)の詳細
次に、特徴ベクトル情報(商品)生成処理(ステップS830_1等)の詳細について説明する。図13は、特徴ベクトル情報(商品)生成処理の流れを示すフローチャートである。
(3) Details of Feature Vector Information (Product) Generation Processing (Step S830_1, etc.) Next, details of the feature vector information (product) generation processing (Step S830_1, etc.) will be described. FIG. 13 is a flowchart showing the flow of feature vector information (product) generation processing.

図13に示すように、ステップS1301において、商品情報読み出し部650は、登録情報格納部150内の登録情報300を読み出し、各商品情報に含まれる商品画像を取得する。 As shown in FIG. 13, in step S1301, the product information reading unit 650 reads the registered information 300 in the registered information storage unit 150, and acquires product images included in each item of product information.

ステップS1302において、画像特徴抽出部630は、学習済みモデル1200を用いて、商品画像から特徴ベクトルを抽出する。図14は、特徴ベクトル情報(商品)生成処理の処理内容を説明するための図である。 In step S1302, the image feature extraction unit 630 uses the trained model 1200 to extract feature vectors from the product image. FIG. 14 is a diagram for explaining the processing contents of the feature vector information (product) generation processing.

図14に示すように、画像特徴抽出部630は、商品画像を、順次、学習済みモデル1200(特徴ベクトル算出用モデル1000についての学習済みモデルの第k層までを実行可能にした学習済みモデル)に入力する。これにより、画像特徴抽出部630では、順次、第k層より、特徴ベクトル1410_1~1410_pを抽出する。なお、上述したとおり、第k層より抽出される特徴ベクトル1410_1~1410_pは、各特徴量の値が非負値となるように構成されている。 As shown in FIG. 14, the image feature extraction unit 630 sequentially extracts product images from a trained model 1200 (a trained model in which up to the k-th layer of the trained model for the feature vector calculation model 1000 is made executable). to enter. As a result, the image feature extraction unit 630 sequentially extracts feature vectors 1410_1 to 1410_p from the k-th layer. Note that, as described above, the feature vectors 1410_1 to 1410_p extracted from the k-th layer are configured so that the value of each feature amount is a non-negative value.

ステップS1303において、画像特徴抽出部630は、読み出された商品情報に、抽出した特徴ベクトルを対応付けることで、特徴ベクトル情報(商品)400を生成し、特徴ベクトル情報(商品)保存部151に保存する。 In step S<b>1303 , the image feature extraction unit 630 generates feature vector information (product) 400 by associating the read product information with the extracted feature vector, and stores the generated feature vector information (product) 400 in the feature vector information (product) storage unit 151 . do.

<商品情報検索処理の詳細>
次に、商品情報検索処理(ステップS910_1等)の詳細について説明する。図15は、商品情報検索処理の流れを示すフローチャートである。図15に示すように、ステップS1501において、クエリ画像取得部710は、ユーザ端末170_1~170_nから検索要求を受信し、受信した検索要求に含まれるクエリ画像を取得する。
<Details of product information search processing>
Next, details of the product information search processing (step S910_1, etc.) will be described. FIG. 15 is a flow chart showing the flow of product information search processing. As shown in FIG. 15, in step S1501, the query image acquisition unit 710 receives search requests from the user terminals 170_1 to 170_n and acquires query images included in the received search requests.

ステップS1502において、検索対象物検出部720は、取得されたクエリ画像から、検索対象の商品を含む領域を検索対象領域として検出する。 In step S<b>1502 , the search target object detection unit 720 detects a region including the product to be searched as a search target region from the acquired query image.

ステップS1503において、画像特徴抽出部630は、取得されたクエリ画像の検索対象領域から特徴ベクトルを抽出する。図16は、商品情報検索処理の処理内容を説明するための図である。図16に示すように、画像特徴抽出部630は、クエリ画像から検出した検索対象領域を、学習済みモデル1200(特徴ベクトル算出用モデル1000についての学習済みモデルの第k層までを実行可能にした学習済みモデル)に入力する。これにより、画像特徴抽出部630では、第k層より、検索対象領域の特徴ベクトル1600を抽出する。なお、上述したとおり、第k層より抽出される特徴ベクトル1600は、各特徴量の値が非負値となるように構成されている。 In step S1503, the image feature extraction unit 630 extracts feature vectors from the search target area of the acquired query image. FIG. 16 is a diagram for explaining the details of the product information search process. As shown in FIG. 16, the image feature extraction unit 630 extracts the search target region detected from the query image by the trained model 1200 (the learned model for the feature vector calculation model 1000, which is made executable up to the k-th layer). trained model). As a result, the image feature extraction unit 630 extracts the feature vector 1600 of the search target area from the k-th layer. Note that, as described above, the feature vector 1600 extracted from the k-th layer is configured such that the value of each feature amount is a non-negative value.

ステップS1504において、画像特徴変換部740は、特徴ベクトル情報(人物)保存部152に格納された代表ベクトル510を読み出し、ステップS1503において抽出された検索対象領域の特徴ベクトル1600から、代表ベクトル510を減算する。これにより、画像特徴変換部740は、減算後の特徴ベクトルを算出する。 In step S1504, the image feature conversion unit 740 reads the representative vector 510 stored in the feature vector information (person) storage unit 152, and subtracts the representative vector 510 from the feature vector 1600 of the search target region extracted in step S1503. do. Thereby, the image feature conversion unit 740 calculates a feature vector after subtraction.

ステップS1505において、画像特徴変換部740は、減算後の特徴ベクトルについて、負値の特徴量をゼロ値に変換する(非負化する)。これにより、画像特徴変換部740は、変換後の特徴ベクトルを算出する。 In step S1505, the image feature transforming unit 740 transforms negative feature amounts into zero values (non-negative) in the feature vectors after subtraction. Thereby, the image feature conversion unit 740 calculates a feature vector after conversion.

ステップS1506において、類似ベクトル演算部750は、特徴ベクトル情報(商品)保存部151より、特徴ベクトル情報(商品)400を読み出し、変換後の特徴ベクトルに類似する特徴ベクトルを検索する。 In step S1506, the similarity vector calculation unit 750 reads the feature vector information (product) 400 from the feature vector information (product) storage unit 151, and searches for a feature vector similar to the post-conversion feature vector.

ステップS1507において、検索結果出力部760は、類似ベクトル演算部750により検索された特徴ベクトルが対応付けられた商品情報を、特徴ベクトル情報(商品)400において特定する。また、検索結果出力部760は、特定した商品情報を、検索結果として、検索要求の送信元のユーザ端末(ユーザ端末170_1~170_nのいずれか)に送信する。 In step S<b>1507 , the search result output unit 760 identifies product information associated with the feature vector searched by the similarity vector calculation unit 750 in the feature vector information (product) 400 . In addition, the search result output unit 760 transmits the specified product information as a search result to the user terminal (any of the user terminals 170_1 to 170_n) that sent the search request.

<商品情報検索処理の具体例>
次に、商品情報検索処理の具体例について説明する。図17は、商品情報検索処理の具体例を示す図である。図17に示す各特徴ベクトルは、横軸が特徴量の項目であり、縦軸が特徴量の値を示している。
<Specific example of product information search processing>
Next, a specific example of product information search processing will be described. FIG. 17 is a diagram showing a specific example of product information search processing. In each feature vector shown in FIG. 17, the horizontal axis indicates the item of the feature amount, and the vertical axis indicates the value of the feature amount.

画像特徴変換部740では、検索対象領域の特徴ベクトル1600から、代表ベクトル510を減算することで、減算後の特徴ベクトル1701を算出する。これにより、減算後の特徴ベクトル1701は、検索対象の特徴量が非検索対象の特徴量よりも重み付けされたことになる(クエリ画像に含まれる人物の特徴量の影響を抑制することができる)。 The image feature conversion unit 740 subtracts the representative vector 510 from the feature vector 1600 of the search target area to calculate a feature vector 1701 after subtraction. As a result, in the feature vector 1701 after subtraction, the feature amount of the search target is weighted more than the feature amount of the non-search target (the influence of the feature amount of the person included in the query image can be suppressed). .

ここで、画像特徴変換部740では、特徴量の項目ごとに、特徴量の値を減算するため、特徴量の項目によっては、減算後の特徴量の値が、負値になる場合がある(点線領域1702参照)。 Here, in the image feature conversion unit 740, since the value of the feature amount is subtracted for each feature amount item, the value of the feature amount after subtraction may be a negative value depending on the item of the feature amount ( See dotted line area 1702).

画像特徴変換部740では、減算後の特徴ベクトル1701のうち、特徴量の値が負値となった項目について、特徴量の値をゼロに変換する(点線領域1704参照)。これにより、画像特徴変換部740では、変換後の特徴ベクトル1703を算出する。 The image feature conversion unit 740 converts the value of the feature amount to zero for the item whose feature amount value is a negative value in the feature vector 1701 after the subtraction (see the dotted line area 1704). Accordingly, the image feature conversion unit 740 calculates a feature vector 1703 after conversion.

類似ベクトル演算部750では、特徴ベクトル情報(商品)保存部151より読み出した各商品情報に含まれる商品画像の特徴ベクトル1410_1~1410_pの中から、変換後の特徴ベクトル1703との類似度が高い商品画像の特徴ベクトルを検索する。 The similarity vector calculation unit 750 selects a product having a high degree of similarity with the post-conversion feature vector 1703 from among the product image feature vectors 1410_1 to 1410_p included in each product information read from the feature vector information (product) storage unit 151. Find the feature vector of an image.

なお、類似ベクトル演算部750では、類似度が所定の閾値以上の複数の商品画像の特徴ベクトルを検索してもよいし、類似度が最も高い商品画像の特徴ベクトルを検索してもよい。図17の例は、紙面の都合上、類似度が最も高い商品画像の特徴ベクトル1410_iを検索した様子を示している。 Note that the similarity vector calculation unit 750 may search for feature vectors of a plurality of product images whose similarities are equal to or greater than a predetermined threshold, or may search for the feature vector of the product image with the highest similarity. Due to space limitations, the example in FIG. 17 shows a state in which the feature vector 1410_i of the product image with the highest degree of similarity is retrieved.

検索結果出力部760は、商品画像の特徴ベクトル1410_iが対応付けられた商品情報1710を、特徴ベクトル情報(商品)保存部151より読み出す。また、検索結果出力部760は、読み出した商品情報1710を、検索結果として、検索要求の送信元のユーザ端末(ユーザ端末170_1~170_nのいずれか)に送信する。 The search result output unit 760 reads the product information 1710 associated with the product image feature vector 1410 — i from the feature vector information (product) storage unit 151 . In addition, the search result output unit 760 transmits the read product information 1710 as a search result to the user terminal (one of the user terminals 170_1 to 170_n) that sent the search request.

<商品情報検索処理の検索結果の具体例>
次に、ユーザ端末170_1~170_nの検索画面に表示される検索結果の具体例について説明する。図18は、ユーザ端末の検索画面に表示される検索結果の一例を示す第1の図である。
<Specific example of search result of product information search process>
Next, specific examples of search results displayed on the search screens of the user terminals 170_1 to 170_n will be described. FIG. 18 is a first diagram showing an example of search results displayed on the search screen of the user terminal.

図18に示すように、検索画面1800には、クエリ画像を読み込むための"クエリ画像読み込み"ボタン1811と、読み込んだクエリ画像を表示するクエリ画像表示欄1801とが含まれる。また、検索画面1800には、クエリ画像を含む検索要求を送信するための"検索要求"ボタン1812と、検索要求の送信に応じてサーバ装置110から送信された検索結果を表示する検索結果表示欄1821とが含まれる。 As shown in FIG. 18, the search screen 1800 includes a "read query image" button 1811 for reading a query image and a query image display field 1801 for displaying the read query image. The search screen 1800 also includes a "search request" button 1812 for sending a search request including a query image, and a search result display field for displaying search results sent from the server apparatus 110 in response to the search request. 1821 are included.

図18(a)は、サーバ装置110にて、商品情報検索部140による商品情報検索処理(図15参照)が実行された場合の検索結果(ここでは、15個の商品画像)が表示された様子を示している。 FIG. 18(a) shows the search result (here, 15 product images) when the product information search process (see FIG. 15) is executed by the product information search unit 140 in the server device 110. showing the situation.

図18(a)に示すように、商品情報検索部140による商品情報検索処理によれば、クエリ画像内に、衣服と該衣服を着た人物とが含まれていた場合でも、当該衣服に類似する衣服を含み、かつ、人物を含まない商品画像を検索することができる。 As shown in FIG. 18A, according to the product information search processing by the product information search unit 140, even if the query image includes clothes and a person wearing the clothes, It is possible to search for product images that include clothes that do not include people.

一方、図18(b)は、比較例として、一般的な商品情報検索処理が実行された場合の検索結果が表示された様子を示している。 On the other hand, FIG. 18B shows, as a comparative example, how search results are displayed when general product information search processing is executed.

図18(b)に示すように、一般的な商品情報検索処理によれば、クエリ画像内に、衣服と該衣服を着た人物とが含まれていた場合、人物を含む商品画像が検索されることになる。 As shown in FIG. 18B, according to general product information retrieval processing, when a query image includes clothes and a person wearing the clothes, product images including the person are retrieved. will be

つまり、一般的な商品情報検索処理の場合、クエリ画像内に含まれる非検索対象に類似する商品画像が検索される。 That is, in general product information search processing, product images similar to non-search targets included in the query image are searched.

これに対して、商品情報検索部140による商品情報検索処理によれば、上述したとおり、クエリ画像内に含まれる検索対象と類似する商品を含み、かつ、クエリ画像内に含まれる非検索対象を含まない商品画像を検索することができる。 On the other hand, according to the product information search processing by the product information search unit 140, as described above, the non-search target included in the query image includes products similar to the search target included in the query image. You can search for product images that do not contain.

図19は、ユーザ端末の検索画面に表示される検索結果の一例を示す第2の図である。なお、検索画面1800内の構成は、図18に示した検索画面1800内の構成と同じであるため、ここでは、検索画面1800内の構成の説明は省略する。 FIG. 19 is a second diagram showing an example of search results displayed on the search screen of the user terminal. Since the configuration within search screen 1800 is the same as the configuration within search screen 1800 shown in FIG. 18, description of the configuration within search screen 1800 is omitted here.

図18との相違点は、クエリ画像表示欄1801に表示されるクエリ画像である。図19のクエリ画像表示欄1801に表示されたクエリ画像の場合、衣服を着た人物の背景に模様が映っている。 A difference from FIG. 18 is the query image displayed in the query image display field 1801 . In the case of the query image displayed in the query image display field 1801 of FIG. 19, a pattern is reflected in the background of the person wearing clothes.

図19(a)に示すように、商品情報検索部140によれば、図18(a)と同様に、クエリ画像内に、検索対象の衣服と該衣服を着た人物とが含まれていた場合でも、当該衣服に類似する衣服を含み、かつ、人物を含まない商品画像を検索することができる。加えて、図19(a)の場合、衣服を着た人物の背景に模様が含まれている場合であっても、背景の模様に類似する商品画像が検索されることはない。検索対象物検出部720により、検索対象の商品を含む領域が検索対象領域として検出されるためである。なお、クエリ画像表示欄1801に表示されたクエリ画像中の矩形領域は、検索対象物検出部720により検出された検索対象領域を示している。 As shown in FIG. 19(a), according to the product information search unit 140, the query image includes the clothes to be searched and the person wearing the clothes, as in FIG. 18(a). Even in this case, it is possible to search for product images that include clothing similar to the clothing in question and that do not include a person. In addition, in the case of FIG. 19A, even if a pattern is included in the background of a person wearing clothes, no product image similar to the background pattern is retrieved. This is because the search target object detection unit 720 detects an area including the product to be searched as a search target area. Note that the rectangular area in the query image displayed in the query image display field 1801 indicates the search target area detected by the search target object detection unit 720 .

一方、図19(b)は、比較例として、検索対象物検出部720が、検索対象の商品を含む領域を検索対象領域として検出する処理を実行しなかった場合の検索結果が表示された様子を示している。 On the other hand, FIG. 19B shows, as a comparative example, a state in which search results are displayed when the search target detection unit 720 does not execute processing for detecting an area including a search target product as a search target area. is shown.

図19(b)に示すように、検索対象領域を検出する処理を実行しなかった場合、クエリ画像内に含まれる、検索対象領域以外の領域に類似する商品画像が検索されることになる。 As shown in FIG. 19B, if the search target area detection process is not executed, product images similar to areas other than the search target area included in the query image are retrieved.

つまり、検索対象領域を検出する処理を実行しなかった場合、クエリ画像内に含まれる非検索対象に類似する商品画像が検索される。 That is, when the process of detecting the search target area is not executed, product images similar to the non-search target included in the query image are searched.

これに対して、商品情報検索部140による商品情報検索処理によれば、上述したとおり、クエリ画像内に含まれる検索対象と類似する商品を含み、かつ、クエリ画像内に含まれる非検索対象を含まない商品画像を検索することができる。 On the other hand, according to the product information search processing by the product information search unit 140, as described above, the non-search target included in the query image includes products similar to the search target included in the query image. You can search for product images that do not contain.

<まとめ>
以上の説明から明らかなように、第1の実施形態に係るサーバ装置では、
・ユーザ端末より送信された検索要求を受信し、クエリ画像を取得する。
・クエリ画像内に検索対象(例えば、衣服)と非検索対象(例えば、人物)の両方が含まれていた場合に、複数の商品画像の中から、検索対象に類似する商品を含み、かつ、非検索対象を含まない商品画像を検索する。
<Summary>
As is clear from the above description, in the server device according to the first embodiment,
・Receive a search request sent from a user terminal and acquire a query image.
・If the query image contains both a search target (e.g., clothes) and a non-search target (e.g., person), among multiple product images, include products similar to the search target, and Search for product images that do not include non-search targets.

これにより、第1の実施形態に係るサーバ装置によれば、クエリ画像を用いた商品検索において、検索対象に応じた検索結果を出力することができる。 Thus, according to the server device according to the first embodiment, it is possible to output search results corresponding to search targets in product searches using query images.

[第2の実施形態]
上記第1の実施形態では、登録情報300より、着用画像を含む商品情報を選択し、着用画像を、順次、学習済みモデル1200に入力することで抽出される特徴ベクトルから代表ベクトルを算出するものとして説明した。しかしながら、代表ベクトルの算出方法はこれに限定されない。
[Second embodiment]
In the above-described first embodiment, product information including wearing images is selected from the registered information 300, and the wearing images are sequentially input to the trained model 1200 to calculate the representative vector from the extracted feature vectors. explained as. However, the method of calculating representative vectors is not limited to this.

例えば、着用画像を含む商品画像を選択した際、選択した商品画像をカテゴリごとに分類し、分類したカテゴリごとに代表ベクトル候補を抽出したうえで、代表ベクトルを算出してもよい。 For example, when a product image including a wearing image is selected, the selected product image may be classified by category, representative vector candidates may be extracted for each classified category, and then the representative vector may be calculated.

図20は、特徴ベクトル情報(人物)生成処理の処理内容を説明するための第2の図である。図12との相違点は、図20の場合、着用画像をカテゴリごとに分類し、カテゴリごとに学習済みモデル1200に、順次、入力する点である。 FIG. 20 is a second diagram for explaining the processing contents of the feature vector information (person) generation processing. The difference from FIG. 12 is that in the case of FIG. 20, wearing images are classified by category and sequentially input to the trained model 1200 for each category.

これにより、例えば、カテゴリ1に分類された着用画像については、カテゴリ1の特徴ベクトルが抽出され、カテゴリ2に分類された着用画像については、カテゴリ2の特徴ベクトルが抽出される。更に、カテゴリxに分類された着用画像については、カテゴリxの特徴ベクトルが抽出される。 As a result, for example, category 1 feature vectors are extracted for wearing images classified into category 1, and category 2 feature vectors are extracted for wearing images classified into category 2. Furthermore, for wearing images classified into category x, feature vectors of category x are extracted.

ここで、第2の実施形態において、人物特徴演算部640は、カテゴリごとに抽出した特徴ベクトルに基づいて、カテゴリごとに代表ベクトル候補を算出する。更に、人物特徴演算部640は、各カテゴリの代表ベクトル候補を取得し、平均値を算出することで、代表ベクトル2000を算出する。 Here, in the second embodiment, the person feature calculation unit 640 calculates representative vector candidates for each category based on feature vectors extracted for each category. Furthermore, the person characteristic calculation unit 640 acquires representative vector candidates for each category and calculates a representative vector 2000 by calculating an average value.

ただし、代表ベクトル2000の算出方法は、これに限定されない。例えば、カテゴリごとに、各着用画像の特徴ベクトルから商品画像の特徴ベクトルを減算して、負値を非負化した後、カテゴリ間で平均値を算出することで、代表ベクトル2000を算出してもよい。 However, the method of calculating the representative vector 2000 is not limited to this. For example, for each category, the feature vector of the product image is subtracted from the feature vector of each wearing image, the negative values are non-negative, and then the average value is calculated between the categories to calculate the representative vector 2000. good.

以上の説明から明らかなように、第2の実施形態に係るサーバ装置では、着用画像に基づいて代表ベクトルを算出する際、カテゴリに応じた代表ベクトル候補を算出したうえで、代表ベクトルを算出する。 As is clear from the above description, in the server device according to the second embodiment, when calculating the representative vector based on the wearing image, the representative vector candidate is calculated according to the category, and then the representative vector is calculated. .

これにより、第2の実施形態に係るサーバ装置によれば、上記第1の実施形態と同様の効果を享受できるとともに、更に、代表ベクトルを最適化することができる。 As a result, according to the server device according to the second embodiment, it is possible to obtain the same effects as those of the first embodiment, and to further optimize the representative vector.

[第3の実施形態]
上記第1及び第2の実施形態では、商品情報検索処理を実行するにあたり、ユーザ端末170_1~170_nに検索画面1800を表示するものとして説明した。しかしながら、検索画面1800以外の画面(例えば、チャット画面)を介して、商品情報検索処理を実行するように構成してもよい。
[Third embodiment]
In the first and second embodiments, the search screen 1800 is displayed on the user terminals 170_1 to 170_n when executing the product information search process. However, the product information search process may be executed via a screen other than the search screen 1800 (for example, a chat screen).

図21は、ユーザ端末のチャット画面の一例を示す図である。なお、図21では、縦方向にスクロールすることで表示される表示内容を1つの図に納めるために、画面の縦方向の長さを長くして図示している。 FIG. 21 is a diagram illustrating an example of a chat screen of a user terminal; In FIG. 21, the length of the screen in the vertical direction is increased in order to fit the display contents displayed by scrolling in the vertical direction into one figure.

図21に示すように、チャット画面においてクエリ画像2101を入力することで、質問2102("画像で検索しますか?")が表示されるため、ユーザ180_1~180_nは、回答2103("はい")を入力する。これにより、クエリ画像2101を含む検索要求がサーバ装置110に送信され、サーバ装置110にて、商品情報検索処理が実行されることで、チャット画面2100には、検索結果2104が表示される。 As shown in FIG. 21, by inputting a query image 2101 on the chat screen, a question 2102 ("Do you want to search by image?") is displayed. ). As a result, a search request including the query image 2101 is transmitted to the server device 110 , and the server device 110 executes product information search processing, thereby displaying a search result 2104 on the chat screen 2100 .

このように、チャット画面2100によれば、ユーザ180_1~180_nは、"検索要求"ボタンを押圧する代わりに、チャットを介して、検索要求を送信することができる。 Thus, according to the chat screen 2100, the users 180_1 to 180_n can send search requests via chat instead of pressing the "search request" button.

[その他の実施形態]
上記第1及び第2の実施形態では、商品情報検索部140の各部(クエリ画像取得部710~検索結果出力部760)を、サーバ装置110側に設けるものとして説明した。しかしながら、商品情報検索部140の一部の機能については、ユーザ端末170_1~170_n側に設けてもよい。例えば、クエリ画像取得部710、検索対象物検出部720、画像特徴抽出部630は、ユーザ端末170_1~170_n側に設けてもよい。
[Other embodiments]
In the first and second embodiments described above, each section (query image acquisition section 710 to search result output section 760) of the product information search section 140 is provided on the server device 110 side. However, some functions of the product information search unit 140 may be provided on the user terminals 170_1 to 170_n. For example, the query image acquisition unit 710, the search object detection unit 720, and the image feature extraction unit 630 may be provided on the user terminals 170_1 to 170_n.

これにより、サーバ装置110では、ユーザ端末170_1~170_nから、特徴ベクトルを受信して、商品情報検索処理を実行することができる。ただし、この場合、ユーザ端末170_1~170_nは、事前に学習済みモデル1200を取得しておく必要がある。 As a result, the server apparatus 110 can receive feature vectors from the user terminals 170_1 to 170_n and execute product information search processing. However, in this case, the user terminals 170_1 to 170_n must acquire the learned model 1200 in advance.

あるいは、クエリ画像取得部710、検索対象物検出部720、画像特徴抽出部630、画像特徴変換部740は、ユーザ端末170_1~170_n側に設けてもよい。これにより、サーバ装置110では、ユーザ端末170_1~170_nから、変換後の特徴ベクトルを受信して、商品情報検索処理を実行することができる。ただし、この場合、ユーザ端末170_1~170_nは、事前に学習済みモデル1200及び代表ベクトル510を取得しておく必要がある。 Alternatively, the query image acquisition unit 710, search object detection unit 720, image feature extraction unit 630, and image feature conversion unit 740 may be provided on the user terminals 170_1 to 170_n side. As a result, the server apparatus 110 can receive the converted feature vectors from the user terminals 170_1 to 170_n and execute the product information search process. However, in this case, the user terminals 170_1 to 170_n must acquire the trained model 1200 and the representative vector 510 in advance.

あるいは、商品情報検索部140の全ての機能を、ユーザ端末170_1~170_n側に設けてもよい。これにより、ユーザ端末170_1~170_nでは商品情報検索処理を実行することができる。ただし、この場合、ユーザ端末170_1~170_nは、事前に学習済みモデル1200及び代表ベクトル510を取得しておくとともに、定期的に、特徴ベクトル情報(商品)400を取得しておく必要がある。商品点数が多くない場合や、商品の更新頻度が低い場合に有効である。 Alternatively, all functions of the product information search unit 140 may be provided on the user terminals 170_1 to 170_n. This allows the user terminals 170_1 to 170_n to execute product information search processing. However, in this case, the user terminals 170_1 to 170_n need to acquire the learned model 1200 and the representative vector 510 in advance, and acquire the feature vector information (product) 400 periodically. This is effective when the number of products is not large or when the frequency of product updates is low.

また、上記第1及び第2の実施形態において、特徴ベクトル情報(人物)及び代表ベクトル生成処理は、1回のみ実行し、特徴ベクトル情報(商品)生成処理は、例えば、所定時間が経過するごとに実行するものとして説明した。しかしながら、特徴ベクトル情報(人物)及び代表ベクトル生成処理についても、特徴ベクトル情報(商品)生成処理と同様に、所定時間が経過するごとに実行するように構成してもよい。また、特徴ベクトル情報(商品)生成処理は、商品情報が格納され、登録情報が更新されるごとに実行するように構成してもよい。 Further, in the first and second embodiments, the feature vector information (person) and representative vector generation processing is executed only once, and the feature vector information (product) generation processing is executed, for example, every time a predetermined time elapses. was explained as being executed on However, the feature vector information (person) and representative vector generation processing may also be configured to be executed each time a predetermined time elapses, similarly to the feature vector information (merchandise) generation processing. Further, the feature vector information (product) generation process may be configured to be executed each time product information is stored and registration information is updated.

また、上記第1及び第2の実施形態では、検索対象を衣服とし、非検索対象を当該衣服を着用した人物とした。そして、当該人物が当該衣服を着用した着用画像について代表ベクトルを算出する構成とした。しかしながら、検索対象は衣服に限定されず、アクセサリや小物等であってもよい。この場合、非検索対象は、当該アクセサリを身に着けた人物や、当該小物を保持する人物となる。そして、当該人物がアクセサリを身に着けた(あるいは小物を保持した)着用画像について代表ベクトルが算出されることになる。 Further, in the first and second embodiments described above, the search target is clothes, and the non-search target is the person who wears the clothes. Then, a representative vector is calculated for a wearing image in which the person wears the clothes. However, the search target is not limited to clothing, and may be accessories, accessories, and the like. In this case, the non-search target is the person wearing the accessory or the person holding the accessory. Then, a representative vector is calculated for a wearing image in which the person wears the accessory (or holds the accessory).

つまり、着用画像には、衣服を着用することのほか、アクセサリを身に付けたり、小物を保持することなど、検索対象とともに撮影された人物が含まれる画像全般が含まれるものとする。 In other words, the wearing image includes all images including a person photographed together with the search target, such as wearing clothes, wearing accessories, holding small items, and the like.

また、非検索対象は、人物に限定されず、例えば、商品が椅子に載置された画像においては、椅子を非検索対象としてもよい。あるいは、商品がハンガにかかっている画像においては、ハンガを非検索対象としてもよい。ただし、これらを非検索対象とする場合には、これらを含む画像に基づいて、代表ベクトルを算出しておく必要がある。 Non-search targets are not limited to people. For example, in an image in which a product is placed on a chair, a chair may be a non-search target. Alternatively, in an image in which a product is hung on a hanger, the hanger may be set as a non-search target. However, if these are not to be searched, it is necessary to calculate a representative vector based on an image containing them.

また、上記第1及び第2の実施形態では、検索結果として、商品ID、商品属性情報、商品画像等を送信するものとして説明したが、商品ID、商品属性情報、商品画像のうちの少なくとも1つを送信するようにしてもよい。また、検索結果として、商品ID、商品属性情報、商品画像以外の情報を送信するようにしてもよい。 Further, in the first and second embodiments described above, the product ID, product attribute information, product image, etc. are transmitted as search results. You may choose to send one. Information other than the product ID, product attribute information, and product image may be transmitted as the search result.

また、上記第1の実施形態では、クエリ画像内に、衣服と該衣服を着た人物とが含まれていた場合でも、商品情報検索部140によれば、当該衣服に類似する衣服を含み、かつ、人物を含まない商品画像を検索することができることを示した。しかしながら、商品情報検索部140による商品情報検索処理の効果はこれに限定されない。クエリ画像内に、衣服のみが含まれる場合(つまり、クエリ画像が着用画像でない場合)でも、商品情報検索部140によれば、当該衣服に類似する衣服を含み、かつ、人物を含まない商品画像を検索することができることはいうまでもない。 Further, in the first embodiment, even if the query image includes clothes and a person wearing the clothes, the product information search unit 140 can find clothes similar to the clothes, In addition, it was shown that it is possible to retrieve product images that do not include people. However, the effect of the product information search processing by the product information search unit 140 is not limited to this. Even when the query image contains only clothes (that is, when the query image is not a wearing image), the product information search unit 140 finds a product image that contains clothes similar to the clothes and does not contain a person. It goes without saying that you can search for

また、上記第1及び第2の実施形態において、商品情報検索部140は、クエリ画像において人物の特徴量の影響を抑えるように、変換後の特徴ベクトルを算出した。しかしながら、変換後の特徴ベクトルの算出方法はこれに限定されず、例えば、クエリ画像においてユーザの趣味嗜好がより明確になるように、変換後の特徴ベクトルを算出してもよい。これにより、ユーザに対する商品のレコメンド処理を実現することが可能になる。 In addition, in the first and second embodiments, the product information search unit 140 calculates the post-conversion feature vector so as to suppress the influence of the person's feature amount on the query image. However, the method of calculating the feature vector after conversion is not limited to this, and for example, the feature vector after conversion may be calculated so that the user's tastes and preferences are clearer in the query image. This makes it possible to implement product recommendation processing for the user.

また、上記第1及び第2の実施形態では、商品情報検索部140が検索する対象画像が、商品画像の場合について説明した。しかしながら、商品情報検索部140が検索する対象画像は、商品画像に限定されない。例えば、情景画像や絵画画像等であってもよい。ただし、情景画像の場合には、例えば、クエリ画像において、電柱や自動車の特徴量の影響を抑えるように、変換後の特徴ベクトルを算出することになる。また、絵画画像の場合には、例えば、クエリ画像において、額縁の形状の特徴量の影響を抑えるように、変換後の特徴ベクトルを算出することになる。 Further, in the first and second embodiments, the case where the target image searched by the product information search unit 140 is a product image has been described. However, the target images searched by the product information search unit 140 are not limited to product images. For example, it may be a scene image, a painting image, or the like. However, in the case of a scene image, for example, in the query image, the post-conversion feature vector is calculated so as to suppress the influence of the feature amounts of utility poles and automobiles. In the case of a painting image, for example, in the query image, the post-conversion feature vector is calculated so as to suppress the influence of the feature amount of the frame shape.

また、上記第1及び第2の実施形態では、検索対象に類似する商品を含み、かつ、非検索対象を含まない商品画像を検索する場合について説明した。しかしながら、検索する画像は商品画像に限定されず、例えば、検索対象に類似する物品を含み、かつ、非検索対象を含まない任意の画像を検索してもよい。 Further, in the first and second embodiments, the case of searching for product images that include products similar to the search target and that do not include non-search targets has been described. However, images to be searched are not limited to product images, and for example, any image that includes an article similar to the search target and does not include non-search targets may be searched.

なお、上記実施形態に挙げた構成等に、その他の要素との組み合わせなど、ここで示した構成に本発明が限定されるものではない。これらの点に関しては、本発明の趣旨を逸脱しない範囲で変更することが可能であり、その応用形態に応じて適切に定めることができる。 It should be noted that the present invention is not limited to the configurations shown here, such as combinations with other elements, to the configurations listed in the above embodiments. These points can be changed without departing from the gist of the present invention, and can be determined appropriately according to the application form.

100 :検索システム
110 :サーバ装置
120 :フリーマーケットサービス部
130 :商品情報登録部
140 :商品情報検索部
150 :登録情報格納部
151 :特徴ベクトル情報(商品)保存部
152 :特徴ベクトル情報(人物)保存部
170_1~170_n :ユーザ端末
300 :登録情報
400 :特徴ベクトル情報(商品)
500 :特徴ベクトル情報(人物)
510 :代表ベクトル
610 :商品情報取得部
620 :商品情報(着用画像)選択部
630 :画像特徴抽出部
640 :人物特徴演算部
650 :商品情報読み出し部
710 :クエリ画像取得部
720 :検索対象物検出部
740 :画像特徴変換部
750 :類似ベクトル演算部
760 :検索結果出力部
1000 :特徴ベクトル算出用モデル
1200 :学習済みモデル
1410_1~1410_p :商品画像の特徴ベクトル
1600 :検索対象領域の特徴ベクトル
1701 :減算後の特徴ベクトル
1703 :変換後の特徴ベクトル
1800 :検索画面
2000 :代表ベクトル
100: Search system 110: Server device 120: Flea market service unit 130: Product information registration unit 140: Product information search unit 150: Registered information storage unit 151: Feature vector information (product) storage unit 152: Feature vector information (person) Storage units 170_1 to 170_n: User terminal 300: Registration information 400: Feature vector information (product)
500: Feature vector information (person)
510 : representative vector 610 : product information acquisition unit 620 : product information (wearing image) selection unit 630 : image feature extraction unit 640 : person feature calculation unit 650 : product information reading unit 710 : query image acquisition unit 720 : search target object detection Unit 740: Image feature conversion unit 750: Similarity vector calculation unit 760: Search result output unit 1000: Feature vector calculation model 1200: Trained models 1410_1 to 1410_p: Product image feature vector 1600: Search target region feature vector 1701: Feature vector 1703 after subtraction: Feature vector 1800 after conversion: Search screen 2000: Representative vector

Claims (9)

クエリ画像を入力する入力工程と、
前記クエリ画像内に検索対象と非検索対象とが含まれていた場合に、前記クエリ画像の特徴量から前記非検索対象部分の特徴量を取り除いた特徴量と複数の画像の特徴量とに基づいて、複数の画像の中から、該検索対象に類似する物品を含み、かつ、該非検索対象を含まない画像を検索する検索工程と
をコンピュータに実行させるための検索プログラム。
an input step of inputting a query image;
When the query image includes a search target and a non-search target , based on the feature quantity obtained by removing the feature quantity of the non-search target part from the feature quantity of the query image and the feature quantity of a plurality of images a search program for causing a computer to execute a search step of searching, from among a plurality of images, an image containing an article similar to the search target and not containing the non-search target.
前記検索工程は、
前記クエリ画像内に検索対象と該検索対象とともに撮影された人物とが含まれていた場合に、前記クエリ画像の特徴量から前記人物の特徴量を取り除いた特徴量と複数の画像の特徴量とに基づいて、前記複数の画像の中から、該検索対象に類似する物品を含み、かつ、人物を含まない画像を検索する、請求項1に記載の検索プログラム。
The search step includes:
When the query image includes a search target and a person photographed together with the search target, a feature amount obtained by removing the feature amount of the person from the feature amount of the query image and the feature amount of a plurality of images. 2. The search program according to claim 1 , wherein an image including an article similar to the search target and not including a person is searched from among the plurality of images based on .
前記検索工程は、
前記クエリ画像の特徴量に含まれる人物の特徴量よりも、前記クエリ画像の特徴量に含まれる検索対象の特徴量を重み付けして検索する、請求項2に記載の検索プログラム。
The search step includes:
3. The search program according to claim 2, wherein a search is performed by weighting the feature amount of a search target included in the feature amount of the query image rather than the feature amount of a person included in the feature amount of the query image.
前記検索工程は、
前記クエリ画像の特徴量を含む特徴ベクトルを、物品と該物品とともに撮影された人物とが含まれる画像の特徴量を含む特徴ベクトルで減算し、
減算した特徴ベクトルに含まれる負値の特徴量を非負化し、
前記負値の特徴量を非負化した特徴ベクトルを用いて、前記複数の画像それぞれの特徴量を含む各特徴ベクトルとの類似度を算出する、請求項2に記載の検索プログラム。
The search step includes:
Subtracting the feature vector containing the feature amount of the query image by the feature vector containing the feature amount of the image containing the article and the person photographed with the article,
Non-negative the negative feature values included in the subtracted feature vector,
3. The search program according to claim 2, wherein a feature vector obtained by non-negating the feature quantity of the negative value is used to calculate a similarity with each feature vector including the feature quantity of each of the plurality of images.
物品と該物品とともに撮影された人物とが含まれる複数の画像それぞれの特徴量を含む各特徴ベクトルに基づいて、代表ベクトルを算出する算出工程を、コンピュータに実行させ、
前記検索工程は、
前記クエリ画像の特徴量を含む特徴ベクトルを、前記代表ベクトルで減算する、請求項4に記載の検索プログラム。
causing a computer to perform a calculation step of calculating a representative vector based on each feature vector including feature amounts of each of a plurality of images including an article and a person photographed with the article;
The search step includes:
5. The search program according to claim 4, wherein the representative vector is subtracted from the feature vector containing the feature amount of the query image.
前記算出工程は、
物品と該物品とともに撮影された人物とが含まれる複数の画像を、物品のカテゴリに応じて分類し、カテゴリごとに分類された複数の画像それぞれの特徴量を含む各特徴ベクトルに基づいて、カテゴリごとに代表ベクトル候補を算出し、
カテゴリごとに算出した代表ベクトル候補に基づいて、前記代表ベクトルを算出する、請求項5に記載の検索プログラム。
The calculation step includes:
A plurality of images containing an article and a person photographed with the article are classified according to the category of the article. Calculate representative vector candidates for each
6. The search program according to claim 5, wherein said representative vector is calculated based on representative vector candidates calculated for each category.
クエリ画像を入力する入力部と、
前記クエリ画像内に検索対象と非検索対象とが含まれていた場合に、前記クエリ画像の特徴量から前記非検索対象部分の特徴量を取り除いた特徴量と複数の画像の特徴量とに基づいて、複数の画像の中から、該検索対象に類似する物品を含み、かつ、該非検索対象を含まない画像を検索する検索部と
を有するサーバ装置。
an input unit for inputting a query image;
When the query image includes a search target and a non-search target , based on the feature quantity obtained by removing the feature quantity of the non-search target part from the feature quantity of the query image and the feature quantity of a plurality of images and a search unit that searches a plurality of images for an image that includes an article similar to the search target and does not include the non-search target.
クエリ画像を入力する入力工程と、
前記クエリ画像内に検索対象と非検索対象とが含まれていた場合に、前記クエリ画像の特徴量から前記非検索対象部分の特徴量を取り除いた特徴量と複数の画像の特徴量とに基づいて、複数の画像の中から、該検索対象に類似する物品を含み、かつ、該非検索対象を含まない画像を検索する検索工程と
を有する検索方法。
an input step of inputting a query image;
When the query image includes a search target and a non-search target , based on the feature quantity obtained by removing the feature quantity of the non-search target part from the feature quantity of the query image and the feature quantity of a plurality of images and searching a plurality of images for an image that includes an article similar to the search target and does not include the non-search target.
端末とサーバ装置とが通信可能に接続される検索システムであって、
クエリ画像を入力する入力部と、
前記クエリ画像内に検索対象と非検索対象とが含まれていた場合に、前記クエリ画像の特徴量から前記非検索対象部分の特徴量を取り除いた特徴量と複数の画像の特徴量とに基づいて、複数の画像の中から、該検索対象に類似する物品を含み、かつ、該非検索対象を含まない画像を検索する検索部と
を有する検索システム。
A search system in which a terminal and a server device are communicably connected,
an input unit for inputting a query image;
When the query image includes a search target and a non-search target , based on the feature quantity obtained by removing the feature quantity of the non-search target part from the feature quantity of the query image and the feature quantity of a plurality of images and a retrieval unit for retrieving, from among a plurality of images, an image that includes an article similar to the retrieval target and does not include the non-retrieval target.
JP2018220243A 2018-11-26 2018-11-26 Search program, server device, search method and search system Active JP7211775B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2018220243A JP7211775B2 (en) 2018-11-26 2018-11-26 Search program, server device, search method and search system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018220243A JP7211775B2 (en) 2018-11-26 2018-11-26 Search program, server device, search method and search system

Publications (2)

Publication Number Publication Date
JP2020086914A JP2020086914A (en) 2020-06-04
JP7211775B2 true JP7211775B2 (en) 2023-01-24

Family

ID=70909958

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018220243A Active JP7211775B2 (en) 2018-11-26 2018-11-26 Search program, server device, search method and search system

Country Status (1)

Country Link
JP (1) JP7211775B2 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009251850A (en) 2008-04-04 2009-10-29 Albert:Kk Commodity recommendation system using similar image search
WO2011021605A1 (en) 2009-08-18 2011-02-24 公立大学法人大阪府立大学 Object detection method
JP2013186546A (en) 2012-03-06 2013-09-19 Tokyo Denki Univ Person retrieval system
JP2015106300A (en) 2013-11-29 2015-06-08 キヤノン株式会社 Image search device, control method for image search device, and program
JP2016103235A (en) 2014-11-28 2016-06-02 日本電信電話株式会社 Image search apparatus, image registration apparatus, image characteristic selection apparatus, method, and program

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009251850A (en) 2008-04-04 2009-10-29 Albert:Kk Commodity recommendation system using similar image search
WO2011021605A1 (en) 2009-08-18 2011-02-24 公立大学法人大阪府立大学 Object detection method
JP2013186546A (en) 2012-03-06 2013-09-19 Tokyo Denki Univ Person retrieval system
JP2015106300A (en) 2013-11-29 2015-06-08 キヤノン株式会社 Image search device, control method for image search device, and program
JP2016103235A (en) 2014-11-28 2016-06-02 日本電信電話株式会社 Image search apparatus, image registration apparatus, image characteristic selection apparatus, method, and program

Also Published As

Publication number Publication date
JP2020086914A (en) 2020-06-04

Similar Documents

Publication Publication Date Title
JP7181437B2 (en) A technique for identifying skin tones in images under uncontrolled lighting conditions
US11734725B2 (en) Information sending method, apparatus and system, and computer-readable storage medium
CN108829764B (en) Recommendation information acquisition method, device, system, server and storage medium
CN104991906B (en) Information acquisition method, server, terminal, database construction method and device
JP2011248548A (en) Content determination program and content determination device
WO2016196128A1 (en) Task-focused search by image
CN103988202A (en) Image attractiveness based indexing and searching
US11966963B2 (en) Systems and methods for recommendation generation
JP2018084890A (en) Information processing unit, information processing method, and program
KR20120024772A (en) Method and apparatus for providing moving image advertisements
TW202117639A (en) Presenting information on similar objects relative to a target object from a plurality of video frames
US11762900B2 (en) Customized selection of video thumbnails to present on social media webpages
CN111815407A (en) Method and device for constructing user portrait
JP6168192B2 (en) Information providing method and information providing system
WO2021196551A1 (en) Image retrieval method and apparatus, computer device, and storage medium
JP7211775B2 (en) Search program, server device, search method and search system
US10311497B2 (en) Server, analysis method and computer program product for analyzing recognition information and combination information
JP5642228B2 (en) Correlation value calculation system, determination system, correlation value calculation method, determination method, and computer program
JP7211776B2 (en) Search program, server device, search method and search system
CN104850600B (en) A kind of method and apparatus for searching for the picture comprising face
CN111447260A (en) Information pushing and information publishing method and device
TW201942836A (en) Store system, article matching method and apparatus, and electronic device
US11468675B1 (en) Techniques for identifying objects from video content
US20220222297A1 (en) Generating search results based on an augmented reality session
CN114596138A (en) Information recommendation method and device, computer equipment and storage medium

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20210826

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20220622

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20220705

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20220830

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20230112

R150 Certificate of patent or registration of utility model

Ref document number: 7211775

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150