KR102547527B1 - Method and device for labeling objects - Google Patents

Method and device for labeling objects Download PDF

Info

Publication number
KR102547527B1
KR102547527B1 KR1020210058187A KR20210058187A KR102547527B1 KR 102547527 B1 KR102547527 B1 KR 102547527B1 KR 1020210058187 A KR1020210058187 A KR 1020210058187A KR 20210058187 A KR20210058187 A KR 20210058187A KR 102547527 B1 KR102547527 B1 KR 102547527B1
Authority
KR
South Korea
Prior art keywords
labeling
image
box
labeled
size
Prior art date
Application number
KR1020210058187A
Other languages
Korean (ko)
Other versions
KR20210058768A (en
Inventor
샹신 장
Original Assignee
아폴로 인텔리전트 커넥티비티 (베이징) 테크놀로지 씨오., 엘티디.
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 아폴로 인텔리전트 커넥티비티 (베이징) 테크놀로지 씨오., 엘티디. filed Critical 아폴로 인텔리전트 커넥티비티 (베이징) 테크놀로지 씨오., 엘티디.
Publication of KR20210058768A publication Critical patent/KR20210058768A/en
Application granted granted Critical
Publication of KR102547527B1 publication Critical patent/KR102547527B1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V20/00Scenes; Scene-specific elements
    • G06V20/50Context or environment of the image
    • G06V20/56Context or environment of the image exterior to a vehicle by using sensors mounted on the vehicle
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/23Clustering techniques
    • G06F18/232Non-hierarchical techniques
    • G06F18/2321Non-hierarchical techniques using statistics or function optimisation, e.g. modelling of probability density functions
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N20/00Machine learning
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/04Architecture, e.g. interconnection topology
    • G06N3/045Combinations of networks
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/08Learning methods
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/20Image preprocessing
    • G06V10/25Determination of region of interest [ROI] or a volume of interest [VOI]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V2201/00Indexing scheme relating to image or video recognition or understanding
    • G06V2201/07Target detection

Abstract

본 발명의 실시예는 객체 라벨링 방법과 장치를 공개한다. 상기 방법의 일 구체적인 실시형태는, 타깃 객체를 포함하는 라벨링할 이미지를 획득하는 단계; 미리 트레이닝된 제1 검출 모델 및 상기 라벨링할 이미지에 따라, 타깃 객체의 위치정보를 결정하는 단계; 상기 위치정보 및 사전 설정된 라벨링 박스 사이즈 집합에 따라, 상기 타깃 객체에 적응되는 라벨링 박스의 사이즈를 결정하는 단계; 및 결정된 사이즈에 따라, 라벨링 박스를 이용하여 상기 타깃 객체를 라벨링하는 단계를 포함한다. 상기 실시형태는 수동으로 라벨링 박스를 조절할 필요가 없으므로, 수동 작업량을 감소시킨다.An embodiment of the present invention discloses an object labeling method and apparatus. In one specific embodiment of the method, obtaining an image to be labeled including a target object; determining location information of a target object according to a pretrained first detection model and the image to be labeled; determining a size of a labeling box adapted to the target object according to the location information and a preset labeling box size set; and labeling the target object using a labeling box according to the determined size. The above embodiment eliminates the need to manually adjust the labeling box, thereby reducing the amount of manual work.

Description

객체 라벨링 방법 및 장치{METHOD AND DEVICE FOR LABELING OBJECTS}Object labeling method and apparatus {METHOD AND DEVICE FOR LABELING OBJECTS}

본 발명의 실시예는 컴퓨터 기술분야에 관한 것으로, 구체적으로 객체 라벨링 방법 및 장치에 관한 것이다.Embodiments of the present invention relate to the field of computer technology, and specifically to an object labeling method and apparatus.

딥 러닝 알고리즘의 지속적인 진보와 보행자 타깃 검출 알고리즘의 정확도가 지속적으로 향상됨에 따라, 일부 이동 단말기는 딥 러닝 중의 보행자 타깃 검출 알고리즘을 사용하여 보행자를 검출할 수 있다. 그러나 딥 러닝은 대량의 수동 라벨링 데이터로 모델을 트레이닝해야 하는 것이 특점인 동시에 필요 조건이기도 하고, 데이터양과 데이터 품질이 모델 검출의 효과를 결정한다. 보행자 검출의 경우, 사진 속 인물의 사진 상의 위치를 수동으로 라벨링하고, 이 과정을 십만번 또는 수백만번 반복해야 하는데, 이 과정에는 많은 인력과 시간이 투입되어야 한다.With the continuous progress of deep learning algorithms and the continuous improvement of the accuracy of pedestrian target detection algorithms, some mobile terminals may use the pedestrian target detection algorithm in deep learning to detect pedestrians. However, deep learning is characterized by having to train a model with a large amount of manually labeled data, which is a necessary condition as well as a feature, and the amount of data and the quality of the data determine the effectiveness of model detection. In the case of pedestrian detection, it is necessary to manually label the position of the person in the picture and repeat this process 100,000 or millions of times, which requires a lot of manpower and time.

본 발명의 실시예는 객체 라벨링 방법 및 장치를 제기한다. Embodiments of the present invention provide an object labeling method and apparatus.

제1 양태에서, 본 발명의 실시예는 객체 라벨링 방법을 제공하되, 상기 방법은 타깃 객체를 포함하는 라벨링할 이미지를 획득하는 단계; 미리 트레이닝된 제1 검출 모델 및 상기 라벨링할 이미지에 따라, 타깃 객체의 위치정보를 결정하는 단계; 상기 위치정보 및 사전 설정된 라벨링 박스 사이즈 집합에 따라, 상기 타깃 객체에 적응되는 라벨링 박스의 사이즈를 결정하는 단계; 및 결정된 사이즈에 따라, 라벨링 박스를 이용하여 상기 타깃 객체를 라벨링하는 단계를 포함한다.In a first aspect, an embodiment of the present invention provides an object labeling method, the method comprising: acquiring an image to be labeled including a target object; determining location information of a target object according to a pretrained first detection model and the image to be labeled; determining a size of a labeling box adapted to the target object according to the location information and a preset labeling box size set; and labeling the target object using a labeling box according to the determined size.

일부 실시예에서, 상기 방법은, 상기 라벨링할 이미지의 비라벨링 영역을 획득하는 단계; 및 상기 비라벨링 영역에서 모자이크를 생성하는 단계를 더 포함한다.In some embodiments, the method further comprises: obtaining a non-labeled area of the image to be labeled; and generating a mosaic in the non-labeling area.

일부 실시예에서, 상기 방법은, 모자이크 생성 후의 이미지에 따라, 트레이닝 샘플을 결정하는 단계; 및 상기 트레이닝 샘플 중 모자이크를 포함하는 이미지를 입력으로 하고, 상기 라벨링 박스를 예상 출력으로 하여, 제2 검출 모델을 획득한 단계를 더 포함한다.In some embodiments, the method further includes determining, according to the image after mosaic generation, a training sample; and acquiring a second detection model by using an image including a mosaic among the training samples as an input and using the labeling box as an expected output.

일부 실시예에서, 상기 방법은, 라벨링 박스의 사이즈를 포함하는 라벨링 박스 정보를 획득하는 단계; 및 상기 라벨링 박스의 사이즈에 대해 클러스터링을 진행하여, 라벨링 박스 사이즈 집합을 획득한 단계를 더 포함한다.In some embodiments, the method includes obtaining labeling box information including a size of the labeling box; and obtaining a labeling box size set by performing clustering on the sizes of the labeling boxes.

일부 실시예에서, 상기 라벨링할 이미지의 및 비라벨링 영역을 획득하는 단계는, 상기 라벨링 박스에 따라, 라벨링 영역을 결정하는 단계; 및 라벨링 영역에 따라, 상기 비라벨링 영역을 결정하는 단계를 포함한다.In some embodiments, the acquiring of the image to be labeled and the non-labeling area may include determining, according to the labeling box, a labeling area; and determining the non-labeling area according to the labeling area.

제2 양태에서, 본 발명의 실시예는 객체 라벨링 장치를 제공하되, 상기 장치는 타깃 객체를 포함하는 라벨링할 이미지를 획득하도록 구성되는 이미지 획득 유닛; 미리 트레이닝된 제1 검출 모델 및 상기 라벨링할 이미지에 따라, 타깃 객체의 위치정보를 결정하도록 구성되는 위치 결정 유닛; 상기 위치정보 및 사전 설정된 라벨링 박스 사이즈 집합에 따라, 상기 타깃 객체에 적응되는 라벨링 박스의 사이즈를 결정하도록 구성되는 사이즈 결정 유닛; 및 결정된 사이즈에 따라, 라벨링 박스를 이용하여 상기 타깃 객체를 라벨링하도록 구성되는 객체 라벨링 유닛을 포함한다.In a second aspect, an embodiment of the present invention provides an object labeling device, the device comprising: an image acquiring unit, configured to acquire an image to be labeled including a target object; a position determination unit, configured to determine position information of a target object according to a pretrained first detection model and the image to be labeled; a size determining unit, configured to determine a size of a labeling box adapted to the target object according to the location information and a preset labeling box size set; and an object labeling unit configured to label the target object using a labeling box according to the determined size.

일부 실시예에서, 상기 장치는, 상기 라벨링할 이미지의 비라벨링 영역을 획득하고; 상기 비라벨링 영역에서 모자이크를 생성하도록 구성되는 처리 장치를 더 포함한다.In some embodiments, the device obtains an unlabeled area of the image to be labeled; and a processing device configured to generate a mosaic in the unlabeled area.

일부 실시예에서, 상기 장치는, 모자이크 생성 후의 이미지에 따라, 트레이닝 샘플을 결정하고; 상기 트레이닝 샘플 중의 이미지를 입력으로 하고, 상기 라벨링 박스를 예상 출력으로 하여, 제2 검출 모델을 획득하도록 구성되는 트레이닝 유닛을 더 포함한다.In some embodiments, the device determines, according to the image after mosaic generation, a training sample; and a training unit, configured to take the image in the training sample as an input and the labeling box as an expected output, to obtain a second detection model.

일부 실시예에서, 상기 장치는, 라벨링 박스의 사이즈를 포함하는 라벨링 박스 정보를 획득하고; 상기 라벨링 박스의 사이즈에 대해 클러스터링을 진행하여, 라벨링 박스 사이즈 집합을 얻도록 구성되는 사이즈 집합 결정 유닛을 더 포함한다.In some embodiments, the device acquires labeling box information including a size of the labeling box; and a size set determining unit, configured to perform clustering on sizes of the labeling boxes to obtain a labeling box size set.

일부 실시예에서, 상기 처리 장치는 또한, 상기 라벨링 박스에 따라, 라벨링 영역을 결정하고; 라벨링 영역에 따라, 비라벨링 영역을 결정하도록 구성된다.In some embodiments, the processing device further determines, according to the labeling box, a labeling area; and determine a non-labeling area according to the labeling area.

제3 양태에서, 본 발명의 실시예는, 하나 또는 복수 개의 프로세서, 하나 또는 복수 개의 프로그램이 저장된 저장 장치를 포함하는 전자 기기를 제공하되, 상기 하나 또는 복수 개의 프로그램이 상기 하나 또는 복수 개의 프로세서에 의해 실행될 때, 상기 하나 또는 복수 개의 프로세서가 제1양태의 임의의 실시예에서 설명된 방법을 구현하도록 한다.In a third aspect, an embodiment of the present invention provides an electronic device including one or a plurality of processors and a storage device in which one or a plurality of programs are stored, wherein the one or plurality of programs are stored in the one or plurality of processors When executed by said one or plurality of processors to implement the method described in any embodiment of the first aspect.

제4 양태에서, 본 발명의 실시예는 컴퓨터 프로그램이 저장된 컴퓨터 판독 가능한 매체를 제공하되, 상기 프로그램이 프로세서에 의해 실행될 때, 제1양태의 임의의 실시예에서 설명된 방법을 구현하도록 한다. In a fourth aspect, an embodiment of the present invention provides a computer readable medium having a computer program stored thereon, which, when executed by a processor, implements a method described in any embodiment of the first aspect.

제5 양태에서, 본 발명의 실시예는 컴퓨터 판독 가능한 저장 매체에 저장된 컴퓨터 프로그램을 제공하되, 상기 컴퓨터 프로그램이 프로세서에 의해 실행될 경우 제1양태의 임의의 실시예에서 설명된 방법을 구현하도록 한다.In a fifth aspect, an embodiment of the present invention provides a computer program stored in a computer readable storage medium, wherein the computer program, when executed by a processor, implements the method described in any embodiment of the first aspect.

본 발명의 상기 실시예에서 제공한 객체 라벨링 방법과 장치에 따르면, 우선, 타깃 객체를 포함하는 라벨링할 이미지를 획득할 수 있다. 다음, 미리 트레이닝된 제1 검출 모델 및 라벨링할 이미지에 따라, 타깃 객체의 위치정보를 결정한다. 다음, 위치정보 및 사전 설정된 라벨링 박스 사이즈 집합에 따라, 타깃 객체를 라벨링하는 라벨링 박스의 사이즈를 결정한다. 마지막으로, 결정된 사이즈에 따라, 라벨링 박스를 이용하여 타깃 객체를 라벨링한다. 본 실시예의 방법은 사전 설정된 라벨링 박스 사이즈 집합에서 적응되는 라벨링 박스를 선택하고, 상기 라벨링 박스를 사용하여 타깃 객체를 라벨링함으로써, 라벨링 박스를 수동으로 조절할 필요없어, 수동 작업량을 감소시킨다.According to the object labeling method and apparatus provided in the above embodiment of the present invention, first, an image to be labeled including a target object may be obtained. Next, location information of the target object is determined according to the pretrained first detection model and the image to be labeled. Next, the size of the labeling box for labeling the target object is determined according to the location information and a preset labeling box size set. Finally, according to the determined size, the target object is labeled using a labeling box. The method of this embodiment selects a labeling box adapted from a set of preset labeling box sizes, and uses the labeling box to label a target object, so that the labeling box does not need to be manually adjusted, reducing manual workload.

아래 첨부 도면에 도시된 비 제한적인 실시예의 상세한 설명에 대한 열독 및 참조를 통해 본 발명의 다른 특징, 목적 및 장점이 보다 명백해질 것이다.
도 1은 본 발명의 일 실시예가 응용될 수 있는 예시적 시스템 아키텍처이다.
도 2는 본 발명에 따른 객체 라벨링 방법의 일 실시예의 흐름도이다.
도 3은 본 발명에 따른 객체 라벨링 방법의 일 응용 장면의 모식도이다.
도 4는 본 발명에 따른 객체 라벨링 방법의 다른 실시예의 흐름도이다.
도 5는 본 발명에 따른 객체 라벨링 장치의 일 실시예의 구조 모식도이다.
도 6은 본 발명의 실시예의 전자 기기를 구현하기 적합한 컴퓨터 시스템의 구조 모식도이다.
Other features, objects and advantages of the present invention will become more apparent upon reading and reference to the detailed description of the non-limiting embodiments shown in the accompanying drawings below.
1 is an exemplary system architecture in which one embodiment of the present invention may be applied.
2 is a flowchart of an embodiment of an object labeling method according to the present invention.
3 is a schematic diagram of one application scene of the object labeling method according to the present invention.
4 is a flowchart of another embodiment of an object labeling method according to the present invention.
5 is a structural schematic diagram of an embodiment of an object labeling device according to the present invention.
6 is a structural schematic diagram of a computer system suitable for implementing an electronic device according to an embodiment of the present invention.

아래 첨부 도면 및 실시예를 참조하여 본 발명을 더 상세히 설명한다. 여기서 설명되는 구체적인 실시예는 관련 발명을 해석하기 위한 것일 뿐 본 발명은 이에 한정되지 않음을 이해할 수 있을 것이다. 이 밖에, 설명의 편의를 위해 도면에는 해당 발명과 관련된 부분만이 도시되었음을 유의해야 한다.The present invention will be described in more detail with reference to the accompanying drawings and examples below. It will be understood that the specific embodiments described herein are only for interpreting the related invention, and the present invention is not limited thereto. In addition, it should be noted that only parts related to the invention are shown in the drawings for convenience of explanation.

모순되지 않는 한 본 발명의 실시예 및 실시예의 특징은 서로 조합될 수 있음을 유의해야 한다. 아래 첨부 도면을 참조하고 실시예를 참조하여 본 발명을 상세히 설명하기로 한다.It should be noted that the embodiments of the present invention and the features of the embodiments may be combined with each other unless contradictory. The present invention will be described in detail with reference to the accompanying drawings below and reference to examples.

도 1은 본 발명의 객체 라벨링 방법 또는 객체 라벨링 장치의 실시예를 응용할 수 있는 예시적 시스템 아키텍처(100)를 도시한다.1 illustrates an exemplary system architecture 100 to which an embodiment of the object labeling method or object labeling apparatus of the present invention may be applied.

도 1에 도시된 바와 같이, 시스템 아키텍처(100)는 단말 기기(101, 102, 103), 네트워크(104) 및 서버(105)를 포함할 수 있다. 네트워크(104)는 단말 기기(101, 102, 103)와 서버(105) 사이에서 통신 링크의 매체를 제공한다. 네트워크(104)는 다양한 연결 타입을 포함할 수 있는 바, 예를 들면 유선, 무선 통신 링크 또는 광섬유 케이블 등이다.As shown in FIG. 1 , the system architecture 100 may include terminal devices 101 , 102 , and 103 , a network 104 and a server 105 . Network 104 provides a medium of communication link between terminal devices 101 , 102 , 103 and server 105 . Network 104 may include a variety of connection types, such as wired, wireless communication links, or fiber optic cables.

사용자는 단말 기기(101, 102, 103)를 사용하여 네트워크(104)를 통해 서버(105)와 인터랙션함으로써 메시지 등을 수신 또는 송신할 수 있다. 단말 기기(101, 102, 103)는 카메라와 연결되어 이미지를 수집할 수 있다. 단말 기기(101, 102, 103)에는 다양한 통신 클라이언트 애플리케이션이 설치될 수 있는 바, 예를 들면 이미지 브라우징 타입 애플리케이션, 적응 브라우징 타입 애플리케이션, 웹 브라우저 애플리케이션, 쇼핑 타입 애플리케이션, 검색 타입 애플리케이션, 인스턴트 메시지 도구, 메일 클라이언트, SNS 소프트웨어 등이다.Users can receive or transmit messages and the like by interacting with the server 105 via the network 104 using the terminal devices 101 , 102 , and 103 . The terminal devices 101, 102, and 103 may be connected to cameras to collect images. Various communication client applications can be installed in the terminal devices 101, 102, and 103, such as image browsing type applications, adaptive browsing type applications, web browser applications, shopping type applications, search type applications, instant message tools, Mail clients, social media software, etc.

단말 기기(101, 102, 103)는 하드웨어일 수 있고 소프트웨어일 수도 있다. 단말 기기(101, 102, 103)가 하드웨어인 경우 디스플레이 스크린을 구비하는 다양한 전자 기기일 수 있으며, 스마트폰, 스마트 백미러, 스마트 주행 기록계, 태블릿PC, 휴대형 랩톱 컴퓨터 및 데스크톱 컴퓨터 등을 포함하나 이에 한정되는 것은 아니다. 단말 기기(101, 102, 103)가 소프트웨어인 경우 상기 열거된 전자 기기에 설치될 수 있다. 복수의 소프트웨어 또는 소프트웨어 모듈(예를 들면 분산형 서비스를 제공함)로 구현되거나, 하나의 소프트웨어 또는 소프트웨어 모듈로 구현될 수 있으며 여기서는 구체적으로 한정하지 않는다.The terminal devices 101, 102, and 103 may be hardware or software. When the terminal devices 101, 102, and 103 are hardware, they may be various electronic devices having a display screen, including, but not limited to, smart phones, smart rearview mirrors, smart odometers, tablet PCs, portable laptop computers, and desktop computers. it is not going to be When the terminal devices 101, 102, and 103 are software, they may be installed in the above-listed electronic devices. It may be implemented as a plurality of software or software modules (for example, providing distributed services), or may be implemented as one software or software module, and is not specifically limited herein.

서버(105)는 다양한 서비스를 제공하는 서버일 수 있고, 예를 들면 단말 기기(101, 102, 103)가 수집한 이미지를 지원하는 백그라운드 서버일 수 있다. 백그라운드 서버는 획득한 라벨링할 이미지 등 데이터에 대해 분석 등 처리를 진행하고 처리 결과(예를 들면 이미지의 라벨링 결과)를 단말 기기(101, 102, 103)에 피드백할 수 있다. The server 105 may be a server that provides various services, and may be, for example, a background server that supports images collected by the terminal devices 101, 102, and 103. The background server may perform processing such as analysis on acquired data such as an image to be labeled, and may feed back a processing result (eg, a labeling result of an image) to the terminal devices 101 , 102 , and 103 .

설명해야 할 것은, 서버는 하드웨어 또는 소프트웨어일 수 있다. 서버가 하드웨어인 경우 복수의 서버로 구성된 분산형 서버 클러스터로 구현될 수 있고, 하나의 서버로 구현될 수도 있다. 서버가 소프트웨어인 경우 복수의 소프트웨어 또는 소프트웨어 모듈(예를 들면 분산형 서비스를 제공함)로 구현되거나, 하나의 소프트웨어 또는 소프트웨어 모듈로 구현될 수 있으며 여기서는 구체적으로 한정하지 않는다.It should be noted that a server can be hardware or software. If the server is hardware, it may be implemented as a distributed server cluster composed of a plurality of servers or may be implemented as a single server. If the server is software, it may be implemented as a plurality of software or software modules (for example, providing a distributed service), or may be implemented as one software or software module, and is not specifically limited herein.

설명해야 할 것은, 본 발명의 실시예가 제공하는 객체 라벨링 방법은 일반적으로 서버(105)에 의해 수행된다. 상응하게, 객체 라벨링 장치는 일반적으로 서버(105)에 설치된다. It should be explained that the object labeling method provided by the embodiments of the present invention is generally performed by the server 105. Correspondingly, the object labeling device is generally installed in the server 105.

이해해야 할 것은 도 1 중의 단말 기기, 네트워크 및 서버의 개수는 예시적인 것일 뿐이며, 실제 필요에 따라 임의의 개수의 단말 기기, 네트워크 및 서버를 구비할 수 있다.It should be understood that the number of terminal devices, networks and servers in FIG. 1 is only exemplary, and any number of terminal devices, networks and servers may be provided according to actual needs.

계속하여 도 2를 참조하면, 이는 본 발명의 실시예에 따른 객체 라벨링 방법의 일 실시예의 흐름(200)을 도시한다. 본 실시예의 객체 라벨링 방법은 하기와 같은 단계를 포함한다.With continued reference to FIG. 2 , it illustrates a flow 200 of one embodiment of an object labeling method according to an embodiment of the present invention. The object labeling method of this embodiment includes the following steps.

단계(201)에서, 라벨링할 이미지를 획득한다.In step 201, an image to be labeled is obtained.

본 실시예에서, 객체 라벨링 방법의 수행 주체(예를 들어 도 1에 도시된 서버(105))는 유선 연결 방식 또는 무선 연결 방식을 통해 라벨링할 이미지를 획득할 수 있다. 상기 라벨링할 이미지는 차량에 설치된 이미지 수집 장치가 수집한 이미지일 수 있다. 상기 라벨링할 이미지는 타깃 객체를 포함하고, 타깃 객체는 보행자, 차량 등을 포함할 수 있다.In this embodiment, a subject performing the object labeling method (for example, the server 105 shown in FIG. 1 ) may obtain an image to be labeled through a wired connection method or a wireless connection method. The image to be labeled may be an image collected by an image collection device installed in a vehicle. The image to be labeled includes a target object, and the target object may include a pedestrian or a vehicle.

단계(202)에서, 미리 트레이닝된 제1 검출 모델 및 라벨링할 이미지에 따라, 타깃 객체의 위치정보를 결정한다.In step 202, location information of a target object is determined according to a pretrained first detection model and an image to be labeled.

본 실시예에서, 수행 주체가 라벨링할 이미지를 획득한 후, 미리 트레이닝된 제1 검출 모델을 사용하여, 타깃 객체의 위치정보를 결정할 수 있다. 상기 제1 검출 모델은 라벨링할 이미지 중의 타깃 객체를 식별할 수 있고, 이는 다양한 딥 러닝 알고리즘, 예를 들어 딥 러닝 신경망, 콘볼루션 신경망일 수 있으며, 다양한 신경망의 조합 등일 수도 있다. 제1 검출 모델은 복수 개의 콘볼루션 계층을 포함할 수 있고, 상기 제1 검출 모델을 실행할 경우 하드웨어에 대한 요구가 높다. 제1 검출 모델은 공개된 보행자 데이터 트레이닝에 의해 얻을 수 있다.In this embodiment, after the performer acquires the image to be labeled, location information of the target object may be determined using a first detection model trained in advance. The first detection model may identify a target object in an image to be labeled, which may be a variety of deep learning algorithms, for example, a deep learning neural network, a convolutional neural network, or a combination of various neural networks. The first detection model may include a plurality of convolutional layers, and hardware requirements are high when the first detection model is executed. The first detection model can be obtained by training on published pedestrian data.

수행 주체는 상기 라벨링할 이미지를 상기 제1 검출 모델에 입력하여, 타깃 객체의 위치정보를 얻을 수 있다. 상기 위치정보는 타깃 객체의 중심, 테두리 등 정보를 포함할 수 있다.An execution entity may obtain location information of a target object by inputting the image to be labeled into the first detection model. The location information may include information such as the center and edge of the target object.

단계(203)에서, 위치정보 및 사전 설정된 라벨링 박스 사이즈 집합에 따라, 타깃 객체를 라벨링하는 라벨링 박스의 사이즈를 결정한다.In step 203, the size of a labeling box for labeling the target object is determined according to the location information and a preset labeling box size set.

수행 주체는 타깃 객체의 위치정보가 결정된 후 사전 설정된 라벨링 박스 사이즈 집합을 결부하여, 타깃 객체에 적응되는 라벨링 박스의 사이즈를 결정할 수 있다. 상기 라벨링 박스 사이즈 집합에는 복수 개의 라벨링 박스 사이즈가 포함되고, 상기 복수 개의 라벨링 박스 사이즈는 기존의 라벨링 이미지 중 타깃 객체의 라벨링 박스의 사이즈이다. 이렇게, 적응을 통해 얻은 라벨링 박스의 사이즈가 사용자가 설정한 라벨링 박스의 사이즈에 비교적 접근하므로, 수동으로 다시 조절할 필요없다.After the location information of the target object is determined, the performing entity may determine the size of the labeling box adapted to the target object by associating a preset labeling box size set. The labeling box size set includes a plurality of labeling box sizes, and the plurality of labeling box sizes are sizes of labeling boxes of target objects among existing labeling images. In this way, since the size of the labeling box obtained through adaptation is relatively close to the size of the labeling box set by the user, manual adjustment is not required.

본 실시예의 일부 선택 가능한 구현 형태에서, 상기 라벨링 박스 사이즈 집합은 도 2에 도시되지 않은 하기 단계, 즉, 라벨링 박스의 사이즈를 포함하는 라벨링 박스 정보를 획득하는 단계; 및 라벨링 박스의 사이즈에 대해 클러스터링을 진행하여, 라벨링 박스 사이즈 집합을 획득하는 단계를 통해 구현될 수 있다.In some selectable implementation forms of this embodiment, the set of labeling box sizes includes the following steps not shown in FIG. 2 , that is, obtaining labeling box information including labeling box sizes; and performing clustering on the size of the labeling box to obtain a labeling box size set.

본 구현 형태에서, 수행 주체는 라벨링 박스 정보를 획득할 수 있다. 상기 라벨링 박스 정보는 수동으로 라벨링한 것일 수 있다. 수행 주체는 우선 이미 공개된 라벨링 데이터를 획득하고, 상기 라벨링 데이터에서 각 라벨링 박스 정보를 결정할 수 있다. 상기 라벨링 박스의 정보는 라벨링 박스의 사이즈, 위치 등 정보를 포함한다. 수행 주체는 각 라벨링 박스의 사이즈에 대해 클러스터링을 진행하여, 복수 개의 라벨링 박스 사이즈를 획득할 수 있다. 구체적으로, 수행 주체는 기존의 클러스터 알고리즘을 사용하여 각 라벨링 박스의 사이즈에 대해 DBSCAN(Density-Based Spatial Clustering of Applications with Noise, 밀도 기반 클러스터링)과 같은 클러스터링을 진행할 수 있다. In this implementation form, the performing entity may obtain labeling box information. The labeling box information may be manually labeled. The performing entity first obtains previously published labeling data, and may determine each labeling box information from the labeling data. The information of the labeling box includes information such as the size and location of the labeling box. The performer may acquire a plurality of labeling box sizes by performing clustering on the size of each labeling box. Specifically, the performer may perform clustering such as Density-Based Spatial Clustering of Applications with Noise (DBSCAN) for the size of each labeling box using an existing cluster algorithm.

단계(204)에서, 결정된 사이즈에 따라, 라벨링 박스를 이용하여 타깃 객체를 라벨링한다.In step 204, the target object is labeled using a labeling box according to the determined size.

수행 주체는 타깃 객체에 적응되는 사이즈가 결정된 후, 라벨링 박스를 이용하여 타깃 객체를 라벨링할 수 있다. 이해할 수 있는 것은, 라벨링 박스의 사이즈가 바로 적응을 거쳐 얻은 라벨링 박스의 사이즈이다.After the size adapted to the target object is determined, the performing entity may label the target object using a labeling box. It can be understood that the size of the labeling box is the size of the labeling box obtained through adaptation.

계속하여 도 3을 참조하면, 이는 본 실시예예 따른 객체 라벨링 방법의 일 응용 장면의 모식도이다. 도 3의 응용 장면에서, 차량(301)에 설치된 주행 기록계는 주행 환경 중의 복수 개의 이미지를 수집하고, 상기 이미지를 서버(302)에 업로드하며, 서버(302)에는 미리 트레이닝된 제1 검출 모델이 설정된다. 서버(302)는 복수 개의 이미지를 제1 검출 모델에 입력하여, 각 이미지에 포함되는 보행자의 위치정보를 결정한다. 다음, 보행자에 적응되는 라벨링 박스의 사이즈를 결정한다. 마지막으로, 라벨링 박스를 사용하여 보행자를 라벨링한다. 서버(302)는 라벨링 후의 이미지를 단말 기기(303)에 출력할 수도 있다. 상기 단말 기기(303)는 라벨링 인원이 사용하는 단말기일 수 있고, 라벨링 인원은 라벨링 후의 이미지를 심사하여, 보행자의 라벨링 박스를 조절해야 할지 여부를 확인할 수 있다. With continuing reference to FIG. 3 , this is a schematic diagram of an application scene of the object labeling method according to the present embodiment. In the application scene of FIG. 3 , the odometer installed in the vehicle 301 collects a plurality of images in the driving environment, uploads the images to the server 302, and the server 302 has a first detection model trained in advance. is set The server 302 inputs a plurality of images to the first detection model and determines the location information of the pedestrian included in each image. Next, the size of the labeling box adapted to the pedestrian is determined. Finally, label the pedestrians using the labeling box. The server 302 may output the image after labeling to the terminal device 303 . The terminal device 303 may be a terminal used by a labeling personnel, and the labeling personnel may examine the image after labeling to determine whether the pedestrian's labeling box needs to be adjusted.

본 발명의 상기 실시예에서 제공한 객체 라벨링 방법에 따르면, 우선, 타깃 객체를 포함하는 라벨링할 이미지를 획득할 수 있다. 다음, 미리 트레이닝된 제1 검출 모델 및 라벨링할 이미지에 따라, 타깃 객체의 위치정보를 결정한다. 다음, 위치정보 및 사전 설정된 라벨링 박스 사이즈 집합에 따라, 타깃 객체를 라벨링하는 라벨링 박스의 사이즈를 결정한다. 마지막으로, 결정된 사이즈에 따라, 라벨링 박스를 이용하여 타깃 객체를 라벨링한다. 본 실시예의 방법은 사전 설정된 라벨링 박스 사이즈 집합에서 적응되는 라벨링 박스를 선택하고, 상기 라벨링 박스를 사용하여 타깃 객체를 라벨링함으로써, 라벨링 박스를 수동으로 조절할 필요없어, 수동 작업량을 감소시킨다.According to the object labeling method provided in the above embodiment of the present invention, first, an image to be labeled including a target object may be obtained. Next, location information of the target object is determined according to the pretrained first detection model and the image to be labeled. Next, the size of the labeling box for labeling the target object is determined according to the location information and a preset labeling box size set. Finally, according to the determined size, the target object is labeled using a labeling box. The method of this embodiment selects a labeling box adapted from a set of preset labeling box sizes, and uses the labeling box to label a target object, so that the labeling box does not need to be manually adjusted, reducing manual workload.

계속하여 도 4를 참조하면, 이는 본 발명에 따른 객체 라벨링 방법의 다른 실시예의 흐름(400)을 도시한다. 도 4에 도시된 바와 같이, 본 실시예의 객체 라벨링 방법은 하기와 같은 단계를 포함할 수 있다.With continued reference to FIG. 4 , it illustrates a flow 400 of another embodiment of a method for object labeling in accordance with the present invention. As shown in FIG. 4 , the object labeling method of this embodiment may include the following steps.

단계(401)에서, 라벨링할 이미지를 획득한다.In step 401, an image to be labeled is obtained.

단계(402)에서, 미리 트레이닝된 제1 검출 모델 및 라벨링할 이미지에 따라, 타깃 객체의 위치정보를 결정한다.In step 402, location information of a target object is determined according to a pretrained first detection model and an image to be labeled.

단계(403)에서, 위치정보 및 사전 설정된 라벨링 박스 사이즈 집합에 따라, 타깃 객체에 적응되는 라벨링 박스의 사이즈를 결정한다.In step 403, a size of a labeling box adapted to the target object is determined according to the location information and a preset labeling box size set.

단계(404)에서, 결정된 사이즈에 따라, 라벨링 박스를 이용하여 타깃 객체를 라벨링한다.In step 404, the target object is labeled using a labeling box according to the determined size.

단계(405)에서, 라벨링할 이미지의 비라벨링 영역을 획득한다.In step 405, an unlabeled area of an image to be labeled is obtained.

본 실시예에서, 수행 주체는 라벨링할 이미지의 비라벨링 영역을 획득할 수도 있다. 상기 비라벨링 영역은 흐릿하고 뚜렷하지 않는 타깃 객체를 포함할 수 있거나 또는 타깃 객체를 포함하지 않을 수 있다. 상응하게, 라벨링할 이미지 중 비라벨링 영역을 제외한 영역을 라벨링 영역이라고 할 수 있다. 라벨링 영역은 라벨링할 복수 개의 타깃 객체를 포함하고, 수행 주체는 라벨링 인원으로부터 라벨링할 이미지의 라벨링 영역을 획득할 수 있다. 라벨링 인원은 라벨링 후의 이미지를 획득한 후, 상기 이미지에서 라벨링 영역을 선정하고, 라벨링 영역 선정 후의 이미지를 수행 주체에 송신할 수 있다. 라벨링 영역이외의 부분이 바로 비라벨링 영역이다.In this embodiment, the performing entity may acquire a non-labeling area of an image to be labeled. The unlabeled area may include a blurry and indistinct target object or may not include a target object. Correspondingly, an area excluding a non-labeling area among images to be labeled may be referred to as a labeling area. The labeling area includes a plurality of target objects to be labeled, and a performing entity may obtain a labeling area of an image to be labeled from a labeling person. A labeling person may obtain an image after labeling, select a labeling area from the image, and transmit the image after selecting the labeling area to a performing entity. A portion other than the labeling area is the non-labeling area.

본 실시예의 일부 선택 가능한 구현 형태에서, 수행 주체는 도 4에 도시되지 않은 하기 단계, 즉, 라벨링 박스에 따라, 라벨링 영역을 결정하는 단계; 및 라벨링 영역에 따라, 비라벨링 영역을 결정하는 단계를 통해 비라벨링 영역을 결정할 수 있다.In some selectable implementation forms of this embodiment, the performing entity may perform the following steps not shown in FIG. 4 , namely, determining a labeling area according to a labeling box; and determining a non-labeling area according to the labeling area. The non-labeling area may be determined.

본 구현 형태에서, 수행 주체는 각 라벨링 박스를 둘러싸는 포위 플레임을 결정하고, 포위 프레임 중의 영역을 라벨링 영역으로 하며, 포위 프레임이외의 영역을 비라벨링 영역으로 할 수 있다.In this implementation mode, the performing entity may determine an enclosing frame surrounding each labeling box, set an area within the enclosing frame as a labeling area, and set an area other than the enclosing frame as a non-labeling area.

단계(406)에서, 비라벨링 영역에서 모자이크를 생성한다.In step 406, a mosaic is created in the non-labeled area.

본 실시예에서, 비라벨링 영역이 결정된 후, 수행 주체는 비라벨링 영역에서 모자이크를 생성할 수 있다. 구체적으로, 수행 주체는 블록 단위로 비라벨링 영역의 픽셀 위치를 섞을 수 있고, 이로써 비라벨링 영역이 주위 픽셀에 비해 특별히 돌출되지 않아, 이미지가 더욱 깨끗하게 되고 트레이닝 효과가 더욱 좋다.In this embodiment, after the non-labeling area is determined, the performer may create a mosaic in the non-labeling area. Specifically, the performer can shuffle the pixel positions of the non-labeled area on a block-by-block basis, so that the non-labeled area does not particularly protrude compared to surrounding pixels, resulting in a clearer image and better training effect.

단계(407)에서, 모자이크 생성 후의 이미지에 따라, 트레이닝 샘플을 결정한다.In step 407, a training sample is determined according to the image after mosaic generation.

수행 주체는 모자이크가 생성된 이미지를 트레이닝 샘플로 할 수 있다. 트레이닝 샘플의 수량이 사전 설정된 수량에 도달한 후, 복수 개의 트레이닝 샘플을 이용하여 모델을 트레이닝할 수 있다.The performer may use the mosaic-generated image as a training sample. After the number of training samples reaches a preset number, the model may be trained using a plurality of training samples.

단계(408)에서, 트레이닝 샘플 중 모자이크가 포함되는 이미지를 입력으로 하고, 라벨링 박스를 예상 출력으로 하여, 제2 검출 모델을 획득한다.In step 408, a second detection model is obtained by taking an image including a mosaic among training samples as an input and a labeling box as an expected output.

본 실시예에서, 수행 주체는 트레이닝 샘플 중 모자이크가 포함되지만 라벨링 박스이 포함되지 않는 이미지를 모델로 입력하고, 라벨링 박스를 모델의 예상 출력으로 입력하여, 제2 검출 모델을 얻을 수 있다. 바람직하게, 상기 제2 검출 모델에 포함되는 콘볼루션 계층의 수량이 비교적 적고 계산량이 비교적 적으며, 이렇게, 트레이닝 후의 제2 검출 모델은 하드웨어 수준이 낮은 이동 단말기에 설치될 수 있고, 예컨대 스마트 백미러에 설치되어 보행자의 신속한 검출을 구현한다.In this embodiment, the performer may obtain a second detection model by inputting an image including a mosaic but not a labeling box among training samples as a model and inputting the labeling box as an expected output of the model. Preferably, the number of convolutional layers included in the second detection model is relatively small, and the amount of calculation is relatively small. In this way, the second detection model after training can be installed in a mobile terminal with a low hardware level, for example, in a smart rearview mirror. It is installed to realize the rapid detection of pedestrians.

본 발명의 상시 실시예에서 제공한 객체 라벨링 방법은, 품질이 좋은 라벨링 이미지를 얻고, 제2 검출 모델을 트레이닝하여 생성할 수 있어, 딥 러닝 알고리즘의 실시에 유리하다.The object labeling method provided in the usual embodiments of the present invention can obtain a labeling image of good quality and generate it by training a second detection model, which is advantageous for implementing a deep learning algorithm.

또한, 도 5를 참조하면, 이는 상기 각 도면에 도시된 방법의 구현으로서, 본 발명은 객체 라벨링 장치의 일 실시예를 제공하고, 상기 장치 실시예는 도 2에 도시된 방법 실시예와 대응되며, 상기 장치는 구체적으로 다양한 전자 기기에 응용될 수 있다.Further, referring to FIG. 5 , which is an implementation of the method shown in each of the above drawings, the present invention provides an embodiment of an object labeling device, and the device embodiment corresponds to the method embodiment shown in FIG. 2 . , The device can be specifically applied to various electronic devices.

도 5에 도시된 바와 같이, 본 실시예의 객체 라벨링 장치(500)는 이미지 획득 유닛(501), 위치 결정 유닛(502), 사이즈 결정 유닛(503) 및 객체 라벨링 유닛(504)을 포함한다.As shown in FIG. 5 , an object labeling apparatus 500 of this embodiment includes an image acquisition unit 501, a position determination unit 502, a size determination unit 503, and an object labeling unit 504.

이미지 획득 유닛(501)은, 타깃 객체를 포함하는 라벨링할 이미지를 획득하도록 구성된다.The image acquisition unit 501 is configured to acquire an image to be labeled containing a target object.

위치 결정 유닛(502)은, 미리 트레이닝된 제1 검출 모델 및 라벨링할 이미지에 따라, 타깃 객체의 위치정보를 결정하도록 구성된다.The position determination unit 502 is configured to determine position information of a target object according to a first detection model trained in advance and an image to be labeled.

사이즈 결정 유닛(503)은, 위치정보 및 사전 설정된 라벨링 박스 사이즈 집합에 따라, 타깃 객체에 적응되는 라벨링 박스의 사이즈를 결정하도록 구성된다.The size determination unit 503 is configured to determine the size of the labeling box adapted to the target object according to the location information and the preset labeling box size set.

객체 라벨링 유닛(504)은, 결정된 사이즈에 따라, 라벨링 박스를 이용하여 타깃 객체를 라벨링하도록 구성된다.The object labeling unit 504 is configured to label the target object using the labeling box according to the determined size.

본 실시예의 일부 선택 가능한 구현 형태에서, 장치(500)는, 라벨링할 이미지의 비라벨링 영역을 획득하고, 비라벨링 영역에서 모자이크를 생성하도록 구성되는, 도 5에 도시되지 않은 처리 장치를 더 포함할 수 있다.In some optional implementation forms of this embodiment, the device 500 may further include a processing device, not shown in FIG. 5 , configured to obtain a non-labeled area of an image to be labeled, and generate a mosaic in the non-labeled area. can

본 실시예의 일부 선택 가능한 구현 형태에서, 장치(500)는, 라벨링할 이미지의 비라벨링 영역을 획득하고, 비라벨링 영역에서 모자이크를 생성하도록 구성되는, 도 5에 도시되지 않은 트레이닝 유닛을 더 포함할 수 있다.In some optional implementation forms of this embodiment, the apparatus 500 may further include a training unit, not shown in FIG. 5 , configured to obtain a non-labeled area of an image to be labeled, and generate a mosaic in the non-labeled area. can

본 실시예의 일부 선택 가능한 구현 형태에서, 장치(500)는, 라벨링 박스의 사이즈를 포함하는 라벨링 박스 정보를 획득하고; 라벨링 박스의 사이즈에 대해 클러스터링을 진행하여 라벨링 박스 사이즈 집합을 획득하도록 구성되는, 도 5에 도시되지 않은 사이즈 집합 결정 유닛을 더 포함할 수 있다.In some optional implementation forms of this embodiment, the apparatus 500 acquires labeling box information including a size of the labeling box; It may further include a size set determining unit not shown in FIG. 5, configured to perform clustering on sizes of labeling boxes to obtain a labeling box size set.

본 실시예의 일부 선택 가능한 구현 형태에서, 처리 장치는 또한, 라벨링 박스에 따라, 라벨링 영역을 결정하고; 라벨링 영역에 따라, 비라벨링 영역을 결정하도록 구성된다.In some optional implementation forms of this embodiment, the processing device also determines, according to the labeling box, a labeling area; and determine a non-labeling area according to the labeling area.

객체 라벨링 장치(500)에 기재된 유닛(501) 내지 유닛(504)은 각각 도 2를 참조하여 설명된 방법 중의 각각의 단계에 대응됨을 이해해야 한다. 이로부터, 상기 객체 라벨링 방법에 대해 설명한 조작과 특징은 장치(500) 및 그 중에 포함되는 유닛에 마찬가지로 적용되므로, 여기서 더이상 설명하지 않는다.It should be understood that the units 501 to 504 described in the object labeling apparatus 500 respectively correspond to respective steps in the method described with reference to FIG. 2 . From this, the operations and features described for the object labeling method are similarly applied to the device 500 and the units included therein, and thus are not further described herein.

아래 도 6을 참조하면 본 발명의 실시예에 따른 전자 기기(600)(예를 들면 도 1의 서버 또는 단말 기기)를 구현할 수 있는 구조 모식도이다. 도 6에 도시된 전자 기기는 하나의 예시일 뿐, 본 발명의 실시예의 기능 또는 사용범위에 대한 어떠한 한정도 아니다.Referring to FIG. 6 below, it is a structural schematic diagram that can implement an electronic device 600 (for example, a server or a terminal device of FIG. 1) according to an embodiment of the present invention. The electronic device shown in FIG. 6 is only an example, and is not intended to limit any function or scope of use of the embodiment of the present invention.

도 6에 도시된 바와 같이, 전자 기기(600)는 판독 전용 메모리(ROM)(602)에 저장된 프로그램 또는 저장 장치(608)로부터 랜덤 액세스 메모리(RAM)(603)로 로딩된 프로그램에 따라 다양하고 적절한 동작 및 처리를 수행할 수 있는 처리 장치(601)(예를 들면 중앙 처리 장치, 그래픽 처리 장치 등)를 포함할 수 있다. RAM(603)에는 또한 전자 기기(600)의 조작에 필요한 다양한 프로그램 및 데이터가 저장된다. 처리 장치(601), ROM(602) 및 RAM(603)은 버스(604)를 통해 서로 연결된다. 입/출력(I/O) 인터페이스(605) 역시 버스(604)에 연결된다.As shown in FIG. 6, the electronic device 600 varies according to a program stored in a read-only memory (ROM) 602 or a program loaded into a random access memory (RAM) 603 from a storage device 608 and It may include a processing unit 601 (eg, central processing unit, graphics processing unit, etc.) capable of performing appropriate operations and processing. The RAM 603 also stores various programs and data necessary for operating the electronic device 600 . The processing unit 601 , ROM 602 and RAM 603 are connected to each other via a bus 604 . An input/output (I/O) interface 605 is also connected to bus 604.

일반적으로, 예를 들어 터치 스크린, 터치 패드, 키보드, 마우스, 카메라, 마이크, 가속도계, 자이로스코프 등을 포함하는 입력 장치(606); 예를 들어 액정 디스플레이(LCD), 스피커, 진동기 등을 포함하는 출력 장치(607); 예를 들어 자기 테이프, 하드 드라이버 등을 포함하는 저장 장치(608); 및 통신 장치(609)는 I/O 인터페이스(605)에 연결될 수 있다. 통신 장치(609)는 전자 기기(600)가 무선 또는 유선으로 다른 기기와 통신하여 데이터를 교환하도록 허용할 수 있다. 비록 도 6에서 다양한 장치를 갖는 전자 기기(600)를 나타냈지만, 모든 도시된 장치를 실시하거나 구비할 필요는 없음을 이해해야 한다. 보다 많거나 보다 적은 장치를 대체적으로 실시하거나 구비할 수 있다. 도 6에 도시된 각 블록은 하나의 장치를 대표할 수 있고, 수요에 따라 복수 개의 장치를 대표할 수도 있다.Input devices 606 generally include, for example, touch screens, touch pads, keyboards, mice, cameras, microphones, accelerometers, gyroscopes, and the like; an output device 607 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, and the like; storage device 608 including, for example, magnetic tape, hard drives, etc.; and communication device 609 can be coupled to I/O interface 605 . The communication device 609 may allow the electronic device 600 to exchange data by communicating with another device wirelessly or wired. Although FIG. 6 shows an electronic device 600 with various devices, it should be understood that not all illustrated devices need be implemented or equipped. More or fewer devices may alternatively be implemented or provided. Each block shown in FIG. 6 may represent one device, or may represent a plurality of devices according to demand.

특히, 본 발명의 실시예에 따르면, 앞에서 흐름도를 참조하여 설명한 과정은 컴퓨터 소프트웨어 프로그램으로서 구현될 수 있다. 예를 들어, 본 발명의 실시예는 컴퓨터 판독 가능 매체에 베어링된 컴퓨터 프로그램을 포함하는 컴퓨터 프로그램 제품을 포함하고, 상기 컴퓨터 프로그램은 흐름도에 도시된 방법을 수행하기 위한 프로그램 코드를 포함한다. 이런 실시예에서, 상기 컴퓨터 프로그램은 통신 장치(609)를 통해 네트워크로부터 다운로드 및 설치되거나 또는 저장 장치(608)로부터 설치되거나 또는 ROM(602)으로부터 설치될 수 있다. 상기 컴퓨터 프로그램이 처리 장치(601)에 의해 실행될 때, 본 발명의 실시예의 방법에 한정된 상기 기능들이 수행된다. 본 발명의 실시에 따른 컴퓨터 판독 가능 매체는 컴퓨터 판독 가능 저장 매체일 수 있음에 유의해야 한다. 컴퓨터 판독 가능 저장 매체는 예를 들어, 전자, 자기, 광학, 전자기, 적외선 또는 반도체 시스템, 장치 또는 소자, 또는 이들의 임의의 조합일 수 있지만, 이에 한정되지 않는다. 컴퓨터 판독 가능 저장 매체의 보다 구체적인 예는 하나 또는 복수의 도선에 의한 전기적 연결, 휴대용 컴퓨터 디스크, 하드 디스크, 랜덤 액세스 메모리(RAM), 판독 전용 메모리(ROM), 소거 가능 프로그램 가능 읽기 전용 메모리(EPROM 또는 플래시 메모리), 광섬유, 휴대용 컴팩트 디스크 판독 전용 메모리(CD-ROM), 광학 저장 장치, 자기 저장 장치 또는 이들의 임의의 적절한 조합을 포함할 수 있지만, 이에 한정되지 않는다.In particular, according to an embodiment of the present invention, the process described above with reference to the flowchart may be implemented as a computer software program. For example, an embodiment of the present invention includes a computer program product including a computer program embodied in a computer readable medium, and the computer program includes program code for performing the method shown in the flowchart. In such an embodiment, the computer program may be downloaded and installed from a network via communication device 609 or installed from storage device 608 or ROM 602 . When the computer program is executed by the processing device 601, the functions defined in the method of the embodiment of the present invention are performed. It should be noted that a computer readable medium according to an embodiment of the present invention may be a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared or semiconductor system, device or element, or any combination thereof. More specific examples of computer-readable storage media include electrical connection by one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM) or flash memory), optical fiber, portable compact disc read-only memory (CD-ROM), optical storage, magnetic storage, or any suitable combination thereof.

상기 컴퓨터 판독 가능 매체는 상기 전자 기기에 포함될 수 있거나, 상기 전자 기기에 조립되지 않고 별도로 존재할 수 있다. 상기 컴퓨터 판독 가능 매체에는 하나 또는 복수 개의 프로그램이 베어링되어, 상기 하나 또는 복수 개의 프로그램이 상기 전자 기기에 의해 실행될 때, 상기 전자 기기가, 타깃 객체를 포함하는 라벨링할 이미지를 획득하는 단계; 미리 트레이닝된 제1 검출 모델 및 라벨링할 이미지에 따라, 타깃 객체의 위치정보를 결정하는 단계; 위치정보 및 사전 설정된 라벨링 박스 사이즈 집합에 따라, 타깃 객체에 적응되는 라벨링 박스의 사이즈를 결정하는 단계; 및 결정된 사이즈에 따라, 라벨링 박스를 이용하여 타깃 객체를 라벨링하는 단계를 수행하도록 한다.The computer readable medium may be included in the electronic device or may exist separately without being assembled in the electronic device. obtaining, by the electronic device, an image to be labeled including a target object when one or more programs are loaded on the computer readable medium and the one or more programs are executed by the electronic device; determining location information of a target object according to a pretrained first detection model and an image to be labeled; determining a size of a labeling box adapted to a target object according to location information and a preset labeling box size set; and labeling the target object using the labeling box according to the determined size.

본 발명의 실시예의 동작을 수행하기 위한 컴퓨터 프로그램 코드는 하나 또는 하나 이상의 프로그래밍 언어, 또는 그들의 조합으로 작성될 수 있다. 상기 프로그래밍 언어는 Java, Smalltalk, C++를 비롯한 객체 지향 프로그래밍 언어와 "C" 언어 또는 유사한 프로그래밍 언어를 비롯한 기존 절차적 프로그래밍 언어를 포함한다. 프로그램 코드는 완전히 사용자의 컴퓨터에서 실행되거나, 부분적으로 사용자의 컴퓨터에서 실행되거나, 독립형 소프트웨어 패키지로서 실행되거나, 일부는 사용자의 컴퓨터에서 실행되고 일부는 원격 컴퓨터에서 실행되거나, 또는 완전히 원격 컴퓨터 또는 서버에서 실행될 수 있다. 원격 컴퓨터의 경우 원격 컴퓨터는 LAN 또는 WAN을 포함한 모든 종류의 네트워크를 통해 사용자의 컴퓨터에 연결되거나 외부 컴퓨터에 연결(예를 들어, 인터넷 서비스 제공 업체를 이용하여 인터넷을 통해 연결)될 수 있다.Computer program codes for performing operations of embodiments of the present invention may be written in one or more programming languages, or a combination thereof. The programming languages include object oriented programming languages including Java, Smalltalk, C++ and conventional procedural programming languages including the "C" language or similar programming languages. The program code may run entirely on the user's computer, partly on the user's computer, as a standalone software package, partly on the user's computer and partly on a remote computer, or entirely on a remote computer or server. can be executed In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a LAN or WAN, or to an external computer (for example, through the Internet using an Internet Service Provider).

도면의 흐름도 및 블록도는 본 발명의 다양한 실시예에 따른 시스템, 방법 및 컴퓨터 프로그램 제품의 구현 가능한 아키텍처, 기능 및 동작을 도시한다. 이 점에서, 흐름도 또는 블록도의 각 블록은 지정된 논리적 기능을 구현하기 위한 하나 또는 하나 이상의 실행 가능한 명령을 포함하는 모듈, 프로그램 세그먼트 또는 코드의 일부를 나타낼 수 있다. 일부 대안적인 구현에서, 블록에 표기된 기능은 또한 도면에 도시된 것과 다른 순서로 구현될 수 있음에 유의해야 한다. 예를 들어, 연속적으로 표현된 2개의 블록은 실제로 병렬 실행될 수 있고, 관련 기능에 따라 때때로 역순으로 실행될 수도 있으며, 이는 관련 기능에 의해 결정된다. 또한, 블록도 및/또는 흐름도의 각 블록, 및 블록도 및/또는 흐름도에서 블록의 조합은 지정된 기능 또는 동작을 수행하는 전용 하드웨어 기반 시스템에서 구현될 수 있거나 전용 하드웨어와 컴퓨터 명령어를 조합하여 구현할 수도 있음에 유의해야 한다.The flow diagrams and block diagrams in the drawings illustrate the implementable architectures, functions and operations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block of a flowchart or block diagram may represent a module, program segment, or portion of code that includes one or more executable instructions for implementing a specified logical function. It should be noted that in some alternative implementations, the functions indicated in the blocks may also be implemented in a different order than shown in the figures. For example, two blocks presented sequentially may actually be executed in parallel, and sometimes in reverse order, depending on the relevant function, which is determined by the relevant function. In addition, each block in the block diagram and/or flowchart and the combination of blocks in the block diagram and/or flowchart may be implemented in a dedicated hardware-based system that performs a designated function or operation, or may be implemented by combining dedicated hardware and computer instructions. It should be noted that there are

본 발명의 실시예들에 설명된 유닛들은 소프트웨어에 의해 구현될 수 있고, 하드웨어에 의해 구현될 수도 있다. 설명된 유닛은 또한 프로세서, 예를 들어 이미지 획득 유닛, 위치 결정 유닛, 사이즈 결정 유닛 및 객체 라벨링 유닛을 포함하는 프로세서에 설치될 수도 있다. 여기서 이들 유닛의 명칭은 경우에 따라서는 유닛 자체로 한정되지 않으며, 예를 들어, 이미지 획득 유닛은 "라벨링할 이미지를 획득하는 유닛”으로 기술될 수도 있다.The units described in the embodiments of the present invention may be implemented by software or hardware. The described unit may also be installed in a processor, for example a processor comprising an image acquisition unit, a position determination unit, a size determination unit and an object labeling unit. Here, the names of these units are not limited to the units themselves in some cases, and for example, the image acquisition unit may be described as "a unit that acquires an image to be labeled".

상기 설명은 본 발명의 바람직한 실시예 및 적용된 기술의 원리에 대한 설명일 뿐이다. 본 발명이 속하는 기술분야의 통상의 기술자들은 본 발명의 실시예에 언급된 본 발명의 범위는 상기 기술적 특징의 특정 조합에 따른 기술적 해결수단에 한정되지 않으며, 동시에 본 발명의 사상을 벗어나지 않으면서 상기 기술적 특징 또는 그 등가 특징에 대해 임의로 조합하여 형성된 다른 기술적 해결수단, 예를 들어, 상기 특징과 본 발명에 공개된(단 이에 한정되지 않음) 유사한 기능을 구비하는 기술적 특징을 서로 교체하여 형성된 기술적 해결수단을 포함함을 이해하여야 한다.The above description is merely a description of the preferred embodiment of the present invention and the principles of applied technology. Those skilled in the art to which the present invention pertains, the scope of the present invention mentioned in the embodiments of the present invention is not limited to the technical solutions according to the specific combination of the above technical features, and at the same time, the above without departing from the spirit of the present invention Other technical solutions formed by arbitrarily combining technical features or equivalent features, for example, technical solutions formed by exchanging the features and technical features having similar functions disclosed in the present invention (but not limited thereto) with each other. It should be understood that it includes means.

Claims (13)

객체 라벨링 방법으로서,
타깃 객체를 포함하는 라벨링할 이미지를 획득하는 단계;
미리 트레이닝된 제1 검출 모델 및 상기 라벨링할 이미지에 따라, 타깃 객체의 위치정보를 결정하는 단계;
상기 위치정보 및 사전 설정된 라벨링 박스 사이즈 집합에 따라, 상기 타깃 객체에 적응되는 라벨링 박스의 사이즈를 결정하는 단계; 및
결정된 사이즈에 따라, 라벨링 박스를 이용하여 상기 타깃 객체를 라벨링하는 단계
를 포함하고,
라벨링 박스의 사이즈를 포함하는 라벨링 박스 정보를 획득하는 단계; 및
상기 라벨링 박스의 사이즈에 대해 클러스터링을 진행하여, 라벨링 박스 사이즈 집합을 획득한 단계
를 더 포함하는, 객체 라벨링 방법.
As an object labeling method,
obtaining an image to be labeled including a target object;
determining location information of a target object according to a pretrained first detection model and the image to be labeled;
determining a size of a labeling box adapted to the target object according to the location information and a preset labeling box size set; and
Labeling the target object using a labeling box according to the determined size
including,
Acquiring labeling box information including a size of the labeling box; and
Obtaining a set of labeling box sizes by performing clustering on the sizes of the labeling boxes
Further comprising, object labeling method.
제1항에 있어서, 상기 방법은,
상기 라벨링할 이미지의 비라벨링 영역을 획득하는 단계; 및
상기 비라벨링 영역에서 모자이크를 생성하는 단계
를 더 포함하는, 객체 라벨링 방법.
The method of claim 1, wherein the method,
acquiring a non-labeling area of the image to be labeled; and
Generating a mosaic in the non-labeling area
Further comprising, object labeling method.
제2항에 있어서, 상기 방법은,
모자이크 생성 후의 이미지에 따라, 트레이닝 샘플을 결정하는 단계; 및
상기 트레이닝 샘플 중의 이미지를 입력으로 하고, 상기 라벨링 박스를 예상 출력으로 하여, 제2 검출 모델을 획득하는 단계
를 더 포함하는, 객체 라벨링 방법.
The method of claim 2, wherein the method,
determining a training sample according to the image after mosaic generation; and
Acquiring a second detection model using the image in the training sample as an input and the labeling box as an expected output
Further comprising, object labeling method.
삭제delete 제2항에 있어서,
상기 라벨링할 이미지의 및 비라벨링 영역을 획득하는 단계는,
상기 라벨링 박스에 따라, 라벨링 영역을 결정하는 단계; 및
라벨링 영역에 따라, 상기 비라벨링 영역을 결정하는 단계
를 포함하는, 객체 라벨링 방법.
According to claim 2,
The step of acquiring the image to be labeled and the unlabeled area,
determining a labeling area according to the labeling box; and
Determining the non-labeling area according to the labeling area
Including, object labeling method.
객체 라벨링 장치로서,
타깃 객체를 포함하는 라벨링할 이미지를 획득하도록 구성되는 이미지 획득 유닛;
미리 트레이닝된 제1 검출 모델 및 상기 라벨링할 이미지에 따라, 타깃 객체의 위치정보를 결정하도록 구성되는 위치 결정 유닛;
상기 위치정보 및 사전 설정된 라벨링 박스 사이즈 집합에 따라, 상기 타깃 객체에 적응되는 라벨링 박스의 사이즈를 결정하도록 구성되는 사이즈 결정 유닛; 및
결정된 사이즈에 따라, 라벨링 박스를 이용하여 상기 타깃 객체를 라벨링하도록 구성되는 객체 라벨링 유닛
을 포함하고,
상기 장치는 사이즈 집합 결정 유닛을 더 포함하되, 상기 사이즈 집합 결정 유닛은,
라벨링 박스의 사이즈를 포함하는 라벨링 박스 정보를 획득하고;
상기 라벨링 박스의 사이즈에 대해 클러스터링을 진행하여, 라벨링 박스 사이즈 집합을 얻도록 구성되는, 객체 라벨링 장치.
As an object labeling device,
an image acquisition unit configured to acquire an image to be labeled containing a target object;
a position determination unit, configured to determine position information of a target object according to a pretrained first detection model and the image to be labeled;
a size determining unit, configured to determine a size of a labeling box adapted to the target object according to the location information and a preset labeling box size set; and
An object labeling unit configured to label the target object using a labeling box according to the determined size.
including,
The apparatus further comprises a size set determining unit, wherein the size set determining unit comprises:
obtaining labeling box information including the size of the labeling box;
and perform clustering on the sizes of the labeling boxes to obtain a set of labeling box sizes.
제6항에 있어서,
상기 장치는 처리 장치를 더 포함하되, 상기 처리 장치는,
상기 라벨링할 이미지의 비라벨링 영역을 획득하고;
상기 비라벨링 영역에서 모자이크를 생성하도록 구성되는, 객체 라벨링 장치.
According to claim 6,
The device further comprises a processing device, wherein the processing device comprises:
obtain a non-labeled area of the image to be labeled;
Object labeling apparatus configured to generate a mosaic in the non-labeling area.
제7항에 있어서,
상기 장치는 트레이닝 유닛을 더 포함하되, 상기 트레이닝 유닛은,
모자이크 생성 후의 이미지에 따라, 트레이닝 샘플을 결정하고;
상기 트레이닝 샘플 중의 이미지를 입력으로 하고, 상기 라벨링 박스를 예상 출력으로 하여, 제2 검출 모델을 획득하도록 구성되는, 객체 라벨링 장치.
According to claim 7,
The apparatus further comprises a training unit, wherein the training unit comprises:
Determine a training sample according to the image after mosaic generation;
and obtain a second detection model by taking the image in the training sample as an input and the labeling box as an expected output.
삭제delete 제7항에 있어서, 상기 처리 장치는 또한,
상기 라벨링 박스에 따라, 라벨링 영역을 결정하고;
라벨링 영역에 따라, 비라벨링 영역을 결정하도록 구성되는, 객체 라벨링 장치.
The method of claim 7, wherein the processing device further,
determine a labeling area according to the labeling box;
An object labeling apparatus, configured to determine a non-labeling area according to the labeling area.
전자 기기로서,
하나 또는 복수 개의 프로세서; 및
하나 또는 복수 개의 프로그램이 저장된 저장 장치를 포함하되,
상기 하나 또는 복수 개의 프로그램이 상기 하나 또는 복수 개의 프로세서에 의해 실행될 때, 상기 하나 또는 복수 개의 프로세서가 제1항 내지 제3항 및 제5항 중 어느 한 항에 따른 방법을 구현하도록 하는, 전자 기기.
As an electronic device,
one or more processors; and
Including a storage device in which one or a plurality of programs are stored,
When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1 to 3 and 5. .
컴퓨터 프로그램이 저장된 컴퓨터 판독 가능한 매체로서,
상기 프로그램이 프로세서에 의해 실행될 때, 제1항 내지 제3항 및 제5항 중 어느 한 항에 따른 방법을 구현하는, 컴퓨터 판독 가능한 매체.
A computer readable medium in which a computer program is stored,
A computer readable medium which, when the program is executed by a processor, implements the method according to any one of claims 1 to 3 and 5.
컴퓨터 판독 가능한 저장 매체에 저장된 컴퓨터 프로그램으로서,
상기 컴퓨터 프로그램이 프로세서에 의해 실행될 경우 제1항 내지 제3항 및 제5항 중 어느 한 항에 따른 방법을 구현하도록 하는, 컴퓨터 프로그램.
A computer program stored on a computer readable storage medium,
A computer program which, when executed by a processor, causes the computer program to implement the method according to any one of claims 1 to 3 and 5.
KR1020210058187A 2020-05-18 2021-05-04 Method and device for labeling objects KR102547527B1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010420437.6 2020-05-18
CN202010420437.6A CN111598006B (en) 2020-05-18 2020-05-18 Method and device for labeling objects

Publications (2)

Publication Number Publication Date
KR20210058768A KR20210058768A (en) 2021-05-24
KR102547527B1 true KR102547527B1 (en) 2023-06-26

Family

ID=72189876

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020210058187A KR102547527B1 (en) 2020-05-18 2021-05-04 Method and device for labeling objects

Country Status (3)

Country Link
JP (1) JP7249372B2 (en)
KR (1) KR102547527B1 (en)
CN (1) CN111598006B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112381059B (en) * 2020-12-02 2023-02-03 武汉光庭信息技术股份有限公司 Target detection labeling method and device
CN113129375B (en) * 2021-04-21 2023-12-01 阿波罗智联(北京)科技有限公司 Data processing method, device, equipment and storage medium
CN113127058B (en) * 2021-04-28 2024-01-16 北京百度网讯科技有限公司 Data labeling method, related device and computer program product
CN113705565A (en) * 2021-08-10 2021-11-26 北京中星天视科技有限公司 Ship detection method, device, electronic equipment and computer readable medium
CN115731588A (en) * 2021-08-27 2023-03-03 腾讯科技(深圳)有限公司 Model processing method and device

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019204374A (en) * 2018-05-24 2019-11-28 日本信号株式会社 Object detecting apparatus

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9501714B2 (en) * 2010-10-29 2016-11-22 Qualcomm Incorporated Systems and methods to improve feature generation in object recognition
US10169680B1 (en) * 2017-12-21 2019-01-01 Luminar Technologies, Inc. Object identification and labeling tool for training autonomous vehicle controllers
CN108573279A (en) * 2018-03-19 2018-09-25 精锐视觉智能科技(深圳)有限公司 Image labeling method and terminal device
KR102117543B1 (en) * 2018-04-26 2020-06-01 주식회사 슈퍼브에이아이 Computing device and artificial intelligence based image processing service system using the same
CN109409364A (en) * 2018-10-16 2019-03-01 北京百度网讯科技有限公司 Image labeling method and device
CN110176078B (en) * 2019-05-26 2022-06-10 魔门塔(苏州)科技有限公司 Method and device for labeling training set data
CN110874591B (en) * 2020-01-20 2020-07-28 广东博智林机器人有限公司 Image positioning method, device, equipment and storage medium
CN110929729B (en) * 2020-02-18 2020-08-04 北京海天瑞声科技股份有限公司 Image annotation method, image annotation device and computer storage medium

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019204374A (en) * 2018-05-24 2019-11-28 日本信号株式会社 Object detecting apparatus

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
한국 공개특허공보 제10-2014-0046394호(2014.04.18.) 1부.*
한국 공개특허공보 제10-2019-0124559호(2019.11.05.) 1부.*

Also Published As

Publication number Publication date
CN111598006B (en) 2023-05-26
KR20210058768A (en) 2021-05-24
JP2021192223A (en) 2021-12-16
CN111598006A (en) 2020-08-28
JP7249372B2 (en) 2023-03-30

Similar Documents

Publication Publication Date Title
KR102547527B1 (en) Method and device for labeling objects
US10593118B2 (en) Learning opportunity based display generation and presentation
US11574149B2 (en) System and method for classifying passive human-device interactions through ongoing device context awareness
CN109308681B (en) Image processing method and device
CN111476871B (en) Method and device for generating video
US9729792B2 (en) Dynamic image selection
CN107392189B (en) Method and device for determining driving behavior of unmanned vehicle
US8953890B2 (en) Usage of visual reader as an input provider in portals
US11514263B2 (en) Method and apparatus for processing image
CN110059623B (en) Method and apparatus for generating information
US20200065663A1 (en) Classifying Time Series Image Data
CN110070076B (en) Method and device for selecting training samples
CN109660581B (en) Physical machine management method, device and system
CN111310595B (en) Method and device for generating information
CN111652831B (en) Object fusion method and device, computer-readable storage medium and electronic equipment
US11120269B2 (en) Method and apparatus for determining target rotation direction, computer readable medium and electronic device
CN113392676A (en) Multi-target tracking behavior identification method and device
KR102463890B1 (en) Method and apparatus for generating position information, device, media and program
CN112766285B (en) Image sample generation method and device and electronic equipment
US20240007738A1 (en) Method and Device for Image Frame Selection
Yasue et al. Developing a Meta-AR Space Construction System and Mapping Coverage Visualization
CN113255812B (en) Video frame detection method and device and electronic equipment
US20220284634A1 (en) Surrounding assessment for heat map visualization
CN116030447A (en) Perception method, system and vehicle supporting multi-camera dynamic input
CN114648629A (en) Region-of-interest generation method, device, equipment and computer readable medium

Legal Events

Date Code Title Description
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant