JP2023510443A - Labeling method and device, electronic device and storage medium - Google Patents

Labeling method and device, electronic device and storage medium Download PDF

Info

Publication number
JP2023510443A
JP2023510443A JP2022520125A JP2022520125A JP2023510443A JP 2023510443 A JP2023510443 A JP 2023510443A JP 2022520125 A JP2022520125 A JP 2022520125A JP 2022520125 A JP2022520125 A JP 2022520125A JP 2023510443 A JP2023510443 A JP 2023510443A
Authority
JP
Japan
Prior art keywords
labeling
target image
user
line segment
image
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.)
Withdrawn
Application number
JP2022520125A
Other languages
Japanese (ja)
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.)
Shenzhen Sensetime Technology Co Ltd
Original Assignee
Shenzhen Sensetime Technology Co Ltd
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 Shenzhen Sensetime Technology Co Ltd filed Critical Shenzhen Sensetime Technology Co Ltd
Publication of JP2023510443A publication Critical patent/JP2023510443A/en
Withdrawn legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/70Arrangements for image or video recognition or understanding using pattern recognition or machine learning
    • G06V10/77Processing image or video features in feature spaces; using data integration or data reduction, e.g. principal component analysis [PCA] or independent component analysis [ICA] or self-organising maps [SOM]; Blind source separation
    • G06V10/774Generating sets of training patterns; Bootstrap methods, e.g. bagging or boosting
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/21Design or setup of recognition systems or techniques; Extraction of features in feature space; Blind source separation
    • G06F18/214Generating training patterns; Bootstrap methods, e.g. bagging or boosting
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/04Architecture, e.g. interconnection topology
    • G06N3/045Combinations of networks
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/08Learning methods
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/20Image preprocessing
    • G06V10/25Determination of region of interest [ROI] or a volume of interest [VOI]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/20Image preprocessing
    • G06V10/26Segmentation of patterns in the image field; Cutting or merging of image elements to establish the pattern region, e.g. clustering-based techniques; Detection of occlusion
    • G06V10/267Segmentation of patterns in the image field; Cutting or merging of image elements to establish the pattern region, e.g. clustering-based techniques; Detection of occlusion by performing operations on regions, e.g. growing, shrinking or watersheds

Abstract

Figure 2023510443000001

本開示は、ラベリング方法及び装置、電子機器並びに記憶媒体に関する。前記方法は、対象画像に対する第1ラベリング操作であって、前記対象画像において第1画像領域を示す第1描画図形を描画するための前記第1ラベリング操作を受け付けることと、前記対象画像における第2描画図形と前記第1描画図形とが少なくとも一部重複する場合に、前記第1描画図形を調整して前記第1ラベリング操作に対応するラベリング結果を得ることと、を含む。
【選択図】図1

Figure 2023510443000001

TECHNICAL FIELD The present disclosure relates to labeling methods and devices, electronic devices, and storage media. The method includes receiving a first labeling operation on a target image, the first labeling operation for drawing a first drawing figure indicating a first image region in the target image; adjusting the first drawing figure to obtain a labeling result corresponding to the first labeling operation when the drawing figure and the first drawing figure at least partially overlap.
[Selection drawing] Fig. 1

Description

本開示は、コンピュータ技術分野に関し、特に、ラベリング方法及び装置、電子機器並びに記憶媒体に関する。 TECHNICAL FIELD The present disclosure relates to the field of computer technology, and more particularly to labeling methods and apparatus, electronic devices, and storage media.

人工知能分野において、ニューラルネットワークをトレーニングすることにより画像に含まれる情報を自動的に認識し理解することができる。ニューラルネットワークのトレーニングの過程で、ラベリング済みの画像によりトレーニングを行う場合が多い。 In the field of artificial intelligence, neural networks can be trained to automatically recognize and understand information contained in images. In the process of training neural networks, they are often trained using pre-labeled images.

画像に対するラベリングの過程で、画像上において図形を描画することによりラベリング領域を決定する場合が多い。 In the process of labeling an image, it is often the case that a labeling region is determined by drawing a figure on the image.

本開示は、ラベリングの技術的手段を提供する。 The present disclosure provides technical means of labeling.

本開示の一方面によれば、
対象画像に対する第1ラベリング操作であって、前記対象画像において第1画像領域を示す第1描画図形を描画するための前記第1ラベリング操作を受け付けることと、
前記対象画像における第2描画図形と前記第1描画図形とが少なくとも一部重複する場合に、前記第1描画図形を調整して前記第1ラベリング操作に対応するラベリング結果を得ることと、
を含むラベリング方法を提供する。
According to one aspect of the disclosure:
receiving a first labeling operation for a target image, the first labeling operation for drawing a first drawing figure indicating a first image region in the target image;
obtaining a labeling result corresponding to the first labeling operation by adjusting the first drawing figure when the second drawing figure and the first drawing figure in the target image at least partially overlap;
To provide a labeling method comprising:

可能な一実現形態では、前記方法は、前記第1描画図形を調整する前に、更に、
前記対象画像における少なくとも1つの先描画図形のうち、前記第1描画図形と重複する部分がある描画図形が存在するか否かを検出することを含む。
In one possible implementation, the method further comprises, before adjusting the first drawing figure,
It includes detecting whether or not there is a drawing figure that overlaps with the first drawing figure among at least one previous drawing figure in the target image.

可能な一実現形態では、前記方法は、前記第1描画図形を調整する前に、更に、
前記第1描画図形を調整するように指示するための第1ユーザ指令を受け付けることを含む。
In one possible implementation, the method further comprises, before adjusting the first drawing figure,
Receiving a first user command for instructing adjustment of the first drawing figure.

可能な一実現形態では、前記した、前記第1描画図形を調整して前記第1ラベリング操作に対応するラベリング結果を得ることは、
前記第1描画図形において前記第2描画図形と重複する部分を除去した描画図形を、前記第1ラベリング操作に対応するラベリング結果とすることを含む。
In one possible implementation, adjusting the first drawing figure to obtain a labeling result corresponding to the first labeling operation includes:
A drawing figure obtained by removing a portion overlapping with the second drawing figure from the first drawing figure is used as a labeling result corresponding to the first labeling operation.

可能な一実現形態では、前記した、前記第1描画図形を調整して前記第1ラベリング操作に対応するラベリング結果を得ることは、
前記第1描画図形と前記第2描画図形が枠図形である場合に、前記第1描画図形と前記第2描画図形の位置に基づいて、前記第2描画図形の前記第1描画図形内に位置する第1線分要素及び前記第1描画図形の前記第2描画図形外に位置する第2線分要素を決定することと、
前記第1線分要素と前記第2線分要素から構成される描画図形を前記第1ラベリング操作に対応するラベリング結果とすることと、を含む。
In one possible implementation, adjusting the first drawing figure to obtain a labeling result corresponding to the first labeling operation includes:
When the first drawing figure and the second drawing figure are frame figures, the position of the second drawing figure within the first drawing figure based on the positions of the first drawing figure and the second drawing figure Determining a first line segment element located outside the second drawing figure of the first drawing figure and a second line segment element located outside the second drawing figure;
setting a drawing figure composed of the first line segment element and the second line segment element as a labeling result corresponding to the first labeling operation.

可能な一実現形態では、前記方法は、対象画像に対する第1ラベリング操作を受け付けた後に、更に、
前記対象画像及び前記対象画像における前記第1描画図形を含む複数の描画図形を表示画面に表示することと、
前記複数の描画図形から前記第1描画図形を選択するための第2ユーザ指令を受け付けることと、
前記表示画面における前記第2ユーザ指令によって指示される位置及び前記表示画面における前記複数の描画図形の位置に基づいて、選択される前記第1描画図形を決定することと、を含む。
In one possible implementation, the method, after accepting a first labeling operation for the target image, further comprises:
displaying on a display screen the target image and a plurality of drawing figures including the first drawing figure in the target image;
receiving a second user command for selecting the first drawing figure from the plurality of drawing figures;
determining the first drawing figure to be selected based on the position indicated by the second user command on the display screen and the positions of the plurality of drawing figures on the display screen.

可能な一実現形態では、前記対象画像は、ウェブページ画面に表示される。 In one possible implementation, the target image is displayed on a web page screen.

可能な一実現形態では、前記第1ラベリング操作は、前記対象画像に対してセマンティックセグメンテーション・ラベリングを行うためのものである。 In one possible implementation, said first labeling operation is for performing semantic segmentation labeling on said target image.

本開示の一方面によれば、
対象画像に対する第1ラベリング操作であって、前記対象画像において第1画像領域を示す第1描画図形を描画するための前記第1ラベリング操作を受け付ける受付モジュールと、
前記対象画像における第2描画図形と前記第1描画図形とが少なくとも一部重複する場合に、前記第1描画図形を調整して前記第1ラベリング操作に対応するラベリング結果を得る調整モジュールと、を備えるラベリング装置を提供する。
According to one aspect of the disclosure:
a reception module that receives a first labeling operation for a target image, the first labeling operation for drawing a first drawing figure indicating a first image area in the target image;
an adjustment module that adjusts the first drawing figure to obtain a labeling result corresponding to the first labeling operation when the second drawing figure and the first drawing figure in the target image at least partially overlap. A labeling device comprising:

可能な一実現形態では、前記装置は、前記対象画像における少なくとも1つの先描画図形のうち、前記第1描画図形と重複する部分がある描画図形が存在するか否かを検出する検出モジュールを更に備える。 In one possible implementation, the apparatus further includes a detection module for detecting whether or not there is a drawn figure that overlaps with the first drawn figure among at least one previous drawn figure in the target image. Prepare.

可能な一実現形態では、前記装置は、前記第1描画図形を調整するように指示するための第1ユーザ指令を受け付ける第1ユーザ指令受付モジュールを更に備える。 In one possible implementation, the device further comprises a first user command receiving module for receiving a first user command to instruct to adjust the first drawing figure.

可能な一実現形態では、前記調整モジュールは、前記第1描画図形において前記第2描画図形と重複する部分を除去した描画図形を、前記第1ラベリング操作に対応するラベリング結果とする。 In one possible implementation mode, the adjustment module takes the drawing figure obtained by removing the portion overlapping the second drawing figure from the first drawing figure as the labeling result corresponding to the first labeling operation.

可能な一実現形態では、前記調整モジュールは、前記第1描画図形と前記第2描画図形が枠図形である場合に、前記第1描画図形と前記第2描画図形の位置に基づいて、前記第2描画図形の前記第1描画図形内に位置する第1線分要素及び前記第1描画図形の前記第2描画図形外に位置する第2線分要素を決定するとともに、前記第1線分要素と前記第2線分要素から構成される描画図形を前記第1ラベリング操作に対応するラベリング結果とする。 In one possible implementation mode, the adjustment module adjusts the first drawing figure and the second drawing figure based on the positions of the first drawing figure and the second drawing figure when the first drawing figure and the second drawing figure are frame figures. Determining a first line segment element positioned within the first drawing figure of 2 drawing figures and a second line segment element positioned outside the second drawing figure of the first drawing figure, and determining the first line segment element and the second line segment element is defined as a labeling result corresponding to the first labeling operation.

可能な一実現形態では、前記装置は、
前記対象画像及び前記対象画像における前記第1描画図形を含む複数の描画図形を表示画面に表示する表示モジュールと、
前記複数の描画図形から前記第1描画図形を選択するための第2ユーザ指令を受け付ける第2ユーザ指令受付モジュールと、
前記表示画面における前記第2ユーザ指令によって指示される位置及び前記表示画面における前記複数の描画図形の位置に基づいて、選択される前記第1描画図形を決定する決定モジュールと、を更に備える。
In one possible implementation, the device comprises:
a display module for displaying the target image and a plurality of drawing figures including the first drawing figure in the target image on a display screen;
a second user command receiving module for receiving a second user command for selecting the first drawing figure from the plurality of drawing figures;
a determination module that determines the first drawing figure to be selected based on the position indicated by the second user command on the display screen and the positions of the plurality of drawing figures on the display screen.

可能な一実現形態では、前記対象画像は、ウェブページ画面に表示される。 In one possible implementation, the target image is displayed on a web page screen.

可能な一実現形態では、前記第1ラベリング操作は、前記対象画像に対してセマンティックセグメンテーション・ラベリングを行うためのものである。 In one possible implementation, said first labeling operation is for performing semantic segmentation labeling on said target image.

本開示の一方面によれば、プロセッサと、プロセッサにより実行可能な命令を記憶するためのメモリと、を含み、前記プロセッサは、前記メモリに記憶されている命令を呼び出して上記方法を実行するように構成される電子機器を提供する。 According to one aspect of the present disclosure, it includes a processor and a memory for storing instructions executable by the processor, wherein the processor invokes the instructions stored in the memory to perform the method. To provide an electronic device configured to:

本開示の一方面によれば、コンピュータプログラム命令が記憶されているコンピュータ読み取り可能な記憶媒体だって、前記コンピュータプログラム命令はプロセッサによって実行されると上記方法を実現するコンピュータ読み取り可能な記憶媒体を提供する。 According to one aspect of the present disclosure, a computer readable storage medium having computer program instructions stored thereon also provides a computer readable storage medium that, when executed by a processor, implements the above method. .

本開示の一方面によれば、コンピュータ読み取り可能なコードを含み、前記コンピュータ読み取り可能なコードが電子機器において実行されると、前記電子機器におけるプロセッサが上記方法を実行するコンピュータプログラムを提供する。 According to one aspect of the present disclosure, there is provided a computer program product comprising computer readable code for causing a processor in an electronic device to perform the method described above when the computer readable code is executed in the electronic device.

