WO2022062377A1 - Calibration method and calibration apparatus for camera, and electronic device - Google Patents
Calibration method and calibration apparatus for camera, and electronic device Download PDFInfo
- Publication number
- WO2022062377A1 WO2022062377A1 PCT/CN2021/088391 CN2021088391W WO2022062377A1 WO 2022062377 A1 WO2022062377 A1 WO 2022062377A1 CN 2021088391 W CN2021088391 W CN 2021088391W WO 2022062377 A1 WO2022062377 A1 WO 2022062377A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- camera
- vehicle
- vehicles
- target image
- height
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Ceased
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/80—Analysis of captured images to determine intrinsic or extrinsic camera parameters, i.e. camera calibration
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/70—Determining position or orientation of objects or cameras
- G06T7/73—Determining position or orientation of objects or cameras using feature-based methods
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/10—Image acquisition modality
- G06T2207/10004—Still image; Photographic image
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/30—Subject of image; Context of image processing
- G06T2207/30244—Camera pose
Definitions
- the present application belongs to the technical field of calibration, and in particular, relates to a calibration method for a camera, a calibration device, an electronic device, and a computer-readable storage medium.
- driving safety assistance systems to increase the safety of drivers and vehicles.
- the realization of various functions of the driving safety assistance system is premised on the perception of the surrounding environment.
- one or more cameras are used to obtain visual signals such as traffic signals, traffic patterns, road signs and obstacles ahead, and then pass through.
- the visual image analysis is converted into quantitative information such as traffic signal category or obstacle distance, which provides decision-making basis for functions including safe vehicle distance maintenance, collision avoidance, and safe lane changing.
- the existing more common calibration method is to manually measure the installation height and angle of the camera, which requires the participation of professionally trained personnel, which is time-consuming, labor-intensive and costly.
- the present application provides a camera calibration method, a calibration device, an electronic device, and a computer-readable storage medium, which can realize automatic calibration of a camera installed on a vehicle, and significantly save costs.
- the present application provides a method for calibrating a camera, the camera is installed on a vehicle, and the method for calibrating includes:
- the attitude parameters of the camera are calculated.
- the present application provides a camera calibration device, the camera is mounted on a vehicle, and the calibration device includes:
- a first acquisition unit configured to acquire a target image including other vehicles and at least two lane lines through the camera
- the fitting unit is used to fit the above lane lines to obtain the intersection point;
- a second obtaining unit configured to obtain the actual vehicle heights of the above-mentioned other vehicles
- the calculation unit is configured to calculate and obtain the attitude parameter of the camera based on the other vehicle in the target image, the actual vehicle height, the intersection point and the camera parameter of the camera.
- the present application provides an electronic device, which includes a memory, a processor, and a computer program stored in the memory and running on the processor, where the processor executes the computer program to achieve the above The steps of the method of the first aspect.
- the present application provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, implements the steps of the method in the first aspect.
- the present application provides a computer program product, wherein the computer program product includes a computer program, and when the computer program is executed by one or more processors, the steps of the method of the first aspect are implemented.
- the present application has the following beneficial effects: first, a target image including other vehicles and at least two lane lines is obtained through a camera installed on the vehicle, and then the above lane lines are fitted to obtain the intersection point, which is the same as the At the same time, the actual vehicle heights of the above-mentioned other vehicles will also be obtained, and finally the above-mentioned cameras are calculated based on the other vehicles in the target image, the actual vehicle heights of the other vehicles, the intersections obtained after lane line fitting, and the camera parameters of the camera.
- the pose parameters are used to calibrate the camera.
- Fig. 1 is the realization flow chart of the calibration method of the camera provided by the embodiment of the present application;
- FIG. 2 is a schematic diagram of a lane line after fitting in a target image provided by an embodiment of the present application
- FIG. 3 is a schematic diagram of other vehicles included in the target image provided by the embodiment of the present application.
- FIG. 4 is a schematic diagram of the height of a camera provided by an embodiment of the present application.
- FIG. 5 is a schematic diagram of a camera provided in an embodiment of the present application in a world coordinate system
- FIG. 6 is a structural block diagram of a camera calibration device provided by an embodiment of the present application.
- FIG. 7 is a schematic structural diagram of an electronic device provided by an embodiment of the present application.
- FIG. 1 shows a camera calibration method provided by an embodiment of the present application, and the details are as follows:
- Step 101 obtaining a target image including other vehicles and at least two lane lines through the camera;
- the camera to be calibrated is a camera mounted on a vehicle, and the camera can take pictures of the front or rear of the vehicle.
- the camera may be installed on the top of the front/rear windshield of the vehicle, or may be installed at other positions of the vehicle, and the installation position of the camera is not limited here.
- the image is denoted as the target image.
- the electronic device will perform target detection on each frame of images obtained by the camera during the continuous shooting process, specifically to detect whether there is at least one other vehicle and at least two lane lines in the image; if there is no at least one other vehicle in the image, And/or, if there are no at least two lane lines in the image, the image is discarded; on the contrary, if there are at least one other vehicle and at least two lane lines in the image, start to execute the method described in this embodiment of the present application based on the image. the various steps proposed.
- the above-mentioned electronic device may be a host installed on the vehicle, and the electronic device is not limited here.
- the vehicle with the camera waiting for calibration is driving Only when the camera is used for shooting, the target image containing lane lines and other vehicles can be obtained under the premise of saving computing resources.
- one vehicle may be selected as the target other vehicle among the two or more other vehicles, and subsequent steps are performed based on the target other vehicle.
- the target other vehicle there is distortion when the camera is shooting; and the object closer to the edge of the image, the more severe the distortion; therefore, other vehicles at the center position closest to the target image can be selected as the target other vehicles; The other vehicle with the shortest distance from the center is selected as the target other vehicle.
- Step 102 Fitting the above lane lines to obtain the intersection point
- Figure 2 shows a schematic diagram of the fitted lane lines in the target image.
- the coordinates of the intersection points between the fitted lane lines in the image coordinate system can be written as (x h , y h ).
- the key points of the lane lines to be fitted can be extracted first, and then each lane line is fitted according to these key points to obtain a straight line corresponding to each lane line, so as to obtain the intersection point.
- any two lane lines can be selected for fitting instead of fitting all lane lines.
- Step 103 obtaining the actual vehicle heights of the above-mentioned other vehicles.
- a database may be preset in which the actual vehicle heights of all currently listed vehicle models are stored; then step 103 may be specifically: find out the vehicle type of the other vehicle in the database, and record it as the target vehicle type ; Then read the actual vehicle height of the target vehicle from the database.
- the database may also store vehicle characteristics of each vehicle type, such as color, outline, shape of vehicle lights, vehicle logo and/or text on the vehicle, etc.; then the electronic device may first extract the desired identification from the target image. vehicle features of other vehicles, and then compare the vehicle features of the other vehicles with the vehicle features of each model in the database, specifically calculating the similarity between the vehicle features of the other vehicles and the vehicle features of each model in the database. ; Finally, the vehicle type with the highest similarity between the vehicle characteristics and the vehicle characteristics of the other vehicle may be determined as the target vehicle type.
- vehicle characteristics of each vehicle type such as color, outline, shape of vehicle lights, vehicle logo and/or text on the vehicle, etc.
- the above-mentioned similarity may be cosine similarity; that is, the vehicle features of the other vehicles may be converted into vehicle feature vectors; the vehicle features of each vehicle model in the database are also converted into vehicle feature vectors respectively to calculate The cosine similarity between the vehicle feature vector of the other vehicle and the vehicle feature vector of each vehicle model in the above database.
- Step 104 Calculate the attitude parameters of the camera based on the other vehicles in the target image, the actual vehicle height, the intersection, and the camera parameters of the camera.
- the attitude parameters of the camera are obtained by calculation, and the attitude parameters include height and angle.
- the height difference between the bottom end of the other vehicle and the top end of the other vehicle is recorded as the second height difference
- an image coordinate system can be established based on the target image.
- Fig. 3 gives a schematic representation of other vehicles included in the target image.
- FIG. 4 a schematic diagram of the height of the camera is given in FIG. 4 .
- the ordinate of the bottom end of the other vehicle can be marked as b
- the ordinate of the top end of the other vehicle can be marked as t
- the coordinates of the intersection point are (x h , y h )
- the first A height difference H 1 by h
- a second height difference H 2 bt
- the actual vehicle height of the other vehicle is recorded as H 3 .
- the calculation formula of the height of the camera is:
- the focal length of the camera in the direction of the longitudinal axis of the image coordinate system the focal length of the camera in the direction of the longitudinal axis of the image coordinate system, and the coordinates of the focus of the camera in the direction of the longitudinal axis of the image coordinate system; then the calculation process of the angle is:
- the calculation formula used in B3 can be obtained based on the principle of pinhole imaging, specifically:
- y 0 and f are the internal parameters of the camera and can be obtained directly from the camera.
- the calculation principle of the above formula is as follows: please refer to FIG. 5, which shows that the camera is installed at a height H 0 from the ground, and the coordinates of the camera in the world coordinate system are [0, H 0 , 0] T ; and The camera has a certain inclination angle ⁇ with respect to the horizontal plane.
- the vehicle driving on the road is photographed by the camera, it is mapped from the three-dimensional world coordinate system to the two-dimensional image coordinate system.
- the intersection point (x h , y h ) of the lane line has the coordinates (X, Y, Z) in the world coordinate system;
- the formula of the known Gaussian imaging principle is: Among them, u is the object distance, v is the image distance, and f is the focal length; according to the above analysis and geometric principles, the object distance and image distance at the (X, Y, Z) point in the world coordinate system can be calculated, and brought into the Gaussian imaging In the formula of the principle, we get:
- a target image including other vehicles and at least two lane lines is first obtained through a camera installed on the vehicle, and then the above lane lines are fitted to obtain the intersection point, and at the same time, the The actual vehicle heights of the other vehicles will be acquired, and finally the attitude parameters of the cameras will be calculated based on the other vehicles in the target image, the actual vehicle heights, the intersections and the camera internal parameters of the cameras.
- the above process does not rely on static measurement data at all, and the camera's attitude parameters are completely calculated by software methods, which saves the human resources required for static measurement, makes the calibration process more concise, and can significantly save calibration costs.
- an embodiment of the present application provides a camera calibration device, and the calibration device is integrated into an electronic device.
- the camera calibration device 600 in the embodiment of the present application includes:
- a first acquiring unit 601 configured to acquire a target image including other vehicles and at least two lane lines through the above-mentioned camera;
- a fitting unit 602 configured to fit the above lane lines to obtain intersection points
- the second obtaining unit 603 is configured to obtain the actual vehicle heights of the above other vehicles
- the calculation unit 604 is configured to calculate and obtain the attitude parameter of the camera based on the other vehicle in the target image, the actual vehicle height, the intersection point and the camera parameter of the camera.
- the above-mentioned attitude parameter includes height; the above-mentioned calculation unit 604 includes:
- a first height difference obtaining subunit configured to obtain the height difference between the bottom end of the other vehicle and the intersection point in the target image, which is recorded as the first height difference
- a second height difference obtaining subunit configured to obtain the height difference between the bottom end of the other vehicle and the top end of the other vehicle in the target image, which is recorded as the second height difference
- the height calculation subunit is used for calculating the height of the camera based on the first height difference, the second height difference and the actual vehicle height.
- the posture parameter includes an angle
- the camera parameter includes the focal length of the camera in the direction of the vertical axis of the image coordinate system and the coordinates of the focus of the camera in the direction of the vertical axis of the image coordinate system
- the calculation unit 604 include:
- a difference calculation subunit configured to calculate the difference between the ordinate of the intersection point and the coordinate of the focus of the camera in the direction of the longitudinal axis of the image coordinate system
- a ratio calculation subunit used for calculating the ratio of the above-mentioned difference to the above-mentioned focal length
- the angle calculation subunit is used for calculating the angle of the camera according to the arc tangent function and the ratio.
- the above fitting unit 602 includes:
- the key point extraction subunit is used to extract the key points of the above two lane lines for any two lane lines in the above target image
- the lane line fitting subunit is used to respectively fit the above two lane lines according to the above key points to obtain two straight lines;
- intersection obtaining subunit is used to obtain the intersection of the above two straight lines.
- the above-mentioned second obtaining unit 603 includes:
- the target vehicle type search sub-unit is used to search the above-mentioned other vehicle types in the preset database, which is recorded as the target vehicle type;
- the actual vehicle height reading subunit is used to read the actual vehicle height of the above-mentioned target vehicle model.
- the above-mentioned target vehicle type search subunit includes:
- a vehicle feature extraction sub-unit used for extracting the vehicle features of the above-mentioned other vehicles, where the above-mentioned vehicle features include: color, outline, shape of vehicle lights, vehicle logo and/or text;
- a similarity calculation subunit which is used to calculate the similarity between the vehicle features of the other vehicles and the vehicle features of each vehicle model in the database;
- the target vehicle type determination subunit is used for determining the vehicle type with the highest similarity between the vehicle characteristics and the vehicle characteristics of the other vehicles as the target vehicle type.
- the first acquiring unit 601 is specifically configured to acquire a target image including other vehicles and at least two lane lines through the camera when the vehicle is driving.
- a target image including other vehicles and at least two lane lines is first obtained through a camera installed on the vehicle, and then the above lane lines are fitted to obtain the intersection point, and at the same time, the The actual vehicle heights of the other vehicles will be obtained, and finally the pose parameters of the cameras will be calculated based on the other vehicles, the actual vehicle heights, the intersections and the camera parameters of the cameras in the target image.
- the above process does not rely on static measurement data at all, and the camera's attitude parameters are completely calculated by software methods, which saves the human resources required for static measurement, makes the calibration process more concise, and can significantly save calibration costs.
- the electronic device 7 in the embodiment of the present application includes: a memory 701, one or more processors 702 (only one is shown in FIG. A computer program on memory 701 and executable on a processor.
- the memory 701 is used to store software programs and units, and the processor 702 executes various functional applications and data processing by running the software programs and units stored in the memory 701 to obtain resources corresponding to the above preset events.
- the processor 702 implements the following steps by running the above-mentioned computer program stored in the memory 701:
- the attitude parameters of the camera are calculated.
- the above-mentioned attitude parameters include height, the above-mentioned other vehicles based on the above-mentioned other vehicles in the above-mentioned target image , the above-mentioned actual vehicle height, the above-mentioned intersection point and the camera parameters of the above-mentioned camera, and the attitude parameters of the above-mentioned camera are calculated, including:
- the height difference between the bottom end of the other vehicle and the intersection point is recorded as the first height difference
- the height difference between the bottom end of the other vehicle and the top end of the other vehicle is recorded as the second height difference
- the height of the camera is calculated.
- the above-mentioned attitude parameter includes an angle
- the above-mentioned camera parameter includes the focal length of the above-mentioned camera in the direction of the longitudinal axis of the image coordinate system and the above-mentioned camera
- the coordinates of the focus in the direction of the vertical axis of the image coordinate system; the above-mentioned attitude parameters of the above-mentioned camera are calculated based on the above-mentioned other vehicles in the above-mentioned target image, the above-mentioned actual vehicle height, the above-mentioned intersection point and the above-mentioned camera parameters, including:
- the angle of the camera is calculated according to the arc tangent function and the above ratio.
- the above-mentioned lane lines in the above-mentioned target image are fitted to obtain intersection points, including:
- the above-mentioned acquisition of the actual vehicle heights of the above-mentioned other vehicles includes:
- the above-mentioned vehicle models of the other vehicles are searched in the preset database, and recorded as the target model, including:
- the above-mentioned vehicle features include: color, outline, shape of headlight, car logo and/or text;
- the vehicle model with the highest degree of similarity between the vehicle characteristics and the vehicle characteristics of the other vehicles described above is determined as the target vehicle type.
- the above-mentioned acquisition of the target image including other vehicles and at least two lane lines by the above-mentioned camera includes:
- a target image including other vehicles and at least two lane lines is acquired by the camera.
- the processor 702 may be a central processing unit (Central Processing Unit, CPU), and the processor may also be other general-purpose processors, digital signal processors (Digital Signal Processor, DSP) , Application Specific Integrated Circuit (ASIC), Field-Programmable Gate Array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.
- a general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
- Memory 701 may include read only memory and random access memory, and provides instructions and data to processor 702 .
- a portion or all of memory 701 may also include non-volatile random access memory.
- the memory 701 may also store information of device categories.
- a target image including other vehicles and at least two lane lines is first obtained through a camera installed on the vehicle, and then the above lane lines are fitted to obtain the intersection point, and at the same time, the The actual vehicle heights of the other vehicles will be obtained, and finally the pose parameters of the cameras will be calculated based on the other vehicles, the actual vehicle heights, the intersections and the camera parameters of the cameras in the target image.
- the above process does not rely on static measurement data at all, and the camera's attitude parameters are completely calculated by software methods, which saves the human resources required for static measurement, makes the calibration process more concise, and can significantly save calibration costs.
- the disclosed apparatus and method may be implemented in other manners.
- the system embodiments described above are only illustrative.
- the division of the above-mentioned modules or units is only a logical function division. In actual implementation, there may be other division methods.
- multiple units or components may be combined. Either it can be integrated into another system, or some features can be omitted, or not implemented.
- the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical, mechanical or other forms.
- the units described above as separate components may or may not be physically separated, and components shown as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
- the above-mentioned integrated units are implemented in the form of software functional units and sold or used as independent products, they may be stored in a computer-readable storage medium.
- the present application can implement all or part of the processes in the methods of the above embodiments, and can also be completed by instructing the associated hardware through a computer program, and the above computer program can be stored in a computer-readable storage medium, the computer When the program is executed by the processor, the steps of the foregoing method embodiments can be implemented.
- the above-mentioned computer program includes computer program code
- the above-mentioned computer program code may be in the form of source code, object code form, executable file or some intermediate form.
- the above-mentioned computer-readable storage medium may include: any entity or device capable of carrying the above-mentioned computer program code, a recording medium, a U disk, a removable hard disk, a magnetic disk, an optical disk, a computer-readable memory, a read-only memory (ROM, Read-Only Memory) ), random access memory (RAM, Random Access Memory), electrical carrier signals, telecommunication signals, and software distribution media, etc.
- a recording medium a U disk, a removable hard disk, a magnetic disk, an optical disk
- a computer-readable memory a read-only memory (ROM, Read-Only Memory) ), random access memory (RAM, Random Access Memory), electrical carrier signals, telecommunication signals, and software distribution media, etc.
- ROM Read-Only Memory
- RAM Random Access Memory
- electrical carrier signals telecommunication signals
- software distribution media etc.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Traffic Control Systems (AREA)
- Image Analysis (AREA)
Abstract
Description
本申请属于标定技术领域,尤其涉及一种相机的标定方法、标定装置、电子设备及计算机可读存储介质。The present application belongs to the technical field of calibration, and in particular, relates to a calibration method for a camera, a calibration device, an electronic device, and a computer-readable storage medium.
随着公路交通的飞速发展,交通事故,特别是恶性交通事故的事故率不断上升。出于交通安全的考虑,当前越来越多的车辆安装了驾驶安全辅助系统,以增加驾驶员和车辆的安全性。该驾驶安全辅助系统的各种功能的实现均以对周围环境道路的感知为前提,例如,采用一个或多个相机来获取交通信号、交通图案、道路标示及前方障碍物等视觉信号,再经过视觉图像分析转换成交通信号类别或障碍物距离等定量信息,为包括安全车距保持、防碰撞、安全换道在内等功能提供决策依据。With the rapid development of highway traffic, the accident rate of traffic accidents, especially malignant traffic accidents, is increasing. For the consideration of traffic safety, more and more vehicles are currently equipped with driving safety assistance systems to increase the safety of drivers and vehicles. The realization of various functions of the driving safety assistance system is premised on the perception of the surrounding environment. For example, one or more cameras are used to obtain visual signals such as traffic signals, traffic patterns, road signs and obstacles ahead, and then pass through. The visual image analysis is converted into quantitative information such as traffic signal category or obstacle distance, which provides decision-making basis for functions including safe vehicle distance maintenance, collision avoidance, and safe lane changing.
在计算机视觉处理中,在将通过相机所获取到的原始图像转换成可用于提供决策依据的有量纲物理量之前,需要先确定相机相对于车辆所在的世界坐标系中的三维位置和朝向,这一过程称之为标定。In computer vision processing, before converting the original image obtained by the camera into a dimensional physical quantity that can be used to provide a basis for decision-making, it is necessary to determine the three-dimensional position and orientation of the camera relative to the world coordinate system where the vehicle is located. A process called calibration.
现有的较为常见的标定方法是手动测量摄像机的安装高度和角度,该操作需要经过专业培训的人参与,耗时耗力且成本高。The existing more common calibration method is to manually measure the installation height and angle of the camera, which requires the participation of professionally trained personnel, which is time-consuming, labor-intensive and costly.
有鉴于此,本申请提供了一种相机的标定方法、标定装置、电子设备及计算机可读存储介质,可以实现安装于车辆上的相机的自动标定,显著节约成本。In view of this, the present application provides a camera calibration method, a calibration device, an electronic device, and a computer-readable storage medium, which can realize automatic calibration of a camera installed on a vehicle, and significantly save costs.
第一方面,本申请提供了一种相机的标定方法,上述相机安装于车辆,上述标定方法包括:In a first aspect, the present application provides a method for calibrating a camera, the camera is installed on a vehicle, and the method for calibrating includes:
通过上述相机获取包含有其它车辆及至少两条车道线的目标图像,其中,上述其它车辆是除安装有上述相机的车辆之外的车辆;Acquire a target image including other vehicles and at least two lane lines by using the camera, wherein the other vehicles are vehicles other than the vehicle on which the camera is installed;
对上述车道线进行拟合,得到交点;Fit the above lane lines to get the intersection point;
获取上述其它车辆的实际车高;Get the actual vehicle height of the other vehicles mentioned above;
基于上述目标图像中的上述其它车辆、上述实际车高、上述交点及上述相机的相机参数,计算得到上述相机的姿态参数。Based on the other vehicles in the target image, the actual vehicle height, the intersection, and the camera parameters of the camera, the attitude parameters of the camera are calculated.
第二方面,本申请提供了一种相机的标定装置,上述相机安装于车辆,上述标定装置包括:In a second aspect, the present application provides a camera calibration device, the camera is mounted on a vehicle, and the calibration device includes:
第一获取单元,用于通过上述相机获取包含有其它车辆及至少两条车道线的目标图像;a first acquisition unit, configured to acquire a target image including other vehicles and at least two lane lines through the camera;
拟合单元,用于对上述车道线进行拟合,得到交点;The fitting unit is used to fit the above lane lines to obtain the intersection point;
第二获取单元,用于获取上述其它车辆的实际车高;a second obtaining unit, configured to obtain the actual vehicle heights of the above-mentioned other vehicles;
计算单元,用于基于上述目标图像中的上述其它车辆、上述实际车高、上述交点及上述相机的相机参数,计算得到上述相机的姿态参数。The calculation unit is configured to calculate and obtain the attitude parameter of the camera based on the other vehicle in the target image, the actual vehicle height, the intersection point and the camera parameter of the camera.
第三方面,本申请提供了一种电子设备,上述电子设备包括存储器、处理器以及存储在上述存储器中并可在上述处理器上运行的计算机程序,上述处理器执行上述计算机程序时实现如上述第一方面的方法的步骤。In a third aspect, the present application provides an electronic device, which includes a memory, a processor, and a computer program stored in the memory and running on the processor, where the processor executes the computer program to achieve the above The steps of the method of the first aspect.
第四方面,本申请提供了一种计算机可读存储介质,上述计算机可读存储介质存储有计算机程序,上述计算机程序被处理器执行时实现如上述第一方面的方法的步骤。In a fourth aspect, the present application provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, implements the steps of the method in the first aspect.
第五方面,本申请提供了一种计算机程序产品,上述计算机程序产品包括计算机程序,上述计算机程序被一个或多个处理器执行时实现如上述第一方面的方法的步骤。In a fifth aspect, the present application provides a computer program product, wherein the computer program product includes a computer program, and when the computer program is executed by one or more processors, the steps of the method of the first aspect are implemented.
本申请与现有技术相比存在的有益效果是:首先通过安装于车辆身上的相机获取包含有其它车辆及至少两条车道线的目标图像,然后对上述车道线进行拟合,得到交点,与此同时,还会去获取上述其它车辆的实际车高,最后基于目标图像中的其它车辆、该其它车辆的实际车高、车道线拟合后所得的交点及相机的相机参数,计算得到上述相机的姿态参数,实现对相机的标定。上述过程完全不依赖静态测量数据,相机的姿态参数完全使用软件方法计算得出,节省了静态测量所需人力资源,使得标定流程更为简洁,并可显著节约标定成本。可以理解的是,上述第二方面至第五方面的有益效果可以参见上述第一方面中的相关描述,在此不再赘述。Compared with the prior art, the present application has the following beneficial effects: first, a target image including other vehicles and at least two lane lines is obtained through a camera installed on the vehicle, and then the above lane lines are fitted to obtain the intersection point, which is the same as the At the same time, the actual vehicle heights of the above-mentioned other vehicles will also be obtained, and finally the above-mentioned cameras are calculated based on the other vehicles in the target image, the actual vehicle heights of the other vehicles, the intersections obtained after lane line fitting, and the camera parameters of the camera. The pose parameters are used to calibrate the camera. The above process does not rely on static measurement data at all, and the camera's attitude parameters are completely calculated by software methods, which saves the human resources required for static measurement, makes the calibration process more concise, and can significantly save calibration costs. It can be understood that, for the beneficial effects of the second aspect to the fifth aspect, reference may be made to the relevant description in the first aspect, which is not repeated here.
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to illustrate the technical solutions in the embodiments of the present application more clearly, the following briefly introduces the accompanying drawings that need to be used in the description of the embodiments or the prior art. Obviously, the drawings in the following description are only for the present application. In some embodiments, for those of ordinary skill in the art, other drawings can also be obtained according to these drawings without any creative effort.
图1是本申请实施例提供的相机的标定方法的实现流程图;Fig. 1 is the realization flow chart of the calibration method of the camera provided by the embodiment of the present application;
图2是本申请实施例提供的目标图像中拟合后的车道线的示意图;2 is a schematic diagram of a lane line after fitting in a target image provided by an embodiment of the present application;
图3是本申请实施例提供的目标图像中所包含的其它车辆的示意图;3 is a schematic diagram of other vehicles included in the target image provided by the embodiment of the present application;
图4是本申请实施例提供的相机的高度的示意图;4 is a schematic diagram of the height of a camera provided by an embodiment of the present application;
图5是本申请实施例提供的相机在世界坐标系中的示意图;5 is a schematic diagram of a camera provided in an embodiment of the present application in a world coordinate system;
图6是本申请实施例提供的相机的标定装置的结构框图;6 is a structural block diagram of a camera calibration device provided by an embodiment of the present application;
图7是本申请实施例提供的电子设备的结构示意图。FIG. 7 is a schematic structural diagram of an electronic device provided by an embodiment of the present application.
以下描述中,为了说明而不是为了限定,提出了诸如特定系统结构、技术之类的具体细节,以便透彻理解本申请实施例。然而,本领域的技术人员应当清楚,在没有这些具体细节的其它实施例中也可以实现本申请。在其它情况中,省略对众所周知的系统、装置、电路以及方法的详细说明,以免不必要的细节妨碍本申请的描述。In the following description, for the purpose of illustration rather than limitation, specific details such as a specific system structure and technology are set forth in order to provide a thorough understanding of the embodiments of the present application. However, it will be apparent to those skilled in the art that the present application may be practiced in other embodiments without these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
为了说明本申请所提出的技术方案,下面通过具体实施例来进行说明。In order to illustrate the technical solutions proposed in the present application, the following specific embodiments are used for description.
实施例1Example 1
请参阅图1,图1示出了本申请实施例提供的一种相机的标定方法,详述如下:Please refer to FIG. 1. FIG. 1 shows a camera calibration method provided by an embodiment of the present application, and the details are as follows:
步骤101,通过上述相机获取包含有其它车辆及至少两条车道线的目标图像;
在本申请实施例中,所要标定的相机是安装于车辆的相机,该相机可对该车辆的前方或后方进行拍摄。示例性地,该相机可安装于车辆的前/后风窗的顶部,也可以安装于车辆的其它位置,此处不对该相机的安装位置做出限定。相机在启动后会开始不间断的进行拍摄,只有包含有至少一辆其它车辆(也即除安装有该相机的车辆之外的车辆)及至少两条车道线的图像才能用于执行本申请实施例所提出的标定方法,为了便于说明,将该图像记作目标图像。电子设备会对相机不间断拍摄的过程所获得的各帧图像进行目标检测,具体为检测图像中是否存在至少一辆其它车辆及至少两条车道线;若图像中不存在至少一辆其它车辆,和/或,图像中不存在至少两条车道线,则将该图像丢弃;反之,若该图像中存在至少一辆其它车辆及至少两条车道线,则开始基于该图像执行本申请实施例所提出的各个步骤。上述电子设备,可以是车辆上所安装的主机,此处不对该电子设备作出限定。In the embodiment of the present application, the camera to be calibrated is a camera mounted on a vehicle, and the camera can take pictures of the front or rear of the vehicle. Exemplarily, the camera may be installed on the top of the front/rear windshield of the vehicle, or may be installed at other positions of the vehicle, and the installation position of the camera is not limited here. After the camera is started, it will start to shoot uninterruptedly, and only images that include at least one other vehicle (that is, a vehicle other than the vehicle on which the camera is installed) and at least two lane lines can be used to execute the implementation of this application. For the calibration method proposed in this example, for the convenience of description, the image is denoted as the target image. The electronic device will perform target detection on each frame of images obtained by the camera during the continuous shooting process, specifically to detect whether there is at least one other vehicle and at least two lane lines in the image; if there is no at least one other vehicle in the image, And/or, if there are no at least two lane lines in the image, the image is discarded; on the contrary, if there are at least one other vehicle and at least two lane lines in the image, start to execute the method described in this embodiment of the present application based on the image. the various steps proposed. The above-mentioned electronic device may be a host installed on the vehicle, and the electronic device is not limited here.
在一些实施例中,由于目标图像中需要至少两条车道线,而车辆往往是在行驶状态下,其周围才会有车道线;基于此,可以是在安装有等待标定的相机的车辆正在行驶时,才通过该相机进行拍摄,以在节约计算资源的前提下获取到包含有车道线及其它车辆的目标图像。In some embodiments, since at least two lane lines are required in the target image, and the vehicle is often in a driving state, there are lane lines around it; based on this, it may be that the vehicle with the camera waiting for calibration is driving Only when the camera is used for shooting, the target image containing lane lines and other vehicles can be obtained under the premise of saving computing resources.
在一些实施例中,若目标图像中存在两个以上的其它车辆,则可以在这两个以上的其它车辆中选定一个车辆作为目标其它车辆,并基于该目标其它车辆执行后续各个步骤。考虑到相机拍摄时存在畸变;且越靠近图像边缘的物体,畸变越严重;因而,可将最靠近目标图像的中心位置处的其它车辆选定为目标其它车辆;也即,将与目标图像的中心的距离最短的其它车辆选定为目标其它车辆。In some embodiments, if there are more than two other vehicles in the target image, one vehicle may be selected as the target other vehicle among the two or more other vehicles, and subsequent steps are performed based on the target other vehicle. Considering that there is distortion when the camera is shooting; and the object closer to the edge of the image, the more severe the distortion; therefore, other vehicles at the center position closest to the target image can be selected as the target other vehicles; The other vehicle with the shortest distance from the center is selected as the target other vehicle.
步骤102,对上述车道线进行拟合,得到交点;Step 102: Fitting the above lane lines to obtain the intersection point;
在本申请实施例中,虽然车道线在实际场景下是平行的,但由于相机拍摄时存在畸变,因而拍摄所获取到的目标图像中,车道线通常情况下是不平行的。请参阅图2,图2给出了目标图像中拟合后的车道线的示意。拟合后的车道线之间的交点在图像坐标系中的坐标可记作(x h,y h)。在进行拟合时,可先提取出待拟合的车道线的关键点,然后根据这些关键 点分别对各条车道线进行拟合,得到每条车道线所对应的直线,以得到交点。举例来说,目标图像中有车道线A及车道线B,则针对车道线A,可提取出车道线A的若干个关键点A1、A2及A3等;针对车道线B,可提取出车道线B的若干个关键点B1、B2及B3等;最后根据A1、A2及A3对车道线A进行拟合,得到对应的直线A’;并根据B1、B2及B3对车道线B进行拟合,得到对应的直线B’;直线A’及直线B’在目标图像中的交点即为本步骤所最终获得的交点。可以将该交点近似的看作是天际线位置。 In the embodiment of the present application, although the lane lines are parallel in the actual scene, due to the distortion of the camera when shooting, the lane lines are usually not parallel in the target image obtained by shooting. Please refer to Figure 2, which shows a schematic diagram of the fitted lane lines in the target image. The coordinates of the intersection points between the fitted lane lines in the image coordinate system can be written as (x h , y h ). When performing fitting, the key points of the lane lines to be fitted can be extracted first, and then each lane line is fitted according to these key points to obtain a straight line corresponding to each lane line, so as to obtain the intersection point. For example, if there are lane A and lane B in the target image, for lane A, several key points A1, A2 and A3 of lane A can be extracted; for lane B, the lane can be extracted Several key points B1, B2 and B3 of B, etc.; finally, the lane line A is fitted according to A1, A2 and A3, and the corresponding straight line A' is obtained; and the lane line B is fitted according to B1, B2 and B3, The corresponding straight line B' is obtained; the intersection point of the straight line A' and the straight line B' in the target image is the intersection point finally obtained in this step. This intersection can be approximated as a skyline position.
在一些实施例中,若车辆行驶在有着多车道的道路,则相机拍摄所得到的目标图像中可能存在多条车道线。为了提升计算效率,可在目标图像中有多条车道线时,选定任意两条车道线进行拟合,而无需对所有的车道线进行拟合。In some embodiments, if the vehicle is driving on a road with multiple lanes, there may be multiple lane lines in the target image captured by the camera. In order to improve computational efficiency, when there are multiple lane lines in the target image, any two lane lines can be selected for fitting instead of fitting all lane lines.
步骤103,获取上述其它车辆的实际车高;
在本申请实施例中,还需要去获取该其它车辆的实际车高。示例性地,可以预先设置一数据库,该数据库中存储有当前已上市的所有车型的实际车高;则该步骤103可以具体为:在该数据库中查找出该其它车辆的车型,记作目标车型;随后从该数据库中读取得到该目标车型的实际车高。In the embodiment of the present application, it is also necessary to obtain the actual vehicle height of the other vehicle. Exemplarily, a database may be preset in which the actual vehicle heights of all currently listed vehicle models are stored; then step 103 may be specifically: find out the vehicle type of the other vehicle in the database, and record it as the target vehicle type ; Then read the actual vehicle height of the target vehicle from the database.
在一些实施例中,该数据库还可以存储各个车型的车辆特征,例如颜色、轮廓、车灯形状、车标和/或车辆上的文字等;则电子设备可以先从目标图像中提取出所需要识别的其它车辆的车辆特征,然后将该其它车辆的车辆特征与数据库中的各个车型的车辆特征进行比对,具体为分别计算上述其它车辆的车辆特征与上述数据库中各个车型的车辆特征的相似度;最后,可将车辆特征与该其它车辆的车辆特征的相似度最高的车型确定为目标车型。In some embodiments, the database may also store vehicle characteristics of each vehicle type, such as color, outline, shape of vehicle lights, vehicle logo and/or text on the vehicle, etc.; then the electronic device may first extract the desired identification from the target image. vehicle features of other vehicles, and then compare the vehicle features of the other vehicles with the vehicle features of each model in the database, specifically calculating the similarity between the vehicle features of the other vehicles and the vehicle features of each model in the database. ; Finally, the vehicle type with the highest similarity between the vehicle characteristics and the vehicle characteristics of the other vehicle may be determined as the target vehicle type.
在一些实施例中,上述相似度可以是余弦相似度;也即,可以将该其它车辆的车辆特征转换为车辆特征向量;将数据库中各个车型的车辆特征也分别转换为车辆特征向量,以计算该其它车辆的车辆特征向量与上述数据库中各个车型的车辆特征向量的余弦相似度。In some embodiments, the above-mentioned similarity may be cosine similarity; that is, the vehicle features of the other vehicles may be converted into vehicle feature vectors; the vehicle features of each vehicle model in the database are also converted into vehicle feature vectors respectively to calculate The cosine similarity between the vehicle feature vector of the other vehicle and the vehicle feature vector of each vehicle model in the above database.
步骤104,基于上述目标图像中的上述其它车辆、上述实际车高、上述交点及上述相机的相机参数,计算得到上述相机的姿态参数。Step 104: Calculate the attitude parameters of the camera based on the other vehicles in the target image, the actual vehicle height, the intersection, and the camera parameters of the camera.
在本申请实施例中,可根据之前步骤101-103中所获取到的目标图像中的其它车辆、该其它车辆的实际车高、任意两条车道线拟合后的交点及相机的相机参数,计算得到该相机的姿态参数,该姿态参数包括高度及角度。In this embodiment of the present application, according to the other vehicles in the target image obtained in the previous steps 101-103, the actual vehicle heights of the other vehicles, the intersection of any two lane lines after fitting, and the camera parameters of the camera, The attitude parameters of the camera are obtained by calculation, and the attitude parameters include height and angle.
对于高度来说,其计算过程为:For height, the calculation process is:
A1、获取上述目标图像中,上述其它车辆的底端与上述交点的高度差,记作第一高度差;A1. In the acquisition of the above target image, the height difference between the bottom end of the above other vehicles and the above intersection point is recorded as the first height difference;
A2、获取上述目标图像中,上述其它车辆的底端与上述其它车辆的顶端的高度差,记作第二高度差;A2. In the acquisition of the target image, the height difference between the bottom end of the other vehicle and the top end of the other vehicle is recorded as the second height difference;
A3、基于上述第一高度差、上述第二高度差及上述实际车高,计算得到上述相机的高度。A3. Calculate the height of the camera based on the first height difference, the second height difference, and the actual vehicle height.
其中,可基于该目标图像建立一图像坐标系。如图3所示,图3给出了目标图像中所包含的其它车辆的示意。如图4所示,图4给出了相机的高度的示意。在该图像坐标系中,可以将该其它车辆的底端的纵坐标记为b,将该其它车辆的顶端的纵坐标记为t,而交点的坐标为(x h,y h),因而,第一高度差H 1=b-y h;第二高度差H 2=b-t;再记该其它车辆的实际车高为H 3。根据三角相似原理,可知该相机的高度的计算公式为: Wherein, an image coordinate system can be established based on the target image. As shown in Fig. 3, Fig. 3 gives a schematic representation of other vehicles included in the target image. As shown in FIG. 4 , a schematic diagram of the height of the camera is given in FIG. 4 . In the image coordinate system, the ordinate of the bottom end of the other vehicle can be marked as b, the ordinate of the top end of the other vehicle can be marked as t, and the coordinates of the intersection point are (x h , y h ), therefore, the first A height difference H 1 =by h ; a second height difference H 2 =bt; and the actual vehicle height of the other vehicle is recorded as H 3 . According to the principle of triangular similarity, it can be known that the calculation formula of the height of the camera is:
H 0=H 3*H 1/H 2=H 3*(b-y h)/(b-t)。 H 0 =H 3 *H 1 /H 2 =H 3 *(by h )/(bt).
对于角度来说,需要用到如下相机参数:相机在图像坐标系的纵轴方向上的焦距,以及相机的焦点在图像坐标系的纵轴方向上的坐标;则角度的计算过程为:For the angle, the following camera parameters need to be used: the focal length of the camera in the direction of the longitudinal axis of the image coordinate system, and the coordinates of the focus of the camera in the direction of the longitudinal axis of the image coordinate system; then the calculation process of the angle is:
B1、计算上述交点的纵坐标与相机的焦点在图像坐标系的纵轴方向上的坐标的差值;B1. Calculate the difference between the ordinate of the above-mentioned intersection and the coordinate of the focus of the camera in the direction of the longitudinal axis of the image coordinate system;
B2、计算上述差值与上述焦距的比值;B2. Calculate the ratio of the above difference to the above focal length;
B3、根据反正切函数及上述比值计算得到上述相机的角度。B3. Calculate the angle of the camera according to the arc tangent function and the ratio.
其中,B3中所采用的计算公式可基于小孔成像原理而得,具体为:Among them, the calculation formula used in B3 can be obtained based on the principle of pinhole imaging, specifically:
上式中,θ为所要计算的相机的角度;y h为交点的纵坐标;y 0为相机的焦点在图像坐标系的纵轴方向上的坐标;f为焦距。需要注意的是,上述y 0及f均为相机的内参,可直接通过相机而得。上式的计算原理如下:请参阅图5,图5示出了相机被安装在距离地面高度H 0的位置,该相机在世界坐标系中的坐标为[0,H 0,0] T;且该相机相对于水平面来说,有一定的倾斜角度θ。路面上行驶的车辆被摄像机拍照后,从三维的世界坐标系被映射到二维的图像坐标系中。假设车道线的交点(x h,y h)在世界坐标系中的坐标为(X,Y,Z);已知高斯成像原理的公式为: 其中u为物距,v为像距,f为焦距;根据上述分析和几何原理,可以计算出世界坐标系中(X,Y,Z)点的物距及像距,并带入到高斯成像原理的公式中,得到: In the above formula, θ is the angle of the camera to be calculated; y h is the ordinate of the intersection point; y 0 is the coordinate of the focal point of the camera in the direction of the longitudinal axis of the image coordinate system; f is the focal length. It should be noted that the above y 0 and f are the internal parameters of the camera and can be obtained directly from the camera. The calculation principle of the above formula is as follows: please refer to FIG. 5, which shows that the camera is installed at a height H 0 from the ground, and the coordinates of the camera in the world coordinate system are [0, H 0 , 0] T ; and The camera has a certain inclination angle θ with respect to the horizontal plane. After the vehicle driving on the road is photographed by the camera, it is mapped from the three-dimensional world coordinate system to the two-dimensional image coordinate system. Assume that the intersection point (x h , y h ) of the lane line has the coordinates (X, Y, Z) in the world coordinate system; the formula of the known Gaussian imaging principle is: Among them, u is the object distance, v is the image distance, and f is the focal length; according to the above analysis and geometric principles, the object distance and image distance at the (X, Y, Z) point in the world coordinate system can be calculated, and brought into the Gaussian imaging In the formula of the principle, we get:
根据图3可知,由于世界坐标系中,车道线的交点(X,Y,Z)位于天际线位置,所以Z趋向于无穷大;根据图4可知,相机画面中天际线和地面相平行,故上述交点(X,Y,Z)在三维的世界坐标系中的高度应与相机高度一致,所以Y等于H 0,带入公式得到y h=y 0+f*tanθ,从而可以求得摄像机倾斜角度 According to Figure 3, since the intersection of lane lines (X, Y, Z) is located at the skyline position in the world coordinate system, Z tends to infinity; according to Figure 4, it can be seen that the skyline and the ground in the camera image are parallel, so the above The height of the intersection point (X, Y, Z) in the three-dimensional world coordinate system should be consistent with the height of the camera, so Y is equal to H 0 . Bring in the formula to get y h = y 0 +f*tanθ, so that the camera tilt angle can be obtained
由上可见,通过本申请实施例,首先通过安装于车辆身上的相机获取包含有其它车辆及至少两条车道线的目标图像,然后对上述车道线进行拟合,得到交点,与此同时,还会去获取上述其它车辆的实际车高,最后基于上述目标图像中的上述其它车辆、上述实际车高、上述交点及上述相机的相机内部参数,计算得到上述相机的姿态参数。上述过程完全不依赖静态测量数据,相机的姿态参数完全使用软件方法计算得出,节省了静态测量所需人力资源,使得标定流程更为简洁,并可显著节约标定成本。It can be seen from the above that, according to the embodiment of the present application, a target image including other vehicles and at least two lane lines is first obtained through a camera installed on the vehicle, and then the above lane lines are fitted to obtain the intersection point, and at the same time, the The actual vehicle heights of the other vehicles will be acquired, and finally the attitude parameters of the cameras will be calculated based on the other vehicles in the target image, the actual vehicle heights, the intersections and the camera internal parameters of the cameras. The above process does not rely on static measurement data at all, and the camera's attitude parameters are completely calculated by software methods, which saves the human resources required for static measurement, makes the calibration process more concise, and can significantly save calibration costs.
应理解,上述实施例中各步骤的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。It should be understood that the size of the sequence numbers of the steps in the above embodiments does not mean the sequence of execution, and the execution sequence of each process should be determined by its function and internal logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.
实施例2Example 2
对应于前文所提出的相机的标定方法,本申请实施例提供了一种相机的标定装置,上述标定装置集成于电子设备。请参阅图6,本申请实施例中的相机的标定装置600包括:Corresponding to the camera calibration method proposed above, an embodiment of the present application provides a camera calibration device, and the calibration device is integrated into an electronic device. Referring to FIG. 6 , the
第一获取单元601,用于通过上述相机获取包含有其它车辆及至少两条车道线的目标图像;a first acquiring
拟合单元602,用于对上述车道线进行拟合,得到交点;a
第二获取单元603,用于获取上述其它车辆的实际车高;The second obtaining
计算单元604,用于基于上述目标图像中的上述其它车辆、上述实际车高、上述交点及上述相机的相机参数,计算得到上述相机的姿态参数。The
可选地,上述姿态参数包括高度;上述计算单元604,包括:Optionally, the above-mentioned attitude parameter includes height; the above-mentioned
第一高度差获取子单元,用于获取上述目标图像中,上述其它车辆的底端与上述交点的高度差,记作第一高度差;a first height difference obtaining subunit, configured to obtain the height difference between the bottom end of the other vehicle and the intersection point in the target image, which is recorded as the first height difference;
第二高度差获取子单元,用于获取上述目标图像中,上述其它车辆的底端与上述其它车辆的顶端的高度差,记作第二高度差;a second height difference obtaining subunit, configured to obtain the height difference between the bottom end of the other vehicle and the top end of the other vehicle in the target image, which is recorded as the second height difference;
高度计算子单元,用于基于上述第一高度差、上述第二高度差及上述实际车高,计算得到上述相机的高度。The height calculation subunit is used for calculating the height of the camera based on the first height difference, the second height difference and the actual vehicle height.
可选地,上述姿态参数包括角度;上述相机参数包括上述相机在图像坐标系的纵轴方向上的焦距及上述相机的焦点在上述图像坐标系的纵轴方向上的坐标;上述计算单元604,包括:Optionally, the posture parameter includes an angle; the camera parameter includes the focal length of the camera in the direction of the vertical axis of the image coordinate system and the coordinates of the focus of the camera in the direction of the vertical axis of the image coordinate system; the
差值计算子单元,用于计算上述交点的纵坐标与上述相机的焦点在上述图像坐标系的纵轴方向上的坐标的差值;a difference calculation subunit, configured to calculate the difference between the ordinate of the intersection point and the coordinate of the focus of the camera in the direction of the longitudinal axis of the image coordinate system;
比值计算子单元,用于计算上述差值与上述焦距的比值;a ratio calculation subunit, used for calculating the ratio of the above-mentioned difference to the above-mentioned focal length;
角度计算子单元,用于根据反正切函数及上述比值计算得到上述相机的角度。The angle calculation subunit is used for calculating the angle of the camera according to the arc tangent function and the ratio.
可选地,上述拟合单元602,包括:Optionally, the above
关键点提取子单元,用于针对上述目标图像中的任意的两条车道线,提取出上述两条车道线的关键点;The key point extraction subunit is used to extract the key points of the above two lane lines for any two lane lines in the above target image;
车道线拟合子单元,用于根据上述关键点分别对上述两条车道线进行拟合,得到两条直线;The lane line fitting subunit is used to respectively fit the above two lane lines according to the above key points to obtain two straight lines;
交点获取子单元,用于获取上述两条直线的交点。The intersection obtaining subunit is used to obtain the intersection of the above two straight lines.
可选地,上述第二获取单元603,包括:Optionally, the above-mentioned second obtaining
目标车型查找子单元,用于在预设的数据库中查找上述其它车辆的车型,记作目标车型;The target vehicle type search sub-unit is used to search the above-mentioned other vehicle types in the preset database, which is recorded as the target vehicle type;
实际车高读取子单元,用于读取上述目标车型的实际车高。The actual vehicle height reading subunit is used to read the actual vehicle height of the above-mentioned target vehicle model.
可选地,上述目标车型查找子单元,包括:Optionally, the above-mentioned target vehicle type search subunit includes:
车辆特征提取子单元,用于提取上述其它车辆的车辆特征,上述车辆特征包括:颜色、轮廓、车灯形状、车标和/或文字;a vehicle feature extraction sub-unit, used for extracting the vehicle features of the above-mentioned other vehicles, where the above-mentioned vehicle features include: color, outline, shape of vehicle lights, vehicle logo and/or text;
相似度计算子单元,用于分别计算上述其它车辆的车辆特征与上述数据库中各个车型的车辆特征的相似度;a similarity calculation subunit, which is used to calculate the similarity between the vehicle features of the other vehicles and the vehicle features of each vehicle model in the database;
目标车型确定子单元,用于将车辆特征与上述其它车辆的车辆特征的相似度最高的车型确定为目标车型。The target vehicle type determination subunit is used for determining the vehicle type with the highest similarity between the vehicle characteristics and the vehicle characteristics of the other vehicles as the target vehicle type.
可选地,第一获取单元601,具体用于在上述车辆行驶时,通过上述相机获取包含有其它车辆及至少两条车道线的目标图像。Optionally, the first acquiring
由上可见,通过本申请实施例,首先通过安装于车辆身上的相机获取包含有其它车辆及至少两条车道线的目标图像,然后对上述车道线进行拟合,得到交点,与此同时,还会去获取上述其它车辆的实际车高,最后基于上述目标图像中的上述其它车辆、上述实际车高、上述交点及上述相机的相机参数,计算得到上述相机的姿态参数。上述过程完全不依赖静态测量数据,相机的姿态参数完全使用软件方法计算得出,节省了静态测量所需人力资源,使得标定流程更为简洁,并可显著节约标定成本。It can be seen from the above that, according to the embodiment of the present application, a target image including other vehicles and at least two lane lines is first obtained through a camera installed on the vehicle, and then the above lane lines are fitted to obtain the intersection point, and at the same time, the The actual vehicle heights of the other vehicles will be obtained, and finally the pose parameters of the cameras will be calculated based on the other vehicles, the actual vehicle heights, the intersections and the camera parameters of the cameras in the target image. The above process does not rely on static measurement data at all, and the camera's attitude parameters are completely calculated by software methods, which saves the human resources required for static measurement, makes the calibration process more concise, and can significantly save calibration costs.
实施例3Example 3
本申请实施例还提供了一种电子设备,请参阅图7,本申请实施例中的电子设备7包括:存储器701,一个或多个处理器702(图7中仅示出一个)及存储在存储器701上并可在处理器上运行的计算机程序。其中:存储器701用于存储软件程序以及单元,处理器702通过运行存储在存储器701的软件程序以及单元,从而执行各种功能应用以及数据处理,以获取上述预设事件对应的资源。具体地,处理器702通过运行存储在存储器701的上述计算机程序时实现以下步骤:An embodiment of the present application further provides an electronic device, please refer to FIG. 7 , the
通过上述相机获取包含有其它车辆及至少两条车道线的目标图像,其中,上述其它车 辆是除安装有上述相机的车辆之外的车辆;Obtaining a target image including other vehicles and at least two lane lines through the above-mentioned camera, wherein the above-mentioned other vehicles are vehicles other than the vehicle installed with the above-mentioned camera;
对上述车道线进行拟合,得到交点;Fit the above lane lines to get the intersection point;
获取上述其它车辆的实际车高;Get the actual vehicle height of the other vehicles mentioned above;
基于上述目标图像中的上述其它车辆、上述实际车高、上述交点及上述相机的相机参数,计算得到上述相机的姿态参数。Based on the other vehicles in the target image, the actual vehicle height, the intersection, and the camera parameters of the camera, the attitude parameters of the camera are calculated.
假设上述为第一种可能的实施方式,则在第一种可能的实施方式作为基础而提供的第二种可能的实施方式中,上述姿态参数包括高度,上述基于上述目标图像中的上述其它车辆、上述实际车高、上述交点及上述相机的相机参数,计算得到上述相机的姿态参数,包括:Assuming that the above is the first possible implementation manner, in the second possible implementation manner provided on the basis of the first possible implementation manner, the above-mentioned attitude parameters include height, the above-mentioned other vehicles based on the above-mentioned other vehicles in the above-mentioned target image , the above-mentioned actual vehicle height, the above-mentioned intersection point and the camera parameters of the above-mentioned camera, and the attitude parameters of the above-mentioned camera are calculated, including:
获取上述目标图像中,上述其它车辆的底端与上述交点的高度差,记作第一高度差;In acquiring the target image, the height difference between the bottom end of the other vehicle and the intersection point is recorded as the first height difference;
获取上述目标图像中,上述其它车辆的底端与上述其它车辆的顶端的高度差,记作第二高度差;In acquiring the target image, the height difference between the bottom end of the other vehicle and the top end of the other vehicle is recorded as the second height difference;
基于上述第一高度差、上述第二高度差及上述实际车高,计算得到上述相机的高度。Based on the first height difference, the second height difference, and the actual vehicle height, the height of the camera is calculated.
在上述第一种可能的实施方式作为基础而提供的第三种可能的实施方式中,上述姿态参数包括角度,上述相机参数包括上述相机在图像坐标系的纵轴方向上的焦距及上述相机的焦点在上述图像坐标系的纵轴方向上的坐标;上述基于上述目标图像中的上述其它车辆、上述实际车高、上述交点及上述相机的相机参数,计算得到上述相机的姿态参数,包括:In a third possible implementation manner provided on the basis of the above-mentioned first possible implementation manner, the above-mentioned attitude parameter includes an angle, and the above-mentioned camera parameter includes the focal length of the above-mentioned camera in the direction of the longitudinal axis of the image coordinate system and the above-mentioned camera The coordinates of the focus in the direction of the vertical axis of the image coordinate system; the above-mentioned attitude parameters of the above-mentioned camera are calculated based on the above-mentioned other vehicles in the above-mentioned target image, the above-mentioned actual vehicle height, the above-mentioned intersection point and the above-mentioned camera parameters, including:
计算上述交点的纵坐标与上述相机的焦点在上述图像坐标系的纵轴方向上的坐标的差值;Calculate the difference between the vertical coordinate of the intersection point and the coordinate of the focus of the camera in the vertical axis direction of the image coordinate system;
计算上述差值与上述焦距的比值;Calculate the ratio of the above difference to the above focal length;
根据反正切函数及上述比值计算得到上述相机的角度。The angle of the camera is calculated according to the arc tangent function and the above ratio.
在上述第一种可能的实施方式作为基础而提供的第四种可能的实施方式中,上述对上述目标图像中的车道线进行拟合,得到交点,包括:In the fourth possible implementation manner provided on the basis of the above-mentioned first possible implementation manner, the above-mentioned lane lines in the above-mentioned target image are fitted to obtain intersection points, including:
针对上述目标图像中的任意的两条车道线,提取出上述两条车道线的关键点;For any two lane lines in the above target image, extract the key points of the above two lane lines;
根据上述关键点分别对上述两条车道线进行拟合,得到两条直线;According to the above key points, the above two lane lines are respectively fitted to obtain two straight lines;
获取上述两条直线的交点。Get the intersection of the above two lines.
在上述第一种可能的实施方式作为基础而提供的第五种可能的实施方式中,上述获取上述其它车辆的实际车高,包括:In the fifth possible implementation manner provided on the basis of the above-mentioned first possible implementation manner, the above-mentioned acquisition of the actual vehicle heights of the above-mentioned other vehicles includes:
在预设的数据库中查找上述其它车辆的车型,记作目标车型;Find the models of the other vehicles mentioned above in the preset database, and record them as the target model;
读取上述目标车型的实际车高。Read the actual vehicle height of the above target vehicle model.
在上述第五种可能的实施方式作为基础而提供的第六种可能的实施方式中,上述在预设的数据库中查找上述其它车辆的车型,记作目标车型,包括:In the sixth possible embodiment provided on the basis of the fifth possible embodiment above, the above-mentioned vehicle models of the other vehicles are searched in the preset database, and recorded as the target model, including:
提取上述其它车辆的车辆特征,上述车辆特征包括:颜色、轮廓、车灯形状、车标和/或文字;Extracting vehicle features of the above-mentioned other vehicles, the above-mentioned vehicle features include: color, outline, shape of headlight, car logo and/or text;
分别计算上述其它车辆的车辆特征与上述数据库中各个车型的车辆特征的相似度;Calculate the similarity between the vehicle features of the above-mentioned other vehicles and the vehicle characteristics of each model in the above-mentioned database;
将车辆特征与上述其它车辆的车辆特征的相似度最高的车型确定为目标车型。The vehicle model with the highest degree of similarity between the vehicle characteristics and the vehicle characteristics of the other vehicles described above is determined as the target vehicle type.
在上述第一种可能的实施方式作为基础而提供的第七种可能的实施方式中,上述通过上述相机获取包含有其它车辆及至少两条车道线的目标图像,包括:In the seventh possible implementation manner provided on the basis of the above-mentioned first possible implementation manner, the above-mentioned acquisition of the target image including other vehicles and at least two lane lines by the above-mentioned camera includes:
在上述车辆行驶时,通过上述相机获取包含有其它车辆及至少两条车道线的目标图像。When the vehicle is running, a target image including other vehicles and at least two lane lines is acquired by the camera.
应当理解,在本申请实施例中,所称处理器702可以是中央处理单元(Central Processing Unit,CPU),该处理器还可以是其他通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现成可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。It should be understood that, in this embodiment of the present application, the
存储器701可以包括只读存储器和随机存取存储器,并向处理器702提供指令和数据。存储器701的一部分或全部还可以包括非易失性随机存取存储器。例如,存储器701还可以存储设备类别的信息。
由上可见,通过本申请实施例,首先通过安装于车辆身上的相机获取包含有其它车辆及至少两条车道线的目标图像,然后对上述车道线进行拟合,得到交点,与此同时,还会去获取上述其它车辆的实际车高,最后基于上述目标图像中的上述其它车辆、上述实际车高、上述交点及上述相机的相机参数,计算得到上述相机的姿态参数。上述过程完全不依赖静态测量数据,相机的姿态参数完全使用软件方法计算得出,节省了静态测量所需人力资源,使得标定流程更为简洁,并可显著节约标定成本。It can be seen from the above that, according to the embodiment of the present application, a target image including other vehicles and at least two lane lines is first obtained through a camera installed on the vehicle, and then the above lane lines are fitted to obtain the intersection point, and at the same time, the The actual vehicle heights of the other vehicles will be obtained, and finally the pose parameters of the cameras will be calculated based on the other vehicles, the actual vehicle heights, the intersections and the camera parameters of the cameras in the target image. The above process does not rely on static measurement data at all, and the camera's attitude parameters are completely calculated by software methods, which saves the human resources required for static measurement, makes the calibration process more concise, and can significantly save calibration costs.
所属领域的技术人员可以清楚地了解到,为了描述的方便和简洁,仅以上述各功能单元、模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功 能单元、模块完成,即将上述装置的内部结构划分成不同的功能单元或模块,以完成以上描述的全部或者部分功能。实施例中的各功能单元、模块可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中,上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。另外,各功能单元、模块的具体名称也只是为了便于相互区分,并不用于限制本申请的保护范围。上述系统中单元、模块的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that, for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example. Module completion, that is, dividing the internal structure of the above device into different functional units or modules to complete all or part of the functions described above. Each functional unit and module in the embodiment may be integrated in one processing unit, or each unit may exist physically alone, or two or more units may be integrated in one unit, and the above-mentioned integrated units may adopt hardware. It can also be realized in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing from each other, and are not used to limit the protection scope of the present application. For the specific working processes of the units and modules in the above-mentioned system, reference may be made to the corresponding processes in the foregoing method embodiments, which will not be repeated here.
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述或记载的部分,可以参见其它实施例的相关描述。In the foregoing embodiments, the description of each embodiment has its own emphasis. For parts that are not described or described in detail in a certain embodiment, reference may be made to the relevant descriptions of other embodiments.
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者外部设备软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。Those of ordinary skill in the art can realize that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented by electronic hardware, or a combination of external device software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Skilled artisans may implement the described functionality using different methods for each particular application, but such implementations should not be considered beyond the scope of this application.
在本申请所提供的实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的系统实施例仅仅是示意性的,例如,上述模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通讯连接可以是通过一些接口,装置或单元的间接耦合或通讯连接,可以是电性,机械或其它的形式。In the embodiments provided in this application, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the system embodiments described above are only illustrative. For example, the division of the above-mentioned modules or units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components may be combined. Either it can be integrated into another system, or some features can be omitted, or not implemented. On the other hand, the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical, mechanical or other forms.
上述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described above as separate components may or may not be physically separated, and components shown as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
上述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读存储介质中。基于这样的理解,本申请实现上述实施例方法中的全部或部分流程,也可以通过计算机程序来指令相关联的硬件来完成,上述的计算机程序可存储于一计算机可读存储介质中,该计算机程序在被处理器执行时,可实现上述各个方法实施例的步骤。其中,上述计算机程序包括计算机程序代码,上述计算机程序代码可以为源代码形式、对象代码形式、可执行文件或某些中间形式等。上述计算机可读存储介质可以包括:能够携带上述计算机程序代码的任何实体或装置、记录介质、U盘、移动硬盘、磁碟、光盘、计算机可读存储器、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、电载波信号、电信信号以及软件分发介质等。需要说 明的是,上述计算机可读存储介质包含的内容可以根据司法管辖区内立法和专利实践的要求进行适当的增减,例如在某些司法管辖区,根据立法和专利实践,计算机可读存储介质不包括是电载波信号和电信信号。If the above-mentioned integrated units are implemented in the form of software functional units and sold or used as independent products, they may be stored in a computer-readable storage medium. Based on this understanding, the present application can implement all or part of the processes in the methods of the above embodiments, and can also be completed by instructing the associated hardware through a computer program, and the above computer program can be stored in a computer-readable storage medium, the computer When the program is executed by the processor, the steps of the foregoing method embodiments can be implemented. Wherein, the above-mentioned computer program includes computer program code, and the above-mentioned computer program code may be in the form of source code, object code form, executable file or some intermediate form. The above-mentioned computer-readable storage medium may include: any entity or device capable of carrying the above-mentioned computer program code, a recording medium, a U disk, a removable hard disk, a magnetic disk, an optical disk, a computer-readable memory, a read-only memory (ROM, Read-Only Memory) ), random access memory (RAM, Random Access Memory), electrical carrier signals, telecommunication signals, and software distribution media, etc. It should be noted that the content contained in the above-mentioned computer-readable storage media may be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction, for example, in some jurisdictions, according to legislation and patent practice, computer-readable storage Excluded from the medium are electrical carrier signals and telecommunication signals.
以上实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围,均应包含在本申请的保护范围之内。The above embodiments are only used to illustrate the technical solutions of the present application, but not to limit them; although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: The recorded technical solutions are modified, or some technical features thereof are equivalently replaced; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the application, and should be included in the application. within the scope of protection.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202180000829.XA CN113490967A (en) | 2020-09-22 | 2021-04-20 | Camera calibration method and device and electronic equipment |
Applications Claiming Priority (4)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202080002058.3A CN112384952A (en) | 2020-09-22 | 2020-09-22 | Camera calibration method and device and electronic equipment |
| CNPCT/CN2020/116811 | 2020-09-22 | ||
| CN202080002058.3 | 2020-09-22 | ||
| CN2020116811 | 2020-09-22 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2022062377A1 true WO2022062377A1 (en) | 2022-03-31 |
Family
ID=74590110
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2021/088391 Ceased WO2022062377A1 (en) | 2020-09-22 | 2021-04-20 | Calibration method and calibration apparatus for camera, and electronic device |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN112384952A (en) |
| WO (1) | WO2022062377A1 (en) |
Cited By (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN114693806A (en) * | 2022-04-07 | 2022-07-01 | 智道网联科技(北京)有限公司 | Camera calibration method and device, electronic equipment and storage medium |
| CN114898324A (en) * | 2022-06-15 | 2022-08-12 | 智道网联科技(北京)有限公司 | Lane line data grouping method, device and computer readable storage medium |
| CN115601435A (en) * | 2022-12-14 | 2023-01-13 | 天津所托瑞安汽车科技有限公司(Cn) | Vehicle attitude detection method, device, vehicle and storage medium |
| CN115965695A (en) * | 2022-12-21 | 2023-04-14 | 东南大学 | Online automatic calibration method for monitoring camera on highway |
| CN115995068A (en) * | 2022-12-22 | 2023-04-21 | 浙江零跑科技股份有限公司 | A method for detecting cross lane markings, electronic equipment and storage medium |
| CN116128970A (en) * | 2022-11-28 | 2023-05-16 | 浙江零跑科技股份有限公司 | Camera calibration method, electronic equipment and storage medium |
| CN119963655A (en) * | 2025-01-10 | 2025-05-09 | 浙江吉利控股集团有限公司 | Camera dynamic calibration method, vehicle, electronic equipment and program product |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112384952A (en) * | 2020-09-22 | 2021-02-19 | 深圳市锐明技术股份有限公司 | Camera calibration method and device and electronic equipment |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109961483A (en) * | 2017-12-22 | 2019-07-02 | 比亚迪股份有限公司 | Calibration method and system for automobile and monocular camera |
| CN110378962A (en) * | 2018-11-27 | 2019-10-25 | 北京京东尚科信息技术有限公司 | Scaling method, device and the computer readable storage medium of in-vehicle camera |
| CN110858405A (en) * | 2018-08-24 | 2020-03-03 | 北京市商汤科技开发有限公司 | Attitude estimation method, device and system of vehicle-mounted camera and electronic equipment |
| US20200134871A1 (en) * | 2018-10-25 | 2020-04-30 | Aisin Seiki Kabushiki Kaisha | Camera parameter estimating device, camera parameter estimating method, and camera parameter estimating program |
| CN111220143A (en) * | 2018-11-26 | 2020-06-02 | 北京图森智途科技有限公司 | Method and device for determining position and attitude of an imaging device |
| CN112384952A (en) * | 2020-09-22 | 2021-02-19 | 深圳市锐明技术股份有限公司 | Camera calibration method and device and electronic equipment |
-
2020
- 2020-09-22 CN CN202080002058.3A patent/CN112384952A/en not_active Withdrawn
-
2021
- 2021-04-20 WO PCT/CN2021/088391 patent/WO2022062377A1/en not_active Ceased
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109961483A (en) * | 2017-12-22 | 2019-07-02 | 比亚迪股份有限公司 | Calibration method and system for automobile and monocular camera |
| CN110858405A (en) * | 2018-08-24 | 2020-03-03 | 北京市商汤科技开发有限公司 | Attitude estimation method, device and system of vehicle-mounted camera and electronic equipment |
| US20200134871A1 (en) * | 2018-10-25 | 2020-04-30 | Aisin Seiki Kabushiki Kaisha | Camera parameter estimating device, camera parameter estimating method, and camera parameter estimating program |
| CN111220143A (en) * | 2018-11-26 | 2020-06-02 | 北京图森智途科技有限公司 | Method and device for determining position and attitude of an imaging device |
| CN110378962A (en) * | 2018-11-27 | 2019-10-25 | 北京京东尚科信息技术有限公司 | Scaling method, device and the computer readable storage medium of in-vehicle camera |
| CN112384952A (en) * | 2020-09-22 | 2021-02-19 | 深圳市锐明技术股份有限公司 | Camera calibration method and device and electronic equipment |
Cited By (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN114693806A (en) * | 2022-04-07 | 2022-07-01 | 智道网联科技(北京)有限公司 | Camera calibration method and device, electronic equipment and storage medium |
| CN114898324A (en) * | 2022-06-15 | 2022-08-12 | 智道网联科技(北京)有限公司 | Lane line data grouping method, device and computer readable storage medium |
| CN116128970A (en) * | 2022-11-28 | 2023-05-16 | 浙江零跑科技股份有限公司 | Camera calibration method, electronic equipment and storage medium |
| CN115601435A (en) * | 2022-12-14 | 2023-01-13 | 天津所托瑞安汽车科技有限公司(Cn) | Vehicle attitude detection method, device, vehicle and storage medium |
| CN115601435B (en) * | 2022-12-14 | 2023-03-14 | 天津所托瑞安汽车科技有限公司 | Vehicle attitude detection method, device, vehicle and storage medium |
| CN115965695A (en) * | 2022-12-21 | 2023-04-14 | 东南大学 | Online automatic calibration method for monitoring camera on highway |
| CN115995068A (en) * | 2022-12-22 | 2023-04-21 | 浙江零跑科技股份有限公司 | A method for detecting cross lane markings, electronic equipment and storage medium |
| CN119963655A (en) * | 2025-01-10 | 2025-05-09 | 浙江吉利控股集团有限公司 | Camera dynamic calibration method, vehicle, electronic equipment and program product |
Also Published As
| Publication number | Publication date |
|---|---|
| CN112384952A (en) | 2021-02-19 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| WO2022062377A1 (en) | Calibration method and calibration apparatus for camera, and electronic device | |
| CN107577988B (en) | Method, device, storage medium and program product for realizing side vehicle positioning | |
| CN107133985B (en) | An automatic calibration method of vehicle camera based on vanishing point of lane line | |
| EP3859593B1 (en) | Vehicle feature acquisition method and device | |
| CN108638999B (en) | Anti-collision early warning system and method based on 360-degree look-around input | |
| CN114863096A (en) | Semantic map construction and positioning method and device for indoor parking lot | |
| WO2020124988A1 (en) | Vision-based parking space detection method and device | |
| WO2022078074A1 (en) | Method and system for detecting position relation between vehicle and lane line, and storage medium | |
| CN112507862A (en) | Vehicle orientation detection method and system based on multitask convolutional neural network | |
| CN112950725A (en) | Monitoring camera parameter calibration method and device | |
| CN111837158A (en) | Image processing method, device, photographing device and movable platform | |
| CN116486351B (en) | Driving early warning method, device, equipment and storage medium | |
| CN112329678B (en) | Monocular pedestrian 3D positioning method based on information fusion | |
| CN106064587A (en) | Multi-lane vehicle distance recognition method and device based on license plate recognition | |
| CN111768332A (en) | Splicing method of vehicle-mounted all-around real-time 3D panoramic image and image acquisition device | |
| CN111950428A (en) | Target obstacle identification method, device and vehicle | |
| CN107688174A (en) | A kind of image distance-finding method, system, storage medium and vehicle-mounted visually-perceptible equipment | |
| CN112733678A (en) | Ranging method, ranging device, computer equipment and storage medium | |
| CN112270311A (en) | A method and system for fast near target detection based on vehicle-mounted surround-view reverse projection | |
| CN116794650A (en) | Millimeter wave radar and camera data fusion target detection method and device | |
| CN116343165A (en) | A 3D target detection system, method, terminal device and storage medium | |
| CN114743179A (en) | Panoramic visible driving area detection method based on semantic segmentation | |
| CN113490967A (en) | Camera calibration method and device and electronic equipment | |
| CN115071684A (en) | Parking calibration method, device, equipment and computer storage medium | |
| CN115798232B (en) | Holographic intersection traffic management system based on combination of thunder-vision all-in-one machine and multi-camera |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 21870766 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 21870766 Country of ref document: EP Kind code of ref document: A1 |
