[go: up one dir, main page]

KR20180055708A - Device and method for image processing - Google Patents

Device and method for image processing Download PDF

Info

Publication number
KR20180055708A
KR20180055708A KR1020170148319A KR20170148319A KR20180055708A KR 20180055708 A KR20180055708 A KR 20180055708A KR 1020170148319 A KR1020170148319 A KR 1020170148319A KR 20170148319 A KR20170148319 A KR 20170148319A KR 20180055708 A KR20180055708 A KR 20180055708A
Authority
KR
South Korea
Prior art keywords
image
data
deleted
electronic device
extracted
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
KR1020170148319A
Other languages
Korean (ko)
Inventor
강성민
김성훈
Original Assignee
삼성전자주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 삼성전자주식회사 filed Critical 삼성전자주식회사
Publication of KR20180055708A publication Critical patent/KR20180055708A/en
Withdrawn legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/60Editing figures and text; Combining figures or text
    • G06K9/00288
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • G06T7/11Region-based segmentation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • G06T7/194Segmentation; Edge detection involving foreground-background segmentation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/30Determination of transform parameters for the alignment of images, i.e. image registration
    • G06T7/32Determination of transform parameters for the alignment of images, i.e. image registration using correlation-based methods
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/16Human faces, e.g. facial parts, sketches or expressions
    • G06V40/172Classification, e.g. identification
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/222Studio circuitry; Studio devices; Studio equipment
    • H04N5/262Studio circuits, e.g. for mixing, switching-over, change of character of image, other special effects ; Cameras specially adapted for the electronic generation of special effects
    • H04N5/272Means for inserting a foreground image in a background image, i.e. inlay, outlay
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/20Special algorithmic details
    • G06T2207/20212Image combination
    • G06T2207/20221Image fusion; Image merging

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Oral & Maxillofacial Surgery (AREA)
  • Human Computer Interaction (AREA)
  • Image Analysis (AREA)

Abstract

본 개시는 딥러닝 등의 기계 학습 알고리즘을 이용하여 인간 두뇌의 인지, 판단 등의 기능을 모사하는 인공지능(AI) 시스템 및 그 응용에 관련된 것이다.
보다 구체적으로, 본 개시는, 이미지를 표시하는 디스플레이부, 하나 이상의 인스트럭션을 저장하는 메모리, 및 메모리에 저장된 하나 이상의 인스트럭션을 실행하는 프로세서를 포함하고, 프로세서는 하나 이상의 인스트럭션을 실행함으로써, 이미지로부터 적어도 하나의 객체를 추출하고, 추출된 적어도 하나의 객체와 사용자 데이터에 포함된 적어도 하나의 객체 사이의 동일성에 기초하여, 추출된 적어도 하나의 객체 중 삭제할 객체를 결정하고, 결정된 객체를 이미지에서 삭제하는 전자 장치를 개시한다.
The present disclosure relates to an artificial intelligence (AI) system and its application that simulate functions such as recognition and judgment of a human brain using a machine learning algorithm such as deep learning.
More particularly, the present disclosure relates to an image processing apparatus, comprising a display unit for displaying an image, a memory for storing one or more instructions, and a processor for executing one or more instructions stored in the memory, Extracting one object, determining an object to be deleted among the extracted at least one object based on the identity between the extracted at least one object and at least one object included in the user data, and deleting the determined object from the image Discloses an electronic device.

Description

이미지를 처리하는 전자 장치 및 방법 {DEVICE AND METHOD FOR IMAGE PROCESSING}[0001] DEVICE AND METHOD FOR IMAGE PROCESSING [0002]

다양한 실시예들은 이미지를 처리하는 전자 장치 및 방법에 관한 것으로서, 보다 상세하게는 이미지로부터 추출된 객체 중 불필요한 객체를 삭제하는 전자 장치 및 방법에 관한 것이다.Various embodiments relate to an electronic device and method for processing an image, and more particularly to an electronic device and method for deleting unnecessary objects among objects extracted from an image.

인공지능(Artificial Intelligence, AI) 시스템은 인간 수준의 지능을 구현하는 컴퓨터 시스템이며, 기존 Rule 기반 스마트 시스템과 달리 기계가 스스로 학습하고 판단하며 똑똑해지는 시스템이다. 인공지능 시스템은 사용할수록 인식률이 향상되고 사용자 취향을 보다 정확하게 이해할 수 있게 되어, 기존 Rule 기반 스마트 시스템은 점차 딥러닝 기반 인공지능 시스템으로 대체되고 있다.Artificial intelligence (AI) system is a computer system that implements human-level intelligence. Unlike existing Rule-based smart systems, AI is a system in which machines learn, judge and become smart. Artificial intelligence systems are increasingly recognized and improving their understanding of user preferences as they are used, and existing rule-based smart systems are gradually being replaced by deep-run-based artificial intelligence systems.

인공지능 기술은 기계학습(딥러닝) 및 기계학습을 이용한 요소 기술들로 구성된다.Artificial intelligence technology consists of element technologies using deep learning and machine learning.

기계학습은 입력 데이터들의 특징을 스스로 분류/학습하는 알고리즘 기술이며, 요소기술은 딥러닝 등의 기계학습 알고리즘을 이용하여 인간 두뇌의 인지, 판단 등의 기능을 모사하는 기술로서, 언어적 이해, 시각적 이해, 추론/예측, 지식 표현, 동작 제어 등의 기술 분야로 구성된다.Machine learning is an algorithm technology that classifies / learns the characteristics of input data by itself. Element technology is a technology that simulates the functions of human brain such as recognition and judgment using machine learning algorithms such as deep learning. Understanding, reasoning / prediction, knowledge representation, and motion control.

인공지능 기술이 응용되는 다양한 분야는 다음과 같다. 언어적 이해는 인간의 언어/문자를 인식하고 응용/처리하는 기술로서, 자연어 처리, 기계 번역, 대화시스템, 질의 응답, 음성 인식/합성 등을 포함한다. 시각적 이해는 사물을 인간의 시각처럼 인식하여 처리하는 기술로서, 객체 인식, 객체 추적, 영상 검색, 사람 인식, 장면 이해, 공간 이해, 영상 개선 등을 포함한다. 추론 예측은 정보를 판단하여 논리적으로 추론하고 예측하는 기술로서, 지식/확률 기반 추론, 최적화 예측, 선호 기반 계획, 추천 등을 포함한다. 지식 표현은 인간의 경험정보를 지식데이터로 자동화 처리하는 기술로서, 지식 구축(데이터 생성/분류), 지식 관리(데이터 이용) 등을 포함한다. 동작 제어는 차량의 자율 주행, 로봇의 움직임을 제어하는 기술로서, 움직임 제어(항법, 충돌, 주행), 조작 제어(행동 제어) 등을 포함한다.The various fields in which artificial intelligence technology is applied are as follows. Linguistic understanding is a technology for recognizing, applying, and processing human language / characters, including natural language processing, machine translation, dialogue system, query response, speech recognition / synthesis, and the like. Visual understanding is a technology for recognizing and processing objects as human vision, including object recognition, object tracking, image search, human recognition, scene understanding, spatial understanding, and image enhancement. Inference prediction is a technique for judging and logically inferring and predicting information, including knowledge / probability based reasoning, optimization prediction, preference base planning, and recommendation. Knowledge representation is a technology for automating human experience information into knowledge data, including knowledge building (data generation / classification) and knowledge management (data use). The motion control is a technique for controlling the autonomous travel of the vehicle and the motion of the robot, and includes motion control (navigation, collision, traveling), operation control (behavior control), and the like.

한편, 멀티 미디어 기술 및 컴퓨터 기술이 발전함에 따라, 사용자는 전자 장치를 이용하여 다양한 서비스를 제공받을 수 있게 되었다. 특히, 이미지 처리 기술이 발전함에 따라, 사용자는 이미지 처리 장치를 이용하여 이미지에 포함된 불필요한 객체가 삭제된 이미지를 제공받을 수 있게 되었다.Meanwhile, as multimedia technology and computer technology are developed, users can receive various services using electronic devices. Particularly, as the image processing technology advances, the user can use the image processing apparatus to receive an image in which unnecessary objects included in the image are deleted.

하지만, 종래에는 이미지에서 사용자에게 불필요한 객체를 결정하기 위해서는, 동일한 화면에 대해 시간을 달리하며 촬영된 복수의 이미지를 이용하거나, 사용자가 직접 이미지 처리 장치에서 제공하는 기능을 이용하여 불필요한 객체를 선택해야 하는 문제가 있었다. 또한, 사용자에 의해 불필요한 객체가 결정된 경우에도 복수의 이미지에 대해 반복하여 적용하기 어려운 문제가 있었다. 이에 따라, 전자 장치가 기계학습을 통해 자동적으로 사용자에게 불필요한 객체를 결정하고, 복수의 이미지에 대해 반복 적용을 가능하게 하는 기술이 요구되고 있다.However, conventionally, in order to determine an unnecessary object to the user in the image, it is necessary to use a plurality of images taken at different times for the same screen, or to select an unnecessary object by using functions provided by the image processing apparatus directly There was a problem. In addition, even when an unnecessary object is determined by a user, it is difficult to repeatedly apply the image to a plurality of images. Accordingly, there is a demand for a technique in which an electronic device automatically determines an unnecessary object to a user through machine learning, and enables repeated application of a plurality of images.

다양한 실시예들은, 이미지로부터 추출된 객체 중 삭제할 객체를 자동적으로 결정하고, 결정된 객체를 삭제하는 전자 장치 및 방법을 제공하기 위한 것이다.Various embodiments are intended to provide an electronic device and method for automatically determining which of objects extracted from an image are to be deleted and deleting the determined object.

일 실시예에 따른 전자 장치는, 이미지를 표시하는 디스플레이부, 하나 이상의 인스트럭션을 저장하는 메모리, 및 메모리에 저장된 하나 이상의 인스트럭션을 실행하는 프로세서를 포함하고, 프로세서는 하나 이상의 인스트럭션을 실행함으로써, 이미지로부터 적어도 하나의 객체를 추출하고, 추출된 적어도 하나의 객체와 사용자 데이터에 포함된 적어도 하나의 객체 사이의 동일성에 기초하여, 추출된 적어도 하나의 객체 중 삭제할 객체를 결정하고, 결정된 객체를 이미지에서 삭제할 수 있다.An electronic device according to an embodiment includes a display for displaying an image, a memory for storing one or more instructions, and a processor for executing one or more instructions stored in a memory, the processor executing one or more instructions, Extracting at least one object, determining an object to be deleted among the extracted at least one object based on the identity between the extracted at least one object and at least one object included in the user data, and deleting the determined object from the image .

일 실시예에 따른 전자 장치가 이미지를 처리하는 방법에 있어서, 이미지로부터 적어도 하나의 객체를 추출하는 단계, 추출된 적어도 하나의 객체와 사용자 데이터에 포함된 적어도 하나의 객체 사이의 동일성에 기초하여, 추출된 적어도 하나의 객체 중 삭제할 객체를 결정하는 단계, 및 결정된 객체를 이미지에서 삭제하는 단계를 포함할 수 있다.A method of processing an image in an electronic device, the method comprising: extracting at least one object from the image; based on the identity between the extracted at least one object and at least one object included in the user data, Determining an object to be deleted among the extracted at least one object, and deleting the determined object from the image.

일 실시예에 따른 전자 장치가 뉴럴 네트워크를 이용한 학습 모델을 이용하여 이미지를 처리하는 방법에 있어서, 이미지로부터 적어도 하나의 객체를 추출하는 단계, 추출된 적어도 하나의 객체와 사용자 데이터에 포함된 적어도 하나의 객체 사이의 동일성에 기초하여, 추출된 적어도 하나의 객체 중 삭제할 객체를 결정하는 단계, 및 결정된 객체를 이미지에서 삭제하는 단계를 포함할 수 있다.A method of processing an image using a learning model using a neural network, the method comprising: extracting at least one object from an image; extracting at least one object from at least one object and at least one Determining an object to be deleted of the extracted at least one object based on the identity between the objects in the image and deleting the determined object from the image.

도 1은 일 실시예에 따른 전자 장치가 이미지를 처리하는 예시를 나타내는 개요도이다.
도 2는 일 실시예에 따른 전자 장치의 동작 방법을 도시한 흐름도이다.
도 3은 일 실시예에 따라, 전자 장치가 기 저장된 폰북 데이터를 이용하여 삭제할 객체를 결정하는 방법을 설명하기 위한 도면이다.
도 4는 일 실시예에 따라, 전자 장치가 등장 빈도수에 기초하여 삭제할 객체를 결정하는 방법을 나타내는 흐름도이다.
도 5는 일 실시예에 따라, 전자 장치가 사용자 데이터로부터 지인 확률 데이터 베이스를 생성하는 방법을 설명하기 위한 도면이다.
도 6은 일 실시예에 따라, 전자 장치가 특정 이벤트와 관련된 이미지에서 등장 빈도수에 기초하여 삭제할 객체를 결정하는 방법을 설명하기 위한 도면이다.
도 7은 일 실시예에 따라 전자 장치가 이전에 삭제된 이력을 가지는 객체를 이용하여 삭제할 객체를 결정하는 방법을 나타내는 흐름도이다.
도 8은 일 실시예에 따라 전자 장치가 이전에 삭제된 이력을 가지는 객체를 이용하여 삭제할 객체를 결정하는 방법을 설명하기 위한 도면이다.
도 9는 일 실시예에 따라 전자 장치가 제공하는 사용자 인터페이스 화면을 도시한 도면이다.
도 10 및 도 11은 일 실시예에 따른 전자 장치의 구성을 나타내는 블록도이다.
도 12는 일 실시예에 따른 프로세서의 블록도이다.
도 13은 일 실시예에 따른 데이터 학습부의 블록도이다.
도 14는 일 실시예에 따른 데이터 인식부의 블록도이다.
도 15는 일 실시예에 따른 전자 장치 및 서버가 서로 연동함으로써 데이터를 학습하고 인식하는 예시를 나타내는 도면이다.
1 is a schematic diagram illustrating an example in which an electronic device according to one embodiment processes an image.
2 is a flowchart illustrating an operation method of an electronic device according to an embodiment.
3 is a diagram for explaining a method for an electronic device to determine an object to be deleted using previously stored phone book data, according to an embodiment.
4 is a flow diagram illustrating a method by which an electronic device determines an object to delete based on an entry frequency, in accordance with one embodiment.
5 is a diagram for describing a method of generating a probability database in which an electronic device is known from user data, according to an embodiment.
6 is a diagram illustrating a method by which an electronic device determines an object to be deleted based on an occurrence frequency in an image related to a specific event, according to an embodiment.
7 is a flowchart illustrating a method for an electronic device to determine an object to be deleted using an object having a previously deleted history according to an exemplary embodiment.
8 is a diagram for explaining a method of determining an object to be deleted by using an object having a history of a previously deleted electronic device according to an embodiment.
9 is a diagram illustrating a user interface screen provided by an electronic device according to an embodiment.
10 and 11 are block diagrams showing the configuration of an electronic device according to an embodiment.
12 is a block diagram of a processor in accordance with one embodiment.
13 is a block diagram of a data learning unit according to an embodiment.
14 is a block diagram of a data recognition unit according to an embodiment.
15 is a diagram showing an example of learning and recognizing data by interlocking with an electronic device and a server according to an embodiment.

아래에서는 첨부한 도면을 참조하여 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자가 용이하게 실시할 수 있도록 본 발명의 실시예를 상세히 설명한다. 그러나 본 발명은 여러 가지 상이한 형태로 구현될 수 있으며 여기에서 설명하는 실시예에 한정되지 않는다. 그리고 도면에서 본 발명을 명확하게 설명하기 위해서 설명과 관계없는 부분은 생략하였으며, 명세서 전체를 통하여 유사한 부분에 대해서는 유사한 도면 부호를 붙였다. Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings, which will be readily apparent to those skilled in the art. The present invention may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein. In order to clearly illustrate the present invention, parts not related to the description are omitted, and similar parts are denoted by like reference characters throughout the specification.

명세서 전체에서, 어떤 부분이 다른 부분과 "연결"되어 있다고 할 때, 이는 "직접적으로 연결"되어 있는 경우뿐 아니라, 그 중간에 다른 소자를 사이에 두고 "전기적으로 연결"되어 있는 경우도 포함한다. 또한 어떤 부분이 어떤 구성요소를 "포함"한다고 할 때, 이는 특별히 반대되는 기재가 없는 한 다른 구성요소를 제외하는 것이 아니라 다른 구성요소를 더 포함할 수 있는 것을 의미한다.Throughout the specification, when a part is referred to as being "connected" to another part, it includes not only "directly connected" but also "electrically connected" with another part in between . Also, when an element is referred to as "comprising ", it means that it can include other elements as well, without departing from the other elements unless specifically stated otherwise.

이하 첨부된 도면을 참고하여 본 발명을 상세히 설명하기로 한다.DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, the present invention will be described in detail with reference to the accompanying drawings.

도 1은 일 실시예에 따른 전자 장치가 이미지를 처리하는 예시를 나타내는 개요도이다.1 is a schematic diagram illustrating an example in which an electronic device according to one embodiment processes an image.

도 1을 참조하면, 일 실시예에 따라, 전자 장치(100)는 이미지(101) 내에서 삭제할 객체를 결정할 수 있다. Referring to FIG. 1, in accordance with one embodiment, electronic device 100 may determine an object to be deleted within image 101.