本開示の実施例では、対象画像に対するラベリングの過程で、ユーザによる対象画像に対する第1ラベリング操作で描画した第1描画図形について、対象画像における第2描画図形と第1描画図形とが少なくとも一部重複する場合に、第1描画図形を自動的に調整して第1ラベリング操作に対応するラベリング結果を得ることができる。人手による第1描画図形の調整と比較して、対象画像に対するラベリングの効率が向上し、ラベリングにかかる時間が節約される。特に、第2描画図形の外部輪郭が比較的複雑である場合について、ユーザが同じ輪郭部分を別途手動調整する必要がなく、ユーザが一部のラベリングを繰り返すことによる資源消費が減少される。 In the embodiment of the present disclosure, in the process of labeling the target image, for the first drawing figure drawn by the user's first labeling operation on the target image, the second drawing figure and the first drawing figure in the target image are at least partially If overlapping, the first drawing figure can be automatically adjusted to obtain the labeling result corresponding to the first labeling operation. Compared to manual adjustment of the first drawing figure, the efficiency of labeling the target image is improved, and the time required for labeling is saved. In particular, when the outer contour of the second drawing figure is relatively complicated, the user does not have to manually adjust the same contour portion separately, and resource consumption due to repeated partial labeling by the user is reduced.

なお、以上の概略的な説明及び次の詳細な説明は、例示的及び解釈的なものに過ぎず、本開示を限定するものではない。以下、図面を参考しながら例示的な実施例を詳細に説明することによって、本開示の他の特徴及び方面は明確になる。 It should be noted that the foregoing general description and the following detailed description are exemplary and interpretive only and are not limiting of the present disclosure. Other features and aspects of the present disclosure will become apparent from the following detailed description of illustrative embodiments with reference to the drawings.

ここで、本明細書の一部として組み込まれる図面は、本開示の実施例に適し、明細書と共に本開示の技術的解決手段の説明に用いられる。
本開示の実施例に係るラベリング方法のフローチャートを示す。 本開示の実施例に係る描画図形の模式図を示す。 本開示の実施例に係るラベリング結果の模式図を示す。 本開示の実施例に係る描画図形の模式図を示す。 本開示の実施例に係るラベリング結果の模式図を示す。 本開示の実施例に係るラベリング方法のフローチャートを示す。 本開示の実施例に係るラベリング装置のブロック図を示す。 本開示の実施例に係る電子機器のブロック図を示す。 本開示の実施例に係る電子機器のブロック図を示す。
Here, the drawings incorporated as part of the present specification are suitable for the embodiments of the present disclosure and are used together with the description to describe the technical solutions of the present disclosure.
4 shows a flow chart of a labeling method according to an embodiment of the present disclosure; FIG. 2 shows a schematic diagram of a drawing figure according to an embodiment of the present disclosure; FIG. FIG. 4 shows a schematic diagram of a labeling result according to an example of the present disclosure; FIG. 2 shows a schematic diagram of a drawing figure according to an embodiment of the present disclosure; FIG. FIG. 4 shows a schematic diagram of a labeling result according to an example of the present disclosure; 4 shows a flow chart of a labeling method according to an embodiment of the present disclosure; 1 shows a block diagram of a labeling device according to an embodiment of the present disclosure; FIG. 1 shows a block diagram of an electronic device according to an embodiment of the present disclosure; FIG. 1 shows a block diagram of an electronic device according to an embodiment of the present disclosure; FIG.

以下に、図面を参照しながら本開示の様々な例示的な実施例、特徴および方面を詳細に説明する。図面における同じ符号は同じまたは類似する機能の要素を示す。図面において実施例の様々な方面を示したが、特に断らない限り、比例に基づいて図面を描く必要がない。 Various illustrative embodiments, features, and aspects of the disclosure are described in detail below with reference to the drawings. The same reference numerals in the drawings indicate elements of the same or similar function. Although the drawings show various aspects of the embodiments, the drawings need not be drawn to scale unless otherwise indicated.

ここでの用語「例示的」とは、「例、実施例として用いられることまたは説明的なもの」を意味する。ここで「例示的」に説明されるいかなる実施例は他の実施例より好ましいまたは優れるものであると理解すべきではない。 As used herein, the term "exemplary" means "serving as an example, example, or illustration." Any embodiment described herein as "exemplary" is not to be construed as preferred or superior to other embodiments.

本明細書における用語「及び/又は」は、単に関連対象との関連関係を記述するものであり、3つの関係が存在可能であることを示し、例えば、A及び/又はBは、Aのみが存在し、AとBの両方が存在し、Bのみが存在するという3つの場合を示してもよい。また、本明細書における用語「少なくとも1つ」は複数のうちのいずれか1つ、又は複数のうちの少なくとも2つの任意の組み合わせを示し、例えば、A、B、Cのうちの少なくとも1つを含むことは、A、B及びCからなる集合から選択されるいずれか1つ又は複数の要素を含むことを示してもよい選択される。 As used herein, the term "and/or" simply describes a related relationship with a related subject and indicates that there can be three relationships, e.g., A and/or B means that A only We may indicate three cases where there is, both A and B are present, and only B is present. Also, the term "at least one" herein refers to any one of a plurality or any combination of at least two of a plurality, e.g., at least one of A, B, C Containing may indicate containing any one or more elements selected from the set consisting of A, B and C selected.

また、本開示をより効果的に説明するために、以下の具体的な実施形態において様々な具体的な詳細を示す。当業者であれば、本開示は何らかの具体的な詳細がなくても同様に実施できると理解すべきである。いくつかの実施例では、本開示の趣旨を強調するために、当業者が熟知している方法、手段、要素および回路について詳細な説明を行わない。 Also, various specific details are set forth in the specific embodiments below in order to more effectively describe the present disclosure. It should be understood by one of ordinary skill in the art that the present disclosure may equally be practiced without some of the specific details. In some embodiments, detailed descriptions of methods, means, elements and circuits that are familiar to those of ordinary skill in the art are not provided in order to emphasize the spirit of the present disclosure.

図1は、本開示の実施例に係るラベリング方法のフローチャートを示す。図1に示すように、前記ラベリング方法は、ステップS11とステップS12とを含む。 FIG. 1 shows a flow chart of a labeling method according to an embodiment of the present disclosure. As shown in FIG. 1, the labeling method includes steps S11 and S12.

ステップS11において、対象画像に対する第1ラベリング操作であって、前記対象画像において第1画像領域を示す第1描画図形を描画するための前記第1ラベリング操作を受け付ける。 In step S11, a first labeling operation for drawing a first drawing figure indicating a first image area in the target image is received.

対象画像は、ラベリングすべき画像であってよく、該画像は任意の形式の画像であってよく、本開示の実施例ではこれについて限定しない。対象画像は、機械学習を行うためのサンプル画像であってよく、サンプル画像は、ラベリング後に機械学習の教師あり学習に利用可能である。 The target image may be the image to be labeled, and the image may be of any type, and the embodiments of this disclosure are not limited in this regard. The target images may be sample images for machine learning, and the sample images are available for supervised machine learning after labeling.

ラベリング者などのユーザは、第1ラベリング操作により対象画像の第1画像領域をラベリングすることができる。いくつかの実施例では、ユーザは、図形を描画することにより、ラベリングすべき第1画像領域を決定することができる。ユーザによって描画される図形は、多角形であってよく、円形であってもよく、描画される図形は、規則又は不規則なものであってよいが、本開示の実施例ではこれについて限定しない。ユーザは、第1画像領域にラベリング情報を付加することにより、決定された第1画像領域における画像情報にセマンティック意味を与えることができる。 A user, such as a labeler, can label a first image region of the target image by a first labeling operation. In some embodiments, a user can draw a shape to determine the first image region to be labeled. The shapes drawn by the user may be polygons, they may be circles, and the shapes drawn may be regular or irregular, although the embodiments of the present disclosure are not limited to this. . The user can give semantic meaning to the image information in the determined first image region by adding labeling information to the first image region.

例えば、人が芝地の上に立つ対象画像の内容である場合、ユーザが芝地をラベリングする過程で、芝地が位置する画像領域の形状に合致する描画図形を描画した後に、描画した該描画図形に「芝地」というラベリング情報を付加して、選定された画像領域に「芝地」のセマンティックを与えることができる。 For example, if the content of the target image is a person standing on the lawn, in the process of labeling the lawn, the user draws a drawing figure that matches the shape of the image area where the lawn is located, and then draws the drawn figure. Labeling information "grass" can be added to the drawn graphics to give "grass" semantics to selected image regions.

ステップS12において、前記対象画像における第2描画図形と前記第1描画図形とが少なくとも一部重複する場合に、前記第1描画図形を調整して前記第1ラベリング操作に対応するラベリング結果を得る。 In step S12, when the second drawing figure and the first drawing figure in the target image at least partially overlap, the first drawing figure is adjusted to obtain a labeling result corresponding to the first labeling operation.

第2描画図形は、ユーザによって描画される図形であってもよいし、他の方法により得られる図形であってもよい。例えば、ニューラルネットワークにより対象画像に対して画像認識を行って描画される図形であってもよい。 The second drawing figure may be a figure drawn by the user, or may be a figure obtained by another method. For example, it may be a figure drawn by performing image recognition on the target image using a neural network.

可能な一実施形態では、第2描画図形は、ユーザによって指定される描画図形であってよい。すなわち、第1描画図形とユーザによって指定される第2描画図形とが少なくとも一部重複する場合に、第1描画図形を自動的に調整する。ユーザは、対象画像における描画図形に対して選定操作を行うことにより第2描画図形を指定してもよいし、描画図形のマークなどの情報を選定することにより第2描画図形を指定してもよい。第2描画図形を指定する具体的な実現形態について、本開示の実施例では限定しない。 In one possible embodiment, the second drawing figure may be a drawing figure specified by the user. That is, when the first drawing figure and the second drawing figure specified by the user at least partially overlap, the first drawing figure is automatically adjusted. The user may specify the second drawing figure by performing a selection operation on the drawing figure in the target image, or may specify the second drawing figure by selecting information such as the mark of the drawing figure. good. The embodiment of the present disclosure does not limit the specific implementation of designating the second drawing figure.

可能な一実施形態では、第2描画図形は、対象画像に含まれる描画図形のうち1枚又は複数枚であってもよい。例えば、第2描画図形は、対象画像に含まれる描画図形のうち、少なくとも一部が第1描画図形と重複する描画図形であってよい。このように、対象画像に少なくとも一部が第1描画図形と重複する描画図形が存在する場合に、第1描画図形を自動的に調整するので、ユーザによる指定の必要がなく、ユーザの使用の利便性が向上する。 In one possible embodiment, the second drawing figure may be one or more of the drawing figures included in the target image. For example, the second drawing figure may be a drawing figure that at least partially overlaps with the first drawing figure among the drawing figures included in the target image. In this manner, when there is a drawing figure that overlaps at least a part of the first drawing figure in the target image, the first drawing figure is automatically adjusted. Convenience is improved.

第1描画図形と第2描画図形とが少なくとも一部重複する場合は、第2描画図形と第1描画図形とで示される画像領域のうち少なくとも一部の領域が同じである場合であってよい。例えば、図2を参照すると、対象画像の画面内容は、人が芝地の上に立つことであり、下方の多角形(第1描画図形)で示される領域が芝地領域であり、最左側の多角形(第2描画図形)で示される領域が人物像であり、人物像の脚部が芝地の一部を遮蔽し、人物像の脚部以外の部分が芝地を遮蔽していない。第1描画図形には、芝地が位置する画像領域が含まれるとともに、芝地の一部を遮蔽する脚部が位置する画像領域も含まれ、第2描画図形には、人物像が位置する画像領域が含まれる。第1描画図形と第2描画図形とは少なくとも一部が重複することが明らかである。 When the first drawing figure and the second drawing figure at least partially overlap, at least a part of the image area indicated by the second drawing figure and the first drawing figure may be the same. . For example, referring to FIG. 2, the screen content of the target image is a person standing on the lawn, the area indicated by the lower polygon (first drawing figure) is the lawn area, and the leftmost The area indicated by the polygon (second drawing figure) is the human figure. . The first drawing figure includes the image area where the lawn is located, and also includes the image area where the legs shielding a part of the lawn are located, and the second drawing figure is where the human figure is located. Contains the image area. It is clear that at least a portion of the first drawing figure and the second drawing figure overlap.

第1描画図形と第2描画図形とが少なくとも一部重複する場合に、第1描画図形を自動的に調整してよい。具体的な調整方法は複数あるようにしてよい。例えば、重複部分を第1描画図形から除去し、重複部分が除去された第1描画図形を得るようにしてもよいし、第1描画図形において重複部分を減少しもよい。例えば、図3を参照すると、第1描画図形において重複部分が除去して得られた調整後の第1描画図形は、図3に示すように第2描画図形における芝地を遮蔽する脚部が含まれなくなった。 When the first drawing figure and the second drawing figure at least partially overlap, the first drawing figure may be automatically adjusted. There may be a plurality of specific adjustment methods. For example, the overlapping part may be removed from the first drawing figure to obtain the first drawing figure from which the overlapping part has been removed, or the overlapping part may be reduced in the first drawing figure. For example, referring to FIG. 3, the adjusted first drawing figure obtained by removing the overlapped portion in the first drawing figure has the legs shielding the lawn in the second drawing figure as shown in FIG. No longer included.

第1描画図形の調整終了後に、調整後の第1描画図形でラベリングされた画像領域を第1ラベリング操作でラベリングされた画像領域として、前記第1ラベリング操作に対応するラベリング結果を得るようにしてよい。ラベリング後の対象画像は、機械学習の教師あり学習に利用可能である。本開示の実施例では、第1描画図形において重複部分を除去又は減少することにより、第1描画図形において外乱情報が除去又は減少されるので、機械学習により得られたニューラルネットワークの精度を向上させることができる。 After finishing the adjustment of the first drawing figure, the image area labeled with the adjusted first drawing figure is used as the image area labeled by the first labeling operation, and the labeling result corresponding to the first labeling operation is obtained. good. Target images after labeling can be used for supervised machine learning. In the embodiment of the present disclosure, the disturbance information in the first drawing figure is removed or reduced by removing or reducing the overlapping portion in the first drawing figure, so the accuracy of the neural network obtained by machine learning is improved. be able to.

本開示の実施例では、対象画像に対するラベリングの過程で、ユーザによる対象画像に対する第1ラベリング操作で描画した第1描画図形について、対象画像における第2描画図形と第1描画図形とが少なくとも一部重複する場合に、第1描画図形を自動的に調整して第1ラベリング操作に対応するラベリング結果を得ることができる。人手による第1描画図形の調整と比較して、対象画像に対するラベリングの効率が向上し、ラベリングにかかる時間が節約される。 In the embodiment of the present disclosure, in the process of labeling the target image, for the first drawing figure drawn by the user's first labeling operation on the target image, the second drawing figure and the first drawing figure in the target image are at least partially If overlapping, the first drawing figure can be automatically adjusted to obtain the labeling result corresponding to the first labeling operation. Compared to manual adjustment of the first drawing figure, the efficiency of labeling the target image is improved, and the time required for labeling is saved.

本開示で提供されるマーキング方法は複数あるようにしてもよい。可能な一実施形態では、前記方法は、前記第1描画図形を調整する前に、更に、前記対象画像における少なくとも1つの先描画図形のうち、前記第1描画図形と重複する部分がある描画図形が存在するか否かを検出することを含む。 There may be multiple marking methods provided in this disclosure. In one possible embodiment, before adjusting the first drawing figure, the method further includes, among at least one previous drawing figure in the target image, a drawing figure having a portion that overlaps with the first drawing figure. includes detecting whether there is a

先描画図形は、第1描画図形より先に描画された図形であってよい。該先描画図形は、ユーザによって描画される図形であってもよいし、他の方法により得られる図形、例えばニューラルネットワークにより対象画像に対して画像認識を行って描画される図形であってもよい。ここで、先描画図形がユーザによって描画される図形である場合を例とし、ユーザが先描画図形を描画してから第1描画図形を描画すると、該先描画図形に第1描画図形と重複する部分があるか否かを検出することができる。 The previously drawn figure may be a figure drawn earlier than the first drawn figure. The figure to be drawn may be a figure drawn by the user, or may be a figure obtained by another method, for example, a figure drawn by performing image recognition on the target image using a neural network. . Here, taking as an example the case where the previously drawn figure is a figure drawn by the user, if the user draws the previously drawn figure and then draws the first drawn figure, the previously drawn figure overlaps the first drawn figure. It is possible to detect whether there is a part or not.

いくつかの実施例では、本実現形態における検出ステップは、第1描画図形の描画が終了したと確認された場合に行ってよい。つまり、第1描画図形の描画終了後に、ユーザ指令を受け付ける必要がなく、ユーザによる他の操作を行う必要もなく、この検出ステップの実行をトリガーするようにしてよい。このように、ユーザの操作が少なく、利便性が高い。 In some embodiments, the detection step in this implementation may be performed when it is confirmed that the drawing of the first drawing figure is finished. In other words, the detection step may be triggered without receiving a user command or performing any other operation by the user after the drawing of the first drawing figure is completed. In this way, the number of user operations is small, and the convenience is high.

本実現形態では、具体的な検出過程は複数あるようにしてよい。例えば、少なくとも1つの先描画図形と第1描画図形の対象画像における位置座標に基づいて、対象画像における少なくとも1つの先描画図形のうち、第1描画図形と重複する部分がある描画図形が存在するか否かを検出してよい。 In this implementation mode, there may be a plurality of specific detection processes. For example, based on the positional coordinates of at least one previous drawing figure and the first drawing figure in the target image, among at least one previous drawing figure in the target image, there is a drawing figure that overlaps with the first drawing figure. It may be detected whether or not

本開示の実施例で描画された図形は、枠図形であってもよく、充填図形であってもよい。ここで、枠図形は、枠のラインのみを含む図形であってよく、充填図形は、枠と枠内に充填された内容とを含む図形であってよい。 A graphic drawn in the embodiment of the present disclosure may be a frame graphic or a filling graphic. Here, the frame graphic may be a graphic including only the lines of the frame, and the filling graphic may be a graphic including the frame and the contents filled in the frame.

先描画図形と第1描画図形がいずれも枠図形である場合に、先描画図形の座標と第1描画図形の座標に基づいて、第1描画図形の枠内に先描画図形の少なくとも一部の枠が存在するか否かを判定し、第1描画図形の枠内に先描画図形の少なくとも一部の枠が存在すると決定した場合に、先描画図形のうち第1描画図形と重複する部分がある描画図形が存在すると決定してよい。また、第1描画図形の枠内に先描画図形を構成するドットセットのうち少なくとも一部があるか否かを判定し、第1描画図形の枠内に先描画図形を構成するドットセットのうち少なくとも一部があると決定した場合に、先描画図形のうち第1描画図形と重複する部分がある描画図形が存在すると決定してもよい。 When both the preceding drawing figure and the first drawing figure are frame figures, at least part of the preceding drawing figure is placed within the frame of the first drawing figure based on the coordinates of the first drawing figure and the coordinates of the first drawing figure. It is determined whether or not a frame exists, and if it is determined that at least a part of the frame of the previous drawing figure exists within the frame of the first drawing figure, the part of the previous drawing figure that overlaps with the first drawing figure is determined. It may be determined that certain drawing figures exist. Also, it is determined whether or not at least a part of the dot set forming the preceding figure is within the frame of the first drawing figure, and the dot set constituting the preceding drawing figure is inside the frame of the first drawing figure. When it is determined that there is at least part of the drawing figure, it may be determined that there is a drawing figure that overlaps the first drawing figure among the previous drawing figures.

先描画図形と第1描画図形がいずれも充填図形である場合に、先描画図形と第1描画図形に座標が同じ画素点があるか否かを判定して、先描画図形と第1描画図形に座標が同じ画素点があると決定した場合に、先描画図形のうち第1描画図形と重複する部分がある描画図形が存在すると決定してよい。 When both the preceding drawing figure and the first drawing figure are filling figures, it is determined whether or not there is a pixel point having the same coordinates in the first drawing figure and the first drawing figure. If it is determined that there is a pixel point having the same coordinates in the first drawing figure, it may be determined that there is a drawing figure having a portion that overlaps with the first drawing figure in the previous drawing figure.

可能な一実現形態では、前記方法は、前記第1描画図形を調整する前に、更に、前記第1描画図形を調整するように指示するための第1ユーザ指令を受け付けることを含む。 In one possible implementation, the method, before adjusting the first drawing figure, further includes receiving a first user command to adjust the first drawing figure.

ユーザが第1ユーザ指令を発することによって、第1描画図形を調整するように端末機器又はサーバに指示する。例えば、ユーザが端末機器のアプリケーションプログラムにおける特定のコントロールを操作することによって、該第1ユーザ指令を発してよい。例えば、第1描画図形の描画終了後に、ユーザがアプリケーションプログラム操作画面における特定のコントロールに対して指定操作を実行することによって、第1ユーザ指令を発してよい。このコントロールは、タッチボタンの形として画面に表示されるものであってよく、この指定操作は、クリック操作又は他の操作であってよい。指定操作が検出されると、アプリケーションプログラムがトリガーされて第1描画図形を自動的に調整することになる。いくつかの実施例では、ユーザがネットワーク接続により(例えば特定のURLリンクを介してサーバに接続されることにより)第1ユーザ指令を発してもよく、他の方法により第1ユーザ指令を発してもよく、本開示ではこれについて限定しない。 The user issues a first user command to instruct the terminal device or server to adjust the first drawing figure. For example, the user may issue the first user command by manipulating a specific control in the application program of the terminal device. For example, after the drawing of the first drawing figure is completed, the user may issue the first user command by performing a specified operation on a specific control on the application program operation screen. The control may be displayed on the screen in the form of a touch button, and the specifying operation may be a click operation or other operation. When the specifying operation is detected, the application program will be triggered to automatically adjust the first drawing figure. In some embodiments, a user may issue a first user command over a network connection (e.g., by being connected to a server via a particular URL link) or otherwise issue a first user command. well, and the disclosure is not limited in this regard.

いくつかの実施例では、第1ユーザ指令を受け付けた後に、対象画像における少なくとも1つの先描画図形のうち、第1描画図形と重複する部分がある描画図形が存在するか否かを検出し、対象画像に第1描画図形と重複する部分がある描画図形が存在すると検出した場合に、第1描画図形を自動的に調整してよい。 In some embodiments, after receiving the first user command, detecting whether or not there is a drawing figure that overlaps with the first drawing figure among at least one previous drawing figure in the target image, and The first drawing figure may be automatically adjusted when it is detected that there is a drawing figure that overlaps the first drawing figure in the target image.

あるいは、いくつかの実施例では、対象画像における少なくとも1つの先描画図形のうち、第1描画図形と重複する部分がある描画図形が存在するか否かを先に検出し、対象画像に第1描画図形と重複する部分がある描画図形が存在すると検出した場合に、端末機器のユーザインターフェイスにおいてユーザへの提示を発し、第1描画図形と重複する第2描画図形が存在することをユーザに提示し、ユーザにより第1描画図形を自動的に調整するか否かを選択してもよい。このとき、ユーザが、第1描画図形を自動的に調整するように指示するための第1ユーザ指令を発することができる。 Alternatively, in some embodiments, it is first detected whether or not there is a drawing figure that overlaps the first drawing figure among at least one previous drawing figure in the target image, and the first drawing figure in the target image is detected first. When it is detected that there is a drawing figure that overlaps with the drawing figure, a presentation is issued to the user on the user interface of the terminal device to present to the user that there is a second drawing figure that overlaps with the first drawing figure. Then, the user may select whether or not to automatically adjust the first drawing figure. At this time, the user can issue a first user command to instruct the automatic adjustment of the first drawing figure.

対象画像に第1描画図形と重複する部分がある描画図形が存在すると検出した場合に、重複部分がある第1描画図形及び第2描画図形について、ユーザの観察の便宜上、他の描画図形とは異なる表示形態で表示してよい。例えば、重複部分がある第1描画図形及び第2描画図形を赤い枠で表示し、他の描画図形をグレー枠で表示してよい。 When it is detected that a drawing figure having a portion overlapping with the first drawing figure exists in the target image, the first drawing figure and the second drawing figure having the overlapping part are separated from the other drawing figures for convenience of user's observation. It may be displayed in different display forms. For example, the first drawing figure and the second drawing figure having overlapping portions may be displayed with a red frame, and the other drawing figures may be displayed with a gray frame.

可能な一実施形態では、前記した、前記第1描画図形を調整して前記第1ラベリング操作に対応するラベリング結果を得ることは、前記第1描画図形において前記第2描画図形と重複する部分を除去した描画図形を、前記第1ラベリング操作に対応するラベリング結果とすることを含む。 In one possible embodiment, adjusting the first drawing figure to obtain a labeling result corresponding to the first labeling operation may be performed by removing the portion of the first drawing figure that overlaps the second drawing figure. and setting the removed drawing figure as a labeling result corresponding to the first labeling operation.

本開示の実施例では、第1描画図形と第2描画図形との重複部分で示される画像領域のセマンティックは、第2描画図形で示される画像領域のセマンティックと同じであるが、第1画像領域のうち重複部分以外の画像領域のセマンティックと異なるようにしてもよい。この場合には、第1描画図形において第2描画図形と重複する部分を第1描画図形から除去した描画図形を、第1ラベリング操作に対応するラベリング結果としてよい。このようにして得られたラベリング結果として、第1画像領域において第2画像領域とセマンティックが同じ画像領域が除去されたので、得られた第1描画図形で示される第1画像領域のセマンティックがより正確となり、機械学習により得られたニューラルネットワークの精度を向上させることができる。また、ユーザが第1描画図形を手動調整する必要がなく、ユーザ操作が少なく、利便性が高く、対象画像に対するラベリングの効率が向上し、ラベリングにかかる時間が節約される。 In an embodiment of the present disclosure, the semantics of the image area indicated by the overlapping portion of the first drawing figure and the second drawing figure are the same as the semantics of the image area indicated by the second drawing figure, but the first image area may be different from the semantic of the image area other than the overlapping portion. In this case, the drawing figure obtained by removing the portion of the first drawing figure that overlaps the second drawing figure from the first drawing figure may be used as the labeling result corresponding to the first labeling operation. As a result of the labeling obtained in this way, since the image area having the same semantics as the second image area is removed in the first image area, the semantic of the first image area indicated by the obtained first drawing figure is more It becomes accurate and can improve the accuracy of the neural network obtained by machine learning. In addition, the user does not need to manually adjust the first drawing figure, the number of user operations is small, the convenience is high, the efficiency of labeling the target image is improved, and the time required for labeling is saved.

可能な一実施形態では、前記した、前記第1描画図形を調整して前記第1ラベリング操作に対応するラベリング結果を得ることは、前記第1描画図形と前記第2描画図形が枠図形である場合に、前記第1描画図形と前記第2描画図形の位置に基づいて、前記第2描画図形の前記第1描画図形内に位置する第1線分要素及び前記第1描画図形の前記第2描画図形外に位置する第2線分要素を決定することと、前記第1線分要素と前記第2線分要素から構成される描画図形を前記第1ラベリング操作に対応するラベリング結果とすることと、を含む。 In one possible embodiment, adjusting the first drawing figure to obtain a labeling result corresponding to the first labeling operation is performed by adjusting the first drawing figure and the second drawing figure as frame figures. In this case, based on the positions of the first drawing figure and the second drawing figure, the first line segment element positioned within the first drawing figure of the second drawing figure and the second drawing figure of the first drawing figure Determining a second line segment element positioned outside the drawing figure, and setting a drawing figure composed of the first line segment element and the second line segment element as a labeling result corresponding to the first labeling operation. and including.

描画図形の位置は、描画図形を構成する線分要素の座標で表わされてもよいし、描画図形を構成する点の座標で表わされてもよい。 The position of the drawing figure may be represented by the coordinates of the line segment elements that make up the drawing figure, or by the coordinates of the points that make up the drawing figure.

いくつかの実施例では、描画図形は多角形であってよい。多角形は、線分要素から構成される図形と見なしてよい。線分要素の位置は、線分の端点の座標で表してよい。例えば、線分要素は、(x,y,x,y)で表わされてよく、(x,y)及び(x,y)はそれぞれ線分要素の2つの頂点の座標を表す。すると、描画図形を構成する複数の線分要素の座標は、描画図形の位置を表すことができる。 In some examples, the drawing figure may be a polygon. A polygon may be regarded as a figure composed of line segment elements. The position of the line segment element may be represented by the coordinates of the end points of the line segment. For example, a line segment element may be represented by (x 1 , y 1 , x 2 , y 2 ), where (x 1 , y 1 ) and (x 2 , y 2 ) are the two Represents the coordinates of a vertex. Then, the coordinates of the plurality of line segment elements forming the drawing figure can represent the position of the drawing figure.

いくつかの実施例では、描画図形の枠は一連のドットセットから構成される。例えば、描画図形を、画素点から構成される集合と見なしてよく、描画図形を構成する画素点の座標は描画図形の位置を表すことができる。 In some embodiments, the drawing figure frame consists of a series of dot sets. For example, a drawing figure may be regarded as a set of pixel points, and the coordinates of the pixel points forming the drawing figure can represent the position of the drawing figure.

ユーザによる図形描画の過程で、描画中に図形を描画するための描画ツールの対象画像における座標を検出すれば、描画図形を構成する画素点の座標及び/又は線分要素の端点の座標が得られる。ここでの描画ツールは、ドローイングペン、ドローイングブラシなどのツールであってよい。描画ツールの対象画像における座標は、マウスを移動させることで変更してもよいし、表示スクリーン/タッチパネルなどに対するタッチなどにより変更してもよい。 In the process of drawing a figure by the user, if the coordinates in the target image of the drawing tool for drawing the figure are detected during drawing, the coordinates of the pixel points and/or the coordinates of the endpoints of the line segment elements that make up the drawing figure can be obtained. be done. The drawing tool here may be a tool such as a drawing pen, a drawing brush, or the like. The coordinates of the target image of the drawing tool may be changed by moving the mouse, or may be changed by touching the display screen/touch panel or the like.

第2描画図形及び第1描画図形の画素点の座標に基づいて、第2描画図形の第1描画図形内に位置する第1線分要素及び第1描画図形の第2描画図形外に位置する第2線分要素を決定してよい。また、第2描画図形及び第1描画図形の線分要素の端点の座標に基づいて、第2描画図形の第1描画図形内に位置する第1線分要素及び第1描画図形の第2描画図形外に位置する第2線分要素を決定してもよい。 Based on the coordinates of the pixel points of the second drawing figure and the first drawing figure, the first line segment element of the second drawing figure positioned within the first drawing figure and the first drawing figure positioned outside the second drawing figure A second segment element may be determined. Further, based on the coordinates of the end points of the line segment elements of the second drawing figure and the first drawing figure, the second drawing of the first line segment element and the first drawing figure located within the first drawing figure of the second drawing figure A second segment element located outside the figure may be determined.

具体的には、第1描画図形を構成する第1画素点の座標範囲は、(xmin~xmax,ymin~ymax)と記してよい。第2描画図形のある画素点の座標のx値とy値がこの座標範囲内である場合、この画素点は第1描画図形内にあると判断でき、そうでない場合、この画素点は第1描画図形外にあると判断できる。これによって、第2描画図形の第1描画図形内に位置する第1線分要素及び第1描画図形の第2描画図形外に位置する第2線分要素を決定することができる。 Specifically, the coordinate range of the first pixel points forming the first drawing figure may be described as (x min to x max , y min to y max ). If the x-value and y-value of the coordinates of a pixel point on the second drawing figure are within this coordinate range, it can be determined that this pixel point is within the first drawing figure; It can be determined that it is outside the drawing figure. As a result, the first line segment elements positioned within the first drawing figure of the second drawing figure and the second line segment elements positioned outside the second drawing figure of the first drawing figure can be determined.

あるいは、第2描画図形の線分要素の端点の座標のx値とy値のいずれも上記の座標範囲内である場合、この端点は第1描画図形内にあると判断でき、そうでない場合、この端点は第1描画図形外にあると判断できる。また、第1描画図形と第2描画図形との線分要素の交差点を決定し、この交差点、及び第1描画図形内に位置する第2描画図形の線分要素の端点と第1描画図形外に位置する第2描画図形の線分要素の端点に基づいて、第2描画図形の第1描画図形内に位置する第1線分要素及び第1描画図形の第2描画図形外に位置する第2線分要素を決定することができる。 Alternatively, if both the x-value and y-value of the coordinates of the end point of the line segment element of the second drawing figure are within the above coordinate range, it can be determined that this end point is within the first drawing figure; It can be determined that this end point is outside the first drawing figure. Also, the intersection of the line segment elements of the first drawing figure and the second drawing figure is determined, and the intersection and the end points of the line segment elements of the second drawing figure located within the first drawing figure and outside the first drawing figure are determined. Based on the end point of the line segment element of the second drawing figure located at , the first line segment element located within the first drawing figure of the second drawing figure and the first drawing figure located outside the second drawing figure of the first drawing figure A 2-segment element can be determined.

第1線分要素及び第2線分要素を決定した後、第1線分要素と第2線分要素から構成される描画図形を第1ラベリング操作に対応するラベリング結果とすることができる。 After determining the first line segment element and the second line segment element, the drawing figure composed of the first line segment element and the second line segment element can be the labeling result corresponding to the first labeling operation.

例えば、図4に示すような第1描画図形P1及び第2描画図形P2について、P1の線分要素の集合は{a,a,b,a,a,b}で表わされ、P2の線分要素の集合は{b,b,b,b,b,b,b}で表わされ、ここで、a-a、b-bはいずれも線分の端点である。ここで、P1の線分要素{b,a,a}はP2内にあり、{b,b,b,b,b,b}はP2外にある。図5に示すように、線分要素{b,a,a}と{b,b,b,b,b,b}とから構成される描画図形を第1ラベリング操作に対応するラベリング結果とし、第2描画図形の線分要素の集合をそのまま保持するようにしてよい。 For example , for a first drawing figure P1 and a second drawing figure P2 as shown in FIG . a 3 b 2 ,b 2 a 1 }, and the set of segment elements of P2 is {b 1 b 2 ,b 2 b 3 ,b 3 b 4 ,b 4 b 5 ,b 5 b 6 ,b 6 b 7 , b 7 b 1 }, where a 1 -a 4 and b 1 -b 7 are both endpoints of line segments. where the segment elements {b 3 a 4 ,a 4 a 3 ,a 3 b 2 } of P1 are in P2 and {b 1 b 2 ,b 3 b 4 ,b 4 b 5 ,b 5 b 6 , b 6 b 7 , b 7 b 1 } are outside P2. As shown in FIG . 5, line segment elements {b3a4,a4a3,a3b2 } and { b1b2 , b3b4 , b4b5 , b5b6 , b6 b 7 , b 7 b 1 } may be set as the labeling result corresponding to the first labeling operation, and the set of line segment elements of the second drawing figure may be retained as it is.

本開示の実施例では、第1描画図形と第2描画図形が枠図形である場合に、第1描画図形と第2描画図形の位置に基づいて、第2描画図形の第1描画図形内に位置する第1線分要素及び第1描画図形の第2描画図形外に位置する第2線分要素を決定することによって、第1線分要素と第2線分要素から構成される描画図形を第1ラベリング操作に対応するラベリング結果とすることができ、第1ラベリング操作のラベリング結果を速く得ることができ、ラベリング操作の効率が向上し、ユーザ体験が良い。 In the embodiment of the present disclosure, when the first drawing figure and the second drawing figure are frame figures, a A drawing figure composed of the first line segment element and the second line segment element is determined by determining the positioned first line segment element and the second line segment element positioned outside the second drawing figure of the first drawing figure. The labeling result corresponding to the first labeling operation can be obtained, the labeling result of the first labeling operation can be obtained quickly, the efficiency of the labeling operation is improved, and the user experience is good.

可能な一実施形態では、前記方法は、前記対象画像に対する第1ラベリング操作を受け付けた後に、更に、前記対象画像及び前記対象画像における前記第1描画図形を含む複数の描画図形を表示画面に表示することと、前記複数の描画図形から前記第1描画図形を選択するための第2ユーザ指令を受け付けることと、前記表示画面における前記第2ユーザ指令によって指示される位置及び前記表示画面における前記複数の描画図形の位置に基づいて、選択される前記第1描画図形を決定することと、を含む。 In one possible embodiment, the method further includes displaying the target image and a plurality of drawing figures including the first drawing figure in the target image on a display screen after receiving a first labeling operation for the target image. receiving a second user command for selecting the first drawing figure from the plurality of drawing figures; and selecting the position indicated by the second user command on the display screen and the plurality of drawing figures on the display screen. determining the first drawing figure to be selected based on the position of the drawing figure.

ユーザが第2ユーザ指令を発することによって、前記複数の描画図形から前記第1描画図形を選択する。例えば、ユーザが対象画像における描画図形に対して選定操作を行うことにより、第1描画図形を選択してよい。具体的には、ユーザは第2ユーザ指令をトリガーすると、第2ユーザ指令のトリガーのときに表示画面においてマウス又はタッチ点で示された位置を決定することができる。表示画面における複数の描画図形の位置は、図形描画終了後に決定してもよい。第2ユーザ指令によって指示される位置が第1描画図形内部にある場合に、選択される第1描画図形を決定することができる。これによって、第2ユーザ指令により選択される第1描画図形を決定することができる。 The user issues a second user command to select the first drawing figure from the plurality of drawing figures. For example, the user may select the first drawing figure by performing a selection operation on the drawing figure in the target image. Specifically, when the user triggers the second user command, the user can determine the position indicated by the mouse or touch point on the display screen at the time of triggering the second user command. The positions of the plurality of graphics to be drawn on the display screen may be determined after the graphics have been drawn. The first drawing figure to be selected can be determined when the position indicated by the second user command is inside the first drawing figure. Thereby, the first drawing figure selected by the second user command can be determined.

あるいは、ユーザが描画図形のマークなどの情報を選定することによって、第1描画図形を選択してもよい。本開示では詳細な説明を省略する。 Alternatively, the user may select the first drawing figure by selecting information such as the mark of the drawing figure. A detailed description is omitted in this disclosure.

本開示の実施例では、ユーザが第2ユーザ指令を発することによって、第1描画図形に対する指定操作を実現する。ユーザによる調整すべき描画図形の調整の便宜を図るために、調整すべき第1描画図形をユーザが自ら指定してよい。これによって、機械学習により得られたニューラルネットワークの精度が向上し、多様なユーザニーズを満足でき、ユーザ体験が良い。 In the embodiment of the present disclosure, the specifying operation for the first drawing figure is realized by the user issuing the second user command. In order to facilitate adjustment of the drawing figure to be adjusted by the user, the user may himself/herself designate the first drawing figure to be adjusted. This improves the accuracy of the neural network obtained by machine learning, satisfies various user needs, and provides a good user experience.

人工知能分野において、セマンティックセグメンテーションは、コンピュータビジョンの分野における1つの重要な研究内容である。画像セマンティックセグメンテーションは、多くの応用シーン、例えば対象認識、対象検出などの分野に適用可能である。セマンティックセグメンテーションにより、画像を異なるセマンティック情報を有する領域に分割することができる。例えば、1枚の画像に対してセマンティックセグメンテーションを行うことにより、画像中の物体にセマンティックラベル(例えば空、芝地、人、木、小動物など)を付加することができる。 In the field of artificial intelligence, semantic segmentation is one important research topic in the field of computer vision. Image semantic segmentation is applicable to many application scenes, such as object recognition, object detection, and so on. Semantic segmentation allows dividing an image into regions with different semantic information. For example, by performing semantic segmentation on a single image, objects in the image can be assigned semantic labels (eg, sky, lawn, people, trees, small animals, etc.).

画像に対するラベリングの過程で、画像に図形を描画してラベリングされた領域を示す。通常、同じセマンティックを有する領域を多角形で選択する。セマンティックセグメンテーション対象となる画像において、複数のものが互いを遮蔽する場合がある。例えば、対象画像の内容は、人が芝地の上に立つことであり、画像中の人の脚部が芝地の一部を遮蔽する場合がある。遮蔽部分のエッジはセマンティックセグメンテーションの境界線であり、境界線両側はセマンティックが異なる。画像中のセマンティックが異なるセマンティックユニットに対してラベリングを行う過程で、境界線両側の領域のそれぞれに対してラベリングを行う場合、境界線について2回ラベリングしてよい。境界線の形状が通常不規則なものであるため、2回のラベリングを行う場合、画像ラベリングの効率が低い。 During the process of labeling an image, a graphic is drawn on the image to indicate the labeled region. Usually, polygons select regions that have the same semantics. In an image targeted for semantic segmentation, multiple objects may occlude each other. For example, the content of the target image may be a person standing on a lawn, and the person's legs in the image may occlude part of the lawn. The edge of the occluded part is the semantic segmentation boundary, and the semantics are different on both sides of the boundary. In the process of labeling semantic units having different semantics in an image, when labeling regions on both sides of a boundary line, the boundary line may be labeled twice. Since the shape of the boundary line is usually irregular, the efficiency of image labeling is low when labeling twice.

セマンティックセグメンテーションの応用シーンにおいて、本開示は、可能な一実現形態を提供する。この実現形態において、第1ラベリング操作は、前記対象画像に対してセマンティックセグメンテーション・ラベリングを行うためのものである。第1描画図形と第2描画図形との重複部分で示される画像領域のセマンティックは、第2描画図形で示される画像領域のセマンティックと同じであるが、第1画像領域のうち重複部分以外の画像領域のセマンティックと異なるようにしてもよい。例えば、上記の例を参照し、第1画像領域は、芝地が位置する領域であるが、芝地を遮蔽する脚部を含み、第2画像領域は、画像中の人が位置する領域である。この場合には、重複部分を第1描画図形から除去して、得られた第1描画図形で示される第1画像領域のセマンティックがより正確で、機械学習により得られたニューラルネットワークの精度を向上させることができる。また、ユーザによる第2描画図形の描画の終了後に、ユーザが第2描画図形を描画することにより2つのセマンティックユニット間の境界線をラベリングした場合に、第1描画図形の描画の過程で、ユーザが2つのセマンティックユニット間の境界線を再描画する必要がなく、ユーザが第1描画図形を手動調整する必要もなく、ユーザ操作が少なく、利便性が高く、対象画像に対するラベリングの効率が向上し、ラベリングにかかる時間が節約される。 In the application scene of semantic segmentation, this disclosure provides one possible implementation. In this implementation, the first labeling operation is for performing semantic segmentation labeling on the target image. The semantics of the image area indicated by the overlapping portion of the first drawing figure and the second drawing figure are the same as the semantics of the image area indicated by the second drawing figure, but the image other than the overlapping part of the first image area It may be different from the domain semantics. For example, referring to the example above, the first image area is the area where the grass is located, but includes the legs shielding the grass, and the second image area is the area where the person in the image is located. be. In this case, the overlapping part is removed from the first drawing figure, and the semantic of the first image region indicated by the obtained first drawing figure is more accurate, and the accuracy of the neural network obtained by machine learning is improved. can be made Further, when the user labels the boundary line between two semantic units by drawing the second drawing figure after the user has finished drawing the second drawing figure, in the process of drawing the first drawing figure, the user There is no need to redraw the boundary line between the two semantic units, and the user does not need to manually adjust the first drawing figure. , saving time in labeling.

可能な一実現形態では、前記対象画像は、ウェブページ画面に表示される。このウェブページ画面は、例えばHTML5言語でエンコードされたウェブページ画面であってよい。すると、図形描画の過程で、HTML5におけるキャンバス(Canvas)により図形を描画することにより、対象画像に対するラベリングを実現してよい。 In one possible implementation, the target image is displayed on a web page screen. This web page screen may be, for example, a web page screen encoded in HTML5 language. Then, in the process of drawing a figure, the labeling of the target image may be realized by drawing the figure on a canvas in HTML5.

以下、対象画像がウェブページ画面に表示されることを例とし、第1ラベリング操作が前記対象画像に対してセマンティックセグメンテーション・ラベリングを行うためのものである場合を本開示の具体的な応用シーンとして、本開示に係るラベリング方法を例示的に説明する。この部分で詳しく説明しない内容について、以上の関連記載を参照すればよい。また、この部分における内容は、以上の内容に対する例示的な説明としても利用可能である。 In the following, the case where a target image is displayed on a web page screen is taken as an example, and the case where the first labeling operation is for performing semantic segmentation and labeling on the target image is taken as a specific application scene of the present disclosure. , exemplarily describe the labeling method according to the present disclosure. For matters not described in detail in this section, reference is made to the above related descriptions. The content in this section can also be used as an exemplary explanation for the above content.

図6を参照すると、本開示に係る1つの可能な応用シーンにおいて、本開示に係るラベリング方法は、ステップ201~ステップ206を含む。 Referring to FIG. 6, in one possible application scene according to the present disclosure, the labeling method according to the present disclosure includes steps 201-206.

ステップ201において、ウェブページ画面に対象画像を表示する。 In step 201, a target image is displayed on a web page screen.

ステップ202において、HTML5におけるキャンバス(Canvas)により対象画像において図形を描画し、複数の描画図形を得る。 At step 202, graphics are drawn on the target image using a canvas in HTML5 to obtain a plurality of drawn graphics.

描画図形は多角形であってよい。図形描画の具体的な過程は以下のとおりである。
まず、JavaScript言語におけるマウスアップイベント(mouseup)により多角形の点の作成を実現する。具体的には、ユーザがマウスの左ボタンをクリックした(左ボタンを押してから離した)後、左ボタンが離されたユーザ操作に応じて、キャンバスは新たな図形の開始点を作成したり、新たに作成した図形に新たな多角形の頂点を与えたりすることができる。ユーザがマウスの右ボタンをクリックした(右ボタンを押してから離した)後、右ボタンが離されたユーザ操作に応じて、キャンバスは図形の開始点と終了点とを接続し、作成した多角形の閉鎖を実現することができる。
A drawing figure may be a polygon. The specific process of figure drawing is as follows.
First, creation of polygonal points is realized by a mouseup event (mouseup) in the JavaScript language. Specifically, after the user clicks the left mouse button (presses and releases the left button), the canvas creates a starting point of a new shape, New polygon vertices can be given to a newly created figure. After the user clicks the right mouse button (presses and releases the right mouse button), the canvas connects the start and end points of the shape to create the polygon closure can be achieved.

JavaScript言語におけるマウス移動イベント(mousemove)のコールバックイベントのeイベント属性により、ブラウザ内のマウスの位置をキャプチャして、対象画像におけるユーザ操作の位置を決定し、これによってユーザが描画した描画図形の対象画像における位置を決定する。 The e event attribute of the callback event of the mouse move event (mousemove) in the JavaScript language captures the position of the mouse in the browser, determines the position of the user operation in the target image, and thereby determines the drawing figure drawn by the user. Determine the position in the target image.

描画図形は複数あり、描画図形は、ラベリングすべき対象画像中の領域についてユーザが描画した図形である。 There are a plurality of drawn figures, and the drawn figure is a figure drawn by the user for the area in the target image to be labeled.

ステップ203において、選択操作指令を受け付け、選択操作指令に基づいて第1描画図形を決定する。 At step 203, a selection operation command is received, and a first drawing figure is determined based on the selection operation command.

選択操作指令は、複数の描画図形から調整処理すべき図形を選択するために用いられる。選択操作指令は、前述した第2ユーザ指令である。ここで、調整すべき図形を第1描画図形という。 A selection operation command is used to select a figure to be adjusted from a plurality of drawing figures. The selection operation command is the aforementioned second user command. Here, the figure to be adjusted is referred to as a first drawing figure.

ウェブページ画面における選択操作指令によって指示される位置及びウェブページ画面における複数の描画図形の位置に基づいて、ウェブページ画面における選択操作指令によって指示される位置が第1描画図形内部にあると決定した場合に、選択される第1描画図形を決定することができる。 Based on the position indicated by the selection operation command on the web page screen and the positions of the plurality of drawing figures on the web page screen, it is determined that the position indicated by the selection operation command on the web page screen is inside the first drawing figure. case, the first drawing figure to be selected can be determined.

ステップ204において、調整操作指令を受け付ける。 At step 204, an adjustment operation command is accepted.

調整操作指令は、ウェブページ画面における第1描画図形を調整処理するように指示するためのものであり、調整操作指令は前述した第1ユーザ指令である。 The adjustment operation command is for instructing adjustment processing of the first drawing figure on the web page screen, and the adjustment operation command is the aforementioned first user command.

ステップ205において、調整操作指令に応じて、対象画像における複数の描画図形のうち、第1描画図形と重複する部分がある第2描画図形が存在するか否かを検出する。 In step 205, it is detected whether or not there is a second drawing figure that overlaps with the first drawing figure among the plurality of drawing figures in the target image according to the adjustment operation command.

第1描画図形と第2描画図形とは重複する部分が存在している。例えば、対象画像の内容は、人が芝地の上に立つことであり、画像中の人の脚部は、芝地の一部を遮蔽している。ユーザによって描画される第1描画図形は、芝地が位置する領域であってよい。芝生のエッジが通常、不規則な形状ではなく直線に近いので、ユーザが第1描画図形を速く描画しやすくなるように、芝地内の人の脚部の位置する領域が第1描画図形に含まれ、第2描画図形が人の位置する領域であるようにしてもよい。 There is an overlapping portion between the first drawing figure and the second drawing figure. For example, the content of the target image is a person standing on a lawn, and the person's legs in the image occlude a portion of the lawn. The first drawing figure drawn by the user may be the area where the lawn is located. Since the edge of the lawn is generally straight rather than irregular, the first drawing figure includes the area where the legs of the person in the lawn are located so that the user can quickly draw the first drawing figure. Alternatively, the second drawing figure may be the area where the person is positioned.

ステップ206において、第1描画図形において第2描画図形と重複する部分を第1描画図形から除去して調整結果を得る。 In step 206, the portion of the first drawing figure that overlaps with the second drawing figure is removed from the first drawing figure to obtain the adjustment result.

第1描画図形が枠図形である場合に、第1描画図形と第2描画図形の位置に基づいて、第2描画図形の第1描画図形内に位置する第1線分要素及び第1描画図形の第2描画図形外に位置する線分要素を決定することができる。そして、第1線分要素と、第1描画図形の第2描画図形外に位置する線分要素から構成される図形を、第1描画図形に対する調整結果とする。調整後の第1描画図形は、対象画像の第1画像領域のセマンティック情報をラベリングすることに用いられる。 When the first drawing figure is a frame figure, the first line segment element and the first drawing figure positioned within the first drawing figure of the second drawing figure based on the positions of the first drawing figure and the second drawing figure It is possible to determine line segment elements located outside the second drawing figure of . Then, a figure composed of the first line segment element and the line segment element positioned outside the second drawing figure of the first drawing figure is used as the adjustment result for the first drawing figure. The adjusted first drawing figure is used for labeling the semantic information of the first image area of the target image.

また、第1描画図形と第2描画図形の位置に基づいて、第1描画図形の第2描画図形内に位置する第2線分要素を決定し、該第2線分要素を除去する。このように、第2描画図形内部には他の線分要素がなくなった。 Also, based on the positions of the first drawing figure and the second drawing figure, a second line segment element positioned within the second drawing figure of the first drawing figure is determined, and the second line segment element is removed. In this way, there are no other line segment elements inside the second drawing figure.

第1描画図形に対する調整結果は、第1描画図形に対して、第2描画図形内の領域が除去されたものであり、対象画像内のセマンティックユニットに対するラベリングに用いられ、かつユーザが第2描画図形を描画することにより2つのセマンティックユニット間の境界線をラベリングした場合に、その中のもう一つのセマンティックユニットの描画の過程で、ユーザが2つのセマンティックユニット間の境界線を再描画する必要がなく、ラベリング効率が向上し、ラベリングにかかる時間が節約される。 The adjustment result for the first drawing figure is obtained by removing the region in the second drawing figure from the first drawing figure, and is used for labeling the semantic units in the target image, and the user performs the second drawing figure. When the boundary line between two semantic units is labeled by drawing a figure, the user needs to redraw the boundary line between the two semantic units in the process of drawing another semantic unit within it. It improves labeling efficiency and saves labeling time.

可能な一実現形態では、上記ラベリング方法は、ユーザ側装置(User Equipment,UE)、携帯機器、ユーザ端末、端末、セルラーホン、コードレス電話、パーソナル・デジタル・アシスタント(Personal Digital Assistant,PDA)、手持ち機器、計算装置、車載装置、ウェアラブル装置等の端末装置又はサーバなどの電子機器により実行されてもよく、プロセッサによりメモリに記憶されたコンピュータ読み取り可能な命令を呼び出すことで実現されてもよく、又は、サーバによって実行されてもよい。 In one possible implementation, the above labeling method can be applied to User Equipment (UE), Mobile Equipment, User Terminal, Terminal, Cellular Phone, Cordless Phone, Personal Digital Assistant (PDA), Handheld It may be executed by an electronic device such as a terminal device such as an appliance, a computing device, an in-vehicle device, a wearable device, or a server, and may be realized by calling computer readable instructions stored in memory by a processor, or , may be executed by the server.

本開示で言及される上記各方法の実施例は、原理と論理に違反しない限り、相互に組み合わせて実施例を形成することができることが理解すべきである。紙数に限りがあるので、本開示では詳細な説明を省略する。当業者であれば、具体的な実施形態に係る上記の方法では、各ステップの実行順序がその機能と内部の論理によって具体的に決定されることが理解すべきである。 It should be understood that the above method embodiments referred to in this disclosure can be combined with each other to form embodiments without violating principles and logic. Due to space limitations, detailed descriptions are omitted in this disclosure. Those skilled in the art should understand that the execution order of each step in the above method according to the specific embodiments is specifically determined by its function and internal logic.

なお、本開示では、ラベリング装置、電子機器、コンピュータ読み取り可能な記憶媒体、プログラムが更に提供される。これらはいずれも本開示に係るラベリング方法のいずれか1つを実現するために利用できる。対応する技術的解決手段と説明は、方法の対応する記載を参照すればよく、詳細な説明を省略する。 Note that the present disclosure further provides a labeling device, an electronic device, a computer-readable storage medium, and a program. Any one of these can be used to implement any one of the labeling methods according to the present disclosure. For the corresponding technical solutions and descriptions, please refer to the corresponding descriptions of the methods, and detailed descriptions are omitted.

図7は、本開示の実施例に係るラベリング装置のブロック図を示す。図7に示すように、上記装置は、
対象画像に対する第1ラベリング操作であって、前記対象画像において第1画像領域を示す第1描画図形を描画するための前記第1ラベリング操作を受け付ける受付モジュール301と、
前記対象画像における第2描画図形と前記第1描画図形とが少なくとも一部重複する場合に、前記第1描画図形を調整して前記第1ラベリング操作に対応するラベリング結果を得る調整モジュール302と、を備える。
FIG. 7 shows a block diagram of a labeling device according to an embodiment of the disclosure. As shown in FIG. 7, the device comprises:
a receiving module 301 that receives a first labeling operation for a target image, the first labeling operation for drawing a first drawing figure indicating a first image area in the target image;
an adjustment module 302 for adjusting the first drawing figure to obtain a labeling result corresponding to the first labeling operation when the second drawing figure and the first drawing figure in the target image at least partially overlap; Prepare.

可能な一実現形態では、前記装置は、前記対象画像における少なくとも1つの先描画図形のうち、前記第1描画図形と重複する部分がある描画図形が存在するか否かを検出する検出モジュールを更に備える。 In one possible implementation, the apparatus further includes a detection module for detecting whether or not there is a drawn figure that overlaps with the first drawn figure among at least one previous drawn figure in the target image. Prepare.

可能な一実現形態では、前記装置は、前記第1描画図形を調整するように指示するための第1ユーザ指令を受け付ける第1ユーザ指令受付モジュールを更に備える。 In one possible implementation, the device further comprises a first user command receiving module for receiving a first user command to instruct to adjust the first drawing figure.

可能な一実現形態では、前記調整モジュール302は、前記第1描画図形において前記第2描画図形と重複する部分を除去した描画図形を、前記第1ラベリング操作に対応するラベリング結果とする。 In one possible implementation, the adjustment module 302 removes the portion of the first drawing figure that overlaps with the second drawing figure as the labeling result corresponding to the first labeling operation.

可能な一実現形態では、前記調整モジュール302は、前記第1描画図形と前記第2描画図形が枠図形である場合に、前記第1描画図形と前記第2描画図形の位置に基づいて、前記第2描画図形の前記第1描画図形内に位置する第1線分要素及び前記第1描画図形の前記第2描画図形外に位置する第2線分要素を決定することと、前記第1線分要素と前記第2線分要素から構成される描画図形を前記第1ラベリング操作に対応するラベリング結果とすることとに用いられる。 In one possible implementation, the adjustment module 302, when the first drawing figure and the second drawing figure are frame figures, based on the positions of the first drawing figure and the second drawing figure, Determining a first line segment element positioned within said first drawing figure of a second drawing figure and a second line segment element positioned outside said second drawing figure of said first drawing figure; and said first line segment element. The labeling result corresponding to the first labeling operation is a drawing figure composed of the segment element and the second line segment element.

可能な一実現形態では、前記装置は、
前記対象画像及び前記対象画像における前記第1描画図形を含む複数の描画図形を表示画面に表示する表示モジュールと、
前記複数の描画図形から前記第1描画図形を選択するための第2ユーザ指令を受け付ける第2ユーザ指令受付モジュールと、
前記表示画面における前記第2ユーザ指令によって指示される位置及び前記表示画面における前記複数の描画図形の位置に基づいて、選択される前記第1描画図形を決定する決定モジュールと、を更に備える。
In one possible implementation, the device comprises:
a display module for displaying the target image and a plurality of drawing figures including the first drawing figure in the target image on a display screen;
a second user command receiving module for receiving a second user command for selecting the first drawing figure from the plurality of drawing figures;
a determination module that determines the first drawing figure to be selected based on the position indicated by the second user command on the display screen and the positions of the plurality of drawing figures on the display screen.

可能な一実現形態では、前記対象画像は、ウェブページ画面に表示される。 In one possible implementation, the target image is displayed on a web page screen.

可能な一実現形態では、前記第1ラベリング操作は、前記対象画像に対してセマンティックセグメンテーション・ラベリングを行うためのものである。 In one possible implementation, said first labeling operation is for performing semantic segmentation labeling on said target image.

いくつかの実施例では、本開示の実施例に係る装置が備える機能又はモジュールは、上述した方法の実施例に説明される方法を実行するために利用でき、その具体的な実現及び技術的効果について、上述した方法の実施例の説明を参照すればよく、簡素化のために、ここで詳細な説明を省略する。 In some embodiments, the functions or modules provided by the apparatus according to the embodiments of the present disclosure can be used to perform the methods described in the method embodiments above, and the specific implementations and technical effects thereof. can be referred to the description of the method embodiment above, and for the sake of simplification, the detailed description is omitted here.

本開示の実施例では、コンピュータプログラム命令が記憶されているコンピュータ可読記憶媒体であって、前記コンピュータプログラム命令はプロセッサによって実行されると、上記の方法を実現させるコンピュータ可読記憶媒体がさらに提供される。当該コンピュータ可読記憶媒体は、不揮発性のコンピュータ可読記憶媒体であってもよい。 An embodiment of the present disclosure further provides a computer readable storage medium having computer program instructions stored thereon, said computer program instructions, when executed by a processor, effecting the above method. . The computer-readable storage medium may be a non-volatile computer-readable storage medium.

本開示の実施例では、プロセッサと、プロセッサにより実行可能な命令を記憶するメモリと、を含み、前記プロセッサは、前記メモリに記憶されている命令を呼び出して上記方法を実行するように構成される電子機器がさらに提供される。 An embodiment of the present disclosure includes a processor and a memory storing instructions executable by the processor, the processor being configured to invoke the instructions stored in the memory to perform the method. Further provided is an electronic device.

本開示の実施例では、コンピュータ読み取り可能なコードを含み、コンピュータ読み取り可能なコードが機器において実行されると、機器におけるプロセッサが上記のいずれかの実施例に係るラベリング方法を実現するための命令を実行するコンピュータプログラム製品がさらに提供される。 Embodiments of the present disclosure include computer readable code, and when the computer readable code is executed in a device, a processor in the device executes instructions for implementing a labeling method according to any of the above embodiments. Further provided is a computer program product for execution.

本開示の実施例では、コンピュータ読み取り可能な命令が記憶されているコンピュータプログラム製品であって、命令は実行されると、上記のいずれかの実施例に係るラベリング方法の操作をコンピュータに実行させる別のコンピュータプログラム製品がさらに提供される。 An embodiment of the present disclosure is a computer program product having computer readable instructions stored therein which, when executed, cause a computer to perform the operations of a labeling method according to any of the embodiments above. is further provided.

電子機器は、端末、サーバ又は他の形態の機器として提供されてもよい。 An electronic device may be provided as a terminal, server, or other form of device.

図8は、本開示の実施例に係る電子機器800を示すブロック図である。例えば、電子機器800は携帯電話、コンピュータ、デジタル放送端末、メッセージ送受信機器、ゲームコンソール、タブレット型機器、医療機器、フィットネス機器、パーソナル・デジタル・アシスタント等の端末であってもよい。 FIG. 8 is a block diagram illustrating electronic device 800 according to an embodiment of the present disclosure. For example, electronic device 800 may be a terminal such as a mobile phone, computer, digital broadcast terminal, messaging device, game console, tablet device, medical device, fitness device, personal digital assistant, or the like.

図8を参照すると、電子機器800は、処理コンポーネント802、メモリ804、電源コンポーネント806、マルチメディアコンポーネント808、オーディオコンポーネント810、入力/出力(I/O)のインタフェース812、センサコンポーネント814、および通信コンポーネント816のうちの一つ以上を含んでもよい。 Referring to FIG. 8, electronic device 800 includes processing component 802, memory 804, power component 806, multimedia component 808, audio component 810, input/output (I/O) interface 812, sensor component 814, and communication component. 816 may be included.

処理コンポーネント802は通常、電子機器800の全体的な動作、例えば表示、電話の呼び出し、データ通信、カメラ動作および記録動作に関連する動作を制御する。処理コンポーネント802は、上記方法の全てまたは一部のステップを実行するために、命令を実行する一つ以上のプロセッサ820を含んでもよい。また、処理コンポーネント802は、他のコンポーネントとのインタラクションのための一つ以上のモジュールを含んでもよい。例えば、処理コンポーネント802は、マルチメディアコンポーネント808とのインタラクションのために、マルチメディアモジュールを含んでもよい。 The processing component 802 typically controls the overall operation of the electronic device 800, such as operations related to display, telephone calls, data communications, camera operations and recording operations. Processing component 802 may include one or more processors 820 that execute instructions to perform all or part of the steps of the methods described above. Processing component 802 may also include one or more modules for interaction with other components. For example, processing component 802 may include multimedia modules for interaction with multimedia component 808 .

メモリ804は電子機器800での動作をサポートするための様々なタイプのデータを記憶するように構成される。これらのデータは、例として、電子機器800において操作するあらゆるアプリケーションプログラムまたは方法の命令、連絡先データ、電話帳データ、メッセージ、ピクチャー、ビデオなどを含む。メモリ804は、例えば静的ランダムアクセスメモリ(SRAM)、電気的消去可能プログラマブル読み取り専用メモリ(EEPROM)、消去可能なプログラマブル読み取り専用メモリ(EPROM)、プログラマブル読み取り専用メモリ(PROM)、読み取り専用メモリ(ROM)、磁気メモリ、フラッシュメモリ、磁気ディスクまたは光ディスクなどの様々なタイプの揮発性または不揮発性記憶装置またはそれらの組み合わせによって実現できる。 Memory 804 is configured to store various types of data to support operations in electronic device 800 . These data include, by way of example, instructions for any application programs or methods that operate on electronic device 800, contact data, phone book data, messages, pictures, videos, and the like. Memory 804 may be, for example, static random access memory (SRAM), electrically erasable programmable read only memory (EEPROM), erasable programmable read only memory (EPROM), programmable read only memory (PROM), read only memory (ROM ), magnetic memory, flash memory, magnetic disk or optical disk, or any combination thereof.

電源コンポーネント806は電子機器800の各コンポーネントに電力を供給する。電源コンポーネント806は電源管理システム、一つ以上の電源、および電子機器800のための電力生成、管理および配分に関連する他のコンポーネントを含んでもよい。 Power supply component 806 provides power to each component of electronic device 800 . Power supply components 806 may include a power management system, one or more power supplies, and other components related to power generation, management, and distribution for electronic device 800 .

マルチメディアコンポーネント808は前記電子機器800とユーザとの間で出力インタフェースを提供するスクリーンを含む。いくつかの実施例では、スクリーンは液晶ディスプレイ(LCD)およびタッチパネル(TP)を含んでもよい。スクリーンがタッチパネルを含む場合、ユーザからの入力信号を受信するタッチスクリーンとして実現してもよい。タッチパネルは、タッチ、スライドおよびタッチパネルでのジェスチャーを検知するように、一つ以上のタッチセンサを含む。前記タッチセンサはタッチまたはスライド動きの境界を検知するのみならず、前記タッチまたはスライド操作に関連する持続時間および圧力を検出するようにしてもよい。いくつかの実施例では、マルチメディアコンポーネント808は前面カメラおよび/または背面カメラを含む。電子機器800が動作モード、例えば撮影モードまたは撮像モードになる場合、前面カメラおよび/または背面カメラは外部のマルチメディアデータを受信するようにしてもよい。各前面カメラおよび背面カメラは、固定された光学レンズ系、または焦点距離および光学ズーム能力を有するものであってもよい。 Multimedia component 808 includes a screen that provides an output interface between electronic device 800 and a user. In some examples, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, it may be implemented as a touch screen that receives input signals from the user. A touch panel includes one or more touch sensors to detect touches, slides, and gestures on the touch panel. The touch sensor may detect not only the boundaries of touch or slide movement, but also the duration and pressure associated with the touch or slide operation. In some examples, multimedia component 808 includes a front-facing camera and/or a rear-facing camera. The front camera and/or the rear camera may receive external multimedia data when the electronic device 800 is in an operational mode, such as a photographing mode or imaging mode. Each front and rear camera may have a fixed optical lens system or a focal length and optical zoom capability.

オーディオコンポーネント810はオーディオ信号を出力および/または入力するように構成される。例えば、オーディオコンポーネント810は、一つのマイク(MIC)を含み、マイク(MIC)は、電子機器800が動作モード、例えば呼び出しモード、記録モードおよび音声認識モードになる場合、外部のオーディオ信号を受信するように構成される。受信されたオーディオ信号はさらにメモリ804に記憶されるか、または通信コンポーネント816を介して送信されてもよい。いくつかの実施例では、オーディオコンポーネント810はさらに、オーディオ信号を出力するためのスピーカーを含む。 Audio component 810 is configured to output and/or input audio signals. For example, the audio component 810 includes a microphone (MIC) that receives external audio signals when the electronic device 800 is in operational modes, such as call mode, recording mode and voice recognition mode. configured as The received audio signals may also be stored in memory 804 or transmitted via communication component 816 . In some examples, audio component 810 further includes a speaker for outputting audio signals.

I/Oインタフェース812は処理コンポーネント802と周辺インタフェースモジュールとの間でインタフェースを提供し、上記周辺インタフェースモジュールはキーボード、クリックホイール、ボタンなどであってもよい。これらのボタンはホームボタン、音量ボタン、スタートボタンおよびロックボタンを含んでもよいが、これらに限定されない。 I/O interface 812 provides an interface between processing component 802 and peripheral interface modules, which may be keyboards, click wheels, buttons, and the like. These buttons may include, but are not limited to, home button, volume button, start button and lock button.

センサコンポーネント814は電子機器800の各方面の状態評価のために一つ以上のセンサを含む。例えば、センサコンポーネント814は電子機器800のオン/オフ状態、例えば電子機器800の表示装置およびキーパッドのようなコンポーネントの相対的位置決めを検出でき、センサコンポーネント814はさらに、電子機器800または電子機器800のあるコンポーネントの位置の変化、ユーザと電子機器800との接触の有無、電子機器800の方位または加減速および電子機器800の温度変化を検出できる。センサコンポーネント814は、いかなる物理的接触もない場合に近傍の物体の存在を検出するように構成される近接センサを含んでもよい。センサコンポーネント814はさらに、相補型金属酸化膜半導体(CMOS)または電荷結合素子(CCD)イメージセンサのような、イメージングアプリケーションにおいて使用するための光センサを含んでもよい。いくつかの実施例では、該センサコンポーネント814はさらに、加速度センサ、ジャイロセンサ、磁気センサ、圧力センサまたは温度センサを含んでもよい。 Sensor component 814 includes one or more sensors for assessing the condition of various aspects of electronic device 800 . For example, the sensor component 814 can detect the on/off state of the electronic device 800, the relative positioning of components such as the display and keypad of the electronic device 800, and the sensor component 814 can further detect the electronic device 800 or the electronic device 800. Changes in the position of a certain component, presence or absence of contact between the user and the electronic device 800, orientation or acceleration/deceleration of the electronic device 800, and temperature changes of the electronic device 800 can be detected. Sensor component 814 may include a proximity sensor configured to detect the presence of nearby objects in the absence of any physical contact. Sensor component 814 may also include optical sensors for use in imaging applications, such as complementary metal-oxide-semiconductor (CMOS) or charge-coupled device (CCD) image sensors. In some examples, the sensor component 814 may further include an acceleration sensor, a gyro sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.

通信コンポーネント816は電子機器800と他の機器との有線または無線通信を実現するように構成される。電子機器800は通信規格に基づく無線ネットワーク、例えば無線ネットワーク(WiFi)、第2世代移動通信技術(2G)または第3世代移動通信技術(3G)、またはそれらの組み合わせにアクセスできる。一例示的実施例では、通信コンポーネント816は放送チャネルを介して外部の放送管理システムからの放送信号または放送関連情報を受信する。一例示的実施例では、前記通信コンポーネント816はさらに、近距離通信を促進させるために、近距離無線通信(NFC)モジュールを含む。例えば、NFCモジュールは、無線周波数識別(RFID)技術、赤外線データ協会(IrDA)技術、超広帯域(UWB)技術、ブルートゥース(BT)技術および他の技術によって実現できる。 Communication component 816 is configured to provide wired or wireless communication between electronic device 800 and other devices. The electronic device 800 can access a wireless network based on a communication standard, such as a wireless network (WiFi), a second generation mobile technology (2G) or a third generation mobile technology (3G), or a combination thereof. In one exemplary embodiment, communication component 816 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, the communication component 816 further includes a Near Field Communication (NFC) module to facilitate near field communication. For example, the NFC module can be implemented by Radio Frequency Identification (RFID) technology, Infrared Data Association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology and other technologies.

例示的な実施例では、電子機器800は一つ以上の特定用途向け集積回路(ASIC)、デジタル信号プロセッサ(DSP)、デジタルシグナルプロセッサ(DSPD)、プログラマブルロジックデバイス(PLD)、フィールドプログラマブルゲートアレイ(FPGA)、コントローラ、マイクロコントローラ、マイクロプロセッサまたは他の電子要素によって実現され、上記方法を実行するために用いられることができる。 In an exemplary embodiment, electronic device 800 includes one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processors (DSPDs), programmable logic devices (PLDs), field programmable gate arrays ( FPGA), controller, microcontroller, microprocessor or other electronic component, and can be used to perform the above methods.

例示的な実施例では、さらに、不揮発性コンピュータ読み取り可能記憶媒体、例えばコンピュータプログラム命令を含むメモリ804が提供され、上記コンピュータプログラム命令は、電子機器800のプロセッサ820によって実行されと、上記方法を実行させることができる。 The exemplary embodiment further provides a non-volatile computer-readable storage medium, e.g., memory 804, containing computer program instructions, which, when executed by processor 820 of electronic device 800, perform the methods described above. can be made

図9は、本開示の実施例に係る電子機器1900を示すブロック図である。例えば、電子機器1900はサーバとして提供されてもよい。図9を参照すると、電子機器1900は、一つ以上のプロセッサを含む処理コンポーネント1922、および、処理コンポーネント1922によって実行可能な命令例えばアプリケーションプログラムを記憶するための、メモリ1932を代表とするメモリ資源を含む。メモリ1932に記憶されているアプリケーションプログラムは、それぞれが1つの命令群に対応する一つ以上のモジュールを含んでもよい。また、処理コンポーネント1922は命令を実行することによって上記方法を実行するように構成される。 FIG. 9 is a block diagram illustrating an electronic device 1900 according to an embodiment of the disclosure. For example, electronic device 1900 may be provided as a server. Referring to FIG. 9, electronic device 1900 includes a processing component 1922, which includes one or more processors, and memory resources, typically memory 1932, for storing instructions, such as application programs, executable by processing component 1922. include. An application program stored in memory 1932 may include one or more modules each corresponding to a set of instructions. The processing component 1922 is also configured to perform the method by executing instructions.

電子機器1900はさらに、電子機器1900の電源管理を実行するように構成される電源コンポーネント1926、電子機器1900をネットワークに接続するように構成される有線または無線ネットワークインタフェース1950、および入出力(I/O)インタフェース1958を含んでもよい。電子機器1900はメモリ1932に記憶されいるオペレーティングシステム、例えばウィンドウズサーバオペレーティングシステム(Windows ServerTM)、アップル社より発行されるグラフィカルユーザインターフェースに基づくオペレーティングシステム(Mac OS XTM)、マルチユーザマルチプロセスのコンピュータオペレーティングシステム(UnixTM)、フリーおよびオープンソースコードのUnix系オペレーティングシステム(LinuxTM)、オープンソースコードのUnix系オペレーティングシステム(FreeBSDTM)または類似するものに基づいて動作できる。 Electronic device 1900 further includes a power component 1926 configured to perform power management of electronic device 1900, a wired or wireless network interface 1950 configured to connect electronic device 1900 to a network, and an input/output (I/O) interface 1950 configured to connect electronic device 1900 to a network. O) may include an interface 1958; Electronic device 1900 may be configured with an operating system stored in memory 1932, such as the Windows Server operating system (Windows Server ), a graphical user interface-based operating system (Mac OS X ) published by Apple Inc., a multi-user, multi-process computer. It can operate based on an operating system (Unix ), a Unix-like operating system with free and open source code (Linux ), a Unix-like operating system with open source code (FreeBSD ), or the like.

例示的な実施例では、さらに、不揮発性コンピュータ可読記憶媒体、例えばコンピュータプログラム命令を含むメモリ1932が提供され、上記コンピュータプログラム命令は、電子機器1900の処理コンポーネント1922によって実行されと、上記方法を実行させることができる。 The exemplary embodiment further provides a non-volatile computer-readable storage medium, such as memory 1932, containing computer program instructions, which are executed by processing component 1922 of electronic device 1900 to perform the method. can be made

本開示はシステム、方法および/またはコンピュータプログラム製品であってもよい。コンピュータプログラム製品は、プロセッサに本開示の各方面を実現させるためのコンピュータ可読プログラム命令が有しているコンピュータ可読記憶媒体を含んでもよい。 The present disclosure may be systems, methods and/or computer program products. The computer program product may include a computer readable storage medium having computer readable program instructions for causing a processor to implement aspects of the present disclosure.

コンピュータ可読記憶媒体は、命令実行機器に使用される命令を保存および記憶可能な有形装置であってもよい。コンピュータ可読記憶媒体は例えば、電気記憶装置、磁気記憶装置、光記憶装置、電磁記憶装置、半導体記憶装置、または上記の任意の適当な組み合わせであってもよいが、これらに限定されない。コンピュータ可読記憶媒体のさらに具体的な例(非網羅的リスト)としては、携帯型コンピュータディスク、ハードディスク、ランダムアクセスメモリ(RAM)、読み取り専用メモリ(ROM)、消去可能プログラマブル読み取り専用メモリ(EPROMまたはフラッシュメモリ)、静的ランダムアクセスメモリ(SRAM)、携帯型コンパクトディスク読み取り専用メモリ(CD-ROM)、デジタル多用途ディスク(DVD)、メモリスティック、フロッピーディスク、例えば命令が記憶されているせん孔カードまたはスロット内突起構造のような機械的符号化装置、および上記の任意の適当な組み合わせを含む。ここで使用されるコンピュータ可読記憶媒体は、瞬時信号自体、例えば無線電波または他の自由に伝播される電磁波、導波路または他の伝送媒体を経由して伝播される電磁波(例えば、光ファイバーケーブルを通過するパルス光)、または電線を経由して伝送される電気信号と解釈されるものではない。 A computer-readable storage medium may be a tangible device capable of storing and storing instructions for use with an instruction execution device. A computer readable storage medium may be, for example, but not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing. More specific examples (non-exhaustive list) of computer readable storage media include portable computer disks, hard disks, random access memory (RAM), read only memory (ROM), erasable programmable read only memory (EPROM or flash memory), static random access memory (SRAM), portable compact disk read only memory (CD-ROM), digital versatile disk (DVD), memory stick, floppy disk, e.g. Including mechanical encoding devices such as endoprotrusions, and any suitable combination of the above. Computer-readable storage media, as used herein, refers to instantaneous signals themselves, such as radio waves or other freely propagating electromagnetic waves, or electromagnetic waves propagated through waveguides or other transmission media (e.g., passing through fiber optic cables). pulsed light), or as an electrical signal transmitted via wires.

ここで記述したコンピュータ可読プログラム命令は、コンピュータ可読記憶媒体から各計算/処理機器にダウンロードされてもよいし、またはネットワーク、例えばインターネット、ローカルエリアネットワーク、広域ネットワークおよび/または無線ネットワークを介して外部のコンピュータまたは外部記憶装置にダウンロードされてもよい。ネットワークは銅伝送ケーブル、光ファイバー伝送、無線伝送、ルーター、ファイアウォール、交換機、ゲートウェイコンピュータおよび/またはエッジサーバを含んでもよい。各計算/処理機器内のネットワークアダプタカードまたはネットワークインタフェースはネットワークからコンピュータ可読プログラム命令を受信し、該コンピュータ可読プログラム命令を転送し、各計算/処理機器内のコンピュータ可読記憶媒体に記憶させる。 The computer readable program instructions described herein may be downloaded to each computing/processing device from a computer readable storage medium or may be downloaded externally via networks such as the Internet, local area networks, wide area networks and/or wireless networks. It may be downloaded to a computer or external storage device. A network may include copper transmission cables, fiber optic transmission, wireless transmission, routers, firewalls, switches, gateway computers and/or edge servers. A network adapter card or network interface within each computing/processing device receives computer-readable program instructions from the network, transfers the computer-readable program instructions for storage on a computer-readable storage medium within each computing/processing device.

