KR20210087070A - Parking space detection method, device and electronic device - Google Patents

Parking space detection method, device and electronic device Download PDF

Info

Publication number
KR20210087070A
KR20210087070A KR1020217016722A KR20217016722A KR20210087070A KR 20210087070 A KR20210087070 A KR 20210087070A KR 1020217016722 A KR1020217016722 A KR 1020217016722A KR 20217016722 A KR20217016722 A KR 20217016722A KR 20210087070 A KR20210087070 A KR 20210087070A
Authority
KR
South Korea
Prior art keywords
parking space
image
empty
point information
corner point
Prior art date
Application number
KR1020217016722A
Other languages
Korean (ko)
Inventor
제 왕
밍유 딩
지안핑 쉬
유판 헤
Original Assignee
베이징 센스타임 테크놀로지 디벨롭먼트 컴퍼니 리미티드
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 베이징 센스타임 테크놀로지 디벨롭먼트 컴퍼니 리미티드 filed Critical 베이징 센스타임 테크놀로지 디벨롭먼트 컴퍼니 리미티드
Publication of KR20210087070A publication Critical patent/KR20210087070A/en

Links

Images

Classifications

    • G06K9/00624
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V20/00Scenes; Scene-specific elements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/21Design or setup of recognition systems or techniques; Extraction of features in feature space; Blind source separation
    • G06F18/214Generating training patterns; Bootstrap methods, e.g. bagging or boosting
    • G06K9/62
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/10Image acquisition
    • G06V10/12Details of acquisition arrangements; Constructional details thereof
    • G06V10/14Optical characteristics of the device performing the acquisition or on the illumination arrangements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/40Extraction of image or video features
    • G06V10/46Descriptors for shape, contour or point-related descriptors, e.g. scale invariant feature transform [SIFT] or bags of words [BoW]; Salient regional features
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/70Arrangements for image or video recognition or understanding using pattern recognition or machine learning
    • G06V10/77Processing image or video features in feature spaces; using data integration or data reduction, e.g. principal component analysis [PCA] or independent component analysis [ICA] or self-organising maps [SOM]; Blind source separation
    • G06V10/774Generating sets of training patterns; Bootstrap methods, e.g. bagging or boosting
    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/01Detecting movement of traffic to be counted or controlled
    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/01Detecting movement of traffic to be counted or controlled
    • G08G1/0104Measuring and analyzing of parameters relative to traffic conditions
    • G08G1/0125Traffic data processing
    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/01Detecting movement of traffic to be counted or controlled
    • G08G1/0104Measuring and analyzing of parameters relative to traffic conditions
    • G08G1/0137Measuring and analyzing of parameters relative to traffic conditions for specific applications
    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/01Detecting movement of traffic to be counted or controlled
    • G08G1/0104Measuring and analyzing of parameters relative to traffic conditions
    • G08G1/0137Measuring and analyzing of parameters relative to traffic conditions for specific applications
    • G08G1/0141Measuring and analyzing of parameters relative to traffic conditions for specific applications for traffic information dissemination
    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/14Traffic control systems for road vehicles indicating individual free spaces in parking areas
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/20Special algorithmic details
    • G06T2207/20081Training; Learning

Landscapes

  • Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Multimedia (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Analytical Chemistry (AREA)
  • Chemical & Material Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Evolutionary Computation (AREA)
  • Data Mining & Analysis (AREA)
  • General Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Evolutionary Biology (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Software Systems (AREA)
  • Image Analysis (AREA)
  • Traffic Control Systems (AREA)
  • Closed-Circuit Television Systems (AREA)

Abstract

주차 공간의 검출 방법, 장치 및 전자 기기로서, 상기 방법은, 주차 공간 이미지를 획득하는 단계(S101); 주차 공간 이미지를 신경망에 입력하고, 상기 주차 공간 이미지에서 빈 주차 공간의 영역 정보 및/또는 코너 포인트 정보를 획득하는 단계(S102); 및 상기 주차 공간 이미지에서 빈 주차 공간의 영역 정보 및/또는 코너 포인트 정보에 기반하여, 상기 주차 공간 이미지에서 빈 주차 공간의 검출 결과를 결정하는 단계(S103)를 포함한다.A method, apparatus and electronic device for detecting a parking space, the method comprising: acquiring a parking space image (S101); inputting a parking space image to a neural network, and obtaining area information and/or corner point information of an empty parking space from the parking space image (S102); and determining a detection result of an empty parking space in the parking space image based on area information and/or corner point information of the empty parking space in the parking space image (S103).

Description

주차 공간의 검출 방법, 장치 및 전자 기기Parking space detection method, device and electronic device

관련 출원의 상호 참조Cross-referencing of related applications

본원 발명은 출원번호가 201910458754.4이고 출원일이 2019년 5월 29일인 중국 특허 출원에 기반하여 제출하였고 상기 중국 특허 출원의 우선권을 주장하는 바, 상기 중국 특허 출원의 모든 내용은 본원 발명에 인용된다.The present invention is filed based on a Chinese patent application with an application number of 201910458754.4 and an filing date of May 29, 2019, and claims the priority of the Chinese patent application, all contents of the Chinese patent application are incorporated herein by reference.

본 발명은 인공 지능 기술에 관한 것으로서, 특히 주차 공간의 검출 방법, 장치 및 전자 기기에 관한 것이다.The present invention relates to artificial intelligence technology, and more particularly to a method, apparatus and electronic device for detecting a parking space.

사람들의 생활 수준의 향상과 더불어, 자동차는 생활에서 필수 교통 수단으로 되었고, 컴퓨터 비전의 발전과 함께, 자율 주행은 각광 받게 되었다. 자율 주행에서 하나의 관건적인 태스크는 주차 공간의 검출인데, 주차 공간의 검출기 목적은 자동으로 빈 공간을 찾아 차량을 빈 공간에 주차하는 것이다.With the improvement of people's living standards, automobiles have become an essential means of transportation in life, and with the development of computer vision, autonomous driving has come into the limelight. One key task in autonomous driving is the detection of a parking space, the purpose of which is to automatically find an empty space and park the vehicle in the empty space.

본 발명의 실시예에서 주차 공간의 검출 방법, 장치 및 전자 기기를 제공한다.An embodiment of the present invention provides a method, apparatus and electronic device for detecting a parking space.

제1 양태에 따르면, 본 발명의 실시예는 주차 공간의 검출 방법을 제공하는 바, 상기 방법은, 주차 공간 이미지를 획득하는 단계; 상기 주차 공간 이미지를 인스턴스 분할 신경망에 입력하고, 상기 주차 공간 이미지에서 빈 주차 공간의 영역 정보 및/또는 코너 포인트 정보를 획득하는 단계; 및 상기 주차 공간 이미지에서 빈 주차 공간의 영역 정보 및/또는 코너 포인트 정보에 기반하여, 상기 주차 공간 이미지에서 빈 주차 공간의 검출 결과를 결정하는 단계를 포함한다.According to a first aspect, an embodiment of the present invention provides a method for detecting a parking space, the method comprising: acquiring a parking space image; inputting the parking space image to an instance segmentation neural network, and obtaining area information and/or corner point information of an empty parking space from the parking space image; and determining a detection result of an empty parking space in the parking space image based on area information and/or corner point information of the empty parking space in the parking space image.

제2 양태에 따르면, 본 발명의 실시예는 주차 공간의 검출 장치를 제공하는 바, 상기 장치는,According to a second aspect, an embodiment of the present invention provides an apparatus for detecting a parking space, the apparatus comprising:

주차 공간 이미지를 획득하는 제1 획득 모듈;a first acquiring module for acquiring a parking space image;

상기 주차 공간 이미지를 신경망에 입력하여, 상기 주차 공간 이미지에서 빈 주차 공간의 영역 정보 및/또는 코너 포인트 정보를 획득하는 처리 모듈; 및a processing module for inputting the parking space image into a neural network to obtain area information and/or corner point information of an empty parking space from the parking space image; and

상기 주차 공간 이미지에서 빈 주차 공간의 영역 정보 및/또는 코너 포인트 정보에 기반하여, 상기 주차 공간 이미지에서 빈 주차 공간의 검출 결과를 결정하는 결정 모듈을 포함한다.and a determining module for determining a detection result of an empty parking space in the parking space image based on area information and/or corner point information of the empty parking space in the parking space image.

제3 양태에 따르면, 본 발명의 실시예는 전자 기기를 제공하는 바, 컴퓨터 프로그램이 저장되는 메모리; 및 상기 컴퓨터 프로그램을 실행하여, 제1 양태에 따른 주차 공간의 검출 방법을 구현하는 프로세서를 포함한다.According to a third aspect, an embodiment of the present invention provides an electronic device, comprising: a memory in which a computer program is stored; and a processor executing the computer program to implement the method of detecting a parking space according to the first aspect.

제4 양태에 따르면, 본 발명의 실시예는 컴퓨터 프로그램이 저장된 컴퓨터 저장 매체를 제공하는 바, 상기 컴퓨터 프로그램이 실행될 경우 제1 양태에 따른 주차 공간의 검출 방법을 구현한다.According to a fourth aspect, an embodiment of the present invention provides a computer storage medium in which a computer program is stored, and when the computer program is executed, the method of detecting a parking space according to the first aspect is implemented.

본 발명의 실시예에서 제공하는 주차 공간의 검출 방법, 장치 및 전자 기기는, 주차 공간 이미지를 획득하는 것을 통해, 주차 공간 이미지를 신경망에 입력하고, 상기 주차 공간 이미지에서 빈 주차 공간의 영역 정보 및/또는 코너 포인트 정보를 획득하며; 상기 주차 공간 이미지에서 빈 주차 공간의 영역 정보 및/또는 코너 포인트 정보에 기반하여, 상기 주차 공간 이미지에서 빈 주차 공간의 검출 결과를 결정한다. 즉 본 발명의 실시예의 검출 방법은, 획득한 주차 공간 이미지를 신경망에 입력만 하면, 빈 주차 공간의 영역 정보 및/또는 코너 포인트 정보를 얻을 수 있으며, 사전의 이미지 처리가 필요하지 않고 전반적인 검출 과정이 간단하며 소요 시간이 짧고, 주차 공간 이미지에서 빈 주차 공간의 영역 정보 및/또는 코너 포인트 정보에 기반하여, 주차 공간 이미지에서 빈 주차 공간의 검출 결과를 결정함으로써, 빈 주차 공간의 검출 정확도를 효과적으로 향상시킨다.The method, apparatus and electronic device for detecting a parking space provided in an embodiment of the present invention include inputting a parking space image to a neural network through acquiring a parking space image, and area information of an empty parking space in the parking space image and / or obtain corner point information; Based on area information and/or corner point information of an empty parking space in the parking space image, a detection result of an empty parking space in the parking space image is determined. That is, in the detection method of the embodiment of the present invention, area information and/or corner point information of an empty parking space can be obtained only by inputting the obtained parking space image to the neural network, and there is no need for prior image processing and the overall detection process This simple and short time required, based on the area information and/or corner point information of the empty parking space in the parking space image, determines the detection result of the empty parking space in the parking space image, thereby effectively improving the detection accuracy of the empty parking space improve

본 발명의 실시예 또는 종래의 기술의 기술적 해결수단을 보다 명확하게 설명하기 위해, 이하 실시예 또는 종래의 기술에 대한 설명에서 사용되는 첨부 도면에 대해 간단히 소개하며, 아래에서 설명되는 도면은 본 발명에 기재된 일부 실시예일 뿐, 본 기술분야의 통상의 기술자는 진보성 창출에 힘쓰지 않은 전제 하에서, 이러한 도면에 따라 다른 도면을 더 얻을 수 있음은 자명하다.
도 1은 본 발명의 실시예에서 제공하는 주차 공간 검출 방법의 흐름 모식도 1이다.
도 2는 주차 공간의 한 가지 예시도이다.
도 3은 본 발명의 실시예에서 제공하는 주차 공간 검출 방법의 흐름 모식도 2이다.
도 4a는 본 발명의 실시예에서 사용하는 주차 공간 트레이닝 이미지의 한 가지 예시도이다.
도 4b는 도 4a에 대해 키 포인트 태깅을 진행한 후의 이미지이다.
도 5는 본 발명의 실시예에서 언급되는 인스턴스 분할 네트워크의 한 가지 트레이닝 흐름도이다.
도 6은 본 발명의 실시예에서 언급되는 인스턴스 분할 네트워크의 한 가지 구조 모식도이다.
도 7은 본 발명의 실시예에서 언급되는 주차 공간 검출 결과 모식도이다.
도 8은 본 발명의 실시예에서 제공하는 주차 공간의 검출 장치의 구조 모식도 1이다.
도 9는 본 발명의 실시예에서 제공하는 주차 공간의 검출 장치의 구조 모식도 2이다.
도 10은 본 발명의 실시예에서 제공하는 주차 공간의 검출 장치의 구조 모식도 3이다.
도 11은 본 발명의 실시예에서 제공하는 전자 기기의 구조 모식도이다.
In order to more clearly describe the embodiments of the present invention or the technical solutions of the prior art, a brief introduction is made to the accompanying drawings used in the description of the embodiments or the prior art below, and the drawings described below are It is obvious that only some embodiments described in, those skilled in the art can further obtain other drawings according to these drawings, under the premise that the person skilled in the art does not strive to create inventive step.
1 is a flow schematic diagram 1 of a parking space detection method provided in an embodiment of the present invention.
2 is an exemplary view of a parking space.
Figure 3 is a flow schematic diagram 2 of the parking space detection method provided in the embodiment of the present invention.
4A is an exemplary diagram of a parking space training image used in an embodiment of the present invention.
4B is an image after key point tagging is performed with respect to FIG. 4A.
5 is a training flow diagram of an instance partitioning network referred to in an embodiment of the present invention.
6 is a structural schematic diagram of an instance partitioning network mentioned in an embodiment of the present invention.
7 is a schematic diagram of a parking space detection result mentioned in an embodiment of the present invention.
8 is a structural schematic diagram 1 of a detection device for a parking space provided in an embodiment of the present invention.
9 is a structural schematic diagram 2 of a detection device for a parking space provided in an embodiment of the present invention.
10 is a structural schematic diagram 3 of a detection device for a parking space provided in an embodiment of the present invention.
11 is a structural schematic diagram of an electronic device provided in an embodiment of the present invention.

본 발명의 실시예의 목적, 기술적 해결수단 및 장점이 보다 명확해지도록, 이하 본 발명의 실시예 중의 도면을 참조하고, 본 발명의 실시예 중의 기술적 해결수단을 정확하고 완전하게 설명한다. 설명되는 실시예는 단지 본 발명의 일부 실시예일 뿐, 전부 실시예가 아님이 분명하다. 본 발명에서의 실시예에 기반하여, 당업자가 진보성 창출에 힘을 쓰지 않는 전제 하에서 획득한 모든 다른 실시예는 모두 본 발명의 실시예의 보호 범위에 속한다.In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be accurately and completely described below with reference to the drawings in the embodiments of the present invention. It is clear that the described embodiments are merely some embodiments of the present invention and not all embodiments. Based on the embodiments in the present invention, all other embodiments obtained by those skilled in the art without exerting effort to create inventive step shall all fall within the protection scope of the embodiments of the present invention.

본 발명의 실시예는 단말 기기, 컴퓨터 시스템, 서버 등 전자 기기에 응용될 수 있고, 이는 다른 수많은 다른 범용 또는 전용 컴퓨팅 시스템 환경 또는 구성과 함께 작동할 수 있다. 단말 기기, 컴퓨터 시스템, 서버 등 전자 기기와 함께 사용되는 주지된 단말 기기, 컴퓨팅 시스템, 환경, 및/또는 개인 컴퓨터 시스템, 서버 컴퓨터 시스템, 신 클라이언트, 리치 클라이언트, 핸드 헬드 및 랩톱 기기, 마이크로 프로세서 및 중앙 프로세서(Central Processing Unit, CPU) 및 그래픽 프로세서(Graphics Processing Unit, GPU)에 기반한 시스템, 차량 탑재 시스템, 셋톱 박스, 프로그램 가능 가전 제품, 네트워크 개인용 컴퓨터, 소형 컴퓨터 시스템, 대형 컴퓨터 시스템 및 상기 임의의 시스템을 포함하는 분산형 클라우드 컴퓨팅 기술 환경 중의 적어도 하나를 포함하지만 이에 한정되지 않는 구성되는 예에 적용된다.Embodiments of the present invention may be applied to electronic devices such as terminal devices, computer systems, servers, etc., which may work with numerous other general-purpose or dedicated computing system environments or configurations. Well-known terminal devices, computing systems, environments, and/or personal computer systems, server computer systems, thin clients, rich clients, handheld and laptop devices, microprocessors and Systems based on Central Processing Units (CPUs) and Graphics Processing Units (GPUs), in-vehicle systems, set-top boxes, programmable consumer electronics, network personal computers, small computer systems, large computer systems and any of the above It applies to configured examples including, but not limited to, at least one of a distributed cloud computing technology environment comprising a system.

단말 기기, 컴퓨터 시스템, 서버 등 전자 기기는 컴퓨터 시스템으로 수행되는 컴퓨터 시스템 수행 가능한 명령(예컨대 프로그램 모듈)의 일반적인 언어 환경에서 서술될 수 있다. 통상적으로, 프로그램 모듈은 예제 프로그램, 프로그램, 타깃 프로그램, 컴포넌트, 논리, 데이터 구조 등을 포함할 수 있고, 이들은 특정된 태스크 또는 특정된 추상적 데이터 타입을 실행한다. 컴퓨터 시스템/서버는 분산형 클라우드 컴퓨팅 환경에서 실시될 수 있고, 분산형 클라우드 컴퓨팅 환경에서 태스크는 통신 네트워크 링크의 원격 프로세싱 기기를 통해 실행된다. 분산형 클라우드 컴퓨팅 환경에서, 프로그램 모듈은 저장 기기를 포함하는 로컬 또는 원격 컴퓨팅 시스템 저장 매체에 위치할 수 있다.Electronic devices, such as terminal devices, computer systems, and servers, may be described in a general language environment of computer system executable commands (eg, program modules) executed by the computer system. Typically, program modules may include example programs, programs, target programs, components, logic, data structures, etc., which perform specified tasks or specified abstract data types. The computer system/server may be implemented in a distributed cloud computing environment, where tasks are executed via remote processing devices of a communication network link. In a distributed cloud computing environment, program modules may be located in a local or remote computing system storage medium including a storage device.

예시적인 응용에서, 상기 전자 기기는 차량에 설치하고, 후진 시스템과 연결될 수 있으며, 후진 시스템이 차량을 빈 주차 공간에 주차하도록 보조한다. 다른 한 예시적인 응용에서, 전자 기기를 보조 운전 시스템과 연결하고, 전자 기기는 획득된 빈 주차 공간의 검출 결과를 보조 운전 시스템에 발송하여, 보조 운전 시스템이 상기 빈 주차 공간의 검출 결과에 따라 차량 주행을 제어하도록 하며, 예를 들면, 차량이 빈 주차 공간에 주차되도록 제어한다. 선택 가능하게, 상기 전자 기기는 보조 운전 시스템의 일 부분 또는 전부이고, 또는 후진 시스템의 일 부분 또는 전부일 수도 있다. 선택 가능하게, 상기 전자 기기는 실제 수요에 따라 다른 차량의 제어 시스템과 연결될 수도 있고, 본 발명의 실시예는 이에 한정하지 않는다.In an exemplary application, the electronic device may be installed in a vehicle and connected to a reversing system, which assists the reversing system to park the vehicle in an empty parking space. In another exemplary application, the electronic device is connected with the auxiliary driving system, and the electronic device sends the obtained detection result of the empty parking space to the auxiliary driving system, so that the auxiliary driving system determines the vehicle according to the detection result of the empty parking space It controls driving, for example, so that the vehicle is parked in an empty parking space. Optionally, the electronic device may be part or all of an auxiliary driving system, or part or all of a reverse system. Optionally, the electronic device may be connected to a control system of another vehicle according to actual demand, but the embodiment of the present invention is not limited thereto.

이하 구체적인 실시예로 본 발명의 기술적 해결수단을 상세하게 설명하도록 한다. 이하 몇 개의 구체적인 실시예는 서로 결합될 수 있고, 동일하거나 유사한 개념 또는 과정에 대해 일부 실시예는 반복하여 서술하지 않을 수 있다.Hereinafter, the technical solutions of the present invention will be described in detail with reference to specific embodiments. Hereinafter, several specific embodiments may be combined with each other, and some embodiments may not be repeatedly described for the same or similar concept or process.

도 1은 본 발명의 실시예에서 제공하는 주차 공간의 검출 방법의 흐름 모식도 1이다. 도 1에 도시된 바와 같이, 본 실시예의 방법은 하기의 단계를 포함할 수 있다.1 is a flow schematic diagram 1 of a method for detecting a parking space provided in an embodiment of the present invention. 1 , the method of this embodiment may include the following steps.

단계 S101: 주차 공간 이미지를 획득한다.Step S101: Acquire a parking space image.

본 실시예는 수행 주체가 전자 기기인 것을 예로 들며, 상기 전자 기기는 스마트폰, 컴퓨터, 차량 탑재 시스템 등을 포함하지만 이에 한하지 않을 수 있다.The present embodiment exemplifies that the execution subject is an electronic device, and the electronic device may include, but not be limited to, a smartphone, a computer, a vehicle-mounted system, and the like.

선택 가능하게, 도 2는 주차 공간의 한 가지 예시도로서, 본 실시예의 전자 기기는 카메라를 더 구비하고, 카메라로 차량의 주행 환경을 촬영할 수 있는 바, 예를 들어 카메라로 차량이 주행하는 도로 주변의 주차 공간의 이미지를 촬영하여 주차 공간 이미지를 얻을 수 있고, 상기 주차 공간 이미지를 전자 기기의 프로세서에 발송하여, 프로세서가 본 실시예의 방법을 수행하여, 주차 공간 이미지에서 빈 주차 공간의 검출 결과를 얻도록 한다.Optionally, FIG. 2 is an exemplary view of a parking space. The electronic device of this embodiment further includes a camera, and the camera can capture the driving environment of the vehicle, for example, a road on which the vehicle travels with the camera. A parking space image can be obtained by taking an image of a surrounding parking space, and the parking space image is sent to the processor of the electronic device, so that the processor performs the method of this embodiment, and the detection result of an empty parking space in the parking space image to get

선택 가능하게, 본 실시예의 전자 기기는 외부의 카메라와 연결될 수 있고, 외부의 카메라로 차량의 주행 환경을 촬영함으로써, 주차 공간 이미지를 획득할 수 있다.Optionally, the electronic device of the present embodiment may be connected to an external camera, and may acquire a parking space image by photographing the driving environment of the vehicle with the external camera.

선택 가능하게, 본 발명의 실시예의 카메라의 이미징 모듈은 상보형 금속산화 반도체(Complementary Metal Oxide Semiconductor, CMOS) 또는 전하 결합 소자(Charge Coupled Device, CCD)일 수 있지만 이에 한하지 않는다.Optionally, the imaging module of the camera of the embodiment of the present invention may be a complementary metal oxide semiconductor (CMOS) or a charge coupled device (CCD), but is not limited thereto.

단계 S102: 상기 주차 공간 이미지를 신경망에 입력하여, 상기 주차 공간 이미지에서 빈 주차 공간의 영역 정보 및/또는 코너 포인트 정보를 획득한다.Step S102: Input the parking space image to a neural network to obtain area information and/or corner point information of an empty parking space from the parking space image.

본 발명의 실시예의 신경망은 역전파(Back Propagation, BP) 신경망, 방사형 기저 함수(Radial Basis Function, RBF) 신경망, 감지기 신경망, 선형 신경망, 피드백 신경망 등을 포함하지만 이에 한하지 않는다.The neural network of the embodiment of the present invention includes, but is not limited to, a back propagation (BP) neural network, a radial basis function (RBF) neural network, a sensor neural network, a linear neural network, a feedback neural network, and the like.

선택 가능하게, 상기 신경망은 인스턴스 분할을 구현할 수 있고, 여기서, 인스턴스 분할은 픽셀 레벨의 분류를 진행할 뿐만 아니라, 구체적인 카테고리의 기초 상에서 상이한 구현예를 구별하는 것을 가리킨다. 예를 들면, 주차 공간 이미지에는 복수의 빈 주차 공간 갑, 을, 병이 있고, 인스턴스 분할은 이 3개의 빈 주차 공간을 상이한 객체로 식별할 수 있다.Optionally, the neural network may implement instance segmentation, where instance segmentation refers to not only proceeding with pixel-level classification, but also discriminating different implementations on the basis of specific categories. For example, in the parking space image, there are a plurality of empty parking spaces A, B, and Bottle, and instance segmentation may identify these three empty parking spaces as different objects.

본 발명의 실시예는 신경망을 통해 주차 공간 이미지에서 빈 주차 공간의 영역 정보, 및/또는, 빈 주차 공간의 코너 포인트 정보를 검출해 낼 수 있다. 예를 들면, 미리 빈 주차 공간의 영역 정보 및/또는 빈 주차 공간의 코너 포인트 정보를 지닌 주차 공간 이미지 세트를 통해 신경망을 트레이닝하여, 신경망이 빈 주차 공간의 영역 정보 및/또는 코너 포인트 정보를 추출하는 능력을 학습하도록 하며, 이로써 도 2에 도시된 주차 공간 이미지를 신경망에 입력하고, 신경망이 주차 공간 이미지에 대한 처리를 통해 얻은 상기 주차 공간 이미지에서 빈 주차 공간의 영역 정보 및/또는 코너 포인트 정보를 출력할 수 있다.An embodiment of the present invention may detect area information of an empty parking space and/or corner point information of an empty parking space from a parking space image through a neural network. For example, by training a neural network through a parking space image set with area information of an empty parking space and/or corner point information of an empty parking space in advance, the neural network extracts area information and/or corner point information of an empty parking space to learn the ability to do, thereby inputting the parking space image shown in Fig. 2 into the neural network, and area information and/or corner point information of an empty parking space in the parking space image obtained by the neural network through processing on the parking space image can be printed out.

여기서, 빈 주차 공간의 영역 정보는 상기 빈 주차 공간의 위치 및 크기 등 정보를 포함할 수 있고; 코너 포인트 정보는 빈 주차 공간의 코너 포인트의 위치 정보를 포함한다.Here, the area information of the empty parking space may include information such as the location and size of the empty parking space; The corner point information includes position information of a corner point of an empty parking space.

선택 가능하게, 빈 주차 공간의 코너 포인트 정보는 상기 빈 주차 공간의 적어도 3개의 코너 포인트의 코너 포인트 정보를 포함할 수 있다. 주차 공간이 통상적으로 직사각형이기에, 빈 주차 공간의 적어도 3개의 코너 포인트의 코너 포인트 정보에 따라 상기 빈 주차 공간의 영역 정보를 결정할 수 있다.Optionally, the corner point information of the empty parking space may include corner point information of at least three corner points of the empty parking space. Since the parking space is usually rectangular, area information of the empty parking space may be determined according to the corner point information of at least three corner points of the empty parking space.

본 발명의 실시예의 검출 방법은, 획득한 주차 공간 이미지를 신경망에 입력만 하면, 빈 주차 공간의 영역 정보 및/또는 코너 포인트 정보를 얻을 수 있으며, 사전의 이미지 처리가 필요하지 않고, 전반적인 검출 과정이 간단하며, 소요 시간이 짧다.The detection method of the embodiment of the present invention can obtain area information and/or corner point information of an empty parking space only by inputting the obtained parking space image to the neural network, and does not require prior image processing, and the overall detection process This is simple, and the time required is short.

단계 S103, 상기 주차 공간 이미지에서 빈 주차 공간의 영역 정보 및/또는 코너 포인트 정보에 기반하여, 상기 주차 공간 이미지에서 빈 주차 공간의 검출 결과를 결정한다.Step S103, a detection result of an empty parking space in the parking space image is determined based on the area information and/or corner point information of the empty parking space in the parking space image.

일 구현예에서, 주차 이미지에서 빈 주차의 영역 정보를 빈 주차 공간의 검출 결과로 할 수 있다. 다른 일 구현예에서, 주차 이미지에서 빈 주차의 코너 포인트 정보를 빈 주차 공간의 검출 결과로 할 수 있다.In one embodiment, the area information of the empty parking in the parking image may be the detection result of the empty parking space. In another embodiment, corner point information of an empty parking in the parking image may be used as a detection result of an empty parking space.

또 다른 일 구현예에서, 상기 주차 공간 이미지에서 빈 주차 공간의 영역 정보 및 코너 포인트 정보에 기반하여, 상기 주차 공간 이미지에서 빈 주차 공간의 검출 결과를 결정하는 단계는, 주차 공간 이미지에서 빈 주차 공간의 영역 정보 및 코너 포인트 정보를 병합하여, 주차 공간 이미지에서 빈 주차 공간의 검출 결과를 결정하는 단계를 포함한다. 여기서, 상기 빈 주차 공간의 영역 정보 및 코너 포인트 정보를 병합하고, 상기 빈 주차 공간의 검출 결과를 결정하는 단계는 하기의 방식을 포함하지만 이에 한하지 않는다.In another embodiment, the step of determining a detection result of an empty parking space in the parking space image based on the area information and corner point information of the empty parking space in the parking space image comprises: an empty parking space in the parking space image and determining a detection result of an empty parking space in the parking space image by merging the area information and the corner point information. Here, the step of merging the area information and corner point information of the empty parking space and determining the detection result of the empty parking space includes, but is not limited to, the following method.

방식 1: 주차 공간 이미지에서 빈 주차 공간의 코너 포인트 정보가 구성하는 주차 공간 영역 정보를 결정하고; 주차 공간 이미지에서 빈 주차 공간의 영역 정보 및 코너 포인트 정보가 구성하는 주차 공간 영역 정보를 병합하며, 병합한 후의 영역 정보에 기반하여 주차 공간 이미지에서 빈 주차 공간의 검출 결과를 결정한다. 예를 들면, 빈 주차 공간의 코너 포인트 정보에 둘러싸인 주차 공간 영역 정보를 주차 공간 영역 정보 1로 표시하고, 주차 공간 이미지에서 빈 주차 공간의 영역 정보를 영역 정보 2로 표시하며, 주차 공간 영역 정보 1과 영역 정보 2를 병합하여 하나의 영역 정보 3을 획득하고, 예를 들어 주차 공간 영역 정보 1과 영역 정보 2의 평균값을 영역 정보 3으로 하며, 병합한 후의 영역 정보 3을 주차 공간 이미지에서 빈 주차 공간의 검출 결과로 한다.Method 1: Determine parking space area information constituted by corner point information of an empty parking space in the parking space image; The parking space area information constituted by the area information of the empty parking space and the corner point information in the parking space image is merged, and the detection result of the empty parking space in the parking space image is determined based on the area information after merging. For example, the parking space area information surrounded by the corner point information of the empty parking space is displayed as the parking space area information 1, the area information of the empty parking space in the parking space image is displayed as the area information 2, and the parking space area information 1 and area information 2 are merged to obtain one area information 3, for example, the average value of parking space area information 1 and area information 2 is taken as area information 3, and area information 3 after merging is used as an empty parking space image in the parking space image. Let it be the result of detection of space.

방식 2: 주차 공간 이미지에서 빈 주차 공간의 영역 정보의 코너 포인트 정보를 결정하고; 주차 공간 이미지에서 빈 주차 공간의 코너 포인트 정보 및 영역 정보의 코너 포인트 정보를 병합하며, 병합한 후의 코너 포인트 정보에 기반하여 주차 공간 이미지에서 빈 주차 공간의 검출 결과를 결정한다. 예를 들면, 주차 공간 이미지에서 빈 주차 공간의 영역 정보에 대응되는 코너 포인트를 각각 코너 포인트 a1, 코너 포인트 a2, 코너 포인트 a3 및 코너 포인트 a4로 표시하고, 주차 공간 이미지에서 빈 주차 공간의 코너 포인트 정보에 대응되는 코너 포인트를 각각 코너 포인트 b1, 코너 포인트 b2, 코너 포인트 b3 및 코너 포인트 b4로 표시하며, 여기서, 코너 포인트 a1, 코너 포인트 a2, 코너 포인트 a3, 코너 포인트 a4는 각각 코너 포인트 b1, 코너 포인트 b2, 코너 포인트 b3, 코너 포인트 b4에 일대일로 대응되고, 이로써, 대응되는 2개의 코너 포인트를 하나의 코너 포인트로 병합할 수 있으며, 예를 들면, 코너 포인트 a1과 코너 포인트 b1을 하나의 코너 포인트 ab1로 병합함으로써 새로운 코너 포인트 정보를 얻을 수 있고, 이러한 새로운 코너 포인트 정보를 주차 공간 이미지에서 빈 주차 공간의 검출 결과로 사용한다.Method 2: Determine corner point information of area information of an empty parking space in the parking space image; The corner point information of the empty parking space and the corner point information of the area information are merged in the parking space image, and the detection result of the empty parking space in the parking space image is determined based on the corner point information after merging. For example, corner points corresponding to area information of an empty parking space in the parking space image are displayed as corner points a1, corner points a2, corner points a3, and corner points a4, respectively, and corner points of empty parking spaces in the parking space image A corner point corresponding to the information is denoted as a corner point b1, a corner point b2, a corner point b3, and a corner point b4, respectively, wherein the corner point a1, the corner point a2, the corner point a3, the corner point a4 are respectively the corner point b1, The corner point b2, the corner point b3, and the corner point b4 correspond one-to-one, so that the corresponding two corner points can be merged into one corner point, for example, the corner point a1 and the corner point b1 into one By merging into the corner point ab1, new corner point information can be obtained, and this new corner point information is used as a detection result of an empty parking space in the parking space image.

본 발명의 실시예는, 주차 공간 이미지에서 빈 주차 공간의 영역 정보 및 코너 포인트 정보를 병합하여, 주차 공간 이미지에서 빈 주차 공간의 검출 결과를 결정함으로써, 빈 주차 공간의 검출 정확도를 향상시킬 수 있다.An embodiment of the present invention can improve the detection accuracy of an empty parking space by merging the area information and corner point information of the empty parking space in the parking space image to determine the detection result of the empty parking space in the parking space image .

선택 가능하게, 본 발명의 실시예에 따른 방법은 차량이 주차 공간을 찾을 때 상기 단계를 수행할 수 있다. 예를 들면, 자율 주행 시스템이 목적지에 도착하거나, 또는 외부에서 발송된 주차 공간을 찾는 명령을 수신하는 경우, 자율 주행 시스템은 전자 기기를 제어하여 작동하도록 한다. 상기 장면에서, 전자 기기가 카메라를 구비한다면, 상기 전자 기기 중의 프로세서는 카메라를 제어하여 차량 주변의 주차 공간 이미지를 촬영하도록 하고, 전자 기기가 카메라가 없다면, 전자 기기는 외부의 카메라에 촬영 명령을 발송하여, 카메라가 촬영한 차량 주변의 주차 공간 이미지를 전자 기기에 발송하도록 한다. 전자 기기가 주차 공간 이미지를 획득한 후, 상기 주차 공간 이미지에 대해 처리를 진행하여, 주차 공간 이미지에서 빈 주차 공간의 검출 결과를 검출한다. 예를 들면, 전자 기기는 획득한 주차 공간 이미지를 신경망에 입력하여, 상기 신경망의 처리를 통해 주차 공간 이미지에서 빈 주차 공간의 영역 정보 및/또는 코너 포인트 정보를 출력한 다음, 주차 공간 이미지에서 빈 주차 공간의 영역 정보 및/또는 코너 포인트 정보에 기반하여 주차 공간 이미지에서 빈 주차 공간의 검출 결과를 결정함으로써 빈 주차 공간의 정확한 검출을 구현한다.Optionally, the method according to an embodiment of the present invention may perform the above steps when the vehicle finds a parking space. For example, when the autonomous driving system arrives at a destination or receives a command to find a parking space sent from outside, the autonomous driving system controls the electronic device to operate. In the above scene, if the electronic device has a camera, the processor in the electronic device controls the camera to take an image of the parking space around the vehicle, and if the electronic device does not have a camera, the electronic device sends a shooting command to an external camera By sending it, the image of the parking space around the vehicle photographed by the camera is sent to the electronic device. After the electronic device acquires the parking space image, processing is performed on the parking space image to detect a detection result of an empty parking space in the parking space image. For example, the electronic device inputs the obtained parking space image to the neural network, outputs area information and/or corner point information of an empty parking space in the parking space image through processing of the neural network, and then outputs the empty parking space image in the parking space image. Accurate detection of an empty parking space is implemented by determining a detection result of an empty parking space in a parking space image based on area information and/or corner point information of the parking space.

선택 가능하게, 상기 전자 기기는 또한 자율 주행 시스템에 연결되고, 빈 주차 공간의 검출 결과를 자율 주행 시스템에 발송할 수 있으며, 자율 주행 시스템은 상기 빈 주차 공간의 검출 결과에 따라, 차량을 제어하여 상기 빈 주차 공간에 주차하도록 한다.Optionally, the electronic device may also be connected to the autonomous driving system, and send the detection result of the empty parking space to the autonomous driving system, wherein the autonomous driving system controls the vehicle according to the detection result of the empty parking space to Please park in an empty parking space.

본 발명의 실시예에서 제공하는 주차 공간 검출 방법은, 주차 공간 이미지를 획득하는 것을 통해, 주차 공간 이미지를 신경망에 입력하고, 상기 주차 공간 이미지에서 빈 주차 공간의 영역 정보 및/또는 코너 포인트 정보를 획득하며; 상기 주차 공간 이미지에서 빈 주차 공간의 영역 정보 및/또는 코너 포인트 정보에 기반하여, 상기 주차 공간 이미지에서 빈 주차 공간의 검출 결과를 결정한다. 즉 본 발명의 실시예의 검출 방법은, 획득한 주차 공간 이미지를 신경망에 입력만 하면, 빈 주차 공간의 영역 정보 및/또는 코너 포인트 정보를 얻을 수 있으며, 사전의 이미지 처리가 필요하지 않고 전반적인 검출 과정이 간단하며 소요 시간이 짧고, 주차 공간 이미지에서 빈 주차 공간의 영역 정보 및/또는 코너 포인트 정보에 기반하여, 주차 공간 이미지에서 빈 주차 공간의 검출 결과를 결정함으로써, 빈 주차 공간의 검출 정확도를 향상시킨다.The parking space detection method provided in the embodiment of the present invention includes inputting a parking space image to a neural network through acquiring a parking space image, and obtaining area information and/or corner point information of an empty parking space from the parking space image. obtain; Based on area information and/or corner point information of an empty parking space in the parking space image, a detection result of an empty parking space in the parking space image is determined. That is, in the detection method of the embodiment of the present invention, area information and/or corner point information of an empty parking space can be obtained only by inputting the obtained parking space image to the neural network, and there is no need for prior image processing and the overall detection process This simple and short time required, based on the area information and/or corner point information of the empty parking space in the parking space image, determines the detection result of the empty parking space in the parking space image, thereby improving the detection accuracy of the empty parking space make it

일부 실시예에서, 주차 공간 이미지에서 완전하지 않은 빈 주차 공간을 검출하려면, 본 발명의 실시예의 방법은, 단계 S102에서 상기 주차 공간 이미지를 신경망에 입력하여, 상기 주차 공간 이미지에서 빈 주차 공간의 영역 정보 및/또는 코너 포인트 정보를 획득하는 단계 전에, 하기의 단계를 더 포함한다.In some embodiments, in order to detect an incomplete empty parking space in a parking space image, the method of an embodiment of the present invention includes inputting the parking space image to the neural network in step S102, so that the area of the empty parking space in the parking space image Before the step of obtaining information and/or corner point information, the method further includes the following steps.

단계 S102a: 상기 주차 공간 이미지의 주변 가장자리에서 밖으로 기설정 값만큼 확장한다.Step S102a: Extend from the peripheral edge of the parking space image outward by a preset value.

선택 가능하게, 상기 기설정 값은 주차 공간 길이의 절반보다 작거나 같다.Optionally, the preset value is less than or equal to half the length of the parking space.

예시적으로, 도 4a 및 도 4b에 도시된 바와 같이, 도 4a는 전자 기기가 획득한 주차 공간 이미지라고 가설하면, 상기 주차 공간 이미지에는 빈 주차 공간 1 및 빈 주차 공간 2 두 개의 빈 주차 공간이 포함되고, 여기서, 주차 공간 이미지는 단지 빈 주차 공간 2의 일부를 포함한다. 빈 주차 공간 2를 검출하기 위해, 도 4a에 도시된 주차 공간 이미지의 주변 가장자리를 밖으로 기설정 값만큼 확장하고, 도 4b 중의 검정색 변두리에 도시된 바와 같이, 도 4b에 도시된 결과를 획득한다. 이로써, 주차 공간 이미지의 시각 범위를 확대할 수 있고, 주차 공간 이미지 밖에 위치한 일부 빈 주차 공간을 검출하여, 주차 공간 검출의 정확도를 더욱 증가시킬 수 있다.Exemplarily, as shown in FIGS. 4A and 4B , if it is hypothesized that FIG. 4A is a parking space image obtained by an electronic device, the parking space image includes two empty parking spaces: an empty parking space 1 and an empty parking space 2 included, wherein the parking space image only includes a part of the empty parking space 2 . To detect the empty parking space 2, the peripheral edge of the parking space image shown in Fig. 4A is extended outward by a preset value, and as shown in the black border in Fig. 4B, the result shown in Fig. 4B is obtained. Thereby, the visual range of the parking space image can be enlarged, and some empty parking spaces located outside the parking space image can be detected, thereby further increasing the accuracy of parking space detection.

이때, 상기 단계 S103에서 주차 공간 이미지를 신경망에 입력하여, 상기 주차 공간 이미지에서 빈 주차 공간의 영역 정보 및/또는 코너 포인트 정보를 획득하는 것은, 단계 S103a에 의해 대체될 수 있다.At this time, inputting the parking space image to the neural network in step S103 to obtain area information and/or corner point information of an empty parking space in the parking space image may be replaced by step S103a.

단계 S103a: 확장한 후의 상기 주차 공간 이미지를 상기 신경망에 입력하여, 상기 주차 공간 이미지에서 빈 주차 공간의 영역 정보 및/또는 코너 포인트 정보를 획득한다.Step S103a: Input the expanded parking space image to the neural network to obtain area information and/or corner point information of an empty parking space from the parking space image.

예를 들면, 도 4b를 신경망에 입력하여, 도 4b에서 빈 주차 공간 1 및 빈 주차 공간 2의 영역 정보, 및/또는 빈 주차 공간 1 및 빈 주차 공간 2의 코너 포인트 정보를 검출할 수 있다.For example, FIG. 4B may be input to the neural network to detect area information of empty parking space 1 and empty parking space 2 and/or corner point information of empty parking space 1 and empty parking space 2 in FIG. 4B .

본 발명의 실시예의 방법에서, 주차 공간 이미지에서 빈 주차 공간의 영역 정보 및/또는 코너 포인트 정보를 검출하기 전에, 주차 공간 이미지의 주변 가장자리에서 밖으로 기설정 값만큼 확장하고, 확장한 후의 상기 주차 공간 이미지를 신경망에 다시 입력하며, 이로써 주차 공간 이미지 밖에 위치한 일부 빈 주차 공간을 검출할 수 있으며, 주차 공간 검출의 정확도 및 실용성을 더욱 향상시킬 수 있다.In the method of the embodiment of the present invention, before detecting the area information and/or corner point information of an empty parking space in the parking space image, the parking space after extending from the peripheral edge of the parking space image outward by a preset value The image is fed back into the neural network, which can detect some empty parking spaces located outside the parking space image, further improving the accuracy and practicality of parking space detection.

도 3은 본 발명의 실시예에서 제공하는 주차 공간 검출 방법의 흐름 모식도 2이고, 상기 실시예의 기초 상에서, 본 발명의 실시예의 방법은 신경망을 트레이닝하는 과정을 더 포함할 수 있는 바, 도 3에 도시된 바와 같이, 트레이닝 과정은 하기와 같은 단계를 포함한다.3 is a flow schematic diagram 2 of a parking space detection method provided in an embodiment of the present invention, and on the basis of the embodiment, the method of the embodiment of the present invention may further include a process of training a neural network, in FIG. As shown, the training process includes the following steps.

단계 S201: 복수의 주차 공간 트레이닝 이미지를 획득한다.Step S201: Acquire a plurality of parking space training images.

상기 복수의 주차 공간 트레이닝 이미지는 전자 기기가 데이터베이스에서 획득할 수 있고, 전자 기기가 과거에 촬영한 것일 수도 있으며, 본 발명의 실시예에서 전자 기기가 복수의 주차 공간 트레이닝 이미지를 획득하는 단계에 대한 구체적인 과정은 한정하지 않는다.The plurality of parking space training images may be obtained by an electronic device from a database, may be taken by the electronic device in the past, and in an embodiment of the present invention, for the step of the electronic device acquiring a plurality of parking space training images The specific process is not limited.

여기서, 각각의 주차 공간 이미지는 하나 또는 복수의 빈 주차 공간을 포함하고, 예를 들어 도 4b는 주차 공간 트레이닝 이미지이며, 여기서 빈 주차 공간 1 및 빈 주차 공간 2를 포함한다.Here, each parking space image includes one or a plurality of empty parking spaces, for example, FIG. 4B is a parking space training image, where it includes an empty parking space 1 and an empty parking space 2 .

선택 가능하게, 상기 주차 공간 트레이닝 이미지는 광각 카메라를 사용하여 수집한 이미지일 수 있고, 상기 이미지는 규정된 토크를 구비한다. 상기 광각 카메라를 사용하여 촬영한 주차 공간 트레이닝 이미지로 신경망을 트레이닝할 경우, 트레이닝한 후의 신경망이 상이한 시각에 대해 촬영한 주차 공간 이미지를 예측할 수 있고, 나아가 예측 정확도를 보장하는 전제 하에서, 주차 공간 이미지의 촬영 요구를 감소시켰다.Optionally, the parking space training image may be an image collected using a wide-angle camera, wherein the image has a prescribed torque. When the neural network is trained with the parking space training image taken using the wide-angle camera, the neural network after training can predict the parking space image taken for different views, and furthermore, on the premise of ensuring the prediction accuracy, the parking space image reduced shooting requirements.

빈 주차 공간의 키 포인트는 주차 공간 사이드라인의 점, 빈 주차 공간의 코너 포인트, 또는 빈 주차 공간 두 대각선의 교점을 포함할 수 있고, 이러한 키 포인트에 기반하여, 빈 주차 공간의 영역 및 위치를 정확하게 획득할 수 있다.The key point of an empty parking space may include a point of a parking space sideline, a corner point of an empty parking space, or an intersection of two diagonals of an empty parking space, and based on these key points, the area and location of the empty parking space are determined can be obtained accurately.

상기 주차 공간 트레이닝 이미지는 빈 주차 공간의 키 포인트 정보에 대한 태깅 정보를 포함한다. 예를 들어 도 4b에 도시된 바와 같이, 빈 주차 공간 4의 키 포인트가 키 포인트 1, 키 포인트 2, 키 포인트 3 및 키 포인트 4로 태깅되어 있다. 설명해야 할 것은, 도 4b는 빈 주차 공간 1의 키 포인트의 한 가지 태깅 방식이고, 빈 주차 공간 1의 키 포인트는 상기 4개의 키 포인트를 포함하지만 이에 한하지 않으며, 빈 주차 공간 1의 키 포인트의 구체적인 개수와 선택 방식은 실제 수요에 따라 결정되며, 본 발명의 실시예는 이에 대해 한정하지 않는다.The parking space training image includes tagging information for key point information of an empty parking space. For example, as shown in FIG. 4B , key points of empty parking space 4 are tagged as key point 1 , key point 2 , key point 3 and key point 4 . It should be explained that Fig. 4B is one tagging method of the key point of the empty parking space 1, the key point of the empty parking space 1 includes, but is not limited to, the four key points, and the key point of the empty parking space 1 The specific number and selection method of are determined according to actual demand, and the embodiment of the present invention is not limited thereto.

단계 S202: 상기 복수의 주차 공간 트레이닝 이미지를 사용하여, 상기 신경망을 트레이닝한다.Step S202: Train the neural network by using the plurality of parking space training images.

빈 주차 공간의 키 포인트 정보에 대한 태깅 정보가 포함되어 있는 복수의 주차 공간 트레이닝 이미지를 신경망에 입력하고, 신경망에 입력한 검출 결과 및 빈 주차 공간의 키 포인트 정보에 대한 태깅 정보 사이의 차이에 기반하여 상기 신경망의 네트워크 파라미터를 조절하여, 상기 신경망의 트레이닝을 완성한다.A plurality of parking space training images containing tagging information for key point information of an empty parking space are input to the neural network, and based on the difference between the detection result input to the neural network and the tagging information for the key point information of an empty parking space to adjust the network parameters of the neural network to complete the training of the neural network.

한 가지 가능한 실시형태에서, 신경망이 주차 공간 이미지에서 완전하지 않은 빈 주차 공간에 대한 검출을 구현하기 위해, 신경망의 트레이닝 과정에서, 사용되는 주차 공간 트레이닝 이미지의 주변 가장자리를 밖으로 기설정 값만큼 확장한다. 선택 가능하게, 상기 기설정 값은 주차 공간 길이의 절반보다 작거나 같다.In one possible embodiment, the neural network extends the peripheral edge of the used parking space training image out by a preset value in the training process of the neural network to implement detection of an incomplete empty parking space in the parking space image. . Optionally, the preset value is less than or equal to half the length of the parking space.

계속하여 도 4b를 참조하면, 도 4b에 도시된 주차 공간 트레이닝 이미지의 주변 가장자리를 밖으로 기설정 값만큼 확장하고, 상기 기설정 값은 주차 공간 길이의 절반보다 작거나 같으며, 도 4b 중의 검정색 변두리로 시사된다. 이로써, 주차 공간 트레이닝 이미지의 시각 범위를 확대할 수 있는 바, 목적은 트레이닝한 후의 신경망이 후속적인 주차 공간을 검출할 경우, 촬영된 주차 공간 이미지 밖에 위치한 일부 빈 주차 공간을 검출할 수 있다.Continuing to refer to FIG. 4B , the peripheral edge of the parking space training image shown in FIG. 4B is extended outward by a preset value, the preset value being less than or equal to half the length of the parking space, and the black edge in FIG. 4B is suggested as Thereby, the visual range of the parking space training image can be enlarged, and the purpose is to detect some empty parking spaces located outside the captured parking space image when the neural network after training detects a subsequent parking space.

도 4b에 도시된 주차 공간 트레이닝 이미지의 주변 가장자리를 밖으로 기설정 값만큼 확장한 후, 도 4b 중의 빈 주차 공간 2는 완전하게 표시될 수 있고, 이로써 빈 주차 공간 2의 키 포인트를 태깅할 수 있으며, 예를 들면, 빈 주차 공간 2가 태깅되어 있는 키 포인트는 키 포인트 11, 키 포인트 12, 키 포인트 13, 키 포인트 14, 키 포인트 15 및 키 포인트 16이며, 여기서 키 포인트 14는 확장 영역 내에 위치한다. 설명해야 할 것은, 도 4b는 단지 빈 주차 공간 2의 키 포인트 정보의 한 가지 가능한 태깅 방식이고, 빈 주차 공간 2의 키 포인트는 상기 6개의 키 포인트를 포함하지만 이에 한하지 않으며, 빈 주차 공간 2의 키 포인트의 구체적인 개수와 선택 방식은 실제 수요에 따라 결정되며, 본 발명의 실시예는 이에 대해 한정하지 않는다.After extending the peripheral edge of the parking space training image shown in Fig. 4b outward by a preset value, the empty parking space 2 in Fig. 4b can be displayed completely, thereby tagging the key points of the empty parking space 2, and , for example, the key points where empty parking space 2 is tagged are key point 11, key point 12, key point 13, key point 14, key point 15 and key point 16, where key point 14 is located within the extended area. do. It should be explained, that Fig. 4b is only one possible tagging method of key point information of empty parking space 2, the key points of empty parking space 2 include, but are not limited to, the above 6 key points, empty parking space 2 The specific number and selection method of the key points of are determined according to actual demand, and the embodiment of the present invention is not limited thereto.

선택 가능하게, 상기 빈 주차 공간 1 및 빈 주차 공간 2의 키 포인트의 개수와 선택 방식은 동일할 수 있고 상이할 수도 있으며, 빈 주차 공간 1의 각 키 포인트가 순차적으로 연결되어 둘러싸인 면적이 빈 주차 공간 1의 면적이고, 빈 주차 공간 2의 각 키 포인트가 순차적으로 연결되어 둘러싸인 면적이 빈 주차 공간 2의 면적임을 보장하면 된다.Optionally, the number and selection method of the key points of the empty parking space 1 and the empty parking space 2 may be the same or different, and each key point of the empty parking space 1 is sequentially connected so that the enclosed area is an empty parking space It is the area of space 1, and each key point of empty parking space 2 is sequentially connected to ensure that the enclosed area is the area of empty parking space 2.

도 4b에서, 빈 주차 공간 1의 키 포인트 3 및 4는 빈 주차 공간 2의 키 포인트 13 및 11과 중첩된다.In FIG. 4B , key points 3 and 4 of empty parking space 1 overlap with key points 13 and 11 of empty parking space 2 .

선택 가능하게, 주차 공간 트레이닝 이미지에서 빈 주차 공간의 키 포인트 정보는 상기 빈 주차 공간의 적어도 하나의 코너 포인트 정보를 포함하고, 여기서, 각 코너 포인트 정보에 대응되는 코너 포인트는 빈 주차 공간의 두 개의 사이드라인의 교점이다.Optionally, the key point information of the empty parking space in the parking space training image includes at least one corner point information of the empty parking space, wherein the corner point corresponding to each corner point information is two pieces of the empty parking space. It is the intersection of the sidelines.

본 발명의 실시예에서, 주차 공간 트레이닝 이미지의 주변 가장자리를 밖으로 기설정 값만큼 확장하고, 완전하지 않은 빈 주차 공간을 보충함으로써, 주차 공간 트레이닝 이미지에서 완전하지 않은 빈 주차 공간의 키 포인트 정보의 표준 정보를 포함하도록 하고, 이러한 주차 공간 트레이닝 이미지를 사용하여 신경망을 트레이닝하면, 트레이닝한 후의 신경망이 주차 공간 이미지에 완전한 빈 주차 공간을 촬영한 것이 없다는 것을 예측하도록 할 수 있고, 주차 공간 검출의 전면성과 정확도를 향상시킬 수 있다.In an embodiment of the present invention, by extending the peripheral edge of the parking space training image outward by a preset value and supplementing the incomplete empty parking space, the standard of key point information of the incomplete empty parking space in the parking space training image information, and training the neural network using these parking space training images, the neural network after training can predict that there is no picture of a completely empty parking space in the parking space image, and the overall performance of parking space detection accuracy can be improved.

상기 신경망의 트레이닝 실시예의 기초상에서, 한 가지 가능한 구현 방식에서, 도 5에 도시된 바와 같이, 상기 단계 S202에서 상기 복수의 주차 공간 트레이닝 이미지를 사용하여, 상기 신경망을 트레이닝하는 것은, 구체적으로 하기의 단계를 포함할 수 있다.On the basis of the training embodiment of the neural network, in one possible implementation manner, as shown in Fig. 5 , using the plurality of parking space training images in the step S202 to train the neural network is specifically the following may include steps.

단계 S301: 상기 주차 공간 트레이닝 이미지에서 빈 주차 공간의 코너 포인트 정보 및 상기 주차 공간 트레이닝 이미지에서 빈 주차 공간의 키 포인트 정보가 구성하는 영역 정보를 획득한다.Step S301: Obtain area information composed of corner point information of an empty parking space in the parking space training image and key point information of an empty parking space in the parking space training image.

예시적으로, 도 4b 중의 빈 주차 공간 2를 예로 들면, 빈 주차 공간 2의 6개의 키 포인트에 4개의 코너 포인트가 포함되고, 예를 들면, 네 개의 코너 포인트의 태깅을 1로 표시하며, 다른 키 포인트를 0으로 표시하고, 이로써, 빈 주차 공간 2의 6개의 키 포인트 정보를 {"kpts":[[1346.2850971922246, 517.6241900647948, 1.0], [1225.010799136069, 591.1447084233262,1.0], [1280.6479481641468, 666.6522678185745, 0.0], [1300.5183585313175, 728.2505399568034, 1.0], [1339.2656587473002, 707.3866090712743, 0.0], [1431.6630669546437, 630.8855291576674, 1.0]]}으로 가설한다.Illustratively, taking the empty parking space 2 in FIG. 4B as an example, six key points of the empty parking space 2 include four corner points, for example, the tagging of the four corner points is indicated by 1, and another Mark the key point as 0, so that the 6 key point information of empty parking space 2 is {"kpts":[[1346.2850971922246, 517.6241900647948, 1.0], [1225.010799136069, 591.1447084233262,1.0], [1280.6479481641468, 666.6522678185745, 0.0] , [1300.5183585313175, 728.2505399568034, 1.0], [1339.2656587473002, 707.3866090712743, 0.0], [1431.6630669546437, 630.8855291576674, 1.0]]}.

상기 빈 주차 공간 2의 6개의 키 포인트 정보가 구성하는 영역 정보를 획득하고, 예를 들면, 빈 주차 공간 2의 6개의 키 포인트를 시계 방향 또는 반시계 방향으로 배열하고, 그 다음 둘러싸인 면적을 구하며, 둘러싸인 면적을 빈 주차 공간 2의 영역 정보로 한다. 상기 빈 주차 공간 2의 영역 정보를 주차 공간의 검출 과정에서 영역 정보의 진리치로 할 수 있다.obtaining area information constituted by the six key point information of the empty parking space 2, for example, arranging the six key points of the empty parking space 2 in a clockwise or counterclockwise direction, and then obtaining the enclosed area; , let the enclosed area be area information of the vacant parking space 2 . The area information of the empty parking space 2 may be used as the truth value of the area information in the detection process of the parking space.

상기 방법을 참조하면, 복수의 주차 공간 트레이닝 이미지 중의 각 한 장의 주차 공간 트레이닝 이미지에서 빈 주차 공간의 키 포인트 정보가 구성하는 영역 정보를 획득하여, 빈 주차 공간의 영역 진리치(Ground truth)를 형성한다.Referring to the above method, area information composed of key point information of an empty parking space is obtained from each one of a plurality of parking space training images among a plurality of parking space training images to form a ground truth of an empty parking space .

이 밖에, 계속하여 도 4b 중의 빈 주차 공간 2를 예로 들면, 빈 주차 공간 2의 6개의 키 포인트 정보에서 빈 주차 공간 2의 4개의 코너 포인트 정보를 획득하고, {"코너 포인트":[[1346.2850971922246, 517.6241900647948, 1.0], [1225.010799136069, 591.1447084233262,1.0], [1300.5183585313175, 728.2505399568034, 1.0], [1431.6630669546437, 630.8855291576674, 1.0]]}으로 가설한다. . 이 4개의 코너 포인트 정보는 빈 주차 공간 2의 코너 포인트 진리치를 구성한다.In addition, continuing taking the empty parking space 2 in Fig. 4B as an example, four corner point information of the empty parking space 2 is obtained from the six key point information of the empty parking space 2, {"corner point":[[1346.2850971922246 , 517.6241900647948, 1.0], [1225.010799136069, 591.1447084233262,1.0], [1300.5183585313175, 728.2505399568034, 1.0], [1431.6630669546437, 630.8855291576674, 1.0]}. . The four corner point information constitutes the corner point truth value of the empty parking space 2 .

상기 방법을 참조하면, 복수의 주차 공간 트레이닝 이미지 중의 각 한 장의 주차 공간 트레이닝 이미지에서 빈 주차 공간의 코너 포인트 정보에서, 빈 주차 공간의 코너 포인트 진리치를 형성한다.Referring to the above method, the corner point truth value of the empty parking space is formed from the corner point information of the empty parking space in each one of the parking space training images among the plurality of parking space training images.

단계 S302: 상기 주차 공간 트레이닝 이미지 및 상기 주차 공간 트레이닝 이미지에서 빈 주차 공간의 코너 포인트 정보 및 영역 정보를 사용하여, 상기 신경망을 트레이닝한다.Step S302: Train the neural network by using corner point information and area information of an empty parking space in the parking space training image and the parking space training image.

도 6을 참조하면, 도 6은 본 발명의 실시예에서 언급되는 신경망의 한 가지 구조 모식도이고, 본 발명의 실시예에서 언급되는 신경망은 도 6에 도시된 신경망을 포함하지만 이에 한하지 않는다.Referring to FIG. 6 , FIG. 6 is a structural schematic diagram of a neural network mentioned in the embodiment of the present invention, and the neural network mentioned in the embodiment of the present invention includes, but is not limited to, the neural network shown in FIG. 6 .

도 6과 같이, 상기 신경망은 인스턴스 분할층을 포함할 수 있고, 상기 인스턴스 분할층은 빈 주차 공간의 영역 정보를 획득한다.6 , the neural network may include an instance partitioning layer, and the instance partitioning layer acquires area information of an empty parking space.

선택 가능하게, 본 발명의 실시예의 신경망은 mask-RCNN 구조의 신경망이고, 도 6에 도시된 바와 같이, 상기 신경망은 특징 피라미드 네트워크(Feature Pyramid Networks, FPN) 검출 베이스부 및 영역 콘볼루션 신경망(Region CNN, RCNN) 위치 복귀층을 더 포함하며, 여기서, FPN 검출 베이스부의 출력단은 RCNN 위치 복귀층의 입력단과 연결되고, RCNN 위치 복귀층의 출력단은 인스턴스 분할층의 입력단과 연결된다. 이로써 FPN 검출 베이스부는 상기 주차 공간 트레이닝 이미지에서 빈 주차 공간의 검출 프레임을 검출할 수 있는 바, 도 6에 도시된 직사각형 프레임과 같다. 이어서, 검출된 빈 주차 공간의 검출 프레임을 RCNN 위치 복귀층에 입력하고, RCNN 위치 복귀층은 FPN 검출 베이스부가 검출한 빈 주차 공간의 검출 프레임에 대해 미조정한다. RCNN 위치 복귀층은 미조정한 후의 빈 주차 공간의 검출 프레임을 인스턴스 분할층에 입력하고, 상기 인스턴스 분할층은 빈 주차 공간의 영역 정보를 분할하며, 예를 들어 도 7의 흰색 영역과 같다.Optionally, the neural network of the embodiment of the present invention is a neural network of a mask-RCNN structure, and as shown in FIG. 6 , the neural network includes a Feature Pyramid Networks (FPN) detection base unit and a region convolutional neural network (Region). CNN, RCNN) further comprising a positioning layer, wherein an output end of the FPN detection base unit is connected to an input end of the RCNN position return layer, and an output end of the RCNN position return layer is connected to an input end of the instance partitioning layer. Accordingly, the FPN detection base unit can detect the detection frame of the empty parking space in the parking space training image, as is the rectangular frame shown in FIG. 6 . Then, the detection frame of the detected empty parking space is input to the RCNN position return layer, and the RCNN position return layer fine-tunes the detection frame of the empty parking space detected by the FPN detection base unit. The RCNN location return layer inputs the unadjusted detection frame of the empty parking space to the instance partitioning layer, and the instance partitioning layer divides the area information of the empty parking space, for example, as in the white area of FIG. 7 .

선택 가능하게, 상기 인스턴스 분할층은 일련의 콘볼루션층 또는 풀링층을 기설정 순서에 따라 스택하여 형성된 것이다.Optionally, the instance partitioning layer is formed by stacking a series of convolutional layers or pooling layers according to a preset order.

계속하여 도 6을 참조하면, 상기 신경망은 키 포인트 검출층을 더 포함할 수 있고, 상기 키 포인트 검출층은 빈 주차 공간의 코너 포인트 정보를 획득한다.Continuing to refer to FIG. 6 , the neural network may further include a key point detection layer, wherein the key point detection layer acquires corner point information of an empty parking space.

선택 가능하게, 상기 키 포인트 검출층의 입력단은 RCNN 위치 복귀층의 출력단과 연결되고, RCNN 위치 복귀층은 미조정한 후의 빈 주차 공간의 검출 프레임을 키 포인트 검출층에 입력하고, 상기 키 포인트 검출층은 빈 주차 공간의 코너 포인트 정보를 출력하며, 예를 들어 도 7의 검정색 코너 포인트와 같다. 설명해야 할 것은, 도 7에서 두 개의 서로 인접한 빈 주차 공간의 하나의 사이드라인은 중첩되어, 다른 두 개의 빈 주차 공간 중 두 개의 코너 포인트가 중첩되도록 한다.Optionally, the input end of the key point detection layer is connected to the output end of the RCNN position return layer, and the RCNN position return layer inputs the unadjusted detection frame of the empty parking space to the key point detection layer, and detects the key point. The floor outputs corner point information of an empty parking space, for example, the same as the black corner point in FIG. 7 . It should be explained that in FIG. 7 , one sideline of two adjacent empty parking spaces overlaps, so that two corner points of the other two empty parking spaces overlap.

상기 방법에 따르면, 신경망이 예측 가능한 빈 주차 공간의 영역 정보 및 코너 포인트 정보를 통해, 다시 예측된 빈 주차 공간의 영역 정보와 상기 단계에서 획득된 주차 공간 트레이닝 이미지에서 빈 주차 공간의 키 포인트 정보가 구성하는 영역 정보를 비교하며, 예측된 빈 주차 공간의 코너 포인트 정보를 상기 단계에서 획득된 주차 공간 트레이닝 이미지에서 빈 주차 공간의 코너 포인트 정보와 비교하여, 신경망의 파라미터를 조절한다. 상기 단계를 신경망의 트레이닝 횟수가 기설정 횟수에 도달하거나, 또는, 신경망의 예측 오차가 기설정 오차에 도달할 때까지 중복한다.According to the method, through the area information and corner point information of the empty parking space predictable by the neural network, the area information of the empty parking space predicted again and the key point information of the empty parking space in the parking space training image obtained in the above step Comparing the constituting area information, and comparing the predicted corner point information of the empty parking space with the corner point information of the empty parking space in the parking space training image obtained in the above step, the parameters of the neural network are adjusted. The above steps are repeated until the number of training times of the neural network reaches a preset number or the prediction error of the neural network reaches a preset error.

본 발명의 실시예의 방법은, 상기 주차 공간 트레이닝 이미지에서 빈 주차 공간의 코너 포인트 정보 및 상기 주차 공간 트레이닝 이미지에서 빈 주차 공간의 키 포인트 정보가 구성하는 영역 정보를 획득하는 것을 통해; 상기 주차 공간 트레이닝 이미지 및 상기 주차 공간 트레이닝 이미지에서 빈 주차 공간의 코너 포인트 정보 및 영역 정보를 사용하여, 상기 신경망을 트레이닝하고, 트레이닝한 후의 신경망이 빈 주차 공간의 영역 정보 및/또는 코너 포인트 정보를 정확하게 예측할 수 있도록 한다.The method of an embodiment of the present invention includes: obtaining area information constituted by corner point information of an empty parking space in the parking space training image and key point information of an empty parking space in the parking space training image; By using the corner point information and area information of the empty parking space in the parking space training image and the parking space training image, the neural network is trained, and the neural network after training receives area information and/or corner point information of the empty parking space to be able to predict accurately.

본 발명의 실시예에서 제공하는 임의의 주차 공간의 검출 방법은 데이터 처리 능력을 구비하는 임의의 적당한 기기로 수행될 수 있고, 단말 기기 또는 서버 등을 포함하지만 이에 한하지 않는다. 본 발명의 실시예에서 제공하는 임의의 주차 공간의 검출 방법은 프로세서에 의해 수행되는 바, 예컨대 프로세서는 메모리에 저장된 대응되는 명령을 호출하여 본 발명의 실시예에서 언급한 임의의 한 가지 주차 공간 검출 방법을 수행한다. 아래에서 더 서술하지 않는다.The detection method of any parking space provided in the embodiment of the present invention may be performed by any suitable device having data processing capability, including but not limited to a terminal device or a server. The detection method of any parking space provided in the embodiment of the present invention is performed by a processor, for example, the processor calls a corresponding instruction stored in the memory to detect any one parking space mentioned in the embodiment of the present invention. do the method No further description is given below.

당업자는 상기 방법 실시예의 전부 또는 일부 단계는 프로그램 명령 관련의 하드웨어로 완성되고, 전술한 프로그램은 컴퓨터 판독 가능 저장 매체에 저장될 수 있으며, 상기 프로그램을 실행할 경우, 상기 방법 실시예를 포함하는 단계를 수행하며; 전술한 저장 매체는 ROM, RAM, 디스크 또는 CD 등 여러 가지 프로그램 코드의 저장 매체를 포함한다는 것을 이해할 수 있다.A person skilled in the art will know that all or some steps of the method embodiments are completed by hardware related to program instructions, the above-described program may be stored in a computer-readable storage medium, and when the program is executed, the steps of including the method embodiments perform; It can be understood that the above-described storage medium includes a storage medium of various program codes, such as ROM, RAM, disk, or CD.

도 8은 본 발명의 실시예에서 제공하는 주차 공간의 검출 장치의 구조 모식도 1이다. 도 8에 도시된 바와 같이, 본 실시예의 주차 공간의 검출 장치(100)는,8 is a structural schematic diagram 1 of a detection device for a parking space provided in an embodiment of the present invention. As shown in Figure 8, the detection device 100 of the parking space of this embodiment,

주차 공간 이미지를 획득하는 제1 획득 모듈(110);a first acquiring module 110 for acquiring a parking space image;

상기 주차 공간 이미지를 신경망에 입력하여, 상기 주차 공간 이미지에서 빈 주차 공간의 영역 정보 및/또는 코너 포인트 정보를 획득하는 처리 모듈(120); 및a processing module 120 for inputting the parking space image into a neural network to obtain area information and/or corner point information of an empty parking space from the parking space image; and

상기 주차 공간 이미지에서 빈 주차 공간의 영역 정보 및/또는 코너 포인트 정보에 기반하여, 상기 주차 공간 이미지에서 빈 주차 공간의 검출 결과를 결정하는 결정 모듈(130)을 포함할 수 있다.and a determination module 130 that determines a detection result of an empty parking space in the parking space image based on area information and/or corner point information of the empty parking space in the parking space image.

본 발명의 실시예의 주차 공간의 검출 장치는, 상기 방법 실시예의 기술적 해결수단을 수행할 수 있으며, 그 구현 원리와 기술적 효과는 유사하기에, 여기서 더 서술하지 않는다.The apparatus for detecting a parking space in an embodiment of the present invention can implement the technical solution of the above method embodiment, and its implementation principle and technical effect are similar, so that it is not further described herein.

한 가지 가능한 실시형태에서, 상기 결정 모듈(130)은 상기 주차 공간 이미지에서 빈 주차 공간의 영역 정보 및 코너 포인트 정보를 병합하여, 상기 주차 공간 이미지에서 빈 주차 공간의 검출 결과를 결정한다.In one possible embodiment, the determining module 130 determines the detection result of an empty parking space in the parking space image by merging the area information and corner point information of the empty parking space in the parking space image.

다른 한 가지 가능한 실시형태에서, 상기 결정 모듈(130)은 상기 주차 공간 이미지에서 빈 주차 공간의 코너 포인트 정보가 구성하는 주차 공간 영역 정보를 결정하고; 상기 주차 공간 이미지에서 빈 주차 공간의 영역 정보 및 상기 코너 포인트 정보가 구성하는 주차 공간 영역 정보를 병합하며, 상기 주차 공간 이미지에서 빈 주차 공간의 검출 결과를 결정한다.In another possible embodiment, the determining module 130 determines the parking space area information constituted by the corner point information of the empty parking space in the parking space image; In the parking space image, area information of an empty parking space and parking space area information constituted by the corner point information are merged, and a detection result of an empty parking space in the parking space image is determined.

도 9는 본 발명의 실시예에서 제공하는 주차 공간의 검출 장치의 구조 모식도이고, 상기 주차 공간의 검출 장치(100)는 확장 모듈(140)을 더 포함하며,9 is a structural schematic diagram of an apparatus for detecting a parking space provided in an embodiment of the present invention, and the apparatus 100 for detecting a parking space further includes an expansion module 140,

확장 모듈(140)은 상기 주차 공간 이미지의 주변 가장자리에서 밖으로 기설정 값만큼 확장하고, 상기 기설정 값은 주차 공간 길이의 절반보다 작거나 같으며;the expansion module 140 extends outward from the peripheral edge of the parking space image by a preset value, wherein the preset value is less than or equal to half the length of the parking space;

상기 처리 모듈(120)은 확장한 후의 상기 주차 공간 이미지를 상기 신경망에 입력하여, 상기 주차 공간 이미지에서 빈 주차 공간의 영역 정보 및/또는 코너 포인트 정보를 획득한다.The processing module 120 inputs the expanded parking space image to the neural network to obtain area information and/or corner point information of an empty parking space from the parking space image.

본 발명의 실시예의 주차 공간의 검출 장치는, 상기 방법 실시예의 기술적 해결수단을 수행할 수 있으며, 그 구현 원리와 기술적 효과는 유사하기에, 여기서 더 서술하지 않는다.The apparatus for detecting a parking space in an embodiment of the present invention can implement the technical solution of the above method embodiment, and its implementation principle and technical effect are similar, so that it is not further described herein.

도 10은 본 발명의 실시예에서 제공하는 주차 공간의 검출 장치의 구조 모식도 3이고, 상기 주차 공간의 검출 장치(100)는,10 is a structural schematic diagram 3 of a detection device for a parking space provided in an embodiment of the present invention, the detection device 100 for a parking space,

복수의 주차 공간 트레이닝 이미지를 획득하는 제2 획득 모듈(150); 및a second acquisition module 150 for acquiring a plurality of parking space training images; and

상기 복수의 주차 공간 트레이닝 이미지를 사용하여, 상기 신경망을 트레이닝하는 트레이닝 모듈(160)을 포함하고, 여기서, 상기 주차 공간 트레이닝 이미지는 빈 주차 공간의 키 포인트 정보에 대한 태깅 정보를 포함한다.and a training module 160 for training the neural network by using the plurality of parking space training images, wherein the parking space training image includes tagging information for key point information of an empty parking space.

한 가지 가능한 실시형태에서, 상기 주차 공간 트레이닝 이미지의 주변 가장자리를 밖으로 기설정 값만큼 확장하고, 상기 기설정 값은 주차 공간 길이의 절반보다 작거나 같다.In one possible embodiment, the peripheral edge of the parking space training image extends outward by a preset value, wherein the preset value is less than or equal to half the length of the parking space.

다른 한 가지 가능한 실시형태에서, 상기 주차 공간 트레이닝 이미지에서 빈 주차 공간의 키 포인트 정보는 상기 빈 주차 공간의 적어도 하나의 코너 포인트 정보를 포함한다.In another possible embodiment, the key point information of an empty parking space in the parking space training image includes at least one corner point information of the empty parking space.

다른 한 가지 가능한 실시형태에서, 상기 트레이닝 모듈(160)은, 상기 주차 공간 트레이닝 이미지에서 빈 주차 공간의 코너 포인트 정보 및 상기 주차 공간 트레이닝 이미지에서 빈 주차 공간의 키 포인트 정보가 구성하는 영역 정보를 획득하고; 상기 주차 공간 트레이닝 이미지 및 상기 주차 공간 트레이닝 이미지에서 빈 주차 공간의 코너 포인트 정보 및 영역 정보를 사용하여, 상기 신경망을 트레이닝한다.In another possible embodiment, the training module 160 obtains area information constituted by corner point information of an empty parking space in the parking space training image and key point information of an empty parking space in the parking space training image and; The neural network is trained by using corner point information and area information of an empty parking space in the parking space training image and the parking space training image.

선택 가능하게, 상기 주차 공간 트레이닝 이미지는 광각 카메라로 촬영한 이미지이다.Optionally, the parking space training image is an image captured by a wide-angle camera.

본 발명의 실시예의 주차 공간의 검출 장치는, 상기 방법 실시예의 기술적 해결수단을 수행할 수 있으며, 그 구현 원리와 기술적 효과는 유사하기에, 여기서 더 서술하지 않는다.The apparatus for detecting a parking space in an embodiment of the present invention may implement the technical solution of the above method embodiment, and its implementation principle and technical effect are similar, so that it will not be further described herein.

도 11은 본 발명의 실시예에서 제공하는 전자 기기의 구조 모식도로서, 도 11에 도시된 바와 같이, 본 실시예의 전자 기기(30)는,11 is a structural schematic diagram of an electronic device provided in an embodiment of the present invention. As shown in FIG. 11 , the electronic device 30 of this embodiment is,

컴퓨터 프로그램이 저장되는 메모리(310); 및a memory 310 in which a computer program is stored; and

상기 컴퓨터 프로그램을 실행하여, 상기 주차 공간의 검출 방법을 구현하는 프로세서(320)를 포함하기에, 그 구현 원리와 기술적 효과는 유사하기에, 여기서 더 서술하지 않는다.Since it includes a processor 320 that executes the computer program to implement the method of detecting the parking space, its implementation principle and technical effect are similar, so that it will not be further described herein.

또한, 본 발명의 실시예에서 주차 공간의 검출 방법의 적어도 일 부분 기능이 소프트웨어로써 구현될 경우, 본 발명의 실시예는 컴퓨터 저장 매체를 더 제공하며, 휘발성 또는 비휘발성 컴퓨터 저장 매체이고, 컴퓨터 저장 매체는 상기 주차 공간의 검출 컴퓨터 소프트웨어 명령을 저장하며, 이가 컴퓨터에서 운행될 경우, 컴퓨터가 상기 방법 실시예의 각종 가능한 주차 공간의 검출 방법을 수행할 수 있도록 한다. 컴퓨터에서 상기 컴퓨터 실행 명령을 로딩 및 실행할 경우, 전부 또는 부분적으로 본 발명의 실시예에 따른 상기 흐름 또는 기능에 따른다. 상기 컴퓨터 명령은 컴퓨터 저장 매체에 저장될 수 있거나, 하나의 컴퓨터 저장 매체에서 다른 하나의 컴퓨터 저장 매체로 전송될 수 있으며, 상기 전송은 무선(예를 들어 셀룰러 통신, 적외선, 단거리 무선, 마이크로 웨이브 등) 방식으로 다른 한 웹 사이트, 컴퓨터, 서버 또는 데이터 중심으로 전송될 수 있다. 상기 컴퓨터 저장 매체는 컴튜터 액세스 가능한 임의의 가용 매체 또는 하나 또는 복수의 가용 매체로 집적된 서버, 데이터 중심 등을 포함하는 데이터 저장 기기일 수 있다. 상기 가용 매체는 마그네틱 매체(예를 들면, 플로피 디스켓, 하드 디스크, 자기 테이프), 광 매체(예를 들면, 디지털 다기능 디스크(Digital Versatile Disc, DVD)), 또는 반도체 매체(예를 들어 고체 상태 디스크(Solid State Disk, SSD)) 등일 수 있다.In addition, when at least a part function of the method for detecting a parking space in the embodiment of the present invention is implemented as software, the embodiment of the present invention further provides a computer storage medium, which is a volatile or non-volatile computer storage medium, and the computer storage The medium stores the detecting computer software instructions of the parking space, which, when run in a computer, enable the computer to perform the various possible parking space detecting methods of the method embodiments. When the computer loads and executes the computer-executed instructions, all or part of the flow or function according to the embodiment of the present invention is followed. The computer instructions may be stored on a computer storage medium or transmitted from one computer storage medium to another, and the transmission may be performed wirelessly (eg, cellular communication, infrared, short-range radio, microwave, etc.). ) to another website, computer, server or data-centric. The computer storage medium may be any available computer-accessible medium or a data storage device including a server, a data center, etc. integrated into one or a plurality of available media. The usable medium may be a magnetic medium (eg, a floppy diskette, hard disk, magnetic tape), an optical medium (eg, a Digital Versatile Disc (DVD)), or a semiconductor medium (eg, a solid state disk). (Solid State Disk, SSD)) and the like.

