WO2019127406A1 - 一种adas摄像头的标定方法、装置、存储介质及终端设备 - Google Patents

一种adas摄像头的标定方法、装置、存储介质及终端设备 Download PDF

Info

Publication number
WO2019127406A1
WO2019127406A1 PCT/CN2017/119952 CN2017119952W WO2019127406A1 WO 2019127406 A1 WO2019127406 A1 WO 2019127406A1 CN 2017119952 W CN2017119952 W CN 2017119952W WO 2019127406 A1 WO2019127406 A1 WO 2019127406A1
Authority
WO
WIPO (PCT)
Prior art keywords
calibration
camera
distance
scale
adas
Prior art date
Application number
PCT/CN2017/119952
Other languages
English (en)
French (fr)
Inventor
李恒
刘光军
Original Assignee
深圳市锐明技术股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳市锐明技术股份有限公司 filed Critical 深圳市锐明技术股份有限公司
Priority to CN201780002308.1A priority Critical patent/CN108235776B/zh
Priority to PCT/CN2017/119952 priority patent/WO2019127406A1/zh
Publication of WO2019127406A1 publication Critical patent/WO2019127406A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/80Analysis of captured images to determine intrinsic or extrinsic camera parameters, i.e. camera calibration
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10004Still image; Photographic image

Definitions

  • the invention relates to the technical field of camera calibration, in particular to a calibration method, device, storage medium and terminal device of an ADAS camera.
  • ADAS Advanced Driver Assistant Systems
  • the embodiment of the invention provides a calibration method, a device, a storage medium and a terminal device of an ADAS camera, which can complete the calibration work of the target camera, and has the advantages of low cost, high efficiency and simple operation.
  • a calibration method for an ADAS camera including:
  • the calibration plate is placed in a shooting area in front of the target camera at a predetermined distance from the first position, and the specified distance has a preset correspondence relationship with the calibration plate;
  • the scale values of the scales on the calibration plate are read in the same calibration environment by the camera with the same calibration and the same installation height, and the calibration line falls on each scale of the calibration plate. Corresponding calibration distance.
  • the scale values of the respective scales on the calibration plate are obtained in advance by the following steps:
  • the values of the respective calibration distances read are determined as the scale values of the corresponding respective scales.
  • the determining that the target camera is perpendicular to the first location of the ground comprises:
  • a height measuring rule perpendicular to the ground is placed in an area in front of the target camera, and an upper end of the height measuring ruler is higher than the target camera;
  • the method further includes:
  • a calibration device for an ADAS camera including:
  • a first position determining module configured to determine a first position of the target camera perpendicular to the ground
  • a calibration plate selection module configured to select a calibration plate corresponding to the installation height, wherein the calibration plate is provided with a scale
  • a calibration plate placement module configured to place the calibration plate in a shooting area in front of the target camera at a predetermined distance from the first position, where the specified distance corresponds to a predetermined preset of the calibration plate relationship
  • a current scale determining module configured to determine, after starting the target camera, a current scale of a calibration line in the display screen of the ADAS falling on the calibration board;
  • a calibration distance reading module configured to read a calibration distance corresponding to the current calibration line
  • An adjustment module configured to adjust a shooting angle of the target camera, such that the calibration line moves from the current scale to a target value of the scaled value of the read calibration distance;
  • the scale values of the scales on the calibration plate are read in the same calibration environment by the camera with the same calibration and the same installation height, and the calibration line falls on each scale of the calibration plate. Corresponding calibration distance.
  • the scale values of the respective scales on the calibration plate are obtained in advance by the following modules:
  • a second position determining module configured to determine a second position of the calibrated camera mounted on the installation height perpendicular to the ground, and the vehicle mounting the calibrated camera is placed on a flat ground;
  • a calibration line adjustment module configured to adjust a position of the calibration line of the ADAS in the display screen on the calibration plate after the calibration of the camera is started, so that the calibration line falls on each scale of the calibration plate;
  • a reading distance module configured to respectively read a calibration distance of the calibration line falling on the respective scales
  • the scale value determining module is configured to determine the values of the read calibration distances as the scale values of the corresponding scales.
  • the first location determining module includes:
  • a measuring rule placing unit for placing a height measuring ruler perpendicular to the ground in an area in front of the target camera, the upper end of the height measuring ruler being higher than the target camera;
  • a direction calibration unit for calibrating the horizontal direction and the vertical direction of the height gauge
  • a first distance measuring unit configured to measure a first distance between the target camera and the height measuring ruler
  • a position moving unit configured to move the first distance from a lower end position of the height measuring ruler toward the target camera direction to determine a first position of the target camera perpendicular to the ground.
  • the calibration device of the ADAS camera further includes:
  • a distance determination module for determining a specified calibration distance for verification
  • a pole placement module for placing a shaft on the ground directly in front of the target camera and spaced apart from the first position by the specified calibration distance, the shaft being perpendicular to the front direction ;
  • a calibration line adjustment module configured to adjust a calibration line in the ADAS display screen after the target camera is activated, such that a calibration distance corresponding to the calibration line is equal to the specified calibration distance
  • a coincidence determination module configured to determine whether a calibration line in the ADAS display screen coincides with a rod displayed in the display screen
  • a first determining module configured to determine that the calibration result of the target camera is accurate if the determination result of the coincidence determination module is yes;
  • the second determining module is configured to determine that the calibration result of the target camera is inaccurate if the determination result of the coincidence determination module is negative.
  • a third aspect provides a terminal device including a memory, a processor, and a computer program stored in the memory and operable on the processor, the processor implementing the above-described ADAS camera when executing the computer program The steps of the calibration method.
  • a computer readable storage medium storing a computer program, the computer program being executed by a processor to implement the steps of the calibration method of the ADAS camera.
  • the vehicle is placed on a flat ground; then, determining the first position of the target camera perpendicular to the ground; selecting and installing the height Corresponding calibration plate, the calibration plate is provided with a scale; then, the calibration plate is placed in a shooting area in front of the target camera at a predetermined distance from the first position, the specified distance a preset correspondence relationship with the calibration plate; after starting the target camera, determining that the calibration line in the display screen of the ADAS falls on the current scale of the calibration plate; and further, reading the current calibration line corresponding to the calibration line Calibrating the distance; finally, adjusting the shooting angle of the target camera such that the calibration line moves from the current scale to a target scale whose scale value is equal to the read calibration distance; wherein each of the calibration boards The scale value of the scale is obtained by reading the calibration line in the same calibration environment by the camera with the same calibration and the same installation height.
  • the calibration distance corresponding to the calibration plate on each scale is low in cost, high in efficiency and simple in operation. It is especially suitable for calibration of ADAS cameras in batches, which is beneficial to the promotion and application of ADAS camera calibration.
  • FIG. 1 is a flow chart of an embodiment of a calibration method for an ADAS camera according to an embodiment of the present invention
  • FIG. 2 is a schematic diagram showing the principle of a calibration method of an ADAS camera according to an embodiment of the present invention
  • FIG. 3 is a schematic flowchart of step 102 of a calibration method for an ADAS camera in an application scenario according to an embodiment of the present invention
  • FIG. 4 is a schematic diagram showing the principle of determining a first position by a calibration method of an ADAS camera according to an embodiment of the present invention
  • FIG. 5 is a schematic flow chart of setting a scale value of each scale on a calibration plate in an application scenario according to an calibration method of an ADAS camera according to an embodiment of the present invention
  • FIG. 6 is a schematic flowchart of verifying whether a target camera calibration is accurate in an application scenario according to an ADAS camera calibration method according to an embodiment of the present invention
  • FIG. 7 is a structural diagram of an embodiment of a calibration apparatus for an ADAS camera according to an embodiment of the present invention.
  • FIG. 8 is a schematic diagram of a terminal device according to an embodiment of the present invention.
  • the embodiment of the invention provides a calibration method, a device, a storage medium and a terminal device of an ADAS camera, which are used for solving the problems of high cost and complicated operation of the calibration method of the current ADAS camera.
  • an embodiment of a calibration method for an ADAS camera in an embodiment of the present invention includes:
  • the target camera is mounted on the vehicle, that is, the position of point A in Fig. 2, and the height of point A from the ground is the above-mentioned mounting height, which is denoted as m.
  • the vehicle in order to calibrate the accuracy, the vehicle is required to be placed on a flat ground.
  • the engineering measurement method can be used to measure the flatness of the ground in advance, and the ground is flat by replacing the ground or repairing the unevenness.
  • the first position described above is the point C at the position in Fig. 2, and the line connecting the two points of AC is perpendicular to the ground.
  • the foregoing step 102 may specifically include:
  • 301 placing a height measuring ruler perpendicular to the ground in an area in front of the target camera, the upper end of the height measuring ruler being higher than the target camera;
  • point A is the mounting position of the target camera
  • point C is the first position
  • BD is a height measuring ruler placed perpendicular to the ground in the area in front of the target camera.
  • m (unit can be meters)
  • the height measuring ruler when the height measuring ruler is placed, it is only required to be placed at a position slightly before the target camera, that is, the value of d is smaller and better after the height measuring ruler is placed, so that the measuring d is When there is a measurement, the error will be smaller.
  • a plurality of calibration plates with different scales may be preset, and each calibration plate corresponds to a different installation height, so as to be suitable for a target camera with different installation heights.
  • the scale value of the scale on each calibration plate is also set in advance by the calibrated camera. The setting method of the scale value is described below.
  • the calibration plate is placed in a shooting area in front of the target camera at a predetermined distance from the first position, and the specified distance has a preset correspondence relationship with the calibration board;
  • the calibration plate After the calibration plate corresponding to the installation height is selected, the calibration plate needs to be placed in a shooting area in front of the target camera at a predetermined distance from the first position. Referring to FIG. 2, assuming that the specified distance is f, the distance f from the point C to the front of the target camera photographing direction is shifted to the point F, and the position of the point F is the position at which the calibration plate should be placed.
  • each calibration plate is pre-set by a corresponding specified distance, because the scale value of each scale on the calibration plate is set by the calibrated camera at the specified distance, so when placing the calibration plate, in order to maintain The calibration environment of the target camera is consistent with the calibration environment of the calibrated camera, and the specified distance corresponding to the calibration plate needs to be limited.
  • point K is the point on the ground where the calibration distance corresponding to the current calibration line of the target camera is located
  • the position of the H point is ADAS.
  • the calibration line in the display falls on the current position on the calibration plate, that is, the current scale on which the calibration line falls on the calibration plate.
  • the scale value that the calibration line should fall on the calibration board is determined, so that the target scale is found according to the scale value of each scale on the calibration board.
  • the target scale is the position where the calibration line needs to fall after the target camera is calibrated. Therefore, by adjusting the shooting angle of the target camera, the calibration line is moved from the current scale to the target scale, that is, the calibration work of the target camera is completed.
  • the scale values of the scales on the calibration plate are read in the same calibration environment by the camera with the same calibration and the same installation height, and the calibration line falls on each scale of the calibration plate. Corresponding calibration distance.
  • the scale value of each scale on the calibration plate can be obtained in advance by the following steps:
  • the calibration plate is placed in a shooting area in front of the calibrated camera, and a distance between the calibration plate placement position and the second position is equal to the specified distance;
  • the camera has been calibrated to be installed at the point A, and the point C is the second position.
  • a calibration plate having a scale but not marked with a scale is prepared in advance.
  • the calibration plate is placed in the shooting area, and the distance between the calibration plate placement position and the second position is equal to the specified distance, assuming that the specified distance is f. It can be understood that since the calibrated camera has been calibrated, it can be considered that the calibration line of the calibrated camera is accurate, and thus, in step 503, after the calibrated camera is activated, the display screen is adjusted.
  • the position of the calibration line on the calibration plate is such that the calibration line falls on each scale of the calibration plate, and the position where the calibration line falls on the scale can be considered to be an accurate position. Therefore, by reading the calibration distance of the calibration line on the respective scales, and determining the value of the calibration distance as the scale value of the corresponding scale, marking the scale values on each scale of the calibration plate, that is, the calibration is completed. The scale value of each scale on the board is set.
  • the above-mentioned calibrated camera can be pre-calibrated by other methods, or can be calibrated by the following method:
  • the camera when the camera needs to be calibrated, the camera can be installed at the A point.
  • the height of point A from the ground is recorded as m, and the point C is the position of the camera perpendicular to the ground.
  • the calibration plate is placed in the shooting area in front of the target camera, that is, the position of FH in Fig. 2, and the lower end of the calibration plate is point F. Record the distance
  • f, CF is perpendicular to AC.
  • K point is the point on the ground where the calibration distance corresponding to the current calibration line of the camera is located
  • C, F, and K are on the same direct, and after starting the camera, the display of ADAS is determined.
  • the calibration line on the screen falls on the first scale of the calibration plate, and reads the calibration distance y corresponding to the calibration line, and the installation height m, the calibration plate placement distance f and the calibration distance y are substituted into the first formula to calculate the target height;
  • the first formula is:
  • x is the theoretical height, that is, the value of the scale corresponding to the H point, or the height value of the H point from the ground.
  • the position of the theoretical scale is determined from the calibration plate based on the value of x. Finally, the shooting angle of the camera is adjusted such that the calibration line moves from the first scale to the theoretical scale, and the camera completes the calibration.
  • the above process is to complete the calibration work of the first calibrated camera at the m installation height, and the subsequent camera calibration of the other m installation height can be calibrated by the calibration method of the ADAS camera provided by the present invention.
  • the calibration method of the ADAS camera can also verify the target camera after calibration, and verify the Whether the target camera calibration is accurate, as shown in Figure 6, the specific steps include:
  • step 604 it is determined whether the calibration line in the ADAS display screen coincides with the rod displayed in the display screen, and if so, step 605 is performed, and if not, step 606 is performed;
  • steps 601-606 first specify a calibration distance for verification, that is, the specified calibration distance, and after starting the target camera, adjust the calibration line in the ADAS display according to the specified calibration distance, so that The adjusted calibration line has a calibration distance equal to the specified calibration distance.
  • a rod is placed on the ground directly in front of the target camera and spaced apart from the first position by the specified calibration distance, with reference to Figure 2, that is, the rod is placed at the k-point position.
  • the rod is perpendicular to the direction directly in front of the target camera.
  • the calibration lines in the ADAS display screen are generally horizontal lines, so correspondingly, the rods are also placed laterally.
  • the installation height of the target camera after the ADAS is set, that is, the m value.
  • the target camera calibration is accurate by judging whether the calibration line in the display screen coincides with the rod displayed in the display screen. If the calibration line coincides with the displayed pole, the calibration result of the target camera can be considered accurate; conversely, if the calibration line does not coincide with the displayed pole, the calibration result of the target camera can be considered inaccurate.
  • the vehicle is placed on a flat ground; then, determining that the target camera is perpendicular to the first position of the ground; selecting corresponding to the installation height a calibration plate, the calibration plate is provided with a scale; then, the calibration plate is placed in a shooting area in front of the target camera at a predetermined distance from the first position, the specified distance and
  • the calibration board has a preset correspondence relationship; after starting the target camera, determining that the calibration line of the ADAS display screen falls on the current scale of the calibration board; and further, reading the calibration corresponding to the current calibration line a distance; finally, adjusting a shooting angle of the target camera such that the calibration line moves from the current scale to a target scale whose scale value is equal to the read calibration distance; wherein each scale on the calibration board The scale value is obtained by reading the calibration line in the same calibration environment by the camera with the same calibration and the same installation height.
  • each of the calibration plate calibration scale corresponding to the distance.
  • the standard calibration plate is pre-set, and the scale value on the calibration plate is from the calibration camera, so that the shooting angle of the target camera can be adjusted according to the scale value on the calibration plate, so that the calibration line falls in correspondence.
  • the calibration of the target camera is completed on the target scale.
  • the method is low in cost, high in efficiency and simple in operation. It is especially suitable for the calibration of ADAS cameras in batches, which is beneficial to the promotion and application of ADAS camera calibration.
  • the calibration method of an ADAS camera is mainly described above, and a calibration device of an ADAS camera will be described in detail below.
  • FIG. 7 is a structural diagram showing an embodiment of a calibration apparatus for an ADAS camera according to an embodiment of the present invention.
  • a calibration device for an ADAS camera includes:
  • a first location determining module 702 configured to determine that the target camera is perpendicular to a first location of the ground
  • the calibration board selection module 703 is configured to select a calibration board corresponding to the installation height, and the calibration board is provided with a scale;
  • a calibration plate placement module 704 configured to place the calibration plate in a shooting area in front of the target camera at a predetermined distance from the first position, where the specified distance and the calibration plate have a preset Correspondence relationship
  • the current scale determining module 705 is configured to determine, after starting the target camera, a current scale of the calibration line in the display screen of the ADAS falling on the calibration board;
  • a calibration distance reading module 706, configured to read a calibration distance corresponding to the current calibration line
  • An adjustment module 707 configured to adjust a shooting angle of the target camera, such that the calibration line moves from the current scale to a target value of the calibration distance that is equal to the read scale;
  • the scale values of the scales on the calibration plate are read in the same calibration environment by the camera with the same calibration and the same installation height, and the calibration line falls on each scale of the calibration plate. Corresponding calibration distance.
  • scale values of the respective scales on the calibration plate can be obtained in advance by the following modules:
  • a second position determining module configured to determine a second position of the calibrated camera mounted on the installation height perpendicular to the ground, and the vehicle mounting the calibrated camera is placed on a flat ground;
  • a calibration line adjustment module configured to adjust a position of the calibration line of the ADAS in the display screen on the calibration plate after the calibration of the camera is started, so that the calibration line falls on each scale of the calibration plate;
  • a reading distance module configured to respectively read a calibration distance of the calibration line falling on the respective scales
  • the scale value determining module is configured to determine the values of the read calibration distances as the scale values of the corresponding scales.
  • the first location determining module may include:
  • a measuring rule placing unit for placing a height measuring ruler perpendicular to the ground in an area in front of the target camera, the upper end of the height measuring ruler being higher than the target camera;
  • a direction calibration unit for calibrating the horizontal direction and the vertical direction of the height gauge
  • a first distance measuring unit configured to measure a first distance between the target camera and the height measuring ruler
  • a position moving unit configured to move the first distance from a lower end position of the height measuring ruler toward the target camera direction to determine a first position of the target camera perpendicular to the ground.
  • the calibration device of the ADAS camera may further include:
  • a distance determination module for determining a specified calibration distance for verification
  • a pole placement module for placing a shaft on the ground directly in front of the target camera and spaced apart from the first position by the specified calibration distance, the shaft being perpendicular to the front direction ;
  • a calibration line adjustment module configured to adjust a calibration line in the ADAS display screen after the target camera is activated, such that a calibration distance corresponding to the calibration line is equal to the specified calibration distance
  • a coincidence determination module configured to determine whether a calibration line in the ADAS display screen coincides with a rod displayed in the display screen
  • a first determining module configured to determine that the calibration result of the target camera is accurate if the determination result of the coincidence determination module is yes;
  • the second determining module is configured to determine that the calibration result of the target camera is inaccurate if the determination result of the coincidence determination module is negative.
  • FIG. 8 is a schematic diagram of a terminal device according to an embodiment of the present invention.
  • the terminal device 8 of this embodiment includes a processor 80, a memory 81, and a computer program 82 stored in the memory 81 and operable on the processor 80, for example, executing the ADAS camera described above.
  • the procedure for the calibration method When the processor 80 executes the computer program 82, the steps in the embodiment of the calibration method of each of the ADAS cameras described above are implemented, such as steps 101 to 107 shown in FIG.
  • the processor 80 executes the computer program 82, the functions of the modules/units in the foregoing device embodiments are implemented, such as the functions of the modules 701 to 707 shown in FIG.
  • the computer program 82 can be partitioned into one or more modules/units that are stored in the memory 81 and executed by the processor 80 to complete this invention.
  • the one or more modules/units may be a series of computer program instruction segments capable of performing a particular function, the instruction segments being used to describe the execution of the computer program 82 in the terminal device 8.
  • the terminal device 8 may be a computing device such as a desktop computer, a notebook, a palmtop computer, or a cloud server.
  • the terminal device may include, but is not limited to, a processor 80 and a memory 81. It will be understood by those skilled in the art that FIG. 8 is merely an example of the terminal device 8, and does not constitute a limitation on the terminal device 8, and may include more or less components than those illustrated, or combine some components, or different components.
  • the terminal device may further include an input/output device, a network access device, a bus, and the like.
  • the processor 80 may be a central processing unit (CPU), or may be another general-purpose processor, a digital signal processor (DSP), an application specific integrated circuit (ASIC), Field-Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, etc.
  • the general purpose processor may be a microprocessor or the processor or any conventional processor or the like.
  • the memory 81 may be an internal storage unit of the terminal device 8, such as a hard disk or a memory of the terminal device 8.
  • the memory 81 may also be an external storage device of the terminal device 8, such as a plug-in hard disk provided on the terminal device 8, a smart memory card (SMC), and a secure digital (SD). Card, flash card, etc. Further, the memory 81 may also include both an internal storage unit of the terminal device 8 and an external storage device.
  • the memory 81 is used to store the computer program and other programs and data required by the terminal device.
  • the memory 81 can also be used to temporarily store data that has been output or is about to be output.
  • modules, units, and/or method steps of the various embodiments described in connection with the embodiments disclosed herein can be implemented in electronic hardware or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the solution. A person skilled in the art can use different methods for implementing the described functions for each particular application, but such implementation should not be considered to be beyond the scope of the present invention.
  • the disclosed system, apparatus, and method may be implemented in other manners.
  • the device embodiments described above are merely illustrative.
  • the division of the unit is only a logical function division.
  • there may be another division manner for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored or not executed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.
  • the units described as separate components may or may not be physically separated, and the components displayed 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 of the embodiment.
  • each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
  • the integrated unit if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium. Based on such understanding, the present invention implements all or part of the processes in the foregoing embodiments, and may also be completed by a computer program to instruct related hardware.
  • the computer program may be stored in a computer readable storage medium. The steps of the various method embodiments described above may be implemented when the program is executed by the processor.
  • the computer program comprises computer program code, which may be in the form of source code, object code form, executable file or some intermediate form.
  • the computer readable medium may include any entity or device capable of carrying the computer program code, a recording medium, a USB flash drive, a removable hard disk, a magnetic disk, an optical disk, a computer memory, a read-only memory (ROM). , random access memory (RAM, Random Access Memory), electrical carrier signals, telecommunications signals, and software distribution media. It should be noted that the content contained in the computer readable medium may be appropriately increased or decreased according to the requirements of legislation and patent practice in a jurisdiction, for example, in some jurisdictions, according to legislation and patent practice, computer readable media Does not include electrical carrier signals and telecommunication signals.

Abstract

一种ADAS摄像头的标定方法,用于解决目前ADAS摄像头的标定方法成本高、操作复杂的问题。该方法包括:测量车辆上目标摄像头的安装高度,所述车辆放置于平坦的地面上;确定所述目标摄像头垂直于所述地面的第一位置;选取与所述安装高度对应的标定板,所述标定板上设有刻度;将所述标定板放置在所述目标摄像头前方的拍摄区域中、与所述第一位置相距指定距离的位置上,所述指定距离与所述标定板存在预设对应关系;在启动所述目标摄像头后,确定ADAS的显示屏中标定线落在所述标定板上的当前刻度;读取当前所述标定线对应的标定距离;调节所述目标摄像头的拍摄角度,使得所述标定线从所述当前刻度移动至刻度值等于读取到的所述标定距离的目标刻度。

Description

一种ADAS摄像头的标定方法、装置、存储介质及终端设备 技术领域
本发明涉及摄像头标定技术领域,尤其涉及一种ADAS摄像头的标定方法、装置、存储介质及终端设备。
背景技术
目前关于车辆ADAS(Advanced Driver Assistant Systems,高级驾驶辅助系统)摄像头的标定方法主要有以下几种方式:通过复杂仪器或方法设计高精度标定板、结合多种传感器进行测量和标定、开发专门的摄像头标定软件,等等。
然而,虽然这些现有的标定方法均能完成ADAS摄像头的标定,但是往往存在成本高、需开发专门的标定软件、开发周期长、操作复杂等缺点,导致ADAS摄像头的标定难以推广、应用受限。
发明内容
本发明实施例提供了一种ADAS摄像头的标定方法、装置、存储介质及终端设备,能够完成目标摄像头的标定工作,成本低廉、效率高、操作简单。
第一方面,提供了一种ADAS摄像头的标定方法,包括:
测量车辆上目标摄像头的安装高度,所述车辆放置于平坦的地面上;
确定所述目标摄像头垂直于所述地面的第一位置;
选取与所述安装高度对应的标定板,所述标定板上设有刻度;
将所述标定板放置在所述目标摄像头前方的拍摄区域中、与所述第一位置相距指定距离的位置上,所述指定距离与所述标定板存在预设对应关系;
在启动所述目标摄像头后,确定ADAS的显示屏中标定线落在所述标定板上的当前刻度;
读取当前所述标定线对应的标定距离;
调节所述目标摄像头的拍摄角度,使得所述标定线从所述当前刻度移动至刻度值等于读取到的所述标定距离的目标刻度;
其中,所述标定板上的各个刻度的刻度值为,预先通过标定好的、且安装高度相同的摄像头在相同的标定环境下读取得到的当标定线落在所述标定板各个刻度上时所对应的标定距离。
可选地,所述标定板上的各个刻度的刻度值通过以下步骤预先得到:
确定安装在所述安装高度上的已标定摄像头垂直于地面的第二位置,安装所述已标定摄像头的车辆放置于平坦的地面上;
在所述已标定摄像头前方的拍摄区域中放置所述标定板,所述标定板放置位置与所述第二位置的距离等于所述指定距离;
在启动所述已标定摄像头后,调节ADAS的显示屏中标定线落在标定板上的位置,使得所述标定线落在所述标定板的各个刻度上;
分别读取所述标定线落在所述各个刻度上的标定距离;
将读取到的各个标定距离的值确定为对应的各个刻度的刻度值。
可选地,所述确定所述目标摄像头垂直于所述地面的第一位置包括:
在所述目标摄像头前方的区域中放置垂直于所述地面的高度测量尺,所述高度测量尺的上端高于所述目标摄像头;
校准所述高度测量尺的水平方向和竖直方向;
测量所述目标摄像头与所述高度测量尺之间的第一距离;
从所述高度测量尺的下端位置向所述目标摄像头方向移动所述第一距离,确定出所述目标摄像头垂直于所述地面的第一位置。
可选地,在调节所述目标摄像头的拍摄角度,使得所述标定线从所述当前刻度移动至刻度值等于读取到的所述标定距离的目标刻度之后,还包括:
确定用于验证的指定标定距离;
在所述目标摄像头的正前方且与所述第一位置相隔所述指定标定距离的地 面上放置一杆状物,所述杆状物与所述正前方方向垂直;
在启动所述目标摄像头后,调节所述ADAS显示屏中的标定线,使得标定线对应的标定距离等于所述指定标定距离;
判断所述ADAS显示屏中的标定线是否与所述显示屏中显示的杆状物重合;
若所述ADAS显示屏中的标定线与所述显示屏中显示的杆状物重合,则确定所述目标摄像头的标定结果准确;
若所述ADAS显示屏中的标定线与所述显示屏中显示的杆状物不重合,则确定所述目标摄像头的标定结果不准确。
第二方面,提供了一种ADAS摄像头的标定装置,包括:
安装高度测量模块,用于测量车辆上目标摄像头的安装高度,所述车辆放置于平坦的地面上;
第一位置确定模块,用于确定所述目标摄像头垂直于所述地面的第一位置;
标定板选取模块,用于选取与所述安装高度对应的标定板,所述标定板上设有刻度;
标定板放置模块,用于将所述标定板放置在所述目标摄像头前方的拍摄区域中、与所述第一位置相距指定距离的位置上,所述指定距离与所述标定板存在预设对应关系;
当前刻度确定模块,用于在启动所述目标摄像头后,确定ADAS的显示屏中标定线落在所述标定板上的当前刻度;
标定距离读取模块,用于读取当前所述标定线对应的标定距离;
调节模块,用于调节所述目标摄像头的拍摄角度,使得所述标定线从所述当前刻度移动至刻度值等于读取到的所述标定距离的目标刻度;
其中,所述标定板上的各个刻度的刻度值为,预先通过标定好的、且安装高度相同的摄像头在相同的标定环境下读取得到的当标定线落在所述标定板各个刻度上时所对应的标定距离。
可选地,所述标定板上的各个刻度的刻度值通过以下模块预先得到:
第二位置确定模块,用于确定安装在所述安装高度上的已标定摄像头垂直于地面的第二位置,安装所述已标定摄像头的车辆放置于平坦的地面上;
放置标定板模块,用于在所述已标定摄像头前方的拍摄区域中放置所述标定板,所述标定板放置位置与所述第二位置的距离等于所述指定距离;
标定线调节模块,用于在启动所述已标定摄像头后,调节ADAS的显示屏中标定线落在标定板上的位置,使得所述标定线落在所述标定板的各个刻度上;
读取距离模块,用于分别读取所述标定线落在所述各个刻度上的标定距离;
刻度值确定模块,用于将读取到的各个标定距离的值确定为对应的各个刻度的刻度值。
可选地,所述第一位置确定模块包括:
测量尺放置单元,用于在所述目标摄像头前方的区域中放置垂直于所述地面的高度测量尺,所述高度测量尺的上端高于所述目标摄像头;
方向校准单元,用于校准所述高度测量尺的水平方向和竖直方向;
第一距离测量单元,用于测量所述目标摄像头与所述高度测量尺之间的第一距离;
位置移动单元,用于从所述高度测量尺的下端位置向所述目标摄像头方向移动所述第一距离,确定出所述目标摄像头垂直于所述地面的第一位置。
可选地,所述ADAS摄像头的标定装置还包括:
指定距离确定模块,用于确定用于验证的指定标定距离;
杆状物放置模块,用于在所述目标摄像头的正前方且与所述第一位置相隔所述指定标定距离的地面上放置一杆状物,所述杆状物与所述正前方方向垂直;
标定线调节模块,用于在启动所述目标摄像头后,调节所述ADAS显示屏中的标定线,使得标定线对应的标定距离等于所述指定标定距离;
重合判断模块,用于判断所述ADAS显示屏中的标定线是否与所述显示屏中显示的杆状物重合;
第一确定模块,用于若所述重合判断模块的判断结果为是,则确定所述目标摄像头的标定结果准确;
第二确定模块,用于若所述重合判断模块的判断结果为否,则确定所述目标摄像头的标定结果不准确。
第三方面,提供了一种终端设备,包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现上述ADAS摄像头的标定方法的步骤。
第四方面,提供了一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行时实现上述ADAS摄像头的标定方法的步骤。
从以上技术方案可以看出,本发明实施例具有以下优点:
本发明实施例中,首先,测量车辆上目标摄像头的安装高度,所述车辆放置于平坦的地面上;然后,确定所述目标摄像头垂直于所述地面的第一位置;选取与所述安装高度对应的标定板,所述标定板上设有刻度;接着,将所述标定板放置在所述目标摄像头前方的拍摄区域中、与所述第一位置相距指定距离的位置上,所述指定距离与所述标定板存在预设对应关系;在启动所述目标摄像头后,确定ADAS的显示屏中标定线落在所述标定板上的当前刻度;再之,读取当前所述标定线对应的标定距离;最后,调节所述目标摄像头的拍摄角度,使得所述标定线从所述当前刻度移动至刻度值等于读取到的所述标定距离的目标刻度;其中,所述标定板上的各个刻度的刻度值为,预先通过标定好的、且安装高度相同的摄像头在相同的标定环境下读取得到的当标定线落在所述标定板各个刻度上时所对应的标定距离。可见,本发明实施例通过预先设置好的标准的标定板,标定板上的刻度值来自标定好的摄像头,从而可以根据标定板上的刻度值来调节目标摄像头的拍摄角度,使标定线落在对应的目标刻度上即完成目标摄像头的标定工作,该方法成本低廉、效率高、操作简单,特别适用于批量安装ADAS摄像头的标定工作,有利于ADAS摄像头标定的推广和应用。
附图说明
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。
图1为本发明实施例中一种ADAS摄像头的标定方法一个实施例流程图;
图2为本发明实施例中一种ADAS摄像头的标定方法的原理示意图;
图3为本发明实施例中一种ADAS摄像头的标定方法步骤102在一个应用场景下的流程示意图;
图4为本发明实施例中一种ADAS摄像头的标定方法确定第一位置的原理示意图;
图5为本发明实施例中一种ADAS摄像头的标定方法在一个应用场景下设置标定板上各个刻度的刻度值的流程示意图;
图6为本发明实施例中一种ADAS摄像头的标定方法在一个应用场景下验证目标摄像头标定是否准确的流程示意图;
图7为本发明实施例中一种ADAS摄像头的标定装置一个实施例结构图;
图8为本发明一实施例提供的终端设备的示意图。
具体实施方式
本发明实施例提供了一种ADAS摄像头的标定方法、装置、存储介质及终端设备,用于解决目前ADAS摄像头的标定方法成本高、操作复杂的问题。
为使得本发明的发明目的、特征、优点能够更加的明显和易懂,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,下面所描述的实施例仅仅是本发明一部分实施例,而非全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提 下所获得的所有其它实施例,都属于本发明保护的范围。
请参阅图1,本发明实施例中一种ADAS摄像头的标定方法一个实施例包括:
101、测量车辆上目标摄像头的安装高度,所述车辆放置于平坦的地面上;
结合图2,车辆上安装有目标摄像头,即图2中A点的位置,A点距离地面的高度即为上述的安装高度,记为m。
其中,为了标定的准确性,要求车辆放置在平坦的地面上,可以预先采用工程测量方法测量地面的平整度,通过更换地面或者修补不平整的地方来保证地面是平坦的。
102、确定所述目标摄像头垂直于所述地面的第一位置;
上述的第一位置即图2中的C点位置,AC两点的连线垂直于地面。
进一步地,如图3所示,上述步骤102具体可以包括:
301、在所述目标摄像头前方的区域中放置垂直于所述地面的高度测量尺,所述高度测量尺的上端高于所述目标摄像头;
302、校准所述高度测量尺的水平方向和竖直方向;
303、测量所述目标摄像头与所述高度测量尺之间的第一距离;
304、从所述高度测量尺的下端位置向所述目标摄像头方向移动所述第一距离,确定出所述目标摄像头垂直于所述地面的第一位置。
结合图4,A点为目标摄像头的安装位置,C点为所述第一位置,BD为在目标摄像头前方的区域中放置的垂直于地面的高度测量尺。在放置高度测量尺时,可以在水平和竖直方向上各放一水准泡以校准BD的水平和竖直方向。记|AC|=|BD|=m(单位可以是米),通过测量容易得到距离|AB|=d(单位可以是米),则从高度测量尺的下端位置D点处向BA方向测量d距离即可得到C点位置,标记C点在地面上的位置,即确定出了该第一位置。
其中,在上述步骤301~304的测量过程中,放置高度测量尺时只需在目标摄像头稍前一点的位置放置即可,即放置高度测量尺后d的值较小更优,这样 在测量d时,测量结果存在的误差会更小。
103、选取与所述安装高度对应的标定板,所述标定板上设有刻度;
可以理解的是,本实施例中可以预先设定多个设有不同刻度的标定板,各个标定板分别与不同的安装高度对应,以便适用于不同安装高度的目标摄像头。各个标定板上的刻度的刻度值也相应预先通过已标定的摄像头设置好,刻度值的设置方法在下面进行描述。
104、将所述标定板放置在所述目标摄像头前方的拍摄区域中、与所述第一位置相距指定距离的位置上,所述指定距离与所述标定板存在预设对应关系;
在选取出与所述安装高度对应的标定板之后,需要将该标定板放置在所述目标摄像头前方的拍摄区域中、与所述第一位置相距指定距离的位置上。参照图2,假设该指定距离为f,则从C点向目标摄像头拍摄方向的前方移动f距离后,到达F点,该F点的位置就是所述标定板应当放置的位置。
其中,每个标定板均预先由对应的指定距离,这是由于标定板上各个刻度的刻度值是在该指定距离下利用已标定的摄像头设置的,因此,在放置该标定板时,为了保持目标摄像头的标定环境与该已标定的摄像头的标定环境一致,需要限定该标定板对应的指定距离。
105、在启动所述目标摄像头后,确定ADAS的显示屏中标定线落在所述标定板上的当前刻度;
106、读取当前所述标定线对应的标定距离;
对于上述步骤105~106,参照图2,K点为目标摄像头当前的标定线对应的标定距离所在的地面上的点,|CK|=y为所述标定距离,H点的位置即为ADAS的显示屏中标定线落在标定板上的当前位置,即确定出该标定线落在该标定板上的当前刻度。
107、调节所述目标摄像头的拍摄角度,使得所述标定线从所述当前刻度移动至刻度值等于读取到的所述标定距离的目标刻度。
可以理解的是,根据读取到的所述标定距离确定出标定线理应落在标定板 上的刻度值,从而根据标定板上的各个刻度的刻度值找到该目标刻度。可知,该目标刻度就是目标摄像头标定后该标定线需要落在的位置。因此,通过调节目标摄像头的拍摄角度,将标定线从当前刻度移动至目标刻度,即完成了目标摄像头的标定工作。
其中,所述标定板上的各个刻度的刻度值为,预先通过标定好的、且安装高度相同的摄像头在相同的标定环境下读取得到的当标定线落在所述标定板各个刻度上时所对应的标定距离。
具体地,如图5所示,所述标定板上的各个刻度的刻度值可以通过以下步骤预先得到:
501、确定安装在所述安装高度上的已标定摄像头垂直于地面的第二位置,安装所述已标定摄像头的车辆放置于平坦的地面上;
502、在所述已标定摄像头前方的拍摄区域中放置所述标定板,所述标定板放置位置与所述第二位置的距离等于所述指定距离;
503、在启动所述已标定摄像头后,调节ADAS的显示屏中标定线落在标定板上的位置,使得所述标定线落在所述标定板的各个刻度上;
504、分别读取所述标定线落在所述各个刻度上的标定距离;
505、将读取到的各个标定距离的值确定为对应的各个刻度的刻度值。
对于上述步骤501~505,结合图2的原理示意图,已标定摄像头安装在A点位置,C点为上述第二位置,预先准备一个设有刻度、但各个刻度并未标上刻度值的标定板,将该标定板放置在拍摄区域中,且标定板放置位置与第二位置的距离等于指定距离,假设指定距离为f。可以理解的是,由于所述已标定摄像头是已经经过标定处理的,因此可以认为该已标定摄像头的标定线是准确的,从而,在步骤503中,启动该已标定摄像头后,调节显示屏中标定线落在标定板上的位置,使得标定线落在所述标定板的各个刻度上,可以认为标定线落在刻度上的位置均为准确的位置。因此,通过读取标定线落在所述各个刻度上的标定距离,并将该标定距离的值确定为对应刻度的刻度值,在标定板的各 个刻度上标上这些刻度值,即完成了标定板上各个刻度的刻度值设置。
需要说明的是,上述已标定摄像头可以通过其它方法预先完成标定工作,也可以通过以下方式进行标定:结合图2的原理示意图,当该摄像头需要标定时,可以将该摄像头安装在A点位置,A点距离地面的高度记为m,C点为摄像头垂直于地面的位置,在目标摄像头前方的拍摄区域中放置标定板,即图2中FH的位置上,标定板的下端点为F点,记距离|CF|=f,CF垂直于AC。K点为摄像头当前的标定线对应的标定距离所在的地面上的点,|CK|=y为所述标定距离,C、F、K在同一直接上,在启动该摄像头后,确定ADAS的显示屏中标定线落在标定板上的第一刻度,并读取该标定线对应的标定距离y,将安装高度m、标定板放置距离f和标定距离y代入第一公式计算目标高度;
所述第一公式为:
Figure PCTCN2017119952-appb-000001
其中,x为所述理论高度,也即H点对应的刻度的值,或H点距离地面的高度值。
在确定理论高度x之后,即根据x的值从标定板上确定出理论刻度的位置。最后,调节该摄像头的拍摄角度,使得标定线从所述第一刻度移动至所述理论刻度,该摄像头完成标定。上述过程是为了完成m安装高度上第一个已标定摄像头的标定工作,随后的其它m安装高度的摄像头标定即可采用本发明提供的该ADAS摄像头的标定方法进行标定。
进一步地,在调节所述目标摄像头的拍摄角度,使得所述标定线从所述当前刻度移动至所述目标刻度之后,该ADAS摄像头的标定方法还可以对标定后的目标摄像头进行验证,检验该目标摄像头标定是否准确,如图6所示,具体步骤包括:
601、确定用于验证的指定标定距离;
602、在所述目标摄像头的正前方且与所述第一位置相隔所述指定标定距离的地面上放置一杆状物,所述杆状物与所述正前方方向垂直;
603、在启动所述目标摄像头后,调节所述ADAS显示屏中的标定线,使 得标定线对应的标定距离等于所述指定标定距离;
604、判断所述ADAS显示屏中的标定线是否与所述显示屏中显示的杆状物重合,若是,则执行步骤605,若否,则执行步骤606;
605、确定所述目标摄像头的标定结果准确;
606、确定所述目标摄像头的标定结果不准确。
对于上述步骤601~606,先指定一个用于验证的标定距离,即所述指定标定距离,并在启动所述目标摄像头后,根据该指定标定距离调节所述ADAS显示屏中的标定线,使得调节后的标定线的标定距离等于该指定标定距离。
在目标摄像头的正前方且与第一位置相隔所述指定标定距离的地面上放置一杆状物,参考图2,即在k点位置放置该杆状物。该杆状物与目标摄像头的正前方方向垂直。可以理解的是,ADAS显示屏中的标定线一般均是横线,因此与之对应的,该杆状物也是横向放置。
需要说明的是,由于是对标定后的目标摄像头进行验证,ADAS上的已设置后该目标摄像头的安装高度,即m值。在启动ADAS之后,通过判断显示屏中的标定线是否与所述显示屏中显示的杆状物重合,即可判断得知该目标摄像头标定是否准确。如果标定线与显示的杆状物重合,则可以认为所述目标摄像头的标定结果准确;反之,如果标定线与显示的杆状物不重合,则可以认为所述目标摄像头的标定结果不准确。
比如,在一个应用场景中,可以在距离K点4米处完成标定,即y=4,然后通过上述第一公式分别计算出y=3、y=5处对应位置放置好杆状物,并分别从ADAS显示屏上看y=3时该标定线是否与3米处的杆状物重合、y=5时该标定线是否与5米处的杆状物重合。
本实施例中,首先,测量车辆上目标摄像头的安装高度,所述车辆放置于平坦的地面上;然后,确定所述目标摄像头垂直于所述地面的第一位置;选取与所述安装高度对应的标定板,所述标定板上设有刻度;接着,将所述标定板放置在所述目标摄像头前方的拍摄区域中、与所述第一位置相距指定距离的位 置上,所述指定距离与所述标定板存在预设对应关系;在启动所述目标摄像头后,确定ADAS的显示屏中标定线落在所述标定板上的当前刻度;再之,读取当前所述标定线对应的标定距离;最后,调节所述目标摄像头的拍摄角度,使得所述标定线从所述当前刻度移动至刻度值等于读取到的所述标定距离的目标刻度;其中,所述标定板上的各个刻度的刻度值为,预先通过标定好的、且安装高度相同的摄像头在相同的标定环境下读取得到的当标定线落在所述标定板各个刻度上时所对应的标定距离。可见,本实施例通过预先设置好的标准的标定板,标定板上的刻度值来自标定好的摄像头,从而可以根据标定板上的刻度值来调节目标摄像头的拍摄角度,使标定线落在对应的目标刻度上即完成目标摄像头的标定工作,该方法成本低廉、效率高、操作简单,特别适用于批量安装ADAS摄像头的标定工作,有利于ADAS摄像头标定的推广和应用。
应理解,上述实施例中各步骤的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本发明实施例的实施过程构成任何限定。
上面主要描述了一种ADAS摄像头的标定方法,下面将对一种ADAS摄像头的标定装置进行详细描述。
图7示出了本发明实施例中一种ADAS摄像头的标定装置一个实施例结构图。
本实施例中,一种ADAS摄像头的标定装置包括:
安装高度测量模块701,用于测量车辆上目标摄像头的安装高度,所述车辆放置于平坦的地面上;
第一位置确定模块702,用于确定所述目标摄像头垂直于所述地面的第一位置;
标定板选取模块703,用于选取与所述安装高度对应的标定板,所述标定板上设有刻度;
标定板放置模块704,用于将所述标定板放置在所述目标摄像头前方的拍摄区域中、与所述第一位置相距指定距离的位置上,所述指定距离与所述标定板存在预设对应关系;
当前刻度确定模块705,用于在启动所述目标摄像头后,确定ADAS的显示屏中标定线落在所述标定板上的当前刻度;
标定距离读取模块706,用于读取当前所述标定线对应的标定距离;
调节模块707,用于调节所述目标摄像头的拍摄角度,使得所述标定线从所述当前刻度移动至刻度值等于读取到的所述标定距离的目标刻度;
其中,所述标定板上的各个刻度的刻度值为,预先通过标定好的、且安装高度相同的摄像头在相同的标定环境下读取得到的当标定线落在所述标定板各个刻度上时所对应的标定距离。
进一步地,所述标定板上的各个刻度的刻度值可以通过以下模块预先得到:
第二位置确定模块,用于确定安装在所述安装高度上的已标定摄像头垂直于地面的第二位置,安装所述已标定摄像头的车辆放置于平坦的地面上;
放置标定板模块,用于在所述已标定摄像头前方的拍摄区域中放置所述标定板,所述标定板放置位置与所述第二位置的距离等于所述指定距离;
标定线调节模块,用于在启动所述已标定摄像头后,调节ADAS的显示屏中标定线落在标定板上的位置,使得所述标定线落在所述标定板的各个刻度上;
读取距离模块,用于分别读取所述标定线落在所述各个刻度上的标定距离;
刻度值确定模块,用于将读取到的各个标定距离的值确定为对应的各个刻度的刻度值。
进一步地,所述第一位置确定模块可以包括:
测量尺放置单元,用于在所述目标摄像头前方的区域中放置垂直于所述地面的高度测量尺,所述高度测量尺的上端高于所述目标摄像头;
方向校准单元,用于校准所述高度测量尺的水平方向和竖直方向;
第一距离测量单元,用于测量所述目标摄像头与所述高度测量尺之间的第 一距离;
位置移动单元,用于从所述高度测量尺的下端位置向所述目标摄像头方向移动所述第一距离,确定出所述目标摄像头垂直于所述地面的第一位置。
进一步地,所述ADAS摄像头的标定装置还可以包括:
指定距离确定模块,用于确定用于验证的指定标定距离;
杆状物放置模块,用于在所述目标摄像头的正前方且与所述第一位置相隔所述指定标定距离的地面上放置一杆状物,所述杆状物与所述正前方方向垂直;
标定线调节模块,用于在启动所述目标摄像头后,调节所述ADAS显示屏中的标定线,使得标定线对应的标定距离等于所述指定标定距离;
重合判断模块,用于判断所述ADAS显示屏中的标定线是否与所述显示屏中显示的杆状物重合;
第一确定模块,用于若所述重合判断模块的判断结果为是,则确定所述目标摄像头的标定结果准确;
第二确定模块,用于若所述重合判断模块的判断结果为否,则确定所述目标摄像头的标定结果不准确。
图8是本发明一实施例提供的终端设备的示意图。如图8所示,该实施例的终端设备8包括:处理器80、存储器81以及存储在所述存储器81中并可在所述处理器80上运行的计算机程序82,例如执行上述ADAS摄像头的标定方法的程序。所述处理器80执行所述计算机程序82时实现上述各个ADAS摄像头的标定方法实施例中的步骤,例如图1所示的步骤101至107。或者,所述处理器80执行所述计算机程序82时实现上述各装置实施例中各模块/单元的功能,例如图7所示模块701至707的功能。
示例性的,所述计算机程序82可以被分割成一个或多个模块/单元,所述一个或者多个模块/单元被存储在所述存储器81中,并由所述处理器80执行,以完成本发明。所述一个或多个模块/单元可以是能够完成特定功能的一系列计 算机程序指令段,该指令段用于描述所述计算机程序82在所述终端设备8中的执行过程。
所述终端设备8可以是桌上型计算机、笔记本、掌上电脑及云端服务器等计算设备。所述终端设备可包括,但不仅限于,处理器80、存储器81。本领域技术人员可以理解,图8仅仅是终端设备8的示例,并不构成对终端设备8的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件,例如所述终端设备还可以包括输入输出设备、网络接入设备、总线等。
所述处理器80可以是中央处理单元(Central Processing Unit,CPU),还可以是其他通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现成可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。
所述存储器81可以是所述终端设备8的内部存储单元,例如终端设备8的硬盘或内存。所述存储器81也可以是所述终端设备8的外部存储设备,例如所述终端设备8上配备的插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)等。进一步地,所述存储器81还可以既包括所述终端设备8的内部存储单元也包括外部存储设备。所述存储器81用于存储所述计算机程序以及所述终端设备所需的其他程序和数据。所述存储器81还可以用于暂时地存储已经输出或者将要输出的数据。
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述或记载的部分,可以参见其它实施例的相关描述。
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各实施例的模块、单元和/或方法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。
在本申请所提供的几个实施例中,应该理解到,所揭露的系统,装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明实现上述实施例方法中的全部或部分流程,也可以通过计算机程序来指令相关的硬件来完成,所述的计算机程序可存储于一计算机可读存储介质中,该计算机程序在被处理器执行时,可实现上述各个方法实施例的步骤。其中,所述计算机程序包括计算机程序代码,所述计算机程序代码可以为源代码形式、对象 代码形式、可执行文件或某些中间形式等。所述计算机可读介质可以包括:能够携带所述计算机程序代码的任何实体或装置、记录介质、U盘、移动硬盘、磁碟、光盘、计算机存储器、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、电载波信号、电信信号以及软件分发介质等。需要说明的是,所述计算机可读介质包含的内容可以根据司法管辖区内立法和专利实践的要求进行适当的增减,例如在某些司法管辖区,根据立法和专利实践,计算机可读介质不包括电载波信号和电信信号。
以上所述,以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围。

Claims (10)

  1. 一种ADAS摄像头的标定方法,其特征在于,包括:
    测量车辆上目标摄像头的安装高度,所述车辆放置于平坦的地面上;
    确定所述目标摄像头垂直于所述地面的第一位置;
    选取与所述安装高度对应的标定板,所述标定板上设有刻度;
    将所述标定板放置在所述目标摄像头前方的拍摄区域中、与所述第一位置相距指定距离的位置上,所述指定距离与所述标定板存在预设对应关系;
    在启动所述目标摄像头后,确定ADAS的显示屏中标定线落在所述标定板上的当前刻度;
    读取当前所述标定线对应的标定距离;
    调节所述目标摄像头的拍摄角度,使得所述标定线从所述当前刻度移动至刻度值等于读取到的所述标定距离的目标刻度;
    其中,所述标定板上的各个刻度的刻度值为,预先通过标定好的、且安装高度相同的摄像头在相同的标定环境下读取得到的当标定线落在所述标定板各个刻度上时所对应的标定距离。
  2. 根据权利要求1所述的ADAS摄像头的标定方法,其特征在于,所述标定板上的各个刻度的刻度值通过以下步骤预先得到:
    确定安装在所述安装高度上的已标定摄像头垂直于地面的第二位置,安装所述已标定摄像头的车辆放置于平坦的地面上;
    在所述已标定摄像头前方的拍摄区域中放置所述标定板,所述标定板放置位置与所述第二位置的距离等于所述指定距离;
    在启动所述已标定摄像头后,调节ADAS的显示屏中标定线落在标定板上的位置,使得所述标定线落在所述标定板的各个刻度上;
    分别读取所述标定线落在所述各个刻度上的标定距离;
    将读取到的各个标定距离的值确定为对应的各个刻度的刻度值。
  3. 根据权利要求1所述的ADAS摄像头的标定方法,其特征在于,所述确定所述目标摄像头垂直于所述地面的第一位置包括:
    在所述目标摄像头前方的区域中放置垂直于所述地面的高度测量尺,所述高度测量尺的上端高于所述目标摄像头;
    校准所述高度测量尺的水平方向和竖直方向;
    测量所述目标摄像头与所述高度测量尺之间的第一距离;
    从所述高度测量尺的下端位置向所述目标摄像头方向移动所述第一距离,确定出所述目标摄像头垂直于所述地面的第一位置。
  4. 根据权利要求1至3中任一项所述的ADAS摄像头的标定方法,其特征在于,在调节所述目标摄像头的拍摄角度,使得所述标定线从所述当前刻度移动至刻度值等于读取到的所述标定距离的目标刻度之后,还包括:
    确定用于验证的指定标定距离;
    在所述目标摄像头的正前方且与所述第一位置相隔所述指定标定距离的地面上放置一杆状物,所述杆状物与所述正前方方向垂直;
    在启动所述目标摄像头后,调节所述ADAS显示屏中的标定线,使得标定线对应的标定距离等于所述指定标定距离;
    判断所述ADAS显示屏中的标定线是否与所述显示屏中显示的杆状物重合;
    若所述ADAS显示屏中的标定线与所述显示屏中显示的杆状物重合,则确定所述目标摄像头的标定结果准确;
    若所述ADAS显示屏中的标定线与所述显示屏中显示的杆状物不重合,则确定所述目标摄像头的标定结果不准确。
  5. 一种ADAS摄像头的标定装置,其特征在于,包括:
    安装高度测量模块,用于测量车辆上目标摄像头的安装高度,所述车辆放置于平坦的地面上;
    第一位置确定模块,用于确定所述目标摄像头垂直于所述地面的第一位置;
    标定板选取模块,用于选取与所述安装高度对应的标定板,所述标定板上设有刻度;
    标定板放置模块,用于将所述标定板放置在所述目标摄像头前方的拍摄区域中、与所述第一位置相距指定距离的位置上,所述指定距离与所述标定板存在预设对应关系;
    当前刻度确定模块,用于在启动所述目标摄像头后,确定ADAS的显示屏中标定线落在所述标定板上的当前刻度;
    标定距离读取模块,用于读取当前所述标定线对应的标定距离;
    调节模块,用于调节所述目标摄像头的拍摄角度,使得所述标定线从所述当前刻度移动至刻度值等于读取到的所述标定距离的目标刻度;
    其中,所述标定板上的各个刻度的刻度值为,预先通过标定好的、且安装高度相同的摄像头在相同的标定环境下读取得到的当标定线落在所述标定板各个刻度上时所对应的标定距离。
  6. 根据权利要求5所述的ADAS摄像头的标定装置,其特征在于,所述标定板上的各个刻度的刻度值通过以下模块预先得到:
    第二位置确定模块,用于确定安装在所述安装高度上的已标定摄像头垂直于地面的第二位置,安装所述已标定摄像头的车辆放置于平坦的地面上;
    放置标定板模块,用于在所述已标定摄像头前方的拍摄区域中放置所述标定板,所述标定板放置位置与所述第二位置的距离等于所述指定距离;
    标定线调节模块,用于在启动所述已标定摄像头后,调节ADAS的显示屏中标定线落在标定板上的位置,使得所述标定线落在所述标定板的各个刻度上;
    读取距离模块,用于分别读取所述标定线落在所述各个刻度上的标定距离;
    刻度值确定模块,用于将读取到的各个标定距离的值确定为对应的各个刻度的刻度值。
  7. 根据权利要求5所述的ADAS摄像头的标定装置,其特征在于,所述第一位置确定模块包括:
    测量尺放置单元,用于在所述目标摄像头前方的区域中放置垂直于所述地面的高度测量尺,所述高度测量尺的上端高于所述目标摄像头;
    方向校准单元,用于校准所述高度测量尺的水平方向和竖直方向;
    第一距离测量单元,用于测量所述目标摄像头与所述高度测量尺之间的第一距离;
    位置移动单元,用于从所述高度测量尺的下端位置向所述目标摄像头方向移动所述第一距离,确定出所述目标摄像头垂直于所述地面的第一位置。
  8. 根据权利要求5至7中任一项所述的ADAS摄像头的标定装置,其特征在于,所述ADAS摄像头的标定装置还包括:
    指定距离确定模块,用于确定用于验证的指定标定距离;
    杆状物放置模块,用于在所述目标摄像头的正前方且与所述第一位置相隔所述指定标定距离的地面上放置一杆状物,所述杆状物与所述正前方方向垂直;
    标定线调节模块,用于在启动所述目标摄像头后,调节所述ADAS显示屏中的标定线,使得标定线对应的标定距离等于所述指定标定距离;
    重合判断模块,用于判断所述ADAS显示屏中的标定线是否与所述显示屏中显示的杆状物重合;
    第一确定模块,用于若所述重合判断模块的判断结果为是,则确定所述目标摄像头的标定结果准确;
    第二确定模块,用于若所述重合判断模块的判断结果为否,则确定所述目标摄像头的标定结果不准确。
  9. 一种终端设备,包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机程序,其特征在于,所述处理器执行所述计算机程序时实现如权利要求1至4中任一项所述ADAS摄像头的标定方法的步骤。
  10. 一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现如权利要求1至4中任一项所述ADAS摄像头的标定方法的步骤。
PCT/CN2017/119952 2017-12-29 2017-12-29 一种adas摄像头的标定方法、装置、存储介质及终端设备 WO2019127406A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201780002308.1A CN108235776B (zh) 2017-12-29 2017-12-29 一种adas摄像头的标定方法、装置、存储介质及终端设备
PCT/CN2017/119952 WO2019127406A1 (zh) 2017-12-29 2017-12-29 一种adas摄像头的标定方法、装置、存储介质及终端设备

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/119952 WO2019127406A1 (zh) 2017-12-29 2017-12-29 一种adas摄像头的标定方法、装置、存储介质及终端设备

Publications (1)

Publication Number Publication Date
WO2019127406A1 true WO2019127406A1 (zh) 2019-07-04

Family

ID=62645416

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/119952 WO2019127406A1 (zh) 2017-12-29 2017-12-29 一种adas摄像头的标定方法、装置、存储介质及终端设备

Country Status (2)

Country Link
CN (1) CN108235776B (zh)
WO (1) WO2019127406A1 (zh)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110555436A (zh) * 2019-10-10 2019-12-10 深圳市鹏巨术信息技术有限公司 一种adas标靶的选择方法、装置、设备及存储介质
CN111275761A (zh) * 2020-01-17 2020-06-12 湖北三江航天红峰控制有限公司 一种自适应高度的视觉定位激光标刻方法
CN111310943A (zh) * 2020-02-11 2020-06-19 深圳市道通科技股份有限公司 一种adas系统标定引导方法、装置及汽车诊断设备
CN112396660A (zh) * 2019-08-12 2021-02-23 华为技术有限公司 一种摄像机光心的确定方法及系统
CN113052920A (zh) * 2021-04-26 2021-06-29 歌尔光学科技有限公司 摄像头标定方法、装置及计算机可读存储介质
CN113766211A (zh) * 2021-08-24 2021-12-07 武汉极目智能技术有限公司 一种adas设备的摄像头安装角度检测系统及方法
CN113781577A (zh) * 2021-09-07 2021-12-10 北京安铁软件技术有限公司 一种轨道车辆闸片检测的标定装置
CN113870357A (zh) * 2021-09-15 2021-12-31 福瑞泰克智能系统有限公司 摄像头外参标定方法、装置、感知设备和存储介质
CN115797468A (zh) * 2023-02-03 2023-03-14 厦门农芯数字科技有限公司 一种鱼眼摄像头安装高度的自动校正方法、装置以及设备

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111322949B (zh) * 2020-04-10 2022-03-11 广景视睿科技(深圳)有限公司 一种墙面标定的方法以及一种边标定的方法
CN112255627A (zh) * 2020-09-25 2021-01-22 深圳市道通科技股份有限公司 Adas标定设备的定位方法、系统、装置及可读存储介质
CN112912932B (zh) * 2021-01-29 2024-03-08 深圳市锐明技术股份有限公司 一种车载摄像头的标定方法、装置及终端设备
CN114066992B (zh) * 2021-10-13 2022-09-16 珠海视熙科技有限公司 一种相机标定方法、系统、装置以及存储介质
CN116147686B (zh) * 2023-04-19 2023-07-07 江西鼎铁自动化科技有限公司 一种汽车adas标定方法、系统、计算机及存储介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090299684A1 (en) * 2008-05-30 2009-12-03 Denso Corporation Method for calibrating cameras installed on vehicle
CN103985118A (zh) * 2014-04-28 2014-08-13 无锡观智视觉科技有限公司 一种车载环视系统摄像头参数标定方法
CN104299240A (zh) * 2014-10-24 2015-01-21 惠州市德赛西威汽车电子有限公司 用于车道偏移预警的摄像头标定方法及系统
CN105096324A (zh) * 2015-07-31 2015-11-25 深圳市大疆创新科技有限公司 一种摄像装置标定方法及摄像装置
CN106157311A (zh) * 2016-07-04 2016-11-23 南京安驾信息科技有限公司 用于车辆adas识别系统的标定方法及装置

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7973276B2 (en) * 2009-07-29 2011-07-05 Ut-Battelle, Llc Calibration method for video and radiation imagers
US8913791B2 (en) * 2013-03-28 2014-12-16 International Business Machines Corporation Automatically determining field of view overlap among multiple cameras

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090299684A1 (en) * 2008-05-30 2009-12-03 Denso Corporation Method for calibrating cameras installed on vehicle
CN103985118A (zh) * 2014-04-28 2014-08-13 无锡观智视觉科技有限公司 一种车载环视系统摄像头参数标定方法
CN104299240A (zh) * 2014-10-24 2015-01-21 惠州市德赛西威汽车电子有限公司 用于车道偏移预警的摄像头标定方法及系统
CN105096324A (zh) * 2015-07-31 2015-11-25 深圳市大疆创新科技有限公司 一种摄像装置标定方法及摄像装置
CN106157311A (zh) * 2016-07-04 2016-11-23 南京安驾信息科技有限公司 用于车辆adas识别系统的标定方法及装置

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112396660A (zh) * 2019-08-12 2021-02-23 华为技术有限公司 一种摄像机光心的确定方法及系统
CN112396660B (zh) * 2019-08-12 2024-01-09 华为云计算技术有限公司 一种摄像机光心的确定方法及系统
CN110555436A (zh) * 2019-10-10 2019-12-10 深圳市鹏巨术信息技术有限公司 一种adas标靶的选择方法、装置、设备及存储介质
CN111275761A (zh) * 2020-01-17 2020-06-12 湖北三江航天红峰控制有限公司 一种自适应高度的视觉定位激光标刻方法
CN111275761B (zh) * 2020-01-17 2023-10-03 湖北三江航天红峰控制有限公司 一种自适应高度的视觉定位激光标刻方法
CN111310943A (zh) * 2020-02-11 2020-06-19 深圳市道通科技股份有限公司 一种adas系统标定引导方法、装置及汽车诊断设备
CN111310943B (zh) * 2020-02-11 2023-11-24 深圳市道通科技股份有限公司 一种adas系统标定引导方法、装置及汽车诊断设备
CN113052920B (zh) * 2021-04-26 2022-11-22 歌尔光学科技有限公司 摄像头标定方法、装置及计算机可读存储介质
CN113052920A (zh) * 2021-04-26 2021-06-29 歌尔光学科技有限公司 摄像头标定方法、装置及计算机可读存储介质
CN113766211B (zh) * 2021-08-24 2023-07-25 武汉极目智能技术有限公司 一种adas设备的摄像头安装角度检测系统及方法
CN113766211A (zh) * 2021-08-24 2021-12-07 武汉极目智能技术有限公司 一种adas设备的摄像头安装角度检测系统及方法
CN113781577A (zh) * 2021-09-07 2021-12-10 北京安铁软件技术有限公司 一种轨道车辆闸片检测的标定装置
CN113870357B (zh) * 2021-09-15 2022-08-30 福瑞泰克智能系统有限公司 摄像头外参标定方法、装置、感知设备和存储介质
CN113870357A (zh) * 2021-09-15 2021-12-31 福瑞泰克智能系统有限公司 摄像头外参标定方法、装置、感知设备和存储介质
CN115797468A (zh) * 2023-02-03 2023-03-14 厦门农芯数字科技有限公司 一种鱼眼摄像头安装高度的自动校正方法、装置以及设备

Also Published As

Publication number Publication date
CN108235776B (zh) 2021-09-17
CN108235776A (zh) 2018-06-29

Similar Documents

Publication Publication Date Title
WO2019127406A1 (zh) 一种adas摄像头的标定方法、装置、存储介质及终端设备
WO2019127408A1 (zh) 一种adas摄像头的标定方法、装置、存储介质及终端设备
EP3118576B1 (en) Mobile dimensioning device with dynamic accuracy compatible with nist standard
CN104079927B (zh) 一种视场角测量装置
CN109855568B (zh) 自动驾驶传感器的检测方法、装置、电子设备及存储介质
CN108182708B (zh) 一种双目相机的标定方法、标定装置及终端设备
CN104613930A (zh) 一种测距的方法、装置及移动终端
CN103697820A (zh) 一种基于终端测量尺寸的方法及终端设备
CN111259890A (zh) 一种水位尺的水位识别方法、装置及设备
CN106131408A (zh) 一种图像处理方法及终端
CN105513078A (zh) 基于图像的立木信息采集方法和装置
CN106331666B (zh) 一种投影终端梯形校正方法、装置及投影终端
WO2017107534A1 (zh) 夹角测量方法、装置及夹角调节方法、装置
CN112912932A (zh) 一种车载摄像头的标定方法、装置及终端设备
CN107407558A (zh) 测量工具、校准方法、校准装置和程序
CN111311671B (zh) 一种工件测量方法、装置、电子设备及存储介质
CN111189403B (zh) 一种隧道变形的监测方法、装置及计算机可读存储介质
CN113124763A (zh) 光轴检测系统的光轴标定方法、装置、终端、系统和介质
CN112504156A (zh) 一种基于前景网格的结构表面应变测量系统及测量方法
CN113050022B (zh) 一种基于旋转天线的图像定位方法、装置及终端设备
CN114841925A (zh) 一种测试设备对位计算方法、终端及存储介质
TW201317587A (zh) 尺寸檢測裝置及方法
CN107734324A (zh) 一种闪光灯照度均匀性的测量方法、系统及终端设备
CN110196422B (zh) 激光测距的测试方法、测试装置及移动终端
CN207395622U (zh) 一种在水准测量中确定前后视距相等的装置

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: 17936620

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: 17936620

Country of ref document: EP

Kind code of ref document: A1