本開示の動作を実行するためのコンピュータプログラム命令はアセンブリ命令、命令セットアーキテクチャ(ISA)命令、機械語命令、機械依存命令、マイクロコード、ファームウェア命令、状態設定データ、またはSmalltalk、C++などのオブジェクト指向プログラミング言語、および「C」言語または類似するプログラミング言語などの一般的な手続き型プログラミング言語を含める一つ以上のプログラミング言語の任意の組み合わせで書かれたソースコードまたは目標コードであってもよい。コンピュータ可読プログラム命令は、完全にユーザのコンピュータにおいて実行されてもよく、部分的にユーザのコンピュータにおいて実行されてもよく、スタンドアロンソフトウェアパッケージとして実行されてもよく、部分的にユーザのコンピュータにおいてかつ部分的にリモートコンピュータにおいて実行されてもよく、または完全にリモートコンピュータもしくはサーバにおいて実行されてもよい。リモートコンピュータに関与する場合、リモートコンピュータは、ローカルエリアネットワーク(LAN)または広域ネットワーク(WAN)を含む任意の種類のネットワークを経由してユーザのコンピュータに接続されてもよく、または、(例えばインターネットサービスプロバイダを利用してインターネットを経由して)外部コンピュータに接続されてもよい。いくつかの実施例では、コンピュータ可読プログラム命令の状態情報を利用して、例えばプログラマブル論理回路、フィールドプログラマブルゲートアレイ(FPGA)またはプログラマブル論理アレイ(PLA)などの電子回路をパーソナライズし、該電子回路によりコンピュータ可読プログラム命令を実行することににより、本開示の各方面を実現するようにしてもよい。 Computer program instructions for performing operations of the present disclosure may be assembly instructions, Instruction Set Architecture (ISA) instructions, machine language instructions, machine dependent instructions, microcode, firmware instructions, state setting data, or object oriented instructions such as Smalltalk, C++, etc. The source or target code may be written in any combination of one or more programming languages, including programming languages and common procedural programming languages such as the "C" language or similar programming languages. The computer-readable program instructions may be executed entirely on the user's computer, partially on the user's computer, executed as a stand-alone software package, partially on the user's computer and partially on the user's computer. It may be executed entirely on a remote computer, or may be executed entirely on a remote computer or server. When involving a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or (e.g. Internet service It may be connected to an external computer (via the Internet using a provider). In some embodiments, state information in computer readable program instructions is used to personalize an electronic circuit, such as a programmable logic circuit, field programmable gate array (FPGA), or programmable logic array (PLA), such that the electronic circuit Aspects of the present disclosure may be implemented by executing computer readable program instructions.

ここで本開示の実施例に係る方法、装置(システム)およびコンピュータプログラム製品のフローチャートおよび/またはブロック図を参照しながら本開示の各態様を説明したが、フローチャートおよび/またはブロック図の各ブロックおよびフローチャートおよび/またはブロック図の各ブロックの組み合わせは、いずれもコンピュータ可読プログラム命令によって実現できることを理解すべきである。 Aspects of the present disclosure have been described herein with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the disclosure; It is to be understood that any combination of blocks in the flowchart and/or block diagrams can be implemented by computer readable program instructions.

これらのコンピュータ可読プログラム命令は、汎用コンピュータ、専用コンピュータまたは他のプログラマブルデータ処理装置のプロセッサへ提供され、これらの命令がコンピュータまたは他のプログラマブルデータ処理装置のプロセッサによって実行されると、フローチャートおよび/またはブロック図の一つ以上のブロックにおいて指定された機能/動作を実現ように、装置を製造してもよい。これらのコンピュータ可読プログラム命令は、コンピュータ可読記憶媒体に記憶され、コンピュータ、プログラマブルデータ処理装置および/または他の機器を特定の方式で動作させるようにしてもよい。これにより、命令が記憶されているコンピュータ可読記憶媒体は、フローチャートおよび/またはブロック図の一つ以上のブロックにおいて指定された機能/動作の各方面を実現する命令を有する製品を含む。 These computer readable program instructions are provided to a processor of a general purpose computer, special purpose computer or other programmable data processing apparatus, and when these instructions are executed by the processor of the computer or other programmable data processing apparatus, the flowcharts and/or A device may be manufactured to implement the functions/acts specified in one or more blocks of the block diagrams. These computer readable program instructions may be stored on a computer readable storage medium and cause computers, programmable data processing devices and/or other devices to operate in a specific manner. Accordingly, the computer-readable storage medium having the instructions stored thereon comprises an article of manufacture having instructions for implementing aspects of the functions/acts specified in one or more blocks of the flowcharts and/or block diagrams.

コンピュータ可読プログラム命令は、コンピュータ、他のプログラマブルデータ処理装置、または他の機器にロードされ、コンピュータ、他のプログラマブルデータ処理装置または他の機器に一連の動作ステップを実行させることにより、コンピュータにより実施なプロセスを生成するようにしてもよい。このようにして、コンピュータ、他のプログラマブルデータ処理装置、または他の機器において実行される命令により、フローチャートおよび/またはブロック図の一つ以上のブロックにおいて指定された機能/動作を実現する。 Computer readable program instructions are loaded into a computer, other programmable data processing device, or other machine and executed by the computer by causing the computer, other programmable data processing device, or other machine to perform a series of operational steps. A process may be generated. As such, instructions executed on a computer, other programmable data processing device, or other machine implement the functions/acts specified in one or more blocks of the flowchart illustrations and/or block diagrams.

図面のうちフローチャートおよびブロック図は、本開示の複数の実施例に係るシステム、方法およびコンピュータプログラム製品の実現可能なシステムアーキテクチャ、機能および動作を示す。この点では、フローチャートまたはブロック図における各ブロックは一つのモジュール、プログラムセグメントまたは命令の一部分を代表することができ、前記モジュール、プログラムセグメントまたは命令の一部分は指定された論理機能を実現するための一つ以上の実行可能命令を含む。いくつかの代替としての実現形態では、ブロックに表記される機能は、図面に付した順序と異なって実現してもよい。例えば、連続的な二つのブロックは実質的に並列に実行してもよく、また、係る機能によって、逆な順序で実行してもよい。なお、ブロック図および/またはフローチャートにおける各ブロック、およびブロック図および/またはフローチャートにおけるブロックの組み合わせは、指定される機能または動作を実行するハードウェアに基づく専用システムによって実現してもよいし、または専用ハードウェアとコンピュータ命令との組み合わせによって実現してもよいことにも注意すべきである。 The flowcharts and block diagrams in the drawings illustrate possible system architectures, functionality, and operation of systems, methods and computer program products according to embodiments of the present disclosure. In this regard, each block in a flowchart or block diagram can represent a portion of a module, program segment, or instruction, which is a single unit for implementing a specified logical function. Contains one or more executable instructions. In some alternative implementations, the functions noted in the blocks may occur out of the order noted in the figures. For example, two consecutive blocks may be executed substantially in parallel, or may be executed in reverse order depending on the functionality involved. It should be noted that each block in the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations, may be implemented by a dedicated system based on hardware that performs the specified functions or operations, or may be implemented by a dedicated system. It should also be noted that the implementation may be a combination of hardware and computer instructions.

当該コンピュータプログラム製品は、ハードウェア、ソフトウェア、又はそれらの組み合わせによって具体的に実現できる。選択可能的な一実施例では、前記コンピュータプログラム製品はコンピュータ記憶媒体として具現化される。選択可能的な別の実施例では、コンピュータプログラム製品はソフトウェア製品、例えば、ソフトウェア開発キット(Software Development Kit、略称SDK)等として具現化される。 The computer program product can be tangibly implemented in hardware, software, or a combination thereof. In one optional embodiment, the computer program product is embodied as a computer storage medium. In another optional embodiment, the computer program product is embodied as a software product, such as a Software Development Kit (SDK).

以上、本開示の各実施例を記述したが、上記説明は例示的なものに過ぎず、網羅的なものではなく、かつ披露された各実施例に限定されるものでもない。当業者にとって、説明された各実施例の範囲および精神から逸脱することなく、様々な修正および変更が自明である。本明細書に選ばれた用語は、各実施例の原理、実際の適用または既存技術に対する改善を好適に解釈するか、または他の当業者に本文に披露された各実施例を理解させるためのものである。 While embodiments of the present disclosure have been described above, the above description is illustrative only and is not intended to be exhaustive or limited to the embodiments shown. Various modifications and alterations will be apparent to those skilled in the art without departing from the scope and spirit of each described embodiment. The terms chosen herein are used to suitably interpret the principle, practical application, or improvement over existing technology of each embodiment, or to allow others skilled in the art to understand each embodiment presented herein. It is.

Claims (12)

対象画像に対する第1ラベリング操作であって、前記対象画像において第1画像領域を示す第1描画図形を描画するための第1ラベリング操作を受け付けることと、
前記対象画像における第2描画図形と前記第1描画図形とが少なくとも一部重複する場合に、前記第1描画図形を調整して前記第1ラベリング操作に対応するラベリング結果を得ることと、
を含むことを特徴とするラベリング方法。
receiving a first labeling operation for a target image, the first labeling operation for drawing a first drawing figure indicating a first image region in the target image;
obtaining a labeling result corresponding to the first labeling operation by adjusting the first drawing figure when the second drawing figure and the first drawing figure in the target image at least partially overlap;
A labeling method comprising:
前記第1描画図形を調整する前に、更に、
前記対象画像における少なくとも1つの先描画図形のうち、前記第1描画図形と重複する部分がある描画図形が存在するか否かを検出することを含むことを特徴とする請求項1に記載のラベリング方法。
Further, before adjusting the first drawing figure,
2. The labeling according to claim 1, further comprising detecting whether or not there is a drawing figure having a portion overlapping with the first drawing figure among at least one previous drawing figure in the target image. Method.
前記第1描画図形を調整する前に、更に、
前記第1描画図形を調整するように指示するための第1ユーザ指令を受け付けることを含むことを特徴とする請求項1又は2に記載のラベリング方法。
Further, before adjusting the first drawing figure,
3. A labeling method according to claim 1, comprising receiving a first user command to adjust said first drawing figure.
前記した、前記第1描画図形を調整して前記第1ラベリング操作に対応するラベリング結果を得ることは、
前記第1描画図形において前記第2描画図形と重複する部分を除去した描画図形を、前記第1ラベリング操作に対応するラベリング結果とすることを含むことを特徴とする請求項1~3のいずれか一項に記載のラベリング方法。
Obtaining a labeling result corresponding to the first labeling operation by adjusting the first drawing figure described above includes:
4. The method according to any one of claims 1 to 3, further comprising setting a drawing figure obtained by removing a portion of said first drawing figure overlapping with said second drawing figure as a labeling result corresponding to said first labeling operation. The labeling method according to item 1.
前記した、前記第1描画図形を調整して前記第1ラベリング操作に対応するラベリング結果を得ることは、
前記第1描画図形と前記第2描画図形が枠図形である場合に、前記第1描画図形と前記第2描画図形の位置に基づいて、前記第2描画図形の前記第1描画図形内に位置する第1線分要素及び前記第1描画図形の前記第2描画図形外に位置する第2線分要素を決定することと、
前記第1線分要素と前記第2線分要素から構成される描画図形を前記第1ラベリング操作に対応するラベリング結果とすることと、を含むことを特徴とする請求項1~4のいずれか一項に記載のラベリング方法。
Obtaining a labeling result corresponding to the first labeling operation by adjusting the first drawing figure described above includes:
When the first drawing figure and the second drawing figure are frame figures, the position of the second drawing figure within the first drawing figure based on the positions of the first drawing figure and the second drawing figure Determining a first line segment element located outside the second drawing figure of the first drawing figure and a second line segment element located outside the second drawing figure;
5. The method according to any one of claims 1 to 4, further comprising: setting a drawing figure composed of said first line segment element and said second line segment element as a labeling result corresponding to said first labeling operation. The labeling method according to item 1.
前記対象画像に対する第1ラベリング操作を受け付けた後に、更に、
前記対象画像及び前記対象画像における前記第1描画図形を含む複数の描画図形を表示画面に表示することと、
前記複数の描画図形から前記第1描画図形を選択するための第2ユーザ指令を受け付けることと、
前記表示画面における前記第2ユーザ指令によって指示される位置及び前記表示画面における前記複数の描画図形の位置に基づいて、選択される前記第1描画図形を決定することと、を含むことを特徴とする請求項1~5のいずれか一項に記載のラベリング方法。
After receiving the first labeling operation for the target image, further
displaying on a display screen the target image and a plurality of drawing figures including the first drawing figure in the target image;
receiving a second user command for selecting the first drawing figure from the plurality of drawing figures;
determining the first drawing figure to be selected based on the position indicated by the second user command on the display screen and the positions of the plurality of drawing figures on the display screen. The labeling method according to any one of claims 1 to 5.
前記対象画像は、ウェブページ画面に表示されることを特徴とする請求項1~6のいずれか一項に記載のラベリング方法。 The labeling method according to any one of claims 1 to 6, wherein the target image is displayed on a web page screen. 前記第1ラベリング操作は、前記対象画像に対してセマンティックセグメンテーション・ラベリングを行うためのものであることを特徴とする請求項1~7のいずれか一項に記載のラベリング方法。 The labeling method according to any one of claims 1 to 7, wherein the first labeling operation is for performing semantic segmentation labeling on the target image. 対象画像に対する第1ラベリング操作であって、前記対象画像において第1画像領域を示す第1描画図形を描画するための第1ラベリング操作を受け付ける受付モジュールと、
前記対象画像における第2描画図形と前記第1描画図形とが少なくとも一部重複する場合に、前記第1描画図形を調整して前記第1ラベリング操作に対応するラベリング結果を得る調整モジュールと、
を備えることを特徴とするラベリング装置。
a receiving module for receiving a first labeling operation on a target image, the first labeling operation for drawing a first drawing figure indicating a first image area in the target image;
an adjustment module for adjusting the first drawing figure to obtain a labeling result corresponding to the first labeling operation when the second drawing figure and the first drawing figure in the target image at least partially overlap;
A labeling device comprising:
プロセッサと、
プロセッサにより実行可能な命令を記憶するためのメモリと、を含み、
前記プロセッサは、前記メモリに記憶されている命令を呼び出して請求項1~8のいずれか一項に記載のラベリング方法を実行するように構成されることを特徴とする電子機器。
a processor;
a memory for storing instructions executable by the processor;
An electronic device, wherein the processor is configured to call instructions stored in the memory to perform the labeling method according to any one of claims 1 to 8.
コンピュータプログラム命令が記憶されているコンピュータ読み取り可能な記憶媒体であって、前記コンピュータプログラム命令はプロセッサによって実行されると、請求項1~8のいずれか一項に記載のラベリング方法を実現することを特徴とするコンピュータ読み取り可能な記憶媒体。 A computer readable storage medium having computer program instructions stored thereon, said computer program instructions being adapted to implement a labeling method according to any one of claims 1 to 8 when executed by a processor. A computer-readable storage medium characterized by: コンピュータ読み取り可能なコードを含み、前記コンピュータ読み取り可能なコードが電子機器において実行されると、前記電子機器におけるプロセッサが請求項1~8のいずれか一項に記載のラベリング方法を実現するための命令を実行することを特徴とするコンピュータプログラム。
Instructions comprising computer readable code for implementing a labeling method according to any one of claims 1 to 8 by a processor in said electronic device when said computer readable code is executed in said electronic device. A computer program characterized by executing
JP2022520125A 2020-12-22 2021-04-14 Labeling method and device, electronic device and storage medium Withdrawn JP2023510443A (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
CN202011529117.0A CN112508020A (en) 2020-12-22 2020-12-22 Labeling method and device, electronic equipment and storage medium
CN202011529117.0 2020-12-22
PCT/CN2021/087285 WO2022134390A1 (en) 2020-12-22 2021-04-14 Labeling method and apparatus, electronic device, and storage medium

Publications (1)

Publication Number Publication Date
JP2023510443A true JP2023510443A (en) 2023-03-14

Family

ID=74923349

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2022520125A Withdrawn JP2023510443A (en) 2020-12-22 2021-04-14 Labeling method and device, electronic device and storage medium

Country Status (4)

Country Link
JP (1) JP2023510443A (en)
KR (1) KR20220093091A (en)
CN (1) CN112508020A (en)
WO (1) WO2022134390A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112508020A (en) * 2020-12-22 2021-03-16 深圳市商汤科技有限公司 Labeling method and device, electronic equipment and storage medium
CN115344937B (en) * 2022-10-20 2023-03-17 三一筑工科技股份有限公司 Reinforcing steel bar marking method and device, electronic equipment and storage medium

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110660313A (en) * 2018-06-29 2020-01-07 百度在线网络技术(北京)有限公司 Information presentation method and device
US10733742B2 (en) * 2018-09-26 2020-08-04 International Business Machines Corporation Image labeling
CN111666936A (en) * 2019-03-08 2020-09-15 北京市商汤科技开发有限公司 Labeling method, labeling device, labeling system, electronic equipment and storage medium
CN110286992A (en) * 2019-07-02 2019-09-27 中国工商银行股份有限公司 The method and device that interface figure is redrawn
CN110796201B (en) * 2019-10-31 2023-07-11 达闼机器人股份有限公司 Correction method of annotation frame, electronic equipment and storage medium
CN111027543B (en) * 2019-11-25 2023-04-07 北京云测信息技术有限公司 Image annotation method and device
CN111814885B (en) * 2020-07-10 2021-06-22 云从科技集团股份有限公司 Method, system, device and medium for managing image frames
CN112508020A (en) * 2020-12-22 2021-03-16 深圳市商汤科技有限公司 Labeling method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN112508020A (en) 2021-03-16
KR20220093091A (en) 2022-07-05
WO2022134390A1 (en) 2022-06-30

Similar Documents

Publication Publication Date Title
US20230393721A1 (en) Method and Apparatus for Dynamically Displaying Icon Based on Background Image
EP3686723B1 (en) User terminal device providing user interaction and method therefor
WO2020038168A1 (en) Content sharing method and device, terminal, and storage medium
US20200007944A1 (en) Method and apparatus for displaying interactive attributes during multimedia playback
WO2016192325A1 (en) Method and device for processing logo on video file
CN112907760B (en) Three-dimensional object labeling method and device, tool, electronic equipment and storage medium
JP7181375B2 (en) Target object motion recognition method, device and electronic device
US11741583B2 (en) Face image processing method and apparatus, electronic device, and storage medium
EP2921969A1 (en) Method and apparatus for centering and zooming webpage and electronic device
WO2023045207A1 (en) Task processing method and apparatus, electronic device, storage medium, and computer program
WO2022188305A1 (en) Information presentation method and apparatus, and electronic device, storage medium and computer program
CN112099707A (en) Display method and device and electronic equipment
US20210165670A1 (en) Method, apparatus for adding shortcut plug-in, and intelligent device
JP2023510443A (en) Labeling method and device, electronic device and storage medium
CN110989905A (en) Information processing method and device, electronic equipment and storage medium
CN110929616B (en) Human hand identification method and device, electronic equipment and storage medium
CN112306235A (en) Gesture operation method, device, equipment and storage medium
WO2022068721A1 (en) Screen capture method and apparatus, and electronic device
WO2023051356A1 (en) Virtual object display method and apparatus, and electronic device and storage medium
US11810336B2 (en) Object display method and apparatus, electronic device, and computer readable storage medium
CN107977147B (en) Sliding track display method and device
WO2023097981A1 (en) Object display method and electronic device
CN114116106A (en) Chart display method and device, electronic equipment and storage medium
CN114266305A (en) Object identification method and device, electronic equipment and storage medium
CN114020264A (en) Operator processing method and device, electronic 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: 20220330

A761 Written withdrawal of application

Free format text: JAPANESE INTERMEDIATE CODE: A761

Effective date: 20221221

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A821

Effective date: 20221221