KR102428920B1 - Image display device and operating method for the same - Google Patents
Image display device and operating method for the same Download PDFInfo
- 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
Links
- 238000011017 operating method Methods 0.000 title description 6
- 238000013145 classification model Methods 0.000 claims abstract description 199
- 238000000605 extraction Methods 0.000 claims abstract description 144
- 238000013528 artificial neural network Methods 0.000 claims abstract description 63
- 238000000034 method Methods 0.000 claims description 54
- 239000013598 vector Substances 0.000 claims description 30
- 238000012549 training Methods 0.000 claims description 23
- 239000000284 extract Substances 0.000 abstract description 38
- 238000013473 artificial intelligence Methods 0.000 abstract description 15
- 238000010801 machine learning Methods 0.000 abstract description 6
- 238000013135 deep learning Methods 0.000 abstract description 5
- 238000010586 diagram Methods 0.000 description 29
- 241000282472 Canis lupus familiaris Species 0.000 description 22
- 238000004891 communication Methods 0.000 description 22
- 230000006870 function Effects 0.000 description 20
- 238000011156 evaluation Methods 0.000 description 19
- 238000004590 computer program Methods 0.000 description 16
- 238000005516 engineering process Methods 0.000 description 15
- 230000000306 recurrent effect Effects 0.000 description 10
- 230000008569 process Effects 0.000 description 7
- 238000012545 processing Methods 0.000 description 7
- 238000007781 pre-processing Methods 0.000 description 6
- 230000005236 sound signal Effects 0.000 description 6
- 230000002457 bidirectional effect Effects 0.000 description 5
- 238000013527 convolutional neural network Methods 0.000 description 4
- 230000033001 locomotion Effects 0.000 description 4
- 238000010295 mobile communication Methods 0.000 description 3
- 210000004556 brain Anatomy 0.000 description 2
- 230000019771 cognition Effects 0.000 description 2
- 230000006872 improvement Effects 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000002787 reinforcement Effects 0.000 description 2
- 239000004984 smart glass Substances 0.000 description 2
- 230000000007 visual effect Effects 0.000 description 2
- 230000001133 acceleration Effects 0.000 description 1
- 230000009471 action Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 230000015572 biosynthetic process Effects 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000009977 dual effect Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000007726 management method Methods 0.000 description 1
- 238000013507 mapping Methods 0.000 description 1
- 238000000691 measurement method Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000003058 natural language processing Methods 0.000 description 1
- 238000005457 optimization Methods 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 238000003786 synthesis reaction Methods 0.000 description 1
- 238000013519 translation Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/50—Information retrieval; Database structures therefor; File system structures therefor of still image data
- G06F16/51—Indexing; Data structures therefor; Storage structures
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/50—Information retrieval; Database structures therefor; File system structures therefor of still image data
- G06F16/58—Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
- G06F16/583—Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using metadata automatically derived from the content
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V10/00—Arrangements for image or video recognition or understanding
- G06V10/70—Arrangements for image or video recognition or understanding using pattern recognition or machine learning
- G06V10/764—Arrangements for image or video recognition or understanding using pattern recognition or machine learning using classification, e.g. of video objects
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/50—Information retrieval; Database structures therefor; File system structures therefor of still image data
- G06F16/55—Clustering; Classification
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/20—Analysing
- G06F18/21—Design or setup of recognition systems or techniques; Extraction of features in feature space; Blind source separation
- G06F18/217—Validation; Performance evaluation; Active pattern learning techniques
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/20—Analysing
- G06F18/22—Matching criteria, e.g. proximity measures
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/20—Analysing
- G06F18/23—Clustering techniques
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/20—Analysing
- G06F18/24—Classification techniques
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/20—Analysing
- G06F18/24—Classification techniques
- G06F18/241—Classification techniques relating to the classification model, e.g. parametric or non-parametric approaches
- G06F18/2413—Classification techniques relating to the classification model, e.g. parametric or non-parametric approaches based on distances to training or reference patterns
- G06F18/24133—Distances to prototypes
- G06F18/24143—Distances to neighbourhood prototypes, e.g. restricted Coulomb energy networks [RCEN]
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/04—Architecture, e.g. interconnection topology
- G06N3/045—Combinations of networks
-
- G06N3/0454—
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/08—Learning methods
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V10/00—Arrangements for image or video recognition or understanding
- G06V10/40—Extraction of image or video features
- G06V10/44—Local 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/443—Local 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/449—Biologically inspired filters, e.g. difference of Gaussians [DoG] or Gabor filters
- G06V10/451—Biologically inspired filters, e.g. difference of Gaussians [DoG] or Gabor filters with interaction between the filter responses, e.g. cortical complex cells
- G06V10/454—Integrating the filters into a hierarchical structure, e.g. convolutional neural networks [CNN]
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V10/00—Arrangements for image or video recognition or understanding
- G06V10/70—Arrangements for image or video recognition or understanding using pattern recognition or machine learning
- G06V10/82—Arrangements for image or video recognition or understanding using pattern recognition or machine learning using neural networks
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V10/00—Arrangements for image or video recognition or understanding
- G06V10/94—Hardware or software architectures specially adapted for image or video understanding
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V20/00—Scenes; Scene-specific elements
- G06V20/35—Categorising the entire scene, e.g. birthday party or wedding scene
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/04—Architecture, e.g. interconnection topology
- G06N3/044—Recurrent 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
다양한 실시예들은 전자 장치 및 그 동작방법에 관한 것으로서, 더욱 상세하게는 복수의 이미지들을 소정의 그룹으로 분류하거나 소정의 그룹에 특정 키워드를 부여할 수 있는 전자 장치 및 그 동작방법에 관한 것이다.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
13 is a block diagram of a
14 is a block diagram of a
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
본 명세서의 실시예에서 "사용자"라는 용어는 전자 장치의 기능 또는 동작을 제어하는 사람을 의미하며, 시청자, 관리자 또는 설치 기사를 포함할 수 있다.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
일 실시예에 따른 전자 장치는 특징 추출 모델(20)을 이용하여 복수의 이미지들의 딥 피쳐들(deep features)을 추출할 수 있다. The electronic device according to an embodiment may extract deep features of a plurality of images by using the
특징 추출 모델(20)은, 신경망(Neural Network)을 기반으로 하는 모델일 수 있다. 예를 들어, DNN(Deep Neural Network), RNN(Recurrent Neural Network), BRDNN(Bidirectional Recurrent Deep Neural Network)과 같은 모델이 특징 추출 모델(20)로 사용될 수 있으나, 이에 한정되지 않는다. The
또한, 초기의 특징 추출 모델(20)은, 범용 데이터를 이용하여 학습된 모델일 수 있다. 이미지의 딥 피쳐(deep feature)는, 이미지를 적어도 하나의 신경망(Neural Network)에 입력하여, 적어도 하나의 신경망에 포함되는 적어도 하나의 층(layer)에서 추출된 벡터(vector)를 포함할 수 있다.Also, the initial
벡터는, 예를 들면, 이미지의 특징을 포함할 수 있다. 이미지의 특징은, 예를 들면, 이미지에 포함된 객체의 형상, 종류 및 이미지가 촬영된 장소 등을 포함할 수 있다. 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
일 실시예에 따른 전자 장치(100)는, 복수의 이미지들에 대한 딥 피쳐들이 추출되면, 추출된 딥 피쳐들 및 분류 모델(30)을 이용하여, 복수의 이미지들을 분류할 수 있다.When deep features for a plurality of images are extracted, the
분류 모델(30)은, 신경망(Neural Network)을 기반으로 하는 모델일 수 있다. 예를 들어, DNN(Deep Neural Network), RNN(Recurrent Neural Network), BRDNN(Bidirectional Recurrent Deep Neural Network)과 같은 모델이 분류 모델(30)로 사용될 수 있으나, 이에 한정되지 않는다. The
또한, 초기의 분류 모델(30)은, 범용 데이터를 이용하여 학습된 모델일 수 있다. 예를 들면, 분류 모델(30)은 이미지, 이미지에서 추출한 딥 피쳐 및 이미지 분류 결과를 학습 데이터로 하여 학습될 수 있다. 구체적으로, 강아지를 촬영한 이미지, 이미지의 딥 피쳐(예를 들면, 강아지의 형상, 종류 등) 및 이미지의 분류 목록(예를 들면, 강아지, 비글, 푸들 등)을 학습 데이터로 하여 학습될 수 있다. 또한, 야경을 촬영한 이미지, 이미지에서 추출한 딥 피쳐(예를 들면, 야경이 촬영된 위치, 건물의 명칭 등) 및 이미지의 분류(예를 들면, 풍경, 야경 등)를 학습 데이터로 하여 학습될 수 있다.Also, the
이로 인해, 분류 모델(30)은 복수의 이미지들에 대한 딥 피쳐들의 유사도에 기초하여, 복수의 이미지들을 소정의 그룹으로 분류할 수 있다. 이때, 딥 피쳐들의 유사도는, 딥 피쳐들로 추출된 벡터들 사이의 거리로 나타날 수 있다. 예를 들어, 벡터들을 좌표에 표시하였을 때, 좌표에 표시된 벡터들 사이의 거리가 짧을수록 유사도가 크고, 벡터들 사이의 거리가 멀수록 유사도가 작을 수 있다. 다만, 이에 한정되지 않는다.Accordingly, the
일 실시예에 따른 분류 모델(30)은 기 설정된 거리 범위에 있는 벡터들에 대응하는 이미지들을 동일한 그룹으로 분류할 수 있다. 예를 들어, 복수의 이미지들 중 좌표 영역 중 제1 영역에 표시되는 이미지들(예를 들어, '음식'의 특성을 나타내는 이미지들)을 제1 그룹(41)으로, 제2 영역에 표시되는 이미지들(예를 들어, '아기'의 특성을 나타내는 이미지들)을 제2 그룹(42)으로, 제3 영역에 표시되는 이미지들(예를 들어, '탑'의 특성을 나타내는 이미지들)을 제3 그룹(43)으로 분류할 수 있다. The
또한, 다양한 실시예에 따르면, 분류 모델(30)은 비글, 푸들 등의 강아지의 형상들을 포함하는 벡터들의 사이는 거리를 짧게 나타낼 수 있다. 또한, 분류 모델(30)은 풍경, 야경, 건물 등을 포함하는 벡터들의 사이는 거리는 짧게 나타낼 수 있다. 한편, 분류 모델(30)은 상술한 강아지의 형상들을 포함하는 벡터들과 풍경, 야경 등을 포함하는 벡터들의 사이는 거리를 멀게 나타낼 수 있다. 다만, 이에 한정되지 않는다.Also, according to various embodiments, the
일 실시예에 따른 특징 추출 모델(20) 및 분류 모델(30)은 동일한 신경망으로 구성될 수도 있으며, 서로 다른 신경망으로 독립적으로 구성될 수도 있다.The
일 실시예에 따른 특징 추출 모델(20) 및 분류 모델(30)은 분류된 결과를 이용하여 기존 특징 추출 모델 및 분류 모델의 업데이트 필요 여부를 판단할 수 있다. 업데이트가 필요하다고 판단된 경우에는 사용자 데이터를 이용하여 재 학습될 수 있다. The
예를 들어, 소정의 그룹으로 분류된 이미지들을 특징 추출 모델(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
또는, 별다른 지도 없이 이미지 분류기를 재 학습하고, 언어 모델의 학습 결과를 연계하여 이미지 분류 기준을 발견하는 비지도 학습(unsupervised learning)을 통하여, 특징 추출 모델(20) 및 분류 모델(30) 중 적어도 하나를 학습시킬 수 있다. 또한, 지도 학습으로 학습된 결과와 언어 모델의 학습 결과를 연계시켜 지도 없이, 이미지 분류 기준을 발견함으로써, 특징 추출 모델(20) 및 분류 모델(30) 중 적어도 하나를 학습시킬 수 있다.Alternatively, at least of the
또한, 학습에 따른 이미지의 분류 결과가 올바른 지에 대한 피드백을 이용하는 강화 학습(reinforcement learning)을 통하여, 특징 추출 모델(20) 및 분류 모델(30)을 학습시킬 수 있다. 다만, 이에 한정되지 않는다.Also, the
도 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
일 실시예에 따른 전자 장치(100)는 특징 추출 모델을 이용하여, 복수의 이미지들에 대한 딥 피쳐들을 추출할 수 있다(S220).The
특징 추출 모델은, 신경망(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
또한, 이미지의 딥 피쳐를 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
일 실시예에 따른 전자 장치(100)는 복수의 이미지들에 대한 딥 피쳐들 및 분류 모델에 기초하여, 복수의 이미지들을 분류할 수 있다(S230).The
분류 모델은, 신경망(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
일 실시예에 따른 전자 장치(100)는 복수의 이미지들이 분류된 결과를 이용하여, 특징 추출 모델 및 분류 모델의 업데이트가 필요한지 여부를 판단할 수 있다(S235).The
예를 들어, 전자 장치(100)는 복수의 이미지들이 분류된 그룹들 각각에 포함되는 이미지들 개수의 밸런스에 기초하여 특징 추출 모델 및 분류 모델의 업데이트 필요 여부를 판단할 수 있다. 분류 결과, 특정 그룹에만 이미지들이 포함되고, 나머지 그룹들에는 이미지가 포함되지 않거나 기 설정된 개수 미만의 이미지가 포함되는 경우, 전자 장치(100)는 특징 추출 모델 및 분류 모델의 업데이트가 필요한 것으로 판단할 수 있다. 반면에 분류 결과, 소정의 그룹들에 기 설정된 개수 이상의 이미지들이 포함되는 경우, 전자 장치(100)는 특징 추출 모델 및 분류 모델의 업데이트가 필요하지 않은 것으로 판단할 수 있다. 다만, 이에 한정되지 않으며, 특징 추출 모델 및 분류 모델의 업데이트 필요 여부는 다양한 기준에 따라 판단될 수 있다.For example, the
일 실시예에 따른 전자 장치(100)는 특징 추출 모델 및 분류 모델의 업데이트가 필요한 것으로 판단되는 경우, 특징 추출 모델 및 분류 모델 중 적어도 하나를 학습시켜, 업데이트할 수 있다(S240).When it is determined that the update of the feature extraction model and the classification model is required, the
일 실시예에 따른 전자 장치(100)는 사용자 데이터(예를 들어, 복수의 사용자 이미지들)를 이용하여, 특징 추출 모델 및 분류 모델 중 적어도 하나를 재 학습시켜, 업데이트할 수 있다. 특징 추출 모델 및 분류 모델 업데이트 시, 사용자 데이터를 활용하므로, 사용자 데이터에 적합하도록 특징 추출 모델 및 분류 모델이 업데이트될 수 있다.The
일 실시예에 따른 전자 장치(100)는 주기적으로 또는 사용자의 요청이 있는 경우에 특징 추출 모델 및 분류 모델 중 적어도 하나를 업데이트할 수 있다. 또는, 전자 장치(100)가 기 설정된 상태인 경우, 특징 추출 모델 및 분류 모델 중 적어도 하나를 업데이트할 수 있다. 예를 들어, 전자 장치(100)가 대기 모드로 진입하거나 충전 상태인 경우, 또는, 전자 장치(100)가 와이-파이(Wi-Fi) 네트워크에 연결된 상태인 경우, 특징 추출 모델 및 분류 모델 중 적어도 하나를 업데이트할 수 있다. 다만, 이에 한정되지 않는다.The
일 실시예에 따른 전자 장치(100)는 학습으로 업데이트된 특징 추출 모델 및 분류 모델을 이용하여, 획득된 복수의 이미지들의 딥 피쳐들을 추출하고, 복수의 이미지들을 분류할 수 있다. 또한, 전자 장치(100)는 기 분류된 복수의 이미지들의 딥 피쳐들을 재 추출할 수 있다. 이에 따라, 기 분류된 복수의 이미지들의 딥 피쳐 정보는 갱신되거나 추가될 수 있다. 또한, 전자 장치(100)는 재 추출된 딥 피쳐들에 기초하여, 복수의 이미지들을 재 분류할 수 있다.The
도 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
또한, 도 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
또한, 도 3의 (c)를 참조하면, 일 실시예에 따른 전자 장치(100)는 이미지를 하나의 신경망에 입력하여, 서로 다른 층에서 이미지에 대한 복수의 딥 피쳐를 추출할 수 있다. 예를 들어, 이미지를 하나의 신경망에 입력하여, 하나의 신경망의 n번째 층에서 제1 딥 피쳐(deep feature 1)를 추출하고, m번째 층에서 제2 딥 피쳐(deep feature 2)를 추출할 수 있다.Also, referring to FIG. 3C , the
전자 장치(100)는 추출된 딥 피쳐를, 딥 피쳐를 추출한 신경망 정보, 신경망의 층(layer) 정보, 서브 망 정보와 함께 저장할 수 있다. 일 실시예에 따른 전자 장치(100)는 동일한 신경망에서 추출된 딥 피쳐들을 이용하여, 복수의 이미지들을 분류하거나 이미지를 검색할 수 있다.The
도 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
전자 장치(100)가 특징 추출 모델 및 분류 모델을 이용하여, 복수의 이미지들을 분류하는 경우, 제1 내지 5 이미지(A1, A2, A3, A4, A5), 제7 내지 제8 이미지(A7, A8), 제10 이미지(A10)를 '개'의 카테고리로, 제6 이미지(A6), 제 9 이미지(A10)를 '사람'의 카테고리로 분류될 수 있다. 범용 데이터를 이용하여 학습된 특징 추출 모델 및 분류 모델에 따라 복수의 이미지들을 분류하는 경우, 실질적으로 '개'와 '사람' 카테고리만 사용되고, '풍경', '음식', '도로', '문서' 등의 카테고리는 사용하지 않게 된다. 이에 따라, '풍경', '음식', '도로', '문서' 와 관련된 이미지는 사용하지 않고, '개'와 '사람'과 관련된 이미지만을 주로 사용하는 사용자의 경우, 범용 데이터에 의해 학습된 특징 추출 모델 및 분류 모델에 대한 체감 성능이 감소하게 된다.When the
도 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
도 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
도 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
예를 들어, 제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
도 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,
도 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
도 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
예를 들어, 서버(200)는 범용 데이터에 기초하여, 이미지들을 어떻게 분류할 지에 대한 기준을 학습할 수 있다. 서버(200)는 범용 데이터에 기초하여, 복수의 이미지들의 딥 피쳐들을 추출하는 기준을 학습할 수 있다. 또한, 서버(200)는 복수의 이미지들에 대한 딥 피쳐들의 유사도에 기초하여, 복수의 이미지들을 소정의 그룹으로 분류하도록 학습할 수 있다.For example, the
전자 장치(100)는 서버(200)로부터 특징 추출 모델 및 분류 모델을 수신할 수 있다(S720).The
전자 장치(100)는 복수의 이미지들을 획득할 수 있다(S730).The
전자 장치(100)는 서버로부터 수신한 특징 추출 모델을 이용하여, 복수의 이미지들에 대한 딥 피쳐들을 추출할 수 있다(S740).The
전자 장치(100)는 추출된 딥 피쳐들 및 서버(200)로부터 수신한 분류 모델에 기초하여, 복수의 이미지들을 분류할 수 있다(S750).The
단계 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
서버(200)는 전자 장치(100)로부터 수신한 분류 결과를 이용하여, 특징 추출 모델 및 분류 모델의 업데이트 필요 여부를 판단하고, 특징 추출 모델 및 분류 모델 중 적어도 하나를 학습시켜 업데이트 할 수 있다(S770).The
전자 장치(100)는 서버(200)로부터 학습되어 업데이트된 특징 추출 모델 및 분류 모델을 수신할 수 있다(S780).The
전자 장치(100)는 업데이트된 특징 추출 모델 및 분류 모델을 이용하여, 복수의 이미지들을 분류할 수 있다(S790).The
또한, 전자 장치(100)는 기 분류된 복수의 이미지들의 딥 피쳐들을 재 추출하고, 재 추출된 딥 피쳐들에 기초하여, 복수의 이미지들을 재 분류할 수 있다.Also, the
한편, 도 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
도 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
제1 프로세서(120a)는 전자 장치(100)에 설치된 적어도 하나의 어플리케이션의 실행을 제어하고, 전자 장치(100)에 획득되는 이미지(예: 라이브 뷰 이미지, 촬영된 이미지 등)에 대한 그래픽 처리를 수행할 수 있다. 제1 프로세서(120a)는 CPU(central processing unit), GPU(graphic processing unit), 통신칩 및 센서 등의 기능이 통합된 SoC(system on chip) 형태로 구현될 수 있다. 또한, 제1 프로세서(120a)는 본 명세서 내에서 AP(application processor)로 설명될 수도 있다.The
제2 프로세서(120b)는 특징 추출 모델 및 분류 모델을 이용하여 이미지들을 분류할 수 있다. The
한편, 제2 프로세서(120b)는 데이터 인식 모델(예를 들면, 특징 추출 모델 및 분류 모델)을 이용한 이미지 분류 기능을 수행하는 인공 지능(AI; artificial intelligence)을 위한 전용 하드웨어 칩 형태로 제작될 수 있다. 다양한 실시예에 따르면, 시각적 이해를 요소기술로 하는 데이터 인식 모델의 경우, 인공 지능(AI: artificial intelligence)을 위한 전용 하드웨어 칩은 GPU를 포함할 수 있다.Meanwhile, the
또한, 전자 장치(100)는 제2 프로세서(120b)와 동일한 기능 또는 기능의 일부를 대신 수행하는 제3 프로세서, 제 4 프로세서 등을 더 포함할 수도 있다.Also, the
본 개시의 다양한 실시예에 따르면, 제1 프로세서(120a)가 수행하는 기능은 메모리에 저장되어 다양한 기능을 수행하는 어플리케이션들이 대응하여 수행할 수 있고, 제2 프로세서(120b)가 수행하는 기능은 전자 장치(100)의 운영 체제(예를 들면, OS(operation system)가 대응하여 수행할 수 있다. According to various embodiments of the present disclosure, the function performed by the
예를 들어, 카메라 어플리케이션은 이미지를 생성하여 데이터 인식 모델을 포함하고 있는 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
서버(200)는 특징 추출 모델 및 분류 모델을 전자 장치(100)로 전송할 수 있다. 예를 들어, 전자 장치(100)는 제2 프로세서(120b)가 특징 추출 모델 및 분류 모델을 이용할 수 있도록 설정될 수 있다(S7120).The
제1 프로세서(120a)는 복수 개의 이미지들을 획득할 수 있다(S7130).The
제1 프로세서(120a)는 획득한 이미지들을 제2 프로세서(120b)로 전송할 수 있다(S7140).The
제2 프로세서(120b)는 서버(200)로부터 수신된 특징 추출 모델을 이용하여 복수 개의 이미지들에 대한 딥 피쳐들을 추출할 수 있다(S7150).The
제2 프로세서(120b)는 추출된 딥 피쳐들 및 서버(200)로부터 수신된 분류 모델에 기초하여 복수 개의 이미지들을 분류할 수 있다(S7160).The
제2 프로세서(120b)는 특징 추출 모델 및 분류 모델의 업데이트 필요 여부를 확인하고, 특징 추출 모델 및 분류 모델 중 적어도 하나를 학습시켜 업데이트 할 수 있다(S7170).The
제2 프로세서(120b)는 업데이트 된 특징 추출 모델 및 분류 모델을 이용하여, 복수 개의 이미지들을 분류할 수 있다(S7180).The
또한, 제2 프로세서(120b)는 기 분류된 복수 개의 이미지들의 딥 피쳐들을 재 추출하고, 재 추출된 딥 피쳐들에 기초하여, 복수 개의 이미지들을 재 분류할 수 있다.Also, the
도 7C는 일 실시예에 따른 서버와 제1 프로세서(120a), 제2 프로세서(120b) 및 제3 프로세서(120c)의 동작 방법을 나타내는 흐름도이다.7C is a flowchart illustrating a server and an operating method of the
도 7C를 참조하면, 전자 장치(100)는 제1 프로세서(120a), 제2 프로세서(120b) 및 제3 프로세서(120c)를 포함할 수 있다. Referring to FIG. 7C , the
도 7C를 참조하면, 서버(200)는 범용 데이터를 이용하여 특징 추출 모델 및 분류 모델을 학습시킬 수 있다(S7210).Referring to FIG. 7C , the
서버(200)는 특징 추출 모델 및 분류 모델을 전자 장치(100)로 전송할 수 있다(S7220). 예를 들면, 전자 장치(100)는 제2 프로세서(120b)가 특징 추출 모델을 이용하고, 제3 프로세서(120c)가 분류 모델을 이용하도록 설정될 수 있다.The
제1 프로세서(120a)는 복수 개의 이미지들을 획득할 수 있다(S7230).The
제1 프로세서(120a)는 획득한 이미지들을 제2 프로세서(120b)로 전송할 수 있다(S7240).The
제2 프로세서(120b)는 서버(200)로부터 수신된 특징 추출 모델을 이용하여 복수 개의 이미지들에 대한 딥 피쳐들을 추출할 수 있다(S7250).The
제2 프로세서(120b)는 추출된 딥 피쳐들과 이미지들을 제3 프로세서(120c)로 전송할 수 있다(S7260).The
제3 프로세서(120c)는 딥 피쳐들 및 분류 모델에 기초하여 복수 개의 이미지들을 분류할 수 있다(S7270).The
제3 프로세서(120c)는 분류된 결과를 제2 프로세서(120b)로 전송할 수 있다(S7280).The
제2 프로세서(120b)는 특징 추출 모델의 업데이트 필요 여부를 확인하고, 분류된 결과를 이용하여 특징 추출 모델을 학습시킬 수 있다(S7290). The
제3 프로세서(120c)는 분류 모델의 업데이트 필요 여부를 확인하고, 분류된 결과를 이용하여 분류 모델을 학습시킬 수 있다(S7300).The
제2 프로세서(120b)는 업데이트 된 특징 추출 모델을 이용하여 복수 개의 이미지들의 딥 피쳐를 추출할 수 있다(S7310). 또한 제2 프로세서(120b)는 딥 피쳐들을 기 추출한 복수 개의 이미지들의 딥 피쳐들을 재 추출할 수 있다.The
제2 프로세서(120b)는 복수 개의 이미지들과 추출된 딥 피쳐들을 제3 프로세서(120c)로 전송할 수 있다(S7320).The
제3 프로세서(120c)는 업데이트 된 분류 모델을 이용하여 복수 개의 이미지들을 분류할 수 있다(S7330). 또한 제3 프로세서(120c)는 기 분류된 복수 개의 이미지들을 재 분류할 수 있다.The
도 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
전자 장치(100)는 특징 추출 모델을 이용하여, 제1 이미지에 대한 딥 피쳐를 추출할 수 있다(S820). 예를 들어, 전자 장치(100)는 특징 추출 모델에 포함되는 적어도 하나의 신경망에 제1 이미지를 입력하여, 제1 이미지의 딥 피쳐를 추출할 수 있다.The
전자 장치(100)는 기 저장된 이미지들 중 제1 이미지의 딥 피쳐와 유사한 딥 피쳐를 가지는 적어도 하나의 이미지를 추출할 수 있다(S830).The
전자 장치(100)는 분류 모델을 이용하여, 제1 이미지의 딥 피쳐와 기 저장된 복수의 이미지들의 딥 피쳐들의 유사도에 기초하여, 제1 이미지와 유사한 이미지를 추출할 수 있다. 예를 들어, 전자 장치(100)는 기 저장된 복수의 이미지들 중 제1 이미지의 딥 피쳐 벡터와의 차이 값이 기 설정된 범위 내인 이미지를 추출할 수 있다.The
전자 장치(100)는 추출된 적어도 하나의 이미지를 디스플레이부에 표시할 수 있다(S840).The
도 8B는 일 실시예에 따른 전자 장치에 포함된 제1 프로세서(120a), 제2 프로세서(120b)의 동작 방법을 나타내는 흐름도이다.8B is a flowchart illustrating an operation method of a
도 8B를 참조하면, 전자 장치(100)는 제1 프로세서(120a) 및 제2 프로세서(120b)를 포함할 수 있다.Referring to FIG. 8B , the
도 8B을 참조하면, 제1 프로세서(120a)는 제1 이미지를 획득할 수 있다(S8110).Referring to FIG. 8B , the
제1 프로세서(120a)는 제1 이미지를 제2 프로세서(120b)로 전송할 수 있다(S8120).The
제2 프로세서(120b)는 특징 추출 모델을 이용하여 제1 이미지에 대한 딥 피쳐를 추출할 수 있다(S8130). The
제2 프로세서(120b)는 분류 모델 및 딥 피쳐를 이용하여 기 저장된 이미지들 중 제1 이미지의 딥 피쳐와 유사한 딥 피쳐를 가지는 적어도 하나의 이미지를 추출할 수 있다(S8140). 예를 들어, 제2 프로세서(120b)는 기 저장된 복수 개의 이미지들 중 제1 이미지의 딥 피쳐 벡터와의 차이 값이 기 설정된 범위 내인 이미지를 추출할 수 있다.The
제2 프로세서(120b)는 추출된 적어도 하나의 이미지를 제1 프로세서(120a)로 전송할 수 있다(S8150).The
제1 프로세서(120a)는 추출된 적어도 하나의 이미지를 디스플레이부에 표시할 수 있다(S8160).The
도 8C는 일 실시예에 따른 전자 장치에 포함된 제1 프로세서(120a), 제2 프로세서(120b) 및 제3 프로세서(120c)의 동작 방법을 나타내는 흐름도이다.8C is a flowchart illustrating an operation method of the
도 8C를 참조하면, 전자 장치(100)는 제1 프로세서(120a), 제2 프로세서(120b) 및 제3 프로세서(120c)를 포함할 수 있다.Referring to FIG. 8C , the
도 8C를 참조하면, 제1 프로세서(120a)는 제1 이미지를 획득할 수 있다(S8210).Referring to FIG. 8C , the
제1 프로세서(120a)는 제1 이미지를 제2 프로세서(120b)로 전송할 수 있다(S8220).The
제2 프로세서(120b)는 특징 추출 모델을 이용하여 제1 이미지에 대한 딥 피쳐를 추출할 수 있다(S8230).The
제2 프로세서(120b)는 제1 이미지에 대한 딥 피쳐를 제3 프로세서(120c)로 전송할 수 있다(S8240).The
제3 프로세서(120c)는 분류 모델 및 딥 피쳐를 이용하여 기 저장된 이미지들 중 제1 이미지의 딥 피쳐와 유사한 딥 피쳐를 가지는 적어도 하나의 이미지를 추출할 수 있다(S8250). 예를 들어, 제2 프로세서(120b)는 기 저장된 복수 개의 이미지들 중 제1 이미지의 딥 피쳐 벡터와의 차이 값이 기 설정된 범위 내인 이미지를 추출할 수 있다.The
제3 프로세서(120c)는 추출된 적어도 하나의 이미지를 제1 프로세서(120a)로 전송할 수 있다(S8260).The
제1 프로세서(120a)는 추출된 적어도 하나의 이미지를 디스플레이부에 표시할 수 있다(S8270).The
도 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
전자 장치(100)는 특징 추출 모델을 이용하여, 제1 이미지(910)의 딥 피쳐를 추출할 수 있다. 특징 추출 모델은 적어도 하나의 신경망을 포함할 수 있으며, 딥 피쳐는 적어도 하나의 신경망에 제1 이미지(910)를 입력하여, 적어도 하나의 층에서 추출된 벡터를 포함할 수 있다.The
이때, 제1 이미지(910)의 딥 피쳐는 제1 이미지(910)에 포함된 객체들의 특성을 나타낼 수 있으며, 예를 들어, 제1 이미지는 '개(dog)'에 대한 특성을 나타낼 수 있으나, 이에 한정되지 않는다.In this case, the deep feature of the
전자 장치(100)는 분류 모델을 이용하여, 제1 이미지의 딥 피쳐와 기 저장된 복수의 이미지들(920)의 딥 피쳐들의 유사도에 기초하여, 제1 이미지(910)와 유사한 이미지를 검색할 수 있다. 기 저장된 복수의 이미지들(920)은 이미지들 각각에서 추출된 딥 피쳐들을 포함할 수 있다. 예를 들어, 딥 피쳐는 복수의 이미지들 각각의 EXIF 정보로 저장되어 있을 수 있다. 이때, 제1 이미지(910)의 딥 피쳐와 복수의 이미지들(920)의 딥 피쳐들은 동일한 버전을 가지는 동일한 신경망을 이용하여 추출된 딥 피쳐일 수 있다. 또는 제1 이미지(910)의 딥 피쳐와 복수의 이미지들(920)의 딥 피쳐들은 동일한 신경망의 동일한 서브 망 또는 동일한 신경망의 동일한 층에서 추출된 딥 피쳐일 수 있다.The
전자 장치(100)는 기 저장된 복수의 이미지들(920) 중 제1 이미지의 딥 피쳐와의 차이 값이 기 설정된 범위 내인 이미지를 추출할 수 있다. 예를 들어, 도 9에 도시된 바와 같이, 기 저장된 복수의 이미지들(920) 중 제1 내지 제8 이미지들(930)을 제1 이미지(910)와 유사한 이미지로 추출하여, 표시할 수 있다.The
사용자가 '개(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
그러나, 일 실시예에 따른, 전자 장치는 도 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
전자 장치(100)는 분류 모델을 이용하여, 제2 이미지의 딥 피쳐와 기 저장된 복수의 이미지들의 딥 피쳐들의 유사도에 기초하여, 제2 이미지(1010)와 유사한 이미지를 검색할 수 있다. 예를 들어, 전자 장치(100)는 기 저장된 이미지들(920) 중 제2 이미지의 딥 피쳐와의 차이 값이 기 설정된 범위 내인 제9 내지 제12 이미지들(1030)을 제2 이미지(1010)와 유사한 이미지로 추출하여 표시할 수 있다.The
사용자가 '다리(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
도 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
일 실시예에 따른 디스플레이부(140)는, 프로세서(120)에서 처리된 영상 신호, 데이터 신호, OSD 신호, 제어 신호 등을 변환하여 구동 신호를 생성한다. 디스플레이부(140)는 PDP, LCD, OLED, 플렉시블 디스플레이(flexible display)등으로 구현될 수 있으며, 또한, 3차원 디스플레이(3D display)로 구현될 수 있다. 또한, 디스플레이부(140)는, 터치 스크린으로 구성되어 출력 장치 이외에 입력 장치로 사용되는 것도 가능하다.The
일 실시예에 따른 디스플레이부(140)는 이미지를 표시할 수 있다. 이때, 디스플레이부(140)에 표시되는 이미지는 전자 장치(100)에서 촬영된 이미지, 전자 장치(100)에 저장된 이미지, 외부 장치로부터 수신한 이미지 중 적어도 하나일 수 있다. 다만, 이에 한정하는 것은 아니다.The
일 실시예에 따른 프로세서(120)는 메모리(130)에 저장되는 하나 이상의 프로그램들을 실행할 수 있다. 프로세서(120)는 싱글 코어, 듀얼 코어, 트리플 코어, 쿼드 코어 및 그 배수의 코어를 포함할 수 있다. 또한, 프로세서(120)는 복수의 프로세서를 포함할 수 있다. 예를 들어, 프로세서(120)는 메인 프로세서(main processor, 도시되지 아니함) 및 슬립 모드(sleep mode)에서 동작하는 서브 프로세서(sub processor, 도시되지 아니함)로 구현될 수 있다.The
일 실시예에 따른 메모리(130)는 전자 장치(100)를 구동하고 제어하기 위한 다양한 데이터, 프로그램 또는 어플리케이션을 저장할 수 있다.The
또한, 메모리(130)에 저장되는 프로그램은 하나 이상의 인스트럭션들을 포함할 수 있다. 메모리(130)에 저장된 프로그램(하나 이상의 인스트럭션들) 또는 어플리케이션은 프로세서(120)에 의해 실행될 수 있다.Also, the program stored in the
일 실시예에 따른 프로세서(120)는 메모리(130)에 저장되는 하나 이상의 인스트럭션들을 실행함으로써, 복수의 이미지들을 획득하고, 특징 추출 모델을 이용하여, 복수의 이미지들에 대한 딥 피쳐들을 추출할 수 있다. 예를 들어, 특징 추출 모델은 제1 신경망을 포함할 수 있으며, 프로세서(120)는 제1 신경망에 복수의 이미지들 각각을 입력하여, 제1 신경망의 적어도 하나의 층(layer)에서 딥 피쳐에 포함되는 벡터를 추출할 수 있다. 프로세서(120)는 추출된 딥 피쳐들 및 분류 모델을 이용하여, 복수의 이미지들을 소정의 그룹으로 분류할 수 있다. 예를 들어, 분류 모델은 복수의 이미지들의 딥 피쳐들 사이의 유사도에 기초하여, 복수의 이미지들을 소정의 그룹으로 분류하는 제2 신경망을 포함할 수 있다.The
또한, 프로세서(120)는 메모리(130)에 저장되는 하나 이상의 인스트럭션들을 실행함으로써, 분류된 복수의 이미지들을 딥 피쳐들과 함께 저장할 수 있다. 또한, 프로세서(120)는 분류된 결과를 디스플레이부(140)에 표시하도록 제어하며, 분류된 결과를 이용하여, 특징 추출 및 분류 모델의 업데이트 필요 여부를 판단하고, 판단 결과에 따라 특징 추출 모델 및 분류 모델 중 적어도 하나를 학습시켜 업데이트할 수 있다. 프로세서(120)는 특징 추출 모델 및 분류 모델 중 적어도 하나가 업데이트되면, 기 분류된 복수의 이미지들을 업데이트된 특징 추출 모델 및 분류 모델을 이용하여, 재 분류할 수 있다.In addition, the
프로세서(120)는 제1 이미지에 대한 딥 피쳐를 추출하고, 분류된 복수의 이미지들 중 제1 이미지의 딥 피쳐와 유사한 딥 피쳐를 가지는 적어도 하나의 이미지를 추출할 수 있다.The
도 12는 일부 실시예에 따른 프로세서(120)의 블록도이다.12 is a block diagram of a
도 12를 참조하면, 일부 실시예에 따른 프로세서(120)는 데이터 학습부(1300) 및 데이터 분류부(1400)를 포함할 수 있다.Referring to FIG. 12 , the
데이터 학습부(1300)는 이미지를 소정의 그룹으로 분류하기 위한 판단 기준을 학습할 수 있다. 데이터 학습부(1300)는 이미지를 소정의 그룹으로 분류하기 위하여 어떤 데이터를 이용할 지, 데이터를 이용하여 이미지를 어떻게 분류할 지에 관한 판단 기준을 학습할 수 있다. 데이터 학습부(1300)는 학습에 이용될 데이터를 획득하고, 획득된 데이터를 후술할 데이터 분류 모델에 적용함으로써, 이미지를 분류하기 판단 기준을 학습할 수 있다. 일 실시예에 따른 데이터 분류 모델은, 특징 추출 모델 및 분류 모델을 포함할 수 있다.The
데이터 분류부(1400)는 데이터에 기초하여 이미지를 분류할 수 있다. 데이터 분류부(1400)는 학습된 데이터 분류 모델을 이용하여, 복수의 이미지들을 소정의 그룹으로 분류할 수 있다. 데이터 분류부(1400)는 학습에 의한 기 설정된 기준에 따라 소정의 데이터를 획득하고, 획득된 데이터를 입력 값으로 하여 데이터 분류 모델을 이용함으로써, 소정의 데이터에 기초하여, 이미지를 분류할 수 있다. 또한, 획득된 데이터를 입력 값으로 하여 데이터 분류 모델에 의해 출력된 결과 값은, 데이터 분류 모델을 갱신하는데 이용될 수 있다.The
데이터 학습부(1300) 및 데이터 분류부(1400) 중 적어도 하나는, 적어도 하나의 하드웨어 칩 형태로 제작되어 전자 장치에 탑재될 수 있다. 예를 들어, 데이터 학습부(1300) 및 데이터 분류부(1400) 중 적어도 하나는 인공 지능(AI; artificial intelligence)을 위한 전용 하드웨어 칩 형태로 제작될 수도 있고, 또는 기존의 범용 프로세서(예: CPU 또는 application processor) 또는 그래픽 전용 프로세서(예: GPU)의 일부로 제작되어 전술한 각종 전자 장치에 탑재될 수도 있다.At least one of the
이 경우, 데이터 학습부(1300) 및 데이터 분류부(1400)는 하나의 전자 장치에 탑재될 수도 있으며, 또는 별개의 전자 장치들에 각각 탑재될 수도 있다. 예를 들어, 데이터 학습부(1300) 및 데이터 분류부(1400) 중 하나는 전자 장치에 포함되고, 나머지 하나는 서버에 포함될 수 있다. 또한, 데이터 학습부(1300) 및 데이터 분류부(1400)는 유선 또는 무선으로 통하여, 데이터 학습부(1300)가 구축한 모델 정보를 데이터 분류부(1400)로 제공할 수도 있고, 데이터 분류부(1400)로 입력된 데이터가 추가 학습 데이터로서 데이터 학습부(1300)로 제공될 수도 있다.In this case, the
한편, 데이터 학습부(1300) 및 데이터 분류부(1400) 중 적어도 하나는 소프트웨어 모듈로 구현될 수 있다. 데이터 학습부(1300) 및 데이터 분류부(1400) 중 적어도 하나가 소프트웨어 모듈(또는, 인스터력션(instruction) 포함하는 프로그램 모듈)로 구현되는 경우, 소프트웨어 모듈은 컴퓨터로 읽을 수 있는 판독 가능한 비일시적 판독 가능 기록매체(non-transitory computer readable media)에 저장될 수 있다. 또한, 이 경우, 적어도 하나의 소프트웨어 모듈은 OS(Operating System)에 의해 제공되거나, 소정의 애플리케이션에 의해 제공될 수 있다. 또는, 적어도 하나의 소프트웨어 모듈 중 일부는 OS(Operating System)에 의해 제공되고, 나머지 일부는 소정의 애플리케이션에 의해 제공될 수 있다. Meanwhile, at least one of the
도 13은 일부 실시예에 따른 데이터 학습부(1300)의 블록도이다.13 is a block diagram of a
도 13을 참조하면, 일부 실시예에 따른 데이터 학습부(1300)는 데이터 획득부(1310), 전처리부(1320), 학습 데이터 선택부(1330), 모델 학습부(1340) 및 모델 평가부(1350)를 포함할 수 있다. 그러나 이에 한정되지는 않는다. 다양한 실시예에 따르면, 데이터 학습부(1300)는 전술한 구성 요소 중 일부를 포함할 수 있다. 예를 들어, 데이터 학습부(1300)는 데이터 획득부(1310) 및 모델 학습부(1340)만으로 구성될 수 있다. 또한, 다양한 실시예에 따르면, 데이터 학습부(1300)는 전술한 구성 요소 이외에 다른 구성 요소를 더 포함할 수도 있다.Referring to FIG. 13 , the
데이터 획득부(1310)는 복수의 이미지들을 소정의 그룹으로 분류하기 위해 필요한 데이터를 획득할 수 있다. 데이터 획득부(1310)는 이미지를 분류하기 위한 학습에 필요한 데이터를 획득할 수 있다.The
데이터 획득부(1310)는 복수의 이미지 데이터를 획득할 수 있다. 일 예로 데이터 획득부(1310)는 데이터 학습부(1300)를 포함하는 전자 장치의 카메라를 통해 이미지 데이터를 입력 받을 수 있다. 또는 데이터 학습부(1300)를 포함하는 전자 장치와 통신 가능한 외부 장치를 통하여 이미지 데이터를 수신할 수 있다.The
전처리부(1320)는 이미지를 분류하기 위한 학습에, 획득된 데이터가 이용될 수 있도록, 획득된 데이터를 전처리할 수 있다. 전처리부(1320)는 후술할 모델 학습부(1340)가 획득된 데이터를 이용할 수 있도록, 획득된 데이터를 기 설정된 포맷으로 가공할 수 있다.The
학습 데이터 선택부(1330)는 전처리된 데이터 중에서 학습에 필요한 데이터를 선택할 수 있다. 선택된 데이터는 모델 학습부(1340)에 제공될 수 있다. 학습 데이터 선택부(1330)는 이미지를 분류하기 위한 기 설정된 기준에 따라, 전처리된 데이터 중에서 학습에 필요한 데이터를 선택할 수 있다. 또한, 학습 데이터 선택부(1330)는 후술할 모델 학습부(1340)에 의한 학습에 의해 기 설정된 기준에 따라 데이터를 선택할 수도 있다.The learning
모델 학습부(1340)는 학습 데이터에 기초하여 이미지들을 어떻게 분류할 지에 관한 판단 기준을 학습할 수 있다. 또한, 모델 학습부(1340)는 이미지를 분류하기 위하여 어떤 학습 데이터를 이용해야 하는 지에 대한 선별 기준을 학습할 수도 있다.The
예를 들어, 모델 학습부(1340)는 복수의 이미지들의 딥 피쳐들을 추출하는 판단 기준을 학습할 수 있으며, 복수의 이미지들에 대한 딥 피쳐들의 유사도에 기초하여, 복수의 이미지들을 소정의 그룹으로 분류하도록 학습할 수 있다. 이때, 딥 피쳐들의 유사도는 딥 피쳐들로 추출된 벡터들 사이의 거리로 나타낼 수 있으며, 벡터들 사이의 거리가 짧을수록 유사도가 크고, 벡터들 사이의 거리가 멀수록 유사도가 작은 것으로 학습할 수 있다. 또한, 딥 피쳐들 사이의 거리가 기 설정된 범위 내인 복수의 이미지들을 동일한 그룹으로 분류할 수 있다.For example, the
또한, 모델 학습부(1340)는 복수의 이미지들을 분류하는 데이터 분류 모델을 학습 데이터를 이용하여 학습시킬 수 있다. 이 경우, 데이터 분류 모델은 미리 구축된 모델일 수 있다. 예를 들어, 데이터 분류 모델은 기본 학습 데이터(예를 들어, 샘플 이미지 등)를 입력 받아 미리 구축된 모델일 수 있다.Also, the
데이터 분류 모델은, 데이터 분류 모델의 적용 분야, 학습의 목적 또는 장치의 컴퓨터 성능 등을 고려하여 구축될 수 있다. 데이터 분류 모델은, 예를 들어, 신경망(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
또한, 모델 학습부(1340)는, 예를 들어, 오류 역전파법(error back-propagation) 또는 경사 하강법(gradient descent)을 포함하는 학습 알고리즘 등을 이용하여 데이터 분류 모델을 학습시킬 수 있다.Also, the
또한, 모델 학습부(1340)는, 예를 들어, 학습 데이터를 입력 값으로 하는 지도 학습(supervised learning) 을 통하여, 데이터 분류 모델을 학습시킬 수 있다. 또한, 모델 학습부(1340)는, 예를 들어, 별다른 지도 없이 상황 판단을 위해 필요한 데이터의 종류를 스스로 학습함으로써, 상황 판단을 위한 기준을 발견하는 비지도 학습(unsupervised learning)을 통하여, 데이터 분류 모델을 학습시킬 수 있다. 또한, 모델 학습부(1340)는, 예를 들어, 학습에 따른 이미지 분류의 결과가 올바른 지에 대한 피드백을 이용하는 강화 학습(reinforcement learning)을 통하여, 데이터 분류 모델을 학습시킬 수 있다.Also, the
또한, 데이터 분류 모델이 학습되면, 모델 학습부(1340)는 학습된 데이터 분류 모델을 저장할 수 있다. 이 경우, 모델 학습부(1340)는 학습된 데이터 분류 모델을 데이터 분류부(1400)를 포함하는 전자 장치의 메모리에 저장할 수 있다. 또는, 모델 학습부(1340)는 학습된 데이터 분류 모델을 후술할 데이터 분류부(1400)를 포함하는 전자 장치의 메모리에 저장할 수 있다. 또는, 모델 학습부(1340)는 학습된 데이터 분류 모델을 전자 장치와 유선 또는 무선 네트워크로 연결되는 서버의 메모리에 저장할 수도 있다.Also, when the data classification model is learned, the
이 경우, 학습된 데이터 분류 모델이 저장되는 메모리는, 예를 들면, 전자 장치의 적어도 하나의 다른 구성요소에 관계된 명령 또는 데이터를 함께 저장할 수도 있다. 또한, 메모리는 소프트웨어 및/또는 프로그램을 저장할 수도 있다. 프로그램은, 예를 들면, 커널, 미들웨어, 어플리케이션 프로그래밍 인터페이스(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
예를 들어, 모델 평가부(1350)는 평가 데이터에 대한 학습된 데이터 분류 모델의 분류 결과 중에서, 분류 결과가 정확하지 않은 평가 데이터의 개수 또는 비율이 미리 설정된 임계치를 초과하는 경우 소정 기준을 만족하지 못한 것으로 평가할 수 있다. 예컨대, 소정 기준이 비율 2%로 정의되는 경우, 학습된 데이터 인식 모델이 총 1000개의 평가 데이터 중의 20개를 초과하는 평가 데이터에 대하여 잘못된 인식 결과를 출력하는 경우, 모델 평가부(1350)는 학습된 데이터 분류 모델이 적합하지 않은 것으로 평가할 수 있다.For example, the
한편, 학습된 데이터 분류 모델이 복수 개가 존재하는 경우, 모델 평가부(1350)는 각각의 학습된 이미지 분류 모델에 대하여 소정 기준을 만족하는지를 평가하고, 소정 기준을 만족하는 모델을 최종 데이터 분류 모델로서 결정할 수 있다. 이 경우, 소정 기준을 만족하는 모델이 복수 개인 경우, 모델 평가부(1350)는 평가 점수가 높은 순으로 미리 설정된 어느 하나 또는 소정 개수의 모델을 최종 데이터 분류 모델로서 결정할 수 있다.On the other hand, when there are a plurality of learned data classification models, the
한편, 데이터 학습부(1300) 내의 데이터 획득부(1310), 전처리부(1320), 학습 데이터 선택부(1330), 모델 학습부(1340) 및 모델 평가부(1350) 중 적어도 하나는, 적어도 하나의 하드웨어 칩 형태로 제작되어 전자 장치에 탑재될 수 있다. 예를 들어, 데이터 획득부(1310), 전처리부(1320), 학습 데이터 선택부(1330), 모델 학습부(1340) 및 모델 평가부(1350) 중 적어도 하나는 인공 지능(AI; artificial intelligence)을 위한 전용 하드웨어 칩 형태로 제작될 수도 있고, 또는 기존의 범용 프로세서(예: CPU 또는 application processor) 또는 그래픽 전용 프로세서(예: GPU)의 일부로 제작되어 전술한 각종 전자 장치에 탑재될 수도 있다.Meanwhile, at least one of the
또한, 데이터 획득부(1310), 전처리부(1320), 학습 데이터 선택부(1330), 모델 학습부(1340) 및 모델 평가부(1350)는 하나의 전자 장치에 탑재될 수도 있으며, 또는 별개의 전자 장치들에 각각 탑재될 수도 있다. 예를 들어, 데이터 획득부(1310), 전처리부(1320), 학습 데이터 선택부(1330), 모델 학습부(1340) 및 모델 평가부(1350) 중 일부는 전자 장치에 포함되고, 나머지 일부는 서버에 포함될 수 있다.In addition, the
또한, 데이터 획득부(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
도 14는 일부 실시예에 따른 데이터 분류부(1400)의 블록도이다.14 is a block diagram of a
도 14를 참조하면, 일부 실시예에 따른 데이터 분류부(1400)는 데이터 획득부(1410), 전처리부(1420), 분류 데이터 선택부(1430), 분류 결과 제공부(1440) 및 모델 갱신부(1450)를 포함할 수 있다. 그러나 이에 한정되지는 않는다. 다양한 실시예에 따르면, 데이터 분류부(1400)는 전술한 구성 요소 중 일부를 포함할 수 있다. 예를 들어, 데이터 분류부(1400)는 데이터 획득부(1410) 및 분류 결과 제공부(1440)만으로 구성될 수 있다. 또한, 다양한 실시예에 따르면, 데이터 분류부(1400)는 전술한 구성 요소 이외에 다른 구성 요소를 더 포함할 수도 있다.Referring to FIG. 14 , the
데이터 획득부(1410)는 이미지 분류에 필요한 데이터를 획득할 수 있으며, 전처리부(1420)는 이미지 분류를 위해 획득된 데이터가 이용될 수 있도록, 획득된 데이터를 전처리할 수 있다. 전처리부(1420)는 후술할 분류 결과 제공부(1440)가 이미지 분류를 위하여 획득된 데이터를 이용할 수 있도록, 획득된 데이터를 기 설정된 포맷으로 가공할 수 있다. The
분류 데이터 선택부(1430)는 전처리된 데이터 중에서 이미지 분류에 필요한 데이터를 선택할 수 있다. 선택된 데이터는 분류 결과 제공부(1440)에게 제공될 수 있다. 분류 데이터 선택부(1430)는 이미지 분류를 위한 기 설정된 기준에 따라, 전처리된 데이터 중에서 일부 또는 전부를 선택할 수 있다. 또한, 분류 데이터 선택부(1430)는 모델 학습부(1340)에 의한 학습에 의해 기 설정된 기준에 따라 데이터를 선택할 수도 있다.The classification
분류 결과 제공부(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
예를 들어, 분류 결과 제공부(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
한편, 데이터 분류부(1400) 내의 데이터 획득부(1410), 전처리부(1420), 분류 데이터 선택부(1430), 분류 결과 제공부(1440) 및 모델 갱신부(1450) 중 적어도 하나는, 적어도 하나의 하드웨어 칩 형태로 제작되어 전자 장치에 탑재될 수 있다. 예를 들어, 데이터 획득부(1410), 전처리부(1420), 분류 데이터 선택부(1430), 분류 결과 제공부(1440) 및 모델 갱신부(1450) 중 적어도 하나는 인공 지능(AI; artificial intelligence)을 위한 전용 하드웨어 칩 형태로 제작될 수도 있고, 또는 기존의 범용 프로세서(예: CPU 또는 application processor) 또는 그래픽 전용 프로세서(예: GPU)의 일부로 제작되어 전술한 각종 전자 장치에 탑재될 수도 있다.Meanwhile, at least one of the
또한, 데이터 획득부(1410), 전처리부(1420), 분류 데이터 선택부(1430), 분류 결과 제공부(1440) 및 모델 갱신부(1450)는 하나의 전자 장치에 탑재될 수도 있으며, 또는 별개의 전자 장치들에 각각 탑재될 수도 있다. 예를 들어, 데이터 획득부(1410), 전처리부(1420), 분류 데이터 선택부(1430), 분류 결과 제공부(1440) 및 모델 갱신부(1450) 중 일부는 전자 장치에 포함되고, 나머지 일부는 서버에 포함될 수 있다.In addition, the
또한, 데이터 획득부(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
도 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
이 경우, 서버(2000)의 모델 학습부(2340)는 도 13에 도시된 모델 학습부(1340)의 기능을 수행할 수 있다. 서버(2000)의 모델 학습부(2340)는 복수의 이미지들의 딥 피쳐들을 추출하는 기준을 학습할 수 있으며, 복수의 이미지들에 대한 딥 피쳐들의 유사도에 기초하여, 복수의 이미지들을 소정의 그룹으로 분류하도록 학습할 수 있다. 모델 학습부(2340)는 학습에 이용될 데이터를 획득하고, 획득된 데이터를 후술할 데이터 분류 모델에 적용함으로써, 복수의 이미지들을 분류하기 위한 기준을 학습할 수 있다.In this case, the
또한, 전자 장치(100)의 분류 결과 제공부(1440)는 분류 데이터 선택부(1430)에 의해 선택된 데이터를 서버(2000)에 의해 생성된 데이터 분류 모델에 적용하여 복수의 이미지들을 분류할 수 있다. 예를 들어, 분류 결과 제공부(1440)는 분류 데이터 선택부(1430)에 의해 선택된 데이터를 서버(2000)에게 전송하고, 서버(2000)가 분류 데이터 선택부(1430)에 의해 선택된 데이터를 분류 모델에 적용하여 복수의 이미지들을 분류할 것을 요청할 수 있다. 또한, 분류 결과 제공부(1440)는 복수의 이미지들이 소정의 그룹으로 분류된 결과를 제공할 수 있다. 복수의 이미지들 중 동일한 그룹으로 분류된 이미지들은 동일한 폴더에 저장될 수 있다.Also, the classification result providing unit 1440 of the
또는, 전자 장치(100)의 분류 결과 제공부(1440)는 서버(2000)에 의해 생성된 분류 모델을 서버(2000)로부터 수신하고, 수신된 분류 모델을 이용하여 이미지를 분석하고, 복수의 이미지들을 분류할 수 있다. 이 경우, 전자 장치(100)의 분류 결과 제공부(1440)는 분류 데이터 선택부(1430)에 의해 선택된 데이터를 서버(2000)로부터 수신된 데이터 분류 모델에 적용하여 복수의 이미지들을 분류할 수 있다. 서버(2000)로부터 분류 모델을 수신하여, 전자 장치(100)에서 복수의 이미지들을 분류하는 경우, 사용자 데이터(복수의 사용자 이미지들)를 서버로 전송할 필요가 없어, 사용자 데이터 보안 및 개인 정보 보호가 강화될 수 있다.Alternatively, the classification result providing unit 1440 of the
도 16은 다른 실시예에 따른 전자 장치의 구성을 나타내는 블록도이다. 도 16의 전자 장치(300)는 도 1의 전자 장치(100)의 일 실시예일 수 있다.16 is a block diagram illustrating a configuration of an electronic device according to another exemplary embodiment. The
도 16을 참조하면, 일 실시예에 따른 전자 장치(300)는 제어부(330), 센서부(320), 통신부(340), 출력부(350), 사용자 입력부(360), A/V 입력부(370) 및 저장부(380)를 포함할 수도 있다.Referring to FIG. 16 , the
도 16의 제어부(330)는 도 11의 프로세서(120))에, 도 16의 저장부(380)는 도 11의 메모리(130)에, 도 16의 디스플레이부(351)는 도 11의 디스플레이부(140)에 각각 대응될 수 있다. 도 11에서 설명한 내용과 동일한 내용은 도 16에서 생략하기로 한다.The
통신부(340)는, 전자 장치(300)와 외부 장치(예를 들어, 서버 등) 간의 통신을 수행하기 위한 하나 이상의 구성요소를 포함할 수 있다. 예를 들어, 통신부(340)는, 근거리 통신부(341), 이동 통신부(342), 방송 수신부(343)를 포함할 수 있다. The
근거리 통신부(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
이동 통신부(342)는, 이동 통신망 상에서 기지국, 외부의 단말, 서버 중 적어도 하나와 무선 신호를 송수신한다. 여기에서, 무선 신호는, 음성 호 신호, 화상 통화 호 신호 또는 문자/멀티미디어 메시지 송수신에 따른 다양한 형태의 데이터를 포함할 수 있다.The
방송 수신부(343)는, 방송 채널을 통하여 외부로부터 방송 신호 및/또는 방송 관련된 정보를 수신한다. 방송 채널은 위성 채널, 지상파 채널을 포함할 수 있다. 구현 예에 따라서 전자 장치(300)가 방송 수신부(343)를 포함하지 않을 수도 있다.The
통신부(340)는, 외부 장치로부터 적어도 하나의 이미지를 수신할 수 있다. 또는, 통신부(340)는 외부 서버로 특징 추출 모델 및 분류 모델을 요청하여 수신할 수 있다. 통신부(340)는 복수의 이미지들의 분류 결과를 외부 서버로 전송할 수 있으며, 분류 결과에 기초하여 업데이트된 특징 추출 모델 및 분류 모델을 수신할 수 있다.The
출력부(350)는, 오디오 신호 또는 비디오 신호 또는 진동 신호의 출력을 위한 것으로, 이에는 디스플레이부(351)와 음향 출력부(352), 진동 모터(353) 등이 포함될 수 있다. 디스플레이부(351)에 대해서는 도 11에서 이미 설명한 바 있으므로, 디스플레이부(351)에 대한 설명은 생략하기로 한다.The
음향 출력부(352)는 통신부(340)로부터 수신되거나 저장부(380)에 저장된 오디오 데이터를 출력한다. 또한, 음향 출력부(352)는 전자 장치(100)에서 수행되는 기능(예를 들어, 호신호 수신음, 메시지 수신음, 알림음)과 관련된 음향 신호를 출력한다. 이러한 음향 출력부(352)에는 스피커(speaker), 버저(Buzzer) 등이 포함될 수 있다.The
진동 모터(353)는 진동 신호를 출력할 수 있다. 예를 들어, 진동 모터(353)는 오디오 데이터 또는 비디오 데이터(예컨대, 호신호 수신음, 메시지 수신음 등)의 출력에 대응하는 진동 신호를 출력할 수 있다. 또한, 진동 모터(353)는 터치스크린에 터치가 입력되는 경우 진동 신호를 출력할 수도 있다.The
제어부(330)는, 전자 장치(300)의 전반적인 동작을 제어한다. 예를 들어, 제어부(330)는, 저장부(380)에 저장된 프로그램들을 실행함으로써, 통신부(340), 출력부(350), 사용자 입력부(360), 센싱부(320), A/V 입력부(370) 등을 제어할 수 있다. The
사용자 입력부(360)는, 사용자가 전자 장치(300)를 제어하기 위한 데이터를 입력하는 수단을 의미한다. 예를 들어, 사용자 입력부(360)에는 키 패드(key pad), 돔 스위치 (dome switch), 터치 패드(접촉식 정전 용량 방식, 압력식 저항막 방식, 적외선 감지 방식, 표면 초음파 전도 방식, 적분식 장력 측정 방식, 피에조 효과 방식 등), 조그 휠, 조그 스위치 등이 있을 수 있으나 이에 한정되는 것은 아니다.The
센서부(320)는, 사용자의 생체 정보를 센싱하는 센서뿐만 아니라, 전자 장치(300)의 상태 또는 전자 장치(300) 주변의 상태를 감지하는 센서를 포함할 수 있다. 또한, 센서부(320)는 센서에서 감지된 정보를 제어부(320)로 전달할 수 있다. The
센서부(320)는, 지자기 센서(Magnetic sensor), 가속도 센서(Acceleration sensor), 온/습도 센서, 적외선 센서, 자이로스코프 센서, 위치 센서(예컨대, GPS)), 기압 센서, 근접 센서, 및 RGB 센서(illuminance sensor) 중 적어도 하나를 포함할 수 있으나, 이에 한정되는 것은 아니다. 각 센서들의 기능은 그 명칭으로부터 당업자가 직관적으로 추론할 수 있으므로, 구체적인 설명은 생략하기로 한다.The
A/V(Audio/Video) 입력부(370)는 오디오 신호 또는 비디오 신호 입력을 위한 것으로, 이에는 카메라(371)와 마이크로폰(372) 등이 포함될 수 있다. 카메라(371)은 화상 통화모드 또는 촬영 모드에서 이미지 센서를 통해 정지영상 또는 동영상 등의 화상 프레임을 얻을 수 있다. 이미지 센서를 통해 캡쳐된 이미지는 제어부(330) 또는 별도의 이미지 처리부(미도시)를 통해 처리될 수 있다.The A/V (Audio/Video)
카메라(371)에서 처리된 화상 프레임은 저장부(380)에 저장되거나 통신부(340)를 통하여 외부로 전송될 수 있다. 카메라(371)는 전자 장치(300)의 구성 태양에 따라 2개 이상이 구비될 수도 있다.The image frame processed by the
마이크로폰(372)은, 외부의 음향 신호를 입력 받아 전기적인 음성 데이터로 처리한다. 예를 들어, 마이크로폰(372)은 외부 디바이스 또는 화자로부터 음향 신호를 수신할 수 있다. 마이크로폰(372)은 외부의 음향 신호를 입력 받는 과정에서 발생 되는 잡음(noise)를 제거하기 위한 다양한 잡음 제거 알고리즘을 이용할 수 있다.The
저장부(380)는, 제어부(330)의 처리 및 제어를 위한 프로그램을 저장할 수도 있고, 입/출력되는 데이터들(예컨대, 애플리케이션, 콘텐트, 외부 디바이스의 시간대 정보, 주소록 등)을 저장할 수도 있다. The
저장부(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) 또는 클라우드 서버를 운영할 수도 있다.
저장부(380)에 저장된 프로그램들은 그 기능에 따라 복수 개의 모듈들로 분류할 수 있는데, 예를 들어, UI 모듈(381), 터치 스크린 모듈(382), 알림 모듈(383) 등으로 분류될 수 있다.Programs stored in the
UI 모듈(381)은, 어플리케이션 별로 전자 장치(300)와 연동되는 특화된 UI, GUI 등을 제공할 수 있다. 터치 스크린 모듈(382)은 사용자의 터치 스크린 상의 터치 제스처를 감지하고, 터치 제스처에 관한 정보를 제어부(130)로 전달할 수 있다. The
터치 스크린 모듈(382)은 터치 코드를 인식하고 분석할 수 있다. 터치 스크린 모듈(382)은 컨트롤러를 포함하는 별도의 하드웨어로 구성될 수도 있다.The
알림 모듈(383)은 전자 장치(300)의 이벤트 발생을 알리기 위한 신호를 발생할 수 있다. 전자 장치(300)에서 발생되는 이벤트의 예로는 호 신호 수신, 메시지 수신, 키 신호 입력, 일정 알림 등이 있다. 알림 모듈(383)은 디스플레이부(351)를 통해 비디오 신호 형태로 알림 신호를 출력할 수도 있고, 음향 출력부(352)를 통해 오디오 신호 형태로 알림 신호를 출력할 수도 있고, 진동 모터(353)를 통해 진동 신호 형태로 알림 신호를 출력할 수도 있다.The
한편, 도 11 및 16에 도시된 전자 장치(100, 300)의 블록도는 일 실시예를 위한 블록도이다. 블록도의 각 구성요소는 실제 구현되는 전자 장치(100, 300)의 사양에 따라 통합, 추가, 또는 생략될 수 있다. 즉, 필요에 따라 2 이상의 구성요소가 하나의 구성요소로 합쳐지거나, 혹은 하나의 구성요소가 2 이상의 구성요소로 세분되어 구성될 수 있다. 또한, 각 블록에서 수행하는 기능은 실시예들을 설명하기 위한 것이며, 그 구체적인 동작이나 장치는 본 발명의 권리범위를 제한하지 아니한다.Meanwhile, the block diagrams of the
일 실시예에 따른 전자 장치의 동작방법은 다양한 컴퓨터 수단을 통하여 수행될 수 있는 프로그램 명령 형태로 구현되어 컴퓨터 판독 가능 매체에 기록될 수 있다. 상기 컴퓨터 판독 가능 매체는 프로그램 명령, 데이터 파일, 데이터 구조 등을 단독으로 또는 조합하여 포함할 수 있다. 상기 매체에 기록되는 프로그램 명령은 본 발명을 위하여 특별히 설계되고 구성된 것들이거나 컴퓨터 소프트웨어 당업자에게 공지되어 사용 가능한 것일 수도 있다. 컴퓨터 판독 가능 기록 매체의 예에는 하드 디스크, 플로피 디스크 및 자기 테이프와 같은 자기 매체(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.
상기 프로세서는 상기 하나 이상의 인스트럭션들을 실행함으로써,
상기 복수의 이미지들 및 상기 딥 피쳐들을 저장하는, 전자 장치.
According to claim 1,
The processor by executing the one or more instructions,
and storing the plurality of images and the deep features.
상기 프로세서는 상기 하나 이상의 인스트럭션들을 실행함으로써,
상기 딥 피쳐들을 상기 복수의 이미지들에 대한 교환 이미지 파일(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 신경망(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.
상기 분류 모델은, 상기 복수의 이미지들에 대한 딥 피쳐들 사이의 유사도에 기초하여, 상기 복수의 이미지들을 소정의 그룹으로 분류하는 제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.
상기 복수의 이미지들에 대한 딥 피쳐들 사이의 유사도는, 상기 딥 피쳐들에 포함된 벡터들의 차이로 나타나고, 상기 벡터들의 차이가 클수록 유사도가 작아지고, 상기 벡터들의 차이가 작을수록 유사도가 커지며, 동일한 그룹으로 분류된 이미지들에 대응하는 벡터들의 차이는 기 설정된 범위 내인, 전자 장치.
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 이미지의 딥 피쳐와 유사한 딥 피쳐를 가지는 적어도 하나의 이미지를 추출하고, 상기 추출된 적어도 하나의 이미지를 상기 디스플레이부에 표시하는, 전자 장치.
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.
상기 프로세서는 상기 하나 이상의 인스트럭션들을 실행함으로써,
주기적으로 또는 사용자의 요청이 입력되면, 상기 특징 추출 모델 및 분류 모델 중 적어도 하나를 훈련시켜 업데이트하는, 전자 장치.
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.
상기 프로세서는 상기 하나 이상의 인스트럭션들을 실행함으로써,
상기 분류 모델이 업데이트 된 경우, 상기 분류된 복수의 이미지들을, 상기 추출된 딥 피쳐들 및 업데이트된 분류 모델을 이용하여, 재 분류하는, 전자 장치.
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.
상기 프로세서는 상기 하나 이상의 인스트럭션들을 실행함으로써,
상기 특징 추출 모델이 업데이트 된 경우, 업데이트된 특징 추출 모델을 이용하여 상기 분류된 복수의 이미지들에 대한 딥 피쳐들을 재 추출하고, 재 추출된 딥 피쳐들 및 상기 분류 모델을 이용하여, 상기 분류된 복수의 이미지들을 재 분류하는, 전자 장치.
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 그룹에 포함되는 복수의 이미지들을 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 그룹 및 제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.
상기 프로세서는 상기 하나 이상의 인스트럭션들을 실행함으로써,
상기 소정의 그룹들에 대응하는 그룹명을 생성하는, 전자 장치.
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.
상기 동작방법은,
상기 딥 피쳐들을 상기 복수의 이미지들에 대한 교환 이미지 파일(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.
상기 특징 추출 모델은, 제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.
상기 동작방법은,
제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.
상기 동작방법은,
상기 분류 모델이 업데이트 된 경우, 상기 분류된 복수의 이미지들을 상기 딥 피쳐들 및 업데이트된 분류 모델을 이용하여 재 분류하는 단계를 더 포함하는, 전자 장치의 동작방법.
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.
상기 동작방법은,
상기 특징 추출 모델이 업데이트 된 경우, 상기 분류된 복수의 이미지들에 대한 딥 피쳐들을 재 추출하는 단계; 및
상기 재 추출된 딥 피쳐들 및 상기 분류 모델을 이용하여, 상기 분류된 복수의 이미지들을 재 분류하는 단계를 더 포함하는, 전자 장치의 동작방법.
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.
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)
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)
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)
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 |
-
2017
- 2017-10-20 KR KR1020170136612A patent/KR102428920B1/en active IP Right Grant
-
2018
- 2018-01-03 EP EP18735947.6A patent/EP3545436A4/en active Pending
- 2018-01-03 CN CN201880005869.1A patent/CN110168530B/en active Active
Patent Citations (2)
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 |