상기 실시예에서, 전부 또는 부분적으로 소프트웨어, 하드웨어, 펌웨어 또는 그 임의의 조합으로 구현될 수 있다. 소프트웨어로 구현될 경우, 전부 또는 부분적으로 컴퓨터 프로그램 제품의 형식으로 구현될 수 있다. 상기 컴퓨터 프로그램 제품은 하나 또는 복수의 컴퓨터 명령을 포함한다. 컴퓨터에서 상기 컴퓨터 프로그램 명령이 로딩 및 실행될 경우, 전부 또는 부분적으로 본 발명의 실시예에 따른 상기 흐름 또는 기능을 생성한다. 상기 컴퓨터는 범용 컴퓨터, 전용 컴퓨터, 컴퓨터 네트워크, 또는 다른 프로그램 가능 장치일 수 있다. 상기 컴퓨터 명령은 컴퓨터 판독 가능 저장 매체에 저장될 수 있거나, 하나의 컴퓨터 판독 가능 저장 매체에서 다른 하나의 컴퓨터 판독 가능 저장 매체로 전송될 수 있으며, 예를 들면, 상기 컴퓨터 명령은 하나의 웹 사이트, 컴퓨터, 서버 또는 데이터 중심에서 유선(예를 들어 동축 케이블, 광 섬유, 디지털 가입자 회선(Digital Subscriber Line, DSL)) 또는 무선(예를 들어 적외선, 무선, 마이크로웨이브 등)의 방식으로 다른 한 웹 사이트, 컴퓨터, 서버 또는 데이터 중심으로 전송될 수 있다. 상기 컴퓨터 판독 가능 저장 매체는 컴퓨터가 액세스 가능한 임의의 가용 매체 또는 하나 또는 복수의 가용 매체로 집적된 서버, 데이터 중심 등을 포함하는 데이터 저장 기기일 수 있다. 상기 가용 매체는 마그네틱 매체(예를 들면, 플로피 디스켓, 하드 디스크, 자기 테이프), 광 매체(예를 들면, 디지털 다기능 디스크(Digital Versatile Disc, DVD)), 또는 반도체 매체(예를 들어 고체 상태 디스크(Solid State Disk, SSD)) 등일 수 있다.In the above embodiment, all or part may be implemented in software, hardware, firmware, or any combination thereof. When implemented in software, it may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed in a computer, they generate, in whole or in part, the flow or function according to an embodiment of the present invention. The computer may be a general purpose computer, a dedicated computer, a computer network, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another computer readable storage medium, for example, the computer instructions may be stored in one website; From a computer, server, or data center to another website, either wired (eg coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (eg infrared, wireless, microwave, etc.) , computer, server, or data-centric. The computer-readable storage medium may be any available medium that a computer can access or a data storage device including a server, a data center, etc. integrated in one or a plurality of available media. The usable medium may be a magnetic medium (eg, a floppy diskette, a hard disk, magnetic tape), an optical medium (eg, a Digital Versatile Disc (DVD)), or a semiconductor medium (eg, a solid state disk). (Solid State Disk, SSD)) and the like.

본 발명의 실시예에서, “적어도 하나”는 하나 또는 복수를 가리키고, “복수”는 두 개 또는 두 개 이상을 가리킨다. “및/또는”은 연관 대상의 연관 관계를 서술하며 3가지 관계가 존재함을 의미한다. 예를 들면 A 및/또는 B는 A만 존재, A와 B가 동시에 존재, B만 존재하는 3가지 경우를 의미한다. 여기서 A, B는 단수 또는 복수일 수 있다. 부호 “/”는 일반적으로 전후 연관 대상이 한 가지 “또는”의 관계임을 표시하고; 공식에서 부호 “/”는 전후 연관 대상이 한 가지 “나눗셈”의 관계임을 표시한다. “하기의 적어도 한 항(개)” 또는 그 유사한 표현은 이들 항 중의 임의의 조합을 가리키며, 단 항(개) 또는 복수 항(개)의 임의의 조합을 포함한다. 예를 들면 a, b 또는 c 중의 적어도 한 항(개)은 a, b, c, a-b, a-c, b-c, 또는 a-b-c를 표시할 수 있으며, 여기서, a, b, c는 한 개일 수 있고 복수 개일 수도 있다.In an embodiment of the present invention, “at least one” refers to one or a plurality, and “plurality” refers to two or more than two. "And/or" describes the relationship of the object of association and means that three relationships exist. For example, A and/or B means three cases in which only A exists, A and B exist simultaneously, and only B exists. Here, A and B may be singular or plural. The sign “/” generally indicates that the related object is a relation of one “or”; The sign “/” in the formula indicates that the relation before and after is a relation of one “division”. “At least one term below” or a similar expression refers to any combination of these terms, including any combination of the single term or plural terms. For example, at least one term (one) of a, b, or c may represent a, b, c, ab, ac, bc, or abc, where a, b, c may be one or plural. may be

본 발명의 실시예에서 언급되는 여러 가지 숫자 번호는 단지 설명의 편의를 위해 구분하는 것으로서, 본 발명의 실시예의 범위를 한정하지 않음을 이해할 수 있다.It can be understood that various numerical numbers referred to in the embodiments of the present invention are merely for convenience of description, and do not limit the scope of the embodiments of the present invention.

본 발명의 다양한 실시예에서 각 과정의 순번의 크기는 수행 순서의 선후를 의미하는 것이 아니고, 각 과정의 수행 순서는 그 기능 및 내재적 논리에 따라 결정되어야 하며, 본 발명의 실시예에 따른 실시 과정에 대해 어떠한 한정도 아님을 이해해야 한다.In various embodiments of the present invention, the size of the sequence number of each process does not mean before and after the execution order, and the execution order of each process should be determined according to its function and inherent logic, and the implementation process according to the embodiment of the present invention It should be understood that there is no limitation on the

최종적으로 설명할 것은, 상기 각 실시예는 단지 본 발명의 기술적 해결수단을 설명하기 위한 것으로 이에 대해 한정하지 않는다. 비록 전술한 각 실시예를 참조하여 본 발명을 상세하게 설명하지만, 이는 여전히 전술한 각 실시예에 기재된 기술적 해결수단에 대한 보정, 또는 그 중의 부분적이거나 모든 기술 특징의 동등한 대체임을 당업자는 반드시 이해해야 한다. 그러나 이러한 보정 또는 대체는 대응되는 기술적 해결수단의 본질은 본 발명의 각 실시예의 기술적 해결수단의 범위를 벗어나지 않도록 한다.Finally, each of the above embodiments is only for explaining the technical solutions of the present invention, and is not limited thereto. Although the present invention is described in detail with reference to each of the above-described embodiments, it should be understood by those skilled in the art that it is still a correction for the technical solutions described in each of the above-described embodiments, or equivalent replacement of partial or all technical features therein. . However, such correction or replacement does not deviate from the scope of the technical solutions of each embodiment of the present invention in essence of the corresponding technical solutions.

Claims (20)

주차 공간의 검출 방법으로서,
주차 공간 이미지를 획득하는 단계;
상기 주차 공간 이미지를 신경망에 입력하여, 상기 주차 공간 이미지에서 빈 주차 공간의 영역 정보 및 코너 포인트 정보 중 적어도 하나를 획득하는 단계; 및
상기 주차 공간 이미지에서 빈 주차 공간의 영역 정보 및 코너 포인트 정보 중 적어도 하나에 기반하여, 상기 주차 공간 이미지에서 빈 주차 공간의 검출 결과를 결정하는 단계를 포함하는 주차 공간의 검출 방법.
A method for detecting a parking space, comprising:
acquiring a parking space image;
inputting the parking space image to a neural network to obtain at least one of area information and corner point information of an empty parking space from the parking space image; and
and determining a detection result of an empty parking space in the parking space image based on at least one of area information and corner point information of the empty parking space in the parking space image.
제1항에 있어서,
상기 주차 공간 이미지에서 빈 주차 공간의 영역 정보 및 코너 포인트 정보에 기반하여, 상기 주차 공간 이미지에서 빈 주차 공간의 검출 결과를 결정하는 단계는,
상기 주차 공간 이미지에서 빈 주차 공간의 영역 정보 및 코너 포인트 정보를 병합하여, 상기 주차 공간 이미지에서 빈 주차 공간의 검출 결과를 결정하는 단계를 포함하는 주차 공간의 검출 방법.
According to claim 1,
The step of determining the detection result of the empty parking space in the parking space image based on the area information and the corner point information of the empty parking space in the parking space image,
and determining a detection result of an empty parking space in the parking space image by merging area information and corner point information of the empty parking space in the parking space image.
제2항에 있어서,
상기 주차 공간 이미지에서 빈 주차 공간의 영역 정보 및 코너 포인트 정보를 병합하여, 상기 빈 주차 공간의 검출 결과를 결정하는 단계는,
상기 주차 공간 이미지에서 빈 주차 공간의 코너 포인트 정보가 구성하는 주차 공간 영역 정보를 결정하는 단계; 및
상기 주차 공간 이미지에서 빈 주차 공간의 영역 정보 및 상기 코너 포인트 정보가 구성하는 주차 공간 영역 정보를 병합하고, 병합한 후의 영역 정보에 기반하여 상기 주차 공간 이미지에서 빈 주차 공간의 검출 결과를 결정하는 단계를 포함하는 주차 공간의 검출 방법.
3. The method of claim 2,
The step of determining the detection result of the empty parking space by merging the area information and corner point information of the empty parking space in the parking space image,
determining parking space area information constituted by corner point information of an empty parking space in the parking space image; and
Merging the area information of the empty parking space and the parking space area information constituted by the corner point information in the parking space image, and determining the detection result of the empty parking space in the parking space image based on the area information after merging A method of detecting a parking space comprising a.
제1항 내지 제3항 중 어느 한 항에 있어서,
상기 주차 공간 이미지를 신경망에 입력하여, 상기 주차 공간 이미지에서 빈 주차 공간의 영역 정보 및 코너 포인트 정보 중 적어도 하나를 획득하는 단계 전에, 상기 방법은,
상기 주차 공간 이미지의 주변 가장자리에서 밖으로 기설정 값만큼 확장하는 단계 - 상기 기설정 값은 주차 공간 길이의 절반보다 작거나 같음 - 를 더 포함하고;
상기 주차 공간 이미지를 신경망에 입력하여, 상기 주차 공간 이미지에서 빈 주차 공간의 영역 정보 및 코너 포인트 정보 중 적어도 하나를 획득하는 단계는,
확장한 후의 상기 주차 공간 이미지를 상기 신경망에 입력하여, 상기 주차 공간 이미지에서 빈 주차 공간의 영역 정보 및 코너 포인트 정보 중 적어도 하나를 획득하는 단계를 포함하는 주차 공간의 검출 방법.
4. The method according to any one of claims 1 to 3,
Before inputting the parking space image to a neural network to obtain at least one of area information and corner point information of an empty parking space in the parking space image, the method comprises:
extending out from the peripheral edge of the parking space image by a preset value, wherein the preset value is less than or equal to half the parking space length;
The step of inputting the parking space image to a neural network to obtain at least one of area information and corner point information of an empty parking space from the parking space image comprises:
and inputting the expanded parking space image to the neural network to obtain at least one of area information and corner point information of an empty parking space from the parking space image.
제1항 내지 제4항 중 어느 한 항에 있어서,
상기 방법은,
복수의 주차 공간 트레이닝 이미지를 획득하는 단계; 및
상기 복수의 주차 공간 트레이닝 이미지를 사용하여, 상기 신경망을 트레이닝하는 단계를 더 포함하고,
상기 주차 공간 트레이닝 이미지는 빈 주차 공간의 키 포인트 정보에 대한 태깅 정보를 포함하는 주차 공간의 검출 방법.
5. The method according to any one of claims 1 to 4,
The method is
acquiring a plurality of parking space training images; and
Using the plurality of parking space training images, further comprising the step of training the neural network,
The parking space training image is a parking space detection method including tagging information for key point information of an empty parking space.
제5항에 있어서,
상기 주차 공간 트레이닝 이미지의 주변 가장자리를 밖으로 기설정 값만큼 확장하고, 상기 기설정 값은 주차 공간 길이의 절반보다 작거나 같은 주차 공간의 검출 방법.
6. The method of claim 5,
A method of detecting a parking space by extending the peripheral edge of the parking space training image outward by a preset value, wherein the preset value is less than or equal to half the length of the parking space.
제5항 또는 제6항에 있어서,
상기 주차 공간 트레이닝 이미지에서 빈 주차 공간의 키 포인트 정보는 상기 빈 주차 공간의 적어도 하나의 코너 포인트 정보를 포함하는 주차 공간의 검출 방법.
7. The method of claim 5 or 6,
In the parking space training image, the key point information of the empty parking space includes at least one corner point information of the empty parking space.
제7항에 있어서,
상기 복수의 주차 공간 트레이닝 이미지를 사용하여, 상기 신경망을 트레이닝하는 단계는,
상기 주차 공간 트레이닝 이미지에서 빈 주차 공간의 코너 포인트 정보 및 상기 주차 공간 트레이닝 이미지에서 빈 주차 공간의 키 포인트 정보가 구성하는 영역 정보를 획득하는 단계; 및
상기 주차 공간 트레이닝 이미지 및 상기 주차 공간 트레이닝 이미지에서 빈 주차 공간의 코너 포인트 정보 및 영역 정보를 사용하여, 상기 신경망을 트레이닝하는 단계를 포함하는 주차 공간의 검출 방법.
8. The method of claim 7,
Using the plurality of parking space training images, training the neural network comprises:
obtaining area information composed of corner point information of an empty parking space in the parking space training image and key point information of an empty parking space in the parking space training image; and
and training the neural network by using corner point information and area information of an empty parking space in the parking space training image and the parking space training image.
제5항 내지 제8항 중 어느 한 항에 있어서,
상기 주차 공간 트레이닝 이미지는 광각 카메라로 촬영한 이미지인 주차 공간의 검출 방법.
9. The method according to any one of claims 5 to 8,
The parking space training image is an image taken with a wide-angle camera.
주차 공간의 검출 장치로서,
주차 공간 이미지를 획득하는 제1 획득 모듈;
상기 주차 공간 이미지를 신경망에 입력하여, 상기 주차 공간 이미지에서 빈 주차 공간의 영역 정보 및 코너 포인트 정보 중 적어도 하나를 획득하는 처리 모듈; 및
상기 주차 공간 이미지에서 빈 주차 공간의 영역 정보 및 코너 포인트 정보 중 적어도 하나에 기반하여, 상기 주차 공간 이미지에서 빈 주차 공간의 검출 결과를 결정하는 결정 모듈을 포함하는 주차 공간의 검출 장치.
A parking space detection device, comprising:
a first acquiring module for acquiring a parking space image;
a processing module for inputting the parking space image into a neural network to obtain at least one of area information and corner point information of an empty parking space from the parking space image; and
and a determining module configured to determine a detection result of an empty parking space in the parking space image based on at least one of area information and corner point information of the empty parking space in the parking space image.
제10항에 있어서,
상기 결정 모듈은 상기 주차 공간 이미지에서 빈 주차 공간의 영역 정보 및 코너 포인트 정보를 병합하여, 상기 주차 공간 이미지에서 빈 주차 공간의 검출 결과를 결정하는 주차 공간의 검출 장치.
11. The method of claim 10,
The determining module is a parking space detection device for merging area information and corner point information of an empty parking space in the parking space image to determine a detection result of an empty parking space in the parking space image.
제11항에 있어서,
상기 결정 모듈은 상기 주차 공간 이미지에서 빈 주차 공간의 코너 포인트 정보가 구성하는 주차 공간 영역 정보를 결정하고; 상기 주차 공간 이미지에서 빈 주차 공간의 영역 정보 및 상기 코너 포인트 정보가 구성하는 주차 공간 영역 정보를 병합하며, 병합한 후의 영역 정보에 기반하여 상기 주차 공간 이미지에서 빈 주차 공간의 검출 결과를 결정하는 주차 공간의 검출 장치.
12. The method of claim 11,
the determining module determines parking space area information constituted by corner point information of an empty parking space in the parking space image; Parking for merging the area information of the empty parking space and the parking space area information constituted by the corner point information in the parking space image, and determining the detection result of the empty parking space in the parking space image based on the area information after merging space detection device.
제10항 내지 제12항 중 어느 한 항에 있어서,
상기 장치는,
상기 주차 공간 이미지의 주변 가장자리에서 밖으로 기설정 값만큼 확장하는 확장 모듈 - 상기 기설정 값은 주차 공간 길이의 절반보다 작거나 같음 - ;
확장한 후의 상기 주차 공간 이미지를 상기 신경망에 입력하여, 상기 주차 공간 이미지에서 빈 주차 공간의 영역 정보 및 코너 포인트 정보 중 적어도 하나를 획득하는 상기 처리 모듈을 더 포함하는 주차 공간의 검출 장치.
13. The method according to any one of claims 10 to 12,
The device is
an expansion module extending out from the peripheral edge of the parking space image by a preset value, wherein the preset value is less than or equal to half the length of the parking space;
and the processing module for inputting the expanded parking space image to the neural network to obtain at least one of area information and corner point information of an empty parking space from the parking space image.
제10항 내지 제13항 중 어느 한 항에 있어서,
상기 장치는,
복수의 주차 공간 트레이닝 이미지를 획득하는 제2 획득 모듈; 및
상기 복수의 주차 공간 트레이닝 이미지를 사용하여, 상기 신경망을 트레이닝하는 트레이닝 모듈을 더 포함하고,
상기 주차 공간 트레이닝 이미지는 빈 주차 공간의 키 포인트 정보에 대한 태깅 정보를 포함하는 주차 공간의 검출 장치.
14. The method according to any one of claims 10 to 13,
The device is
a second acquisition module for acquiring a plurality of parking space training images; and
Using the plurality of parking space training images, further comprising a training module for training the neural network,
The parking space training image is a parking space detection device including tagging information on key point information of an empty parking space.
제14항에 있어서,
상기 주차 공간 트레이닝 이미지의 주변 가장자리를 밖으로 기설정 값만큼 확장하고, 상기 기설정 값은 주차 공간 길이의 절반보다 작거나 같은 주차 공간의 검출 장치.
15. The method of claim 14,
Extending the peripheral edge of the parking space training image outward by a preset value, wherein the preset value is less than or equal to half the length of the parking space.
제14항 또는 제15항에 있어서,
상기 주차 공간 트레이닝 이미지에서 빈 주차 공간의 키 포인트 정보는 상기 빈 주차 공간의 적어도 하나의 코너 포인트 정보를 포함하는 주차 공간의 검출 장치.
16. The method of claim 14 or 15,
In the parking space training image, key point information of an empty parking space includes at least one corner point information of the empty parking space.
제16항에 있어서,
상기 트레이닝 모듈은 상기 주차 공간 트레이닝 이미지에서 빈 주차 공간의 코너 포인트 정보 및 상기 주차 공간 트레이닝 이미지에서 빈 주차 공간의 키 포인트 정보가 구성하는 영역 정보를 획득하고; 상기 주차 공간 트레이닝 이미지 및 상기 주차 공간 트레이닝 이미지에서 빈 주차 공간의 코너 포인트 정보 및 영역 정보를 사용하여, 상기 신경망을 트레이닝하는 주차 공간의 검출 장치.
17. The method of claim 16,
the training module acquires area information constituted by corner point information of an empty parking space in the parking space training image and key point information of an empty parking space in the parking space training image; A parking space detection apparatus for training the neural network by using corner point information and area information of an empty parking space in the parking space training image and the parking space training image.
제14항 내지 제17항 중 어느 한 항에 있어서,
상기 주차 공간 트레이닝 이미지는 광각 카메라로 촬영한 이미지인 주차 공간의 검출 장치.
18. The method according to any one of claims 14 to 17,
The parking space training image is an image taken with a wide-angle camera.
전자 기기로서,
컴퓨터 프로그램이 저장되는 메모리; 및
상기 컴퓨터 프로그램을 실행하여, 제1항 내지 제9항 중 어느 한 항에 따른 주차 공간의 검출 방법을 구현하는 프로세서를 포함하는 전자 기기.
As an electronic device,
a memory in which computer programs are stored; and
An electronic device comprising a processor that executes the computer program to implement the method of detecting a parking space according to any one of claims 1 to 9.
컴퓨터 프로그램이 저장되는 컴퓨터 저장 매체로서,
상기 컴퓨터 프로그램이 실행될 경우 제1항 내지 제9항 중 어느 한 항에 따른 주차 공간의 검출 방법을 구현하는 컴퓨터 저장 매체.
A computer storage medium storing a computer program, comprising:
A computer storage medium implementing the method of detecting a parking space according to any one of claims 1 to 9 when the computer program is executed.
KR1020217016722A 2019-05-29 2020-02-13 Parking space detection method, device and electronic device KR20210087070A (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
CN201910458754.4A CN112016349A (en) 2019-05-29 2019-05-29 Parking space detection method and device and electronic equipment
CN201910458754.4 2019-05-29
PCT/CN2020/075065 WO2020238284A1 (en) 2019-05-29 2020-02-13 Parking space detection method and apparatus, and electronic device

Publications (1)

Publication Number Publication Date
KR20210087070A true KR20210087070A (en) 2021-07-09

Family

ID=73501819

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020217016722A KR20210087070A (en) 2019-05-29 2020-02-13 Parking space detection method, device and electronic device

Country Status (4)

Country Link
JP (1) JP2022510329A (en)
KR (1) KR20210087070A (en)
CN (1) CN112016349A (en)
WO (1) WO2020238284A1 (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114067598B (en) * 2020-07-30 2023-06-13 上汽通用汽车有限公司 Method and device for determining idle parking spaces
CN112560689B (en) * 2020-12-17 2024-04-19 广州小鹏自动驾驶科技有限公司 Parking space detection method and device, electronic equipment and storage medium
CN115131762A (en) * 2021-03-18 2022-09-30 广州汽车集团股份有限公司 Vehicle parking method, system and computer readable storage medium
CN113408514A (en) * 2021-06-16 2021-09-17 超级视线科技有限公司 Method and device for detecting roadside parking lot berth based on deep learning
CN113674199A (en) * 2021-07-06 2021-11-19 浙江大华技术股份有限公司 Parking space detection method, electronic device and storage medium
CN113822156B (en) * 2021-08-13 2022-05-24 北京易航远智科技有限公司 Parking space detection processing method and device, electronic equipment and storage medium
CN113903188B (en) * 2021-08-17 2022-12-06 浙江大华技术股份有限公司 Parking space detection method, electronic device and computer readable storage medium
CN113408509B (en) * 2021-08-20 2021-11-09 智道网联科技(北京)有限公司 Signboard recognition method and device for automatic driving
CN113870613B (en) * 2021-10-14 2022-09-30 中国第一汽车股份有限公司 Parking space determination method and device, electronic equipment and storage medium
CN114359231A (en) * 2022-01-06 2022-04-15 腾讯科技(深圳)有限公司 Parking space detection method, device, equipment and storage medium
CN115206130B (en) * 2022-07-12 2023-07-18 合众新能源汽车股份有限公司 Parking space detection method, system, terminal and storage medium

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106897655A (en) * 2015-12-18 2017-06-27 富士通株式会社 The detection means on parking stall, method and image processing equipment
JP6761708B2 (en) * 2016-09-05 2020-09-30 パナソニック インテレクチュアル プロパティ コーポレーション オブ アメリカPanasonic Intellectual Property Corporation of America Parking position identification method, parking position learning method, parking position identification system, parking position learning device and program
JP6813178B2 (en) * 2016-12-07 2021-01-13 学校法人常翔学園 Biological image processing device, output image manufacturing method, learning result manufacturing method, and program
JP6887154B2 (en) * 2017-06-08 2021-06-16 国立大学法人 筑波大学 Image processing system, evaluation model construction method, image processing method and program
CN107424116B (en) * 2017-07-03 2020-06-19 浙江零跑科技有限公司 Parking space detection method based on side surround view camera
JP2019096072A (en) * 2017-11-22 2019-06-20 株式会社東芝 Object detection device, object detection method and program
CN108281041A (en) * 2018-03-05 2018-07-13 东南大学 A kind of parking space's detection method blended based on ultrasonic wave and visual sensor
CN109086708A (en) * 2018-07-25 2018-12-25 深圳大学 A kind of parking space detection method and system based on deep learning
CN109685000A (en) * 2018-12-21 2019-04-26 广州小鹏汽车科技有限公司 A kind of method for detecting parking stalls and device of view-based access control model

Also Published As

Publication number Publication date
JP2022510329A (en) 2022-01-26
CN112016349A (en) 2020-12-01
WO2020238284A1 (en) 2020-12-03

Similar Documents

Publication Publication Date Title
KR20210087070A (en) Parking space detection method, device and electronic device
EP3549102B1 (en) Determining structure and motion in images using neural networks
EP3471021B1 (en) Method for determining target intelligently followed by unmanned aerial vehicle, unmanned aerial vehicle and remote controller
EP3516624B1 (en) A method and system for creating a virtual 3d model
US11481862B2 (en) System and method for real-time, simultaneous object detection and semantic segmentation
CN110598512B (en) Parking space detection method and device
US20200005074A1 (en) Semantic image segmentation using gated dense pyramid blocks
WO2021096629A1 (en) Geometry-aware instance segmentation in stereo image capture processes
Giering et al. Multi-modal sensor registration for vehicle perception via deep neural networks
US20200082544A1 (en) Computer vision processing
CN107749069B (en) Image processing method, electronic device and image processing system
US20210150746A1 (en) Electronic apparatus and method for controlling thereof
US20220301099A1 (en) Systems and methods for generating object detection labels using foveated image magnification for autonomous driving
CN112001912A (en) Object detection method and device, computer system and readable storage medium
CN116258859A (en) Semantic segmentation method, semantic segmentation device, electronic equipment and storage medium
CN114821506A (en) Multi-view semantic segmentation method and device, electronic equipment and storage medium
CN112329616B (en) Target detection method, device, equipment and storage medium
CN111292331B (en) Image processing method and device
CN112514366A (en) Image processing method, image processing apparatus, and image processing system
US11763492B1 (en) Apparatus and methods to calibrate a stereo camera pair
CN116343169A (en) Path planning method, target object motion control device and electronic equipment
Qian et al. Building and climbing based visual navigation framework for self-driving cars
CN115346184A (en) Lane information detection method, terminal and computer storage medium
CN114596239A (en) Loading and unloading event detection method and device, computer equipment and storage medium
KR102143031B1 (en) Method and system for predicting future motion of object in still image

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal