KR102428920B1 - Image display device and operating method for the same - Google Patents

Image display device and operating method for the same Download PDF

Info

Publication number
KR102428920B1
KR102428920B1 KR1020170136612A KR20170136612A KR102428920B1 KR 102428920 B1 KR102428920 B1 KR 102428920B1 KR 1020170136612 A KR1020170136612 A KR 1020170136612A KR 20170136612 A KR20170136612 A KR 20170136612A KR 102428920 B1 KR102428920 B1 KR 102428920B1
Authority
KR
South Korea
Prior art keywords
images
image
model
feature extraction
electronic device
Prior art date
Application number
KR1020170136612A
Other languages
Korean (ko)
Other versions
KR20180080098A (en
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 삼성전자주식회사
Priority to US15/859,971 priority Critical patent/US10970605B2/en
Priority to PCT/KR2018/000069 priority patent/WO2018128362A1/en
Priority to CN201880005869.1A priority patent/CN110168530B/en
Priority to EP18735947.6A priority patent/EP3545436A4/en
Publication of KR20180080098A publication Critical patent/KR20180080098A/en
Application granted granted Critical
Publication of KR102428920B1 publication Critical patent/KR102428920B1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/51Indexing; Data structures therefor; Storage structures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/58Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
    • G06F16/583Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using metadata automatically derived from the content
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/70Arrangements for image or video recognition or understanding using pattern recognition or machine learning
    • G06V10/764Arrangements for image or video recognition or understanding using pattern recognition or machine learning using classification, e.g. of video objects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/55Clustering; Classification
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/21Design or setup of recognition systems or techniques; Extraction of features in feature space; Blind source separation
    • G06F18/217Validation; Performance evaluation; Active pattern learning techniques
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/22Matching criteria, e.g. proximity measures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/23Clustering techniques
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/24Classification techniques
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/24Classification techniques
    • G06F18/241Classification techniques relating to the classification model, e.g. parametric or non-parametric approaches
    • G06F18/2413Classification techniques relating to the classification model, e.g. parametric or non-parametric approaches based on distances to training or reference patterns
    • G06F18/24133Distances to prototypes
    • G06F18/24143Distances to neighbourhood prototypes, e.g. restricted Coulomb energy networks [RCEN]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/04Architecture, e.g. interconnection topology
    • G06N3/045Combinations of networks
    • G06N3/0454
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/08Learning methods
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/40Extraction of image or video features
    • G06V10/44Local feature extraction by analysis of parts of the pattern, e.g. by detecting edges, contours, loops, corners, strokes or intersections; Connectivity analysis, e.g. of connected components
    • G06V10/443Local feature extraction by analysis of parts of the pattern, e.g. by detecting edges, contours, loops, corners, strokes or intersections; Connectivity analysis, e.g. of connected components by matching or filtering
    • G06V10/449Biologically inspired filters, e.g. difference of Gaussians [DoG] or Gabor filters
    • G06V10/451Biologically inspired filters, e.g. difference of Gaussians [DoG] or Gabor filters with interaction between the filter responses, e.g. cortical complex cells
    • G06V10/454Integrating the filters into a hierarchical structure, e.g. convolutional neural networks [CNN]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/70Arrangements for image or video recognition or understanding using pattern recognition or machine learning
    • G06V10/82Arrangements for image or video recognition or understanding using pattern recognition or machine learning using neural networks
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/94Hardware or software architectures specially adapted for image or video understanding
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V20/00Scenes; Scene-specific elements
    • G06V20/35Categorising the entire scene, e.g. birthday party or wedding scene
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/04Architecture, e.g. interconnection topology
    • G06N3/044Recurrent networks, e.g. Hopfield networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Evolutionary Computation (AREA)
  • Artificial Intelligence (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Multimedia (AREA)
  • Computing Systems (AREA)
  • Databases & Information Systems (AREA)
  • Biomedical Technology (AREA)
  • Molecular Biology (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Evolutionary Biology (AREA)
  • Biophysics (AREA)
  • Computational Linguistics (AREA)
  • Mathematical Physics (AREA)
  • Medical Informatics (AREA)
  • Library & Information Science (AREA)
  • Biodiversity & Conservation Biology (AREA)
  • Image Analysis (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

디스플레이부, 하나 이상의 인스트럭션들을 저장하는 메모리, 및 메모리에 저장된 하나 이상의 인스트럭션들을 실행하는 프로세서를 포함하고, 프로세서는 하나 이상의 인스트럭션들을 실행함으로써, 복수의 이미지들을 획득하고, 특징 추출 모델을 이용하여 복수의 이미지들에 대한 딥 피쳐들(deep features)을 추출하며, 추출된 딥 피쳐들 및 분류 모델을 이용하여 복수의 이미지들을 소정의 그룹들로 분류하고, 분류된 결과를 디스플레이부에 표시하며, 분류된 결과를 이용하여 특징 추출 모델 및 분류 모델의 업데이트 필요 여부를 판단하고, 판단 결과에 따라, 특징 추출 모델 및 분류 모델 중 적어도 하나를 학습시켜 업데이트하는, 전자 장치가 개시된다.
상기 전자 장치는 규칙 기반 또는 인공 지능 알고리즘을 이용하여 이미지의 딥 피쳐를 추정할 수 있다. 인공 지능 알고리즘을 이용하여 이미지의 딥 피쳐를 추정하는 경우, 전자 장치는 기계 학습, 신경망 또는 딥러닝 알고리즘을 이용할 수 있다.
a display unit, a memory storing one or more instructions, and a processor executing the one or more instructions stored in the memory, wherein the processor executes the one or more instructions to obtain a plurality of images, and uses a feature extraction model to obtain a plurality of images. Extract deep features for images, classify a plurality of images into predetermined groups using the extracted deep features and classification model, display the classified results on a display unit, Disclosed is an electronic device that determines whether an update of a feature extraction model and a classification model is necessary using a result, and learns and updates at least one of a feature extraction model and a classification model according to the determination result.
The electronic device may estimate the deep feature of the image using a rule-based or artificial intelligence algorithm. When estimating a deep feature of an image using an artificial intelligence algorithm, the electronic device may use a machine learning, a neural network, or a deep learning algorithm.

Description

전자 장치 및 그 동작 방법{Image display device and operating method for the same}Electronic device and its operating method {Image display device and operating method for the same}

다양한 실시예들은 전자 장치 및 그 동작방법에 관한 것으로서, 더욱 상세하게는 복수의 이미지들을 소정의 그룹으로 분류하거나 소정의 그룹에 특정 키워드를 부여할 수 있는 전자 장치 및 그 동작방법에 관한 것이다.Various embodiments relate to an electronic device and an operating method thereof, and more particularly, to an electronic device capable of classifying a plurality of images into a predetermined group or assigning a specific keyword to a predetermined group, and an operating method thereof.

또한 본 개시는 딥러닝 등의 기계 학습 알고리즘을 활용하여 인간 두뇌의 인지, 판단 등의 기능을 모사하는 인공 지능(Artificial Intelligence, AI) 시스템 및 그 응용 기술에 관련된 것이다.In addition, the present disclosure relates to an artificial intelligence (AI) system for simulating functions such as cognition and judgment of the human brain by using a machine learning algorithm such as deep learning and an application technology thereof.

정보통신 기술 및 반도체 기술의 발전으로 각종 전자 장치들이 다양한 멀티미디어 서비스를 제공하는 멀티미디어 장치로 발전하고 있다. 예를 들어, 전자 장치는 메신저 서비스, 방송 서비스, 무선 인터넷 서비스, 카메라 서비스 및 음악 재생 서비스와 같은 다양한 멀티미디어 서비스를 제공하고 있다.With the development of information and communication technology and semiconductor technology, various electronic devices are developing into multimedia devices that provide various multimedia services. For example, electronic devices provide various multimedia services such as a messenger service, a broadcasting service, a wireless Internet service, a camera service, and a music reproduction service.

또한, 전자 장치는 이미지를 분류하고, 검색할 수 있는 기능을 제공하고 있다. 전자 장치는 기 설정된 분류 기준을 이용하여, 사용자의 이미지들을 소정의 그룹으로 분류할 수 있으나, 일관된 분류 기준을 이용함으로써, 사용자에게 최적화된 분류 결과를 제공할 수 없다는 문제점이 있다.In addition, the electronic device provides a function for classifying and searching images. The electronic device may classify the user's images into a predetermined group by using the preset classification criterion, but there is a problem in that it cannot provide the user with an optimized classification result by using the consistent classification criterion.

또한, 전자 장치는 사용자 이미지들을 키워드와 함께 저장할 수 있으며, 키워드를 이용한 이미지 검색을 제공하고 있다. 그러나 키워드를 이용한 이미지 검색 시, 사용자가 지정하는 키워드에 대응시켜 저장된 이미지들만 검색되므로 검색하려는 이미지에 대응하는 키워드를 정확하게 기억해야 한다는 문제점이 있다.Also, the electronic device may store user images together with keywords, and provides image search using keywords. However, when searching for an image using a keyword, there is a problem in that the keyword corresponding to the image to be searched must be accurately remembered because only images stored in correspondence with the keyword designated by the user are searched.

또한, 최근 영상 처리 분야에도 인공지능 시스템이 도입되고 있다. In addition, artificial intelligence systems have recently been introduced into the image processing field.

인공지능 시스템은 인간 수준의 지능을 구현하는 컴퓨터 시스템이며, 기존 Rule 기반 스마트 시스템과 달리 기계가 스스로 학습하고 판단하며 똑똑해지는 시스템이다. 인공지능 시스템은 사용할수록 인식률이 향상되고 사용자 취향을 보다 정확하게 이해할 수 있게 되어, 기존 Rule 기반 스마트 시스템은 점차 딥러닝 기반 인공지능 시스템으로 대체되고 있다.An artificial intelligence system is a computer system that implements human-level intelligence, and unlike the existing rule-based smart system, the machine learns, judges, and becomes smarter by itself. The more the AI system is used, the better the recognition rate and the more accurate understanding of user preferences, and the existing rule-based smart systems are gradually being replaced by deep learning-based AI systems.

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

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

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

다양한 실시예들은, 이미지의 특성을 추출하여, 추출된 이미지의 특성에 기초하여 이미지를 분류하고, 추출된 이미지의 특성에 기초하여 유사한 이미지들을 검색할 수 있는 전자 장치 및 그 동작방법을 제공할 수 있다.Various embodiments may provide an electronic device capable of extracting a characteristic of an image, classifying an image based on the characteristic of the extracted image, and searching for similar images based on the characteristic of the extracted image, and an operating method thereof have.

또한, 다양한 실시예들은, 사용자의 설정 없이도, 이미지의 특징에 맞는 키워드를 부여할 수 있는 전자 장치 및 그 동작방법을 제공할 수 있다.In addition, various embodiments may provide an electronic device capable of assigning a keyword suitable for the characteristics of an image without a user setting, and an operating method thereof.

일 실시예에 따른 전자 장치는, 디스플레이부, 하나 이상의 인스트럭션들을 저장하는 메모리, 및 상기 메모리에 저장된 상기 하나 이상의 인스트럭션들을 실행하는 프로세서를 포함하고, 상기 프로세서는 상기 하나 이상의 인스트럭션들을 실행함으로써, 복수의 이미지들을 획득하고, 특징 추출 모델을 이용하여 상기 복수의 이미지들에 대한 딥 피쳐들(deep features)을 추출하며, 추출된 딥 피쳐들 및 분류 모델을 이용하여 상기 복수의 이미지들을 소정의 그룹들로 분류하고, 상기 분류된 결과를 상기 디스플레이부에 표시하며, 상기 분류된 결과를 이용하여 상기 특징 추출 모델 및 상기 분류 모델의 업데이트 필요 여부를 판단하고, 판단 결과에 따라, 상기 특징 추출 모델 및 상기 분류 모델 중 적어도 하나를 학습시켜 업데이트할 수 있다.An electronic device according to an embodiment includes a display unit, a memory for storing one or more instructions, and a processor for executing the one or more instructions stored in the memory, wherein the processor executes the one or more instructions. Obtaining images, extracting deep features for the plurality of images using a feature extraction model, and dividing the plurality of images into predetermined groups using the extracted deep features and a classification model classify, display the classified result on the display unit, determine whether to update the feature extraction model and the classification model using the classified result, and determine whether the feature extraction model and the classification model need to be updated, and according to the determination result, the feature extraction model and the classification At least one of the models can be trained and updated.

일 실시예에 따른 전자 장치의 동작 방법은, 복수의 이미지들을 획득하는 단계, 특징 추출 모델을 이용하여 상기 복수의 이미지들에 대한 딥 피쳐들(deep features)을 추출하는 단계, 추출된 딥 피쳐들 및 분류 모델을 이용하여 상기 복수의 이미지들을 소정의 그룹들로 분류하고, 상기 분류된 결과를 표시하는 단계, 상기 분류된 결과를 이용하여 상기 특징 추출 모델 및 상기 분류 모델의 업데이트 필요 여부를 판단하는 단계, 및 판단 결과에 따라, 상기 특징 추출 모델 및 분류 모델 중 적어도 하나를 학습시켜 업데이트하는 단계를 포함할 수 있다.A method of operating an electronic device according to an embodiment includes acquiring a plurality of images, extracting deep features for the plurality of images using a feature extraction model, and extracting deep features. and classifying the plurality of images into predetermined groups using a classification model, displaying the classified result, and determining whether to update the feature extraction model and the classification model using the classified result and learning and updating at least one of the feature extraction model and the classification model according to the determination result.

일 실시예에 따른 전자 장치는, 사용자 데이터에 기초하여 학습된 특징 추출 모델 및 분류 모델을 이용함으로써, 사용자 별로 최적화된 분류 기준으로 복수의 이미지들을 분류하고 및 검색을 수행할 수 있다.The electronic device according to an embodiment may classify and search a plurality of images using a classification criterion optimized for each user by using a feature extraction model and a classification model learned based on user data.

일 실시예에 따른 전자 장치를 이용한 이미지 검색 시, 키워드를 일일이 기억하여 입력하지 않고도 원하는 이미지를 검색할 수 있어 사용자의 이용 편의성이 향상될 수 있다.When searching for an image using the electronic device according to an embodiment, it is possible to search for a desired image without memorizing and inputting keywords one by one, so that the user's convenience can be improved.

일 실시예에 따른 전자 장치는, 사용자의 키워드 지정 없이도, 언어 모델과의 연동을 통해, 자동으로 이미지의 특징에 적합한 키워드를 부여할 수 있다.The electronic device according to an embodiment may automatically assign a keyword suitable for a characteristic of an image through interworking with a language model without a user designating a keyword.

도 1은 일 실시예에 따른, 전자 장치에서 이미지들을 분류하는 방법을 나타내는 도면이다.
도 2는 일 실시예에 따른 전자 장치의 동작방법을 나타내는 흐름도이다.
도 3은 일 실시예에 따른 이미지의 딥 피쳐 추출 방법을 설명하기 위해 참조되는 도면이다.
도 4는 일 실시예에 따른 전자 장치가 범용 데이터를 이용하여 학습된 특징 추출 모델 및 분류 모델을 이용하여, 복수의 이미지들을 분류한 결과를 나타내는 도면이다.
도 5는 일 실시예에 따른 전자 장치가 업데이트된 특징 추출 모델 및 분류 모델을 이용하여, 복수의 이미지들을 분류한 결과를 나타내는 도면이다.
도 6은 일 실시시예 따라 사용자 데이터를 이용하여 학습된 특징 추출 모델 및 분류 모델이 복수의 이미지를 분류하는 방법을 설명하기 위해 참조되는 도면이다.
도 7A는 일 실시예에 따른 서버와 전자 장치의 동작을 나타내는 흐름도이다.
도 7B는 일 실시예에 따른 서버와 제1 프로세서 및 제2 프로세서의 동작 방법을 나타내는 흐름도이다.
도 7C는 일 실시예에 따른 서버와 제1 프로세서, 제2 프로세서 및 제3 프로세서의 동작 방법을 나타내는 흐름도이다.
도 8A는 일 실시예에 따른 전자 장치의 동작방법을 나타내는 흐름도이다.
도 8B는 일 실시예에 따른 전자 장치에 포함된 제1 프로세서, 제2 프로세서의 동작 방법을 나타내는 흐름도이다.
도 8C는 일 실시예에 따른 전자 장치에 포함된 제1 프로세서, 제2 프로세서 및 제3 프로세서의 동작 방법을 나타내는 흐름도이다.
도 9 및 10은 일 실시예에 따른 전자 장치가 이미지를 검색하는 방법을 설명하기 위해 참조되는 도면들이다.
도 11은 일 실시예에 따른 전자 장치의 구성을 나타내는 블록도이다.
도 12는 일부 실시예에 따른 프로세서(120)의 블록도이다.
도 13은 일부 실시예에 따른 데이터 학습부(1300)의 블록도이다.
도 14는 일부 실시예에 따른 데이터 분류부(1400)의 블록도이다.
도 15는 일 실시예에 따른 전자 장치 및 서버가 서로 연동함으로써 데이터를 학습하고 인식하는 예시를 나타내는 도면이다.
도 16은 다른 실시예에 따른 전자 장치의 구성을 나타내는 블록도이다.
1 is a diagram illustrating a method of classifying images in an electronic device, according to an embodiment.
2 is a flowchart illustrating a method of operating an electronic device according to an exemplary embodiment.
3 is a diagram referenced to describe a method for extracting deep features of an image according to an exemplary embodiment.
4 is a diagram illustrating a result of an electronic device classifying a plurality of images by using a feature extraction model and a classification model learned using general-purpose data, according to an embodiment.
5 is a diagram illustrating a result of classifying a plurality of images by using an updated feature extraction model and a classification model by an electronic device according to an exemplary embodiment;
6 is a diagram referenced to describe a method of classifying a plurality of images by a feature extraction model and a classification model learned using user data according to an embodiment.
7A is a flowchart illustrating operations of a server and an electronic device according to an exemplary embodiment.
7B is a flowchart illustrating a method of operating a server and a first processor and a second processor according to an exemplary embodiment.
7C is a flowchart illustrating an operation method of a server, a first processor, a second processor, and a third processor according to an exemplary embodiment.
8A is a flowchart illustrating a method of operating an electronic device according to an exemplary embodiment.
8B is a flowchart illustrating a method of operating a first processor and a second processor included in an electronic device according to an exemplary embodiment.
8C is a flowchart illustrating an operation method of a first processor, a second processor, and a third processor included in an electronic device according to an exemplary embodiment.
9 and 10 are diagrams referenced to describe a method for an electronic device to search for an image according to an exemplary embodiment.
11 is a block diagram illustrating a configuration of an electronic device according to an exemplary embodiment.
12 is a block diagram of a processor 120 in accordance with some embodiments.
13 is a block diagram of a data learning unit 1300 according to some exemplary embodiments.
14 is a block diagram of a data classification unit 1400 according to some exemplary embodiments.
15 is a diagram illustrating an example of learning and recognizing data by interworking with an electronic device and a server according to an embodiment.
16 is a block diagram illustrating a configuration of an electronic device according to another exemplary embodiment.

본 명세서에서 사용되는 용어에 대해 간략히 설명하고, 본 발명에 대해 구체적으로 설명하기로 한다.Terms used in this specification will be briefly described, and the present invention will be described in detail.

본 발명에서 사용되는 용어는 본 발명에서의 기능을 고려하면서 가능한 현재 널리 사용되는 일반적인 용어들을 선택하였으나, 이는 당 분야에 종사하는 기술자의 의도 또는 판례, 새로운 기술의 출현 등에 따라 달라질 수 있다. 또한, 특정한 경우는 출원인이 임의로 선정한 용어도 있으며, 이 경우 해당되는 발명의 설명 부분에서 상세히 그 의미를 기재할 것이다. 따라서 본 발명에서 사용되는 용어는 단순한 용어의 명칭이 아닌, 그 용어가 가지는 의미와 본 발명의 전반에 걸친 내용을 토대로 정의되어야 한다. The terms used in the present invention have been selected as currently widely used general terms as possible while considering the functions in the present invention, which may vary depending on the intention or precedent of a person skilled in the art, the emergence of new technology, and the like. In addition, in a specific case, there is a term arbitrarily selected by the applicant, and in this case, the meaning will be described in detail in the description of the corresponding invention. Therefore, the term used in the present invention should be defined based on the meaning of the term and the overall content of the present invention, rather than the name of a simple term.

명세서 전체에서 어떤 부분이 어떤 구성요소를 "포함"한다고 할 때, 이는 특별히 반대되는 기재가 없는 한 다른 구성요소를 제외하는 것이 아니라 다른 구성요소를 더 포함할 수 있음을 의미한다. 또한, 명세서에 기재된 "...부", "모듈" 등의 용어는 적어도 하나의 기능이나 동작을 처리하는 단위를 의미하며, 이는 하드웨어 또는 소프트웨어로 구현되거나 하드웨어와 소프트웨어의 결합으로 구현될 수 있다.In the entire specification, when a part "includes" a certain component, it means that other components may be further included, rather than excluding other components, unless otherwise stated. In addition, terms such as "...unit" and "module" described in the specification mean a unit that processes at least one function or operation, which may be implemented as hardware or software, or a combination of hardware and software. .

아래에서는 첨부한 도면을 참고하여 실시예들에 대하여 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자가 용이하게 실시할 수 있도록 상세히 설명한다. 그러나 본 발명은 여러 가지 상이한 형태로 구현될 수 있으며 여기에서 설명하는 실시예에 한정되지 않는다. 그리고 도면에서 본 발명을 명확하게 설명하기 위해서 설명과 관계없는 부분은 생략하였으며, 명세서 전체를 통하여 유사한 부분에 대해서는 유사한 도면 부호를 붙였다.Hereinafter, embodiments will be described in detail with reference to the accompanying drawings so that those of ordinary skill in the art to which the present invention pertains can easily implement them. However, the present invention may be embodied in several different forms and is not limited to the embodiments described herein. And in order to clearly explain the present invention in the drawings, parts irrelevant to the description are omitted, and similar reference numerals are attached to similar parts throughout the specification.

도 1은 일 실시예에 따른, 전자 장치에서 이미지들을 분류하는 방법을 나타내는 도면이다.1 is a diagram illustrating a method of classifying images in an electronic device, according to an embodiment.

일 실시예에 따른 전자 장치(100)는, 다양한 형태로 구현될 수 있다. 예를 들어, 전자 장치(100)는 휴대폰, 스마트 폰(smart phone), 노트북 컴퓨터(laptop computer), 데스크 탑, 태블릿 PC, 전자책 단말기, 디지털 방송용 단말기, PDA(Personal Digital Assistants), PMP(Portable Multimedia Player), 네비게이션, MP3 플레이어, 디지털 카메라, 캠코더, IPTV(Internet Protocol Television), DTV(Digital Television), 착용형 기기(wearable device, 예를 들어, 스마트 워치(smart watch), 스마트 글래스(smart glass) 등) 등과 같은 다양한 전자 장치로 구현될 수 있다. 다만, 이에 한정되는 것은 아니다.The electronic device 100 according to an embodiment may be implemented in various forms. For example, the electronic device 100 may include a mobile phone, a smart phone, a laptop computer, a desktop, a tablet PC, an e-book terminal, a digital broadcasting terminal, a personal digital assistant (PDA), or a portable computer (PMP). Multimedia Player), navigation, MP3 player, digital camera, camcorder, IPTV (Internet Protocol Television), DTV (Digital Television), wearable device (eg, smart watch), smart glass (smart glass) ), etc.) may be implemented in various electronic devices. However, the present invention is not limited thereto.

본 명세서의 실시예에서 "사용자"라는 용어는 전자 장치의 기능 또는 동작을 제어하는 사람을 의미하며, 시청자, 관리자 또는 설치 기사를 포함할 수 있다.In the embodiment of the present specification, the term “user” refers to a person who controls a function or operation of an electronic device, and may include a viewer, an administrator, or an installer.

일 실시예에 따른 전자 장치(100)는 복수의 이미지들(10)을 획득할 수 있다. 복수의 이미지들(10)은, 전자 장치(100)를 이용하여 촬영된 이미지, 전자 장치에 저장되어 있는 이미지, 또는 외부 장치로부터 수신한 이미지를 포함할 수 있다.The electronic device 100 according to an embodiment may acquire a plurality of images 10 . The plurality of images 10 may include an image photographed using the electronic device 100 , an image stored in the electronic device, or an image received from an external device.

일 실시예에 따른 전자 장치는 특징 추출 모델(20)을 이용하여 복수의 이미지들의 딥 피쳐들(deep features)을 추출할 수 있다. The electronic device according to an embodiment may extract deep features of a plurality of images by using the feature extraction model 20 .

특징 추출 모델(20)은, 신경망(Neural Network)을 기반으로 하는 모델일 수 있다. 예를 들어, DNN(Deep Neural Network), RNN(Recurrent Neural Network), BRDNN(Bidirectional Recurrent Deep Neural Network)과 같은 모델이 특징 추출 모델(20)로 사용될 수 있으나, 이에 한정되지 않는다. The feature extraction model 20 may be a model based on a neural network. For example, a model such as a deep neural network (DNN), a recurrent neural network (RNN), or a bidirectional recurrent deep neural network (BRDNN) may be used as the feature extraction model 20 , but is not limited thereto.

또한, 초기의 특징 추출 모델(20)은, 범용 데이터를 이용하여 학습된 모델일 수 있다. 이미지의 딥 피쳐(deep feature)는, 이미지를 적어도 하나의 신경망(Neural Network)에 입력하여, 적어도 하나의 신경망에 포함되는 적어도 하나의 층(layer)에서 추출된 벡터(vector)를 포함할 수 있다.Also, the initial feature extraction model 20 may be a model learned using general-purpose data. The deep feature of the image may include a vector extracted from at least one layer included in at least one neural network by inputting the image into at least one neural network. .

벡터는, 예를 들면, 이미지의 특징을 포함할 수 있다. 이미지의 특징은, 예를 들면, 이미지에 포함된 객체의 형상, 종류 및 이미지가 촬영된 장소 등을 포함할 수 있다. A vector may include, for example, features of an image. The characteristics of the image may include, for example, the shape and type of an object included in the image, and a location where the image was captured.

따라서, 특징 추출 모델(20)은 이미지, 이미지의 특징(예를 들면, 객체의 형상, 객체의 종류, 장면인식 결과, 촬영 장소 등)을 학습 데이터로 하여 학습될 수 있다. 구체적으로, 강아지를 촬영한 이미지, 강아지의 종류 및 촬영 장소를 학습 데이터로 하여 학습될 수 있다. 또한, 야경을 촬영한 이미지, 야경에 포함된 건물의 명칭 및 촬영 장소를 학습 데이터로 하여 학습될 수 있다. 이로 인해, 전자 장치(100)는 이미지가 입력되면 특징 추출 모델(20)을 이용하여 상술한 이미지의 특징들을 포함하는 딥 피쳐들을 추출할 수 있다.Accordingly, the feature extraction model 20 may be learned using an image and image characteristics (eg, an object shape, an object type, a scene recognition result, a shooting location, etc.) as learning data. Specifically, it can be learned using an image of a dog, a type of dog, and a shooting location as learning data. In addition, it can be learned by using an image of a night view, a name of a building included in the night view, and a photographing location as learning data. Accordingly, when an image is input, the electronic device 100 may extract deep features including the features of the above-described image using the feature extraction model 20 .

일 실시예에 따른 전자 장치(100)는, 복수의 이미지들에 대한 딥 피쳐들이 추출되면, 추출된 딥 피쳐들 및 분류 모델(30)을 이용하여, 복수의 이미지들을 분류할 수 있다.When deep features for a plurality of images are extracted, the electronic device 100 according to an embodiment may classify the plurality of images by using the extracted deep features and the classification model 30 .

분류 모델(30)은, 신경망(Neural Network)을 기반으로 하는 모델일 수 있다. 예를 들어, DNN(Deep Neural Network), RNN(Recurrent Neural Network), BRDNN(Bidirectional Recurrent Deep Neural Network)과 같은 모델이 분류 모델(30)로 사용될 수 있으나, 이에 한정되지 않는다. The classification model 30 may be a model based on a neural network. For example, a model such as a deep neural network (DNN), a recurrent neural network (RNN), or a bidirectional recurrent deep neural network (BRDNN) may be used as the classification model 30 , but is not limited thereto.

또한, 초기의 분류 모델(30)은, 범용 데이터를 이용하여 학습된 모델일 수 있다. 예를 들면, 분류 모델(30)은 이미지, 이미지에서 추출한 딥 피쳐 및 이미지 분류 결과를 학습 데이터로 하여 학습될 수 있다. 구체적으로, 강아지를 촬영한 이미지, 이미지의 딥 피쳐(예를 들면, 강아지의 형상, 종류 등) 및 이미지의 분류 목록(예를 들면, 강아지, 비글, 푸들 등)을 학습 데이터로 하여 학습될 수 있다. 또한, 야경을 촬영한 이미지, 이미지에서 추출한 딥 피쳐(예를 들면, 야경이 촬영된 위치, 건물의 명칭 등) 및 이미지의 분류(예를 들면, 풍경, 야경 등)를 학습 데이터로 하여 학습될 수 있다.Also, the initial classification model 30 may be a model learned using general-purpose data. For example, the classification model 30 may be trained using an image, a deep feature extracted from the image, and an image classification result as training data. Specifically, it can be learned using an image of a dog, deep features of the image (eg, dog shape, type, etc.) and a classification list of images (eg, dog, beagle, poodle, etc.) as learning data. have. In addition, an image of a night scene, a deep feature extracted from the image (eg, the location where the night scene was taken, the name of a building, etc.) and the classification of the image (eg, scenery, night view, etc.) can

이로 인해, 분류 모델(30)은 복수의 이미지들에 대한 딥 피쳐들의 유사도에 기초하여, 복수의 이미지들을 소정의 그룹으로 분류할 수 있다. 이때, 딥 피쳐들의 유사도는, 딥 피쳐들로 추출된 벡터들 사이의 거리로 나타날 수 있다. 예를 들어, 벡터들을 좌표에 표시하였을 때, 좌표에 표시된 벡터들 사이의 거리가 짧을수록 유사도가 크고, 벡터들 사이의 거리가 멀수록 유사도가 작을 수 있다. 다만, 이에 한정되지 않는다.Accordingly, the classification model 30 may classify the plurality of images into a predetermined group based on the similarity of the deep features to the plurality of images. In this case, the similarity of the deep features may be expressed as a distance between vectors extracted as the deep features. For example, when vectors are displayed in coordinates, the similarity may be greater as the distance between the vectors indicated in the coordinates is shorter, and the similarity may be lower as the distance between the vectors is greater. However, the present invention is not limited thereto.

일 실시예에 따른 분류 모델(30)은 기 설정된 거리 범위에 있는 벡터들에 대응하는 이미지들을 동일한 그룹으로 분류할 수 있다. 예를 들어, 복수의 이미지들 중 좌표 영역 중 제1 영역에 표시되는 이미지들(예를 들어, '음식'의 특성을 나타내는 이미지들)을 제1 그룹(41)으로, 제2 영역에 표시되는 이미지들(예를 들어, '아기'의 특성을 나타내는 이미지들)을 제2 그룹(42)으로, 제3 영역에 표시되는 이미지들(예를 들어, '탑'의 특성을 나타내는 이미지들)을 제3 그룹(43)으로 분류할 수 있다. The classification model 30 according to an embodiment may classify images corresponding to vectors in a preset distance range into the same group. For example, among the plurality of images, images displayed in the first area of the coordinate area (eg, images representing characteristics of 'food') are grouped into the first group 41 and displayed in the second area. Images (eg, images indicating the characteristics of 'baby') are grouped into the second group 42, and images displayed in the third area (eg, images indicating characteristics of 'top') are grouped together. It may be classified into a third group 43 .

또한, 다양한 실시예에 따르면, 분류 모델(30)은 비글, 푸들 등의 강아지의 형상들을 포함하는 벡터들의 사이는 거리를 짧게 나타낼 수 있다. 또한, 분류 모델(30)은 풍경, 야경, 건물 등을 포함하는 벡터들의 사이는 거리는 짧게 나타낼 수 있다. 한편, 분류 모델(30)은 상술한 강아지의 형상들을 포함하는 벡터들과 풍경, 야경 등을 포함하는 벡터들의 사이는 거리를 멀게 나타낼 수 있다. 다만, 이에 한정되지 않는다.Also, according to various embodiments, the classification model 30 may represent a short distance between vectors including shapes of dogs such as beagle and poodle. In addition, the classification model 30 may represent a short distance between vectors including a landscape, a night view, a building, and the like. On the other hand, the classification model 30 may represent a long distance between the vectors including the above-described shapes of the dog and vectors including the landscape, night view, and the like. However, the present invention is not limited thereto.

일 실시예에 따른 특징 추출 모델(20) 및 분류 모델(30)은 동일한 신경망으로 구성될 수도 있으며, 서로 다른 신경망으로 독립적으로 구성될 수도 있다.The feature extraction model 20 and the classification model 30 according to an embodiment may be configured with the same neural network or may be independently configured with different neural networks.

일 실시예에 따른 특징 추출 모델(20) 및 분류 모델(30)은 분류된 결과를 이용하여 기존 특징 추출 모델 및 분류 모델의 업데이트 필요 여부를 판단할 수 있다. 업데이트가 필요하다고 판단된 경우에는 사용자 데이터를 이용하여 재 학습될 수 있다. The feature extraction model 20 and the classification model 30 according to an embodiment may determine whether an existing feature extraction model and a classification model need to be updated by using the classified result. When it is determined that an update is necessary, it may be re-learned using user data.

예를 들어, 소정의 그룹으로 분류된 이미지들을 특징 추출 모델(20) 및 분류 모델(30) 중 적어도 하나에 입력 값으로 하는 지도 학습(supervised learning)을 통하여, 특징 추출 모델(20) 및 분류 모델(30) 중 적어도 하나를 학습시킬 수 있다. 지도 학습을 통하여, 특징 추출 모델(20) 및 분류 모델(30)을 학습시키는 경우, 사용자가 생성한 복수개의 이미지와 각 이미지에 해당하는 사용자의 키워드 매핑 정보(예를 들면, 사용자가 입력한 이미지의 특징들)를 이용하여, 특징 추출 모델(20) 및 분류 모델(30)을 학습시킬 수 있다.For example, through supervised learning in which images classified into a predetermined group are input to at least one of the feature extraction model 20 and the classification model 30, the feature extraction model 20 and the classification model At least one of (30) can be learned. When the feature extraction model 20 and the classification model 30 are trained through supervised learning, a plurality of images generated by the user and the user's keyword mapping information corresponding to each image (eg, an image input by the user) ), the feature extraction model 20 and the classification model 30 may be trained.

또는, 별다른 지도 없이 이미지 분류기를 재 학습하고, 언어 모델의 학습 결과를 연계하여 이미지 분류 기준을 발견하는 비지도 학습(unsupervised learning)을 통하여, 특징 추출 모델(20) 및 분류 모델(30) 중 적어도 하나를 학습시킬 수 있다. 또한, 지도 학습으로 학습된 결과와 언어 모델의 학습 결과를 연계시켜 지도 없이, 이미지 분류 기준을 발견함으로써, 특징 추출 모델(20) 및 분류 모델(30) 중 적어도 하나를 학습시킬 수 있다.Alternatively, at least of the feature extraction model 20 and the classification model 30, through unsupervised learning of re-learning the image classifier without any guidance and linking the learning results of the language model to discover the image classification criteria. One can learn In addition, at least one of the feature extraction model 20 and the classification model 30 may be trained by linking the results learned through supervised learning with the learning results of the language model and discovering the image classification criteria without guidance.

또한, 학습에 따른 이미지의 분류 결과가 올바른 지에 대한 피드백을 이용하는 강화 학습(reinforcement learning)을 통하여, 특징 추출 모델(20) 및 분류 모델(30)을 학습시킬 수 있다. 다만, 이에 한정되지 않는다.Also, the feature extraction model 20 and the classification model 30 may be trained through reinforcement learning using feedback on whether the classification result of the image according to the learning is correct. However, the present invention is not limited thereto.

도 2는 일 실시예에 따른 전자 장치의 동작방법을 나타내는 흐름도이다.2 is a flowchart illustrating a method of operating an electronic device according to an exemplary embodiment.

도 2를 참조하면, 일 실시예에 따른 전자 장치(100)는 복수의 이미지들을 획득할 수 있다(S210).Referring to FIG. 2 , the electronic device 100 according to an embodiment may acquire a plurality of images ( S210 ).

일 실시예에 따른 전자 장치(100)는 특징 추출 모델을 이용하여, 복수의 이미지들에 대한 딥 피쳐들을 추출할 수 있다(S220).The electronic device 100 according to an embodiment may extract deep features for a plurality of images by using the feature extraction model (S220).

특징 추출 모델은, 신경망(Neural Network)을 기반으로 하는 모델일 수 있다. 예를 들어, DNN(Deep Neural Network), RNN(Recurrent Neural Network), BRDNN(Bidirectional Recurrent Deep Neural Network)과 같은 모델이 특징 추출 모델로 사용될 수 있으나, 이에 한정되지 않는다. 이미지의 딥 피쳐는, 이미지를 적어도 하나의 신경망(Neural Network)에 입력하여, 적어도 하나의 신경망에 포함되는 적어도 하나의 층(layer)에서 추출된 벡터 값을 포함할 수 있다.The feature extraction model may be a model based on a neural network. For example, a model such as a Deep Neural Network (DNN), a Recurrent Neural Network (RNN), or a Bidirectional Recurrent Deep Neural Network (BRDNN) may be used as the feature extraction model, but is not limited thereto. The deep feature of the image may include a vector value extracted from at least one layer included in at least one neural network by inputting the image to at least one neural network.

또한, 이미지의 딥 피쳐는, 이미지에 대한 교환 이미지 파일(EXIF) 등의 메타데이터 형식으로 저장될 수 있다. 또한, 이미지 파일의 형식이 JPEG 이 아닌 경우, 이미지 파일을 JPEG 파일로 변환하고, 이미지의 딥 피쳐를 EXIF 정보로 저장할 수 있다. 다만, 이에 한정되지 않는다.Further, the deep features of an image may be stored in a metadata format such as an Exchange Image File (EXIF) for the image. Also, when the format of the image file is not JPEG, the image file can be converted to a JPEG file and the deep features of the image can be stored as EXIF information. However, the present invention is not limited thereto.

또한, 전자 장치(100)는 이미지에 대한 딥 피쳐를 이미지의 메타데이터로 저장해둠으로써, 이미지를 분류할 때마다 딥 피쳐를 다시 추출하지 않고, 저장된 딥 피쳐를 이용하여, 이미지를 분류할 수 있다. 이에 따라, 이미지 분류 속도가 빨라질 수 있다.Also, since the electronic device 100 stores the deep features of the image as metadata of the image, the image can be classified using the stored deep features without re-extracting the deep features every time the image is classified. . Accordingly, the image classification speed may be increased.

또한, 이미지의 딥 피쳐를 EXIF 형식으로 저장하는 경우, 이미지 파일이 다른 전자 장치에 저장되더라도 이미지의 딥 피쳐 정보를 유지할 수 있다. 예를 들어, 이미지 파일이 전자 장치(100)가 아닌 외부 장치에 전송된 경우에도, 외부 장치에서 이미지의 딥 피쳐 정보가 유지될 수 있다. 이에 따라, 다른 장치에서도 이미지의 딥 피쳐 정보를 이용하여, 이미지를 분류하거나 검색할 수 있으며, 특징 추출 모델과 분류 모델이 각각 제1 전자 장치 및 제2 전자 장치에 존재하는 경우, 제1 전자 장치에서 추출된 이미지들의 딥 피쳐를 이용하여, 제2 전자 장치에서 이미지들을 분류할 수 있다.In addition, when the deep feature of the image is stored in the EXIF format, even if the image file is stored in another electronic device, the deep feature information of the image may be maintained. For example, even when the image file is transmitted to an external device other than the electronic device 100 , deep feature information of the image may be maintained in the external device. Accordingly, another device can classify or search for an image by using the deep feature information of the image, and when the feature extraction model and the classification model exist in the first electronic device and the second electronic device, respectively, the first electronic device Images may be classified in the second electronic device by using the deep features of the images extracted from .

일 실시예에 따른 전자 장치(100)는 복수의 이미지들에 대한 딥 피쳐들 및 분류 모델에 기초하여, 복수의 이미지들을 분류할 수 있다(S230).The electronic device 100 according to an embodiment may classify the plurality of images based on the deep features and the classification model of the plurality of images ( S230 ).

분류 모델은, 신경망(Neural Network)을 기반으로 하는 모델일 수 있다. 예를 들어, DNN(Deep Neural Network), CNN(Convolutional Neural Network) RNN(Recurrent Neural Network), BRDNN(Bidirectional Recurrent Deep Neural Network)과 같은 모델이 분류 모델로 사용될 수 있으나, 이에 한정되지 않는다. 또한, 초기의 분류 모델은, 범용 데이터를 이용하여 학습된 모델일 수 있다. 분류 모델은 복수의 이미지들에 대한 딥 피쳐들의 유사도에 기초하여, 복수의 이미지들을 소정의 그룹으로 분류할 수 있다. 이때, 딥 피쳐들의 유사도는, 딥 피쳐들로 추출된 벡터들 사이의 거리로 나타날 수 있다.The classification model may be a model based on a neural network. For example, a model such as a Deep Neural Network (DNN), a Convolutional Neural Network (CNN), a Recurrent Neural Network (RNN), or a Bidirectional Recurrent Deep Neural Network (BRDNN) may be used as the classification model, but is not limited thereto. Also, the initial classification model may be a model learned using general-purpose data. The classification model may classify the plurality of images into a predetermined group based on the similarity of the deep features to the plurality of images. In this case, the similarity of the deep features may be expressed as a distance between vectors extracted as the deep features.

또한, 일 실시예에 따른 전자 장치(100)는 복수의 이미지들이 분류된 결과를 표시할 수 있다.Also, the electronic device 100 according to an embodiment may display a result of classification of a plurality of images.

일 실시예에 따른 전자 장치(100)는 복수의 이미지들이 분류된 결과를 이용하여, 특징 추출 모델 및 분류 모델의 업데이트가 필요한지 여부를 판단할 수 있다(S235).The electronic device 100 according to an embodiment may determine whether the feature extraction model and the classification model need to be updated by using a result of the classification of a plurality of images ( S235 ).

예를 들어, 전자 장치(100)는 복수의 이미지들이 분류된 그룹들 각각에 포함되는 이미지들 개수의 밸런스에 기초하여 특징 추출 모델 및 분류 모델의 업데이트 필요 여부를 판단할 수 있다. 분류 결과, 특정 그룹에만 이미지들이 포함되고, 나머지 그룹들에는 이미지가 포함되지 않거나 기 설정된 개수 미만의 이미지가 포함되는 경우, 전자 장치(100)는 특징 추출 모델 및 분류 모델의 업데이트가 필요한 것으로 판단할 수 있다. 반면에 분류 결과, 소정의 그룹들에 기 설정된 개수 이상의 이미지들이 포함되는 경우, 전자 장치(100)는 특징 추출 모델 및 분류 모델의 업데이트가 필요하지 않은 것으로 판단할 수 있다. 다만, 이에 한정되지 않으며, 특징 추출 모델 및 분류 모델의 업데이트 필요 여부는 다양한 기준에 따라 판단될 수 있다.For example, the electronic device 100 may determine whether to update the feature extraction model and the classification model based on the balance of the number of images included in each of the groups into which the plurality of images are classified. As a result of the classification, when images are included in only a specific group and the remaining groups do not include images or contain less than a preset number of images, the electronic device 100 determines that the feature extraction model and the classification model need to be updated. can On the other hand, as a result of the classification, when a predetermined number or more of images are included in the predetermined groups, the electronic device 100 may determine that the update of the feature extraction model and the classification model is not required. However, the present invention is not limited thereto, and whether the feature extraction model and the classification model need to be updated may be determined according to various criteria.

일 실시예에 따른 전자 장치(100)는 특징 추출 모델 및 분류 모델의 업데이트가 필요한 것으로 판단되는 경우, 특징 추출 모델 및 분류 모델 중 적어도 하나를 학습시켜, 업데이트할 수 있다(S240).When it is determined that the update of the feature extraction model and the classification model is required, the electronic device 100 according to an embodiment may learn and update at least one of the feature extraction model and the classification model ( S240 ).

일 실시예에 따른 전자 장치(100)는 사용자 데이터(예를 들어, 복수의 사용자 이미지들)를 이용하여, 특징 추출 모델 및 분류 모델 중 적어도 하나를 재 학습시켜, 업데이트할 수 있다. 특징 추출 모델 및 분류 모델 업데이트 시, 사용자 데이터를 활용하므로, 사용자 데이터에 적합하도록 특징 추출 모델 및 분류 모델이 업데이트될 수 있다.The electronic device 100 according to an embodiment may re-learn and update at least one of a feature extraction model and a classification model using user data (eg, a plurality of user images). When the feature extraction model and the classification model are updated, since user data is utilized, the feature extraction model and the classification model may be updated to suit the user data.

일 실시예에 따른 전자 장치(100)는 주기적으로 또는 사용자의 요청이 있는 경우에 특징 추출 모델 및 분류 모델 중 적어도 하나를 업데이트할 수 있다. 또는, 전자 장치(100)가 기 설정된 상태인 경우, 특징 추출 모델 및 분류 모델 중 적어도 하나를 업데이트할 수 있다. 예를 들어, 전자 장치(100)가 대기 모드로 진입하거나 충전 상태인 경우, 또는, 전자 장치(100)가 와이-파이(Wi-Fi) 네트워크에 연결된 상태인 경우, 특징 추출 모델 및 분류 모델 중 적어도 하나를 업데이트할 수 있다. 다만, 이에 한정되지 않는다.The electronic device 100 according to an embodiment may update at least one of a feature extraction model and a classification model periodically or upon a user's request. Alternatively, when the electronic device 100 is in a preset state, at least one of a feature extraction model and a classification model may be updated. For example, when the electronic device 100 enters a standby mode or is in a charging state, or when the electronic device 100 is connected to a Wi-Fi network, one of a feature extraction model and a classification model At least one can be updated. However, the present invention is not limited thereto.

일 실시예에 따른 전자 장치(100)는 학습으로 업데이트된 특징 추출 모델 및 분류 모델을 이용하여, 획득된 복수의 이미지들의 딥 피쳐들을 추출하고, 복수의 이미지들을 분류할 수 있다. 또한, 전자 장치(100)는 기 분류된 복수의 이미지들의 딥 피쳐들을 재 추출할 수 있다. 이에 따라, 기 분류된 복수의 이미지들의 딥 피쳐 정보는 갱신되거나 추가될 수 있다. 또한, 전자 장치(100)는 재 추출된 딥 피쳐들에 기초하여, 복수의 이미지들을 재 분류할 수 있다.The electronic device 100 according to an embodiment may extract deep features of a plurality of acquired images and classify the plurality of images by using the feature extraction model and the classification model updated through learning. Also, the electronic device 100 may re-extract deep features of a plurality of pre-classified images. Accordingly, deep feature information of a plurality of pre-classified images may be updated or added. Also, the electronic device 100 may reclassify the plurality of images based on the re-extracted deep features.

도 3은 일 실시예에 따른 이미지의 딥 피쳐 추출 방법을 설명하기 위해 참조되는 도면이다.3 is a diagram referenced to describe a method for extracting deep features of an image according to an exemplary embodiment.

일 실시예에 따른 이미지의 딥 피쳐는, 이미지를 적어도 하나의 신경망(Neural Network)에 입력하여, 적어도 하나의 신경망에 포함되는 적어도 하나의 층(layer)에서 추출된 벡터를 포함할 수 있다.The deep feature of the image according to an embodiment may include a vector extracted from at least one layer included in at least one neural network by inputting the image to at least one neural network.

도 3의 (a)를 참조하면, 일 실시예에 따른, 전자 장치(100)는 이미지를 서로 다른 종류의 신경망에 입력하여, 이미지에 대한 복수의 딥 피쳐들을 추출할 수 있다. 예를 들어, 이미지를 제1 신경망(310)에 입력하여, 제1 신경망(310)의 n번째 층(n-th layer)에서 제1 딥 피쳐(deep feature 1)를 추출하고, 이미지를 제2 신경망(320)에 입력하여, 제2 신경망(320)의 n번째 층(n-th layer)에서 제2 딥 피쳐(deep feature 2)를 추출하며, 이미지를 제3 신경망(330)에 입력하여, 제3 신경망의 n번째 층(n-th layer)에서 제3 딥 피쳐(deep feature 3)를 추출할 수 있다.Referring to FIG. 3A , according to an embodiment, the electronic device 100 may extract a plurality of deep features of an image by inputting images into different types of neural networks. For example, by inputting an image to the first neural network 310 , extracting a first deep feature 1 from an n-th layer of the first neural network 310 , and extracting the image to the second Input to the neural network 320, extract the second deep feature 2 from the n-th layer of the second neural network 320, and input the image to the third neural network 330, A third deep feature 3 may be extracted from an n-th layer of the third neural network.

또한, 도 3의 (b)를 참조하면, 일 실시예에 따른 전자 장치(100)는 이미지를 하나의 신경망에 입력하여, 하나의 신경망에 포함되는 서로 다른 서브 망(sub network)에서 이미지에 대한 복수의 딥 피쳐들을 추출할 수 있다. 예를 들어, 이미지를 제1 서브 망(340) 및 제2 서브 망(350)을 포함하는 신경망에 입력하고, 제1 서브 망(340)의 n번째 층에서 제1 딥 피쳐(deep feature 1)를 추출하고, 제2 서브 망(350)의 n번째 층에서 제2 딥 피쳐(deep feature 2)를 추출할 수 있다.Also, referring to FIG. 3B , the electronic device 100 according to an embodiment inputs an image to one neural network, and provides information about the image in different sub-networks included in one neural network. A plurality of deep features may be extracted. For example, an image is input to a neural network including a first sub-network 340 and a second sub-network 350, and a first deep feature 1 in the n-th layer of the first sub-network 340 , and a second deep feature 2 may be extracted from the n-th layer of the second sub-network 350 .

또한, 도 3의 (c)를 참조하면, 일 실시예에 따른 전자 장치(100)는 이미지를 하나의 신경망에 입력하여, 서로 다른 층에서 이미지에 대한 복수의 딥 피쳐를 추출할 수 있다. 예를 들어, 이미지를 하나의 신경망에 입력하여, 하나의 신경망의 n번째 층에서 제1 딥 피쳐(deep feature 1)를 추출하고, m번째 층에서 제2 딥 피쳐(deep feature 2)를 추출할 수 있다.Also, referring to FIG. 3C , the electronic device 100 according to an embodiment may input an image into one neural network and extract a plurality of deep features of the image from different layers. For example, by inputting an image into one neural network, the first deep feature 1 is extracted from the n-th layer of one neural network, and the second deep feature 2 is extracted from the m-th layer. can

전자 장치(100)는 추출된 딥 피쳐를, 딥 피쳐를 추출한 신경망 정보, 신경망의 층(layer) 정보, 서브 망 정보와 함께 저장할 수 있다. 일 실시예에 따른 전자 장치(100)는 동일한 신경망에서 추출된 딥 피쳐들을 이용하여, 복수의 이미지들을 분류하거나 이미지를 검색할 수 있다.The electronic device 100 may store the extracted deep feature together with neural network information from which the deep feature is extracted, neural network layer information, and sub-network information. The electronic device 100 according to an embodiment may classify a plurality of images or search for images by using deep features extracted from the same neural network.

도 4는 일 실시예에 따른 전자 장치가 범용 데이터를 이용하여 학습된 특징 추출 모델 및 분류 모델을 이용하여, 복수의 이미지들을 분류한 결과를 나타내는 도면이다.4 is a diagram illustrating a result of an electronic device classifying a plurality of images using a feature extraction model and a classification model learned using general-purpose data, according to an embodiment.

도 4를 참조하면, 일 실시예에 따른 전자 장치(100)는 복수의 이미지들을 획득할 수 있다. 예를 들어, 도 4에 도시된 바와 같이, 전자 장치(100)는 제1 내지 제10 이미지들(A1, A2, A3, A4, A5, A6, A7, A8, A9, A10)을 획득할 수 있다. 전자 장치(100)는 획득한 복수의 이미지들을 특징 추출 모델 및 분류 모델을 이용하여, 소정의 그룹으로 분류할 수 있다. 이때, 이용되는 특징 추출 모델 및 분류 모델은 범용 데이터를 이용하여 기 학습된 모델들일 수 있다. 예를 들어, 특징 추출 모델 및 분류 모델은, 복수의 이미지들을 '사람', '개', '풍경', '문서', '음식', '도로' 6개의 카테고리로 분류하도록 학습된 모델들 일 수 있으나, 이에 한정되지 않는다. 예를 들어, 분류되는 카테고리의 종류 및 개수는 특징 추출 모델 및 분류 모델이 학습에 의해 결정하거나, 사용자 입력에 기초하여 설정될 수 있다.Referring to FIG. 4 , the electronic device 100 according to an embodiment may acquire a plurality of images. For example, as shown in FIG. 4 , the electronic device 100 may acquire first to tenth images A1, A2, A3, A4, A5, A6, A7, A8, A9, and A10. have. The electronic device 100 may classify the plurality of acquired images into a predetermined group by using the feature extraction model and the classification model. In this case, the feature extraction model and classification model used may be pre-trained models using general-purpose data. For example, the feature extraction model and classification model are models trained to classify a plurality of images into six categories: 'person', 'dog', 'landscape', 'document', 'food', and 'road'. However, the present invention is not limited thereto. For example, the type and number of categories to be classified may be determined by learning the feature extraction model and the classification model, or may be set based on a user input.

전자 장치(100)가 특징 추출 모델 및 분류 모델을 이용하여, 복수의 이미지들을 분류하는 경우, 제1 내지 5 이미지(A1, A2, A3, A4, A5), 제7 내지 제8 이미지(A7, A8), 제10 이미지(A10)를 '개'의 카테고리로, 제6 이미지(A6), 제 9 이미지(A10)를 '사람'의 카테고리로 분류될 수 있다. 범용 데이터를 이용하여 학습된 특징 추출 모델 및 분류 모델에 따라 복수의 이미지들을 분류하는 경우, 실질적으로 '개'와 '사람' 카테고리만 사용되고, '풍경', '음식', '도로', '문서' 등의 카테고리는 사용하지 않게 된다. 이에 따라, '풍경', '음식', '도로', '문서' 와 관련된 이미지는 사용하지 않고, '개'와 '사람'과 관련된 이미지만을 주로 사용하는 사용자의 경우, 범용 데이터에 의해 학습된 특징 추출 모델 및 분류 모델에 대한 체감 성능이 감소하게 된다.When the electronic device 100 classifies a plurality of images using the feature extraction model and the classification model, first to fifth images A1, A2, A3, A4, A5, seventh to eighth images A7, A8), the tenth image A10 may be classified into a category of 'dog', and the sixth image A6 and ninth image A10 may be classified into a category of 'person'. When classifying a plurality of images according to the feature extraction model and classification model learned using general data, only the 'dog' and 'person' categories are actually used, and 'landscape', 'food', 'road', 'document' Categories such as ' will not be used. Accordingly, for users who do not use images related to 'landscape', 'food', 'road', and 'document', but mainly use images related to 'dogs' and 'people', The perceptual performance of the feature extraction model and the classification model is reduced.

도 5는 일 실시예에 따른 전자 장치가 업데이트된 특징 추출 모델 및 분류 모델을 이용하여, 복수의 이미지들을 분류한 결과를 나타내는 도면이다.5 is a diagram illustrating a result of classifying a plurality of images by using an updated feature extraction model and a classification model by an electronic device according to an exemplary embodiment;

일 실시예에 따른 전자 장치(100)는 사용자 이미지들을 이용하여, 특징 추출 모델 및 분류 모델 중 적어도 하나를 학습시켜 업데이트시킬 수 있다. 예를 들어, 전자 장치(100)는, 도 4의 제1 내지 제10 이미지들(A1 내지 A10)의 분류 결과를 이용하여, 특징 추출 모델 및 분류 모델의 업데이트 필요 여부를 판단할 수 있다. 또한, 전자 장치(100)는 사용자 이미지들을 이용하여, 특징 추출 모델 및 분류 모델 중 적어도 하나를 학습시켜 업데이트시킬 수 있다. The electronic device 100 according to an embodiment may learn and update at least one of a feature extraction model and a classification model using user images. For example, the electronic device 100 may determine whether the feature extraction model and the classification model need to be updated by using the classification results of the first to tenth images A1 to A10 of FIG. 4 . Also, the electronic device 100 may learn and update at least one of a feature extraction model and a classification model using user images.

도 5를 참조하면, 전자 장치(100)는 업데이트된 특징 추출 모델 및 분류 모델을 이용하여, 기 분류된 이미지들을 재 분류할 수 있다. 예를 들어, 업데이트된 특징 추출 모델 및 분류 모델을 이용하여 복수의 이미지들(제1 내지 제10 이미지들(A1 내지 A10))을 분류한 결과, 제1 이미지(A1), 제2 이미지(A2), 제8 이미지(A8)는 제1 그룹으로, 제3 이미지(A3), 제4 이미지(A4), 제6 이미지(A6) 및 제9 이미지(A9)는 제2 그룹으로, 제 5 이미지(A5) 및 제9 이미지(A9)는 제3 그룹으로, 제5 이미지(A5), 제7 이미지(A7) 및 제10 이미지(A10)는 제4 그룹으로, 제6 내지 제8 이미지(A6 내지 A8) 및 제10 이미지(A10)는 제5 그룹으로, 제1 내지 제5 이미지(A1 내지 A5) 및 제9 이미지(A9)는 제6 그룹으로 분류될 수 있다. 이때, 이미지들은 복수의 그룹에 중복되어 분류될 수 있다.Referring to FIG. 5 , the electronic device 100 may reclassify pre-classified images by using the updated feature extraction model and classification model. For example, as a result of classifying a plurality of images (first to tenth images A1 to A10) using the updated feature extraction model and classification model, the first image A1 and the second image A2 ), the eighth image (A8) is the first group, the third image (A3), the fourth image (A4), the sixth image (A6), and the ninth image (A9) are the second group, and the fifth image (A5) and the ninth image (A9) are the third group, the fifth image (A5), the seventh image (A7), and the tenth image (A10) are the fourth group, and the sixth to eighth images (A6) to A8) and tenth images A10 may be classified into a fifth group, and first to fifth images A1 to A5 and ninth images A9 may be classified into a sixth group. In this case, the images may be classified as being overlapped in a plurality of groups.

도 4의 분류 결과와 비교해보면, 도 4에서는 2개의 그룹으로 분류된 것에 비해, 도 5에서는 6개의 그룹으로 분류될 수 있다. 범용 데이터에 기초하여 학습된 특징 추출 모델 및 분류 모델에 비하여, 사용자의 데이터에 기초하여 학습된 특징 추출 모델 및 분류 모델은, 사용자 이미지들을 더 다양하게 분류할 수 있다.Compared with the classification result of FIG. 4 , the classification result may be classified into six groups in FIG. 5 , compared to two groups in FIG. 4 . Compared to the feature extraction model and classification model learned based on general-purpose data, the feature extraction model and classification model learned based on user data may classify user images more diversely.

또한, 전자 장치(100)는 복수의 이미지들이 분류된 그룹들의 그룹명을 자동으로 또는, 사용자 입력에 기초하여, 생성할 수 있다. 전자 장치(100)는 언어 모델을 이용하여, 그룹들의 그룹명을 자동으로 생성할 수 있다. 전자 장치(100)는 언어 모델에서의 키워드들 사이의 유사도와, 이미지들의 딥 피쳐들 사이의 유사도를 비교하여, 이미지에 대응하는 키워드를 검출할 수 있다.Also, the electronic device 100 may automatically generate group names of groups into which a plurality of images are classified, or based on a user input. The electronic device 100 may automatically generate group names of groups by using the language model. The electronic device 100 may detect a keyword corresponding to the image by comparing the similarity between keywords in the language model and the similarity between deep features of the images.

예를 들어, 제1 그룹에 대해 "Beagle"이라는 키워드(또는 태그(tag))가 지정된 경우, 제1 그룹의 그룹명은 "Beagle"로 설정될 수 있다. 이때, 언어 모델을 이용하여, "Beagle"과, 제1 그룹에 포함되는 이미지의 딥 피쳐와 제2 그룹에 포함되는 이미지의 딥 피쳐 사이의 유사도(딥 피쳐들 사이의 거리)를 가지는 제2 키워드를 결정할 수 있다. 결정된 제2 키워드는 제2 그룹에 대한 그룹명으로 지정될 수 있다. 또는, 전자 장치(100)는 도 4에서, 제1 그룹, 제2 그룹 및 제3 그룹이 "개"에 대응하는 그룹이라는 정보에 기초하여, 제1 그룹, 제2 그룹 및 제3 그룹에 대응하는 그룹명을 설정할 수 있다. 예를 들어, 전자 장치(100)는 제1 그룹에 포함되는 이미지의 딥 피쳐, 제2 그룹에 포함되는 이미지의 딥 피쳐 및 제3 그룹에 포함되는 이미지의 딥 피쳐들 사이의 유사도와 언어 모델에서, "개"의 하위 키워드들 사이의 유사도를 비교하여, 제1 그룹에 포함되는 이미지의 딥 피쳐, 제2 그룹에 포함되는 이미지의 딥 피쳐 및 제3 그룹에 포함되는 이미지의 딥 피쳐들 각각에 대응하는 키워드를 결정할 수 있다. 전자 장치(100)는 키워드들이 결정되면, 결정된 키워드들을 해당 그룹의 그룹명으로 지정할 수 있다. 이에 따라, 제1 그룹은 "Beagle", 제2 그룹은 "Poodle"로, 제3 그룹은 "Anny"로, 제4 그룹은 "Golden Retriever"로, 제5 그룹은 "Indoor"로, 제6 그룹은 "Outdoor"로 그룹명이 생성될 수 있다. 또한, 전자 장치(100)는 그룹들 각각에 대응하는 폴더를 생성하고, 동일한 그룹으로 분류된 이미지들을 동일한 폴더에 저장할 수 있다. 또한, 전자 장치(100)는 그룹에 포함되는 이미지들 각각에 대응하는 키워드들도 결정할 수 있다.For example, when a keyword (or tag) of “Beagle” is designated for the first group, the group name of the first group may be set to “Beagle”. At this time, using the language model, "Beagle" and a second keyword having a similarity (distance between deep features) between the deep feature of the image included in the first group and the deep feature of the image included in the second group can be decided The determined second keyword may be designated as a group name for the second group. Alternatively, the electronic device 100 may correspond to the first group, the second group, and the third group based on information that the first group, the second group, and the third group are groups corresponding to “dogs” in FIG. 4 . group name can be set. For example, the electronic device 100 determines the similarity and language model between the deep features of the image included in the first group, the deep features of the image included in the second group, and the deep features of the image included in the third group. By comparing the similarity between the sub-keywords of , "dog", the deep features of the image included in the first group, the deep features of the image included in the second group, and the deep features of the image included in the third group, respectively. A corresponding keyword may be determined. When keywords are determined, the electronic device 100 may designate the determined keywords as a group name of a corresponding group. Accordingly, the first group is "Beagle", the second group is "Poodle", the third group is "Anny", the fourth group is "Golden Retriever", the fifth group is "Indoor", and the sixth group is "Poodle". The group may be created with a group name of “Outdoor”. Also, the electronic device 100 may create a folder corresponding to each of the groups and store images classified into the same group in the same folder. Also, the electronic device 100 may determine keywords corresponding to each of the images included in the group.

도 6은 일 실시시예 따라 사용자 데이터를 이용하여 학습된 특징 추출 모델 및 분류 모델이 복수의 이미지를 분류하는 방법을 설명하기 위해 참조되는 도면이다.6 is a diagram referenced to describe a method of classifying a plurality of images by a feature extraction model and a classification model learned using user data according to an embodiment.

도 6의 (a)는 제1 사용자의 데이터를 이용하여 학습된 특징 추출 모델 및 분류 모델이 복수의 이미지들을 분류한 결과를 나타내는 도면이다.6A is a diagram illustrating a result of classifying a plurality of images by a feature extraction model and a classification model learned using data of a first user.

도 6의 (a)를 참조하면, 제1 사용자의 이미지들은 제1 내지 제11 이미지들(B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11)을 포함할 수 있다. 이때, 제1 사용자의 이미지들은 제1 사용자 디바이스에서 획득된 이미지들이며, 제1 사용자 디바이스에 저장된 이미지들, 제1 사용자 디바이스에서 촬영된 이미지들 또는 외부 디바이스로부터 수신한 이미지들일 수 있다.Referring to FIG. 6A , the images of the first user may include first to eleventh images B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, and B11. have. In this case, the images of the first user are images obtained from the first user device, and may be images stored in the first user device, images captured by the first user device, or images received from an external device.

일 실시예에 따른 제1 사용자 디바이스는, 제1 특징 추출 모델 및 제1 분류 모델을 이용하여, 제1 사용자 이미지들(B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11)을 소정의 그룹으로 분류할 수 있다. 제1 특징 추출 모델 및 제1 분류 모델은 제1 사용자 이미지들을 이용하여 학습된 특징 추출 모델 및 분류 모델일 수 있다.The first user device according to an embodiment uses a first feature extraction model and a first classification model to obtain the first user images B1, B2, B3, B4, B5, B6, B7, B8, B9, B10. , B11) can be classified into a predetermined group. The first feature extraction model and the first classification model may be a feature extraction model and a classification model learned using the first user images.

제1 특징 추출 모델은 제1 사용자 이미지들 각각의 딥 피쳐를 추출하고, 제1 분류 모델은 제1 사용자 이미지들 각각의 딥 피쳐에 기초하여, 제1 사용자 이미지들을 소정의 그룹으로 분류할 수 있다. 이때, 제1 사용자 이미지들이 분류되는 소정의 그룹의 종류나 개수는 제1 특징 추출 모델 및 제1 분류 모델이 사용자 데이터에 기초한 학습에 의해 결정하거나, 사용자 입력에 기초하여 설정될 수 있다. 예를 들어, 제1 사용자 이미지들 중 제1 및 제2 이미지들(B1, B2)은 제1 그룹으로, 제7 및 제8 이미지들(B7, B8)은 제2 그룹으로, 제3, 제6, 및 제9 이미지들(B3, B6, B9)은 제3 그룹으로, 제10 및 제11 이미지들(B10, B11)은 제4 그룹으로, 제4 및 제5 이미지들(B4, B5)은 제5 그룹으로, 제3 및 제9 이미지들(B3, B9)은 제6 그룹으로 분류될 수 있다. The first feature extraction model may extract a deep feature of each of the first user images, and the first classification model may classify the first user images into a predetermined group based on the deep features of each of the first user images. . In this case, the type or number of predetermined groups into which the first user images are classified may be determined by learning the first feature extraction model and the first classification model based on user data, or may be set based on a user input. For example, among the first user images, the first and second images B1 and B2 are the first group, the seventh and eighth images B7 and B8 are the second group, and the third and third The sixth and ninth images B3, B6, and B9 are a third group, the tenth and eleventh images B10 and B11 are a fourth group, and the fourth and fifth images B4 and B5 are may be classified into a fifth group, and the third and ninth images B3 and B9 may be classified into a sixth group.

또한, 제1 사용자 디바이스는 복수의 이미지들이 분류된 그룹들의 그룹명을 자동으로 또는, 사용자 입력에 기초하여, 생성할 수 있다. 예를 들어, 제1 사용자 디바이스는 분류된 그룹들에 포함되는 이미지들의 딥 피쳐 정보와 언어 모델을 이용하여, 그룹명 또는 키워드를 자동으로 생성할 수 있다.Also, the first user device may automatically generate group names of groups into which a plurality of images are classified, or based on a user input. For example, the first user device may automatically generate a group name or keyword by using deep feature information and language models of images included in the classified groups.

예를 들어, 제1 그룹은 "음식", 제2 그룹은 "개"로, 제3 그룹은 "풍경"으로, 제4 그룹은 "사람"으로, 제5 그룹은 "문서"로, 제6 그룹은 "도로"로 그룹명이 생성될 수 있다.For example, group 1 is "food", group 2 is "dogs", group 3 is "landscape", group 4 is "people", group 5 is "documents", group 6 is A group may be created with a group name of "road".

도 6의 (b)는 제2 사용자의 데이터를 이용하여 학습된 특징 추출 모델 및 분류 모델이 복수의 이미지들을 분류한 결과를 나타내는 도면이다.FIG. 6B is a diagram illustrating a result of classifying a plurality of images by a feature extraction model and a classification model learned using data of a second user.

도 6의 (b)를 참조하면, 제2 사용자의 이미지들은 제1 내지 제11 이미지들(C1, C2, C3, C4, C5, C6, C7, C8, C9, C10, C11)을 포함할 수 있다. 이때, 제2 사용자의 이미지들은 제2 사용자 디바이스에서 획득된 이미지들이며, 제2 사용자 디바이스에 저장된 이미지들, 제2 사용자 디바이스에서 촬영된 이미지들 또는 외부 디바이스로부터 수신한 이미지들일 수 있다.Referring to FIG. 6B , the images of the second user may include first to eleventh images C1, C2, C3, C4, C5, C6, C7, C8, C9, C10, and C11. have. In this case, the images of the second user are images obtained from the second user device, and may be images stored in the second user device, images captured by the second user device, or images received from an external device.

일 실시예에 따른 제2 사용자 디바이스는, 제2 특징 추출 모델 및 제2 분류 모델을 이용하여, 제2 사용자 이미지들(C1, C2, C3, C4, C5, C6, C7, C8, C9, C10, C11)을 소정의 그룹으로 분류할 수 있다. 제2 특징 추출 모델 및 제2 분류 모델은 제2 사용자 이미지들을 이용하여 학습된 특징 추출 모델 및 분류 모델일 수 있다.The second user device according to an embodiment uses the second feature extraction model and the second classification model to obtain the second user images C1, C2, C3, C4, C5, C6, C7, C8, C9, C10. , C11) can be classified into a predetermined group. The second feature extraction model and the second classification model may be a feature extraction model and a classification model learned using the second user images.

제2 특징 추출 모델은 제2 사용자 이미지들 각각의 딥 피쳐를 추출하고, 제2 분류 모델은 제2 사용자 이미지들 각각의 딥 피쳐에 기초하여, 제2 사용자 이미지들을 소정의 그룹으로 분류할 수 있다. 이때, 제2 사용자 이미지들이 분류되는 소정의 그룹의 종류나 개수는 제2 특징 추출 모델 및 제2 분류 모델이 사용자 데이터에 기초한 학습에 의해 결정하거나, 사용자 입력에 기초하여 설정될 수 있다. 예를 들어, 제2 사용자 이미지들 중 제1, 제3, 및 제7 이미지들(C1, C3, C7)은 제1 그룹으로, 제2 및 제9 이미지들(C2, C9)은 제2 그룹으로, 제3 및 제6 이미지들(C3, C6)은 제3 그룹으로, 제4 및 제5 이미지들(C4, C5)은 제4 그룹으로, 제7 및 제8 이미지들(C7, C8)은 제5 그룹으로, 제10 및 제11 이미지들(C10, C11)은 제6 그룹으로, 제1, 제5 및 제11 이미지들(C1, C5, C11)은 제7 그룹으로 분류될 수 있다. The second feature extraction model may extract deep features of each of the second user images, and the second classification model may classify the second user images into predetermined groups based on the deep features of each of the second user images. . In this case, the type or number of predetermined groups into which the second user images are classified may be determined by learning the second feature extraction model and the second classification model based on user data, or may be set based on a user input. For example, among the second user images, the first, third, and seventh images C1, C3, and C7 are in a first group, and the second and ninth images C2 and C9 are in the second group. , the third and sixth images C3 and C6 are the third group, the fourth and fifth images C4 and C5 are the fourth group, and the seventh and eighth images C7 and C8 are may be classified into a fifth group, the tenth and eleventh images C10 and C11 may be classified into a sixth group, and the first, fifth, and eleventh images C1, C5, and C11 may be classified into a seventh group. .

또한, 제2 사용자 디바이스는 복수의 이미지들이 분류된 그룹들의 그룹명을 자동으로 또는, 사용자 입력에 기초하여, 생성할 수 있다. 제2 사용자 디바이스는 분류된 그룹들에 포함되는 이미지들의 딥 피쳐 정보와 언어 모델을 이용하여, 그룹명 또는 키워드를 자동으로 생성할 수 있다.Also, the second user device may automatically generate group names of groups into which a plurality of images are classified, or based on a user input. The second user device may automatically generate a group name or keyword by using the deep feature information and language model of images included in the classified groups.

예를 들어, 제1 그룹은 "도로"로, 제2 그룹은 "강"으로, 제3 그룹은 "한옥"으로, 제4 그룹은 "해변"으로, 제5 그룹은 "숲"으로, 제6 그룹은 "빌딩"으로, 제7 그룹은 "하늘"로 그룹명이 생성될 수 있다.For example, the first group is “road”, the second group is “river”, the third group is “hanok”, the fourth group is “beach”, the fifth group is “forest”, A group name may be created for the 6th group as “building” and the 7th group as “sky”.

도 6의 (a) 및 (b)에서 설명한 바와 같이, 일 실시예에 따른 특징 추출 모델 및 분류 모델은 사용자 데이터를 이용하여 학습되고 업데이트될 수 있다.As described with reference to FIGS. 6A and 6B , the feature extraction model and the classification model according to an embodiment may be learned and updated using user data.

일 실시예에 따른 업데이트된 특징 추출 모델 및 분류 모델은 기 분류된 그룹 중 제1 그룹에 포함되는 복수의 이미지들을 2개 이상의 그룹으로 재 분류하거나, 기 분류된 그룹 중 제1 그룹 및 제2 그룹에 포함되는 복수의 이미지들을 동일한 그룹으로 재 분류할 수 있다. 예를 들어, 제1 사용자 이미지들에 최적화된 제1 특징 추출 모델 및 제1 분류 모델은 이미지 B3 및 이미지 B6을 동일한 그룹("풍경" 그룹)으로 분류할 수 있다. 반면에, 제2 사용자 이미지들에 최적화된 제2 특징 추출 모델 및 제2 분류 모델은 이미지 B3와 동일한 이미지 C1 및 이미지 B6와 동일한 이미지 C5를 서로 다른 그룹("도로" 그룹과 "해변" 그룹)으로 분류할 수 있다.The updated feature extraction model and classification model according to an embodiment may reclassify a plurality of images included in a first group among pre-classified groups into two or more groups, or a first group and a second group among pre-classified groups. It is possible to reclassify a plurality of images included in the same group. For example, the first feature extraction model and the first classification model optimized for the first user images may classify the images B3 and B6 into the same group (“landscape” group). On the other hand, the second feature extraction model and the second classification model, which are optimized for the second user images, assign the same image C1 as image B3 and image C5 identical to image B6 to different groups (“road” group and “beach” group). can be classified as

이에 따라, 일 실시예에 따른 전자 장치(100)는 사용자 별로 최적화된 특징 추출 모델 및 분류 모델을 제공할 수 있어, 복수의 이미지들을 동일한 분류 기준으로 분류하는 것이 아닌 사용자 별로 최적화된 분류 기준으로 복수의 이미지들을 분류할 수 있다.Accordingly, the electronic device 100 according to an embodiment may provide a feature extraction model and a classification model optimized for each user, so that a plurality of images are classified based on a classification criterion optimized for each user rather than classifying a plurality of images by the same classification criterion. images can be classified.

도 7A는 일 실시예에 따른 서버와 전자 장치의 동작 방법을 나타내는 흐름도이다.7A is a flowchart illustrating a method of operating a server and an electronic device according to an exemplary embodiment.

도 7을 참조하면, 서버(200)는 범용 데이터를 이용하여 특징 추출 모델 및 분류 모델을 학습할 수 있다(S710).Referring to FIG. 7 , the server 200 may learn a feature extraction model and a classification model using general-purpose data ( S710 ).

예를 들어, 서버(200)는 범용 데이터에 기초하여, 이미지들을 어떻게 분류할 지에 대한 기준을 학습할 수 있다. 서버(200)는 범용 데이터에 기초하여, 복수의 이미지들의 딥 피쳐들을 추출하는 기준을 학습할 수 있다. 또한, 서버(200)는 복수의 이미지들에 대한 딥 피쳐들의 유사도에 기초하여, 복수의 이미지들을 소정의 그룹으로 분류하도록 학습할 수 있다.For example, the server 200 may learn a criterion for how to classify images based on general data. The server 200 may learn a criterion for extracting deep features of a plurality of images based on general data. Also, the server 200 may learn to classify the plurality of images into a predetermined group based on the similarity of the deep features to the plurality of images.

전자 장치(100)는 서버(200)로부터 특징 추출 모델 및 분류 모델을 수신할 수 있다(S720).The electronic device 100 may receive a feature extraction model and a classification model from the server 200 (S720).

전자 장치(100)는 복수의 이미지들을 획득할 수 있다(S730).The electronic device 100 may acquire a plurality of images (S730).

전자 장치(100)는 서버로부터 수신한 특징 추출 모델을 이용하여, 복수의 이미지들에 대한 딥 피쳐들을 추출할 수 있다(S740).The electronic device 100 may extract deep features for a plurality of images by using the feature extraction model received from the server (S740).

전자 장치(100)는 추출된 딥 피쳐들 및 서버(200)로부터 수신한 분류 모델에 기초하여, 복수의 이미지들을 분류할 수 있다(S750).The electronic device 100 may classify the plurality of images based on the extracted deep features and the classification model received from the server 200 ( S750 ).

단계 730(S730) 내지 단계 750(S750)들은 도 2의 단계 210(S210) 내지 단계 230(S230)들에 각각 대응할 수 있다.Steps 730 ( S730 ) to 750 ( S750 ) may respectively correspond to steps 210 ( S210 ) to 230 ( S230 ) of FIG. 2 .

전자 장치(100)는 서버(200)로 복수의 이미지들이 분류된 결과를 전송할 수 있다(S760).The electronic device 100 may transmit a result obtained by classifying a plurality of images to the server 200 (S760).

서버(200)는 전자 장치(100)로부터 수신한 분류 결과를 이용하여, 특징 추출 모델 및 분류 모델의 업데이트 필요 여부를 판단하고, 특징 추출 모델 및 분류 모델 중 적어도 하나를 학습시켜 업데이트 할 수 있다(S770).The server 200 may use the classification result received from the electronic device 100 to determine whether the feature extraction model and the classification model need to be updated, and may update by learning at least one of the feature extraction model and the classification model ( S770).

전자 장치(100)는 서버(200)로부터 학습되어 업데이트된 특징 추출 모델 및 분류 모델을 수신할 수 있다(S780).The electronic device 100 may receive the updated feature extraction model and classification model learned from the server 200 (S780).

전자 장치(100)는 업데이트된 특징 추출 모델 및 분류 모델을 이용하여, 복수의 이미지들을 분류할 수 있다(S790).The electronic device 100 may classify a plurality of images by using the updated feature extraction model and classification model (S790).

또한, 전자 장치(100)는 기 분류된 복수의 이미지들의 딥 피쳐들을 재 추출하고, 재 추출된 딥 피쳐들에 기초하여, 복수의 이미지들을 재 분류할 수 있다.Also, the electronic device 100 may re-extract deep features of a plurality of pre-classified images and reclassify the plurality of images based on the re-extracted deep features.

한편, 도 7에서 설명한 710 단계(S710) 내지 790 단계(S790)의 동작들 각각은 일 실시예에 따른 전자 장치(100) 또는 서버(200)에서 수행될 수 있다. 예를 들어, 도 7에서는 710 단계(S710) 및 770 단계(S770)의 동작들이 서버(200)에 의해서 수행되는 것으로 설명하였지만 이에 한정되지 않고, 710 단계(S710) 및 770 단계(S770)의 동작들은 전자 장치(200)에서 수행될 수도 있다. 또한, 도 7에서는 730 단계(S730) 내지 750 단계(S750) 및 790 단계(S790)의 동작들이 전자 장치(100)에서 수행되는 것으로 설명하였지만, 이에 한정되지 않고, 730 단계(S730) 내지 750 단계(S750) 및 790 단계(S790)의 동작들은 서버(200)에서 수행될 수도 있다.Meanwhile, each of the operations of steps 710 ( S710 ) to ( S790 ) described with reference to FIG. 7 may be performed by the electronic device 100 or the server 200 according to an embodiment. For example, in FIG. 7 , the operations of steps 710 ( S710 ) and 770 ( S770 ) are described as being performed by the server 200 , but the present invention is not limited thereto, and the operations of steps 710 and 770 ( S770 ) are not limited thereto. These may be performed in the electronic device 200 . In addition, although it has been described in FIG. 7 that the operations of steps 730 to 750 ( S750 ) and 790 ( S790 ) are performed in the electronic device 100 , the present invention is not limited thereto, and steps 730 to 750 are not limited thereto. The operations of steps S750 and 790 ( S790 ) may be performed by the server 200 .

도 7B는 일 실시예에 따른 서버와 제1 프로세서 및 제2 프로세서의 동작 방법을 나타내는 흐름도이다.7B is a flowchart illustrating a method of operating a server and a first processor and a second processor according to an exemplary embodiment.

도 7B를 참조하면, 전자 장치(100)는 제1 프로세서(120a) 및 제2 프로세서(120b)를 포함할 수 있다. Referring to FIG. 7B , the electronic device 100 may include a first processor 120a and a second processor 120b.

제1 프로세서(120a)는 전자 장치(100)에 설치된 적어도 하나의 어플리케이션의 실행을 제어하고, 전자 장치(100)에 획득되는 이미지(예: 라이브 뷰 이미지, 촬영된 이미지 등)에 대한 그래픽 처리를 수행할 수 있다. 제1 프로세서(120a)는 CPU(central processing unit), GPU(graphic processing unit), 통신칩 및 센서 등의 기능이 통합된 SoC(system on chip) 형태로 구현될 수 있다. 또한, 제1 프로세서(120a)는 본 명세서 내에서 AP(application processor)로 설명될 수도 있다.The first processor 120a controls execution of at least one application installed in the electronic device 100 and performs graphic processing on an image (eg, a live view image, a captured image, etc.) acquired in the electronic device 100 . can be done The first processor 120a may be implemented in the form of a system on chip (SoC) in which functions such as a central processing unit (CPU), a graphic processing unit (GPU), a communication chip, and a sensor are integrated. Also, the first processor 120a may be referred to as an application processor (AP) in this specification.

제2 프로세서(120b)는 특징 추출 모델 및 분류 모델을 이용하여 이미지들을 분류할 수 있다. The second processor 120b may classify the images using the feature extraction model and the classification model.

한편, 제2 프로세서(120b)는 데이터 인식 모델(예를 들면, 특징 추출 모델 및 분류 모델)을 이용한 이미지 분류 기능을 수행하는 인공 지능(AI; artificial intelligence)을 위한 전용 하드웨어 칩 형태로 제작될 수 있다. 다양한 실시예에 따르면, 시각적 이해를 요소기술로 하는 데이터 인식 모델의 경우, 인공 지능(AI: artificial intelligence)을 위한 전용 하드웨어 칩은 GPU를 포함할 수 있다.Meanwhile, the second processor 120b may be manufactured in the form of a dedicated hardware chip for artificial intelligence (AI) that performs an image classification function using a data recognition model (eg, a feature extraction model and a classification model). have. According to various embodiments, in the case of a data recognition model using visual understanding as an element technology, a dedicated hardware chip for artificial intelligence (AI) may include a GPU.

또한, 전자 장치(100)는 제2 프로세서(120b)와 동일한 기능 또는 기능의 일부를 대신 수행하는 제3 프로세서, 제 4 프로세서 등을 더 포함할 수도 있다.Also, the electronic device 100 may further include a third processor, a fourth processor, and the like that perform the same function or a part of the function as the second processor 120b instead.

본 개시의 다양한 실시예에 따르면, 제1 프로세서(120a)가 수행하는 기능은 메모리에 저장되어 다양한 기능을 수행하는 어플리케이션들이 대응하여 수행할 수 있고, 제2 프로세서(120b)가 수행하는 기능은 전자 장치(100)의 운영 체제(예를 들면, OS(operation system)가 대응하여 수행할 수 있다. According to various embodiments of the present disclosure, the function performed by the first processor 120a may be stored in a memory and applications performing various functions may correspondingly perform the function, and the function performed by the second processor 120b may be electronic. An operating system (eg, an operation system (OS)) of the device 100 may perform the corresponding operation.

예를 들어, 카메라 어플리케이션은 이미지를 생성하여 데이터 인식 모델을 포함하고 있는 OS로 전송할 수 있다. 또한, 이미지를 표시하는 갤러리 어플리케이션은, OS로 전송된 이미지를 이용하여 추출된 이미지들을, OS로부터 수신 받아 디스플레이 등에 표시할 수 있다.For example, a camera application may generate an image and transmit it to an OS containing a data recognition model. Also, the gallery application that displays the image may receive images extracted using the image transmitted to the OS and display the received images from the OS.

도 7B를 참조하면, 서버(200)는 범용 데이터를 이용하여 특징 추출 모델 및 분류 모델을 학습시킬 수 있다(S7110).Referring to FIG. 7B , the server 200 may learn a feature extraction model and a classification model using general data ( S7110 ).

서버(200)는 특징 추출 모델 및 분류 모델을 전자 장치(100)로 전송할 수 있다. 예를 들어, 전자 장치(100)는 제2 프로세서(120b)가 특징 추출 모델 및 분류 모델을 이용할 수 있도록 설정될 수 있다(S7120).The server 200 may transmit the feature extraction model and the classification model to the electronic device 100 . For example, the electronic device 100 may be set to allow the second processor 120b to use the feature extraction model and the classification model (S7120).

제1 프로세서(120a)는 복수 개의 이미지들을 획득할 수 있다(S7130).The first processor 120a may acquire a plurality of images (S7130).

제1 프로세서(120a)는 획득한 이미지들을 제2 프로세서(120b)로 전송할 수 있다(S7140).The first processor 120a may transmit the acquired images to the second processor 120b (S7140).

제2 프로세서(120b)는 서버(200)로부터 수신된 특징 추출 모델을 이용하여 복수 개의 이미지들에 대한 딥 피쳐들을 추출할 수 있다(S7150).The second processor 120b may extract deep features for a plurality of images by using the feature extraction model received from the server 200 (S7150).

제2 프로세서(120b)는 추출된 딥 피쳐들 및 서버(200)로부터 수신된 분류 모델에 기초하여 복수 개의 이미지들을 분류할 수 있다(S7160).The second processor 120b may classify the plurality of images based on the extracted deep features and the classification model received from the server 200 (S7160).

제2 프로세서(120b)는 특징 추출 모델 및 분류 모델의 업데이트 필요 여부를 확인하고, 특징 추출 모델 및 분류 모델 중 적어도 하나를 학습시켜 업데이트 할 수 있다(S7170).The second processor 120b may check whether the update of the feature extraction model and the classification model is necessary, and may update by learning at least one of the feature extraction model and the classification model ( S7170 ).

제2 프로세서(120b)는 업데이트 된 특징 추출 모델 및 분류 모델을 이용하여, 복수 개의 이미지들을 분류할 수 있다(S7180).The second processor 120b may classify the plurality of images by using the updated feature extraction model and classification model (S7180).

또한, 제2 프로세서(120b)는 기 분류된 복수 개의 이미지들의 딥 피쳐들을 재 추출하고, 재 추출된 딥 피쳐들에 기초하여, 복수 개의 이미지들을 재 분류할 수 있다.Also, the second processor 120b may re-extract deep features of the plurality of pre-classified images and reclassify the plurality of images based on the re-extracted deep features.

도 7C는 일 실시예에 따른 서버와 제1 프로세서(120a), 제2 프로세서(120b) 및 제3 프로세서(120c)의 동작 방법을 나타내는 흐름도이다.7C is a flowchart illustrating a server and an operating method of the first processor 120a, the second processor 120b, and the third processor 120c according to an exemplary embodiment.

도 7C를 참조하면, 전자 장치(100)는 제1 프로세서(120a), 제2 프로세서(120b) 및 제3 프로세서(120c)를 포함할 수 있다. Referring to FIG. 7C , the electronic device 100 may include a first processor 120a, a second processor 120b, and a third processor 120c.

도 7C를 참조하면, 서버(200)는 범용 데이터를 이용하여 특징 추출 모델 및 분류 모델을 학습시킬 수 있다(S7210).Referring to FIG. 7C , the server 200 may learn a feature extraction model and a classification model using general-purpose data (S7210).

서버(200)는 특징 추출 모델 및 분류 모델을 전자 장치(100)로 전송할 수 있다(S7220). 예를 들면, 전자 장치(100)는 제2 프로세서(120b)가 특징 추출 모델을 이용하고, 제3 프로세서(120c)가 분류 모델을 이용하도록 설정될 수 있다.The server 200 may transmit the feature extraction model and the classification model to the electronic device 100 (S7220). For example, the electronic device 100 may be set such that the second processor 120b uses the feature extraction model and the third processor 120c uses the classification model.

제1 프로세서(120a)는 복수 개의 이미지들을 획득할 수 있다(S7230).The first processor 120a may acquire a plurality of images (S7230).

제1 프로세서(120a)는 획득한 이미지들을 제2 프로세서(120b)로 전송할 수 있다(S7240).The first processor 120a may transmit the acquired images to the second processor 120b (S7240).

제2 프로세서(120b)는 서버(200)로부터 수신된 특징 추출 모델을 이용하여 복수 개의 이미지들에 대한 딥 피쳐들을 추출할 수 있다(S7250).The second processor 120b may extract deep features for a plurality of images by using the feature extraction model received from the server 200 (S7250).

제2 프로세서(120b)는 추출된 딥 피쳐들과 이미지들을 제3 프로세서(120c)로 전송할 수 있다(S7260).The second processor 120b may transmit the extracted deep features and images to the third processor 120c (S7260).

제3 프로세서(120c)는 딥 피쳐들 및 분류 모델에 기초하여 복수 개의 이미지들을 분류할 수 있다(S7270).The third processor 120c may classify the plurality of images based on the deep features and the classification model (S7270).

제3 프로세서(120c)는 분류된 결과를 제2 프로세서(120b)로 전송할 수 있다(S7280).The third processor 120c may transmit the classified result to the second processor 120b (S7280).

제2 프로세서(120b)는 특징 추출 모델의 업데이트 필요 여부를 확인하고, 분류된 결과를 이용하여 특징 추출 모델을 학습시킬 수 있다(S7290). The second processor 120b may determine whether the feature extraction model needs to be updated, and train the feature extraction model using the classified result (S7290).

제3 프로세서(120c)는 분류 모델의 업데이트 필요 여부를 확인하고, 분류된 결과를 이용하여 분류 모델을 학습시킬 수 있다(S7300).The third processor 120c may determine whether the classification model needs to be updated, and train the classification model using the classified result (S7300).

제2 프로세서(120b)는 업데이트 된 특징 추출 모델을 이용하여 복수 개의 이미지들의 딥 피쳐를 추출할 수 있다(S7310). 또한 제2 프로세서(120b)는 딥 피쳐들을 기 추출한 복수 개의 이미지들의 딥 피쳐들을 재 추출할 수 있다.The second processor 120b may extract deep features of a plurality of images by using the updated feature extraction model (S7310). Also, the second processor 120b may re-extract the deep features of the plurality of images from which the deep features are previously extracted.

제2 프로세서(120b)는 복수 개의 이미지들과 추출된 딥 피쳐들을 제3 프로세서(120c)로 전송할 수 있다(S7320).The second processor 120b may transmit the plurality of images and the extracted deep features to the third processor 120c (S7320).

제3 프로세서(120c)는 업데이트 된 분류 모델을 이용하여 복수 개의 이미지들을 분류할 수 있다(S7330). 또한 제3 프로세서(120c)는 기 분류된 복수 개의 이미지들을 재 분류할 수 있다.The third processor 120c may classify the plurality of images using the updated classification model (S7330). Also, the third processor 120c may reclassify a plurality of pre-classified images.

도 8A는 일 실시예에 따른 전자 장치의 동작방법을 나타내는 흐름도이다.8A is a flowchart illustrating a method of operating an electronic device according to an exemplary embodiment.

도 8A를 참조하면, 전자 장치(100)는 제1 이미지를 획득할 수 있다(S810). 이때, 제1 이미지는 전자 장치에서 촬영된 이미지이거나 기 저장된 이미지일 수 있다. 또는, 제1 이미지는 외부 장치로부터 수신한 이미지일 수 있다.Referring to FIG. 8A , the electronic device 100 may acquire a first image (S810). In this case, the first image may be an image captured by the electronic device or a pre-stored image. Alternatively, the first image may be an image received from an external device.

전자 장치(100)는 특징 추출 모델을 이용하여, 제1 이미지에 대한 딥 피쳐를 추출할 수 있다(S820). 예를 들어, 전자 장치(100)는 특징 추출 모델에 포함되는 적어도 하나의 신경망에 제1 이미지를 입력하여, 제1 이미지의 딥 피쳐를 추출할 수 있다.The electronic device 100 may extract a deep feature for the first image by using the feature extraction model ( S820 ). For example, the electronic device 100 may extract a deep feature of the first image by inputting the first image to at least one neural network included in the feature extraction model.

전자 장치(100)는 기 저장된 이미지들 중 제1 이미지의 딥 피쳐와 유사한 딥 피쳐를 가지는 적어도 하나의 이미지를 추출할 수 있다(S830).The electronic device 100 may extract at least one image having a deep feature similar to the deep feature of the first image from among pre-stored images (S830).

전자 장치(100)는 분류 모델을 이용하여, 제1 이미지의 딥 피쳐와 기 저장된 복수의 이미지들의 딥 피쳐들의 유사도에 기초하여, 제1 이미지와 유사한 이미지를 추출할 수 있다. 예를 들어, 전자 장치(100)는 기 저장된 복수의 이미지들 중 제1 이미지의 딥 피쳐 벡터와의 차이 값이 기 설정된 범위 내인 이미지를 추출할 수 있다.The electronic device 100 may extract an image similar to the first image based on the similarity between the deep feature of the first image and the deep features of a plurality of pre-stored images by using the classification model. For example, the electronic device 100 may extract an image having a difference value between the first image and the deep feature vector within a preset range from among a plurality of pre-stored images.

전자 장치(100)는 추출된 적어도 하나의 이미지를 디스플레이부에 표시할 수 있다(S840).The electronic device 100 may display at least one extracted image on the display unit (S840).

도 8B는 일 실시예에 따른 전자 장치에 포함된 제1 프로세서(120a), 제2 프로세서(120b)의 동작 방법을 나타내는 흐름도이다.8B is a flowchart illustrating an operation method of a first processor 120a and a second processor 120b included in an electronic device according to an exemplary embodiment.

도 8B를 참조하면, 전자 장치(100)는 제1 프로세서(120a) 및 제2 프로세서(120b)를 포함할 수 있다.Referring to FIG. 8B , the electronic device 100 may include a first processor 120a and a second processor 120b.

도 8B을 참조하면, 제1 프로세서(120a)는 제1 이미지를 획득할 수 있다(S8110).Referring to FIG. 8B , the first processor 120a may acquire a first image ( S8110 ).

제1 프로세서(120a)는 제1 이미지를 제2 프로세서(120b)로 전송할 수 있다(S8120).The first processor 120a may transmit the first image to the second processor 120b (S8120).

제2 프로세서(120b)는 특징 추출 모델을 이용하여 제1 이미지에 대한 딥 피쳐를 추출할 수 있다(S8130). The second processor 120b may extract a deep feature for the first image by using the feature extraction model ( S8130 ).

제2 프로세서(120b)는 분류 모델 및 딥 피쳐를 이용하여 기 저장된 이미지들 중 제1 이미지의 딥 피쳐와 유사한 딥 피쳐를 가지는 적어도 하나의 이미지를 추출할 수 있다(S8140). 예를 들어, 제2 프로세서(120b)는 기 저장된 복수 개의 이미지들 중 제1 이미지의 딥 피쳐 벡터와의 차이 값이 기 설정된 범위 내인 이미지를 추출할 수 있다.The second processor 120b may extract at least one image having a deep feature similar to the deep feature of the first image from among pre-stored images using the classification model and the deep feature ( S8140 ). For example, the second processor 120b may extract an image whose difference value from the deep feature vector of the first image is within a preset range from among a plurality of pre-stored images.

제2 프로세서(120b)는 추출된 적어도 하나의 이미지를 제1 프로세서(120a)로 전송할 수 있다(S8150).The second processor 120b may transmit the at least one extracted image to the first processor 120a (S8150).

제1 프로세서(120a)는 추출된 적어도 하나의 이미지를 디스플레이부에 표시할 수 있다(S8160).The first processor 120a may display at least one extracted image on the display unit (S8160).

도 8C는 일 실시예에 따른 전자 장치에 포함된 제1 프로세서(120a), 제2 프로세서(120b) 및 제3 프로세서(120c)의 동작 방법을 나타내는 흐름도이다.8C is a flowchart illustrating an operation method of the first processor 120a, the second processor 120b, and the third processor 120c included in the electronic device according to an exemplary embodiment.

도 8C를 참조하면, 전자 장치(100)는 제1 프로세서(120a), 제2 프로세서(120b) 및 제3 프로세서(120c)를 포함할 수 있다.Referring to FIG. 8C , the electronic device 100 may include a first processor 120a, a second processor 120b, and a third processor 120c.

도 8C를 참조하면, 제1 프로세서(120a)는 제1 이미지를 획득할 수 있다(S8210).Referring to FIG. 8C , the first processor 120a may acquire a first image ( S8210 ).

제1 프로세서(120a)는 제1 이미지를 제2 프로세서(120b)로 전송할 수 있다(S8220).The first processor 120a may transmit the first image to the second processor 120b (S8220).

제2 프로세서(120b)는 특징 추출 모델을 이용하여 제1 이미지에 대한 딥 피쳐를 추출할 수 있다(S8230).The second processor 120b may extract a deep feature for the first image by using the feature extraction model (S8230).

제2 프로세서(120b)는 제1 이미지에 대한 딥 피쳐를 제3 프로세서(120c)로 전송할 수 있다(S8240).The second processor 120b may transmit the deep feature for the first image to the third processor 120c (S8240).

제3 프로세서(120c)는 분류 모델 및 딥 피쳐를 이용하여 기 저장된 이미지들 중 제1 이미지의 딥 피쳐와 유사한 딥 피쳐를 가지는 적어도 하나의 이미지를 추출할 수 있다(S8250). 예를 들어, 제2 프로세서(120b)는 기 저장된 복수 개의 이미지들 중 제1 이미지의 딥 피쳐 벡터와의 차이 값이 기 설정된 범위 내인 이미지를 추출할 수 있다.The third processor 120c may extract at least one image having a deep feature similar to the deep feature of the first image from among pre-stored images using the classification model and the deep feature (S8250). For example, the second processor 120b may extract an image whose difference value from the deep feature vector of the first image is within a preset range from among a plurality of pre-stored images.

제3 프로세서(120c)는 추출된 적어도 하나의 이미지를 제1 프로세서(120a)로 전송할 수 있다(S8260).The third processor 120c may transmit at least one extracted image to the first processor 120a (S8260).

제1 프로세서(120a)는 추출된 적어도 하나의 이미지를 디스플레이부에 표시할 수 있다(S8270).The first processor 120a may display at least one extracted image on the display unit (S8270).

도 9 및 10은 일 실시예에 따른 전자 장치가 이미지를 검색하는 방법을 설명하기 위해 참조되는 도면들이다.9 and 10 are diagrams referenced to describe a method for an electronic device to search for an image according to an exemplary embodiment.

도 9를 참조하면, 일 실시예에 따른 전자 장치(100)는 제1 이미지(910)를 획득할 수 있다. 이때, 제1 이미지(910)는 전자 장치(100)에서 촬영된 이미지이거나 기 저장된 이미지일 수 있다. 또는, 제1 이미지(910)는 외부 장치로부터 수신한 이미지일 수 있다.Referring to FIG. 9 , the electronic device 100 according to an embodiment may acquire a first image 910 . In this case, the first image 910 may be an image captured by the electronic device 100 or a pre-stored image. Alternatively, the first image 910 may be an image received from an external device.

전자 장치(100)는 특징 추출 모델을 이용하여, 제1 이미지(910)의 딥 피쳐를 추출할 수 있다. 특징 추출 모델은 적어도 하나의 신경망을 포함할 수 있으며, 딥 피쳐는 적어도 하나의 신경망에 제1 이미지(910)를 입력하여, 적어도 하나의 층에서 추출된 벡터를 포함할 수 있다.The electronic device 100 may extract a deep feature of the first image 910 by using the feature extraction model. The feature extraction model may include at least one neural network, and the deep feature may include a vector extracted from at least one layer by inputting the first image 910 to the at least one neural network.

이때, 제1 이미지(910)의 딥 피쳐는 제1 이미지(910)에 포함된 객체들의 특성을 나타낼 수 있으며, 예를 들어, 제1 이미지는 '개(dog)'에 대한 특성을 나타낼 수 있으나, 이에 한정되지 않는다.In this case, the deep feature of the first image 910 may indicate characteristics of objects included in the first image 910 , for example, the first image may indicate characteristics of a 'dog'. , but not limited thereto.

전자 장치(100)는 분류 모델을 이용하여, 제1 이미지의 딥 피쳐와 기 저장된 복수의 이미지들(920)의 딥 피쳐들의 유사도에 기초하여, 제1 이미지(910)와 유사한 이미지를 검색할 수 있다. 기 저장된 복수의 이미지들(920)은 이미지들 각각에서 추출된 딥 피쳐들을 포함할 수 있다. 예를 들어, 딥 피쳐는 복수의 이미지들 각각의 EXIF 정보로 저장되어 있을 수 있다. 이때, 제1 이미지(910)의 딥 피쳐와 복수의 이미지들(920)의 딥 피쳐들은 동일한 버전을 가지는 동일한 신경망을 이용하여 추출된 딥 피쳐일 수 있다. 또는 제1 이미지(910)의 딥 피쳐와 복수의 이미지들(920)의 딥 피쳐들은 동일한 신경망의 동일한 서브 망 또는 동일한 신경망의 동일한 층에서 추출된 딥 피쳐일 수 있다.The electronic device 100 may search for an image similar to the first image 910 based on the similarity between the deep feature of the first image and the deep features of the plurality of pre-stored images 920 using the classification model. have. The plurality of pre-stored images 920 may include deep features extracted from each of the images. For example, the deep feature may be stored as EXIF information of each of a plurality of images. In this case, the deep features of the first image 910 and the deep features of the plurality of images 920 may be deep features extracted using the same neural network having the same version. Alternatively, the deep feature of the first image 910 and the deep features of the plurality of images 920 may be the same sub-network of the same neural network or deep features extracted from the same layer of the same neural network.

전자 장치(100)는 기 저장된 복수의 이미지들(920) 중 제1 이미지의 딥 피쳐와의 차이 값이 기 설정된 범위 내인 이미지를 추출할 수 있다. 예를 들어, 도 9에 도시된 바와 같이, 기 저장된 복수의 이미지들(920) 중 제1 내지 제8 이미지들(930)을 제1 이미지(910)와 유사한 이미지로 추출하여, 표시할 수 있다.The electronic device 100 may extract an image having a difference value of the first image from the deep feature within a preset range from among a plurality of pre-stored images 920 . For example, as shown in FIG. 9 , first to eighth images 930 among a plurality of pre-stored images 920 may be extracted and displayed as images similar to those of the first image 910 . .

사용자가 '개(dog)' 이미지를 검색하기 위해, '개'에 대응하는 키워드(예를 들어, dog, beagle, puppy 등)를 입력하는 경우, 전자 장치(100)는 해당 키워드로 저장된 이미지들만 검색할 수 있으며, 사용자가 '개' 사진을 '개'와 무관한 키워드(예를 들어, happy)로 입력한 경우, 해당 키워드로 저장된 이미지를 검색할 수 없게 된다. 따라서, 사용자는 이미지의 저장된 키워드를 일일이 기억하여, 해당 이미지를 검색해야 하는 불편함이 있다.When the user inputs a keyword (eg, dog, beagle, puppy, etc.) corresponding to 'dog' in order to search for 'dog' images, the electronic device 100 displays only images stored as the keyword. Search is possible, and if the user inputs a picture of 'dog' as a keyword (eg, happy) unrelated to 'dog', it is impossible to search for images stored with the keyword. Therefore, the user has the inconvenience of having to memorize the stored keywords of the images one by one and search for the corresponding images.

그러나, 일 실시예에 따른, 전자 장치는 도 9에서 설명한 바와 같이, 키워드가 아닌 '개(dog)'를 포함하는 이미지를 이용하여, '개' 이미지의 딥 피쳐를 추출하고, 추출된 딥 피쳐와 유사한 딥 피쳐를 가지는 이미지들을 검색할 수 있어, 사용자는 키워드를 일일이 기억하지 않고, 원하는 이미지를 검색할 수 있다.However, according to an embodiment, as described with reference to FIG. 9 , the electronic device extracts a deep feature of the 'dog' image using an image including 'dog' rather than a keyword, and extracts the extracted deep feature Images having a deep feature similar to ? can be searched for, so that the user can search for a desired image without having to memorize keywords one by one.

또한, 도 10을 참조하면, 일 실시예에 따른 전자 장치(100)는 제2 이미지(1010)를 획득할 수 있다. 전자 장치(100)는 특징 추출 모델을 이용하여, 제2 이미지(1010)의 딥 피쳐를 추출할 수 있다. 제2 이미지(1010)의 딥 피쳐는, 다리(bridge)에 대한 특성, 야경(Night view)에 대한 특성, 강(river)에 대한 특성 등을 나타낼 수 있으나, 이에 한정되지 않는다.Also, referring to FIG. 10 , the electronic device 100 according to an embodiment may acquire a second image 1010 . The electronic device 100 may extract a deep feature of the second image 1010 by using the feature extraction model. The deep feature of the second image 1010 may represent a characteristic of a bridge, a characteristic of a night view, a characteristic of a river, and the like, but is not limited thereto.

전자 장치(100)는 분류 모델을 이용하여, 제2 이미지의 딥 피쳐와 기 저장된 복수의 이미지들의 딥 피쳐들의 유사도에 기초하여, 제2 이미지(1010)와 유사한 이미지를 검색할 수 있다. 예를 들어, 전자 장치(100)는 기 저장된 이미지들(920) 중 제2 이미지의 딥 피쳐와의 차이 값이 기 설정된 범위 내인 제9 내지 제12 이미지들(1030)을 제2 이미지(1010)와 유사한 이미지로 추출하여 표시할 수 있다.The electronic device 100 may search for an image similar to the second image 1010 using the classification model, based on the similarity between the deep feature of the second image and the deep features of a plurality of pre-stored images. For example, the electronic device 100 sets the ninth to twelfth images 1030 of the pre-stored images 920 with a difference value from the deep feature of the second image within a preset range to the second image 1010 . It can be extracted and displayed as an image similar to

사용자가 '다리(bridge)를 포함하는 야경(night view)' 이미지를 검색하기 위해서는 관련된 키워드들(다리, 야경 등)을 일일이 입력해야 한다. 그러나, 일 실시예에 따른, 전자 장치는 도 10에서 설명한 바와 같이, 키워드가 아닌 '다리(bridge)를 포함하는 야경(night view)' 이미지를 이용하여, '다리(bridge)를 포함하는 야경(night view)' 이미지의 딥 피쳐를 추출하고, 추출된 딥 피쳐와 유사한 딥 피쳐를 가지는 이미지들을 검색할 수 있어, 사용자는 키워드를 일일이 입력하지 않고, 원하는 이미지를 검색할 수 있다.In order for a user to search for an image of 'night view including a bridge', related keywords (bridge, night view, etc.) must be input one by one. However, according to an exemplary embodiment, as described with reference to FIG. 10 , the electronic device uses the image 'night view including a bridge' rather than a keyword, and uses the image 'night view including a bridge' ( night view)' image can be extracted, and images having a deep feature similar to the extracted deep feature can be searched for, so that the user can search for a desired image without inputting keywords one by one.

또한, 전자 장치(100)는 키워드 입력을 통한 이미지 검색을 수행할 수 있다. 예를 들어, 전자 장치(100)는 키워드가 입력되면, 언어 모델을 이용하여 입력된 키워드와 유사한 키워드를 결정할 수 있으며, 유사한 키워드에 대응하는 이미지들을 검색할 수 있다. 전자 장치(100)는 제1 이미지에 대응하는 태그명이 유사한 키워드에 해당하는 경우, 제1 이미지를 추출하여 이미지 검색 결과로 표시할 수 있다. 또한, 이미지들이 분류된 그룹명이 유사한 키워드에 해당하는 경우, 해당 그룹에 포함되는 제2 이미지들을 추출하여, 이미지 검색 결과로 표시할 수 있다. 다만, 이에 한정되지 않는다.Also, the electronic device 100 may perform an image search through keyword input. For example, when a keyword is input, the electronic device 100 may determine a keyword similar to the input keyword using a language model, and may search images corresponding to the similar keyword. When the tag name corresponding to the first image corresponds to a similar keyword, the electronic device 100 may extract the first image and display it as an image search result. In addition, when the group name into which the images are classified corresponds to a similar keyword, the second images included in the corresponding group may be extracted and displayed as an image search result. However, the present invention is not limited thereto.

도 11은 일 실시예에 따른 전자 장치의 구성을 나타내는 블록도이다.11 is a block diagram illustrating a configuration of an electronic device according to an exemplary embodiment.

도 11을 참조하면, 일 실시예에 따른 전자 장치(100)는 프로세서(120), 디스플레이부(140) 및 메모리(130)를 포함할 수 있다.Referring to FIG. 11 , the electronic device 100 according to an embodiment may include a processor 120 , a display unit 140 , and a memory 130 .

일 실시예에 따른 디스플레이부(140)는, 프로세서(120)에서 처리된 영상 신호, 데이터 신호, OSD 신호, 제어 신호 등을 변환하여 구동 신호를 생성한다. 디스플레이부(140)는 PDP, LCD, OLED, 플렉시블 디스플레이(flexible display)등으로 구현될 수 있으며, 또한, 3차원 디스플레이(3D display)로 구현될 수 있다. 또한, 디스플레이부(140)는, 터치 스크린으로 구성되어 출력 장치 이외에 입력 장치로 사용되는 것도 가능하다.The display unit 140 according to an embodiment converts an image signal, a data signal, an OSD signal, a control signal, etc. processed by the processor 120 to generate a driving signal. The display unit 140 may be implemented as a PDP, LCD, OLED, flexible display, etc., and may also be implemented as a 3D display. Also, the display unit 140 may be configured as a touch screen and used as an input device in addition to an output device.

일 실시예에 따른 디스플레이부(140)는 이미지를 표시할 수 있다. 이때, 디스플레이부(140)에 표시되는 이미지는 전자 장치(100)에서 촬영된 이미지, 전자 장치(100)에 저장된 이미지, 외부 장치로부터 수신한 이미지 중 적어도 하나일 수 있다. 다만, 이에 한정하는 것은 아니다.The display unit 140 according to an embodiment may display an image. In this case, the image displayed on the display unit 140 may be at least one of an image photographed by the electronic device 100 , an image stored in the electronic device 100 , and an image received from an external device. However, the present invention is not limited thereto.

일 실시예에 따른 프로세서(120)는 메모리(130)에 저장되는 하나 이상의 프로그램들을 실행할 수 있다. 프로세서(120)는 싱글 코어, 듀얼 코어, 트리플 코어, 쿼드 코어 및 그 배수의 코어를 포함할 수 있다. 또한, 프로세서(120)는 복수의 프로세서를 포함할 수 있다. 예를 들어, 프로세서(120)는 메인 프로세서(main processor, 도시되지 아니함) 및 슬립 모드(sleep mode)에서 동작하는 서브 프로세서(sub processor, 도시되지 아니함)로 구현될 수 있다.The processor 120 according to an embodiment may execute one or more programs stored in the memory 130 . The processor 120 may include a single core, a dual core, a triple core, a quad core, and multiple cores thereof. Also, the processor 120 may include a plurality of processors. For example, the processor 120 may be implemented as a main processor (not shown) and a sub processor (not shown) operating in a sleep mode.

일 실시예에 따른 메모리(130)는 전자 장치(100)를 구동하고 제어하기 위한 다양한 데이터, 프로그램 또는 어플리케이션을 저장할 수 있다.The memory 130 according to an embodiment may store various data, programs, or applications for driving and controlling the electronic device 100 .

또한, 메모리(130)에 저장되는 프로그램은 하나 이상의 인스트럭션들을 포함할 수 있다. 메모리(130)에 저장된 프로그램(하나 이상의 인스트럭션들) 또는 어플리케이션은 프로세서(120)에 의해 실행될 수 있다.Also, the program stored in the memory 130 may include one or more instructions. A program (one or more instructions) or an application stored in the memory 130 may be executed by the processor 120 .

일 실시예에 따른 프로세서(120)는 메모리(130)에 저장되는 하나 이상의 인스트럭션들을 실행함으로써, 복수의 이미지들을 획득하고, 특징 추출 모델을 이용하여, 복수의 이미지들에 대한 딥 피쳐들을 추출할 수 있다. 예를 들어, 특징 추출 모델은 제1 신경망을 포함할 수 있으며, 프로세서(120)는 제1 신경망에 복수의 이미지들 각각을 입력하여, 제1 신경망의 적어도 하나의 층(layer)에서 딥 피쳐에 포함되는 벡터를 추출할 수 있다. 프로세서(120)는 추출된 딥 피쳐들 및 분류 모델을 이용하여, 복수의 이미지들을 소정의 그룹으로 분류할 수 있다. 예를 들어, 분류 모델은 복수의 이미지들의 딥 피쳐들 사이의 유사도에 기초하여, 복수의 이미지들을 소정의 그룹으로 분류하는 제2 신경망을 포함할 수 있다.The processor 120 according to an embodiment may obtain a plurality of images by executing one or more instructions stored in the memory 130, and extract deep features for the plurality of images by using a feature extraction model. have. For example, the feature extraction model may include a first neural network, and the processor 120 inputs each of a plurality of images to the first neural network to obtain a deep feature in at least one layer of the first neural network. Included vectors can be extracted. The processor 120 may classify the plurality of images into a predetermined group by using the extracted deep features and the classification model. For example, the classification model may include a second neural network that classifies the plurality of images into a predetermined group based on similarities between deep features of the plurality of images.

또한, 프로세서(120)는 메모리(130)에 저장되는 하나 이상의 인스트럭션들을 실행함으로써, 분류된 복수의 이미지들을 딥 피쳐들과 함께 저장할 수 있다. 또한, 프로세서(120)는 분류된 결과를 디스플레이부(140)에 표시하도록 제어하며, 분류된 결과를 이용하여, 특징 추출 및 분류 모델의 업데이트 필요 여부를 판단하고, 판단 결과에 따라 특징 추출 모델 및 분류 모델 중 적어도 하나를 학습시켜 업데이트할 수 있다. 프로세서(120)는 특징 추출 모델 및 분류 모델 중 적어도 하나가 업데이트되면, 기 분류된 복수의 이미지들을 업데이트된 특징 추출 모델 및 분류 모델을 이용하여, 재 분류할 수 있다.In addition, the processor 120 may store a plurality of classified images together with the deep features by executing one or more instructions stored in the memory 130 . In addition, the processor 120 controls to display the classified result on the display unit 140, and determines whether the feature extraction and classification model need to be updated, using the classified result, and according to the determination result, the feature extraction model and At least one of the classification models may be trained and updated. When at least one of the feature extraction model and the classification model is updated, the processor 120 may reclassify a plurality of pre-classified images using the updated feature extraction model and the classification model.

프로세서(120)는 제1 이미지에 대한 딥 피쳐를 추출하고, 분류된 복수의 이미지들 중 제1 이미지의 딥 피쳐와 유사한 딥 피쳐를 가지는 적어도 하나의 이미지를 추출할 수 있다.The processor 120 may extract a deep feature with respect to the first image, and may extract at least one image having a deep feature similar to the deep feature of the first image from among a plurality of classified images.

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

도 12를 참조하면, 일부 실시예에 따른 프로세서(120)는 데이터 학습부(1300) 및 데이터 분류부(1400)를 포함할 수 있다.Referring to FIG. 12 , the processor 120 according to some embodiments may include a data learning unit 1300 and a data classifying unit 1400 .

데이터 학습부(1300)는 이미지를 소정의 그룹으로 분류하기 위한 판단 기준을 학습할 수 있다. 데이터 학습부(1300)는 이미지를 소정의 그룹으로 분류하기 위하여 어떤 데이터를 이용할 지, 데이터를 이용하여 이미지를 어떻게 분류할 지에 관한 판단 기준을 학습할 수 있다. 데이터 학습부(1300)는 학습에 이용될 데이터를 획득하고, 획득된 데이터를 후술할 데이터 분류 모델에 적용함으로써, 이미지를 분류하기 판단 기준을 학습할 수 있다. 일 실시예에 따른 데이터 분류 모델은, 특징 추출 모델 및 분류 모델을 포함할 수 있다.The data learning unit 1300 may learn a criterion for classifying images into a predetermined group. The data learning unit 1300 may learn a criterion for determining which data to use to classify an image into a predetermined group and how to classify the image by using the data. The data learning unit 1300 may learn a criterion for classifying an image by acquiring data to be used for learning and applying the acquired data to a data classification model to be described later. The data classification model according to an embodiment may include a feature extraction model and a classification model.

데이터 분류부(1400)는 데이터에 기초하여 이미지를 분류할 수 있다. 데이터 분류부(1400)는 학습된 데이터 분류 모델을 이용하여, 복수의 이미지들을 소정의 그룹으로 분류할 수 있다. 데이터 분류부(1400)는 학습에 의한 기 설정된 기준에 따라 소정의 데이터를 획득하고, 획득된 데이터를 입력 값으로 하여 데이터 분류 모델을 이용함으로써, 소정의 데이터에 기초하여, 이미지를 분류할 수 있다. 또한, 획득된 데이터를 입력 값으로 하여 데이터 분류 모델에 의해 출력된 결과 값은, 데이터 분류 모델을 갱신하는데 이용될 수 있다.The data classification unit 1400 may classify the image based on the data. The data classification unit 1400 may classify a plurality of images into a predetermined group by using the learned data classification model. The data classification unit 1400 may classify images based on the predetermined data by obtaining predetermined data according to a preset criterion by learning, using the obtained data as an input value, and using a data classification model. . In addition, a result value output by the data classification model using the obtained data as an input value may be used to update the data classification model.

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

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

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

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

도 13을 참조하면, 일부 실시예에 따른 데이터 학습부(1300)는 데이터 획득부(1310), 전처리부(1320), 학습 데이터 선택부(1330), 모델 학습부(1340) 및 모델 평가부(1350)를 포함할 수 있다. 그러나 이에 한정되지는 않는다. 다양한 실시예에 따르면, 데이터 학습부(1300)는 전술한 구성 요소 중 일부를 포함할 수 있다. 예를 들어, 데이터 학습부(1300)는 데이터 획득부(1310) 및 모델 학습부(1340)만으로 구성될 수 있다. 또한, 다양한 실시예에 따르면, 데이터 학습부(1300)는 전술한 구성 요소 이외에 다른 구성 요소를 더 포함할 수도 있다.Referring to FIG. 13 , the data learning unit 1300 according to some embodiments includes a data acquiring unit 1310 , a preprocessing unit 1320 , a training data selection unit 1330 , a model learning unit 1340 , and a model evaluation unit ( 1350) may be included. However, the present invention is not limited thereto. According to various embodiments, the data learning unit 1300 may include some of the above-described components. For example, the data learning unit 1300 may include only the data acquiring unit 1310 and the model learning unit 1340 . Also, according to various embodiments, the data learning unit 1300 may further include other components in addition to the above-described components.

데이터 획득부(1310)는 복수의 이미지들을 소정의 그룹으로 분류하기 위해 필요한 데이터를 획득할 수 있다. 데이터 획득부(1310)는 이미지를 분류하기 위한 학습에 필요한 데이터를 획득할 수 있다.The data acquisition unit 1310 may acquire data necessary to classify a plurality of images into a predetermined group. The data acquisition unit 1310 may acquire data necessary for learning to classify images.

데이터 획득부(1310)는 복수의 이미지 데이터를 획득할 수 있다. 일 예로 데이터 획득부(1310)는 데이터 학습부(1300)를 포함하는 전자 장치의 카메라를 통해 이미지 데이터를 입력 받을 수 있다. 또는 데이터 학습부(1300)를 포함하는 전자 장치와 통신 가능한 외부 장치를 통하여 이미지 데이터를 수신할 수 있다.The data acquisition unit 1310 may acquire a plurality of image data. For example, the data acquiring unit 1310 may receive image data through a camera of the electronic device including the data learning unit 1300 . Alternatively, the image data may be received through an external device capable of communicating with the electronic device including the data learning unit 1300 .

전처리부(1320)는 이미지를 분류하기 위한 학습에, 획득된 데이터가 이용될 수 있도록, 획득된 데이터를 전처리할 수 있다. 전처리부(1320)는 후술할 모델 학습부(1340)가 획득된 데이터를 이용할 수 있도록, 획득된 데이터를 기 설정된 포맷으로 가공할 수 있다.The preprocessor 1320 may preprocess the acquired data so that the acquired data can be used for learning to classify an image. The preprocessor 1320 may process the acquired data into a preset format so that the model learning unit 1340, which will be described later, uses the acquired data.

학습 데이터 선택부(1330)는 전처리된 데이터 중에서 학습에 필요한 데이터를 선택할 수 있다. 선택된 데이터는 모델 학습부(1340)에 제공될 수 있다. 학습 데이터 선택부(1330)는 이미지를 분류하기 위한 기 설정된 기준에 따라, 전처리된 데이터 중에서 학습에 필요한 데이터를 선택할 수 있다. 또한, 학습 데이터 선택부(1330)는 후술할 모델 학습부(1340)에 의한 학습에 의해 기 설정된 기준에 따라 데이터를 선택할 수도 있다.The learning data selection unit 1330 may select data required for learning from among the preprocessed data. The selected data may be provided to the model learning unit 1340 . The learning data selection unit 1330 may select data necessary for learning from among preprocessed data according to a preset criterion for classifying images. In addition, the training data selection unit 1330 may select data according to a preset criterion by learning by the model learning unit 1340, which will be described later.

모델 학습부(1340)는 학습 데이터에 기초하여 이미지들을 어떻게 분류할 지에 관한 판단 기준을 학습할 수 있다. 또한, 모델 학습부(1340)는 이미지를 분류하기 위하여 어떤 학습 데이터를 이용해야 하는 지에 대한 선별 기준을 학습할 수도 있다.The model learning unit 1340 may learn a criterion for determining how to classify images based on the training data. Also, the model learning unit 1340 may learn a selection criterion for which training data should be used to classify an image.

예를 들어, 모델 학습부(1340)는 복수의 이미지들의 딥 피쳐들을 추출하는 판단 기준을 학습할 수 있으며, 복수의 이미지들에 대한 딥 피쳐들의 유사도에 기초하여, 복수의 이미지들을 소정의 그룹으로 분류하도록 학습할 수 있다. 이때, 딥 피쳐들의 유사도는 딥 피쳐들로 추출된 벡터들 사이의 거리로 나타낼 수 있으며, 벡터들 사이의 거리가 짧을수록 유사도가 크고, 벡터들 사이의 거리가 멀수록 유사도가 작은 것으로 학습할 수 있다. 또한, 딥 피쳐들 사이의 거리가 기 설정된 범위 내인 복수의 이미지들을 동일한 그룹으로 분류할 수 있다.For example, the model learning unit 1340 may learn a criterion for extracting deep features of a plurality of images, and divide the plurality of images into a predetermined group based on the similarity of the deep features to the plurality of images. can learn to classify. At this time, the similarity of deep features can be expressed as the distance between vectors extracted as deep features, and the shorter the distance between the vectors, the greater the similarity, and the greater the distance between the vectors, the lower the similarity. have. Also, a plurality of images having a distance between the deep features within a preset range may be classified into the same group.

또한, 모델 학습부(1340)는 복수의 이미지들을 분류하는 데이터 분류 모델을 학습 데이터를 이용하여 학습시킬 수 있다. 이 경우, 데이터 분류 모델은 미리 구축된 모델일 수 있다. 예를 들어, 데이터 분류 모델은 기본 학습 데이터(예를 들어, 샘플 이미지 등)를 입력 받아 미리 구축된 모델일 수 있다.Also, the model learning unit 1340 may train a data classification model for classifying a plurality of images by using the training data. In this case, the data classification model may be a pre-built model. For example, the data classification model may be a model built in advance by receiving basic training data (eg, sample images, etc.).

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

다양한 실시예에 따르면, 모델 학습부(1340)는 미리 구축된 데이터 분류 모델이 복수 개가 존재하는 경우, 입력된 학습 데이터와 기본 학습 데이터의 관련성이 큰 데이터 분류 모델을 학습할 데이터 분류 모델로 결정할 수 있다. 이 경우, 기본 학습 데이터는 데이터의 타입 별로 기 분류되어 있을 수 있으며, 데이터 분류 모델은 데이터의 타입 별로 미리 구축되어 있을 수 있다. 예를 들어, 기본 학습 데이터는 학습 데이터가 생성된 지역, 학습 데이터가 생성된 시간, 학습 데이터의 크기, 학습 데이터의 장르, 학습 데이터의 생성자, 학습 데이터 내의 오브젝트의 종류 등과 같은 다양한 기준으로 기 분류되어 있을 수 있다. According to various embodiments, when a plurality of pre-built data classification models exist, the model learning unit 1340 may determine a data classification model having a high correlation between the input training data and the basic training data as the data classification model to be trained. have. In this case, the basic learning data may be pre-classified for each data type, and the data classification model may be pre-built for each data type. For example, the basic training data is pre-classified by various criteria such as the region where the training data is generated, the time when the training data is generated, the size of the training data, the genre of the training data, the creator of the training data, the type of object in the training data, etc. may have been

또한, 모델 학습부(1340)는, 예를 들어, 오류 역전파법(error back-propagation) 또는 경사 하강법(gradient descent)을 포함하는 학습 알고리즘 등을 이용하여 데이터 분류 모델을 학습시킬 수 있다.Also, the model learning unit 1340 may train the data classification model using, for example, a learning algorithm including error back-propagation or gradient descent.

또한, 모델 학습부(1340)는, 예를 들어, 학습 데이터를 입력 값으로 하는 지도 학습(supervised learning) 을 통하여, 데이터 분류 모델을 학습시킬 수 있다. 또한, 모델 학습부(1340)는, 예를 들어, 별다른 지도 없이 상황 판단을 위해 필요한 데이터의 종류를 스스로 학습함으로써, 상황 판단을 위한 기준을 발견하는 비지도 학습(unsupervised learning)을 통하여, 데이터 분류 모델을 학습시킬 수 있다. 또한, 모델 학습부(1340)는, 예를 들어, 학습에 따른 이미지 분류의 결과가 올바른 지에 대한 피드백을 이용하는 강화 학습(reinforcement learning)을 통하여, 데이터 분류 모델을 학습시킬 수 있다.Also, the model learning unit 1340 may train the data classification model through supervised learning using, for example, learning data as an input value. In addition, the model learning unit 1340 categorizes data through unsupervised learning, for example, discovering a criterion for situation determination by self-learning the type of data required for situation determination without any guidance. model can be trained. Also, the model learning unit 1340 may train the data classification model through, for example, reinforcement learning using feedback on whether the result of image classification according to learning is correct.

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

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

모델 평가부(1350)는 데이터 분류 모델에 평가 데이터를 입력하고, 평가 데이터로부터 출력되는 인식 결과가 소정 기준을 만족하지 못하는 경우, 모델 학습부(1340)로 하여금 다시 학습하도록 할 수 있다. 이 경우, 평가 데이터는 데이터 분류 모델을 평가하기 위한 기 설정된 데이터일 수 있다.The model evaluator 1350 inputs evaluation data to the data classification model, and when a recognition result output from the evaluation data does not satisfy a predetermined criterion, the model learner 1340 may re-learn. In this case, the evaluation data may be preset data for evaluating the data classification model.

예를 들어, 모델 평가부(1350)는 평가 데이터에 대한 학습된 데이터 분류 모델의 분류 결과 중에서, 분류 결과가 정확하지 않은 평가 데이터의 개수 또는 비율이 미리 설정된 임계치를 초과하는 경우 소정 기준을 만족하지 못한 것으로 평가할 수 있다. 예컨대, 소정 기준이 비율 2%로 정의되는 경우, 학습된 데이터 인식 모델이 총 1000개의 평가 데이터 중의 20개를 초과하는 평가 데이터에 대하여 잘못된 인식 결과를 출력하는 경우, 모델 평가부(1350)는 학습된 데이터 분류 모델이 적합하지 않은 것으로 평가할 수 있다.For example, the model evaluation unit 1350 does not satisfy a predetermined criterion when the number or ratio of evaluation data for which the classification result is not accurate among the classification results of the learned data classification model for the evaluation data exceeds a preset threshold. can be evaluated as not. For example, when the predetermined criterion is defined as a ratio of 2%, when the learned data recognition model outputs an erroneous recognition result for more than 20 evaluation data out of a total of 1000 evaluation data, the model evaluation unit 1350 learns It can be evaluated that the existing data classification model is not suitable.

한편, 학습된 데이터 분류 모델이 복수 개가 존재하는 경우, 모델 평가부(1350)는 각각의 학습된 이미지 분류 모델에 대하여 소정 기준을 만족하는지를 평가하고, 소정 기준을 만족하는 모델을 최종 데이터 분류 모델로서 결정할 수 있다. 이 경우, 소정 기준을 만족하는 모델이 복수 개인 경우, 모델 평가부(1350)는 평가 점수가 높은 순으로 미리 설정된 어느 하나 또는 소정 개수의 모델을 최종 데이터 분류 모델로서 결정할 수 있다.On the other hand, when there are a plurality of learned data classification models, the model evaluation unit 1350 evaluates whether a predetermined criterion is satisfied with respect to each learned image classification model, and uses the model that satisfies the predetermined criterion as a final data classification model. can decide In this case, when there are a plurality of models satisfying the predetermined criteria, the model evaluator 1350 may determine any one or a predetermined number of models preset in the order of the highest evaluation score as the final data classification model.

한편, 데이터 학습부(1300) 내의 데이터 획득부(1310), 전처리부(1320), 학습 데이터 선택부(1330), 모델 학습부(1340) 및 모델 평가부(1350) 중 적어도 하나는, 적어도 하나의 하드웨어 칩 형태로 제작되어 전자 장치에 탑재될 수 있다. 예를 들어, 데이터 획득부(1310), 전처리부(1320), 학습 데이터 선택부(1330), 모델 학습부(1340) 및 모델 평가부(1350) 중 적어도 하나는 인공 지능(AI; artificial intelligence)을 위한 전용 하드웨어 칩 형태로 제작될 수도 있고, 또는 기존의 범용 프로세서(예: CPU 또는 application processor) 또는 그래픽 전용 프로세서(예: GPU)의 일부로 제작되어 전술한 각종 전자 장치에 탑재될 수도 있다.Meanwhile, at least one of the data acquiring unit 1310 , the preprocessing unit 1320 , the training data selection unit 1330 , the model learning unit 1340 , and the model evaluation unit 1350 in the data learning unit 1300 is at least one It may be manufactured in the form of a hardware chip of For example, at least one of the data acquisition unit 1310 , the preprocessor 1320 , the training data selection unit 1330 , the model learning unit 1340 , and the model evaluation unit 1350 is artificial intelligence (AI). It may be manufactured in the form of a dedicated hardware chip for this purpose, or it may be manufactured as a part of an existing general-purpose processor (eg, CPU or application processor) or graphics-only processor (eg, GPU) and mounted on the various electronic devices described above.

또한, 데이터 획득부(1310), 전처리부(1320), 학습 데이터 선택부(1330), 모델 학습부(1340) 및 모델 평가부(1350)는 하나의 전자 장치에 탑재될 수도 있으며, 또는 별개의 전자 장치들에 각각 탑재될 수도 있다. 예를 들어, 데이터 획득부(1310), 전처리부(1320), 학습 데이터 선택부(1330), 모델 학습부(1340) 및 모델 평가부(1350) 중 일부는 전자 장치에 포함되고, 나머지 일부는 서버에 포함될 수 있다.In addition, the data acquisition unit 1310 , the preprocessor 1320 , the training data selection unit 1330 , the model learning unit 1340 , and the model evaluation unit 1350 may be mounted in one electronic device, or separate Each of the electronic devices may be mounted. For example, some of the data acquiring unit 1310 , the preprocessing unit 1320 , the training data selection unit 1330 , the model learning unit 1340 , and the model evaluation unit 1350 are included in the electronic device, and the remaining parts are It can be included in the server.

또한, 데이터 획득부(1310), 전처리부(1320), 학습 데이터 선택부(1330), 모델 학습부(1340) 및 모델 평가부(1350) 중 적어도 하나는 소프트웨어 모듈로 구현될 수 있다. 데이터 획득부(1310), 전처리부(1320), 학습 데이터 선택부(1330), 모델 학습부(1340) 및 모델 평가부(1350) 중 적어도 하나가 소프트웨어 모듈(또는, 인스터력션(instruction) 포함하는 프로그램 모듈)로 구현되는 경우, 소프트웨어 모듈은 컴퓨터로 읽을 수 있는 판독 가능한 비일시적 판독 가능 기록매체(non-transitory computer readable media)에 저장될 수 있다. 또한, 이 경우, 적어도 하나의 소프트웨어 모듈은 OS(Operating System)에 의해 제공되거나, 소정의 애플리케이션에 의해 제공될 수 있다. 또는, 적어도 하나의 소프트웨어 모듈 중 일부는 OS(Operating System)에 의해 제공되고, 나머지 일부는 소정의 애플리케이션에 의해 제공될 수 있다.In addition, at least one of the data acquisition unit 1310 , the preprocessor 1320 , the training data selection unit 1330 , the model learning unit 1340 , and the model evaluation unit 1350 may be implemented as a software module. At least one of the data acquisition unit 1310 , the preprocessor 1320 , the training data selection unit 1330 , the model learning unit 1340 , and the model evaluation unit 1350 includes a software module (or instruction) When implemented as a program module), 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 may be provided by a predetermined application. Alternatively, a part of the at least one software module may be provided by an operating system (OS), and the other part may be provided by a predetermined application.

도 14는 일부 실시예에 따른 데이터 분류부(1400)의 블록도이다.14 is a block diagram of a data classification unit 1400 according to some exemplary embodiments.

도 14를 참조하면, 일부 실시예에 따른 데이터 분류부(1400)는 데이터 획득부(1410), 전처리부(1420), 분류 데이터 선택부(1430), 분류 결과 제공부(1440) 및 모델 갱신부(1450)를 포함할 수 있다. 그러나 이에 한정되지는 않는다. 다양한 실시예에 따르면, 데이터 분류부(1400)는 전술한 구성 요소 중 일부를 포함할 수 있다. 예를 들어, 데이터 분류부(1400)는 데이터 획득부(1410) 및 분류 결과 제공부(1440)만으로 구성될 수 있다. 또한, 다양한 실시예에 따르면, 데이터 분류부(1400)는 전술한 구성 요소 이외에 다른 구성 요소를 더 포함할 수도 있다.Referring to FIG. 14 , the data classifying unit 1400 according to some embodiments includes a data obtaining unit 1410 , a preprocessing unit 1420 , a classification data selecting unit 1430 , a classification result providing unit 1440 , and a model updating unit. (1450). However, the present invention is not limited thereto. According to various embodiments, the data classification unit 1400 may include some of the above-described components. For example, the data classifying unit 1400 may include only the data obtaining unit 1410 and the classification result providing unit 1440 . Also, according to various embodiments, the data classification unit 1400 may further include other components in addition to the above-described components.

데이터 획득부(1410)는 이미지 분류에 필요한 데이터를 획득할 수 있으며, 전처리부(1420)는 이미지 분류를 위해 획득된 데이터가 이용될 수 있도록, 획득된 데이터를 전처리할 수 있다. 전처리부(1420)는 후술할 분류 결과 제공부(1440)가 이미지 분류를 위하여 획득된 데이터를 이용할 수 있도록, 획득된 데이터를 기 설정된 포맷으로 가공할 수 있다. The data acquirer 1410 may acquire data required for image classification, and the preprocessor 1420 may preprocess the acquired data so that the acquired data for image classification may be used. The preprocessor 1420 may process the acquired data into a preset format so that the classification result providing unit 1440, which will be described later, uses the acquired data for image classification.

분류 데이터 선택부(1430)는 전처리된 데이터 중에서 이미지 분류에 필요한 데이터를 선택할 수 있다. 선택된 데이터는 분류 결과 제공부(1440)에게 제공될 수 있다. 분류 데이터 선택부(1430)는 이미지 분류를 위한 기 설정된 기준에 따라, 전처리된 데이터 중에서 일부 또는 전부를 선택할 수 있다. 또한, 분류 데이터 선택부(1430)는 모델 학습부(1340)에 의한 학습에 의해 기 설정된 기준에 따라 데이터를 선택할 수도 있다.The classification data selection unit 1430 may select data required for image classification from among the preprocessed data. The selected data may be provided to the classification result providing unit 1440 . The classification data selection unit 1430 may select some or all of the preprocessed data according to a preset criterion for image classification. Also, the classification data selection unit 1430 may select data according to a preset criterion by learning by the model learning unit 1340 .

분류 결과 제공부(1440)는 선택된 데이터를 데이터 분류 모델에 적용하여 이미지를 분류할 수 있다. 분류 결과 제공부(1440)는 데이터의 분류 목적에 따른 분류 결과를 제공할 수 있다. 분류 결과 제공부(1440)는 분류 데이터 선택부(1430)에 의해 선택된 데이터를 입력 값으로 이용함으로써, 선택된 데이터를 데이터 분류 모델에 적용할 수 있다. 또한, 분류 결과는 데이터 분류 모델에 의해 결정될 수 있다.The classification result providing unit 1440 may classify the image by applying the selected data to the data classification model. The classification result providing unit 1440 may provide a classification result according to the purpose of classification of data. The classification result providing unit 1440 may apply the selected data to the data classification model by using the data selected by the classification data selecting unit 1430 as an input value. Also, the classification result may be determined by a data classification model.

예를 들어, 분류 결과 제공부(1440)는 복수의 이미지들이 소정의 그룹으로 분류된 결과를 제공할 수 있다. 복수의 이미지들 중 동일한 그룹으로 분류된 이미지들은 동일한 폴더에 저장될 수 있다.For example, the classification result providing unit 1440 may provide a result in which a plurality of images are classified into a predetermined group. Images classified into the same group among the plurality of images may be stored in the same folder.

또한, 다양한 실시예에 따르면, 분류 결과 제공부(1440)는 하나의 이미지와 유사한 다른 이미지를 추정할 수 있다. 예를 들어, 분류 결과 제공부(1440)는 제1 이미지(예를 들면, 기 저장된 이미지 중 하나 이거나, 새롭게 입력된 이미지 중 하나)와 유사한 딥 피쳐를 가지는 이미지를 추정할 수 있다. Also, according to various embodiments, the classification result providing unit 1440 may estimate another image similar to one image. For example, the classification result providing unit 1440 may estimate an image having a deep feature similar to the first image (eg, one of pre-stored images or one of newly input images).

모델 갱신부(1450)는 분류 결과 제공부(1440)에 의해 제공되는 분류 결과에 대한 평가에 기초하여, 데이터 분류 모델이 갱신되도록 할 수 있다. 예를 들어, 모델 갱신부(1450)는 분류 결과 제공부(1440)에 의해 제공되는 분류 결과에 따라, 데이터 분류 모델을 갱신이 필요한지 여부를 결정하고, 데이터 분류 모델의 갱신이 필요한 경우, 모델 학습부(1340)를 이용하여, 데이터 분류 모델이 갱신되도록 할 수 있다. 모델 학습부(1340)는 사용자 이미지 데이터를 이용하여, 데이터 분류 모델을 재 학습시켜, 데이터 분류 모델을 갱신할 수 있다.The model updating unit 1450 may update the data classification model based on the evaluation of the classification result provided by the classification result providing unit 1440 . For example, the model update unit 1450 determines whether the data classification model needs to be updated according to the classification result provided by the classification result provision unit 1440 , and when the data classification model needs to be updated, model learning The unit 1340 may be used to cause the data classification model to be updated. The model learning unit 1340 may update the data classification model by re-learning the data classification model using the user image data.

한편, 데이터 분류부(1400) 내의 데이터 획득부(1410), 전처리부(1420), 분류 데이터 선택부(1430), 분류 결과 제공부(1440) 및 모델 갱신부(1450) 중 적어도 하나는, 적어도 하나의 하드웨어 칩 형태로 제작되어 전자 장치에 탑재될 수 있다. 예를 들어, 데이터 획득부(1410), 전처리부(1420), 분류 데이터 선택부(1430), 분류 결과 제공부(1440) 및 모델 갱신부(1450) 중 적어도 하나는 인공 지능(AI; artificial intelligence)을 위한 전용 하드웨어 칩 형태로 제작될 수도 있고, 또는 기존의 범용 프로세서(예: CPU 또는 application processor) 또는 그래픽 전용 프로세서(예: GPU)의 일부로 제작되어 전술한 각종 전자 장치에 탑재될 수도 있다.Meanwhile, at least one of the data acquisition unit 1410 , the preprocessor 1420 , the classification data selection unit 1430 , the classification result providing unit 1440 , and the model update unit 1450 in the data classification unit 1400 is at least It may be manufactured in the form of a single hardware chip and mounted in an electronic device. For example, at least one of the data acquiring unit 1410 , the preprocessing unit 1420 , the classification data selection unit 1430 , the classification result providing unit 1440 , and the model updating unit 1450 is artificial intelligence (AI). ) may be manufactured in the form of a dedicated hardware chip, or may be manufactured as a part of an existing general-purpose processor (eg, CPU or application processor) or graphics-only processor (eg, GPU) and mounted on the various electronic devices described above.

또한, 데이터 획득부(1410), 전처리부(1420), 분류 데이터 선택부(1430), 분류 결과 제공부(1440) 및 모델 갱신부(1450)는 하나의 전자 장치에 탑재될 수도 있으며, 또는 별개의 전자 장치들에 각각 탑재될 수도 있다. 예를 들어, 데이터 획득부(1410), 전처리부(1420), 분류 데이터 선택부(1430), 분류 결과 제공부(1440) 및 모델 갱신부(1450) 중 일부는 전자 장치에 포함되고, 나머지 일부는 서버에 포함될 수 있다.In addition, the data acquisition unit 1410 , the preprocessor 1420 , the classification data selection unit 1430 , the classification result provision unit 1440 , and the model update unit 1450 may be mounted in one electronic device or separately. It may be mounted on each of the electronic devices of For example, some of the data acquiring unit 1410 , the preprocessing unit 1420 , the classification data selecting unit 1430 , the classification result providing unit 1440 , and the model updating unit 1450 are included in the electronic device, and the remaining parts are included in the electronic device. may be included in the server.

또한, 데이터 획득부(1410), 전처리부(1420), 분류 데이터 선택부(1430), 분류 결과 제공부(1440) 및 모델 갱신부(1450) 중 적어도 하나는 소프트웨어 모듈로 구현될 수 있다. 데이터 획득부(1410), 전처리부(1420), 분류 데이터 선택부(1430), 분류 결과 제공부(1440) 및 모델 갱신부(1450) 중 적어도 하나가 소프트웨어 모듈(또는, 인스터력션(instruction) 포함하는 프로그램 모듈)로 구현되는 경우, 소프트웨어 모듈은 컴퓨터로 읽을 수 있는 판독 가능한 비일시적 판독 가능 기록매체(non-transitory computer readable media)에 저장될 수 있다. 또한, 이 경우, 적어도 하나의 소프트웨어 모듈은 OS(Operating System)에 의해 제공되거나, 소정의 애플리케이션에 의해 제공될 수 있다. 또는, 적어도 하나의 소프트웨어 모듈 중 일부는 OS(Operating System)에 의해 제공되고, 나머지 일부는 소정의 애플리케이션에 의해 제공될 수 있다.Also, at least one of the data acquisition unit 1410 , the preprocessor 1420 , the classification data selection unit 1430 , the classification result provision unit 1440 , and the model update unit 1450 may be implemented as a software module. At least one of the data acquisition unit 1410 , the preprocessor 1420 , the classification data selection unit 1430 , the classification result provision unit 1440 , and the model update unit 1450 is a software module (or instruction) When implemented as a program module including), 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 may be provided by a predetermined application. Alternatively, a part of the at least one software module may be provided by an operating system (OS), and the other part may be provided by a predetermined application.

도 15는 일 실시예에 따른 전자 장치 및 서버가 서로 연동함으로써 데이터를 학습하고 인식하는 예시를 나타내는 도면이다.15 is a diagram illustrating an example in which an electronic device and a server learn and recognize data by interworking with each other according to an embodiment.

도 15를 참조하면, 서버(2000)는 사용자 이미지를 분석하여, 이미지를 분류하기 위한 기준을 학습할 수 있으며, 전자 장치(100)는 서버(2000)에 의한 학습 결과에 기초하여, 복수의 이미지들을 분류할 수 있다.Referring to FIG. 15 , the server 2000 may analyze a user image to learn a criterion for classifying the image, and the electronic device 100 may select a plurality of images based on the learning result by the server 2000 . can be classified.

이 경우, 서버(2000)의 모델 학습부(2340)는 도 13에 도시된 모델 학습부(1340)의 기능을 수행할 수 있다. 서버(2000)의 모델 학습부(2340)는 복수의 이미지들의 딥 피쳐들을 추출하는 기준을 학습할 수 있으며, 복수의 이미지들에 대한 딥 피쳐들의 유사도에 기초하여, 복수의 이미지들을 소정의 그룹으로 분류하도록 학습할 수 있다. 모델 학습부(2340)는 학습에 이용될 데이터를 획득하고, 획득된 데이터를 후술할 데이터 분류 모델에 적용함으로써, 복수의 이미지들을 분류하기 위한 기준을 학습할 수 있다.In this case, the model learning unit 2340 of the server 2000 may perform the function of the model learning unit 1340 illustrated in FIG. 13 . The model learning unit 2340 of the server 2000 may learn a criterion for extracting deep features of a plurality of images, and based on the similarity of the deep features to the plurality of images, the plurality of images into a predetermined group. can learn to classify. The model learning unit 2340 may learn a criterion for classifying a plurality of images by acquiring data to be used for learning and applying the acquired data to a data classification model to be described later.

또한, 전자 장치(100)의 분류 결과 제공부(1440)는 분류 데이터 선택부(1430)에 의해 선택된 데이터를 서버(2000)에 의해 생성된 데이터 분류 모델에 적용하여 복수의 이미지들을 분류할 수 있다. 예를 들어, 분류 결과 제공부(1440)는 분류 데이터 선택부(1430)에 의해 선택된 데이터를 서버(2000)에게 전송하고, 서버(2000)가 분류 데이터 선택부(1430)에 의해 선택된 데이터를 분류 모델에 적용하여 복수의 이미지들을 분류할 것을 요청할 수 있다. 또한, 분류 결과 제공부(1440)는 복수의 이미지들이 소정의 그룹으로 분류된 결과를 제공할 수 있다. 복수의 이미지들 중 동일한 그룹으로 분류된 이미지들은 동일한 폴더에 저장될 수 있다.Also, the classification result providing unit 1440 of the electronic device 100 may classify the plurality of images by applying the data selected by the classification data selection unit 1430 to the data classification model generated by the server 2000 . . For example, the classification result providing unit 1440 transmits the data selected by the classification data selection unit 1430 to the server 2000 , and the server 2000 classifies the data selected by the classification data selection unit 1430 . You can request to classify a plurality of images by applying to the model. Also, the classification result providing unit 1440 may provide a result of classifying a plurality of images into a predetermined group. Images classified into the same group among the plurality of images may be stored in the same folder.

또는, 전자 장치(100)의 분류 결과 제공부(1440)는 서버(2000)에 의해 생성된 분류 모델을 서버(2000)로부터 수신하고, 수신된 분류 모델을 이용하여 이미지를 분석하고, 복수의 이미지들을 분류할 수 있다. 이 경우, 전자 장치(100)의 분류 결과 제공부(1440)는 분류 데이터 선택부(1430)에 의해 선택된 데이터를 서버(2000)로부터 수신된 데이터 분류 모델에 적용하여 복수의 이미지들을 분류할 수 있다. 서버(2000)로부터 분류 모델을 수신하여, 전자 장치(100)에서 복수의 이미지들을 분류하는 경우, 사용자 데이터(복수의 사용자 이미지들)를 서버로 전송할 필요가 없어, 사용자 데이터 보안 및 개인 정보 보호가 강화될 수 있다.Alternatively, the classification result providing unit 1440 of the electronic device 100 receives the classification model generated by the server 2000 from the server 2000, analyzes the image using the received classification model, and a plurality of images. can be classified. In this case, the classification result providing unit 1440 of the electronic device 100 may classify the plurality of images by applying the data selected by the classification data selection unit 1430 to the data classification model received from the server 2000 . . When receiving the classification model from the server 2000 and classifying a plurality of images in the electronic device 100, there is no need to transmit user data (a plurality of user images) to the server, so user data security and personal information protection are improved. can be strengthened

도 16은 다른 실시예에 따른 전자 장치의 구성을 나타내는 블록도이다. 도 16의 전자 장치(300)는 도 1의 전자 장치(100)의 일 실시예일 수 있다.16 is a block diagram illustrating a configuration of an electronic device according to another exemplary embodiment. The electronic device 300 of FIG. 16 may be an embodiment of the electronic device 100 of FIG. 1 .

도 16을 참조하면, 일 실시예에 따른 전자 장치(300)는 제어부(330), 센서부(320), 통신부(340), 출력부(350), 사용자 입력부(360), A/V 입력부(370) 및 저장부(380)를 포함할 수도 있다.Referring to FIG. 16 , the electronic device 300 according to an embodiment includes a controller 330 , a sensor unit 320 , a communication unit 340 , an output unit 350 , a user input unit 360 , and an A/V input unit ( 370) and a storage unit 380 may be included.

도 16의 제어부(330)는 도 11의 프로세서(120))에, 도 16의 저장부(380)는 도 11의 메모리(130)에, 도 16의 디스플레이부(351)는 도 11의 디스플레이부(140)에 각각 대응될 수 있다. 도 11에서 설명한 내용과 동일한 내용은 도 16에서 생략하기로 한다.The control unit 330 of FIG. 16 is the processor 120 of FIG. 11 ), the storage unit 380 of FIG. 16 is the memory 130 of FIG. 11 , and the display unit 351 of FIG. 16 is the display unit of FIG. 11 . Each may correspond to (140). The same contents as those described with reference to FIG. 11 will be omitted from FIG. 16 .

통신부(340)는, 전자 장치(300)와 외부 장치(예를 들어, 서버 등) 간의 통신을 수행하기 위한 하나 이상의 구성요소를 포함할 수 있다. 예를 들어, 통신부(340)는, 근거리 통신부(341), 이동 통신부(342), 방송 수신부(343)를 포함할 수 있다. The communication unit 340 may include one or more components for performing communication between the electronic device 300 and an external device (eg, a server, etc.). For example, the communication unit 340 may include a short-range communication unit 341 , a mobile communication unit 342 , and a broadcast receiving unit 343 .

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

이동 통신부(342)는, 이동 통신망 상에서 기지국, 외부의 단말, 서버 중 적어도 하나와 무선 신호를 송수신한다. 여기에서, 무선 신호는, 음성 호 신호, 화상 통화 호 신호 또는 문자/멀티미디어 메시지 송수신에 따른 다양한 형태의 데이터를 포함할 수 있다.The mobile communication unit 342 transmits/receives wireless 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 according to transmission/reception of a voice call signal, a video call signal, or a text/multimedia message.

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

통신부(340)는, 외부 장치로부터 적어도 하나의 이미지를 수신할 수 있다. 또는, 통신부(340)는 외부 서버로 특징 추출 모델 및 분류 모델을 요청하여 수신할 수 있다. 통신부(340)는 복수의 이미지들의 분류 결과를 외부 서버로 전송할 수 있으며, 분류 결과에 기초하여 업데이트된 특징 추출 모델 및 분류 모델을 수신할 수 있다.The communication unit 340 may receive at least one image from an external device. Alternatively, the communication unit 340 may request and receive a feature extraction model and a classification model from an external server. The communication unit 340 may transmit a classification result of the plurality of images to an external server, and may receive an updated feature extraction model and a classification model based on the classification result.

출력부(350)는, 오디오 신호 또는 비디오 신호 또는 진동 신호의 출력을 위한 것으로, 이에는 디스플레이부(351)와 음향 출력부(352), 진동 모터(353) 등이 포함될 수 있다. 디스플레이부(351)에 대해서는 도 11에서 이미 설명한 바 있으므로, 디스플레이부(351)에 대한 설명은 생략하기로 한다.The output unit 350 is for outputting an audio signal, a video signal, or a vibration signal, and may include a display unit 351 , a sound output unit 352 , a vibration motor 353 , and the like. Since the display unit 351 has already been described with reference to FIG. 11 , a description of the display unit 351 will be omitted.

음향 출력부(352)는 통신부(340)로부터 수신되거나 저장부(380)에 저장된 오디오 데이터를 출력한다. 또한, 음향 출력부(352)는 전자 장치(100)에서 수행되는 기능(예를 들어, 호신호 수신음, 메시지 수신음, 알림음)과 관련된 음향 신호를 출력한다. 이러한 음향 출력부(352)에는 스피커(speaker), 버저(Buzzer) 등이 포함될 수 있다.The sound output unit 352 outputs audio data received from the communication unit 340 or stored in the storage unit 380 . Also, the sound output unit 352 outputs a sound signal related to a function (eg, a call signal reception sound, a message reception sound, and a notification sound) performed by the electronic device 100 . The sound output unit 352 may include a speaker, a buzzer, and the like.

진동 모터(353)는 진동 신호를 출력할 수 있다. 예를 들어, 진동 모터(353)는 오디오 데이터 또는 비디오 데이터(예컨대, 호신호 수신음, 메시지 수신음 등)의 출력에 대응하는 진동 신호를 출력할 수 있다. 또한, 진동 모터(353)는 터치스크린에 터치가 입력되는 경우 진동 신호를 출력할 수도 있다.The vibration motor 353 may output a vibration signal. For example, the vibration motor 353 may output a vibration signal corresponding to the output of audio data or video data (eg, a call signal reception sound, a message reception sound, etc.). Also, the vibration motor 353 may output a vibration signal when a touch is input to the touch screen.

제어부(330)는, 전자 장치(300)의 전반적인 동작을 제어한다. 예를 들어, 제어부(330)는, 저장부(380)에 저장된 프로그램들을 실행함으로써, 통신부(340), 출력부(350), 사용자 입력부(360), 센싱부(320), A/V 입력부(370) 등을 제어할 수 있다. The controller 330 controls the overall operation of the electronic device 300 . For example, the control unit 330 executes the programs stored in the storage unit 380 , so that the communication unit 340 , the output unit 350 , the user input unit 360 , the sensing unit 320 , and the A/V input unit ( 370) can be controlled.

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

센서부(320)는, 사용자의 생체 정보를 센싱하는 센서뿐만 아니라, 전자 장치(300)의 상태 또는 전자 장치(300) 주변의 상태를 감지하는 센서를 포함할 수 있다. 또한, 센서부(320)는 센서에서 감지된 정보를 제어부(320)로 전달할 수 있다. The sensor unit 320 may include not only a sensor for sensing the user's biometric information, but also a sensor for detecting a state of the electronic device 300 or a state around the electronic device 300 . Also, the sensor unit 320 may transmit information sensed by the sensor to the control unit 320 .

센서부(320)는, 지자기 센서(Magnetic sensor), 가속도 센서(Acceleration sensor), 온/습도 센서, 적외선 센서, 자이로스코프 센서, 위치 센서(예컨대, GPS)), 기압 센서, 근접 센서, 및 RGB 센서(illuminance sensor) 중 적어도 하나를 포함할 수 있으나, 이에 한정되는 것은 아니다. 각 센서들의 기능은 그 명칭으로부터 당업자가 직관적으로 추론할 수 있으므로, 구체적인 설명은 생략하기로 한다.The sensor unit 320 includes a geomagnetic sensor, an acceleration sensor, a temperature/humidity sensor, an infrared sensor, a gyroscope sensor, a location sensor (eg, GPS)), a barometric pressure sensor, a proximity sensor, and RGB It may include at least one of a sensor (illuminance sensor), but is not limited thereto. Since a function of each sensor can be intuitively inferred from a person skilled in the art from the name, a detailed description thereof will be omitted.

A/V(Audio/Video) 입력부(370)는 오디오 신호 또는 비디오 신호 입력을 위한 것으로, 이에는 카메라(371)와 마이크로폰(372) 등이 포함될 수 있다. 카메라(371)은 화상 통화모드 또는 촬영 모드에서 이미지 센서를 통해 정지영상 또는 동영상 등의 화상 프레임을 얻을 수 있다. 이미지 센서를 통해 캡쳐된 이미지는 제어부(330) 또는 별도의 이미지 처리부(미도시)를 통해 처리될 수 있다.The A/V (Audio/Video) input unit 370 is for inputting an audio signal or a video signal, and may include a camera 371 , a microphone 372 , and the like. The camera 371 may obtain an image frame such as a still image or a moving image through an image sensor in a video call mode or a shooting mode. The image captured through the image sensor may be processed through the controller 330 or a separate image processing unit (not shown).

카메라(371)에서 처리된 화상 프레임은 저장부(380)에 저장되거나 통신부(340)를 통하여 외부로 전송될 수 있다. 카메라(371)는 전자 장치(300)의 구성 태양에 따라 2개 이상이 구비될 수도 있다.The image frame processed by the camera 371 may be stored in the storage unit 380 or transmitted to the outside through the communication unit 340 . Two or more cameras 371 may be provided according to the configuration of the electronic device 300 .

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

저장부(380)는, 제어부(330)의 처리 및 제어를 위한 프로그램을 저장할 수도 있고, 입/출력되는 데이터들(예컨대, 애플리케이션, 콘텐트, 외부 디바이스의 시간대 정보, 주소록 등)을 저장할 수도 있다. The storage unit 380 may store a program for processing and control of the controller 330 , and may store input/output data (eg, application, content, time zone information of an external device, address book, etc.).

저장부(380)는 플래시 메모리 타입(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), 자기 메모리, 자기 디스크, 광디스크 중 적어도 하나의 타입의 저장매체를 포함할 수 있다. 또한, 전자 장치(300)는 인터넷(internet)상에서 저장부(380)의 저장 기능을 수행하는 웹 스토리지(web storage) 또는 클라우드 서버를 운영할 수도 있다.Storage unit 380 is a flash memory type (flash memory type), hard disk type (hard disk type), multimedia card micro type (multimedia card micro type), card type memory (for example, SD or XD memory, etc.), 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), magnetic memory, magnetic It may include at least one type of storage medium among a disk and an optical disk. Also, the electronic device 300 may operate a web storage or a cloud server that performs a storage function of the storage unit 380 on the Internet.

저장부(380)에 저장된 프로그램들은 그 기능에 따라 복수 개의 모듈들로 분류할 수 있는데, 예를 들어, UI 모듈(381), 터치 스크린 모듈(382), 알림 모듈(383) 등으로 분류될 수 있다.Programs stored in the storage unit 380 may be classified into a plurality of modules according to their functions, for example, may be classified into a UI module 381 , a touch screen module 382 , a notification module 383 , and the like. have.

UI 모듈(381)은, 어플리케이션 별로 전자 장치(300)와 연동되는 특화된 UI, GUI 등을 제공할 수 있다. 터치 스크린 모듈(382)은 사용자의 터치 스크린 상의 터치 제스처를 감지하고, 터치 제스처에 관한 정보를 제어부(130)로 전달할 수 있다. The UI module 381 may provide a specialized UI, GUI, etc. interworking with the electronic device 300 for each application. The touch screen module 382 may detect a touch gesture on the user's touch screen and transmit information about the touch gesture to the controller 130 .

터치 스크린 모듈(382)은 터치 코드를 인식하고 분석할 수 있다. 터치 스크린 모듈(382)은 컨트롤러를 포함하는 별도의 하드웨어로 구성될 수도 있다.The touch screen module 382 may recognize and analyze the touch code. The touch screen module 382 may be configured as separate hardware including a controller.

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

한편, 도 11 및 16에 도시된 전자 장치(100, 300)의 블록도는 일 실시예를 위한 블록도이다. 블록도의 각 구성요소는 실제 구현되는 전자 장치(100, 300)의 사양에 따라 통합, 추가, 또는 생략될 수 있다. 즉, 필요에 따라 2 이상의 구성요소가 하나의 구성요소로 합쳐지거나, 혹은 하나의 구성요소가 2 이상의 구성요소로 세분되어 구성될 수 있다. 또한, 각 블록에서 수행하는 기능은 실시예들을 설명하기 위한 것이며, 그 구체적인 동작이나 장치는 본 발명의 권리범위를 제한하지 아니한다.Meanwhile, the block diagrams of the electronic devices 100 and 300 illustrated in FIGS. 11 and 16 are block diagrams for an exemplary embodiment. Each component of the block diagram may be integrated, added, or omitted according to specifications of the actually implemented electronic devices 100 and 300 . That is, two or more components may be combined into one component, or one component may be subdivided into two or more components as needed. In addition, the function performed in each block is for describing the embodiments, and the specific operation or device does not limit the scope of the present invention.

일 실시예에 따른 전자 장치의 동작방법은 다양한 컴퓨터 수단을 통하여 수행될 수 있는 프로그램 명령 형태로 구현되어 컴퓨터 판독 가능 매체에 기록될 수 있다. 상기 컴퓨터 판독 가능 매체는 프로그램 명령, 데이터 파일, 데이터 구조 등을 단독으로 또는 조합하여 포함할 수 있다. 상기 매체에 기록되는 프로그램 명령은 본 발명을 위하여 특별히 설계되고 구성된 것들이거나 컴퓨터 소프트웨어 당업자에게 공지되어 사용 가능한 것일 수도 있다. 컴퓨터 판독 가능 기록 매체의 예에는 하드 디스크, 플로피 디스크 및 자기 테이프와 같은 자기 매체(magnetic media), CD-ROM, DVD와 같은 광기록 매체(optical media), 플롭티컬 디스크(floptical disk)와 같은 자기-광 매체(magneto-optical media), 및 롬(ROM), 램(RAM), 플래시 메모리 등과 같은 프로그램 명령을 저장하고 수행하도록 특별히 구성된 하드웨어 장치가 포함된다. 프로그램 명령의 예에는 컴파일러에 의해 만들어지는 것과 같은 기계어 코드뿐만 아니라 인터프리터 등을 사용해서 컴퓨터에 의해서 실행될 수 있는 고급 언어 코드를 포함한다.The method of operating an electronic device according to an embodiment may be implemented in the form of program instructions that can be executed through various computer means and recorded in a computer-readable medium. The computer-readable medium may include program instructions, data files, data structures, etc. alone or in combination. The program instructions recorded on the medium may be specially designed and configured for the present invention, or may be known and available to those skilled in the art of computer software. Examples of the computer-readable recording medium include magnetic media such as hard disks, floppy disks and magnetic tapes, optical media such as CD-ROMs and DVDs, and magnetic such as floppy disks. - includes magneto-optical media, and hardware devices specially configured to store and execute program instructions, such as ROM, RAM, flash memory, and the like. Examples of program instructions include not only machine language codes such as those generated by a compiler, but also high-level language codes that can be executed by a computer using an interpreter or the like.

또한, 개시된 실시예들에 따른 제어 방법은 컴퓨터 프로그램 제품(computer program product)에 포함되어 제공될 수 있다. 컴퓨터 프로그램 제품은 상품으로서 판매자 및 구매자 간에 거래될 수 있다.In addition, the control method according to the disclosed embodiments may be provided included in a computer program product (computer program product). Computer program products may be traded between sellers and buyers as commodities.

컴퓨터 프로그램 제품은 S/W 프로그램, S/W 프로그램이 저장된 컴퓨터로 읽을 수 있는 저장 매체를 포함할 수 있다. 예를 들어, 컴퓨터 프로그램 제품은 전자 장치의 제조사 또는 전자 마켓(예, 구글 플레이 스토어, 앱 스토어)을 통해 전자적으로 배포되는 S/W 프로그램 형태의 상품(예, 다운로더블 앱)을 포함할 수 있다. 전자적 배포를 위하여, S/W 프로그램의 적어도 일부는 저장 매체에 저장되거나, 임시적으로 생성될 수 있다. 이 경우, 저장 매체는 제조사의 서버, 전자 마켓의 서버, 또는 SW 프로그램을 임시적으로 저장하는 중계 서버의 저장 매체가 될 수 있다.The computer program product may include a S/W program and a computer-readable storage medium in which the S/W program is stored. For example, computer program products may include products (eg, downloadable apps) in the form of S/W programs distributed electronically through manufacturers of electronic devices or electronic markets (eg, Google Play Store, App Store). have. For electronic distribution, at least a portion of the S/W program may be stored in a storage medium or may be temporarily generated. In this case, the storage medium may be a server of a manufacturer, a server of an electronic market, or a storage medium of a relay server temporarily storing a SW program.

컴퓨터 프로그램 제품은, 서버 및 전자 장치로 구성되는 시스템에서, 서버의 저장매체 또는 전자 장치의 저장매체를 포함할 수 있다. 또는, 서버 또는 전자 장치와 통신 연결되는 제3 장치(예, 스마트폰)가 존재하는 경우, 컴퓨터 프로그램 제품은 제3 장치의 저장 매체를 포함할 수 있다. 또는, 컴퓨터 프로그램 제품은 서버로부터 전자 장치 또는 제3 장치로 전송되거나, 제3 장치로부터 전자 장치로 전송되는 S/W 프로그램 자체를 포함할 수 있다.The computer program product, in a system consisting of a server and an electronic device, may include a storage medium of the server or a storage medium of the electronic device. Alternatively, when there is a third device (eg, a smartphone) that is communicatively connected to the server or the electronic device, the computer program product may include a storage medium of the third device. Alternatively, the computer program product may include the S/W program itself transmitted from the server to the electronic device or the third device, or transmitted from the third device to the electronic device.

이 경우, 서버, 전자 장치 및 제3 장치 중 하나가 컴퓨터 프로그램 제품을 실행하여 개시된 실시예들에 따른 방법을 수행할 수 있다. 또는, 서버, 전자 장치 및 제3 장치 중 둘 이상이 컴퓨터 프로그램 제품을 실행하여 개시된 실시예들에 따른 방법을 분산하여 실시할 수 있다.In this case, one of the server, the electronic device, and the third device may execute the computer program product to perform the method according to the disclosed embodiments. Alternatively, two or more of the server, the electronic device, and the third device may execute the computer program product to distribute the method according to the disclosed embodiments.

예를 들면, 서버(예로, 클라우드 서버 또는 인공 지능 서버 등)가 서버에 저장된 컴퓨터 프로그램 제품을 실행하여, 서버와 통신 연결된 전자 장치가 개시된 실시예들에 따른 방법을 수행하도록 제어할 수 있다. For example, a server (eg, a cloud server or an artificial intelligence server) may execute a computer program product stored in the server to control an electronic device communicatively connected to the server to perform the method according to the disclosed embodiments.

또 다른 예로, 제3 장치가 컴퓨터 프로그램 제품을 실행하여, 제3 장치와 통신 연결된 전자 장치가 개시된 실시예에 따른 방법을 수행하도록 제어할 수 있다. 제3 장치가 컴퓨터 프로그램 제품을 실행하는 경우, 제3 장치는 서버로부터 컴퓨터 프로그램 제품을 다운로드하고, 다운로드 된 컴퓨터 프로그램 제품을 실행할 수 있다. 또는, 제3 장치는 프리로드 된 상태로 제공된 컴퓨터 프로그램 제품을 실행하여 개시된 실시예들에 따른 방법을 수행할 수도 있다.As another example, the third device may execute a computer program product to control the electronic device communicatively connected to the third device to perform the method according to the disclosed embodiment. When the third device executes the computer program product, the third device may download the computer program product from the server and execute the downloaded computer program product. Alternatively, the third device may execute the computer program product provided in a preloaded state to perform the method according to the disclosed embodiments.

이상에서 실시예들에 대하여 상세하게 설명하였지만 본 발명의 권리범위는 이에 한정되는 것은 아니고 다음의 청구범위에서 정의하고 있는 본 발명의 기본 개념을 이용한 당업자의 여러 변형 및 개량 형태 또한 본 발명의 권리범위에 속한다.Although the embodiments have been described in detail above, the scope of the present invention is not limited thereto, and various modifications and improvements by those skilled in the art using the basic concept of the present invention as defined in the following claims are also included in the scope of the present invention. belongs to

100 :전자 장치 100: electronic device

Claims (21)

전자 장치에 있어서,
디스플레이부;
하나 이상의 인스트럭션들을 저장하는 메모리; 및
상기 메모리에 저장된 상기 하나 이상의 인스트럭션들을 실행하는 프로세서를 포함하고,
상기 프로세서는 상기 하나 이상의 인스트럭션들을 실행함으로써,
복수의 이미지들을 획득하고, 범용 데이터에 기초한 특징 추출 모델을 이용하여 상기 복수의 이미지들에 대한 딥 피쳐들(deep features)을 추출하며,
추출된 딥 피쳐들 및 범용 데이터에 기초한 분류 모델을 이용하여 상기 복수의 이미지들을 소정의 그룹들로 분류하고,
상기 분류된 결과를 상기 디스플레이부에 표시하며,
상기 분류된 결과를 이용하여 상기 특징 추출 모델 및 상기 분류 모델의 업데이트 필요 여부를 결정하고,
상기 특징 추출 모델 및 상기 분류 모델 중 적어도 하나가 업데이트가 필요한 경우, 상기 전자 장치의 사용자 데이터를 이용하여, 상기 특징 추출 모델 및 상기 분류 모델 중 적어도 하나를 훈련시켜 업데이트하며,
상기 프로세서는 상기 소정 그룹들에 분류된 이미지들의 개수의 밸런스에 기초하여, 상기 특징 추출 모델 및 상기 분류 모델 중 적어도 하나의 업데이트 필요 여부를 결정하는 전자 장치.
In an electronic device,
display unit;
a memory storing one or more instructions; and
a processor executing the one or more instructions stored in the memory;
The processor by executing the one or more instructions,
Obtaining a plurality of images, extracting deep features for the plurality of images using a feature extraction model based on general data,
Classifying the plurality of images into predetermined groups using a classification model based on the extracted deep features and general data,
Display the classified result on the display unit,
Determining whether to update the feature extraction model and the classification model using the classified result,
When at least one of the feature extraction model and the classification model needs to be updated, by using user data of the electronic device, at least one of the feature extraction model and the classification model is trained and updated;
The processor determines whether to update at least one of the feature extraction model and the classification model based on a balance of the number of images classified into the predetermined groups.
제1항에 있어서,
상기 프로세서는 상기 하나 이상의 인스트럭션들을 실행함으로써,
상기 복수의 이미지들 및 상기 딥 피쳐들을 저장하는, 전자 장치.
According to claim 1,
The processor by executing the one or more instructions,
and storing the plurality of images and the deep features.
제2항에 있어서,
상기 프로세서는 상기 하나 이상의 인스트럭션들을 실행함으로써,
상기 딥 피쳐들을 상기 복수의 이미지들에 대한 교환 이미지 파일(EXIF) 형식으로 저장하는, 전자 장치.
3. The method of claim 2,
The processor by executing the one or more instructions,
and storing the deep features in an exchange image file (EXIF) format for the plurality of images.
제1항에 있어서,
상기 특징 추출 모델은, 제1 신경망(Neural Network)을 포함하고,
상기 프로세서는 상기 하나 이상의 인스트럭션들을 실행함으로써,
상기 제1 신경망에 상기 복수의 이미지들 각각을 입력하여, 상기 제1 신경망의 적어도 하나의 층(layer)에서 벡터를 추출하며,
상기 복수의 이미지들 각각에 대한 딥 피쳐는 상기 추출된 벡터를 포함하는, 전자 장치.
According to claim 1,
The feature extraction model includes a first neural network,
The processor by executing the one or more instructions,
Inputting each of the plurality of images to the first neural network, extracting a vector from at least one layer of the first neural network,
The deep feature for each of the plurality of images includes the extracted vector.
제4항에 있어서,
상기 분류 모델은, 상기 복수의 이미지들에 대한 딥 피쳐들 사이의 유사도에 기초하여, 상기 복수의 이미지들을 소정의 그룹으로 분류하는 제2 신경망(Neural Network)을 포함하는, 전자 장치.
5. The method of claim 4,
The classification model includes a second neural network that classifies the plurality of images into a predetermined group based on the similarity between the deep features of the plurality of images.
제5항에 있어서,
상기 복수의 이미지들에 대한 딥 피쳐들 사이의 유사도는, 상기 딥 피쳐들에 포함된 벡터들의 차이로 나타나고, 상기 벡터들의 차이가 클수록 유사도가 작아지고, 상기 벡터들의 차이가 작을수록 유사도가 커지며, 동일한 그룹으로 분류된 이미지들에 대응하는 벡터들의 차이는 기 설정된 범위 내인, 전자 장치.
6. The method of claim 5,
The degree of similarity between the deep features for the plurality of images is expressed as a difference between vectors included in the deep features, the greater the difference between the vectors, the smaller the similarity, and the smaller the difference between the vectors, the greater the similarity. The difference between vectors corresponding to images classified into the same group is within a preset range.
제1항에 있어서,
상기 프로세서는 상기 하나 이상의 인스트럭션들을 실행함으로써,
제1 이미지를 획득하고, 상기 제1 이미지의 딥 피쳐를 추출하며, 상기 제1 이미지의 딥 피쳐에 기초하여, 상기 분류된 복수의 이미지들 중 상기 제1 이미지의 딥 피쳐와 유사한 딥 피쳐를 가지는 적어도 하나의 이미지를 추출하고, 상기 추출된 적어도 하나의 이미지를 상기 디스플레이부에 표시하는, 전자 장치.
According to claim 1,
The processor by executing the one or more instructions,
acquiring a first image, extracting a deep feature of the first image, and having a deep feature similar to the deep feature of the first image among the classified plurality of images based on the deep feature of the first image Extracting at least one image, and displaying the extracted at least one image on the display unit.
제1항에 있어서,
상기 프로세서는 상기 하나 이상의 인스트럭션들을 실행함으로써,
주기적으로 또는 사용자의 요청이 입력되면, 상기 특징 추출 모델 및 분류 모델 중 적어도 하나를 훈련시켜 업데이트하는, 전자 장치.
According to claim 1,
The processor by executing the one or more instructions,
An electronic device that trains and updates at least one of the feature extraction model and the classification model periodically or when a user's request is input.
제1항에 있어서,
상기 프로세서는 상기 하나 이상의 인스트럭션들을 실행함으로써,
상기 분류 모델이 업데이트 된 경우, 상기 분류된 복수의 이미지들을, 상기 추출된 딥 피쳐들 및 업데이트된 분류 모델을 이용하여, 재 분류하는, 전자 장치.
According to claim 1,
The processor by executing the one or more instructions,
When the classification model is updated, reclassifying the plurality of classified images using the extracted deep features and the updated classification model.
제1항에 있어서,
상기 프로세서는 상기 하나 이상의 인스트럭션들을 실행함으로써,
상기 특징 추출 모델이 업데이트 된 경우, 업데이트된 특징 추출 모델을 이용하여 상기 분류된 복수의 이미지들에 대한 딥 피쳐들을 재 추출하고, 재 추출된 딥 피쳐들 및 상기 분류 모델을 이용하여, 상기 분류된 복수의 이미지들을 재 분류하는, 전자 장치.
According to claim 1,
The processor by executing the one or more instructions,
When the feature extraction model is updated, deep features for the plurality of classified images are re-extracted using the updated feature extraction model, and the classified by using the re-extracted deep features and the classification model An electronic device for reclassifying a plurality of images.
제1항에 있어서,
상기 특징 추출 모델 및 분류 모델 중 적어도 하나가 업데이트된 경우,
상기 프로세서는 상기 하나 이상의 인스트럭션들을 실행함으로써,
상기 복수의 이미지들이 분류된 그룹 중 제1 그룹에 포함되는 복수의 이미지들에 대한 딥 피쳐들에 기초하여, 상기 제1 그룹에 포함되는 복수의 이미지들을 2개 이상의 그룹으로 재 분류하는, 전자 장치.
According to claim 1,
When at least one of the feature extraction model and the classification model is updated,
The processor by executing the one or more instructions,
An electronic device that reclassifies the plurality of images included in the first group into two or more groups based on deep features of the plurality of images included in the first group among the group into which the plurality of images are classified .
제1항에 있어서,
상기 특징 추출 모델 및 분류 모델 중 적어도 하나가 업데이트된 경우,
상기 프로세서는 상기 하나 이상의 인스트럭션들을 실행함으로써,
상기 복수의 이미지들이 분류된 그룹 중 제1 그룹 및 제2 그룹에 포함되는 복수의 이미지들을 동일한 그룹으로 재 분류하는, 전자 장치.
According to claim 1,
When at least one of the feature extraction model and the classification model is updated,
The processor by executing the one or more instructions,
and reclassifying a plurality of images included in a first group and a second group among the group into which the plurality of images are classified into the same group.
제1항에 있어서,
상기 프로세서는 상기 하나 이상의 인스트럭션들을 실행함으로써,
상기 소정의 그룹들에 대응하는 그룹명을 생성하는, 전자 장치.
According to claim 1,
The processor by executing the one or more instructions,
and generating a group name corresponding to the predetermined groups.
전자 장치의 동작 방법에 있어서,
복수의 이미지들을 획득하는 단계;
범용 데이터에 기초한 특징 추출 모델을 이용하여 상기 복수의 이미지들에 대한 딥 피쳐들(deep features)을 추출하는 단계;
추출된 딥 피쳐들 및 범용 데이터에 기초한 분류 모델을 이용하여 상기 복수의 이미지들을 소정의 그룹들로 분류하고, 상기 분류된 결과를 표시하는 단계;
상기 분류된 결과를 이용하여, 상기 특징 추출 모델 및 상기 분류 모델의 업데이트 필요 여부를 결정하는 단계; 및
상기 특징 추출 모델 및 상기 분류 모델 중 적어도 하나가 업데이트가 필요한 경우, 상기 전자 장치의 사용자 데이터를 이용하여, 상기 특징 추출 모델 및 분류 모델 중 적어도 하나를 훈련시켜 업데이트하는 단계를 포함하고,
상기 분류된 결과를 이용하여, 상기 특징 추출 모델 및 상기 분류 모델의 업데이트 필요 여부를 결정하는 단계는,
상기 소정 그룹들에 분류된 이미지들의 개수의 밸런스에 기초하여, 상기 특징 추출 모델 및 상기 분류 모델 중 적어도 하나의 업데이트 필요 여부를 결정하는 단계를 포함하는 전자 장치의 동작방법.
A method of operating an electronic device, comprising:
acquiring a plurality of images;
extracting deep features for the plurality of images using a feature extraction model based on general-purpose data;
classifying the plurality of images into predetermined groups using a classification model based on the extracted deep features and general data, and displaying the classification result;
determining whether to update the feature extraction model and the classification model by using the classified result; and
When at least one of the feature extraction model and the classification model needs to be updated, using user data of the electronic device to train and update at least one of the feature extraction model and the classification model;
Determining whether to update the feature extraction model and the classification model by using the classified result comprises:
and determining whether to update at least one of the feature extraction model and the classification model based on a balance of the number of images classified into the predetermined groups.
제14항에 있어서,
상기 동작방법은,
상기 딥 피쳐들을 상기 복수의 이미지들에 대한 교환 이미지 파일(EXIF) 형식으로 저장하는 단계를 더 포함하는, 전자 장치의 동작방법.
15. The method of claim 14,
The method of operation is
and storing the deep features in an exchange image file (EXIF) format for the plurality of images.
제14항에 있어서,
상기 특징 추출 모델은, 제1 신경망(Neural Network)을 포함하고, 상기 분류 모델은, 상기 복수의 이미지들의 딥 피쳐들 사이의 유사도에 기초하여, 상기 복수의 이미지들을 소정의 그룹으로 분류하는 제2 신경망(Neural Network)을 포함하며,
상기 복수의 이미지들에 대한 딥 피쳐들(deep features)을 추출하는 단계는,
상기 제1 신경망에 상기 복수의 이미지들 각각을 입력하여, 상기 제1 신경망의 적어도 하나의 층(layer)에서 벡터를 추출하는 단계를 포함하고,
상기 복수의 이미지들을 소정의 그룹들로 분류하고, 상기 분류된 결과를 표시하는 단계는,
상기 복수의 이미지들 중 벡터들의 차이가 기 설정된 범위 내인 적어도 하나의 이미지를 동일한 그룹으로 분류하는 단계를 포함하는, 전자 장치의 동작방법.
15. The method of claim 14,
The feature extraction model includes a first neural network, and the classification model is a second classification model for classifying the plurality of images into a predetermined group based on similarities between deep features of the plurality of images. Includes a neural network,
The step of extracting deep features for the plurality of images,
inputting each of the plurality of images to the first neural network, and extracting a vector from at least one layer of the first neural network,
Classifying the plurality of images into predetermined groups, and displaying the classified result,
and classifying at least one image having a difference between vectors within a preset range among the plurality of images into the same group.
제14항에 있어서,
상기 동작방법은,
제1 이미지를 획득하는 단계;
상기 제1 이미지의 딥 피쳐를 추출하는 단계;
상기 제1 이미지의 딥 피쳐에 기초하여, 상기 분류된 복수의 이미지들 중 상기 제1 이미지의 딥 피쳐와 유사한 딥 피쳐를 가지는 적어도 하나의 이미지를 추출하는 단계; 및
상기 추출된 적어도 하나의 이미지를 표시하는 단계를 더 포함하는, 전자 장치의 동작방법.
15. The method of claim 14,
The method of operation is
acquiring a first image;
extracting a deep feature of the first image;
extracting at least one image having a deep feature similar to the deep feature of the first image from among the plurality of classified images based on the deep feature of the first image; and
The method of operating an electronic device further comprising the step of displaying the at least one extracted image.
제14항에 있어서,
상기 동작방법은,
상기 분류 모델이 업데이트 된 경우, 상기 분류된 복수의 이미지들을 상기 딥 피쳐들 및 업데이트된 분류 모델을 이용하여 재 분류하는 단계를 더 포함하는, 전자 장치의 동작방법.
15. The method of claim 14,
The method of operation is
When the classification model is updated, the method further comprising the step of reclassifying the plurality of classified images using the deep features and the updated classification model.
제14항에 있어서,
상기 동작방법은,
상기 특징 추출 모델이 업데이트 된 경우, 상기 분류된 복수의 이미지들에 대한 딥 피쳐들을 재 추출하는 단계; 및
상기 재 추출된 딥 피쳐들 및 상기 분류 모델을 이용하여, 상기 분류된 복수의 이미지들을 재 분류하는 단계를 더 포함하는, 전자 장치의 동작방법.
15. The method of claim 14,
The method of operation is
re-extracting deep features for the plurality of classified images when the feature extraction model is updated; and
Using the re-extracted deep features and the classification model, the method further comprising the step of reclassifying the plurality of classified images.
전자 장치로 하여금,
복수의 이미지들을 획득하는 단계;
범용 데이터에 기초한 특징 추출 모델을 이용하여 상기 복수의 이미지들에 대한 딥 피쳐들(deep features)을 추출하는 단계;
추출된 딥 피쳐들 및 범용 데이터에 기초한 분류 모델을 이용하여 상기 복수의 이미지들을 소정의 그룹들로 분류하고, 상기 분류된 결과를 표시하는 단계;
상기 소정 그룹들에 분류된 이미지들의 개수의 밸런스에 기초하여, 상기 특징 추출 모델 및 상기 분류 모델 중 적어도 하나의 업데이트 필요 여부를 결정하는 단계; 및
상기 특징 추출 모델 및 상기 분류 모델 중 적어도 하나가 업데이트가 필요한 경우, 상기 전자 장치의 사용자 데이터를 이용하여, 상기 특징 추출 모델 및 분류 모델 중 적어도 하나를 훈련시켜 업데이트하는 단계를 수행하도록 설정된 명령어들을 저장하는 컴퓨터로 판독 가능한 기록 매체.
the electronic device,
acquiring a plurality of images;
extracting deep features for the plurality of images using a feature extraction model based on general-purpose data;
classifying the plurality of images into predetermined groups using a classification model based on the extracted deep features and general data, and displaying the classification result;
determining whether to update at least one of the feature extraction model and the classification model based on a balance of the number of images classified into the predetermined groups; and
When at least one of the feature extraction model and the classification model needs to be updated, using user data of the electronic device, training and updating at least one of the feature extraction model and the classification model is stored. computer-readable recording medium.
삭제delete
KR1020170136612A 2017-01-03 2017-10-20 Image display device and operating method for the same KR102428920B1 (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
US15/859,971 US10970605B2 (en) 2017-01-03 2018-01-02 Electronic apparatus and method of operating the same
PCT/KR2018/000069 WO2018128362A1 (en) 2017-01-03 2018-01-03 Electronic apparatus and method of operating the same
CN201880005869.1A CN110168530B (en) 2017-01-03 2018-01-03 Electronic device and method of operating the same
EP18735947.6A EP3545436A4 (en) 2017-01-03 2018-01-03 Electronic apparatus and method of operating the same

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR20170000789 2017-01-03
KR1020170000789 2017-01-03

Publications (2)

Publication Number Publication Date
KR20180080098A KR20180080098A (en) 2018-07-11
KR102428920B1 true KR102428920B1 (en) 2022-08-04

Family

ID=62917879

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020170136612A KR102428920B1 (en) 2017-01-03 2017-10-20 Image display device and operating method for the same

Country Status (3)

Country Link
EP (1) EP3545436A4 (en)
KR (1) KR102428920B1 (en)
CN (1) CN110168530B (en)

Families Citing this family (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102301720B1 (en) 2018-07-10 2021-09-10 주식회사 엘지에너지솔루션 Electrochemical capacitor and manufacturing method thereof
KR102135477B1 (en) * 2018-08-31 2020-07-17 엔에이치엔 주식회사 Method and system for image automatic classification
KR20200052440A (en) 2018-10-29 2020-05-15 삼성전자주식회사 Electronic device and controlling method for electronic device
JP7225876B2 (en) 2019-02-08 2023-02-21 富士通株式会社 Information processing device, arithmetic processing device, and control method for information processing device
KR102259045B1 (en) * 2019-03-20 2021-05-31 박주복 Method and apparatus of generating virtual reality image
WO2020256339A1 (en) * 2019-06-18 2020-12-24 삼성전자주식회사 Electronic device and control method of same
KR20210048896A (en) * 2019-10-24 2021-05-04 엘지전자 주식회사 Detection of inappropriate object in the use of eletronic device
KR102144975B1 (en) * 2019-11-08 2020-08-14 주식회사 알체라 Machine learning system and method for operating machine learning system
CN112906724B (en) * 2019-11-19 2024-09-13 华为技术有限公司 Image processing device, method, medium and system
KR102293791B1 (en) * 2019-11-28 2021-08-25 광주과학기술원 Electronic device, method, and computer readable medium for simulation of semiconductor device
KR102476334B1 (en) * 2020-04-22 2022-12-09 인하대학교 산학협력단 Diary generator using deep learning
KR20210155283A (en) * 2020-06-15 2021-12-22 삼성전자주식회사 Electronic device and operating method for the same
CN112016595A (en) * 2020-08-05 2020-12-01 清华大学 Image classification method and device, electronic equipment and readable storage medium
CN113850179A (en) * 2020-10-27 2021-12-28 深圳市商汤科技有限公司 Image detection method, and training method, device, equipment and medium of related model
KR102434483B1 (en) * 2020-12-17 2022-08-19 주식회사 알체라 Method for managing biometrics system and apparatus for performing the same
KR102479718B1 (en) * 2021-01-14 2022-12-21 대전대학교 산학협력단 Ai based image recognition and classification method for ar device, thereof system
KR102688711B1 (en) * 2021-01-25 2024-07-26 주식회사 제네시스랩 Methods, Systems and Computer-Readable Medium for Learning Machine-Learned-Model Evaluating Plural Competency
CN113254742B (en) * 2021-07-14 2021-11-30 深圳市赛野展览展示有限公司 Display device based on 5G deep learning artificial intelligence
KR102422962B1 (en) * 2021-07-26 2022-07-20 주식회사 크라우드웍스 Automatic image classification and processing method based on continuous processing structure of multiple artificial intelligence model, and computer program stored in a computer-readable recording medium to execute the same

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110169982A1 (en) 2010-01-13 2011-07-14 Canon Kabushiki Kaisha Image management apparatus, method of controlling the same, and storage medium storing program therefor
US20160140146A1 (en) * 2014-11-14 2016-05-19 Zorroa Corporation Systems and Methods of Building and Using an Image Catalog

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100738080B1 (en) * 2005-11-08 2007-07-12 삼성전자주식회사 Method of and apparatus for face recognition using gender information
US10043112B2 (en) * 2014-03-07 2018-08-07 Qualcomm Incorporated Photo management
CN105335712A (en) * 2015-10-26 2016-02-17 小米科技有限责任公司 Image recognition method, device and terminal

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110169982A1 (en) 2010-01-13 2011-07-14 Canon Kabushiki Kaisha Image management apparatus, method of controlling the same, and storage medium storing program therefor
US20160140146A1 (en) * 2014-11-14 2016-05-19 Zorroa Corporation Systems and Methods of Building and Using an Image Catalog

Also Published As

Publication number Publication date
EP3545436A1 (en) 2019-10-02
KR20180080098A (en) 2018-07-11
EP3545436A4 (en) 2020-05-06
CN110168530B (en) 2024-01-26
CN110168530A (en) 2019-08-23

Similar Documents

Publication Publication Date Title
KR102428920B1 (en) Image display device and operating method for the same
US10970605B2 (en) Electronic apparatus and method of operating the same
US11042728B2 (en) Electronic apparatus for recognition of a user and operation method thereof
KR102453169B1 (en) method and device for adjusting an image
US11783191B2 (en) Method and electronic device for providing text-related image
KR102491546B1 (en) Method and apparatus for recognizing an object
US20200118010A1 (en) System and method for providing content based on knowledge graph
KR20220140673A (en) method and device for adjusting an image
KR102530045B1 (en) Image display device and operating method for the same
KR20190016367A (en) Method and apparatus for recognizing an object
KR20180055708A (en) Device and method for image processing
KR102606287B1 (en) Device and method for providing translation information of application
KR102420567B1 (en) Method and device for voice recognition
KR102628042B1 (en) Device and method for recommeding contact information
US20190362718A1 (en) Electronic device for outputting response to speech input by using application and operation method thereof
KR102430567B1 (en) Electronic device and method for providing image associated with text
KR20190053675A (en) Electronic apparatus and operating method thereof
KR20190088406A (en) Video playback device and controlling method thereof
KR102449877B1 (en) Method and terminal for providing a content
KR20190096752A (en) Method and electronic device for generating text comment for content
KR102384878B1 (en) Method and apparatus for filtering video
KR102423754B1 (en) Device and method for providing response to question about device usage
KR20180075227A (en) ElECTRONIC DEVICE AND METHOD THEREOF FOR PROVIDING RETRIEVAL SERVICE
KR20200084428A (en) Method for generating video and device thereof
KR20200084395A (en) Electronic device and operating method for recognizing an object in a image

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right