전자 장치(100)는 이미지(101) 내에서 삭제할 객체를 결정하기 위해, 이미지(101)로부터 적어도 하나의 객체를 추출할 수 있다. 여기에서, 객체는 이미지에 포함된 것으로, 이미지(101) 내에서 다른 피사체와 구별되어 인식되는 하나의 피사체를 의미한다. 예를 들어, 이미지(101)는 복수의 객체들(110 내지 116)을 포함할 수 있으며, 전자 장치(100)는 이미지(101)로부터 복수의 객체들(110 내지 116)을 추출할 수 있다.The electronic device 100 may extract at least one object from the image 101 to determine the object to be deleted within the image 101. [ Here, the object refers to one object included in the image, which is distinguished from other objects in the image 101. For example, the image 101 may include a plurality of objects 110 to 116, and the electronic device 100 may extract a plurality of objects 110 to 116 from the image 101. For example,

일 실시예에서, 전자 장치(100)는 이미지(101) 내에서 적어도 하나의 객체를 추출하기 위해 뉴럴 네트워크를 이용한 학습 모델을 이용할 수 있다. 여기서, 학습 모델은 전자 장치(100)가 복수의 이미지들을 학습 데이터로 이용하여, 이미지 내의 객체들을 추출하도록 학습된 모델일 수 있다. 그러나 이에 한정되는 것은 아니며, 전자 장치(100)는 이미지(101) 내에서 적어도 하나의 객체를 추출하기 위한 학습 모델을 외부 장치로부터 수신할 수도 있다. 전자 장치(100)는 뉴럴 네트워크를 이용한 학습 모델에 이미지(101)를 입력 데이터로 하여, 이미지(101)에 포함된 적어도 하나의 객체를 추출할 수 있다.In one embodiment, the electronic device 100 may utilize a learning model using a neural network to extract at least one object within the image 101. Here, the learning model may be a model in which the electronic device 100 uses a plurality of images as learning data to extract objects in the image. However, the present invention is not limited to this, and the electronic device 100 may receive a learning model for extracting at least one object in the image 101 from an external device. The electronic device 100 can extract at least one object included in the image 101 by using the image 101 as the input data to the learning model using the neural network.

또한, 전자 장치(100)는 추출된 객체 중 이미지(101) 내에서 삭제할 객체를 결정할 수 있다. 예를 들어, 이미지(101)는 인물에 대응하는 제 1 내지 제5 객체들(110 내지 114), 및 환경에 대응하는 제 6 객체(115) 및 제 7 객체(116)를 포함할 수 있다. 전자 장치(100)가 제 4 객체(113) 및 제 5 객체(114)를 지인으로 판단하는 경우, 전자 장치(100)는 지인이 아닌 인물에 대응하는 제 1 객체 (110), 제 2 객체(111), 및 제 3 객체(112)를 삭제할 객체로 결정할 수 있다. 또한, 예를 들어, 전자 장치(100)가 환경에 대응하는 제 7 객체(116)(예를 들어, 연기 또는 구름)를 이전에 삭제된 이력이 있는 객체로 판단하는 경우, 전자 장치(100)는 제 7 객체(116)를 삭제할 객체로 결정할 수 있다. In addition, the electronic device 100 may determine the object to be deleted in the image 101 among the extracted objects. For example, the image 101 may include first through fifth objects 110 through 114 corresponding to a person, and a sixth object 115 and seventh object 116 corresponding to the environment. If the electronic device 100 determines that the fourth object 113 and the fifth object 114 are known, the electronic device 100 can recognize the first object 110, the second object 110, 111, and the third object 112 as objects to be deleted. Also, for example, if the electronic device 100 determines that the seventh object 116 (e.g., smoke or cloud) corresponding to the environment is a previously deleted historical object, May determine the seventh object 116 as an object to be deleted.

따라서, 전자 장치(100)는 사용자의 지인 판단과 같은 사용자에 의해 생성된 이미지 데이터 분석, 또는 사용자의 삭제 이력을 분석한 결과와 같은 사용자 데이터 기반 분석 결과에 기초하여 이미지 내에서 삭제할 객체를 결정할 수 있다.Accordingly, the electronic device 100 can determine the object to be deleted in the image based on the user data based analysis result such as the analysis of the image data generated by the user, such as the judgment of the user's acquaintance, or the analysis result of the user's deletion history have.

일 실시예에 따라, 전자 장치(100)는 뉴럴 네트워크를 이용한 학습 모델(102)에 기초하여, 이미지(101) 내에서 삭제할 객체를 결정할 수 있다. 예를 들어, 전자 장치(100)는 학습 모델(102)에 기초하여, 이미지에 포함된 각각의 복수의 객체들(110 내지 116)이 삭제할 객체에 해당하는지 여부를 결정할 수 있다. 구체적으로, 전자 장치(100)는 학습 모델(102)에 기초하여, 각각의 복수의 객체들(110 내지 116)과 사용자 데이터에 포함된 적어도 하나의 객체 사이의 동일성을 결정할 수 있다. 또한, 전자 장치(100)는 학습 모델(102)에 기초하여 결정된 동일성에 기초하여, 이미지(101) 내에서 삭제할 객체를 결정할 수 있다.According to one embodiment, the electronic device 100 may determine an object to be deleted within the image 101, based on the learning model 102 using the neural network. For example, the electronic device 100 may determine, based on the learning model 102, whether each of the plurality of objects 110 to 116 included in the image corresponds to an object to be deleted. Specifically, the electronic device 100 may determine, based on the learning model 102, the identity between each of the plurality of objects 110 to 116 and at least one object included in the user data. In addition, the electronic device 100 may determine an object to be deleted within the image 101, based on the identity determined based on the learning model 102.

학습 모델(102)은, 통계학적 기계 학습의 결과를 이용하여, 이미지에 포함된 다양한 속성들을 추출하여 이용함으로써, 이미지에 포함된 객체들을 식별 및/또는 판단하는 알고리즘 집합일 수 있다. 예를 들어, 학습 모델(102)은, 블록(104)에서와 같이, 인물에 대응하는 제 1 내지 제 5 객체들(110 내지 114)에 대해 지인 여부를 판단하고, 환경에 대응하는 제 6 객체(115) 및 제 7 객체(116)에 대해 이전에 삭제된 이력이 있는지 여부를 판단할 수 있다. 또한, 일 실시예에서, 학습 모델(102)은 뉴럴 네트워크(Neural network)이용한 학습에 기초하여 구축될 수 있다. 예를 들어, 학습 모델(102)은 전자 장치(100)에 기 저장된 사용자 데이터를 학습 데이터로 이용하여 객체 간의 동일성 판단 기준에 대해 학습된 것일 수 있다. 또한, 학습 모델(102)은 하나 이상의 레이어를 포함할 수 있다. 또한, 학습 모델(102)은 하나 이상의 입력 채널 또는 하나 이상의 출력 채널을 포함할 수 있다.The learning model 102 may be a set of algorithms that identify and / or determine objects included in an image by extracting and using various attributes contained in the image, using the results of statistical machine learning. For example, the learning model 102 may determine whether the first to fifth objects 110 to 114 corresponding to the person are acquainted, as in block 104, and determine whether the sixth object It is possible to determine whether there is a previously deleted history for the first object 115 and the seventh object 116. Further, in one embodiment, the learning model 102 may be constructed based on learning using a neural network. For example, the learning model 102 may be learned about the criteria for determining the identity between objects using the user data previously stored in the electronic device 100 as learning data. Also, the learning model 102 may include one or more layers. In addition, the learning model 102 may include one or more input channels or one or more output channels.

일 실시예에 따라, 전자 장치(100)는 삭제할 객체가 결정되면, 이미지(101) 내에서 결정된 객체를 삭제할 수 있다. 예를 들어, 전자 장치(100)는 이미지(101) 내에서 삭제할 객체에 대응하는 부분(120,121)을 이미지의 배경 부분으로 대체하거나, 모자이크 표시하거나, 또는 특정 아이콘 또는 미리 결정된 이미지로 대체하는 방법 등으로 객체를 삭제할 수 있다. 일 실시예에서, 전자 장치(100)는 뉴럴 네트워크를 이용하여 이미지(101) 내에서 삭제할 객체에 대응하는 부분을 재현하기 위해 학습된 학습 모델(미도시)을 이용하여, 삭제할 객체에 대응하는 부분(120, 121)을 이미지의 배경 부분으로 대체할 수 있다. According to one embodiment, the electronic device 100 may delete the determined object in the image 101 once the object to be deleted is determined. For example, the electronic device 100 may replace the portion 120,121 corresponding to the object to be deleted in the image 101 with the background portion of the image, mosaic, or replace with a specific icon or predetermined image, etc. You can delete the object with. In one embodiment, the electronic device 100 uses a learned learning model (not shown) to reproduce the portion corresponding to the object to be deleted in the image 101 using a neural network, (120, 121) with the background portion of the image.

일 실시예에 따라 전자 장치(100)는 이미지(101) 내에서 일부 객체가 삭제된 이미지(103)를 사용자에게 제공할 수 있다.According to one embodiment, the electronic device 100 may provide the user with an image 103 in which some objects in the image 101 have been deleted.

일 실시예에서, 전자 장치(100)는 이미지(101) 내의 적어도 하나의 객체를 추출하고, 추출된 적어도 하나의 객체 중에서 삭제할 객체를 결정하며, 결정된 객체를 이미지(101)에서 삭제하는 각 프로세스에 대응되는 하나 이상의 뉴럴 네트워크를 이용한 학습 모델을 이용할 수 있다. 그러나, 개시된 실시예가 이에 한정되는 것은 아니며, 전자 장치(100)는 이미지에서의 불필요한 객체를 삭제하기 위해 학습된 하나의 뉴럴 네트워크를 이용한 학습 모델을 이용하여, 이미지(101) 내의 적어도 하나의 객체를 추출하고, 추출된 적어도 하나의 객체 중에서 삭제할 객체를 결정하며, 결정된 객체를 이미지(101)에서 삭제할 수 있다. In one embodiment, the electronic device 100 extracts at least one object in the image 101, determines which of the extracted at least one object to delete, and for each process that deletes the determined object from the image 101 A learning model using one or more corresponding neural networks can be used. However, the disclosed embodiment is not so limited, and the electronic device 100 may use at least one object in the image 101, using a learned neural network learning model to delete unnecessary objects in the image Extracts the extracted object, determines an object to be deleted from the extracted at least one object, and deletes the determined object from the image (101).

한편, 전자 장치(100)는, 스마트폰, 태블릿 PC, PC, 스마트 TV, 휴대폰, PDA(personal digital assistant), 랩톱, 미디어 플레이어, 마이크로 서버, GPS(global positioning system) 장치, 전자책 단말기, 디지털방송용 단말기, 네비게이션, 키오스크, MP3 플레이어, 디지털 카메라, 가전기기 및 기타 모바일 또는 비 모바일 컴퓨팅 장치일 수 있으나, 이에 제한되지 않는다. 또한, 전자 장치(100)는 디스플레이 기능 및 데이터 프로세싱 기능을 구비한 시계, 안경, 헤어 밴드 및 반지 등의 웨어러블 디바이스일 수 있다. 그러나, 이에 제한되지 않으며, 전자 장치(100)는 이미지를 처리하고, 사용자에게 처리된 이미지를 제공할 수 있는 모든 종류의 기기를 포함할 수 있다.The electronic device 100 may be a smart phone, a tablet PC, a PC, a smart TV, a mobile phone, a personal digital assistant (PDA), a laptop, a media player, a micro server, But are not limited to, broadcast terminals, navigation, kiosks, MP3 players, digital cameras, consumer electronics, and other mobile or non-mobile computing devices. The electronic device 100 may also be a wearable device, such as a watch, glasses, hair bands, and rings, having display and data processing capabilities. However, not limited to this, the electronic device 100 may include any kind of device capable of processing images and providing processed images to the user.

도 2는 일 실시예에 따른 전자 장치(100)의 동작 방법을 도시한 흐름도이다.2 is a flow chart illustrating a method of operating an electronic device 100 in accordance with one embodiment.

도 2를 참조하면, 단계 202에서, 전자 장치(100)는 이미지로부터 적어도 하나의 객체를 추출한다. Referring to FIG. 2, at step 202, electronic device 100 extracts at least one object from an image.

일 실시예에 따라, 전자 장치(100)는 이미지를 획득할 수 있다. 예를 들어, 전자 장치(100)는 사진첩 애플리케이션 등을 실행하여, 기 저장된 이미지를 획득할 수 있다. 또는, 전자 장치(100)는 외부로부터 이미지를 획득할 수 있다. 다른 예에서, 전자 장치(100)는 클라우드 서버 또는 다른 전자 장치로부터 이미지를 획득할 수 있다. 다른 예에서, 전자 장치(100)는 전자 장치(100)에 구비된 카메라를 이용하여, 이미지를 캡쳐(capture)할 수 있다. 예를 들어, 전자 장치(100)는 카메라 어플리케이션을 실행하여, 이미지를 캡처할 수 있다.According to one embodiment, the electronic device 100 may obtain an image. For example, the electronic device 100 may execute a photo album application or the like to obtain a pre-stored image. Alternatively, the electronic device 100 may obtain an image from the outside. In another example, the electronic device 100 may obtain an image from a cloud server or other electronic device. In another example, the electronic device 100 may capture an image using a camera provided in the electronic device 100. For example, the electronic device 100 may execute a camera application to capture an image.

전자 장치(100)는 획득된 이미지로부터 적어도 하나의 객체를 추출할 수 있다. 전자 장치(100)는 이미지에 복수의 객체가 포함된 경우, 제 1 객체, 제 2 객체 등으로 복수의 객체를 구별된 각각의 객체로 추출할 수 있다. The electronic device 100 may extract at least one object from the acquired image. In a case where a plurality of objects are included in an image, the electronic device 100 can extract a plurality of objects as individual objects by using a first object, a second object, or the like.

예를 들어, 전자 장치(100)는 이미지에 포함된 픽셀을 분석함으로써 적어도 하나의 객체를 추출할 수 있다.For example, the electronic device 100 may extract at least one object by analyzing pixels included in the image.

다른 예에서, 전자 장치(100)는 포어그라운드(foreground) 및 백그라운드(background) 인식 방법을 이용하여, 이미지로부터 적어도 하나의 객체를 추출할 수 있다. 구체적으로, 전자 장치(100)는 포어그라운드 및 백그라운드 인식 방법을 이용하여, 이미지에서 포어그라운드 또는 백그라운드에 해당하는 객체를 추출할 수 있다. 또한, 전자 장치(100)는 포어그라운드에 해당하는 객체를 다시 인물, 동물 또는 사물 등에 대응하는 객체로 구별하여 추출할 수 있으며, 인물에 대응하는 객체가 복수인 경우 다시 제 1 인물, 제 2 인물 등으로 각각 추출할 수 있다. In another example, the electronic device 100 may extract at least one object from an image using a foreground and background recognition method. Specifically, the electronic device 100 can extract an object corresponding to the foreground or background from the image using the foreground and background recognition methods. In addition, the electronic device 100 can distinguish objects corresponding to the foreground as objects corresponding to figures, animals, objects, or the like, and extract them. If there are a plurality of objects corresponding to the persons, And the like.

일 실시예에 따라, 전자 장치(100)는 이미지로부터 적어도 하나의 객체를 추출하기 위해, 뉴럴 네트워크를 이용한 학습 모델을 이용할 수 있다.According to one embodiment, the electronic device 100 may utilize a learning model using a neural network to extract at least one object from the image.

단계 204에서, 전자 장치(100)는 추출된 적어도 하나의 객체(제 1 객체)와 사용자 데이터에 포함된 적어도 하나의 객체(제 2 객체) 사이의 동일성에 기초하여, 추출된 적어도 하나의 객체 중 삭제할 객체를 결정한다. 여기에서, 제 1 객체와 제 2 객체 사이의 동일성은 제 1 객체와 제 2 객체가 동일한 객체로 판단되는지 여부를 의미한다. In step 204, the electronic device 100 determines, based on the identity between the extracted at least one object (first object) and at least one object (second object) contained in the user data, Decide which object to delete. Here, the identity between the first object and the second object means whether or not the first object and the second object are regarded as the same object.

제 1 객체와 제 2 객체가 동일하다는 것은, 제 1 객체와 제 2 객체를 대응시켰을 때 크기 및 형태가 동일한 경우뿐만 아니라, 제 1 객체 및 제 2 객체가 유사한 경우도 포함할 수 있다. 예를 들어, 제1 객체의 특성과 제 2 객체의 특성이 기 설정된 범위 내에서 일치하는 경우에도 제 1 객체와 제 2 객체는 동일한 객체로 판단될 수 있다. 다만, 이에 한정되지 않는다.The fact that the first object and the second object are the same may include not only when the first object and the second object correspond to each other but also when the first object and the second object are similar. For example, even if the characteristics of the first object and the characteristics of the second object coincide with each other within a preset range, the first object and the second object may be determined to be the same object. However, the present invention is not limited thereto.

일 실시예에 따라, 전자 장치(100)는 제 1 객체와 제 2 객체를 동일한 객체로 결정하는 경우, 제 1 객체를 이미지에서 삭제하지 않을 수 있다. 예를 들어, 제 1 객체 및 사용자 데이터에 포함된 제 2 객체가 인물에 대응하는 객체인 경우, 전자 장치(100)는 제 1 객체를 사용자의 지인으로 판단하고, 제 1 객체를 이미지에서 삭제하지 않을 수 있다.According to one embodiment, when determining that the first object and the second object are the same object, the electronic device 100 may not delete the first object from the image. For example, when the first object and the second object included in the user data are objects corresponding to the person, the electronic device 100 determines that the first object is the user's acquaintance, and deletes the first object from the image .

다른 일 실시예에 따라, 전자 장치(100)는 제 1 객체와 제 2 객체를 동일한 객체로 결정하는 경우, 제 1 객체를 삭제할 객체로 결정할 수 있다. 예를 들어, 사용자 데이터에 포함된 제 2 객체가 이전에 삭제된 이력이 있는 경우, 전자 장치(100)는 제 2 객체와 동일한 제 1 객체를 이미지 내에서 삭제할 객체로 결정할 수 있다.According to another embodiment, when determining that the first object and the second object are the same object, the electronic device 100 may determine the first object as an object to be deleted. For example, if the second object included in the user data has a history of previously deleted, the electronic device 100 may determine the first object, which is the same as the second object, as an object to be deleted in the image.

여기서, 사용자 데이터는 데이터의 생성, 저장, 처리 단계 중 적어도 하나의 단계에 대한 프로세스에 사용자의 입력이 개입된 데이터를 포함할 수 있다. Here, the user data may include data in which a user's input is input to a process for at least one of the steps of generating, storing, and processing data.

예를 들어, 사용자 데이터는 전자 장치(100)의 사용자가 전자 장치(100)에 직접 입력한 데이터이거나, 전자 장치(100)를 제어하는 입력을 통해 외부 디바이스로부터 수신한 데이터이거나, 전자 장치(100)의 데이터 중 외부 장치에 업로드한 데이터일 수 있다. For example, the user data may be data directly input to the electronic device 100 by the user of the electronic device 100, data received from the external device via the input controlling the electronic device 100, ) May be data uploaded to an external device.

또한, 사용자 데이터에는, 전자 장치(100)에 저장된 폰북 데이터, 사진첩에 포함된 이미지, 전자 장치(100)에 의해 프로세싱된 데이터, 및 전자 장치(100)에 대한 사용자의 사용 이력 데이터가 포함될 수 있다. 여기서, 전자 장치(100)에 의해 프로세싱된 데이터에는 이미지로부터 추출된 적어도 하나의 객체가 포함될 수 있다.The user data may also include phone book data stored in the electronic device 100, images included in the photo book, data processed by the electronic device 100, and user's usage history data for the electronic device 100 . Here, the data processed by the electronic device 100 may include at least one object extracted from the image.

다른 일 실시예에서, 사용자 데이터는 외부 서버(예를 들어, SNS 서버, 클라우드 서버, 컨텐츠 제공 서버 등)로부터 획득될 수도 있다. 예를 들어, 전자 장치(100)는 사용자의 SNS 계정에 포함된 사용자 데이터를 SNS 서버로부터 획득할 수 있다.In another embodiment, the user data may be obtained from an external server (e.g., an SNS server, a cloud server, a content provision server, etc.). For example, the electronic device 100 may obtain user data included in the user's SNS account from the SNS server.

일 실시예에서, 전자 장치(100)는 이미지 내에서 삭제할 객체를 결정하기 위해, 뉴럴 네트워크를 이용한 학습 모델을 이용할 수 있다. 전자 장치(100)는 추출된 적어도 하나의 객체와 사용자 데이터를 학습 데이터로 이용하여 구축된 학습 모델에 기초하여, 이미지 내에서 삭제할 객체를 결정할 수 있다. 예를 들어, 학습 모델은 이미지에서 추출된 적어도 하나의 객체와 사용자 데이터에 포함된 적어도 하나의 객체 간의 동일성에 기초하여, 이미지 내에서 삭제할 객체를 판단하도록 학습된 모델일 수 있다. 학습 모델은 이미지에서 추출된 적어도 하나의 객체 중 사용자 데이터에 포함된 적어도 하나의 객체와 동일하지 않는 객체를 삭제할 객체로 판단할 수 있다. 사용자 데이터를 학습 데이터로 이용하여 구축된 학습 모델은 전자 장치(100)의 사용자에게 최적화된 모델일 수 있다. 이에 따라, 사용자 데이터에 기초한 학습 모델에 기초하여 이미지 내에서 삭제할 객체를 결정하는 경우, 범용 데이터에 기초하는 학습 모델을 이용하는 경우와 비교하여 이미지 내에서 삭제하고자 하는 객체에 대한 결정의 정확도를 높일 수 있다. In one embodiment, the electronic device 100 may use a learning model with a neural network to determine which objects to delete in the image. The electronic device 100 can determine an object to be deleted in the image based on the extracted learning model constructed by using at least one object and user data as learning data. For example, the learning model may be a learned model to determine an object to be deleted in the image, based on the identity between at least one object extracted from the image and at least one object contained in the user data. The learning model can determine that at least one object extracted from the image is an object to be deleted, which is not the same as at least one object included in the user data. The learning model constructed using the user data as the learning data may be a model optimized for the user of the electronic device 100. [ Accordingly, in the case of determining an object to be deleted in the image based on the learning model based on the user data, it is possible to increase the accuracy of the determination of the object to be deleted in the image, as compared with the case of using the learning model based on the general- have.

구체적으로, 전자 장치(100)는 사용자 데이터를 이용하여 뉴럴 네트워크를 이용한 학습 모델을 학습할 수 있다. 예를 들어, 전자 장치(100)는 전자 장치(100)에 기 저장된 폰북 데이터, 사진첩에 포함된 이미지 데이터 및 사용자의 사용 이력 데이터 등을 통해 학습 모델을 학습시킬 수 있다. 다른 예에서, 전자 장치(100)는 사용자 데이터에 포함된 적어도 하나의 객체를 이용하여 학습 모델을 학습시킬 수 있다. 또한, 전자 장치(100)는 학습한 결과를 이용하여, 이미지로부터 추출된 객체와 사용자의 지인 객체 사이의 동일성을 판단할 수 있다.Specifically, the electronic device 100 can learn a learning model using a neural network using user data. For example, the electronic device 100 can learn a learning model through phonebook data previously stored in the electronic device 100, image data included in a photo album, and usage history data of a user. In another example, the electronic device 100 may learn a learning model using at least one object included in user data. Also, the electronic device 100 can determine the identity between the object extracted from the image and the user's acquaintance object, using the learning result.

다른 예에서, 전자 장치(100)는 외부의 장치로부터 수신된 학습 모델을 이용할 수 있다. 예를 들어, 전자 장치(100)는 외부의 장치로 사용자 데이터를 전송할 수 있다. 외부의 장치는 전자 장치(100)로부터 수신한 사용자 데이터를 이용하여, 학습 모델을 학습하고, 학습된 학습 모델을 전자 장치(100)에게 전송할 수 있다. 또한, 전자 장치(100)는 수신된 학습 모델에 기초하여, 이미지로부터 추출된 적어도 하나의 객체 중 삭제할 객체를 결정할 수 있다.In another example, the electronic device 100 may utilize a learning model received from an external device. For example, the electronic device 100 may transmit user data to an external device. The external device can learn the learning model using the user data received from the electronic device 100 and transmit the learned learning model to the electronic device 100. [ In addition, the electronic device 100 may determine, based on the received learning model, of the at least one object extracted from the image to be deleted.

단계 206에서, 전자 장치(100)는 결정된 객체를 이미지에서 삭제한다. 전자 장치(100)는 이미지로부터 추출된 적어도 하나의 객체 중 삭제할 객체로 결정된 객체를 이미지에서 삭제할 수 있다. 예를 들어, 전자 장치(100)는 이미지에서 삭제할 객체에 대응하는 부분을 다른 부분으로 채우는 방법으로, 결정된 객체를 이미지에서 삭제할 수 있다. 또는, 전자 장치(100)는 삭제할 객체가 인물에 대응하는 객체인 경우, 삭제할 객체를 모자이크로 표시하는 방법으로 객체를 삭제할 수도 있다.In step 206, the electronic device 100 deletes the determined object from the image. The electronic device 100 may delete, from the image, an object determined as an object to be deleted among at least one object extracted from the image. For example, the electronic device 100 may delete the determined object from the image by filling the portion corresponding to the object to be deleted in the image with another portion. Alternatively, when the object to be deleted is an object corresponding to a person, the electronic device 100 may delete the object by a method of displaying the object to be deleted with a mosaic.

일 실시예에 따라, 전자 장치(100)는 결정된 객체를 이미지에서 삭제하기 위해, 뉴럴 네트워크를 이용한 학습 모델을 이용할 수 있다. 전자 장치(100)는 학습 모델을 이용하여 객체가 삭제된 부분을 보정할 수 있다. 예를 들어, 전자 장치(100)는 학습 모델을 이용하여, 객체가 삭제된 부분에 대체될 픽셀 정보를 생성할 수 있다. 또는, 전자 장치(100)는 학습 모델을 이용하는 주변 픽셀 정보 기반의 데이터 재생 방법을 이용하여, 객체가 삭제된 부분에 대체될 픽셀 정보를 생성할 수 있다.According to one embodiment, the electronic device 100 may use a learning model with a neural network to delete the determined object from the image. The electronic device 100 can correct the deleted portion of the object using the learning model. For example, the electronic device 100 may use the learning model to generate pixel information to be substituted for the deleted portion of the object. Alternatively, the electronic device 100 can generate pixel information to be substituted in the deleted portion of the object, using a peripheral pixel information-based data playback method using a learning model.

일 실시예에 따라, 전자 장치(100)는 삭제할 것으로 결정된 객체가 복수개인 경우, 각각의 결정된 객체에 따라 다른 방법으로 각각의 결정된 객체를 삭제할 수 있다. 예를 들어, 삭제할 제 1 객체를 주변 부분의 픽셀 정보에 기초하여 대체하는 방법으로 삭제하고, 삭제할 제 2 객체를 모자이크로 표시하는 방법으로 삭제할 수 있다.According to one embodiment, when there are a plurality of objects determined to be deleted, the electronic device 100 may delete each determined object in different ways depending on each determined object. For example, the first object to be deleted can be deleted by a method of replacing based on the pixel information of the surrounding portion, and the second object to be deleted can be deleted by a method of displaying with a mosaic.

도 3은 일 실시예에 따라, 전자 장치(100)가 기 저장된 폰북 데이터를 이용하여 삭제할 객체를 결정하는 방법을 설명하기 위한 도면이다.3 is a diagram for explaining how the electronic device 100 determines an object to be deleted using previously stored phone book data, according to an embodiment.

일 실시예에 따른, 사용자 데이터는 전자 장치(100)에 기 저장된 폰북 데이터(301)를 포함할 수 있다. 예를 들어, 전자 장치(100)는 이미지로부터 추출된 적어도 하나의 객체와 폰북 데이터(301)에 포함된 적어도 하나의 객체 사이의 동일성에 기초하여 삭제할 객체를 결정할 수 있다. According to one embodiment, the user data may include phone book data 301 pre-stored in electronic device 100. For example, the electronic device 100 may determine an object to delete based on the identity between at least one object extracted from the image and at least one object contained in the phonebook data 301.

도 3에 도시된 바와 같이, 일 실시예에 따라, 전자 장치(100)는 폰북 데이터(301)로부터 지인 데이터 베이스(Data Base)(302)를 생성할 수 있다. 전자 장치(100)는 적어도 하나의 인물에 대응하는 객체(예를 들어, 도 3의 객체(312))를 포함하는 지인 데이터 베이스(302)를 생성할 수 있다. 3, the electronic device 100 may generate a knowledge database 302 from the phonebook data 301, according to one embodiment. Electronic device 100 may create an acquaintance database 302 that includes an object corresponding to at least one person (e.g., object 312 in FIG. 3).

예를 들어, 전자 장치(100)는 폰북 데이터(301)에 포함된 이미지(311)로부터 인물에 대응하는 객체(310)를 추출할 수 있다. 여기에서, 전자 장치(100)가 인물에 대응하는 객체를 추출하는 방법에는 도 2의 단계 202에서 설명된 실시예들이 적용될 수 있다. 또한, 전자 장치(100)는 인물에 대응하는 객체(310)를 지인에 해당하는 객체(312)로서 지인 데이터 베이스(302)에 포함시킬 수 있다.For example, the electronic device 100 may extract an object 310 corresponding to a person from the image 311 included in the phone book data 301. [ Here, the embodiments described in step 202 of FIG. 2 may be applied to a method by which the electronic device 100 extracts an object corresponding to a person. In addition, the electronic device 100 may include the object 310 corresponding to the person in the acquaintance database 302 as the object 312 corresponding to the acquaintance.

또한, 전자 장치(100)는 폰북 데이터(301)로부터 생성된 지인 데이터 베이스(302)에 기초하여, 이미지로부터 추출된 객체가 지인 데이터 베이스(302)에 포함된 객체와 동일하지 않은 것으로 결정된 경우, 추출된 객체를 삭제할 객체로 결정할 수 있다. 여기에서, 적어도 둘 이상의 객체 사이의 동일성 결정 방법은 도 2의 단계 204에서 설명된 실시예들에 대응될 수 있다.If the electronic device 100 determines that the object extracted from the image is not the same as the object included in the database 302 based on the acquaintance database 302 generated from the phone book data 301, The extracted object can be determined as an object to be deleted. Here, the method of determining the identity between at least two objects may correspond to the embodiments described in step 204 of FIG.

일 실시예에 따라, 전자 장치(100)는 폰북 데이터(301)가 갱신되는 경우 지인 데이터 베이스(302)를 갱신할 수 있다.According to one embodiment, the electronic device 100 can update the database 302, which is where the phone book data 301 is updated.

도 4는 일 실시예에 따라 전자 장치(100)가 등장 빈도수에 기초하여 삭제할 객체를 결정하는 방법을 나타내는 흐름도이다.4 is a flow diagram illustrating a method by which an electronic device 100 determines an object to delete based on an entry frequency, in accordance with one embodiment.

도 4를 참조하면, 단계 402에서, 전자 장치(100)는 이미지로부터 적어도 하나의 객체를 추출한다. 단계 402는 도 2의 단계 202와 대응될 수 있으므로, 자세한 설명은 생략한다.Referring to FIG. 4, in step 402, the electronic device 100 extracts at least one object from an image. Step 402 may correspond to step 202 of FIG. 2, and therefore detailed description is omitted.

단계 404에서, 전자 장치(100)는 사용자 데이터에 포함된 적어도 하나의 객체 각각에 대응하는 등장 빈도수를 결정한다. 전자 장치(100)는 사용자 데이터에 포함된 적어도 하나의 이미지로부터 추출된 적어도 하나의 객체 각각에 대한 등장 빈도수를 결정할 수 있다. In step 404, the electronic device 100 determines an entry frequency corresponding to each of at least one object included in the user data. The electronic device 100 may determine an occurrence frequency for each of the at least one object extracted from the at least one image included in the user data.

일 실시예에서, 전자 장치(100)는, 사용자 데이터에 포함된 적어도 둘 이상의 객체들 사이의 동일성 결정에 기초하여, 사용자 데이터에 포함된 객체 각각에 대응하는 등장 빈도수를 결정할 수 있다.In one embodiment, the electronic device 100 may determine an occurrence frequency corresponding to each of the objects contained in the user data, based on the determination of identity between at least two objects included in the user data.

예를 들어, 전자 장치(100)가 사용자 데이터에 포함된 서로 다른 이미지로부터 추출된 두 개의 객체를 동일한 객체로 결정하는 경우, 전자 장치(100)는 해당 객체의 등장 빈도수를 증가시키는 방법으로 사용자 데이터에 포함된 객체 각각에 대응하는 등장 빈도수를 결정할 수 있다.For example, when the electronic device 100 determines two objects extracted from different images included in the user data as the same object, the electronic device 100 transmits the user data Can determine the number of occurrences corresponding to each of the objects included in the object.

여기에서, 적어도 둘 이상의 객체 사이의 동일성 결정 방법은 도 2의 단계 204에서 설명된 실시예들이 적용될 수 있다.Here, the method of determining the identity between at least two objects can be applied to the embodiments described in step 204 of FIG.

단계 406에서, 전자 장치(100)는 추출된 적어도 하나의 객체와 사용자 데이터에 포함된 적어도 하나의 객체 사이의 동일성 및 결정된 등장 빈도수에 기초하여, 삭제할 객체를 결정한다. In step 406, the electronic device 100 determines the object to delete based on the identity between the extracted at least one object and at least one object included in the user data and the determined occurrence frequency.

예를 들어, 단계 402에서 추출된 적어도 하나의 객체 중 제 1 객체가 단계 404에서 결정된 등장 빈도수가 기 설정된 기준을 만족하는 제 2 객체와 동일한 객체로 결정되는 경우, 전자 장치(100)는 제 1 객체를 삭제하지 않을 수 있다. 반대로, 단계 402에서 추출된 적어도 하나의 객체 중 제 3 객체가 단계 404에서 결정된 등장 빈도수가 기 설정된 기준을 만족하는 객체들 중 어느 하나와 동일하지 않은 경우, 전자 장치(100)는 제 3 객체를 삭제할 객체로 결정할 수 있다. For example, if the first one of the at least one object extracted at step 402 is determined to be the same object as the second object at which the determined frequency of occurrence is determined at step 404, You can choose not to delete the object. Conversely, if the third of the at least one object extracted at step 402 is not the same as any one of the objects whose determined frequency at step 404 meets a predetermined criterion, then the electronic device 100 sends the third object You can decide to delete the object.

일 실시예에서, 기 설정된 기준은 사용자의 지인으로 결정하기 위한 등장 빈도수의 최소값일 수 있다. 또한, 기 설정된 기준은 전자 장치(100)에 설정된 디폴트(default) 값일 수 있다. 또는, 기 설정된 기준은 사용자 입력에 의해 결정되는 값일 수 있다. 예를 들어, 전자 장치(100)는 기 설정된 기준 값을 결정하는 사용자 인터페이스를 제공할 수 있다. 또는, 기 설정된 기준은 뉴럴 네트워크를 이용한 학습 모델에 기초하여 결정될 수 있다.In one embodiment, the predetermined criterion may be the minimum value of the frequency of occurrence to be determined by the user's acquaintance. In addition, the predetermined criteria may be a default value set in the electronic device 100. [ Alternatively, the predetermined criteria may be a value determined by user input. For example, the electronic device 100 may provide a user interface for determining a predetermined reference value. Alternatively, the predetermined criteria can be determined based on the learning model using the neural network.

또한, 단계 406에는 도 2의 단계 204 에서 설명된 실시예들이 적용될 수 있다.Further, in step 406, the embodiments described in step 204 of FIG. 2 may be applied.

단계 408에서, 전자 장치(100)는 결정된 객체를 이미지에서 삭제한다. 단계 408은 도 2의 단계 206과 대응될 수 있으므로, 자세한 설명은 생략한다.In step 408, the electronic device 100 deletes the determined object from the image. Step 408 may correspond to step 206 of FIG. 2, so a detailed description will be omitted.

도 5는 일 실시예에 따라, 전자 장치(100)가 사용자 데이터로부터 지인 확률 데이터 베이스를 생성하는 방법을 설명하기 위한 도면이다.5 is a diagram for describing a method of generating a probability database in which the electronic device 100 is known from user data, according to one embodiment.

도 5를 참조하면, 일 실시예에 따라, 전자 장치(100)는 사용자 데이터를 이용하여 지인 확률 데이터 베이스(500)를 생성할 수 있다. 예를 들어, 전자 장치(100)는 전자 장치(100)에 기 저장된 폰북 데이터(501) 및 사진첩(502)에 포함된 이미지 데이터를 이용하여, 각각의 객체 별 등장 빈도수(510) 및 지인 확률(511)을 포함하는 지인 확률 데이터 베이스(500)를 생성할 수 있다.Referring to FIG. 5, in accordance with one embodiment, electronic device 100 may generate a knowing probability database 500 using user data. For example, the electronic device 100 uses the image data included in the phone book data 501 and the photo album 502 previously stored in the electronic device 100, and calculates the appearance frequency 510 and the background probability 511). ≪ / RTI >

일 실시예에 따라, 전자 장치(100)는 사용자 데이터에 포함된 인물에 대응하는 각각의 객체들의 등장 빈도수를 결정할 수 있다. 구체적으로, 전자 장치(100)는 폰북 데이터(501) 및 사진첩(502)에 포함된 이미지 데이터로부터 인물에 대응하는 적어도 하나의 객체를 추출할 수 있다. 또한, 전자 장치(100)는 추출된 객체들 사이의 동일성에 기초하여, 객체들 각각에 대한 등장 빈도수(510)를 결정할 수 있다.According to one embodiment, the electronic device 100 may determine an occurrence frequency of each of the objects corresponding to a person included in the user data. Specifically, the electronic device 100 can extract at least one object corresponding to the person from the image data included in the phone book data 501 and the photo album 502. [ In addition, the electronic device 100 may determine an occurrence frequency 510 for each of the objects based on the identity between the extracted objects.

일 실시예에 따라, 전자 장치(100)는 등장 빈도수(510)로부터 기 설정된 기준에 기초하여, 객체들 각각에 대한 지인 확률(511)을 결정할 수 있다. 여기에서, 기 설정된 기준은 전자 장치(100)에 설정된 디폴트(default) 값일 수 있다. 또는, 기 설정된 기준은 사용자 입력에 의해 결정되는 값일 수 있다. According to one embodiment, the electronic device 100 may determine the probability of an acquaintance 511 for each of the objects, based on predetermined criteria from the entropy frequency 510. Here, the preset reference may be a default value set in the electronic device 100. [ Alternatively, the predetermined criteria may be a value determined by user input.

예를 들어, 전자 장치(100)는 폰북 데이터(501)에 포함된 객체를 지인 확률 99%로 결정할 수 있다. 또는, 전자 장치(100)는 사용자 데이터에 포함된 전체 객체에서 각각의 특정 객체의 등장 빈도수가 차지하는 비율을 지인 확률(511)로 저장할 수도 있다. 또는, 전자 장치(100)는 등장 빈도수를 기 설정된 구간으로 분류하고 구간별로 추가적인 가중치를 부가하여 지인 확률(511)을 결정할 수도 있다. 또한, 전자 장치(100)는 사용자의 입력에 기초하여 기준을 설정하기 위한 사용자 인터페이스를 제공할 수 있다.For example, the electronic device 100 can determine the probability of acquiring an object included in the phonebook data 501 as 99%. Alternatively, the electronic device 100 may store the ratio of the frequency of appearance of each specific object in the entire object included in the user data to the probability 511 of the recognition probability. Alternatively, the electronic device 100 may determine the recognition probability 511 by classifying the appearance frequency into predetermined intervals and adding additional weights to the intervals. The electronic device 100 may also provide a user interface for setting criteria based on user input.

일 실시예에 따라, 지인 확률(511)은 도 5에와 같이 백분율(%) 값으로 저장되거나, 0 내지 1 사이의 값으로 저장될 수 있으나 이에 제한되지 않는다.According to one embodiment, the acquaintance probability 511 may be stored as a percentage (%) value as shown in FIG. 5, or may be stored as a value between 0 and 1, but is not limited thereto.

도 6은 일 실시예에 따라, 전자 장치(100)가 특정 이벤트와 관련된 이미지에서 등장 빈도수에 기초하여 삭제할 객체를 결정하는 방법을 설명하기 위한 도면이다.6 is a diagram illustrating a method by which an electronic device 100 determines an object to be deleted based on an occurrence frequency in an image associated with a specific event, according to an embodiment.

일 실시예에 따라, 전자 장치(100)는 특정 이벤트와 관련된 복수의 이미지를 이용하여, 이미지에서 특정 이벤트와 관련이 없는 객체를 삭제할 객체로 결정할 수 있다.According to one embodiment, the electronic device 100 may use a plurality of images associated with a particular event to determine an object in the image that is not associated with a particular event to be deleted.

일 실시예에 따라, 전자 장치(100)는 사용자 데이터로부터 특정 이벤트와 관련된 복수의 이미지들을 획득할 수 있다. 전자 장치(100)는 사용자 데이터로부터 일정한 조건을 만족하는 이미지들을 분류하는 방법으로, 특정 이벤트와 관련된 이미지들을 획득할 수 있다. 예를 들어, 전자 장치(100)는 이미지가 촬영된 날짜 또는 일정한 기간을 조건으로 특정된 이벤트와 관련된 이미지들을 획득할 수 있다. 또는, 전자 장치(100)는 공통된 객체를 포함하는지 여부를 조건으로 특정된 이벤트와 관련된 이미지들을 획득할 수 있다.According to one embodiment, the electronic device 100 may obtain a plurality of images associated with a particular event from user data. The electronic device 100 may obtain images related to a particular event, in a manner that classifies images that satisfy certain conditions from user data. For example, the electronic device 100 may obtain images associated with an event specified on the date or period of time that the image was taken. Alternatively, the electronic device 100 may obtain images associated with the event specified on condition that it includes a common object.

도 6을 참조하면, 예를 들어, 전자 장치(100)는 "종방연"이라는 사용자 입력에 기초하여, "종방연"과 관련된 복수의 이미지들(601)을 획득할 수 있다. 구체적으로, 전자 장치(100)는 사용자 데이터로부터 "종방연"이 있었던 날짜에 촬영된 이미지들(601)을 획득할 수 있다.Referring to FIG. 6, for example, the electronic device 100 may obtain a plurality of images 601 associated with a "chorus" based on a user input of "chorus. &Quot; Specifically, the electronic device 100 may obtain images 601 taken from the user data on the date the "telescope" occurred.

일 실시예에 따라, 전자 장치(100)는 특정 이벤트와 관련된 복수의 이미지들(601)에 포함된 적어도 하나의 객체 각각에 대응하는 등장 빈도수를 결정할 수 있다. 전자 장치(100)는 도 4의 단계 404에서 설명된 실시예들을 적용하여, 특정 이벤트와 관련된 복수의 이미지를 분석함으로써, 등장 빈도수를 결정할 수 있다.According to one embodiment, the electronic device 100 may determine an entry frequency corresponding to each of at least one object included in a plurality of images 601 associated with a particular event. The electronic device 100 may apply the embodiments described in step 404 of FIG. 4 to determine an occurrence frequency by analyzing a plurality of images associated with a particular event.

일 실시예에 따라, 전자 장치(100)는 추출된 적어도 하나의 객체와 특정 이벤트와 관련된 복수의 이미지에 포함된 적어도 하나의 객체 사이의 동일성 및 결정된 등장 빈도수에 기초하여, 삭제할 객체를 결정할 수 있다. According to one embodiment, the electronic device 100 may determine an object to delete based on the identity between the extracted at least one object and at least one object included in the plurality of images associated with the particular event, and the determined occurrence frequency .

예를 들어, 전자 장치(100)는 "종방연"과 관련된 복수의 이미지들(601)을 분석함으로써, "종방연" 관련인물 데이터 베이스(600)를 생성할 수 있다. "종방연" 관련인물 데이터 베이스(600)는 도 5에서 설명된, 지인 확률 데이터 베이스(500)의 생성 방법에 대응되는 방법으로 생성될 수 있다.For example, the electronic device 100 may generate a "portrait" related person database 600 by analyzing a plurality of images 601 associated with " The "person-to-person" related person database 600 can be generated by a method corresponding to the generation method of the recognition probability database 500 described in FIG.

또한, 예를 들어, 전자 장치(100)는 복수의 이미지들(601) 중 하나의 이미지(602)에서 삭제할 객체(603)를 결정할 수 있다. 구체적으로, 전자 장치(100)는 생성된 관련인물 확률 데이터 베이스(600)를 이용하여, 관련인물일 확률이 10% 미만인 객체들을 삭제할 객체(603)로 결정할 수 있다.Further, for example, the electronic device 100 may determine an object 603 to be deleted in one of the plurality of images 601 (602). Specifically, the electronic device 100 can use the generated related personality probability database 600 to determine objects 603 whose objects are less than 10% probability of being related persons to be deleted.

일 실시예에 따라, 전자 장치(100)는 삭제할 객체(603)를 사용자에게 제공할 수 있다. 예를 들어, 전자 장치(100)는 하나의 이미지(602)에서 결정된 삭제할 객체(603)를 디스플레이부에 표시할 수 있다.According to one embodiment, the electronic device 100 may provide the user with an object 603 to delete. For example, the electronic device 100 may display the object 603 to be deleted, which is determined in one image 602, on the display unit.

또한, 전자 장치(100)는 이미지들(601) 및 결정된 객체가 삭제된 이미지(604)를 사용자에게 제공할 수 있다. 예를 들어, 전자 장치(100)는 이미지들(601) 및 결정된 객체가 삭제된 이미지(604)를 전자 장치(100) 또는 전자 장치(100)와 연결된 외부의 디스플레이 장치를 통해 디스플레이할 수 있다.In addition, the electronic device 100 may provide the user with images 601 and an image 604 from which the determined object has been deleted. For example, electronic device 100 may display images 601 and an image 604 from which the determined object has been deleted through an external display device connected to electronic device 100 or electronic device 100. [

도 7은 일 실시예에 따라 전자 장치(100)가 이전에 삭제된 이력을 가지는 객체를 이용하여 삭제할 객체를 결정하는 방법을 나타내는 흐름도이다.7 is a flowchart illustrating a method for an electronic device 100 to determine an object to be deleted using an object having a previously deleted history according to an embodiment.

도 7을 참조하면, 단계 702에서, 전자 장치(100)는 이미지로부터 적어도 하나의 객체를 추출한다. 단계 702 는 도 2의 단계 202에 대응될 수 있으므로, 자세한 설명은 생략한다.Referring to FIG. 7, in step 702, the electronic device 100 extracts at least one object from an image. Step 702 may correspond to step 202 of FIG. 2, and thus a detailed description will be omitted.

단계 704에서, 전자 장치(100)는 추출된 적어도 하나의 객체와 삭제된 이력을 가지는 객체 사이의 동일성에 기초하여 삭제할 객체를 결정할 수 있다. 예를 들어, 전자 장치(100)는 제1 이미지에서 제1 객체가 삭제되고, 제 2 이미지 내에 제 1 객체와 동일한 객체로 결정된 제 2 객체가 포함된 경우, 제2 객체를 삭제할 객체로 결정할 수 있다. In step 704, the electronic device 100 may determine the object to delete based on the identity between the extracted at least one object and the object having the deleted history. For example, when the first object is deleted from the first image and the second object is determined to be the same object as the first object in the second image, the electronic device 100 can determine the second object as an object to be deleted have.

일 실시예에서, 이전에 삭제된 이력을 가지는 객체는 사용자 입력에 기초하여 삭제된 객체일 수 있다.In one embodiment, an object having a previously deleted history may be an object deleted based on user input.

단계 704에서, 전자 장치(100)가 동일성을 결정하는 방법에는 도 2의 단계 204에서 설명된 실시예들이 적용될 수 있다.In step 704, the embodiments described in step 204 of FIG. 2 may be applied to how the electronic device 100 determines the identity.

일 실시예에 따라, 전자 장치(100)는 사용자 데이터를 이용하여 이전에 삭제된 이력이 있는 객체를 결정할 수 있다.According to one embodiment, the electronic device 100 may use the user data to determine a previously deleted historical object.

단계 706에서, 전자 장치(100)는 결정된 객체를 이미지에서 삭제한다. 단계 706은 도 2의 단계 206에 대응될 수 있으므로, 자세한 설명은 생략한다.In step 706, the electronic device 100 deletes the determined object from the image. Step 706 may correspond to step 206 of FIG. 2, and therefore a detailed description will be omitted.

도 8은 일 실시예에 따라 전자 장치(100)가 이전에 삭제된 이력을 가지는 객체를 이용하여 삭제할 객체를 결정하는 방법을 상세히 설명하기 위한 도면이다.FIG. 8 is a diagram for explaining in detail a method of determining an object to be deleted using an object having a history of a previously deleted electronic device 100 according to an embodiment.

일 실시예에 따라, 전자 장치(100)는 제 1 이미지(801)에서 제 1 객체(811)를 삭제하는 사용자 입력에 기초하여, 제 2, 제 3 이미지(802, 803)에서 추출된 적어도 하나의 객체를 삭제할 객체로 결정할 수 있다. According to one embodiment, the electronic device 100 is configured to generate at least one (1, 2, 3, 4, 5, 6, Can be determined as an object to be deleted.

예를 들어, 도 8을 참조하면, 제 1 이미지(801), 제 2 이미지(802), 및 제 3 이미지(803)는 동일한 객체(804)가 다양한 각도에서 촬영된 이미지이다.8, the first image 801, the second image 802, and the third image 803 are images in which the same object 804 is photographed at various angles.

전자 장치(100)는 제 1 이미지(801)에서 제 1 객체(811)를 삭제하는 사용자 입력을 획득할 수 있다. 또한, 전자 장치(100)는 제 1 객체(811)가 삭제된 이력을 전자 장치(100)에 포함된 저장 장치 또는 외부의 저장 장치에 저장할 수 있다. 또한, 전자 장치(100)는 제 2 이미지(802)에서 제 2 객체(812)를 추출할 수 있다. 전자 장치(100)는 제 2 객체(812)를 제 1 객체(811)와 동일한 객체로 결정할 수 있으며, 제 1 객체(811)와 동일한 제 2 객체(812)를 삭제할 객체로 결정할 수 있다. 전자 장치(100)는 제 2 이미지에서와 동일한 방법으로 제 3 이미지(803)에 대해서, 제 3 객체(813)를 삭제할 객체로 결정할 수 있다.The electronic device 100 may obtain a user input to delete the first object 811 in the first image 801. [ In addition, the electronic device 100 may store the deleted history of the first object 811 in a storage device included in the electronic device 100 or an external storage device. In addition, the electronic device 100 may extract the second object 812 from the second image 802. The electronic device 100 may determine the second object 812 as the same object as the first object 811 and may determine the second object 812 identical to the first object 811 as the object to be deleted. The electronic device 100 may determine the third object 813 as an object to be deleted, for the third image 803 in the same manner as in the second image.

개시된 실시예들에 따르면, 전자 장치(100)가 삭제된 이력을 가지는 객체를 복수의 이미지들에서 자동으로 삭제함으로써, 사용자가 복수의 이미지들에 포함된 동일한 객체를 반복하여 삭제해야 하는 불편함을 줄일 수 있다.According to the disclosed embodiments, the electronic device 100 automatically deletes the object having the deleted history from a plurality of images, thereby making it unnecessary for the user to repeatedly delete the same object included in the plurality of images Can be reduced.

도 9는 일 실시예에 따라 전자 장치(100)가 제공하는 사용자 인터페이스 화면을 도시한 도면이다.9 is a view showing a user interface screen provided by the electronic device 100 according to an embodiment.

도 9를 참조하면, 일 실시예에 따라, 전자 장치(100)는 제 1 이미지(901) 및 제 1 이미지에서 결정된 객체(902, 903)가 삭제된 제 2 이미지(904)를 디스플레이에 표시할 수 있다. 또한, 전자 장치(100)는 사용자 입력에 기초하여, 제 1 이미지(901) 및 제 2 이미지(904) 중 적어도 하나를 저장할 수 있다.9, in accordance with one embodiment, electronic device 100 displays a first image 901 and a second image 904 from which objects 902, 903 determined in the first image have been deleted, on the display . In addition, the electronic device 100 may store at least one of the first image 901 and the second image 904 based on user input.

예를 들어, 전자 장치(100)는 '저장' 오브젝트(911 및 913) 및'삭제' 오브젝트(912 및 914)를 사용자 인터페이스(900) 화면에 표시할 수 있다. 전자 장치(100)는 '저장'오브젝트(911)를 선택하는 입력을 수신하는 경우, 제1 이미지(901)를 저장할 수 있다. 또한, 전자 장치(100)는 '삭제' 오브젝트(912)를 선택하는 입력을 수신하는 경우, 제 1 이미지(901)를 삭제할 수 있다. 전자 장치(100)는 '저장'오브젝트(913)를 선택하는 입력을 수신하는 경우, 제 2 이미지(904)를 저장할 수 있다. 또한, 전자 장치(100)는 '삭제' 오브젝트(914)를 선택하는 입력을 수신하는 경우, 제 2 이미지(904)를 삭제할 수 있다.For example, the electronic device 100 may display 'save' objects 911 and 913 and 'delete' objects 912 and 914 on the user interface 900 screen. The electronic device 100 may store the first image 901 when receiving an input to select a 'save' object 911. In addition, the electronic device 100 may delete the first image 901 when receiving an input to select the 'delete' object 912. Electronic device 100 may store a second image 904 when receiving an input to select a 'save' object 913. [ In addition, the electronic device 100 may delete the second image 904 when receiving an input to select the 'delete' object 914.

한편, 일 실시예에 따라, 전자 장치(100)는 객체가 삭제된 이미지가 저장되는 경우, 삭제된 객체를 사용자 데이터에 포함시킬 수 있다. 예를 들어, 객체(902, 903)가 삭제된 제 2 이미지(904)가 저장되는 경우, 전자 장치(100)는 삭제된 객체(902, 903)를 사용자 데이터에 포함시킬 수 있다. 이에 따라, 전자 장치(100)는 획득된 이미지에서 추출된 객체와 삭제된 객체(902, 903) 사이의 동일성에 기초하여, 이미지에서 삭제할 객체를 결정할 수 있다. Meanwhile, according to one embodiment, when the object is deleted, the electronic device 100 may include the deleted object in the user data. For example, if the second image 904 with the objects 902 and 903 deleted is stored, the electronic device 100 may include the deleted objects 902 and 903 in the user data. Accordingly, the electronic device 100 can determine the object to be deleted from the image, based on the identity between the extracted object and the deleted object 902, 903 from the acquired image.

도 10 및 도 11은 일 실시예에 따른 전자 장치의 구성을 나타내는 블록도이다.10 and 11 are block diagrams showing the configuration of an electronic device according to an embodiment.

도 10에 도시된 바와 같이, 일 실시예에 따른 전자 장치(100)는 메모리(1100), 디스플레이부(1210) 및 프로세서(1300)를 포함할 수 있다.10, an electronic device 100 according to one embodiment may include a memory 1100, a display portion 1210, and a processor 1300. [

그러나, 도 10에 도시된 구성 요소 모두가 전자 장치(100)의 필수 구성 요소인 것은 아니다. 도 10에 도시된 구성 요소보다 많은 구성 요소에 의해 전자 장치(100)가 구현될 수도 있고, 도 10에 도시된 구성 요소보다 적은 구성 요소에 의해 전자 장치(100)가 구현될 수도 있다.However, not all of the components shown in Fig. 10 are essential components of the electronic device 100. Fig. The electronic device 100 may be implemented by more components than the components shown in Fig. 10, or the electronic device 100 may be implemented by fewer components than those shown in Fig.

예를 들어, 도 11에 도시된 바와 같이, 일 실시예에 따른 전자 장치(100)는, 메모리(1100), 디스플레이부(1210) 및 프로세서(1300) 이외에 출력부(1200), 통신부(1500), 센싱부(1400), A/V 입력부(1600) 및 사용자 입력부(1700)를 더 포함할 수도 있다.11, the electronic device 100 according to one embodiment includes an output unit 1200, a communication unit 1500, a memory unit 1100, a display unit 1210, and a processor 1300, A sensing unit 1400, an A / V input unit 1600, and a user input unit 1700.

메모리(1100)는, 프로세서(1300)의 처리 및 제어를 위한 프로그램을 저장할 수 있고, 전자 장치(100)로 입력되거나 전자 장치(100)로부터 출력되는 데이터를 저장할 수도 있다. 또한, 메모리(1100)는 사용자 데이터를 저장할 수 있다.The memory 1100 may store a program for processing and controlling the processor 1300 and may store data input to or output from the electronic device 100. [ The memory 1100 may also store user data.

일 실시예에서, 메모리(1100)는 전자 장치(100)가 획득한 이미지를 처리 하기 위한 적어도 하나의 인스트럭션을 저장할 수 있다. 메모리(1100)는 이미지로부터 적어도 하나의 객체를 추출하고, 적어도 하나의 객체와 사용자 데이터에 포함된 객체 사이의 동일성에 기초하여 추출된 적어도 하나의 객체 중 삭제할 객체를 결정하며, 결정된 객체를 삭제하기 위한 인스트럭션을 저장할 수 있다.In one embodiment, the memory 1100 may store at least one instruction for processing an image acquired by the electronic device 100. The memory 1100 extracts at least one object from the image, determines an object to be deleted among at least one object extracted based on the identity between the at least one object and the object included in the user data, and deletes the determined object For example.

일 실시예에서, 메모리(1100)는 이미지로부터 적어도 하나의 객체를 추출하기 위한 하나 이상의 뉴럴 네트워크에 기초한 학습모델을 저장할 수 있다.In one embodiment, the memory 1100 may store a learning model based on one or more neural networks for extracting at least one object from the image.

일 실시예에서, 메모리(1100)는 이미지 내에서 삭제할 객체를 결정하기 위한 하나 이상의 뉴럴 네트워크에 기초한 학습모델을 저장할 수 있다.In one embodiment, the memory 1100 may store a learning model based on one or more neural networks for determining objects to delete in the image.

일 실시예에서, 메모리(1100)는 이미지 내에서 삭제할 객체에 대응하는 부분을 이미지의 배경에 대응하는 부분으로 대체하기 위한 하나 이상의 뉴럴 네트워크에 기초한 학습모델을 저장할 수 있다.In one embodiment, the memory 1100 may store a learning model based on one or more neural networks for replacing the portion corresponding to the object to be deleted in the image with the portion corresponding to the background of the image.

메모리(1100)는 플래시 메모리 타입(flash memory type), 하드디스크 타입(hard disk type), 멀티미디어 카드 마이크로 타입(multimedia card micro type), 카드 타입의 메모리(예를 들어 SD 또는 XD 메모리 등), 램(RAM, Random Access Memory) SRAM(Static Random Access Memory), 롬(ROM, Read-Only Memory), EEPROM(Electrically Erasable Programmable Read-Only Memory), PROM(Programmable Read-Only Memory), 자기 메모리, 자기 디스크, 광디스크 중 적어도 하나의 타입의 저장매체를 포함할 수 있다.The memory 1100 may be a flash memory type, a hard disk type, a multimedia card micro type, a card type memory (e.g., SD or XD memory), a RAM (Random Access Memory) SRAM (Static Random Access Memory), ROM (Read Only Memory), EEPROM (Electrically Erasable Programmable Read-Only Memory), PROM (Programmable Read-Only Memory) , An optical disc, and the like.

메모리(1100)에 저장된 프로그램들은 그 기능에 따라 복수 개의 모듈들로 분류할 수 있는데, 예를 들어, UI 모듈(1110), 터치 스크린 모듈(1120), 알림 모듈(1130) 등으로 분류될 수 있다. The programs stored in the memory 1100 may be classified into a plurality of modules according to their functions, for example, a UI module 1110, a touch screen module 1120, a notification module 1130, .

UI 모듈(1110)은, 애플리케이션 별로 전자 장치(100)와 연동되는 특화된 UI, GUI 등을 제공할 수 있다. 터치 스크린 모듈(1120)은 사용자의 터치 스크린 상의 터치 제스처를 감지하고, 터치 제스처에 관한 정보를 프로세서(1300)로 전달할 수 있다. 일 실시예에 따른 터치 스크린 모듈(1120)은 터치 코드를 인식하고 분석할 수 있다. 터치 스크린 모듈(1120)은 컨트롤러를 포함하는 별도의 하드웨어로 구성될 수도 있다.The UI module 1110 can provide a specialized UI, a GUI, and the like, which are interlocked with the electronic device 100 for each application. The touchscreen module 1120 may detect a touch gesture on the user's touch screen and may pass information to the processor 1300 about the touch gesture. The touch screen module 1120 according to one embodiment can recognize and analyze the touch code. The touch screen module 1120 may be configured as separate hardware including a controller.

알림 모듈(1130)은 전자 장치(100)의 이벤트 발생을 알리기 위한 신호를 발생할 수 있다. 전자 장치(100)에서 발생되는 이벤트의 예로는 호 신호 수신, 메시지 수신, 키 신호 입력, 일정 알림 등이 있다. 알림 모듈(1130)은 디스플레이부(1210)를 통해 비디오 신호 형태로 알림 신호를 출력할 수도 있고, 음향 출력부(1220)를 통해 오디오 신호 형태로 알림 신호를 출력할 수도 있고, 진동 모터(1230)를 통해 진동 신호 형태로 알림 신호를 출력할 수도 있다.The notification module 1130 may generate a signal for notifying the occurrence of an event of the electronic device 100. [ Examples of events generated in the electronic device 100 include call signal reception, message reception, key signal input, schedule notification, and the like. The notification module 1130 may output a notification signal in the form of a video signal through the display unit 1210 or may output a notification signal in the form of an audio signal through the sound output unit 1220, It is possible to output a notification signal in the form of a vibration signal.

출력부(1200)는, 오디오 신호 또는 비디오 신호 또는 진동 신호를 출력할 수 있으며, 출력부(1200)는 디스플레이부(1210), 음향 출력부(1220), 및 진동 모터(1230)를 포함할 수 있다.The output unit 1200 may output an audio signal or a video signal or a vibration signal and the output unit 1200 may include a display unit 1210, an acoustic output unit 1220, and a vibration motor 1230 have.

디스플레이부(1210)는 전자 장치(100)에서 처리되는 정보를 표시 출력한다. 구체적으로, 디스플레이부(1210)는 전자 장치(100)에서 처리하기 위한 이미지를 표시 출력할 수 있다. 또한, 디스플레이부(1210)는 프로세서(1300)에서 삭제할 객체로 결정되어, 결정된 객체가 삭제된 이미지를 표시 출력할 수 있다.The display unit 1210 displays and outputs information processed in the electronic device 100. [ Specifically, the display unit 1210 can display and output an image for processing in the electronic device 100. [ Also, the display unit 1210 may be determined as an object to be deleted in the processor 1300, and the determined object may display and output the deleted image.

또한, 디스플레이부(1210)는, 사용자의 입력에 대한 응답으로, 응답에 관련된 동작을 실행하기 위한 사용자 인터페이스를 디스플레이할 수 있다.In addition, the display unit 1210 can display, in response to a user's input, a user interface for executing operations related to the response.

음향 출력부(1220)는 통신부(1500)로부터 수신되거나 메모리(1100)에 저장된 오디오 데이터를 출력한다. 또한, 음향 출력부(1220)는 전자 장치(100)에서 수행되는 기능(예를 들어, 호신호 수신음, 메시지 수신음, 알림음)과 관련된 음향 신호를 출력한다.The audio output unit 1220 outputs audio data received from the communication unit 1500 or stored in the memory 1100. Also, the sound output unit 1220 outputs sound signals related to functions (e.g., call signal reception sound, message reception sound, alarm sound) performed in the electronic device 100. [

프로세서(1300)는, 통상적으로 전자 장치(100)의 전반적인 동작을 제어한다. 예를 들어, 프로세서(1300)는, 메모리(1100)에 저장된 프로그램들을 실행함으로써, 사용자 입력부(1700), 출력부(1200), 센싱부(1400), 통신부(1500), A/V 입력부(1700) 등을 전반적으로 제어할 수 있다. 또한, 프로세서(1300)는 메모리(1100)에 저장된 프로그램들을 실행함으로써, 도 1 내지 도 9에 기재된 전자 장치(100)의 기능을 수행할 수 있다. 또한, 프로세서(1300)는 메모리(1100)에 저장된 적어도 하나의 인스트럭션을 실행함으로써, 전자 장치(100)가 획득한 이미지를 처리할 수 있다. 프로세서(1300)는 하나 이상의 프로세서를 포함할 수 있다.The processor 1300 typically controls the overall operation of the electronic device 100. For example, the processor 1300 may include a user input unit 1700, an output unit 1200, a sensing unit 1400, a communication unit 1500, an A / V input unit 1700 ) Can be generally controlled. The processor 1300 may also perform the functions of the electronic device 100 described in Figures 1-9 by executing programs stored in the memory 1100. [ The processor 1300 may also process the image acquired by the electronic device 100 by executing at least one instruction stored in the memory 1100. [ Processor 1300 may include one or more processors.

구체적으로, 프로세서(1300)는 디스플레이부(1210)에 표시된 이미지로부터 적어도 하나의 객체를 추출할 수 있다.Specifically, the processor 1300 may extract at least one object from the image displayed on the display unit 1210.

일 실시예에서, 프로세서(1300)는 이미지에 포함된 픽셀을 분석함으로써 이미지로부터 적어도 하나의 객체를 추출할 수 있다.In one embodiment, the processor 1300 may extract at least one object from the image by analyzing the pixels contained in the image.

다른 일 실시예에서, 프로세서(1300)는 뉴럴 네트워크를 이용한 학습 모델을 이용하여, 이미지로부터 적어도 하나의 객체를 추출할 수 있다.In another embodiment, the processor 1300 may extract at least one object from the image using a learning model using a neural network.

또한, 프로세서(1300)는 추출된 적어도 하나의 객체 중에서 삭제할 객체를 결정할 수 있다. 일 실시예에서, 프로세서(1300)는 추출된 적어도 하나의 객체와 사용자 데이터에 포함된 적어도 하나의 객체 사이의 동일성에 기초하여, 추출된 적어도 하나의 객체 중 삭제할 객체를 결정할 수 있다. 프로세서(1300)는 메모리(1100)에 저장된 사용자 데이터를 이용할 수 있다. 다른 일 실시예에서, 프로세서(1300)는 추출된 적어도 하나의 객체와 폰북 데이터에 포함된 적어도 하나의 객체 사이의 동일성에 기초하여, 삭제할 객체를 결정할 수 있다. 예를 들어, 프로세서(1300)는 메모리(1100)에 저장된 폰북 데이터에 포함된 이미지 데이터로부터 적어도 하나의 객체를 추출하고, 추출된 객체를 이용하여 이미지에서 삭제할 객체를 결정할 수 있다. 다른 일 실시예에서, 프로세서(1300)는 추출된 적어도 하나의 객체와 이전에 삭제된 이력을 가지는 객체 사이의 동일성에 기초하여, 삭제할 객체를 결정할 수 있다. 여기에서, 삭제할 이력을 가지는 객체는 사용자 입력에 기초하여 삭제된 것일 수 있다. 예를 들어, 프로세서(1300)는 사용자 입력부(1700)를 통해 수신된 사용자 입력에 기초하여 삭제된 객체를 획득하고, 추출된 적어도 하나의 객체와 획득한 객체 사이의 동일성에 기초하여 삭제할 객체를 결정할 수 있다.In addition, the processor 1300 may determine an object to be deleted from at least one extracted object. In one embodiment, the processor 1300 may determine which of the extracted at least one object to delete based on the identity between the extracted at least one object and at least one object contained in the user data. The processor 1300 may utilize the user data stored in the memory 1100. In another embodiment, the processor 1300 may determine the object to delete based on the identity between the extracted at least one object and at least one object contained in the phonebook data. For example, the processor 1300 may extract at least one object from the image data included in the phone book data stored in the memory 1100, and use the extracted object to determine an object to be deleted from the image. In another embodiment, the processor 1300 may determine the object to delete based on the identity between the extracted at least one object and the object having the previously deleted history. Here, the object having the history to be deleted may be deleted based on the user input. For example, the processor 1300 may obtain the deleted object based on the user input received via the user input 1700 and determine the object to delete based on the identity between the extracted at least one object and the acquired object .

프로세서(1300)는 삭제할 객체로 결정된 객체를 이미지에서 삭제할 수 있다. The processor 1300 may delete the object determined as the object to be deleted from the image.

일 실시예에서, 프로세서(1300)는 이미지에서 삭제할 객체에 대응하는 부분을 다른 부분으로 채우는 방법으로, 결정된 객체를 이미지에서 삭제할 수 있다. 일 실시예에 따라, 프로세서(1300)는 결정된 객체를 이미지에서 삭제하기 위해 학습된 뉴럴 네트워크를 이용한 학습 모델을 이용할 수도 있다. In one embodiment, the processor 1300 may delete the determined object from the image by filling the portion corresponding to the object to be deleted in the image with another portion. According to one embodiment, the processor 1300 may use a learned neural network learning model to delete the determined object from the image.

또한, 프로세서(1300)는 이미지에서 삭제된 객체가 사용자 데이터에 포함되도록 제어할 수 있다. 예를 들어, 프로세서(1300)는 이미지에서 삭제된 객체를 데이터화하여 메모리(1100)에 저장할 수 있다.In addition, the processor 1300 can control the deleted object in the image to be included in the user data. For example, the processor 1300 may store the deleted objects in the image in memory 1100. [

일 실시예에서, 프로세서(1300)는 사용자 데이터를 학습 데이터로 하여 뉴럴 네트워크를 이용한 학습 모델을 학습할 수 있다. 학습 모델은 하나 이상의 레이어를 포함할 수 있다. 또한, 학습 모델은 하나 이상의 입력 및 출력 채널을 포함할 수 있다. 프로세서(1300)는 뉴럴 네트워크를 이용한 학습 모델에 기초하여, 추출된 적어도 하나의 객체와 사용자 데이터에 포함된 적어도 하나의 객체 사이의 동일성을 결정할 수 있다. 또한, 프로세서(1300)는 학습 모델을 이용한 학습 결과에 기초하여, 이미지에서 추출된 적어도 하나의 객체 중에서 삭제할 객체를 결정할 수 있다.In one embodiment, the processor 1300 can learn a learning model using a neural network with user data as learning data. The learning model may include one or more layers. The learning model may also include one or more input and output channels. The processor 1300 may determine an identity between at least one object extracted and at least one object included in the user data based on a learning model using a neural network. In addition, the processor 1300 can determine an object to be deleted from at least one object extracted from the image, based on the learning result using the learning model.

일 실시예에서, 프로세서(1300)는 사용자 데이터에 포함된 적어도 하나의 객체 각각에 대한 등장 빈도수를 결정할 수 있다. 예를 들어, 프로세서(1300)는 사용자 데이터에 포함된 적어도 둘 이상의 객체 사이의 동일성에 기초하여, 등장 빈도수를 결정할 수 있다. 또한, 프로세서(1300)는 추출된 적어도 하나의 객체와 사용자 데이터에 포함된 적어도 하나의 객체 사이의 동일성 및 등장 빈도수에 기초하여, 삭제할 객체를 결정할 수 있다.In one embodiment, the processor 1300 may determine an occurrence frequency for each of at least one object included in the user data. For example, the processor 1300 may determine an occurrence frequency based on the identity between at least two objects included in the user data. In addition, the processor 1300 may determine an object to delete based on the identity and the occurrence frequency between the at least one object extracted and the at least one object contained in the user data.

일 실시예에서, 프로세서(1300)는 특정 이벤트와 관련된 복수의 이미지를 획득할 수 있다. 또한, 프로세서(1300)는 특정 이벤트와 관련된 복수의 이미지에 포함된 적어도 하나의 객체 각각에 대한 등장 빈도수를 결정할 수 있다. 또한, 프로세서(1300)는 추출된 적어도 하나의 객체와 특정 이벤트와 관련된 복수의 이미지에 포함된 적어도 하나의 객체 사이의 동일성 및 등장 빈도수에 기초하여, 삭제할 객체를 결정할 수 있다.In one embodiment, the processor 1300 may obtain a plurality of images associated with a particular event. In addition, the processor 1300 may determine an occurrence frequency for each of at least one object included in a plurality of images associated with a particular event. In addition, the processor 1300 may determine the object to delete based on the identity and the occurrence frequency between the at least one object extracted and the at least one object included in the plurality of images associated with the particular event.

일 실시예에서, 프로세서(1300)는 디스플레이부(1210)가 이미지 및 결정된 객체가 삭제된 이미지를 표시하도록 제어하고, 통신부(1500) 또는 사용자 입력부(1700)에 의해 수신된 사용자 입력에 기초하여 이미지 및 결정된 객체가 삭제된 이미지 중 적어도 하나를 메모리(1100)에 저장하도록 제어할 수 있다.In one embodiment, the processor 1300 controls the display unit 1210 to display the image and the determined object are deleted, and controls the display unit 1210 to display the image based on the user input received by the communication unit 1500 or the user input unit 1700. [ And an image in which the determined object has been deleted.

센싱부(1400)는, 전자 장치(100)의 상태 또는 전자 장치(100) 주변의 상태를 감지하고, 감지된 정보를 프로세서(1300)로 전달할 수 있다.The sensing unit 1400 may sense a state of the electronic device 100 or a state around the electronic device 100 and may transmit sensed information to the processor 1300. [

센싱부(1400)는, 지자기 센서(Magnetic sensor)(1410), 가속도 센서(Acceleration sensor)(1420), 온/습도 센서(1430), 적외선 센서(1440), 자이로스코프 센서(1450), 위치 센서(예컨대, GPS)(1460), 기압 센서(1470), 근접 센서(1480), 및 RGB 센서(illuminance sensor)(1490) 중 적어도 하나를 포함할 수 있으나, 이에 한정되는 것은 아니다. 각 센서들의 기능은 그 명칭으로부터 당업자가 직관적으로 추론할 수 있으므로, 구체적인 설명은 생략하기로 한다.The sensing unit 1400 includes a magnetism sensor 1410, an acceleration sensor 1420, an on / humidity sensor 1430, an infrared sensor 1440, a gyroscope sensor 1450, (GPS) 1460, an air pressure sensor 1470, a proximity sensor 1480, and an RGB sensor (illuminance sensor) 1490, for example. The function of each sensor can be intuitively deduced from the name by those skilled in the art, so a detailed description will be omitted.

통신부(1500)는, 전자 장치(100)가 다른 장치(미도시) 및 서버(미도시)와 통신을 하게 하는 하나 이상의 구성요소를 포함할 수 있다. 다른 장치(미도시)는 전자 장치(100)와 같은 컴퓨팅 장치이거나, 센싱 장치일 수 있으나, 이에 제한되지 않는다. 예를 들어, 통신부(1500)는, 근거리 통신부(1510), 이동 통신부(1520), 방송 수신부(1530)를 포함할 수 있다. The communication unit 1500 may include one or more components that allow the electronic device 100 to communicate with other devices (not shown) and a server (not shown). Other devices (not shown) may be computing devices, such as electronic device 100, or may be sensing devices, but are not limited thereto. For example, the communication unit 1500 may include a local communication unit 1510, a mobile communication unit 1520, and a broadcast receiving unit 1530.

근거리 통신부(short-range wireless communication unit)(1510)는, 블루투스 통신부, BLE(Bluetooth Low Energy) 통신부, 근거리 무선 통신부(Near Field Communication unit), WLAN(와이파이) 통신부, 지그비(Zigbee) 통신부, 적외선(IrDA, infrared Data Association) 통신부, WFD(Wi-Fi Direct) 통신부, UWB(ultra wideband) 통신부, Ant+ 통신부 등을 포함할 수 있으나, 이에 한정되는 것은 아니다. The short-range wireless communication unit 1510 includes a Bluetooth communication unit, a BLE (Bluetooth Low Energy) communication unit, a Near Field Communication unit, a WLAN communication unit, a Zigbee communication unit, IrDA, an infrared data association) communication unit, a WFD (Wi-Fi Direct) communication unit, an UWB (ultra wideband) communication unit, an Ant + communication unit, and the like.

이동 통신부(1520)는, 이동 통신망 상에서 기지국, 외부의 단말, 서버 중 적어도 하나와 무선 신호를 송수신한다. 여기에서, 무선 신호는, 음성 호 신호, 화상 통화 호 신호 또는 문자/멀티미디어 메시지 송수신에 따른 다양한 형태의 데이터를 포함할 수 있다.The mobile communication unit 1520 transmits and receives radio signals to and from at least one of a base station, an external terminal, and a server on a mobile communication network. Here, the wireless signal may include various types of data depending on a voice call signal, a video call signal, or a text / multimedia message transmission / reception.

방송 수신부(1530)는, 방송 채널을 통하여 외부로부터 방송 신호 및/또는 방송 관련된 정보를 수신한다. 방송 채널은 위성 채널, 지상파 채널을 포함할 수 있다. 구현 예에 따라서 전자 장치(100)가 방송 수신부(1530)를 포함하지 않을 수도 있다.The broadcast receiving unit 1530 receives broadcast signals and / or broadcast-related information from outside through a broadcast channel. The broadcast channel may include a satellite channel and a terrestrial channel. The electronic device 100 may not include the broadcast receiver 1530 according to an embodiment.

또한, 통신부(1500)는, 사용자의 음성 입력에 대한 답변 메시지를 요청하고 답변 메시지에 관련된 동작을 실행하기 위한 필요한 정보를, 다른 장치(미도시) 및 서버(미도시)와 송수신할 수 있다.In addition, the communication unit 1500 can send and receive information required for executing an operation related to a response message to another apparatus (not shown) and a server (not shown) by requesting a response message to the user's voice input.

A/V(Audio/Video) 입력부(1600)는 오디오 신호 또는 비디오 신호 입력을 위한 것으로, 이에는 카메라(1610)와 마이크로폰(1620) 등이 포함될 수 있다. 카메라(1610)는 화상 통화모드 또는 촬영 모드에서 이미지 센서를 통해 정지영상 또는 동영상 등의 화상 프레임을 얻을 수 있다. 이미지 센서를 통해 캡처된 이미지는 프로세서(1300) 또는 별도의 이미지 처리부(미도시)를 통해 처리될 수 있다. 카메라(1610)에 의해 촬영된 이미지는 사용자 데이터로 이용될 수 있다.The A / V (Audio / Video) input unit 1600 is for inputting an audio signal or a video signal, and may include a camera 1610, a microphone 1620, and the like. The camera 1610 can obtain an image frame such as a still image or a moving image through the image sensor in a video communication mode or a shooting mode. The image captured through the image sensor may be processed through the processor 1300 or a separate image processing unit (not shown). The image photographed by the camera 1610 can be used as user data.

마이크로폰(1620)은, 외부의 음향 신호를 입력 받아 전기적인 음성 데이터로 처리한다. 예를 들어, 마이크로폰(1620)은 외부 디바이스 또는 사용자로부터 음향 신호를 수신할 수 있다. 마이크로폰(1620)은 사용자의 음성 입력을 수신할 수 있다. 마이크로폰(1620)은 외부의 음향 신호를 입력 받는 과정에서 발생 되는 잡음(noise)을 제거하기 위한 다양한 잡음 제거 알고리즘을 이용할 수 있다.The microphone 1620 receives an external acoustic signal and processes it as electrical voice data. For example, the microphone 1620 may receive acoustic signals from an external device or user. The microphone 1620 may receive the user's voice input. The microphone 1620 may use various noise reduction algorithms for eliminating noise generated in receiving an external sound signal.

사용자 입력부(1700)는, 사용자가 전자 장치(100)를 제어하기 위한 데이터를 입력하는 수단을 의미한다. 예를 들어, 사용자 입력부(1700)에는 키 패드(key pad), 돔 스위치 (dome switch), 터치 패드(접촉식 정전 용량 방식, 압력식 저항막 방식, 적외선 감지 방식, 표면 초음파 전도 방식, 적분식 장력 측정 방식, 피에조 효과 방식 등), 조그 휠, 조그 스위치 등이 있을 수 있으나 이에 한정되는 것은 아니다.The user input unit 1700 means means for the user to input data for controlling the electronic device 100. [ For example, the user input unit 1700 may include a key pad, a dome switch, a touch pad (contact type capacitance type, pressure type resistive type, infrared ray detection type, surface ultrasonic wave conduction type, A tension measuring method, a piezo effect method, etc.), a jog wheel, a jog switch, and the like, but is not limited thereto.

도 12는 일 실시예에 따른 프로세서(1300)의 블록도이다.12 is a block diagram of a processor 1300 in accordance with one embodiment.

도 12를 참조하면, 일 실시예에 따른 프로세서(1300)는 데이터 학습부(1310) 및 데이터 인식부(1320)를 포함할 수 있다.12, the processor 1300 according to an embodiment may include a data learning unit 1310 and a data recognition unit 1320.

데이터 학습부(1310)는 이미지 내에서 삭제할 객체를 결정하기 위한, 객체 간의 동일성 판단을 위한 기준을 학습할 수 있다. 데이터 학습부(1310)는 이미지에서 추출된 객체와 사용자 데이터에 포함된 객체 간의 동일성을 판단하기 위하여 어떤 데이터를 이용할 지, 데이터를 이용하여 객체 간의 동일성을 어떻게 판단할 지에 관한 기준을 학습할 수 있다. 데이터 학습부(1310)는 학습에 이용될 데이터를 획득하고, 획득된 데이터를 후술할 데이터 인식 모델에 적용함으로써, 삭제할 객체를 결정하기 위한 객체 간의 동일성 판단 기준을 학습할 수 있다.The data learning unit 1310 can learn a criterion for determining the identity between objects in order to determine an object to be deleted in the image. The data learning unit 1310 can learn what data is used to determine the identity between the object extracted from the image and the object included in the user data and how to determine the identity between the objects using the data . The data learning unit 1310 may acquire data to be used for learning and apply the obtained data to a data recognition model to be described later so as to learn an identity determination criterion between objects for determining an object to be deleted.

데이터 인식부(1320)는 적어도 둘 이상의 객체 사이의 동일성을 판단할 수 있다. 데이터 인식부(1320)는 학습된 데이터 판단 모델을 이용하여, 적어도 둘 이상의 객체 사이의 동일성을 판단할 수 있다. 데이터 인식부(1320)는 학습에 의한 기 설정된 기준에 따라 각각의 객체의 특징을 분석하고, 분석한 데이터를 입력 값으로 하여 데이터 판단 모델을 이용함으로써, 적어도 둘 이상의 객체 사이의 동일성을 판단할 수 있다. 또한, 분석한 데이터를 입력 값으로 하여 데이터 판단 모델에 의해 출력된 결과 값은 데이터 판단 모델을 갱신하는데 이용될 수 있다.The data recognition unit 1320 can determine the identity between at least two objects. The data recognition unit 1320 can determine the identity between at least two objects using the learned data judgment model. The data recognition unit 1320 analyzes the characteristics of each object according to a preset reference based on learning and uses the data decision model as the input value to determine the identity between at least two objects have. Also, the resultant value output by the data judgment model with the analyzed data as an input value can be used to update the data judgment model.

데이터 학습부(1310) 및 데이터 인식부(1320) 중 적어도 하나는, 적어도 하나의 하드웨어 칩 형태로 제작되어 전자 장치에 탑재될 수 있다. 예를 들어, 데이터 학습부(1310) 및 데이터 인식부(1320) 중 적어도 하나는 인공 지능(AI; artificial intelligence)을 위한 전용 하드웨어 칩 형태로 제작될 수도 있고, 또는 기존의 범용 프로세서(예: CPU 또는 application processor) 또는 그래픽 전용 프로세서(예: GPU)의 일부로 제작되어 전술한 각종 전자 장치에 탑재될 수도 있다.At least one of the data learning unit 1310 and the data recognizing unit 1320 may be manufactured in the form of at least one hardware chip and mounted on the electronic device. For example, at least one of the data learning unit 1310 and the data recognition unit 1320 may be fabricated in the form of a dedicated hardware chip for artificial intelligence (AI) or a conventional general purpose processor Or application processor) or a graphics-only processor (e.g., a GPU), and may be mounted on various electronic devices as described above.

이 경우, 데이터 학습부(1310) 및 데이터 인식부(1320)는 하나의 전자 장치에 탑재될 수도 있으며, 또는 별개의 전자 장치들에 각각 탑재될 수도 있다. 예를 들어, 데이터 학습부(1310) 및 데이터 인식부(1320) 중 하나는 전자 장치에 포함되고, 나머지 하나는 서버에 포함될 수 있다. 또한, 데이터 학습부(1310) 및 데이터 인식부(1320)는 유선 또는 무선으로 통하여, 데이터 학습부(1310)가 구축한 모델 정보를 데이터 인식부(1320)로 제공할 수도 있고, 데이터 인식부(1320)로 입력된 데이터가 추가 학습 데이터로서 데이터 학습부(1310)로 제공될 수도 있다.In this case, the data learning unit 1310 and the data recognizing unit 1320 may be mounted on one electronic device or on separate electronic devices, respectively. For example, one of the data learning unit 1310 and the data recognizing unit 1320 may be included in the electronic device, and the other may be included in the server. The data learning unit 1310 and the data recognition unit 1320 may provide the model information constructed by the data learning unit 1310 to the data recognition unit 1320 via a wire or wireless communication, 1320 may be provided to the data learning unit 1310 as additional learning data.

한편, 데이터 학습부(1310) 및 데이터 인식부(1320) 중 적어도 하나는 소프트웨어 모듈로 구현될 수 있다. 데이터 학습부(1310) 및 데이터 인식부(1320) 중 적어도 하나가 소프트웨어 모듈(또는, 인스트럭션(instruction)을 포함하는 프로그램 모듈)로 구현되는 경우, 소프트웨어 모듈은 컴퓨터로 읽을 수 있는 판독 가능한 비일시적 판독 가능 기록매체(non-transitory computer readable media)에 저장될 수 있다. 또한, 이 경우, 적어도 하나의 소프트웨어 모듈은 OS(Operating System)에 의해 제공되거나, 소정의 애플리케이션에 의해 제공될 수 있다. 또는, 적어도 하나의 소프트웨어 모듈 중 일부는 OS(Operating System)에 의해 제공되고, 나머지 일부는 소정의 애플리케이션에 의해 제공될 수 있다. At least one of the data learning unit 1310 and the data recognition unit 1320 may be implemented as a software module. When at least one of the data learning unit 1310 and the data recognition unit 1320 is implemented as a software module (or a program module including instructions), the software module may be read by a computer, And may be stored in non-transitory computer readable media. Also, in this case, the at least one software module may be provided by an operating system (OS) or by a predetermined application. Alternatively, some of the at least one software module may be provided by an Operating System (OS), and some of the software modules may be provided by a predetermined application.

도 13은 일 실시예에 따른 데이터 학습부(1310)의 블록도이다.13 is a block diagram of a data learning unit 1310 according to an embodiment.

도 13을 참조하면, 일 실시예에 따른 데이터 학습부(1310)는 데이터 획득부(1310-1), 전처리부(1310-2), 학습 데이터 선택부(1310-3), 모델 학습부(1310-4) 및 모델 평가부(1310-5)를 포함할 수 있다.13, a data learning unit 1310 according to an embodiment includes a data acquisition unit 1310-1, a preprocessing unit 1310-2, a learning data selection unit 1310-3, a model learning unit 1310 -4) and a model evaluation unit 1310-5.

데이터 획득부(1310-1)는 이미지 내에서 삭제할 객체를 결정하기 위해, 객체 간의 동일성을 판단하는데 필요한 데이터를 획득할 수 있다. 데이터 획득부(1310-1)는 객체 간의 동일성 판단을 위한 학습을 위해 필요한 데이터를 획득할 수 있다.The data acquisition unit 1310-1 may acquire data necessary for determining the identity between objects in order to determine objects to be deleted in the image. The data acquisition unit 1310-1 may acquire data necessary for learning for determining the identity between objects.

데이터 획득부(1310-1)는 이미지를 획득할 수 있다. . 예를 들어, 데이터 획득부(1310-1)는 데이터 학습부(1310)를 포함하는 전자 장치(100)의 카메라를 통하여 이미지를 획득할 수 있다. 또는, 데이터 획득부(1310-1)는 전자 장치(100)와 통신 가능한 적어도 하나의 외부 장치로부터 데이터를 획득할 수 있다. 데이터 획득부(1310-1)가 획득한 이미지는 적어도 하나의 객체를 포함할 수 있다.The data acquisition unit 1310-1 may acquire an image. . For example, the data acquisition unit 1310-1 may acquire an image through the camera of the electronic device 100 including the data learning unit 1310. [ Alternatively, the data acquisition unit 1310-1 may acquire data from at least one external device capable of communicating with the electronic device 100. [ The image acquired by the data acquisition unit 1310-1 may include at least one object.

또한, 데이터 획득부(1310-1)는 획득된 이미지 내의 적어도 하나의 객체를 인식하기 위한 사용자 데이터를 획득할 수 있다. 여기서, 사용자 데이터는 전자 장치(100)의 사용자와 관련된 데이터로, 데이터의 생성, 저장, 및 처리 단계 중 적어도 하나의 단계에 대한 프로세스에 사용자의 입력이 개입된 데이터일 수 있다. In addition, the data acquisition unit 1310-1 may acquire user data for recognizing at least one object in the acquired image. Here, the user data may be data associated with a user of the electronic device 100, and the user's input to the process for at least one of the steps of generating, storing, and processing the data.

예를 들어, 사용자 데이터는 전자 장치(100)의 사용자가 전자 장치(100)에 직접 입력한 데이터이거나, 전자 장치(100)를 제어하는 입력을 통해 외부 디바이스로부터 수신한 데이터이거나, 전자 장치(100)의 데이터 중 외부 장치에 업로드한 데이터일 수 있다. For example, the user data may be data directly input to the electronic device 100 by the user of the electronic device 100, data received from the external device via the input controlling the electronic device 100, ) May be data uploaded to an external device.

보다 구체적으로, 사용자 데이터에는, 전자 장치(100)에 저장된 폰북 데이터, 사진첩에 포함된 이미지, 전자 장치(100)에 의해 프로세싱된 데이터, 및 전자 장치(100)에 대한 사용자의 사용 이력 데이터가 포함될 수 있다. 여기서, 전자 장치(100)에 의해 프로세싱된 데이터에는 이미지로부터 추출된 적어도 하나의 객체가 포함될 수 있다.More specifically, the user data includes the phone book data stored in the electronic device 100, the images contained in the photo book, the data processed by the electronic device 100, and the user's usage history data for the electronic device 100 . Here, the data processed by the electronic device 100 may include at least one object extracted from the image.

전처리부(1310-2)는 객체 간의 동일성 판단을 위한 학습에 획득된 데이터가 이용될 수 있도록, 획득된 데이터를 전처리할 수 있다. 전처리부(1310-2)는 후술할 모델 학습부(1310-4)가 동일성 판단을 위한 학습을 위하여 획득된 데이터를 이용할 수 있도록, 획득된 데이터를 기 설정된 포맷으로 가공할 수 있다. The preprocessing unit 1310-2 can preprocess the acquired data so that the acquired data can be used for learning for determining the identity between objects. The preprocessing unit 1310-2 can process the acquired data into a predetermined format so that the model learning unit 1310-4, which will be described later, can utilize the data acquired for learning for the determination of equality.

예를 들어, 전처리부(1310-2)는 획득한 이미지에 포함된 적어도 하나의 객체를 추출하고, 기 설정된 포맷을 가지는 데이터로 가공할 수 있다. 또한, 전처리부(1310-2)는 사용자 데이터에 기초하여, 획득한 이미지에 포함된 적어도 하나의 객체 중 사용자의 지인을 결정하기 위한 데이터 베이스를 생성할 수 있다. 예를 들어, 전처리부(1310-2)는 전자 장치(100)의 폰북 데이터 및 사진첩 중 적어도 하나에 포함된 이미지로부터 인물에 대응하는 객체를 추출하고, 추출된 객체에 기초하여 사용자의 지인 데이터 베이스를 생성할 수 있다. 또한, 전처리부(1310-2)는 추출된 객체가 폰북 데이터 및 사진첩에 포함된 빈도에 따라 각 객체의 등장 빈도수를 결정할 수 있다. 또한, 전처리부(1310-2)는 등장 빈도수에 기초하여, 추출된 각 객체가 사용자의 지인일 확률을 결정할 수 있다.For example, the preprocessing unit 1310-2 may extract at least one object included in the acquired image and process the data into data having a predetermined format. In addition, the preprocessing unit 1310-2 may generate a database for determining the acquaintance of the user among at least one object included in the acquired image, based on the user data. For example, the preprocessing unit 1310-2 extracts an object corresponding to a person from an image included in at least one of phone book data and photo album of the electronic device 100, Lt; / RTI > Also, the preprocessing unit 1310-2 can determine the frequency of occurrence of each object according to the frequency of the extracted object in the phonebook data and the photo album. Also, the preprocessing unit 1310-2 can determine the probability that each extracted object is the user's identity based on the frequency of appearance.

학습 데이터 선택부(1310-3)는 전처리된 데이터 중에서 학습에 필요한 데이터를 선택할 수 있다. 선택된 데이터는 모델 학습부(1310-4)에 제공될 수 있다. 학습 데이터 선택부(1310-3)는 객체 간의 동일성 판단을 위한 기 설정된 기준에 따라, 전처리된 데이터 중에서 학습에 필요한 데이터를 선택할 수 있다. 또한, 학습 데이터 선택부(1310-3)는 후술할 모델 학습부(1310-4)에 의한 학습에 의해 기 설정된 기준에 따라 데이터를 선택할 수도 있다.The learning data selection unit 1310-3 can select data necessary for learning from the preprocessed data. The selected data may be provided to the model learning unit 1310-4. The learning data selection unit 1310-3 can select data necessary for learning from the preprocessed data according to a predetermined criterion for determining the identity between objects. The learning data selection unit 1310-3 can also select data according to a predetermined criterion by learning by the model learning unit 1310-4, which will be described later.

예를 들어, 학습 데이터 선택부(1310-3)는 객체 사이의 동일성 판단을 학습하기 위해, 전처리부(1310-2)에 의해 생성된 이미지에 포함된 적어도 하나의 객체를 추출한 데이터 및 지인 데이터 베이스를 이용할 수 있다. For example, the learning data selection unit 1310-3 may include at least one object extracted from the image generated by the preprocessing unit 1310-2, Can be used.

모델 학습부(1310-4)는 학습 데이터에 기초하여 객체 간의 동일성을 어떻게 판단할 지에 관한 기준을 학습할 수 있다. 또한, 모델 학습부(1310-4)는 객체 간의 동일성 판단을 위하여 어떤 학습 데이터를 이용해야 하는 지에 대한 기준을 학습할 수도 있다.The model learning unit 1310-4 can learn a criterion on how to determine the identity between objects based on the learning data. Also, the model learning unit 1310-4 may learn a criterion about which learning data should be used for determining the identity between objects.

예를 들어, 모델 학습부(1310-4)는 획득된 이미지에서 추출된 적어도 하나의 객체와 지인 데이터 베이스에 포함된 객체 사이의 동일성 판단을 학습하기 위해, 각 객체의 특징을 분석할 수 있다. 또한, 모델 학습부(1310-4)는 두 개의 객체가 동일한 경우, 각각의 객체의 특징을 분석한 데이터가 어떠한 방법으로 일치되는 지를 학습할 수 있다.For example, the model learning unit 1310-4 can analyze characteristics of each object to learn the determination of identity between at least one object extracted from the acquired image and an object included in the knowledge database. In addition, if the two objects are identical, the model learning unit 1310-4 can learn how the analyzed data of the characteristics of the respective objects coincide with each other.

또한, 모델 학습부(1310-4)는 동일성 판단에 이용되는 데이터 인식 모델을 학습 데이터를 이용하여 학습시킬 수 있다. 이 경우, 데이터 인식 모델은 미리 구축된 모델일 수 있다. 예를 들어, 데이터 인식 모델은 기본 학습 데이터(예를 들어, 샘플 이미지 등)을 입력 받아 미리 구축된 모델일 수 있다.Also, the model learning unit 1310-4 can learn the data recognition model used for the determination of the identity using the learning data. In this case, the data recognition model may be a pre-built model. For example, the data recognition model may be a pre-built model that receives basic learning data (e.g., a sample image, etc.).

데이터 인식 모델은, 판단 모델의 적용 분야, 학습의 목적 또는 장치의 컴퓨터 성능 등을 고려하여 구축될 수 있다. 데이터 인식 모델은, 예를 들어, 신경망(Neural Network)을 기반으로 하는 모델일 수 있다. 예컨대, DNN(Deep Neural Network), RNN(Recurrent Neural Network), BRDNN(Bidirectional Recurrent Deep Neural Network)과 같은 모델이 데이터 인식 모델로서 사용될 수 있으나, 이에 한정되지 않는다.The data recognition model can be constructed considering the application field of the judgment model, the purpose of learning, or the computer performance of the apparatus. The data recognition model may be, for example, a model based on a neural network. For example, models such as Deep Neural Network (DNN), Recurrent Neural Network (RNN), and Bidirectional Recurrent Deep Neural Network (BRDNN) may be used as a data recognition model, but the present invention is not limited thereto.

다양한 실시예에 따르면, 모델 학습부(1310-4)는 미리 구축된 데이터 인식 모델이 복수 개가 존재하는 경우, 입력된 학습 데이터와 기본 학습 데이터의 관련성이 큰 데이터 인식 모델을 학습할 데이터 인식 모델로 결정할 수 있다. 이 경우, 기본 학습 데이터는 데이터의 타입 별로 기 분류되어 있을 수 있으며, 데이터 인식 모델은 데이터의 타입 별로 미리 구축되어 있을 수 있다. 예를 들어, 기본 학습 데이터는 학습 데이터가 생성된 지역, 학습 데이터가 생성된 시간, 학습 데이터의 크기, 학습 데이터의 장르, 학습 데이터의 생성자, 학습 데이터 내의 오브젝트의 종류 등과 같은 다양한 기준으로 기 분류되어 있을 수 있다. According to various embodiments, when there are a plurality of data recognition models that are built in advance, the model learning unit 1310-4 may use a data recognition model to learn a data recognition model having a large relation between input learning data and basic learning data You can decide. In this case, the basic learning data may be pre-classified according to the type of data, and the data recognition model may be pre-built for each data type. For example, the basic learning data may be pre-classified by various criteria such as an area where the learning data is generated, a time at which the learning data is generated, a size of the learning data, a genre of the learning data, a creator of the learning data, .

또한, 모델 학습부(1310-4)는, 예를 들어, 오류 역전파법(error back-propagation) 또는 경사 하강법(gradient descent)을 포함하는 학습 알고리즘 등을 이용하여 데이터 인식 모델을 학습시킬 수 있다.In addition, the model learning unit 1310-4 can learn a data recognition model using, for example, a learning algorithm including an error back-propagation method or a gradient descent .

또한, 모델 학습부(1310-4)는, 예를 들어, 학습 데이터를 입력 값으로 하는 지도 학습(supervised learning) 을 통하여, 데이터 인식 모델을 학습시킬 수 있다. 또한, 모델 학습부(1310-4)는, 예를 들어, 별다른 지도없이 동일성 판단을 위해 필요한 데이터의 종류를 스스로 학습함으로써, 동일성 판단을 위한 기준을 발견하는 비지도 학습(unsupervised learning)을 통하여, 데이터 인식 모델을 학습시킬 수 있다. 또한, 모델 학습부(1310-4)는, 예를 들어, 학습에 따른 동일성 판단의 결과가 올바른 지에 대한 피드백을 이용하는 강화 학습(reinforcement learning)을 통하여, 데이터 인식 모델을 학습시킬 수 있다.Also, the model learning unit 1310-4 can learn the data recognition model through, for example, supervised learning using the learning data as an input value. In addition, the model learning unit 1310-4 can learn, for example, the type of data necessary for the determination of identity without any guidance, by performing unsupervised learning that finds a criterion for determining the identity, The data recognition model can be learned. Also, the model learning unit 1310-4 can learn the data recognition model through reinforcement learning using, for example, feedback as to whether or not the result of the determination of conformity according to learning is correct.

또한, 데이터 인식 모델이 학습되면, 모델 학습부(1310-4)는 학습된 데이터 인식 모델을 저장할 수 있다. 이 경우, 모델 학습부(1310-4)는 학습된 데이터 인식 모델을 데이터 인식부(1320)를 포함하는 전자 장치의 메모리에 저장할 수 있다. 또는, 모델 학습부(1310-4)는 학습된 데이터 인식 모델을 후술할 데이터 인식부(1320)를 포함하는 전자 장치의 메모리에 저장할 수 있다. 또는, 모델 학습부(1310-4)는 학습된 데이터 인식 모델을 전자 장치와 유선 또는 무선 네트워크로 연결되는 서버의 메모리에 저장할 수도 있다.Further, when the data recognition model is learned, the model learning unit 1310-4 can store the learned data recognition model. In this case, the model learning unit 1310-4 can store the learned data recognition model in the memory of the electronic device including the data recognition unit 1320. [ Alternatively, the model learning unit 1310-4 may store the learned data recognition model in a memory of the electronic device including the data recognition unit 1320 to be described later. Alternatively, the model learning unit 1310-4 may store the learned data recognition model in the memory of the server connected to the electronic device and the wired or wireless network.

이 경우, 학습된 데이터 인식 모델이 저장되는 메모리는, 예를 들면, 전자 장치의 적어도 하나의 다른 구성요소에 관계된 명령 또는 데이터를 함께 저장할 수도 있다. 또한, 메모리는 소프트웨어 및/또는 프로그램을 저장할 수도 있다. 프로그램은, 예를 들면, 커널, 미들웨어, 어플리케이션 프로그래밍 인터페이스(API) 및/또는 어플리케이션 프로그램(또는 "어플리케이션") 등을 포함할 수 있다.In this case, the memory in which the learned data recognition model is stored may also store, for example, instructions or data associated with at least one other component of the electronic device. The memory may also store software and / or programs. The program may include, for example, a kernel, a middleware, an application programming interface (API), and / or an application program (or "application").

모델 평가부(1310-5)는 데이터 인식 모델에 평가 데이터를 입력하고, 평가 데이터로부터 출력되는 판단 결과가 소정 기준을 만족하지 못하는 경우, 모델 학습부(1310-4)로 하여금 다시 학습하도록 할 수 있다. 이 경우, 평가 데이터는 데이터 인식 모델을 평가하기 위한 기 설정된 데이터일 수 있다. The model evaluating unit 1310-5 inputs the evaluation data to the data recognition model, and when the judgment result outputted from the evaluation data does not satisfy the predetermined criterion, the model evaluating unit 1310-5 can allow the model learning unit 1310-4 to learn again have. In this case, the evaluation data may be predetermined data for evaluating the data recognition model.

예를 들어, 평가 데이터는 적어도 둘 이상의 객체 및 각각의 객체 사이의 동일 여부에 관한 데이터를 포함할 수 있다.For example, the evaluation data may include data regarding at least two objects and whether or not they are the same between respective objects.

예를 들어, 모델 평가부(1310-5)는 평가 데이터에 대한 학습된 데이터 인식 모델의 판단 결과 중에서, 판단 결과가 정확하지 않은 평가 데이터의 개수 또는 비율이 미리 설정된 임계치를 초과하는 경우 소정 기준을 만족하지 못한 것으로 평가할 수 있다. 예컨대, 소정 기준이 비율 2%로 정의되는 경우, 학습된 데이터 인식 모델이 총 1000개의 평가 데이터 중의 20개를 초과하는 평가 데이터에 대하여 잘못된 판단 결과를 출력하는 경우, 모델 평가부(1310-5)는 학습된 데이터 인식 모델이 적합하지 않은 것으로 평가할 수 있다.For example, the model evaluating unit 1310-5 determines whether or not a predetermined criterion is satisfied when the number or the ratio of the evaluation data for which the determination result is not correct out of the determination results of the learned data recognition model for the evaluation data exceeds a predetermined threshold value It can be evaluated as unsatisfactory. For example, when the predetermined criterion is defined as a ratio of 2%, when the learned data recognition model outputs a wrong determination result to the evaluation data exceeding 20 out of 1000 evaluation data, the model evaluation unit 1310-5 outputs, Can be estimated that the learned data recognition model is not suitable.

일 실시예에 따라, 모델 평가부(1310-5)는 후술할 데이터 인식부(1320)에 포함된 인식 결과 제공부(1320-4)에서 제공되는 동일성 판단 결과를 이용하여 데이터 인식 모델을 평가할 수도 있다. 예를 들어, 모델 평가부(1310-5)는 인식 결과 제공부(1320-4)에서 사용자 데이터 중에서 선택된 데이터를 데이터 인식 모델에 적용하여 판단된 동일성 판단 결과를 이용하여 데이터 인식 모델을 평가할 수 있다.According to one embodiment, the model evaluation unit 1310-5 may evaluate the data recognition model using the result of the determination of the identity provided in the recognition result provider 1320-4 included in the data recognition unit 1320 have. For example, the model evaluating unit 1310-5 can evaluate the data recognition model using the result of the determination of the identities determined by applying the data selected from the user data to the data recognition model in the recognition result providing unit 1320-4 .

한편, 학습된 데이터 인식 모델이 복수 개가 존재하는 경우, 모델 평가부(1310-5)는 각각의 학습된 데이터 인식 모델에 대하여 소정 기준을 만족하는지를 평가하고, 소정 기준을 만족하는 모델을 최종 데이터 인식 모델로서 결정할 수 있다. 이 경우, 소정 기준을 만족하는 모델이 복수 개인 경우, 모델 평가부(1310-5)는 평가 점수가 높은 순으로 미리 설정된 어느 하나 또는 소정 개수의 모델을 최종 데이터 인식 모델로서 결정할 수 있다.On the other hand, when there are a plurality of learned data recognition models, the model evaluation unit 1310-5 evaluates whether each of the learned data recognition models satisfies a predetermined criterion, Can be determined as a model. In this case, when there are a plurality of models satisfying the predetermined criterion, the model evaluating unit 1310-5 can determine any one or a predetermined number of models previously set in the order of higher evaluation scores as the final data recognition model.

한편, 데이터 학습부(1310) 내의 데이터 획득부(1310-1), 전처리부(1310-2), 학습 데이터 선택부(1310-3), 모델 학습부(1310-4) 및 모델 평가부(1310-5) 중 적어도 하나는, 적어도 하나의 하드웨어 칩 형태로 제작되어 전자 장치에 탑재될 수 있다. 예를 들어, 데이터 획득부(1310-1), 전처리부(1310-2), 학습 데이터 선택부(1310-3), 모델 학습부(1310-4) 및 모델 평가부(1310-5) 중 적어도 하나는 인공 지능(AI; artificial intelligence)을 위한 전용 하드웨어 칩 형태로 제작될 수도 있고, 또는 기존의 범용 프로세서(예: CPU 또는 application processor) 또는 그래픽 전용 프로세서(예: GPU)의 일부로 제작되어 전술한 각종 전자 장치에 탑재될 수도 있다.The data acquisition unit 1310-1, the preprocessing unit 1310-2, the learning data selection unit 1310-3, the model learning unit 1310-4, and the model evaluation unit 1310-4 in the data learning unit 1310, -5) may be fabricated in at least one hardware chip form and mounted on an electronic device. For example, at least one of the data acquisition unit 1310-1, the preprocessing unit 1310-2, the learning data selection unit 1310-3, the model learning unit 1310-4, and the model evaluation unit 1310-5 One may be made in the form of a dedicated hardware chip for artificial intelligence (AI), or may be fabricated as part of a conventional general purpose processor (e.g., a CPU or application processor) or a graphics dedicated processor (e.g., GPU) And may be mounted on various electronic devices.

또한, 데이터 획득부(1310-1), 전처리부(1310-2), 학습 데이터 선택부(1310-3), 모델 학습부(1310-4) 및 모델 평가부(1310-5)는 하나의 전자 장치에 탑재될 수도 있으며, 또는 별개의 전자 장치들에 각각 탑재될 수도 있다. 예를 들어, 데이터 획득부(1310-1), 전처리부(1310-2), 학습 데이터 선택부(1310-3), 모델 학습부(1310-4) 및 모델 평가부(1310-5) 중 일부는 전자 장치에 포함되고, 나머지 일부는 서버에 포함될 수 있다.The data acquisition unit 1310-1, the preprocessing unit 1310-2, the learning data selection unit 1310-3, the model learning unit 1310-4, Or may be mounted on separate electronic devices, respectively. For example, some of the data acquisition unit 1310-1, the preprocessing unit 1310-2, the learning data selection unit 1310-3, the model learning unit 1310-4, and the model evaluation unit 1310-5 May be included in the electronic device, and the rest may be included in the server.

또한, 데이터 획득부(1310-1), 전처리부(1310-2), 학습 데이터 선택부(1310-3), 모델 학습부(1310-4) 및 모델 평가부(1310-5) 중 적어도 하나는 소프트웨어 모듈로 구현될 수 있다. 데이터 획득부(1310-1), 전처리부(1310-2), 학습 데이터 선택부(1310-3), 모델 학습부(1310-4) 및 모델 평가부(1310-5) 중 적어도 하나가 소프트웨어 모듈(또는, 인스터력션(instruction) 포함하는 프로그램 모듈)로 구현되는 경우, 소프트웨어 모듈은 컴퓨터로 읽을 수 있는 판독 가능한 비일시적 판독 가능 기록매체(non-transitory computer readable media)에 저장될 수 있다. 또한, 이 경우, 적어도 하나의 소프트웨어 모듈은 OS(Operating System)에 의해 제공되거나, 소정의 애플리케이션에 의해 제공될 수 있다. 또는, 적어도 하나의 소프트웨어 모듈 중 일부는 OS(Operating System)에 의해 제공되고, 나머지 일부는 소정의 애플리케이션에 의해 제공될 수 있다.At least one of the data acquisition unit 1310-1, the preprocessing unit 1310-2, the learning data selection unit 1310-3, the model learning unit 1310-4, and the model evaluation unit 1310-5 Software module. At least one of the data acquisition unit 1310-1, the preprocessing unit 1310-2, the learning data selection unit 1310-3, the model learning unit 1310-4, and the model evaluation unit 1310-5, (Or a program module including an instruction), the software module may be stored in a computer-readable, readable non-transitory computer readable media. Also, in this case, the at least one software module may be provided by an operating system (OS) or by a predetermined application. Alternatively, some of the at least one software module may be provided by an Operating System (OS), and some of the software modules may be provided by a predetermined application.

도 14는 일 실시예에 따른 데이터 인식부(1320)의 블록도이다.FIG. 14 is a block diagram of a data recognition unit 1320 according to an embodiment.

도 14를 참조하면, 일 실시예에 따른 데이터 인식부(1320)는 데이터 획득부(1320-1), 전처리부(1320-2), 인식 데이터 선택부(1320-3), 인식 결과 제공부(1320-4) 및 모델 갱신부(1320-5)를 포함할 수 있다.14, a data recognition unit 1320 according to an embodiment includes a data acquisition unit 1320-1, a preprocessing unit 1320-2, a recognition data selection unit 1320-3, 1320-4 and a model updating unit 1320-5.

데이터 획득부(1320-1)는 이미지 내에서 삭제할 객체를 결정하기 위해, 객체 간의 동일성을 판단하는데 데이터를 획득할 수 있으며, 전처리부(1320-2)는 객체 간 동일성 판단을 위해 획득된 데이터가 이용될 수 있도록, 획득된 데이터를 전처리할 수 있다. 전처리부(1320-2)는 후술할 인식 결과 제공부(1320-4)가 객체 간 동일성 판단을 위하여 획득된 데이터를 이용할 수 있도록, 획득된 데이터를 기 설정된 포맷으로 가공할 수 있다. The data acquiring unit 1320-1 may acquire data for determining the identity between objects in order to determine objects to be deleted in the image, and the preprocessing unit 1320-2 may acquire data The acquired data can be preprocessed so that it can be used. The preprocessing unit 1320-2 can process the acquired data into a predetermined format so that the recognition result providing unit 1320-4, which will be described later, can use the data acquired for the determination of the inter-object identity.

인식 데이터 선택부(1320-3)는 전처리된 데이터 중에서 객체 간 동일성 판단에 필요한 데이터를 선택할 수 있다. 선택된 데이터는 인식 결과 제공부(1320-4)에게 제공될 수 있다. 인식 데이터 선택부(1320-3)는 객체 간 동일성 판단을 위한 기 설정된 기준에 따라, 전처리된 데이터 중에서 일부 또는 전부를 선택할 수 있다. 또한, 인식 데이터 선택부(1320-3)는 후술할 모델 학습부(1310-4)에 의한 학습에 의해 기 설정된 기준에 따라 데이터를 선택할 수도 있다. 예를 들어, 인식 데이터 선택부(1320-3)는 획득된 이미지에서 추출된 객체 및 사용자의 지인을 결정하기 위한 데이터 베이스를 객체 간 동일성을 결정하는데 필요한 데이터로 선택할 수 있다.The recognition data selection unit 1320-3 can select data required for determining the identity between objects among the preprocessed data. The selected data may be provided to the recognition result provider 1320-4. The recognition data selection unit 1320-3 can select some or all of the preprocessed data according to a predetermined criterion for determining the identity between objects. The recognition data selection unit 1320-3 can also select data according to a predetermined criterion by learning by the model learning unit 1310-4, which will be described later. For example, the recognition data selection unit 1320-3 can select a database extracted from the acquired image and a user's knowledge as data necessary for determining the identity between objects.

인식 결과 제공부(1320-4)는 선택된 데이터를 데이터 인식 모델에 적용하여 객체 간 동일성을 판단할 수 있다. 인식 결과 제공부(1320-4)는 데이터의 판단 목적에 따른 판단 결과를 제공할 수 있다. 인식 결과 제공부(1320-4)는 인식 데이터 선택부(1320-3)에 의해 선택된 데이터를 입력 값으로 이용함으로써, 선택된 데이터를 데이터 인식 모델에 적용할 수 있다. 또한, 인식 결과는 데이터 인식 모델에 의해 결정될 수 있다. 예를 들어, 인식 결과 제공부(1320-4)는 이미지에서 추출된 객체 및 사용자의 지인을 결정하기 위한 데이터 베이스를 입력 값으로 이용할 수 있다. 인식 결과 제공부(1320-4)는 이미지에서 추출된 적어도 하나의 객체 중, 사용자의 지인을 결정하기 위한 데이터 베이스에 포함된 적어도 하나의 객체와 동일한 객체를 사용자의 지인으로 결정할 수 있다. 또한, 인식 결과 제공부(1320-4)는 이미지에서 추출된 적어도 하나의 객체 중, 사용자의 지인을 결정하기 위한 데이터 베이스에 포함된 적어도 하나의 객체와 동일하지 않은 객체를 삭제할 객체로 결정할 수 있다. 또한, 인식 결과 제공부(1320-4)는 이미지에서 추출된 적어도 하나의 객체 중, 사용자의 지인으로 결정된 객체와 삭제할 객체에 대한 결과를 제공할 수 있다. 예를 들어, 인식 결과 제공부(1320-4)는 이미지에서 추출된 적어도 하나의 객체 중 사용자의 지인으로 결정된 객체와 삭제할 객체를 구별되게 표시할 수 있다. 또한, 인식 결과 제공부(1320-4)는 이미지에서 추출된 적어도 하나의 객체 중 사용자의 지인으로 결정된 객체와 삭제할 객체에 대한 정보를 텍스트 형식(format)으로 제공할 수 있다. 또한, 인식 결과 제공부(1320-4)는 이미지에서 추출된 적어도 하나의 객체 중 사용자의 지인으로 결정된 객체와 삭제할 객체를 이미지 형식으로 제공할 수 있다. 또한, 인식 결과 제공부(1320-4)는 이미지에서 추출된 적어도 하나의 객체 중 삭제할 객체로 결정된 객체를 삭제하도록 제어하는 명령어(예를 들어, 어플리케이션 실행 명령어, 모듈 기능 실행 명령어 등) 형식으로 제공할 수 있다.The recognition result providing unit 1320-4 can determine the identity between the objects by applying the selected data to the data recognition model. The recognition result providing unit 1320-4 can provide a determination result according to the purpose of data determination. The recognition result providing unit 1320-4 can apply the selected data to the data recognition model by using the data selected by the recognition data selecting unit 1320-3 as an input value. In addition, the recognition result can be determined by the data recognition model. For example, the recognition result providing unit 1320-4 may use a database for determining the object extracted from the image and the user's knowledge as an input value. The recognition result providing unit 1320-4 may determine the same object as at least one object included in the database for determining the acquaintance of the user among the at least one object extracted from the image as the acquaintance of the user. In addition, the recognition result providing unit 1320-4 may determine at least one object extracted from the image as an object to be deleted, which is not the same as at least one object included in the database for determining the user's acquaintance . In addition, the recognition result providing unit 1320-4 may provide an object determined by the user's knowledge and a result of the object to be deleted, among at least one object extracted from the image. For example, the recognition result providing unit 1320-4 can distinguish objects to be deleted from objects determined by the user's knowledge among at least one object extracted from the image. In addition, the recognition result providing unit 1320-4 can provide information on an object determined by the user's knowledge and at least one of the at least one object extracted from the image in a text format. In addition, the recognition result providing unit 1320-4 can provide an object determined by the user's knowledge and an object to be deleted in the image format among at least one object extracted from the image. The recognition result providing unit 1320-4 may be provided in the form of a command for controlling deletion of an object determined as an object to be deleted among at least one object extracted from the image (for example, application execution command, module function execution command, etc.) can do.

모델 갱신부(1320-5)는 인식 결과 제공부(1320-4)에 의해 제공되는 판단 결과에 대한 평가에 기초하여, 데이터 인식 모델이 갱신되도록할 수 있다. 예를 들어, 모델 갱신부(1320-5)는 인식 결과 제공부(1320-4)에 의해 제공되는 판단 결과를 모델 학습부(1310-4)에게 제공함으로써, 모델 학습부(1310-4)가 데이터 인식 모델을 갱신하도록 할 수 있다. 한편, 데이터 인식부(1320) 내의 데이터 획득부(1320-1), 전처리부(1320-2), 인식 데이터 선택부(1320-3), 인식 결과 제공부(1320-4) 및 모델 갱신부(1320-5) 중 적어도 하나는, 적어도 하나의 하드웨어 칩 형태로 제작되어 전자 장치에 탑재될 수 있다. 예를 들어, 데이터 획득부(1320-1), 전처리부(1320-2), 인식 데이터 선택부(1320-3), 인식 결과 제공부(1320-4) 및 모델 갱신부(1320-5) 중 적어도 하나는 인공 지능(AI; artificial intelligence)을 위한 전용 하드웨어 칩 형태로 제작될 수도 있고, 또는 기존의 범용 프로세서(예: CPU 또는 application processor) 또는 그래픽 전용 프로세서(예: GPU)의 일부로 제작되어 전술한 각종 전자 장치에 탑재될 수도 있다.The model updating unit 1320-5 can update the data recognition model based on the evaluation of the determination result provided by the recognition result providing unit 1320-4. For example, the model updating unit 1320-5 provides the determination result provided by the recognition result providing unit 1320-4 to the model learning unit 1310-4 so that the model learning unit 1310-4 The data recognition model can be updated. The data acquisition unit 1320-1, the preprocessing unit 1320-2, the recognition data selection unit 1320-3, the recognition result providing unit 1320-4, and the model updating unit 1320-4 in the data recognizing unit 1320 1320-5 may be fabricated in at least one hardware chip form and mounted on an electronic device. For example, among the data acquisition unit 1320-1, the preprocessing unit 1320-2, the recognition data selection unit 1320-3, the recognition result providing unit 1320-4, and the model updating unit 1320-5 At least one may be made in the form of a dedicated hardware chip for artificial intelligence (AI) or as part of a conventional general purpose processor (e.g. CPU or application processor) or a graphics dedicated processor (e.g. GPU) It may be mounted on one electronic device.

또한, 데이터 획득부(1320-1), 전처리부(1320-2), 인식 데이터 선택부(1320-3), 인식 결과 제공부(1320-4) 및 모델 갱신부(1320-5)는 하나의 전자 장치에 탑재될 수도 있으며, 또는 별개의 전자 장치들에 각각 탑재될 수도 있다. 예를 들어, 데이터 획득부(1320-1), 전처리부(1320-2), 인식 데이터 선택부(1320-3), 인식 결과 제공부(1320-4) 및 모델 갱신부(1320-5) 중 일부는 전자 장치에 포함되고, 나머지 일부는 서버에 포함될 수 있다.The data acquiring unit 1320-1, the preprocessing unit 1320-2, the recognition data selecting unit 1320-3, the recognition result providing unit 1320-4, and the model updating unit 1320-5 May be mounted on an electronic device, or may be mounted on separate electronic devices, respectively. For example, among the data acquisition unit 1320-1, the preprocessing unit 1320-2, the recognition data selection unit 1320-3, the recognition result providing unit 1320-4, and the model updating unit 1320-5 Some may be included in the electronic device, and the rest may be included in the server.

또한, 데이터 획득부(1320-1), 전처리부(1320-2), 인식 데이터 선택부(1320-3), 인식 결과 제공부(1320-4) 및 모델 갱신부(1320-5) 중 적어도 하나는 소프트웨어 모듈로 구현될 수 있다. 데이터 획득부(1320-1), 전처리부(1320-2), 인식 데이터 선택부(1320-3), 인식 결과 제공부(1320-4) 및 모델 갱신부(1320-5) 중 적어도 하나가 소프트웨어 모듈(또는, 인스터력션(instruction) 포함하는 프로그램 모듈)로 구현되는 경우, 소프트웨어 모듈은 컴퓨터로 읽을 수 있는 판독 가능한 비일시적 판독 가능 기록매체(non-transitory computer readable media)에 저장될 수 있다. 또한, 이 경우, 적어도 하나의 소프트웨어 모듈은 OS(Operating System)에 의해 제공되거나, 소정의 애플리케이션에 의해 제공될 수 있다. 또는, 적어도 하나의 소프트웨어 모듈 중 일부는 OS(Operating System)에 의해 제공되고, 나머지 일부는 소정의 애플리케이션에 의해 제공될 수 있다.At least one of the data acquisition unit 1320-1, the preprocessing unit 1320-2, the recognition data selection unit 1320-3, the recognition result providing unit 1320-4, and the model updating unit 1320-5 May be implemented as a software module. At least one of the data acquisition unit 1320-1, the preprocessing unit 1320-2, the recognition data selection unit 1320-3, the recognition result providing unit 1320-4, and the model updating unit 1320-5, When implemented in a module (or program module including an instruction), the software module may be stored in a computer-readable, non-transitory computer readable medium. Also, in this case, the at least one software module may be provided by an operating system (OS) or by a predetermined application. Alternatively, some of the at least one software module may be provided by an Operating System (OS), and some of the software modules may be provided by a predetermined application.

도 15는 일 실시예에 따른 전자 장치(1000) 및 서버(2000)가 서로 연동함으로써 데이터를 학습하고 인식하는 예시를 나타내는 도면이다.15 is a diagram showing an example of learning and recognizing data by interlocking with the electronic device 1000 and the server 2000 according to the embodiment.

도 15를 참조하면, 서버(2000)는 객체 간의 동일성 판단을 위한 기준을 학습할 수 있으며, 전자 장치(1000)는 서버(2000)에 의한 학습 결과에 기초하여 객체 간의 동일성을 판단할 수 있다.Referring to FIG. 15, the server 2000 can learn the criteria for determining the identity between objects, and the electronic device 1000 can determine the identity between objects based on the learning result by the server 2000. [

이 경우, 서버(2000)의 모델 학습부(2340)는 도 13에 도시된 데이터 학습부(1310)의 기능을 수행할 수 있다. 서버(2000)의 모델 학습부(2340)는 객체 간의 동일성을 판단하기 위하여 어떤 데이터를 이용할 지, 데이터를 이용하여 객체 간의 동일성을 어떻게 판단할 지에 관한 기준을 학습할 수 있다. 모델 학습부(2340)는 학습에 이용될 데이터를 획득하고, 획득된 데이터를 후술할 데이터 인식 모델에 적용함으로써, 객체 간의 동일성 판단을 위한 기준을 학습할 수 있다.In this case, the model learning unit 2340 of the server 2000 can perform the function of the data learning unit 1310 shown in FIG. The model learning unit 2340 of the server 2000 can learn what data to use for determining the identity between objects and how to determine the identity between objects using the data. The model learning unit 2340 can acquire data to be used for learning and apply the obtained data to a data recognition model to be described later to learn a criterion for determining the identity between objects.

또한, 전자 장치(1000)의 인식 결과 제공부(1320-4)는 인식 데이터 선택부(1320-3)에 의해 선택된 데이터를 서버(2000)에 의해 생성된 데이터 인식 모델에 적용하여 객체 간의 동일성을 판단할 수 있다. 예를 들어, 인식 결과 제공부(1320-4)는 인식 데이터 선택부(1320-3)에 의해 선택된 데이터를 서버(2000)에게 전송하고, 서버(2000)가 인식 데이터 선택부(1320-3)에 의해 선택된 데이터를 데이터 인식 모델에 적용하여 객체 간의 동일성을 판단할 것을 요청할 수 있다. 또한, 인식 결과 제공부(1320-4)는 서버(2000)에 의해 판단된 객체 간의 동일성에 관한 정보를 서버(2000)로부터 수신할 수 있다. In addition, the recognition result provider 1320-4 of the electronic device 1000 applies the data selected by the recognition data selector 1320-3 to the data recognition model generated by the server 2000 to determine the identity between the objects It can be judged. For example, the recognition result providing unit 1320-4 transmits the data selected by the recognition data selecting unit 1320-3 to the server 2000. When the server 2000 selects the recognition data selecting unit 1320-3, May be applied to the data recognition model to request the determination of identity between objects. In addition, the recognition result providing unit 1320-4 may receive from the server 2000 information about the identities of the objects determined by the server 2000. [

또는, 전자 장치(1000)의 인식 결과 제공부(1320-4)는 서버(2000)에 의해 생성된 데이터 인식 모델을 서버(2000)로부터 수신하고, 수신된 데이터 인식 모델을 이용하여 객체 간의 동일성을 판단할 수 있다. 이 경우, 전자 장치(1000)의 인식 결과 제공부(1320-4)는 인식 데이터 선택부(1320-3)에 의해 선택된 데이터를 서버(2000)로부터 수신된 데이터 인식 모델에 적용하여 이미지 내에서 삭제할 객체를 판단할 수 있다. Alternatively, the recognition result provider 1320-4 of the electronic device 1000 receives the data recognition model generated by the server 2000 from the server 2000, and uses the received data recognition model to determine the identity between the objects It can be judged. In this case, the recognition result providing unit 1320-4 of the electronic device 1000 applies the data selected by the recognition data selecting unit 1320-3 to the data recognition model received from the server 2000 and deletes it in the image The object can be judged.

일 실시예는 컴퓨터에 의해 실행되는 프로그램 모듈과 같은 컴퓨터에 의해 실행가능한 명령어를 포함하는 기록 매체의 형태로도 구현될 수 있다. 컴퓨터 판독 가능 매체는 컴퓨터에 의해 액세스될 수 있는 임의의 가용 매체일 수 있고, 휘발성 및 비휘발성 매체, 분리형 및 비분리형 매체를 모두 포함한다. 또한, 컴퓨터 판독가능 매체는 컴퓨터 저장 매체 및 통신 매체를 모두 포함할 수 있다. 컴퓨터 저장 매체는 컴퓨터 판독가능 명령어, 데이터 구조, 프로그램 모듈 또는 기타 데이터와 같은 정보의 저장을 위한 임의의 방법 또는 기술로 구현된 휘발성 및 비휘발성, 분리형 및 비분리형 매체를 모두 포함한다. 통신 매체는 전형적으로 컴퓨터 판독가능 명령어, 데이터 구조, 프로그램 모듈, 또는 반송파와 같은 변조된 데이터 신호의 기타 데이터, 또는 기타 전송 메커니즘을 포함하며, 임의의 정보 전달 매체를 포함한다. One embodiment may also be implemented in the form of a recording medium including instructions executable by a computer, such as program modules, being executed by a computer. Computer readable media can be any available media that can be accessed by a computer and includes both volatile and nonvolatile media, removable and non-removable media. In addition, the computer-readable medium may include both computer storage media and communication media. Computer storage media includes both volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data. Communication media typically includes any information delivery media, including computer readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave, or other transport mechanism.

또한, 본 명세서에서, "부"는 프로세서 또는 회로와 같은 하드웨어 구성(hardware component), 및/또는 프로세서와 같은 하드웨어 구성에 의해 실행되는 소프트웨어 구성(software component)일 수 있다.Also, in this specification, the term "part" may be a hardware component such as a processor or a circuit, and / or a software component executed by a hardware component such as a processor.

전술한 본 발명의 설명은 예시를 위한 것이며, 본 발명이 속하는 기술분야의 통상의 지식을 가진 자는 본 발명의 기술적 사상이나 필수적인 특징을 변경하지 않고서 다른 구체적인 형태로 쉽게 변형이 가능하다는 것을 이해할 수 있을 것이다. 그러므로 이상에서 기술한 실시예들은 모든 면에서 예시적인 것이며 한정적이 아닌 것으로 이해해야만 한다. 예를 들어, 단일형으로 설명되어 있는 각 구성 요소는 분산되어 실시될 수도 있으며, 마찬가지로 분산된 것으로 설명되어 있는 구성 요소들도 결합된 형태로 실시될 수 있다.It will be understood by those skilled in the art that the foregoing description of the present invention is for illustrative purposes only and that those of ordinary skill in the art can readily understand that various changes and modifications may be made without departing from the spirit or essential characteristics of the present invention. will be. It is therefore to be understood that the above-described embodiments are illustrative in all aspects and not restrictive. For example, each component described as a single entity may be distributed and implemented, and components described as being distributed may also be implemented in a combined form.

본 발명의 범위는 상기 상세한 설명보다는 후술하는 특허청구범위에 의하여 나타내어지며, 특허청구범위의 의미 및 범위 그리고 그 균등 개념으로부터 도출되는 모든 변경 또는 변형된 형태가 본 발명의 범위에 포함되는 것으로 해석되어야 한다.The scope of the present invention is defined by the appended claims rather than the detailed description and all changes or modifications derived from the meaning and scope of the claims and their equivalents are to be construed as being included within the scope of the present invention do.

Claims (20)

이미지를 처리하는 전자 장치에 있어서,
상기 이미지를 표시하는 디스플레이부;
하나 이상의 인스트럭션을 저장하는 메모리; 및
상기 메모리에 저장된 상기 하나 이상의 인스트럭션을 실행하는 프로세서를 포함하고,
상기 프로세서는 상기 하나 이상의 인스트럭션을 실행함으로써,
상기 이미지로부터 적어도 하나의 객체를 추출하고,
상기 추출된 적어도 하나의 객체와 사용자 데이터에 포함된 적어도 하나의 객체 사이의 동일성에 기초하여, 상기 추출된 적어도 하나의 객체 중 삭제할 객체를 결정하고,
상기 결정된 객체를 상기 이미지에서 삭제하는, 전자 장치.
An electronic device for processing an image,
A display unit for displaying the image;
A memory for storing one or more instructions; And
And a processor executing the one or more instructions stored in the memory,
The processor executing the one or more instructions,
Extracting at least one object from the image,
Determining an object to be deleted among the extracted at least one object based on the identity between the extracted at least one object and at least one object included in the user data,
And deletes the determined object from the image.
제 1항에 있어서,
상기 프로세서는, 상기 하나 이상의 인스트럭션을 실행함으로써,
상기 사용자 데이터를 이용하여 동일성 판단을 학습한 결과에 기초하여, 상기 추출된 적어도 하나의 객체와 상기 사용자 데이터에 포함된 적어도 하나의 객체 사이의 동일성을 결정하는, 전자 장치.
The method according to claim 1,
Wherein the processor, by executing the one or more instructions,
And determines an identity between the extracted at least one object and at least one object included in the user data based on a result of learning the identity determination using the user data.
제 1항에 있어서,
상기 사용자 데이터는, 상기 전자 장치에 기 저장된 폰북 데이터를 포함하고,
상기 프로세서는, 상기 하나 이상의 인스트럭션을 실행함으로써,
상기 추출된 적어도 하나의 객체와 상기 폰북 데이터에 포함된 적어도 하나의 객체 사이의 동일성에 기초하여, 상기 삭제할 객체를 결정하는, 전자 장치.
The method according to claim 1,
Wherein the user data includes phonebook data previously stored in the electronic device,
Wherein the processor, by executing the one or more instructions,
Determine an object to delete based on an identity between the extracted at least one object and at least one object contained in the phonebook data.
제 1항에 있어서,
상기 프로세서는 상기 하나 이상의 인스트럭션을 실행함으로써,
상기 사용자 데이터에 포함된 적어도 하나의 객체 각각에 대한 등장 빈도수를 결정하고,
상기 추출된 적어도 하나의 객체와 상기 사용자 데이터에 포함된 적어도 하나의 객체 사이의 동일성 및 상기 등장 빈도수에 기초하여, 상기 삭제할 객체를 결정하는, 전자 장치.
The method according to claim 1,
The processor executing the one or more instructions,
Determining an appearance frequency for each of at least one object included in the user data,
Determine an object to delete based on the identity between the extracted at least one object and at least one object contained in the user data and the occurrence frequency.
제 1항에 있어서,
상기 프로세서는 상기 하나 이상의 인스트럭션을 실행함으로써,
특정 이벤트와 관련된 복수의 이미지를 획득하고,
상기 특정 이벤트와 관련된 복수의 이미지에 포함된 적어도 하나의 객체 각각에 대한 등장 빈도수를 결정하며,
상기 추출된 적어도 하나의 객체와 상기 특정 이벤트와 관련된 복수의 이미지에 포함된 적어도 하나의 객체 사이의 동일성 및 상기 등장 빈도수에 기초하여, 상기 삭제할 객체를 결정하는, 전자 장치.
The method according to claim 1,
The processor executing the one or more instructions,
Acquiring a plurality of images associated with a specific event,
Determine an appearance frequency for each of at least one object included in the plurality of images associated with the specific event,
And determine the object to delete based on the identity between the extracted at least one object and at least one object contained in a plurality of images associated with the specific event and the occurrence frequency.
제 1항에 있어서,
상기 디스플레이부는, 상기 이미지 및 상기 결정된 객체가 삭제된 이미지를 표시하고,
상기 프로세서는 상기 하나 이상의 인스트럭션을 실행함으로써,
사용자 입력에 기초하여, 상기 이미지 및 상기 결정된 객체가 삭제된 이미지 중 적어도 하나를 저장하는, 전자 장치.
The method according to claim 1,
Wherein the display unit displays the image and the image from which the determined object is deleted,
The processor executing the one or more instructions,
And wherein based on the user input, the image and the determined object store at least one of the deleted images.
제 1항에 있어서,
상기 프로세서는 상기 하나 이상의 인스트럭션을 실행함으로써,
상기 이미지에서 삭제된 객체가 상기 사용자 데이터에 포함되도록 제어하는, 전자 장치.
The method according to claim 1,
The processor executing the one or more instructions,
And to control that the deleted object in the image is included in the user data.
제 1항에 있어서,
상기 프로세서는 상기 하나 이상의 인스트럭션을 실행함으로써,
상기 추출된 적어도 하나의 객체와 이전에 삭제된 이력을 가지는 객체 사이의 동일성에 기초하여, 상기 삭제할 객체를 결정하는, 전자 장치.
The method according to claim 1,
The processor executing the one or more instructions,
And determine an object to delete based on an identity between the extracted at least one object and an object having a previously deleted history.
제 8항에 있어서,
상기 이전에 삭제된 이력을 가지는 객체는 사용자의 입력에 기초하여 삭제된 것인, 전자 장치.
9. The method of claim 8,
And the object having the previously deleted history is deleted based on the input of the user.
전자 장치가 이미지를 처리하는 방법에 있어서,
상기 이미지로부터 적어도 하나의 객체를 추출하는 단계;
상기 추출된 적어도 하나의 객체와 사용자 데이터에 포함된 적어도 하나의 객체 사이의 동일성에 기초하여, 상기 추출된 적어도 하나의 객체 중 삭제할 객체를 결정하는 단계; 및
상기 결정된 객체를 상기 이미지에서 삭제하는 단계를 포함하는 방법.
A method for an electronic device to process an image,
Extracting at least one object from the image;
Determining an object to be deleted among the extracted at least one object based on the identity between the extracted at least one object and at least one object included in the user data; And
And deleting the determined object from the image.
제 10항에 있어서,
상기 방법은,
상기 사용자 데이터를 이용하여 동일성 판단을 학습하는 단계를 더 포함하고,
상기 삭제할 객체를 결정하는 단계는,
상기 학습한 결과에 기초하여, 상기 추출된 적어도 하나의 객체와 상기 사용자 데이터에 포함된 적어도 하나의 객체 사이의 동일성을 결정하는 단계를 포함하는, 방법.
11. The method of claim 10,
The method comprises:
Further comprising the step of learning the identity determination using the user data,
Wherein the step of determining the object to be deleted comprises:
Determining an identity between the extracted at least one object and at least one object included in the user data based on the result of the learning.
제 10항에 있어서,
상기 사용자 데이터는 상기 전자 장치에 기 저장된 폰북 데이터를 포함하고,
상기 삭제할 객체를 결정하는 단계는,
상기 추출된 적어도 하나의 객체와 상기 폰북 데이터에 포함된 적어도 하나의 객체 사이의 동일성에 기초하여, 상기 삭제할 객체를 결정하는 단계를 포함하는, 방법.
11. The method of claim 10,
Wherein the user data includes phone book data previously stored in the electronic device,
Wherein the step of determining the object to be deleted comprises:
Determining the object to be deleted based on the identity between the extracted at least one object and at least one object contained in the phone book data.
제 10항에 있어서,
상기 방법은,
상기 사용자 데이터에 포함된 적어도 하나의 객체 각각에 대한 등장 빈도수를 결정하는 단계를 더 포함하고,
상기 삭제할 객체를 결정하는 단계는,
상기 추출된 적어도 하나의 객체와 상기 사용자 데이터에 포함된 적어도 하나의 객체 사이의 동일성 및 상기 등장 빈도수에 기초하여, 상기 삭제할 객체를 결정하는 단계를 포함하는, 방법.
11. The method of claim 10,
The method comprises:
Further comprising determining an occurrence frequency for each of at least one object included in the user data,
Wherein the step of determining the object to be deleted comprises:
Determining the object to be deleted based on the identity between the extracted at least one object and at least one object included in the user data and the occurrence frequency.
제 10항에 있어서,
상기 방법은,
특정 이벤트와 관련된 복수의 이미지를 획득하는 단계; 및
상기 특정 이벤트와 관련된 복수의 이미지에 포함된 적어도 하나의 객체 각각에 대한 등장 빈도수를 결정하는 단계를 더 포함하고,
상기 삭제할 객체를 결정하는 단계는,
상기 추출된 적어도 하나의 객체와 상기 특정 이벤트와 관련된 복수의 이미지에 포함된 적어도 하나의 객체 사이의 동일성 및 상기 등장 빈도수에 기초하여, 상기 삭제할 객체를 결정하는 단계를 포함하는, 방법.
11. The method of claim 10,
The method comprises:
Acquiring a plurality of images associated with a specific event; And
Further comprising determining an occurrence frequency for each of at least one object included in the plurality of images associated with the specific event,
Wherein the step of determining the object to be deleted comprises:
Determining the object to be deleted based on the identity between the extracted at least one object and at least one object included in the plurality of images associated with the specific event and the occurrence frequency.
제 10항에 있어서,
상기 방법은,
상기 이미지 및 상기 결정된 객체가 삭제된 이미지를 디스플레이에 표시하는 단계; 및
사용자 입력에 기초하여, 상기 이미지 및 상기 결정된 객체가 삭제된 이미지 중 적어도 하나를 저장하는 단계를 더 포함하는, 방법.
11. The method of claim 10,
The method comprises:
Displaying the image and the image on which the determined object has been deleted on a display; And
Further comprising, based on user input, storing at least one of the image and the deleted image of the determined object.
제 10항에 있어서,
상기 방법은,
상기 이미지에서 삭제된 객체를 상기 사용자 데이터로 저장하는 단계를 더 포함하는, 방법.
11. The method of claim 10,
The method comprises:
Further comprising: storing the deleted object in the image as the user data.
제 10항에 있어서,
상기 삭제할 객체를 결정하는 단계는,
상기 추출된 적어도 하나의 객체와 이전에 삭제된 이력을 가지는 객체 사이의 동일성에 기초하여, 상기 삭제할 객체를 결정하는 단계를 포함하는, 방법.
11. The method of claim 10,
Wherein the step of determining the object to be deleted comprises:
Determining an object to delete based on an identity between the extracted at least one object and an object having a previously deleted history.
제 17항에 있어서,
상기 이전에 삭제된 이력을 가지는 객체는 사용자의 입력에 기초하여 삭제된 것인, 방법.
18. The method of claim 17,
Wherein the object having the previously deleted history is deleted based on a user's input.
제 10항 내지 제 18항 중 어느 한 항의 방법을 컴퓨터에서 실행시키기 위한 프로그램이 기록된 컴퓨터로 판독 가능한 기록 매체.A computer-readable recording medium having recorded thereon a program for causing a computer to execute the method according to any one of claims 10 to 18. 전자 장치가 뉴럴 네트워크(Neural Network)를 이용한 학습 모델을 이용하여 이미지를 처리하는 방법에 있어서,
상기 이미지로부터 적어도 하나의 객체를 추출하는 단계;
상기 추출된 적어도 하나의 객체와 사용자 데이터에 포함된 적어도 하나의 객체 사이의 동일성에 기초하여, 상기 추출된 적어도 하나의 객체 중 삭제할 객체를 결정하는 단계; 및
상기 결정된 객체를 상기 이미지에서 삭제하는 단계를 포함하는 방법.
A method of processing an image using an electronic device using a learning model using a neural network,
Extracting at least one object from the image;
Determining an object to be deleted among the extracted at least one object based on the identity between the extracted at least one object and at least one object included in the user data; And
And deleting the determined object from the image.
KR1020170148319A 2016-11-16 2017-11-08 Device and method for image processing Withdrawn KR20180055708A (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR1020160152961 2016-11-16
KR20160152961 2016-11-16

Publications (1)

Publication Number Publication Date
KR20180055708A true KR20180055708A (en) 2018-05-25

Family

ID=62299883

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020170148319A Withdrawn KR20180055708A (en) 2016-11-16 2017-11-08 Device and method for image processing

Country Status (1)

Country Link
KR (1) KR20180055708A (en)

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110008940A (en) * 2019-06-04 2019-07-12 深兰人工智能芯片研究院(江苏)有限公司 A method, device and electronic device for removing target object from an image
KR20200063880A (en) * 2018-11-28 2020-06-05 성균관대학교산학협력단 Semantic map building system for mobile robot navigation based on human`s brain map model and cognition
WO2020116983A1 (en) * 2018-12-07 2020-06-11 Samsung Electronics Co., Ltd. Electronic apparatus, controlling method of electronic apparatus, and computer readable medium
KR102135479B1 (en) * 2020-05-09 2020-07-17 주식회사 디퍼아이 Apparatus for artificial intelligence counting coins and method thereof
US10803384B2 (en) 2018-07-11 2020-10-13 MakinaRocks Co., Ltd. Anomaly detection
WO2020231153A1 (en) * 2019-05-14 2020-11-19 Samsung Electronics Co., Ltd. Electronic device and method for assisting with driving of vehicle
KR20210045454A (en) * 2018-09-14 2021-04-26 테슬라, 인크. System and method for acquiring training data
US11226893B2 (en) 2020-02-24 2022-01-18 MakinaRocks Co., Ltd. Computer program for performance testing of models
KR20220022354A (en) * 2020-08-18 2022-02-25 삼성전자주식회사 Artificial intelligence system and method for editing image based on relation between objects
US11308366B2 (en) 2019-10-28 2022-04-19 MakinaRocks Co., Ltd. Method for determining optimal anomaly detection model for processing input data
WO2022196929A1 (en) * 2021-03-17 2022-09-22 라인플러스 주식회사 Method, computer device, and computer program for recommending object to be deleted from image
US11537900B2 (en) 2019-01-23 2022-12-27 MakinaRocks Co., Ltd. Anomaly detection
US11562167B2 (en) 2019-04-02 2023-01-24 MakinaRocks Co., Ltd. Method of training neural network classification model using selected data
KR20230029343A (en) * 2021-08-24 2023-03-03 서울대학교산학협력단 Device and method for detecting pattern contour information of semiconductor layout
US11625574B2 (en) 2019-10-28 2023-04-11 MakinaRocks Co., Ltd. Method for generating abnormal data
KR102657675B1 (en) * 2023-01-20 2024-04-16 주식회사 핀텔 The Method and System for Evaluating Labeled Machine-Learned Model Using Digital Twin

Cited By (24)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10803384B2 (en) 2018-07-11 2020-10-13 MakinaRocks Co., Ltd. Anomaly detection
KR20230079505A (en) * 2018-09-14 2023-06-07 테슬라, 인크. System and method for obtaining training data
KR20210045454A (en) * 2018-09-14 2021-04-26 테슬라, 인크. System and method for acquiring training data
KR20200063880A (en) * 2018-11-28 2020-06-05 성균관대학교산학협력단 Semantic map building system for mobile robot navigation based on human`s brain map model and cognition
US12142021B2 (en) 2018-12-07 2024-11-12 Samsung Electronics Co., Ltd. Electronic apparatus, controlling method of electronic apparatus, and computer readable medium
KR20200075069A (en) * 2018-12-07 2020-06-26 삼성전자주식회사 Electronic apparatus, controlling method of electronic apparatus, and computer readable medium
CN113168543A (en) * 2018-12-07 2021-07-23 三星电子株式会社 Electronic device, control method of electronic device, and computer-readable medium
WO2020116983A1 (en) * 2018-12-07 2020-06-11 Samsung Electronics Co., Ltd. Electronic apparatus, controlling method of electronic apparatus, and computer readable medium
US11558545B2 (en) 2018-12-07 2023-01-17 Samsung Electronics Co., Ltd. Electronic apparatus, controlling method of electronic apparatus, and computer readable medium
US11537900B2 (en) 2019-01-23 2022-12-27 MakinaRocks Co., Ltd. Anomaly detection
US11562167B2 (en) 2019-04-02 2023-01-24 MakinaRocks Co., Ltd. Method of training neural network classification model using selected data
WO2020231153A1 (en) * 2019-05-14 2020-11-19 Samsung Electronics Co., Ltd. Electronic device and method for assisting with driving of vehicle
US11688195B2 (en) 2019-05-14 2023-06-27 Samsung Electronics Co., Ltd. Electronic device and method for assisting with driving of vehicle
CN110008940A (en) * 2019-06-04 2019-07-12 深兰人工智能芯片研究院(江苏)有限公司 A method, device and electronic device for removing target object from an image
US11625574B2 (en) 2019-10-28 2023-04-11 MakinaRocks Co., Ltd. Method for generating abnormal data
US11769060B2 (en) 2019-10-28 2023-09-26 MakinaRocks Co., Ltd. Method for determining optimal anomaly detection model for processing input data
US11308366B2 (en) 2019-10-28 2022-04-19 MakinaRocks Co., Ltd. Method for determining optimal anomaly detection model for processing input data
US11636026B2 (en) 2020-02-24 2023-04-25 MakinaRocks Co., Ltd. Computer program for performance testing of models
US11226893B2 (en) 2020-02-24 2022-01-18 MakinaRocks Co., Ltd. Computer program for performance testing of models
KR102135479B1 (en) * 2020-05-09 2020-07-17 주식회사 디퍼아이 Apparatus for artificial intelligence counting coins and method thereof
KR20220022354A (en) * 2020-08-18 2022-02-25 삼성전자주식회사 Artificial intelligence system and method for editing image based on relation between objects
WO2022196929A1 (en) * 2021-03-17 2022-09-22 라인플러스 주식회사 Method, computer device, and computer program for recommending object to be deleted from image
KR20230029343A (en) * 2021-08-24 2023-03-03 서울대학교산학협력단 Device and method for detecting pattern contour information of semiconductor layout
KR102657675B1 (en) * 2023-01-20 2024-04-16 주식회사 핀텔 The Method and System for Evaluating Labeled Machine-Learned Model Using Digital Twin

Similar Documents

Publication Publication Date Title
KR20180055708A (en) Device and method for image processing
US12327197B2 (en) System and method for providing content based on knowledge graph
KR102428920B1 (en) Image display device and operating method for the same
US11042728B2 (en) Electronic apparatus for recognition of a user and operation method thereof
US11699213B2 (en) Image-capturing device and method for controlling same
US10970605B2 (en) Electronic apparatus and method of operating the same
KR102606287B1 (en) Device and method for providing translation information of application
KR20190016367A (en) Method and apparatus for recognizing an object
US11189278B2 (en) Device and method for providing response message to user input
KR102420567B1 (en) Method and device for voice recognition
KR20200052448A (en) System and method for integrating databases based on knowledge graph
KR20190034021A (en) Method and apparatus for recognizing an object
KR20180074568A (en) Device and method for estimating information about a lane
US20190228294A1 (en) Method and system for processing neural network model using plurality of electronic devices
KR20200085143A (en) Conversational control system and method for registering external apparatus
KR20190088406A (en) Video playback device and controlling method thereof
KR20180072534A (en) Electronic device and method for providing image associated with text
KR20190053675A (en) Electronic apparatus and operating method thereof
KR102628042B1 (en) Device and method for recommeding contact information
KR20180132493A (en) System and method for determinig input character based on swipe input
KR20190062030A (en) Image display apparatus and operating method thereof
KR20190096752A (en) Method and electronic device for generating text comment for content
KR20180071156A (en) Method and apparatus for filtering video
KR102464906B1 (en) Electronic device, server and method thereof for recommending fashion item
KR20180075227A (en) ElECTRONIC DEVICE AND METHOD THEREOF FOR PROVIDING RETRIEVAL SERVICE

Legal Events

Date Code Title Description
PA0109 Patent application

Patent event code: PA01091R01D

Comment text: Patent Application

Patent event date: 20171108

PG1501 Laying open of application
PC1203 Withdrawal of no request for examination