CN110866956A - Robot calibration method and terminal - Google Patents
Robot calibration method and terminal Download PDFInfo
- Publication number
- CN110866956A CN110866956A CN201911028907.8A CN201911028907A CN110866956A CN 110866956 A CN110866956 A CN 110866956A CN 201911028907 A CN201911028907 A CN 201911028907A CN 110866956 A CN110866956 A CN 110866956A
- Authority
- CN
- China
- Prior art keywords
- calibration
- robot
- calibrated
- robots
- images
- 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.)
- Pending
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
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/30—Subject of image; Context of image processing
- G06T2207/30204—Marker
- G06T2207/30208—Marker matrix
Landscapes
- Engineering & Computer Science (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Manipulator (AREA)
Abstract
本申请适用于计算机技术领域,提供了一种机器人标定方法及终端,包括:获取待标定机器人拍摄的第一图像;基于每个所述第一标定图像中的角点坐标、第一目标角点坐标、每个所述第一图像对应的相机内参,计算每个所述第一图像对应的相机外参;基于每个所述第一图像对应的相机外参,确定每个所述待标定机器人的标定数据。上述方式,终端获取待标定机器人拍摄标定设备得到的图像,并基于该图像中的角点坐标、目标角点坐标、相机内参,计算得到待标定机器人对应的相机外参,从而得到待标定机器人的标定数据。这种标定方法标定成本低、灵活性好、效率高、步骤简单,利于机器人标定。
The present application is applicable to the field of computer technology, and provides a robot calibration method and terminal, including: acquiring a first image captured by a robot to be calibrated; coordinates, the camera internal parameters corresponding to each of the first images, and calculate the camera external parameters corresponding to each of the first images; based on the camera external parameters corresponding to each of the first images, determine each of the robots to be calibrated calibration data. In the above manner, the terminal obtains the image obtained by the robot to be calibrated by shooting the calibration device, and based on the corner coordinates, target corner coordinates, and camera internal parameters in the image, calculates and obtains the camera external parameters corresponding to the robot to be calibrated, thereby obtaining the image of the robot to be calibrated. Calibration data. This calibration method has low calibration cost, good flexibility, high efficiency and simple steps, which is beneficial to robot calibration.
Description
技术领域technical field
本申请属于计算机技术领域,尤其涉及一种机器人标定方法及终端。The present application belongs to the field of computer technology, and in particular, relates to a robot calibration method and a terminal.
背景技术Background technique
目前随着用工成本的增加,工厂产线对自动化生产的需求越来越大。另外,某些高温环境、空气污染作业环境、危险作业环境、强辐射作业环境等需要机器人来完成。因此,对机器人的位置标定显得尤为重要。At present, with the increase of labor costs, the demand for automated production in factory production lines is increasing. In addition, some high temperature environments, air pollution work environments, dangerous work environments, strong radiation work environments, etc. require robots to complete. Therefore, the position calibration of the robot is particularly important.
然而,现有的机器人标定方法,通过使用精密的测量仪器激光跟踪照射标定点获取标定数据(该标定数据可用于表示该机器人当前所处的位置)。这种标定方法,标定成本高、灵活性差、效率低、操作步骤繁琐,不利于机器人标定。However, in the existing robot calibration method, the calibration data (the calibration data can be used to represent the current position of the robot) is obtained by using a precise measuring instrument to track and illuminate the calibration point with laser light. This calibration method has high calibration cost, poor flexibility, low efficiency, and complicated operation steps, which is not conducive to robot calibration.
发明内容SUMMARY OF THE INVENTION
有鉴于此,本申请实施例提供了一种机器人标定方法及终端,以解决传统的机器人标定方法,导致标定成本高、灵活性差、效率低、操作步骤繁琐,不利于机器人标定的问题。In view of this, the embodiments of the present application provide a robot calibration method and terminal to solve the problems of traditional robot calibration methods, which lead to high calibration cost, poor flexibility, low efficiency, and complicated operation steps, which are not conducive to robot calibration.
本申请实施例的第一方面提供了一种机器人标定方法,包括:A first aspect of the embodiments of the present application provides a method for calibrating a robot, including:
获取待标定机器人拍摄的第一图像;所述第一图像包括第一标定设备上的标定板对应的第一标定图像;acquiring a first image captured by the robot to be calibrated; the first image includes a first calibration image corresponding to a calibration plate on the first calibration device;
基于每个所述第一标定图像中的角点坐标、第一目标角点坐标、每个所述第一图像对应的相机内参,计算每个所述第一图像对应的相机外参;所述第一目标角点坐标为所述第一标定设备上的标定板中与所述第一标定图像中的角点坐标对应的坐标;Based on the corner coordinates in each of the first calibration images, the coordinates of the first target corners, and the camera internal parameters corresponding to each of the first images, calculate the camera external parameters corresponding to each of the first images; the The coordinates of the first target corner point are the coordinates corresponding to the corner point coordinates in the first calibration image in the calibration plate on the first calibration device;
基于每个所述第一图像对应的相机外参,确定每个所述待标定机器人的标定数据。Based on the camera external parameters corresponding to each of the first images, calibration data of each of the robots to be calibrated is determined.
进一步地,为了准确、快速地计算每个相机外参,基于每个所述第一标定图像中的角点坐标、第一目标角点坐标、每个所述第一图像对应的相机内参,计算每个所述第一图像对应的相机外参可以包括:Further, in order to accurately and quickly calculate the external parameters of each camera, based on the coordinates of the corner points in each of the first calibration images, the coordinates of the corner points of the first target, and the internal parameters of the camera corresponding to each of the first images, calculate The camera extrinsic parameters corresponding to each of the first images may include:
基于每个所述第一标定图像中的角点坐标、每个所述第一目标角点坐标以及每个所述第一图像对应的相机内参,构建每个所述待标定机器人对应的标定方程组;Based on the corner coordinates in each of the first calibration images, the coordinates of each first target corner, and the camera internal parameters corresponding to each of the first images, a calibration equation corresponding to each of the robots to be calibrated is constructed Group;
求解每个所述标定方程组,得到每个所述待标定机器人对应的相机外参。Solve each of the calibration equations to obtain the camera external parameters corresponding to each of the robots to be calibrated.
进一步地,为了便于工厂中各个机器人相互协作,确定各个机器人相互的位置,本申请还包括:Further, in order to facilitate the mutual cooperation of each robot in the factory and to determine the mutual position of each robot, the present application also includes:
基于第一待标定机器人的标定数据调整第二待标定机器人的标定数据,得到第一目标数据;其中,所述第一待标定机器人为可拍摄到所述第一标定设备上的标定板的任一待标定机器人;所述第二待标定机器人为除所述第一待标定机器人外可拍摄到所述第一标定设备上的标定板的任一待标定机器人;所述第一目标数据用于表示所述第二待标定机器人相对于所述第一待标定机器人的位置。Adjust the calibration data of the second robot to be calibrated based on the calibration data of the first robot to be calibrated to obtain first target data; wherein the first robot to be calibrated is any device that can photograph the calibration plate on the first calibration device A robot to be calibrated; the second robot to be calibrated is any robot to be calibrated except the first robot to be calibrated that can photograph the calibration plate on the first calibration device; the first target data is used for Indicates the position of the second robot to be calibrated relative to the first robot to be calibrated.
进一步地,为了保证对每一个机器人都进行准确标定,本申请还包括:Further, in order to ensure accurate calibration of each robot, this application also includes:
当检测到还有未标定的机器人时,获取基于所述未标定的机器人拍摄的第二图像;所述第二图像包括第二标定设备上的标定板对应的第二标定图像;所述第二标定设备所处的位置与所述第一标定设备所处的位置不同;When an uncalibrated robot is detected, a second image captured based on the uncalibrated robot is acquired; the second image includes a second calibration image corresponding to the calibration plate on the second calibration device; the second The location where the calibration device is located is different from the location where the first calibration device is located;
基于每个所述第二标定图像中的角点坐标、第二目标角点坐标、每个所述第二图像对应的相机内参,计算每个所述第二图像对应的相机外参,其中,所述第二目标角点坐标为所述第二标定设备上的标定板中与所述第二标定图像中的角点坐标对应的坐标;Based on the corner coordinates in each second calibration image, the second target corner coordinates, and the camera internal parameters corresponding to each second image, the camera external parameters corresponding to each second image are calculated, wherein, The second target corner coordinates are the coordinates in the calibration plate on the second calibration device corresponding to the corner coordinates in the second calibration image;
基于每个所述第二图像对应的相机外参,确定每个所述未标定的机器人的标定数据。Based on the camera extrinsic parameters corresponding to each of the second images, calibration data of each of the uncalibrated robots is determined.
进一步地,为了便于工厂中各个机器人相互协作,确定各个机器人相互的位置,本申请还包括:Further, in order to facilitate the mutual cooperation of each robot in the factory and to determine the mutual position of each robot, the present application also includes:
基于所述第三待标定机器人的标定数据调整所述未标定的机器人的标定数据,得到第二目标数据;其中,所述第三待标定机器人为可拍摄到所述第一标定设备上的标定板,同时可拍摄到所述第二标定设备上的标定板的任一待标定机器人;所述第二目标数据用于表示所述未标定的机器人相对于所述第三待标定机器人的位置。Adjust the calibration data of the uncalibrated robot based on the calibration data of the third robot to be calibrated to obtain second target data; wherein the third robot to be calibrated is a calibration that can be photographed on the first calibration device At the same time, any robot to be calibrated on the calibration plate on the second calibration device can be photographed; the second target data is used to represent the position of the uncalibrated robot relative to the third robot to be calibrated.
进一步地,为了加快对待标定机器人的标定速度,实现同时对多个待标定机器人进行标定,便于在大型场景中对待标定机器人进行标定,当终端检测到待标定机器人的数量大于或等于预设阈值时,所述获取待标定机器人拍摄的第一图像包括:将所述待标定机器人分成至少两组,获取每组待标定机器人发送的待分析图像;其中,每组机器人对应一个第一标定设备,不同分组对应不同的第一标定设备;Further, in order to speed up the calibration speed of the robots to be calibrated, to achieve simultaneous calibration of multiple robots to be calibrated, it is convenient to calibrate the robots to be calibrated in large scenes, when the terminal detects that the number of robots to be calibrated is greater than or equal to the preset threshold. , the acquiring the first image captured by the robot to be calibrated includes: dividing the robots to be calibrated into at least two groups, and acquiring images to be analyzed sent by the robots to be calibrated in each group; wherein, each group of robots corresponds to a first calibration device, different Grouping corresponds to different first calibration devices;
将所述待分析图像按所述待标定机器人的分组标识进行分组,得到每组待标定机器人各自对应的第一图像;其中,所述第一图像与分组标识对应;Grouping the images to be analyzed according to the grouping identifiers of the robots to be calibrated, to obtain first images corresponding to each group of robots to be calibrated; wherein the first images correspond to the grouping identifiers;
所述基于每个所述第一图像对应的相机外参,确定每个所述待标定机器人的标定数据包括:基于每个所述第一图像对应的相机外参、每个所述第一图像所属的待标定机器人的分组标识,确定每个所述待标定机器人的标定数据。The determining the calibration data of each robot to be calibrated based on the camera extrinsic parameters corresponding to each of the first images includes: based on the camera extrinsic parameters corresponding to each of the first images, each of the first images The belonging group identifier of the robot to be calibrated determines the calibration data of each robot to be calibrated.
进一步地,为了便于工厂中各个机器人相互协作,确定各个机器人相互的位置,本申请还包括:Further, in order to facilitate the mutual cooperation of each robot in the factory and to determine the mutual position of each robot, the present application also includes:
从分组后的待标定机器人中确定目标机器人;所述目标机器人为同时属于所有分组的待标定机器人;Determine a target robot from the grouped robots to be calibrated; the target robot is a robot to be calibrated belonging to all groups at the same time;
基于所述分组标识,获取所述目标机器人在每个分组对应的标定数据;Based on the group identification, obtain the calibration data corresponding to each group of the target robot;
基于所述目标机器人在每个分组对应的标定数据,调整每个所述分组标识对应的待标定机器人的标定数据,得到第三目标数据;所述第三目标数据用于表示各组内每个待标定机器人相对于各组中所述目标机器人的位置。Based on the calibration data corresponding to the target robot in each group, the calibration data of the robot to be calibrated corresponding to each of the group identifiers is adjusted to obtain third target data; the third target data is used to represent each group in each group. The position of the robot to be calibrated relative to the target robot in each group.
本发明实施例的第二方面提供了一种终端,该终端包括:A second aspect of the embodiments of the present invention provides a terminal, and the terminal includes:
获取单元,用于获取待标定机器人拍摄的第一图像;所述第一图像包括第一标定设备上的标定板对应的第一标定图像;an acquisition unit, configured to acquire a first image captured by the robot to be calibrated; the first image includes a first calibration image corresponding to a calibration plate on the first calibration device;
计算单元,用于基于每个所述第一标定图像中的角点坐标、第一目标角点坐标、每个所述第一图像对应的相机内参,计算每个所述第一图像对应的相机外参;所述第一目标角点坐标为所述第一标定设备上的标定板中与所述第一标定图像中的角点坐标对应的坐标。A calculation unit, configured to calculate the camera corresponding to each of the first images based on the coordinates of the corners in each of the first calibration images, the coordinates of the corners of the first target, and the camera internal parameters corresponding to each of the first images External parameters; the coordinates of the first target corner point are the coordinates in the calibration board on the first calibration device that correspond to the coordinates of the corner points in the first calibration image.
确定单元,用于基于每个所述第一图像对应的相机外参,确定每个所述待标定机器人的标定数据。A determination unit, configured to determine calibration data of each of the robots to be calibrated based on the camera external parameters corresponding to each of the first images.
进一步地,所述计算单元具体用于:Further, the computing unit is specifically used for:
基于每个所述第一标定图像中的角点坐标、每个所述第一目标角点坐标以及每个所述第一图像对应的相机内参,构建每个所述待标定机器人对应的标定方程组;Based on the corner coordinates in each of the first calibration images, the coordinates of each first target corner, and the camera internal parameters corresponding to each of the first images, a calibration equation corresponding to each of the robots to be calibrated is constructed Group;
求解每个所述标定方程组,得到每个所述待标定机器人对应的相机外参。Solve each of the calibration equations to obtain the camera external parameters corresponding to each of the robots to be calibrated.
进一步地,终端还包括:Further, the terminal also includes:
第一调整单元,用于基于第一待标定机器人的标定数据调整第二待标定机器人的标定数据,得到第一目标数据;其中,所述第一待标定机器人为可拍摄到所述第一标定设备上的标定板的任一待标定机器人;所述第二待标定机器人为除所述第一待标定机器人外可拍摄到所述第一标定设备上的标定板的任一待标定机器人;所述第一目标数据用于表示所述第二待标定机器人相对于所述第一待标定机器人的位置。a first adjustment unit, configured to adjust the calibration data of the second robot to be calibrated based on the calibration data of the first robot to be calibrated to obtain first target data; wherein the first robot to be calibrated is capable of photographing the first calibration Any robot to be calibrated on the calibration board on the device; the second robot to be calibrated is any robot to be calibrated except the first robot to be calibrated that can photograph the calibration plate on the first calibration device; The first target data is used to represent the position of the second robot to be calibrated relative to the first robot to be calibrated.
进一步地,终端还包括:Further, the terminal also includes:
图像获取单元,用于当检测到还有未标定的机器人时,获取基于所述未标定的机器人拍摄的第二图像;所述第二图像包括第二标定设备上的标定板对应的第二标定图像;所述第二标定设备所处的位置与所述第一标定设备所处的位置不同;an image acquisition unit, configured to acquire a second image based on the uncalibrated robot when it is detected that there is still an uncalibrated robot; the second image includes a second calibration corresponding to the calibration plate on the second calibration device an image; the position of the second calibration device is different from the position of the first calibration device;
相机外参计算单元,用于基于每个所述第二标定图像中的角点坐标、第二目标角点坐标、每个所述第二图像对应的相机内参,计算每个所述第二图像对应的相机外参,其中,所述第二目标角点坐标为所述第二标定设备上的标定板中与所述第二标定图像中的角点坐标对应的坐标;A camera extrinsic parameter calculation unit, configured to calculate each of the second images based on the corner coordinates in each of the second calibration images, the coordinates of the second target corners, and the camera intrinsic parameters corresponding to each of the second images Corresponding camera external parameters, wherein the coordinates of the second target corner point are the coordinates corresponding to the corner point coordinates in the second calibration image in the calibration plate on the second calibration device;
标定数据确定单元,用于基于每个所述第二图像对应的相机外参,确定每个所述未标定的机器人的标定数据。A calibration data determination unit, configured to determine calibration data of each of the uncalibrated robots based on the camera extrinsic parameters corresponding to each of the second images.
所述未标定的机器人中至少包含一个第三待标定机器人;The uncalibrated robots at least include a third robot to be calibrated;
进一步地,终端还包括:Further, the terminal also includes:
第二调整单元,用于基于所述第三待标定机器人的标定数据调整所述未标定的机器人的标定数据,得到第二目标数据;其中,所述第三待标定机器人为可拍摄到所述第一标定设备上的标定板,同时可拍摄到所述第二标定设备上的标定板的任一待标定机器人;所述第二目标数据用于表示所述未标定的机器人相对于所述第三待标定机器人的位置。The second adjustment unit is configured to adjust the calibration data of the uncalibrated robot based on the calibration data of the third robot to be calibrated to obtain second target data; wherein the third robot to be calibrated is capable of photographing the The calibration plate on the first calibration device, and any robot to be calibrated on the calibration plate on the second calibration device can be photographed at the same time; the second target data is used to indicate that the uncalibrated robot is relative to the first calibration device. 3. The position of the robot to be calibrated.
所述待标定机器人的数量大于或等于预设阈值;The number of the robots to be calibrated is greater than or equal to a preset threshold;
进一步地,所述获取单元具体用于:Further, the acquisition unit is specifically used for:
将所述待标定机器人分成至少两组,获取每组待标定机器人发送的待分析图像;其中,每组机器人对应一个第一标定设备,不同分组对应不同的第一标定设备;Divide the robots to be calibrated into at least two groups, and obtain images to be analyzed sent by each group of robots to be calibrated; wherein, each group of robots corresponds to a first calibration device, and different groups correspond to different first calibration devices;
将所述待分析图像按所述待标定机器人的分组标识进行分组,得到每组待标定机器人各自对应的第一图像;其中,所述第一图像与分组标识对应。The images to be analyzed are grouped according to the grouping identifiers of the robots to be calibrated, and a first image corresponding to each group of robots to be calibrated is obtained; wherein, the first images correspond to the grouping identifiers.
进一步地,所述确定单元具体用于:基于每个所述第一图像对应的相机外参、每个所述第一图像所属的待标定机器人的分组标识,确定每个所述待标定机器人的标定数据。Further, the determining unit is specifically configured to: based on the camera external parameters corresponding to each first image and the group identification of the robot to be calibrated to which each first image belongs, to determine the robot to be calibrated. Calibration data.
进一步地,终端还包括:Further, the terminal also includes:
目标机器人确定单元,用于从分组后的待标定机器人中确定目标机器人;所述目标机器人为同时属于所有分组的待标定机器人;a target robot determination unit, used to determine the target robot from the grouped robots to be calibrated; the target robot is the to-be-calibrated robot belonging to all groups at the same time;
数据获取单元,用于基于所述分组标识,获取所述目标机器人在每个分组对应的标定数据;a data acquisition unit, configured to acquire calibration data corresponding to each group of the target robot based on the group identification;
第三调整单元,用于基于所述目标机器人在每个分组对应的标定数据,调整每个所述分组标识对应的待标定机器人的标定数据,得到第三目标数据;所述第三目标数据用于表示各组内每个待标定机器人相对于各组中所述目标机器人的位置。The third adjustment unit is configured to adjust the calibration data of the robot to be calibrated corresponding to each of the group identifiers based on the calibration data corresponding to the target robot in each group, to obtain third target data; the third target data uses where represents the position of each robot to be calibrated in each group relative to the target robot in each group.
本发明实施例的第三方面提供了另一种终端,包括处理器、输入设备、输出设备和存储器,所述处理器、输入设备、输出设备和存储器相互连接,其中,所述存储器用于存储支持终端执行上述方法的计算机程序,所述计算机程序包括程序指令,所述处理器被配置用于调用所述程序指令,执行以下步骤:A third aspect of the embodiments of the present invention provides another terminal, including a processor, an input device, an output device, and a memory, wherein the processor, the input device, the output device, and the memory are connected to each other, wherein the memory is used for storing A computer program that supports the terminal to perform the above method, the computer program includes program instructions, and the processor is configured to invoke the program instructions to perform the following steps:
获取待标定机器人拍摄的第一图像;所述第一图像包括第一标定设备上的标定板对应的第一标定图像;acquiring a first image captured by the robot to be calibrated; the first image includes a first calibration image corresponding to a calibration plate on the first calibration device;
基于每个所述第一标定图像中的角点坐标、第一目标角点坐标、每个所述第一图像对应的相机内参,计算每个所述第一图像对应的相机外参;所述第一目标角点坐标为所述第一标定设备上的标定板中与所述第一标定图像中的角点坐标对应的坐标;Based on the corner coordinates in each of the first calibration images, the coordinates of the first target corners, and the camera internal parameters corresponding to each of the first images, calculate the camera external parameters corresponding to each of the first images; the The coordinates of the first target corner point are the coordinates corresponding to the corner point coordinates in the first calibration image in the calibration plate on the first calibration device;
基于每个所述第一图像对应的相机外参,确定每个所述待标定机器人的标定数据。Based on the camera external parameters corresponding to each of the first images, calibration data of each of the robots to be calibrated is determined.
本发明实施例的第四方面提供了一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行时实现以下步骤:A fourth aspect of the embodiments of the present invention 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, the following steps are implemented:
获取待标定机器人拍摄的第一图像;所述第一图像包括第一标定设备上的标定板对应的第一标定图像;acquiring a first image captured by the robot to be calibrated; the first image includes a first calibration image corresponding to a calibration plate on the first calibration device;
基于每个所述第一标定图像中的角点坐标、第一目标角点坐标、每个所述第一图像对应的相机内参,计算每个所述第一图像对应的相机外参;所述第一目标角点坐标为所述第一标定设备上的标定板中与所述第一标定图像中的角点坐标对应的坐标;Based on the corner coordinates in each of the first calibration images, the coordinates of the first target corners, and the camera internal parameters corresponding to each of the first images, calculate the camera external parameters corresponding to each of the first images; the The coordinates of the first target corner point are the coordinates corresponding to the corner point coordinates in the first calibration image in the calibration plate on the first calibration device;
基于每个所述第一图像对应的相机外参,确定每个所述待标定机器人的标定数据。Based on the camera external parameters corresponding to each of the first images, calibration data of each of the robots to be calibrated is determined.
本申请实施例提供的一种机器人标定方法及终端具有以下有益效果:The robot calibration method and terminal provided by the embodiments of the present application have the following beneficial effects:
本申请实施例,通过获取待标定机器人拍摄的第一图像;基于每个所述第一标定图像中的角点坐标、第一目标角点坐标、每个所述第一图像对应的相机内参,计算每个所述第一图像对应的相机外参;基于每个所述第一图像对应的相机外参,确定每个所述待标定机器人的标定数据。上述方式,终端获取待标定机器人拍摄标定设备得到的图像,并基于该图像中的角点坐标、目标角点坐标、相机内参,计算得到待标定机器人对应的相机外参,从而得到待标定机器人的标定数据。这种标定方法,只需标定设备以及终端就可实现,不需要精密的测量仪器,标定成本低;标定设备可根据待标定机器人的位置进行移动,灵活性非常高;且这种标定方法可同时对多个待标定机器人进行标定,提高了机器人标定效率;整个标定过程主要由待标定机器人、终端、标定设备完成,操作步骤简单,利于机器人标定。In this embodiment of the present application, by acquiring the first image captured by the robot to be calibrated; based on the corner coordinates in each of the first calibration images, the coordinates of the first target corners, and the camera internal parameters corresponding to each of the first images, Calculate the camera extrinsic parameters corresponding to each of the first images; and determine calibration data of each of the robots to be calibrated based on the camera extrinsic parameters corresponding to each of the first images. In the above manner, the terminal obtains the image obtained by the robot to be calibrated by shooting the calibration device, and based on the corner coordinates, target corner coordinates, and camera internal parameters in the image, calculates and obtains the camera external parameters corresponding to the robot to be calibrated, thereby obtaining the image of the robot to be calibrated. Calibration data. This calibration method can be realized only by the calibration equipment and the terminal, without the need for precise measuring instruments, and the calibration cost is low; the calibration equipment can be moved according to the position of the robot to be calibrated, and the flexibility is very high; and this calibration method can be used at the same time. The calibration of multiple robots to be calibrated improves the robot calibration efficiency; the entire calibration process is mainly completed by the robot to be calibrated, the terminal, and the calibration equipment, and the operation steps are simple, which is conducive to robot calibration.
附图说明Description of drawings
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。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 a kind of robot calibration method provided by an embodiment of the present application;
图2是本申请提供的标定设备示意图;2 is a schematic diagram of the calibration equipment provided by the application;
图3是本申请另一实施例提供的一种机器人标定方法的实现流程图;Fig. 3 is the realization flow chart of a kind of robot calibration method provided by another embodiment of the present application;
图4是本申请又一实施例提供的一种机器人标定方法的实现流程图;Fig. 4 is the realization flow chart of a kind of robot calibration method provided by another embodiment of the present application;
图5是本申请再一实施例提供的一种机器人标定方法的实现流程图;Fig. 5 is the realization flow chart of a kind of robot calibration method provided by still another embodiment of the present application;
图6是本申请一实施例提供的一种终端的示意图;FIG. 6 is a schematic diagram of a terminal provided by an embodiment of the present application;
图7是本申请另一实施例提供的一种终端的示意图。FIG. 7 is a schematic diagram of a terminal according to another embodiment of the present application.
具体实施方式Detailed ways
为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。In order to make the purpose, technical solutions and advantages of the present application more clearly understood, the present application will be described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application, but not to limit the present application.
请参见图1,图1是本发明实施例提供的一种机器人标定方法的示意流程图。本实施例中机器人标定方法的执行主体为终端,终端包括但不限于计算机、智能手机、台式电脑、平板电脑、个人数字助理(Personal Digital Assistant,PDA)等移动终端。如图1所示的机器人标定方法可包括:Please refer to FIG. 1. FIG. 1 is a schematic flowchart of a method for calibrating a robot according to an embodiment of the present invention. The execution subject of the robot calibration method in this embodiment is a terminal, and the terminal includes but is not limited to a mobile terminal such as a computer, a smart phone, a desktop computer, a tablet computer, and a Personal Digital Assistant (PDA). The robot calibration method shown in Figure 1 may include:
S101:获取待标定机器人拍摄的第一图像;所述第一图像包括第一标定设备上的标定板对应的第一标定图像。S101: Acquire a first image captured by a robot to be calibrated; the first image includes a first calibration image corresponding to a calibration plate on a first calibration device.
标定设备是一种用于辅助终端,对待标定机器人进行标定的设备。如图2所示的一种标定设备,该设备包含底座、锥形塔式标定板、支撑立柱。底座下方设置有多个轮子,可带动该标定设备自由移动;锥形塔式标定板由多个等腰梯形面共同组成,每个等腰梯形面上设有黑白相间的棋盘状方格。支撑立柱用于连接底座与锥形塔式标定板,该支撑立柱可由电机带动进行旋转,进而带动锥形塔式标定板进行旋转,且支撑立柱的长度可以调节,用户可将该标定设备的锥形塔式标定板调节至合适的高度。用户可预先为该标定设备设置对应的坐标系,如图2所示,以该标定设备的底座中心为原点,建立坐标系(Rx,Ry,Rz);通过该坐标系可确定每个等腰梯形面上的方格对应的坐标。其中,等腰梯形面的数量由用户自由设置、调整,例如一个标定设备的锥形塔式标定板可以由3个等腰梯形面组成,或者一个标定设备的锥形塔式标定板可以由5个等腰梯形面组成;此处仅为示例性说明,对此不做限定。值得说明的是,本实施例中提到的标定设备的标定板就是指标定设备的锥形塔式标定板。The calibration device is a device used to assist the terminal to calibrate the robot to be calibrated. A calibration device as shown in Figure 2, the device includes a base, a conical tower calibration plate, and a supporting column. There are multiple wheels under the base, which can drive the calibration equipment to move freely; the conical tower calibration plate is composed of multiple isosceles trapezoid surfaces, and each isosceles trapezoid surface is provided with black and white checkerboard-shaped squares. The supporting column is used to connect the base and the conical tower calibration plate. The supporting column can be driven by the motor to rotate, which in turn drives the conical tower calibration plate to rotate. The length of the supporting column can be adjusted. The tower-type calibration plate is adjusted to the appropriate height. The user can set the corresponding coordinate system for the calibration device in advance, as shown in Figure 2, take the center of the base of the calibration device as the origin to establish a coordinate system (R x , R y , R z ); The coordinates corresponding to the squares on the isosceles trapezoid surface. Among them, the number of isosceles trapezoid surfaces can be freely set and adjusted by the user. For example, the conical tower calibration plate of a calibration device can be composed of 3 isosceles trapezoid surfaces, or the conical tower calibration plate of a calibration device can be composed of 5 It is composed of two isosceles trapezoid surfaces; this is only an exemplary illustration, which is not limited. It is worth noting that the calibration plate of the calibration device mentioned in this embodiment is the conical tower calibration plate of the calibration device.
本实施例中这些待标定机器人对应的标定设备相同,即这些待标定机器人都对应第一标定设备。用户可预先将该第一标定设备放置在第一预设位置,该位置可使多台待标定机器人都可拍摄到该第一标定设备。进一步地,用户可调节该第一标定设备的高度,使每个待标定机器人拍摄第一标定设备得到的第一图像的效果最佳。In this embodiment, the calibration devices corresponding to the robots to be calibrated are the same, that is, the robots to be calibrated all correspond to the first calibration device. The user can place the first calibration device in a first preset position in advance, and the position can enable the first calibration device to be photographed by multiple robots to be calibrated. Further, the user can adjust the height of the first calibration device, so that each robot to be calibrated has the best effect of the first image obtained by shooting the first calibration device.
终端获取待标定机器人拍摄的第一图像。具体地,待标定机器人上安装有摄像头,待标定机器人通过该摄像头拍摄与其对应的标定设备,得到第一图像;该第一图像中包括该标定设备上的标定板对应的第一标定图像。该待标定机器人将拍摄到的第一图像以及机器人标识信息发送至终端,终端接收待标定机器人发送的第一图像以及机器人标识信息;终端在第一图像中提取该标定设备上的标定板对应的第一标定图像,并保存该第一标定图像。The terminal acquires the first image captured by the robot to be calibrated. Specifically, a camera is installed on the robot to be calibrated, and the robot to be calibrated shoots its corresponding calibration device through the camera to obtain a first image; the first image includes a first calibration image corresponding to a calibration plate on the calibration device. The robot to be calibrated sends the captured first image and the robot identification information to the terminal, and the terminal receives the first image and the robot identification information sent by the robot to be calibrated; the terminal extracts the first image from the first image corresponding to the calibration board on the calibration device the first calibration image, and save the first calibration image.
S102:基于每个所述第一标定图像中的角点坐标、第一目标角点坐标、每个所述第一图像对应的相机内参,计算每个所述第一图像对应的相机外参;所述第一目标角点坐标为所述第一标定设备上的标定板中与所述第一标定图像中的角点坐标对应的坐标。S102: Calculate the camera extrinsic parameters corresponding to each first image based on the corner coordinates in each of the first calibration images, the first target corner coordinates, and the camera intrinsic parameters corresponding to each first image; The coordinates of the first target corner point are coordinates in the calibration plate on the first calibration device that correspond to the coordinates of the corner points in the first calibration image.
终端基于每个第一标定图像中的角点坐标、第一目标角点坐标、每个第一图像对应的相机内参,计算每个第一图像对应的相机外参。其中,相机内参为拍摄该第一图像的待标定机器人上的摄像头对应的相机内参,该相机内参由该摄像头出厂时携带;第一目标角点坐标为第一标定设备上的标定板中与第一标定图像中的角点坐标对应的坐标,即第一标定图像中的每个角点坐标,在该第一标定设备的标定板中,都有一个与其对应的坐标。相机外参为该第一图像对应的相机外参,也可理解为拍摄该第一图像的待标定机器人上的摄像头对应的相机外参。The terminal calculates the camera extrinsic parameters corresponding to each first image based on the corner coordinates in each first calibration image, the first target corner coordinates, and the camera intrinsic parameters corresponding to each first image. The camera internal parameter is the camera internal parameter corresponding to the camera on the robot to be calibrated that captures the first image, and the camera internal parameter is carried by the camera when it leaves the factory; the coordinates of the first target corner point are the coordinates of the A coordinate corresponding to a corner coordinate in a calibration image, that is, each corner coordinate in the first calibration image, has a corresponding coordinate in the calibration plate of the first calibration device. The camera extrinsic parameter is the camera extrinsic parameter corresponding to the first image, and can also be understood as the camera extrinsic parameter corresponding to the camera on the robot to be calibrated that captures the first image.
具体地,终端获取第一图像对应的相机内参,即获取待标定机器人上用于拍摄第一图像的摄像头对应的相机内参。终端获取该待标定机器人对应的第一标定图像中的角点坐标,并获取与每个角点坐标对应的第一目标角点坐标。根据该待标定机器人对应的角点坐标、目标角点坐标、相机内参构建与该标定机器人对应的方程组,求解该方程组,得到第一图像对应的相机外参。需要说明的是,终端是根据一个待标定机器人对应的角点坐标、第一目标角点坐标、相机内参,构建该待标定机器人对应的方程组,求解方程组得到该待标定机器人拍摄的第一图像对应的相机外参。终端用同样的方式为每个待标定机器人都构建了与其对应的方程组,求解每个方程组就可得到每个待标定机器人拍摄的第一图像对应的相机外参。Specifically, the terminal acquires the camera internal parameters corresponding to the first image, that is, acquires the camera internal parameters corresponding to the camera on the robot to be calibrated for capturing the first image. The terminal acquires the corner coordinates in the first calibration image corresponding to the robot to be calibrated, and acquires the first target corner coordinates corresponding to each corner coordinate. According to the corner coordinates corresponding to the robot to be calibrated, the target corner coordinates, and the camera internal parameters, an equation set corresponding to the calibration robot is constructed, and the equation set is solved to obtain the camera external parameters corresponding to the first image. It should be noted that the terminal constructs the equation system corresponding to the robot to be calibrated according to the corner coordinates corresponding to the robot to be calibrated, the coordinates of the first target corner, and the camera internal parameters, and solves the equation system to obtain the first image captured by the robot to be calibrated. The camera extrinsic parameters corresponding to the image. The terminal constructs a corresponding set of equations for each robot to be calibrated in the same way, and by solving each set of equations, the camera external parameters corresponding to the first image captured by each robot to be calibrated can be obtained.
进一步地,为了准确、快速地计算每个相机外参,S102可以包括S1021-S1022,具体如下:Further, in order to accurately and quickly calculate the external parameters of each camera, S102 may include S1021-S1022, as follows:
S1021:基于每个所述第一标定图像中的角点坐标、每个所述第一目标角点坐标以及每个所述第一图像对应的相机内参,构建每个所述待标定机器人对应的标定方程组。S1021: Based on the corner coordinates in each of the first calibration images, the coordinates of the corners of each of the first targets, and the camera internal parameters corresponding to each of the first images, construct a corresponding robot to be calibrated. Calibration equation system.
终端获取每个待标定机器人对应的角点坐标,以及与每个角点坐标对应的第一目标角点坐标。其中,每个待标定机器人对应的角点坐标的数量大于或等于预设数量,该预设数量由用户自行设置,例如一个待标定机器人对应的角点坐标的数量可以为6个、15个等,相应地,第一目标角度坐标的数量与角点坐标的数量对应。The terminal acquires the corner coordinates corresponding to each robot to be calibrated, and the first target corner coordinates corresponding to each corner coordinate. The number of corner coordinates corresponding to each robot to be calibrated is greater than or equal to a preset number, and the preset number is set by the user. For example, the number of corner coordinates corresponding to a robot to be calibrated can be 6, 15, etc. , correspondingly, the number of first target angle coordinates corresponds to the number of corner coordinates.
终端基于机器人标识信息获取第一图像对应的相机内参,即获取机器人标识信息标识的待标定机器人上的摄像头对应的相机内参。例如,终端基于机器人标识信息发送相机内参获取信息至待标定机器人,待标定机器人接收到相机内参获取信息时,获取摄像头对应的相机内参,并将相机内参发送至终端。The terminal obtains the camera internal parameters corresponding to the first image based on the robot identification information, that is, obtains the camera internal parameters corresponding to the camera on the robot to be calibrated identified by the robot identification information. For example, the terminal sends the camera internal parameter acquisition information to the robot to be calibrated based on the robot identification information. When the to-be-calibrated robot receives the camera internal parameter acquisition information, it obtains the camera internal parameters corresponding to the camera, and sends the camera internal parameters to the terminal.
终端根据每个待标定机器人对应的一个角点坐标、与该角点坐标对应的一个第一目标角点坐标,以及该待标定机器人对应的相机内参,可以构建一个与该待标定机器人对应的方程式。获取了多少数量的角点坐标就可构建多少个该待标定机器人对应的方程式。将该待标定机器人对应的多个方程式组合生成一个待标定机器人对应的标定方程组。The terminal can construct an equation corresponding to the robot to be calibrated according to the coordinates of a corner point corresponding to each robot to be calibrated, the coordinates of a first target corner point corresponding to the coordinates of the corner point, and the camera internal parameters corresponding to the robot to be calibrated . The number of equations corresponding to the robot to be calibrated can be constructed according to the number of corner coordinates obtained. A set of calibration equations corresponding to the robot to be calibrated is generated by combining multiple equations corresponding to the robot to be calibrated.
例如,待标定机器人A对应的第一标定图像中的一个角点坐标为(u1,v1,1),与该角点坐标对应的一个第一目标角点坐标为(Xi,Yi,Zi,1),待标定机器人A对应的相机内参为构建得到待标定机器人A对应的一个方程式为:其中,为待标定机器人A的第一图像对应的相机外参;(u0,v0)表示摄像头对应的坐标系中光轴投影坐标系中的主点坐标。终端针对该待标定机器人A构建多个上述的方程式,组成该待标定机器人A对应的标定方程组。For example, the coordinates of a corner point in the first calibration image corresponding to the robot A to be calibrated are (u 1 , v 1 , 1), and the coordinates of a first target corner point corresponding to the coordinates of the corner point are (X i , Y i ,Z i ,1), the camera internal parameters corresponding to robot A to be calibrated are An equation corresponding to the robot A to be calibrated is constructed as: in, is the camera external parameter corresponding to the first image of the robot A to be calibrated; (u 0 , v 0 ) represents the principal point coordinate in the optical axis projection coordinate system in the coordinate system corresponding to the camera. The terminal constructs a plurality of the above equations for the robot A to be calibrated to form a calibration equation group corresponding to the robot A to be calibrated.
S1022:求解每个所述标定方程组,得到每个所述待标定机器人对应的相机外参。S1022: Solve each of the calibration equations to obtain camera external parameters corresponding to each of the robots to be calibrated.
终端可通过最小二乘法求解每个待标定机器人对应的标定方程组,得到每个待标定机器人对应的相机外参。即终端求解的是哪个待标定机器人对应的标定方程组,得到的就是哪个待标定机器人对应的相机外参。例如,终端求解S1021中的方程组,得到的值,该值就是待标定机器人A对应的相机外参,也可称为待标定机器人A对应的第一图像的相机外参。The terminal can solve the calibration equation set corresponding to each robot to be calibrated by the least square method, and obtain the camera external parameters corresponding to each robot to be calibrated. That is, the terminal solves the calibration equations corresponding to the robot to be calibrated, and obtains the camera external parameters corresponding to the robot to be calibrated. For example, the terminal solves the equation system in S1021 to get The value is the camera extrinsic parameter corresponding to the robot A to be calibrated, and may also be referred to as the camera extrinsic parameter of the first image corresponding to the robot A to be calibrated.
S103:基于每个所述第一图像对应的相机外参,确定每个所述待标定机器人的标定数据。S103: Determine calibration data of each of the robots to be calibrated based on the camera external parameters corresponding to each of the first images.
终端基于每个相机外参,确定每个待标定机器人的标定数据,该标定数据可以表示待标定机器人的位置。该相机外参是通过哪个待标定机器人对应的方程组求解得到,则该相机外参就对应哪个待标定机器人。具体地,终端计算得到的相机外参,即得到拍摄第一图像的待标定机器人上的摄像头对应的相机外参,相当于得到了该待标定机器人的标定数据。终端将该相机外参直接作为该待标定机器人的标定数据;也可将该相机外参转换为坐标,将转换得到的坐标作为该待标定机器人的标定数据。The terminal determines the calibration data of each robot to be calibrated based on the external parameters of each camera, and the calibration data can represent the position of the robot to be calibrated. The camera external parameter is obtained by solving the equation system corresponding to the robot to be calibrated, and the camera external parameter corresponds to the robot to be calibrated. Specifically, the camera external parameters calculated by the terminal, that is, the camera external parameters corresponding to the camera on the robot to be calibrated that captures the first image are obtained, which is equivalent to obtaining the calibration data of the robot to be calibrated. The terminal directly uses the camera external parameters as the calibration data of the robot to be calibrated; it can also convert the camera external parameters into coordinates, and use the converted coordinates as the calibration data of the robot to be calibrated.
本申请实施例,通过获取待标定机器人拍摄的第一图像;基于每个所述第一标定图像中的角点坐标、第一目标角点坐标、每个所述第一图像对应的相机内参,计算每个所述第一图像对应的相机外参;基于每个所述第一图像对应的相机外参,确定每个所述待标定机器人的标定数据。上述方式,终端获取待标定机器人拍摄标定设备得到的图像,并基于该图像中的角点坐标、目标角点坐标、相机内参,计算得到待标定机器人对应的相机外参,从而得到待标定机器人的标定数据。这种标定方法,只需标定设备以及终端就可实现,不需要精密的测量仪器,标定成本低;标定设备可根据待标定机器人的位置进行移动,灵活性非常高;且这种标定方法可同时对多个待标定机器人进行标定,提高了机器人标定效率;整个标定过程主要由待标定机器人、终端、标定设备完成,操作步骤简单,利于机器人标定。In this embodiment of the present application, by acquiring the first image captured by the robot to be calibrated; based on the corner coordinates in each of the first calibration images, the coordinates of the first target corners, and the camera internal parameters corresponding to each of the first images, Calculate the camera extrinsic parameters corresponding to each of the first images; and determine calibration data of each of the robots to be calibrated based on the camera extrinsic parameters corresponding to each of the first images. In the above manner, the terminal obtains the image obtained by the robot to be calibrated by shooting the calibration device, and based on the corner coordinates, target corner coordinates, and camera internal parameters in the image, calculates and obtains the camera external parameters corresponding to the robot to be calibrated, thereby obtaining the image of the robot to be calibrated. Calibration data. This calibration method can be realized only by the calibration equipment and the terminal, without the need for precise measuring instruments, and the calibration cost is low; the calibration equipment can be moved according to the position of the robot to be calibrated, and the flexibility is very high; and this calibration method can be used at the same time. The calibration of multiple robots to be calibrated improves the robot calibration efficiency; the entire calibration process is mainly completed by the robot to be calibrated, the terminal, and the calibration equipment, and the operation steps are simple, which is conducive to robot calibration.
请参见图3,图3是本发明另一实施例提供的一种机器人标定方法的示意流程图。本实施例中机器人标定方法的执行主体为终端,终端包括但不限于计算机、智能手机、台式电脑、平板电脑、个人数字助理(Personal Digital Assistant,PDA)等移动终端。Please refer to FIG. 3 , which is a schematic flowchart of a method for calibrating a robot according to another embodiment of the present invention. The execution subject of the robot calibration method in this embodiment is a terminal, and the terminal includes but is not limited to a mobile terminal such as a computer, a smart phone, a desktop computer, a tablet computer, and a Personal Digital Assistant (PDA).
本实施例与图1对应的实施例的区别为S204,本实施例中S201-S203与图1对应的实施例中的S101-S103完全相同,具体请参阅图1对应的实施例中S101-S103的相关描述,此处不赘述。为了便于各个机器人相互协作,确定各个机器人相互的位置,在S203之后还可包括S204,具体如下:The difference between this embodiment and the embodiment corresponding to FIG. 1 is S204. S201-S203 in this embodiment are exactly the same as S101-S103 in the embodiment corresponding to FIG. 1 . For details, please refer to S101-S103 in the embodiment corresponding to FIG. 1 . The related descriptions are not repeated here. In order to facilitate the mutual cooperation of each robot and determine the mutual position of each robot, S204 may also be included after S203, and the details are as follows:
S204:基于第一待标定机器人的标定数据调整第二待标定机器人的标定数据,得到第一目标数据;其中,所述第一待标定机器人为可拍摄到所述第一标定设备上的标定板的任一待标定机器人;所述第二待标定机器人为除所述第一待标定机器人外可拍摄到所述第一标定设备上的标定板的任一待标定机器人;所述第一目标数据用于表示所述第二待标定机器人相对于所述第一待标定机器人的位置。S204: Adjust the calibration data of the second robot to be calibrated based on the calibration data of the first robot to be calibrated to obtain first target data; wherein the first robot to be calibrated is a calibration plate that can be photographed on the first calibration device any robot to be calibrated; the second robot to be calibrated is any robot to be calibrated except the first robot to be calibrated that can photograph the calibration plate on the first calibration device; the first target data It is used to indicate the position of the second robot to be calibrated relative to the first robot to be calibrated.
终端基于第一待标定机器人的标定数据调整第二待标定机器人的标定数据,得到第一目标数据。其中,第一待标定机器人为可拍摄到第一标定设备上的标定板的任一待标定机器人。例如,有M个待标定机器人对应同一个第一标定设备,即这M个待标定机器人均可拍摄到第一标定设备上的标定板,则这M个待标定机器人中任一个均可作为第一待标定机器人。第二待标定机器人为除第一待标定机器人外可拍摄到第一标定设备上的标定板的任一待标定机器人。例如,还是这M个待标定机器人,其中任意一个作为第一待标定机器人,则这M个待标定机器人中除第一待标定机器人外,任意一个机器人均可作为第二待标定机器人。第一目标数据用于表示第二待标定机器人相对于第一待标定机器人的位置。例如,这M个待标定机器人中一个作为第一待标定机器人,第一目标数据就表示这M个待标定机器人中其余每个待标定机器人相对于这个第一待标定机器人的位置。The terminal adjusts the calibration data of the second robot to be calibrated based on the calibration data of the first robot to be calibrated to obtain first target data. The first robot to be calibrated is any robot to be calibrated that can photograph the calibration plate on the first calibration device. For example, if there are M robots to be calibrated corresponding to the same first calibration device, that is, all the M robots to be calibrated can photograph the calibration plate on the first calibration device, then any one of the M robots to be calibrated can be used as the first calibration device. Once the robot is to be calibrated. The second robot to be calibrated is any robot to be calibrated that can photograph the calibration plate on the first calibration device except the first robot to be calibrated. For example, if any one of the M robots to be calibrated is the first robot to be calibrated, any one of the M robots to be calibrated can be used as the second robot to be calibrated except the first robot to be calibrated. The first target data is used to represent the position of the second robot to be calibrated relative to the first robot to be calibrated. For example, one of the M robots to be calibrated is used as the first robot to be calibrated, and the first target data represents the position of each other robot to be calibrated relative to the first robot to be calibrated in the M robots to be calibrated.
具体地,终端将第一待标定机器人的标定数据作为基准数据,相当于参考数据,其余第二待标定机器人可根据该基准数据调整自身的标定数据,将调整后的数据记为第一目标数据。例如,获取第一待标定机器人的标定数据中包含的向量,获取第二待标定机器人的标定数据中包含的向量,对两个向量进行向量运算,即用后者的向量减去前者的向量,将相减得到的向量作为第二待标定机器人的标定数据,即作为第一目标数据。该第一目标数据可表示第二待标定机器人相对于第一待标定机器人的位置。Specifically, the terminal takes the calibration data of the first robot to be calibrated as reference data, which is equivalent to reference data, and the remaining second robots to be calibrated can adjust their own calibration data according to the reference data, and mark the adjusted data as the first target data . For example, obtain the vector included in the calibration data of the first robot to be calibrated, obtain the vector included in the calibration data of the second robot to be calibrated, and perform vector operations on the two vectors, that is, subtract the former vector from the latter vector, The vector obtained by the subtraction is used as the calibration data of the second robot to be calibrated, that is, as the first target data. The first target data may represent the position of the second robot to be calibrated relative to the first robot to be calibrated.
进一步地,由于第一待标定机器人为可拍摄到第一标定设备上的标定板的任一待标定机器人,可通过设置不同的第一待标定机器人,进而调整其余第二待标定机器人的标定数据,得到不同的第一目标数据,从而得到这M个待标定机器人中任意两个机器人之间的位置关系。这样更方便工厂中的机器人相互协作,进而提高了工作效率,也便于用户管理。Further, since the first robot to be calibrated is any robot to be calibrated that can photograph the calibration plate on the first calibration device, the calibration data of the remaining second robots to be calibrated can be adjusted by setting different first robots to be calibrated. , to obtain different first target data, thereby obtaining the positional relationship between any two robots in the M robots to be calibrated. This makes it easier for robots in the factory to collaborate with each other, thereby improving work efficiency and facilitating user management.
本申请实施例,通过获取待标定机器人拍摄的第一图像;基于每个所述第一标定图像中的角点坐标、第一目标角点坐标、每个所述第一图像对应的相机内参,计算每个所述第一图像对应的相机外参;基于每个所述第一图像对应的相机外参,确定每个所述待标定机器人的标定数据。上述方式,终端获取待标定机器人拍摄标定设备得到的图像,并基于该图像中的角点坐标、目标角点坐标、相机内参,计算得到待标定机器人对应的相机外参,从而得到待标定机器人的标定数据。这种标定方法,只需标定设备以及终端就可实现,不需要精密的测量仪器,标定成本低;标定设备可根据待标定机器人的位置进行移动,灵活性非常高;且这种标定方法可同时对多个待标定机器人进行标定,提高了机器人标定效率;整个标定过程主要由待标定机器人、终端、标定设备完成,操作步骤简单,利于机器人标定。In this embodiment of the present application, by acquiring the first image captured by the robot to be calibrated; based on the corner coordinates in each of the first calibration images, the coordinates of the first target corners, and the camera internal parameters corresponding to each of the first images, Calculate the camera extrinsic parameters corresponding to each of the first images; and determine calibration data of each of the robots to be calibrated based on the camera extrinsic parameters corresponding to each of the first images. In the above manner, the terminal obtains the image obtained by the robot to be calibrated by shooting the calibration device, and based on the corner coordinates, target corner coordinates, and camera internal parameters in the image, calculates and obtains the camera external parameters corresponding to the robot to be calibrated, thereby obtaining the image of the robot to be calibrated. Calibration data. This calibration method can be realized only by the calibration equipment and the terminal, without the need for precise measuring instruments, and the calibration cost is low; the calibration equipment can be moved according to the position of the robot to be calibrated, and the flexibility is very high; and this calibration method can be used at the same time. The calibration of multiple robots to be calibrated improves the robot calibration efficiency; the entire calibration process is mainly completed by the robot to be calibrated, the terminal, and the calibration equipment, and the operation steps are simple, which is conducive to robot calibration.
请参见图4,图4是本发明又一实施例提供的一种机器人标定方法的示意流程图。本实施例中机器人标定方法的执行主体为终端,终端包括但不限于计算机、智能手机、台式电脑、平板电脑、个人数字助理(Personal Digital Assistant,PDA)等移动终端。Please refer to FIG. 4. FIG. 4 is a schematic flowchart of a method for calibrating a robot according to another embodiment of the present invention. The execution subject of the robot calibration method in this embodiment is a terminal, and the terminal includes but is not limited to a mobile terminal such as a computer, a smart phone, a desktop computer, a tablet computer, and a Personal Digital Assistant (PDA).
本实施例与图1对应的实施例的区别为S304-S307,本实施例中S301-S303与图1对应的实施例中的S101-S103完全相同,具体请参阅图1对应的实施例中S101-S103的相关描述,此处不赘述。为了保证对每一个机器人都进行准确标定,在S303之后还可包括S304-S306,具体如下:The difference between this embodiment and the embodiment corresponding to FIG. 1 is S304-S307, and S301-S303 in this embodiment are exactly the same as S101-S103 in the embodiment corresponding to FIG. 1. For details, please refer to S101 in the embodiment corresponding to FIG. 1 . -The relevant description of S103 is not repeated here. In order to ensure accurate calibration of each robot, S304-S306 can also be included after S303, as follows:
S304:当检测到还有未标定的机器人时,获取基于所述未标定的机器人拍摄的第二图像;所述第二图像包括第二标定设备上的标定板对应的第二标定图像;所述第二标定设备所处的位置与所述第一标定设备所处的位置不同。S304: when it is detected that there is still an uncalibrated robot, obtain a second image taken based on the uncalibrated robot; the second image includes a second calibration image corresponding to a calibration plate on the second calibration device; the The location of the second calibration device is different from the location of the first calibration device.
终端检测当前是否还有未被标定的待标定机器人,即检测是否还有未标定的机器人。终端可通过待标定机器人的机器人标识信息查找每个待标定机器人的标定数据,当检测到某个机器人没有对应的标定数据时,判定该待标定机器人为未标定的机器人。The terminal detects whether there are currently uncalibrated robots to be calibrated, that is, whether there are uncalibrated robots. The terminal can search the calibration data of each robot to be calibrated through the robot identification information of the robot to be calibrated. When it is detected that a robot has no corresponding calibration data, it is determined that the robot to be calibrated is an uncalibrated robot.
当终端检测到还有未标定的机器人时,获取未标定的机器人拍摄的第二图像。具体地,未标定的机器人上安装有摄像头,未标定的机器人通过该摄像头拍摄与其对应的第二标定设备,得到第二图像;该第二图像中包括第二标定设备上的标定板对应的第二标定图像。该未标定的机器人将拍摄到的第二图像以及机器人标识信息发送至终端,终端接收未标定的机器人发送的第二图像以及机器人标识信息;终端在第二图像中提取第二标定设备上的标定板对应的第二标定图像,并保存该第二标定图像。其中,第二标定设备与第一标定设备的位置不同,第二标定设备与第一标定设备为两个不同的标定设备时,第一标定设备与第二标定设备分别放置于第一预设位置和第二预设位置。第一预设位置可使多台待标定机器人均可拍摄到第一标定设备;第二预设位置可使多台未标定的机器人均可拍摄到第二标定设备。第二标定设备与第一标定设备为同一个标定设备时,第一次对待标定机器人进行标定时,将该标定设备放置于第一预设位置,当这些待标定机器人标定完成后,将该标定设备移动至第二预设位置,便于未标定的机器人进行标定。When the terminal detects that there are still uncalibrated robots, a second image captured by the uncalibrated robots is acquired. Specifically, a camera is installed on the uncalibrated robot, and the uncalibrated robot shoots its corresponding second calibration device through the camera to obtain a second image; the second image includes the first calibration plate corresponding to the second calibration device. Two calibration images. The uncalibrated robot sends the captured second image and the robot identification information to the terminal, and the terminal receives the second image and the robot identification information sent by the uncalibrated robot; the terminal extracts the calibration on the second calibration device from the second image The second calibration image corresponding to the board is saved, and the second calibration image is saved. Wherein, the positions of the second calibration device and the first calibration device are different, and when the second calibration device and the first calibration device are two different calibration devices, the first calibration device and the second calibration device are respectively placed in the first preset position and the second preset position. The first preset position enables multiple robots to be calibrated to photograph the first calibration device; the second preset position enables multiple uncalibrated robots to photograph the second calibration device. When the second calibration device and the first calibration device are the same calibration device, when the robot to be calibrated is calibrated for the first time, the calibration device is placed in the first preset position, and when the calibration of the robots to be calibrated is completed, the calibration device is The device is moved to the second preset position to facilitate the calibration of the uncalibrated robot.
S305:基于每个所述第二标定图像中的角点坐标、第二目标角点坐标、每个所述第二图像对应的相机内参,计算每个所述第二图像对应的相机外参,其中,所述第二目标角点坐标为所述第二标定设备上的标定板中与所述第二标定图像中的角点坐标对应的坐标;S305: Calculate the camera extrinsic parameters corresponding to each second image based on the corner coordinates in each of the second calibration images, the second target corner coordinates, and the camera intrinsic parameters corresponding to each second image, Wherein, the coordinate of the second target corner point is the coordinate corresponding to the corner point coordinate in the second calibration image in the calibration plate on the second calibration device;
终端基于每个第二标定图像中的角点坐标、第二目标角点坐标、每个第二图像对应的相机内参,计算每个第二图像对应的相机外参。其中,相机内参为拍摄该第二图像的未标定的机器人上的摄像头对应的相机内参,该相机内参由该摄像头出厂时携带;第二目标角点坐标为第二标定设备上的标定板中与第二标定图像中的角点坐标对应的坐标,即第二标定图像中的每个角点坐标,在该第二标定设备的标定板中,都有一个与其对应的坐标。相机外参为该第二图像对应的相机外参,也可理解为拍摄该第二图像的未标定的机器人上的摄像头对应的相机外参。The terminal calculates the camera external parameters corresponding to each second image based on the corner coordinates in each second calibration image, the second target corner coordinates, and the camera internal parameters corresponding to each second image. Among them, the camera internal parameters are the camera internal parameters corresponding to the camera on the uncalibrated robot that captures the second image, and the camera internal parameters are carried by the camera when it leaves the factory; the coordinates of the second target corner point are the coordinates in the calibration board on the second calibration device and The coordinates corresponding to the corner coordinates in the second calibration image, that is, each corner coordinate in the second calibration image, has a corresponding coordinate in the calibration plate of the second calibration device. The camera extrinsic parameter is the camera extrinsic parameter corresponding to the second image, and can also be understood as the camera extrinsic parameter corresponding to the camera on the uncalibrated robot that captures the second image.
具体地,终端获取第二图像对应的相机内参,即获取未标定的机器人上的摄像头对应的相机内参。终端获取该未标定的机器人对应的第二标定图像中的角点坐标,并获取与每个角点坐标对应的第二目标角点坐标。根据该标定的机器人对应的角点坐标、第二目标角点坐标、相机内参构建与该标定的机器人对应的方程组,求解该方程组,得到第二图像对应的相机外参。需要说明的是,终端是根据一个未标定的机器人对应的角点坐标、第一目标角点坐标、相机内参,构建该标定的机器人对应的方程组,求解方程组得到该未标定的机器人拍摄的第一图像对应的相机外参。终端用同样的方式为每个未标定的机器人都构建了与其对应的方程组,求解每个方程组就可得到每个未标定的机器人拍摄的第一图像对应的相机外参。本实施例中具体计算每个第二图像对应的相机外参的过程,与图1对应的实施例中的S102类似,可参考图1对应的实施例中的S102的描述,此处不再赘述。Specifically, the terminal acquires the camera internal parameters corresponding to the second image, that is, acquires the camera internal parameters corresponding to the camera on the uncalibrated robot. The terminal acquires the corner coordinates in the second calibration image corresponding to the uncalibrated robot, and acquires the second target corner coordinates corresponding to each corner coordinate. According to the corresponding corner coordinates of the calibrated robot, the coordinates of the second target corner, and the camera internal parameters, an equation set corresponding to the calibrated robot is constructed, and the equation set is solved to obtain the camera external parameters corresponding to the second image. It should be noted that the terminal constructs the equation system corresponding to the calibrated robot according to the corner coordinates corresponding to an uncalibrated robot, the first target corner coordinates, and the camera internal parameters, and solves the equation system to obtain the uncalibrated robot. The camera extrinsic parameters corresponding to the first image. The terminal constructs a corresponding set of equations for each uncalibrated robot in the same way, and by solving each equation set, the camera extrinsic parameters corresponding to the first image captured by each uncalibrated robot can be obtained. The process of specifically calculating the camera external parameters corresponding to each second image in this embodiment is similar to S102 in the embodiment corresponding to FIG. 1 , and reference may be made to the description of S102 in the embodiment corresponding to FIG. 1 , which will not be repeated here. .
S306:基于每个所述第二图像对应的相机外参,确定每个所述未标定的机器人的标定数据。S306: Determine calibration data of each of the uncalibrated robots based on the camera external parameters corresponding to each of the second images.
终端基于每个第二图像对应的相机外参,确定每个未标定的机器人的标定数据,该标定数据可以表示未标定的机器人的位置。该相机外参是通过哪个未标定的机器人对应的方程组求解得到,则该相机外参就对应哪个未标定的机器人。具体地,终端计算得到的相机外参,即得到拍摄第二图像的未标定的机器人上的摄像头对应的相机外参,相当于得到了该未标定的机器人的标定数据。终端将该相机外参直接作为该未标定的机器人的标定数据;也可将该相机外参转换为坐标,将转换得到的坐标作为该未标定的机器人的标定数据。The terminal determines calibration data of each uncalibrated robot based on the camera external parameters corresponding to each second image, where the calibration data may represent the position of the uncalibrated robot. The camera extrinsic parameter is obtained by solving the equation system corresponding to which uncalibrated robot, then the camera extrinsic parameter corresponds to which uncalibrated robot. Specifically, the camera extrinsic parameters calculated by the terminal, that is, the camera extrinsic parameters corresponding to the camera on the uncalibrated robot that captures the second image are obtained, which is equivalent to obtaining the calibration data of the uncalibrated robot. The terminal directly uses the camera external parameters as the calibration data of the uncalibrated robot; it can also convert the camera external parameters into coordinates, and use the converted coordinates as the calibration data of the uncalibrated robot.
进一步地,未标定的机器人中至少包含一个第三待标定机器人,第三待标定机器人为可拍摄到第一标定设备上的标定板,同时可拍摄到第二标定设备上的标定板的任一待标定机器人。Further, the uncalibrated robots include at least one third robot to be calibrated, and the third robot to be calibrated is a calibration plate that can be photographed on the first calibration device, and can be photographed at the same time. Any of the calibration plates on the second calibration device. Robot to be calibrated.
为了便于工厂中各个机器人相互协作,确定各个机器人相互的位置,在S306之后还可包括S307,具体如下:In order to facilitate the mutual cooperation of each robot in the factory and determine the mutual position of each robot, S307 may also be included after S306, as follows:
S307:基于所述第三待标定机器人的标定数据调整所述未标定的机器人的标定数据,得到第二目标数据;其中,所述第三待标定机器人为可拍摄到所述第一标定设备上的标定板,同时可拍摄到所述第二标定设备上的标定板的任一待标定机器人;所述第二目标数据用于表示所述未标定的机器人相对于所述第三待标定机器人的位置。S307: Adjust the calibration data of the uncalibrated robot based on the calibration data of the third robot to be calibrated to obtain second target data; wherein the third robot to be calibrated can be photographed on the first calibration device at the same time, any robot to be calibrated on the calibration plate on the second calibration device can be photographed; the second target data is used to represent the uncalibrated robot relative to the third robot to be calibrated. Location.
终端基于第三待标定机器人的标定数据调整未标定的机器人的标定数据,得到第二目标数据。其中,第三待标定机器人为可拍摄到第一标定设备上的标定板,同时可拍摄到第二标定设备上的标定板的任一待标定机器人。第二标定设备与第一标定设备为两个不同的标定设备时,第三待标定机器人为即可拍摄到第一预设位置的第一标定设备上的标定板,同时可拍摄到第二预设位置的第二标定设备上的标定板的任一待标定机器人。第二标定设备与第一标定设备为同一的标定设备时,第三待标定机器人为第一次可拍摄到第一预设位置的该标定设备上的标定板,同时第二次可拍摄到第二预设位置的该标定设备上的标定板。其中,第一次指终端为待标定机器人进行标定,第二次指终端为未标定的机器人进行标定。The terminal adjusts the calibration data of the uncalibrated robot based on the calibration data of the third robot to be calibrated, and obtains the second target data. Wherein, the third robot to be calibrated is any robot to be calibrated that can photograph the calibration plate on the first calibration device and at the same time can photograph the calibration plate on the second calibration device. When the second calibration device and the first calibration device are two different calibration devices, the third robot to be calibrated is a calibration plate on the first calibration device that can photograph the first preset position, and can photograph the second preset position at the same time. Set any robot to be calibrated on the calibration board on the second calibration device. When the second calibration device and the first calibration device are the same calibration device, the third robot to be calibrated is the calibration plate on the calibration device that can photograph the first preset position for the first time, and can photograph the The calibration plate on the calibration device at the preset position. Among them, the first time refers to the terminal being calibrated for the robot to be calibrated, and the second time refers to the terminal being calibrated for the uncalibrated robot.
具体地,终端将第三待标定机器人的标定数据作为基准数据,相当于参考数据,其余未标定的机器人可根据该基准数据调整自身的标定数据,将调整后的数据记为第二目标数据。例如,获取第三待标定机器人的标定数据中包含的向量,获取未标定的机器人的标定数据中包含的向量,对两个向量进行向量运算,即用后者的向量减去前者的向量,将相减得到的向量作为未标定的机器人的标定数据,即作为第二目标数据。该第二目标数据可表示未标定的机器人相对于第三待标定机器人的位置。Specifically, the terminal takes the calibration data of the third robot to be calibrated as reference data, which is equivalent to reference data, and other uncalibrated robots can adjust their calibration data according to the reference data, and mark the adjusted data as the second target data. For example, obtain the vector contained in the calibration data of the third robot to be calibrated, obtain the vector contained in the calibration data of the uncalibrated robot, and perform vector operations on the two vectors, that is, subtract the former vector from the latter vector, and The vector obtained by the subtraction is used as the calibration data of the uncalibrated robot, that is, as the second target data. The second target data may represent the position of the uncalibrated robot relative to the third to-be-calibrated robot.
进一步地,本实施例中的S304-S307也可在图3对应的实施例中的S204之后执行,具体执行过程以实际情况为准,对此不做限定。Further, S304-S307 in this embodiment may also be executed after S204 in the embodiment corresponding to FIG. 3 , and the specific execution process is subject to the actual situation, which is not limited.
本申请实施例,通过获取待标定机器人拍摄的第一图像;基于每个所述第一标定图像中的角点坐标、第一目标角点坐标、每个所述第一图像对应的相机内参,计算每个所述第一图像对应的相机外参;基于每个所述第一图像对应的相机外参,确定每个所述待标定机器人的标定数据。上述方式,终端获取待标定机器人拍摄标定设备得到的图像,并基于该图像中的角点坐标、目标角点坐标、相机内参,计算得到待标定机器人对应的相机外参,从而得到待标定机器人的标定数据。这种标定方法,只需标定设备以及终端就可实现,不需要精密的测量仪器,标定成本低;标定设备可根据待标定机器人的位置进行移动,灵活性非常高;且这种标定方法可同时对多个待标定机器人进行标定,提高了机器人标定效率;整个标定过程主要由待标定机器人、终端、标定设备完成,操作步骤简单,利于机器人标定In this embodiment of the present application, by acquiring the first image captured by the robot to be calibrated; based on the corner coordinates in each of the first calibration images, the coordinates of the first target corners, and the camera internal parameters corresponding to each of the first images, Calculate the camera extrinsic parameters corresponding to each of the first images; and determine calibration data of each of the robots to be calibrated based on the camera extrinsic parameters corresponding to each of the first images. In the above manner, the terminal obtains the image obtained by the robot to be calibrated by shooting the calibration device, and based on the corner coordinates, target corner coordinates, and camera internal parameters in the image, calculates and obtains the camera external parameters corresponding to the robot to be calibrated, thereby obtaining the image of the robot to be calibrated. Calibration data. This calibration method can be realized only by the calibration equipment and the terminal, without the need for precise measuring instruments, and the calibration cost is low; the calibration equipment can be moved according to the position of the robot to be calibrated, and the flexibility is very high; and this calibration method can be used at the same time. The calibration of multiple robots to be calibrated improves the robot calibration efficiency; the entire calibration process is mainly completed by the robot to be calibrated, the terminal, and the calibration equipment, and the operation steps are simple, which is conducive to robot calibration
请参见图5,图5是本发明再一实施例提供的一种机器人标定方法的示意流程图。本实施例中机器人标定方法的执行主体为终端,终端包括但不限于计算机、智能手机、台式电脑、平板电脑、个人数字助理(Personal Digital Assistant,PDA)等移动终端。Please refer to FIG. 5. FIG. 5 is a schematic flowchart of a method for calibrating a robot according to another embodiment of the present invention. The execution subject of the robot calibration method in this embodiment is a terminal, and the terminal includes but is not limited to a mobile terminal such as a computer, a smart phone, a desktop computer, a tablet computer, and a Personal Digital Assistant (PDA).
本实施例与图1对应的实施例的区别为S401-S402、S404-S407,本实施例中S403中与图1对应的实施例的S102完全相同,具体请参阅图1对应的实施例中S102的相关描述,此处不赘述。The differences between this embodiment and the embodiment corresponding to FIG. 1 are S401-S402 and S404-S407. In this embodiment, S403 in this embodiment is exactly the same as S102 in the embodiment corresponding to FIG. 1 . For details, please refer to S102 in the embodiment corresponding to FIG. 1 . The related descriptions are not repeated here.
为了加快对待标定机器人的标定速度,实现同时对多个待标定机器人进行标定,便于在大型场景中对待标定机器人进行标定,当终端检测到待标定机器人的数量大于或等于预设阈值时,本实施例中可包括S401-402,具体如下:In order to speed up the calibration speed of the robots to be calibrated, realize the calibration of multiple robots to be calibrated at the same time, and facilitate the calibration of the robots to be calibrated in large scenes, when the terminal detects that the number of robots to be calibrated is greater than or equal to the preset threshold, this implementation Examples can include S401-402, as follows:
S401:将所述待标定机器人分成至少两组,获取每组待标定机器人发送的待分析图像;其中,每组机器人对应一个第一标定设备,不同分组对应不同的第一标定设备。S401: Divide the robots to be calibrated into at least two groups, and obtain images to be analyzed sent by each group of robots to be calibrated; wherein each group of robots corresponds to a first calibration device, and different groups correspond to different first calibration devices.
终端检测待标定机器人的数量,当检测到待标定机器人的数量大于或等于预设阈值时,将待标定机器人分成至少两组,获取每组待标定机器人发送的待分析图像。其中,预设阈值由用户自行设置、调整;每组待标定机器人都对应一个第一标定设备,不同分组对应不同的第一标定设备。例如,当待标定机器人有10台时,将这些机器人分为两组,每组包含5台待标定机器人,每组机器人分别对应一个标定设备,两组各自对应的标定设备是不同的。The terminal detects the number of robots to be calibrated, and when it is detected that the number of robots to be calibrated is greater than or equal to a preset threshold, it divides the robots to be calibrated into at least two groups, and obtains images to be analyzed sent by each group of robots to be calibrated. The preset threshold is set and adjusted by the user; each group of robots to be calibrated corresponds to a first calibration device, and different groups correspond to different first calibration devices. For example, when there are 10 robots to be calibrated, these robots are divided into two groups, each group contains 5 robots to be calibrated, each group of robots corresponds to a calibration device, and the corresponding calibration devices of the two groups are different.
终端将待标定机器人分成至少两组,获取每组待标定机器人发送的待分析图像。具体地,终端将这些待标定机器人按照距离第一标定设备的位置分为两组,每组中每个待标定机器人分别拍摄与其对应的第一标定设备上的标定板,得到每组待标定机器人对应待分析图像,待标定机器人将待分析图像发送至终端,终端获取每组待标定机器人发送的待分析图像。The terminal divides the robots to be calibrated into at least two groups, and acquires images to be analyzed sent by the robots to be calibrated in each group. Specifically, the terminal divides the robots to be calibrated into two groups according to the distance from the first calibration device, and each robot to be calibrated in each group takes pictures of the calibration plate on the corresponding first calibration device, and obtains each group of robots to be calibrated. Corresponding to the image to be analyzed, the robot to be calibrated sends the image to be analyzed to the terminal, and the terminal obtains the image to be analyzed sent by each group of robots to be calibrated.
S402:将所述待分析图像按所述待标定机器人的分组标识进行分组,得到每组待标定机器人各自对应的第一图像;其中,所述第一图像与分组标识对应。S402: Group the images to be analyzed according to the grouping identifiers of the robots to be calibrated, and obtain a first image corresponding to each group of robots to be calibrated; wherein the first images correspond to the grouping identifiers.
终端将待分析图像按待标定机器人的分组标识进行分组,得到每组待标定机器人各自对应的第一图像;其中,第一图像与分组标识对应。终端先按照待标定机器人的分组标识将待分析图像进行分组,得到每组待标定机器人各自对应的第一图像;再基于该第一图像获取每个待标定机器人对应的第一标定图像。The terminal groups the images to be analyzed according to the grouping identifiers of the robots to be calibrated, and obtains a first image corresponding to each group of the robots to be calibrated; wherein the first images correspond to the grouping identifiers. The terminal first groups the images to be analyzed according to the grouping identifiers of the robots to be calibrated, and obtains a first image corresponding to each group of robots to be calibrated; and then obtains a first calibration image corresponding to each robot to be calibrated based on the first image.
S403:基于每个所述第一标定图像中的角点坐标、第一目标角点坐标、每个所述第一图像对应的相机内参,计算每个所述第一图像对应的相机外参;所述第一目标角点坐标为所述第一标定设备上的标定板中与所述第一标定图像中的角点坐标对应的坐标。S403: Calculate the camera extrinsic parameters corresponding to each first image based on the corner coordinates in each of the first calibration images, the first target corner coordinates, and the camera intrinsic parameters corresponding to each first image; The coordinates of the first target corner point are coordinates in the calibration plate on the first calibration device that correspond to the coordinates of the corner points in the first calibration image.
本实施例中的S403与图1对应的实施例中的S102完全相同,具体请参阅图1对应的实施例中S102的相关描述,此处不赘述。S403 in this embodiment is exactly the same as S102 in the embodiment corresponding to FIG. 1 . For details, please refer to the relevant description of S102 in the embodiment corresponding to FIG. 1 , which is not repeated here.
S404:基于每个所述第一图像对应的相机外参、每个所述第一图像所属的待标定机器人的分组标识,确定每个所述待标定机器人的标定数据。S404: Determine calibration data of each robot to be calibrated based on the camera external parameters corresponding to each first image and the group identifier of the robot to be calibrated to which each first image belongs.
终端基于每个待标定机器人对应的相机外参以及分组标识,确定每个待标定机器人的标定数据,该标定数据可以表示待标定机器人的位置。该相机外参是通过哪个待标定机器人对应的方程组求解得到,则该相机外参就对应哪个待标定机器人。具体地,终端计算得到的相机外参,即得到拍摄第一图像的待标定机器人上的摄像头对应的相机外参,相当于得到了该待标定机器人的标定数据。终端将该相机外参直接作为该待标定机器人的标定数据;也可将该相机外参转换为坐标,将转换得到的坐标作为该待标定机器人的标定数据。The terminal determines the calibration data of each robot to be calibrated based on the camera external parameters and group identification corresponding to each robot to be calibrated, and the calibration data can represent the position of the robot to be calibrated. The camera external parameter is obtained by solving the equation system corresponding to the robot to be calibrated, and the camera external parameter corresponds to the robot to be calibrated. Specifically, the camera external parameters calculated by the terminal, that is, the camera external parameters corresponding to the camera on the to-be-calibrated robot that captures the first image, are equivalent to obtaining the calibration data of the to-be-calibrated robot. The terminal directly uses the camera external parameters as the calibration data of the robot to be calibrated; it can also convert the camera external parameters into coordinates, and use the converted coordinates as the calibration data of the robot to be calibrated.
为了便于工厂中各个机器人相互协作,确定各个机器人相互的位置,在S404之后还可包括S405-S407,具体如下:In order to facilitate the mutual cooperation of each robot in the factory and determine the mutual position of each robot, S405-S407 can also be included after S404, as follows:
S405:从分组后的待标定机器人中确定目标机器人;所述目标机器人为同时属于所有分组的待标定机器人。S405: Determine a target robot from the grouped robots to be calibrated; the target robot is a robot to be calibrated belonging to all groups at the same time.
终端从分组后的待标定机器人中确定目标机器人,该目标机器人为同时属于所有分组的待标定机器人,即该目标机器人为每个分组中共同拥有的待标定机器人。例如,当待标定机器人被分为两组时,分别为第一组待标定机器人、第二组待标定机器人,目标机器人既在第一组待标定机器人中,同时也在第二组待标定机器人中。终端将同时属于所有分组的待标定机器人标记为目标机器人。The terminal determines a target robot from the grouped robots to be calibrated, and the target robot is a robot to be calibrated belonging to all groups at the same time, that is, the target robot is a robot to be calibrated that is shared by each group. For example, when the robots to be calibrated are divided into two groups, namely the first group of robots to be calibrated and the second group of robots to be calibrated, the target robot is not only in the first group of robots to be calibrated, but also in the second group of robots to be calibrated middle. The terminal marks the robots to be calibrated that belong to all groups at the same time as target robots.
S406:基于所述分组标识,获取所述目标机器人在每个分组对应的标定数据。S406: Based on the group identification, obtain calibration data corresponding to each group of the target robot.
终端根据该分组标识,获取目标机器人在每个分组对应的标定数据。例如,当待标定机器人被分为两组时,分别为第一组待标定机器人、第二组待标定机器人,根据分组标识获取目标机器人在第一组待标定机器人对应的标定数据,可记为第一标定数据;根据分组标识获取目标机器人在第二组待标定机器人对应的标定数据,可记为第二标定数据。The terminal obtains the calibration data corresponding to each group of the target robot according to the group identification. For example, when the robots to be calibrated are divided into two groups, the first group of robots to be calibrated and the second group of robots to be calibrated, respectively, and the calibration data corresponding to the target robot in the first group of robots to be calibrated is obtained according to the group identification, which can be marked as The first calibration data; the calibration data corresponding to the target robot in the second group of robots to be calibrated is obtained according to the group identifier, which may be marked as the second calibration data.
S407:基于所述目标机器人在每个分组对应的标定数据,调整每个所述分组标识对应的待标定机器人的标定数据,得到第三目标数据;所述第三目标数据用于表示各组内每个待标定机器人相对于各组中所述目标机器人的位置。S407: Based on the calibration data corresponding to the target robot in each group, adjust the calibration data of the robot to be calibrated corresponding to each of the group identifiers to obtain third target data; the third target data is used to represent the data within each group The position of each robot to be calibrated relative to the target robot in each group.
终端基于该目标机器人在每个分组对应的标定数据,调整每个分组标识对应的待标定机器人的标定数据,得到第三目标数据。第三目标数据可用于表示各组内每个待标定机器人相对于各组中目标机器人的位置。The terminal adjusts the calibration data of the robot to be calibrated corresponding to the identification of each group based on the calibration data corresponding to the target robot in each group to obtain third target data. The third target data can be used to represent the position of each robot to be calibrated in each group relative to the target robot in each group.
例如,当待标定机器人被分为两组时,分别为第一组待标定机器人、第二组待标定机器人,根据分组标识获取目标机器人在第一组待标定机器人对应的标定数据,记为第一标定数据;根据分组标识获取目标机器人在第二组待标定机器人对应的标定数据,记为第二标定数据。终端将该目标机器人在第一组待标定机器人对应的第一标定数据,作为第一组待标定机器人的基准数据,该第一组待标定机器人中的其他机器人根据该基准数据调整其自身的标定数据,将调整后的数据记为第三目标数据,该第三目标数据可用于表示第一组待标定机器人内其他待标定机器人相对于该组中目标机器人的位置。终端将该目标机器人在第二组待标定机器人对应的第二标定数据,作为第二组待标定机器人的基准数据,该第二组待标定机器人中的其他机器人根据该基准数据调整其自身的标定数据,将调整后的数据记为第三目标数据,该第三目标数据可用于表示第二组待标定机器人内其他待标定机器人相对于该组中目标机器人的位置。For example, when the robots to be calibrated are divided into two groups, the first group of robots to be calibrated and the second group of robots to be calibrated, respectively, and the calibration data corresponding to the target robot in the first group of robots to be calibrated is obtained according to the group identification, which is marked as the first group of robots to be calibrated. A calibration data; the calibration data corresponding to the target robot in the second group of robots to be calibrated is obtained according to the group identification, and is marked as the second calibration data. The terminal uses the first calibration data corresponding to the target robot in the first group of robots to be calibrated as the reference data of the first group of robots to be calibrated, and other robots in the first group of robots to be calibrated adjust their own calibration according to the reference data The adjusted data is recorded as third target data, and the third target data can be used to represent the positions of other robots to be calibrated in the first group of robots to be calibrated relative to the target robot in the group. The terminal uses the second calibration data corresponding to the target robot in the second group of robots to be calibrated as the reference data of the second group of robots to be calibrated, and other robots in the second group of robots to be calibrated adjust their own calibration according to the reference data The adjusted data is recorded as third target data, and the third target data can be used to represent the positions of other robots to be calibrated in the second group of robots to be calibrated relative to the target robot in the group.
本申请实施例,通过获取待标定机器人拍摄的第一图像;基于每个所述第一标定图像中的角点坐标、第一目标角点坐标、每个所述第一图像对应的相机内参,计算每个所述第一图像对应的相机外参;基于每个所述第一图像对应的相机外参,确定每个所述待标定机器人的标定数据。上述方式,终端获取待标定机器人拍摄标定设备得到的图像,并基于该图像中的角点坐标、目标角点坐标、相机内参,计算得到待标定机器人对应的相机外参,从而得到待标定机器人的标定数据。这种标定方法,只需标定设备以及终端就可实现,不需要精密的测量仪器,标定成本低;标定设备可根据待标定机器人的位置进行移动,灵活性非常高;且这种标定方法可同时对多个待标定机器人进行标定,提高了机器人标定效率;整个标定过程主要由待标定机器人、终端、标定设备完成,操作步骤简单,利于机器人标定。In this embodiment of the present application, by acquiring the first image captured by the robot to be calibrated; based on the corner coordinates in each of the first calibration images, the coordinates of the first target corners, and the camera internal parameters corresponding to each of the first images, Calculate the camera extrinsic parameters corresponding to each of the first images; and determine calibration data of each of the robots to be calibrated based on the camera extrinsic parameters corresponding to each of the first images. In the above method, the terminal obtains the image obtained by the robot to be calibrated by shooting the calibration device, and calculates the external parameters of the camera corresponding to the robot to be calibrated based on the corner coordinates, target corner coordinates, and camera internal parameters in the image, thereby obtaining the image of the robot to be calibrated. Calibration data. This calibration method can be realized only by the calibration equipment and the terminal, without the need for precise measuring instruments, and the calibration cost is low; the calibration equipment can be moved according to the position of the robot to be calibrated, and the flexibility is very high; and this calibration method can be used at the same time. The calibration of multiple robots to be calibrated improves the robot calibration efficiency; the entire calibration process is mainly completed by the robot to be calibrated, the terminal, and the calibration equipment, and the operation steps are simple, which is conducive to robot calibration.
请参见图6,图6是本申请一实施例提供的一种机器人标定的终端的示意图。该终端包括的各单元用于执行图1、图3、图4、图5对应的实施例中的各步骤。具体请参阅图1、图3、图4、图5各自对应的实施例中的相关描述。为了便于说明,仅示出了与本实施例相关的部分。参见图6,包括:Please refer to FIG. 6. FIG. 6 is a schematic diagram of a terminal for robot calibration provided by an embodiment of the present application. Each unit included in the terminal is used to execute each step in the embodiment corresponding to FIG. 1 , FIG. 3 , FIG. 4 , and FIG. 5 . For details, please refer to the relevant descriptions in the corresponding embodiments of FIG. 1 , FIG. 3 , FIG. 4 , and FIG. 5 . For convenience of explanation, only the parts related to this embodiment are shown. See Figure 6, including:
获取单元510,用于获取待标定机器人拍摄的第一图像;所述第一图像包括第一标定设备上的标定板对应的第一标定图像;an
计算单元520,用于基于每个所述第一标定图像中的角点坐标、第一目标角点坐标、每个所述第一图像对应的相机内参,计算每个所述第一图像对应的相机外参;所述第一目标角点坐标为所述第一标定设备上的标定板中与所述第一标定图像中的角点坐标对应的坐标。The
确定单元530,用于基于每个所述第一图像对应的相机外参,确定每个所述待标定机器人的标定数据。The determining
进一步地,所述计算单元520具体用于:Further, the
基于每个所述第一标定图像中的角点坐标、每个所述第一目标角点坐标以及每个所述第一图像对应的相机内参,构建每个所述待标定机器人对应的标定方程组;Based on the corner coordinates in each of the first calibration images, the coordinates of each first target corner, and the camera internal parameters corresponding to each of the first images, a calibration equation corresponding to each of the robots to be calibrated is constructed Group;
求解每个所述标定方程组,得到每个所述待标定机器人对应的相机外参。Solve each of the calibration equations to obtain the camera external parameters corresponding to each of the robots to be calibrated.
进一步地,终端还包括:Further, the terminal also includes:
第一调整单元,用于基于第一待标定机器人的标定数据调整第二待标定机器人的标定数据,得到第一目标数据;其中,所述第一待标定机器人为可拍摄到所述第一标定设备上的标定板的任一待标定机器人;所述第二待标定机器人为除所述第一待标定机器人外可拍摄到所述第一标定设备上的标定板的任一待标定机器人;所述第一目标数据用于表示所述第二待标定机器人相对于所述第一待标定机器人的位置。a first adjustment unit, configured to adjust the calibration data of the second robot to be calibrated based on the calibration data of the first robot to be calibrated to obtain first target data; wherein the first robot to be calibrated is capable of photographing the first calibration Any robot to be calibrated on the calibration board on the device; the second robot to be calibrated is any robot to be calibrated except the first robot to be calibrated that can photograph the calibration plate on the first calibration device; The first target data is used to represent the position of the second robot to be calibrated relative to the first robot to be calibrated.
进一步地,终端还包括:Further, the terminal also includes:
图像获取单元,用于当检测到还有未标定的机器人时,获取基于所述未标定的机器人拍摄的第二图像;所述第二图像包括第二标定设备上的标定板对应的第二标定图像;所述第二标定设备所处的位置与所述第一标定设备所处的位置不同;an image acquisition unit, configured to acquire a second image based on the uncalibrated robot when it is detected that there is still an uncalibrated robot; the second image includes a second calibration corresponding to the calibration plate on the second calibration device an image; the position of the second calibration device is different from the position of the first calibration device;
相机外参计算单元,用于基于每个所述第二标定图像中的角点坐标、第二目标角点坐标、每个所述第二图像对应的相机内参,计算每个所述第二图像对应的相机外参,其中,所述第二目标角点坐标为所述第二标定设备上的标定板中与所述第二标定图像中的角点坐标对应的坐标;A camera extrinsic parameter calculation unit, configured to calculate each of the second images based on the corner coordinates in each of the second calibration images, the coordinates of the second target corners, and the camera intrinsic parameters corresponding to each of the second images Corresponding camera external parameters, wherein the coordinates of the second target corner point are the coordinates corresponding to the corner point coordinates in the second calibration image in the calibration plate on the second calibration device;
标定数据确定单元,用于基于每个所述第二图像对应的相机外参,确定每个所述未标定的机器人的标定数据。A calibration data determination unit, configured to determine calibration data of each of the uncalibrated robots based on the camera extrinsic parameters corresponding to each of the second images.
所述未标定的机器人中至少包含一个第三待标定机器人;The uncalibrated robots at least include a third robot to be calibrated;
进一步地,终端还包括:Further, the terminal also includes:
第二调整单元,用于基于所述第三待标定机器人的标定数据调整所述未标定的机器人的标定数据,得到第二目标数据;其中,所述第三待标定机器人为可拍摄到所述第一标定设备上的标定板,同时可拍摄到所述第二标定设备上的标定板的任一待标定机器人;所述第二目标数据用于表示所述未标定的机器人相对于所述第三待标定机器人的位置。The second adjustment unit is configured to adjust the calibration data of the uncalibrated robot based on the calibration data of the third robot to be calibrated to obtain second target data; wherein the third robot to be calibrated is capable of photographing the The calibration plate on the first calibration device, and any robot to be calibrated on the calibration plate on the second calibration device can be photographed at the same time; the second target data is used to indicate that the uncalibrated robot is relative to the first calibration device. 3. The position of the robot to be calibrated.
所述待标定机器人的数量大于或等于预设阈值;The number of the robots to be calibrated is greater than or equal to a preset threshold;
进一步地,所述获取单元510具体用于:Further, the obtaining
将所述待标定机器人分成至少两组,获取每组待标定机器人发送的待分析图像;其中,每组机器人对应一个第一标定设备,不同分组对应不同的第一标定设备;Divide the robots to be calibrated into at least two groups, and obtain images to be analyzed sent by each group of robots to be calibrated; wherein, each group of robots corresponds to a first calibration device, and different groups correspond to different first calibration devices;
将所述待分析图像按所述待标定机器人的分组标识进行分组,得到每组待标定机器人各自对应的第一图像;其中,所述第一图像与分组标识对应。The images to be analyzed are grouped according to the grouping identifiers of the robots to be calibrated, and a first image corresponding to each group of robots to be calibrated is obtained; wherein, the first images correspond to the grouping identifiers.
进一步地,所述确定单元530具体用于:基于每个所述第一图像对应的相机外参、每个所述第一图像所属的待标定机器人的分组标识,确定每个所述待标定机器人的标定数据。Further, the determining
进一步地,终端还包括:Further, the terminal also includes:
目标机器人确定单元,用于从分组后的待标定机器人中确定目标机器人;所述目标机器人为同时属于所有分组的待标定机器人;a target robot determination unit, used to determine the target robot from the grouped robots to be calibrated; the target robot is the to-be-calibrated robot belonging to all groups at the same time;
数据获取单元,用于基于所述分组标识,获取所述目标机器人在每个分组对应的标定数据;a data acquisition unit, configured to acquire calibration data corresponding to each group of the target robot based on the group identification;
第三调整单元,用于基于所述目标机器人在每个分组对应的标定数据,调整每个所述分组标识对应的待标定机器人的标定数据,得到第三目标数据;所述第三目标数据用于表示各组内每个待标定机器人相对于各组中所述目标机器人的位置。The third adjustment unit is configured to adjust the calibration data of the robot to be calibrated corresponding to each of the group identifiers based on the calibration data corresponding to the target robot in each group, to obtain third target data; the third target data uses where represents the position of each robot to be calibrated in each group relative to the target robot in each group.
请参见图7,图7是本申请另一实施例提供一种机器人标定的终端的示意图。如图7所示,该实施例的终端6包括:处理器60、存储器61以及存储在所述存储器61中并可在所述处理器60上运行的计算机可读指令62。所述处理器60执行所述计算机可读指令62时实现上述各个终端标定机器人的方法实施例中的步骤,例如图1所示的S101至S103。或者,所述处理器60执行所述计算机可读指令62时实现上述各实施例中各单元的功能,例如图3所示单元310至330功能。Please refer to FIG. 7 , which is a schematic diagram of a terminal for robot calibration provided by another embodiment of the present application. As shown in FIG. 7 , the
示例性的,所述计算机可读指令62可以被分割成一个或多个单元,所述一个或者多个单元被存储在所述存储器61中,并由所述处理器60执行,以完成本申请。所述一个或多个单元可以是能够完成特定功能的一系列计算机可读指令段,该指令段用于描述所述计算机可读指令62在所述终端6中的执行过程。例如,所述计算机可读指令42可以被获取单元、计算单元以及确定单元,各单元具体功能如上所述。Exemplarily, the computer-
所述终端可包括,但不仅限于,处理器60、存储器61。本领域技术人员可以理解,图6仅仅是终端6的示例,并不构成对终端6的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件,例如所述终端还可以包括输入输出终端、网络接入终端、总线等。The terminal may include, but is not limited to, the
所称处理器60可以是中央处理单元(Central Processing Unit,CPU),还可以是其他通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现成可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。The so-called
所述存储器61可以是所述终端6的内部存储单元,例如终端6的硬盘或内存。所述存储器61也可以是所述终端6的外部存储终端,例如所述终端6上配备的插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)等。进一步地,所述存储器61还可以既包括所述终端6的内部存储单元也包括外部存储终端。所述存储器61用于存储所述计算机可读指令以及所述终端所需的其他程序和数据。所述存储器61还可以用于暂时地存储已经输出或者将要输出的数据。The
以上所述实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的精神范围,均应包含在本申请的保护范围之内。The above-mentioned 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 above-mentioned embodiments, those of ordinary skill in the art should understand that: it can still be used for the above-mentioned implementations. The technical solutions recorded in the examples 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 scope of the technical solutions in the embodiments of the application, and should be included in the present application. within the scope of protection of the application.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201911028907.8A CN110866956A (en) | 2019-10-28 | 2019-10-28 | Robot calibration method and terminal |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201911028907.8A CN110866956A (en) | 2019-10-28 | 2019-10-28 | Robot calibration method and terminal |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN110866956A true CN110866956A (en) | 2020-03-06 |
Family
ID=69654882
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201911028907.8A Pending CN110866956A (en) | 2019-10-28 | 2019-10-28 | Robot calibration method and terminal |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN110866956A (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN111627073A (en) * | 2020-04-30 | 2020-09-04 | 贝壳技术有限公司 | Calibration method, calibration device and storage medium based on human-computer interaction |
| CN116912325A (en) * | 2023-07-07 | 2023-10-20 | 珠海一微半导体股份有限公司 | Camera external parameter calibration method, chip and robot based on calibration fixture |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102294695A (en) * | 2010-06-25 | 2011-12-28 | 鸿富锦精密工业(深圳)有限公司 | Robot calibration method and calibration system |
| CN103646403A (en) * | 2013-12-26 | 2014-03-19 | 北京经纬恒润科技有限公司 | Vehicle-mounted multi-camera calibration method, system and image processing device |
| CN105447877A (en) * | 2015-12-13 | 2016-03-30 | 大巨龙立体科技有限公司 | Parallel dual-camera stereo calibration method |
| CN107633536A (en) * | 2017-08-09 | 2018-01-26 | 武汉科技大学 | A kind of camera calibration method and system based on two-dimensional planar template |
| CN109523597A (en) * | 2017-09-18 | 2019-03-26 | 百度在线网络技术(北京)有限公司 | The scaling method and device of Camera extrinsic |
| CN109767474A (en) * | 2018-12-31 | 2019-05-17 | 深圳积木易搭科技技术有限公司 | A kind of more mesh camera calibration method, apparatus and storage medium |
-
2019
- 2019-10-28 CN CN201911028907.8A patent/CN110866956A/en active Pending
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102294695A (en) * | 2010-06-25 | 2011-12-28 | 鸿富锦精密工业(深圳)有限公司 | Robot calibration method and calibration system |
| CN103646403A (en) * | 2013-12-26 | 2014-03-19 | 北京经纬恒润科技有限公司 | Vehicle-mounted multi-camera calibration method, system and image processing device |
| CN105447877A (en) * | 2015-12-13 | 2016-03-30 | 大巨龙立体科技有限公司 | Parallel dual-camera stereo calibration method |
| CN107633536A (en) * | 2017-08-09 | 2018-01-26 | 武汉科技大学 | A kind of camera calibration method and system based on two-dimensional planar template |
| CN109523597A (en) * | 2017-09-18 | 2019-03-26 | 百度在线网络技术(北京)有限公司 | The scaling method and device of Camera extrinsic |
| CN109767474A (en) * | 2018-12-31 | 2019-05-17 | 深圳积木易搭科技技术有限公司 | A kind of more mesh camera calibration method, apparatus and storage medium |
Non-Patent Citations (4)
| Title |
|---|
| HUANG LI 等: "A humanoid robot localization method for", 《IEEE》 * |
| YINGHAO NING 等: "A Practical Calibration Method for Spinal Surgery Robot", 《IEEE》 * |
| 邓勇军等: "基于OpenCV的移动焊接机器人视觉系统自主标定方法", 《焊接学报》 * |
| 郑剑斌等: "视觉点胶机的摄像机标定技术", 《科技创新与应用》 * |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN111627073A (en) * | 2020-04-30 | 2020-09-04 | 贝壳技术有限公司 | Calibration method, calibration device and storage medium based on human-computer interaction |
| CN111627073B (en) * | 2020-04-30 | 2023-10-24 | 贝壳技术有限公司 | Calibration method, calibration device and storage medium based on man-machine interaction |
| CN116912325A (en) * | 2023-07-07 | 2023-10-20 | 珠海一微半导体股份有限公司 | Camera external parameter calibration method, chip and robot based on calibration fixture |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN110689581B (en) | Structured light module calibration method, electronic device, and computer-readable storage medium | |
| CN109754426B (en) | Method, system and device for verifying camera calibration parameters | |
| CN109559349B (en) | Method and device for calibration | |
| CN112802124A (en) | Calibration method and device for multiple stereo cameras, electronic equipment and storage medium | |
| CN110095089B (en) | Method and system for measuring rotation angle of aircraft | |
| CN107633536A (en) | A kind of camera calibration method and system based on two-dimensional planar template | |
| CN104463833B (en) | A kind of method and system for demarcating one-dimensional area array cameras group camera parameter | |
| CN106485758B (en) | Unmanned aerial vehicle camera calibration device, calibration method and assembly line calibration implementation method | |
| CN109427046A (en) | Distortion correction method, device and the computer readable storage medium of three-dimensional measurement | |
| CN115965697B (en) | Projector calibration method, system and device based on Moh's law | |
| WO2019232793A1 (en) | Two-camera calibration method, electronic device and computer-readable storage medium | |
| CN116188594B (en) | Calibration method, calibration system, calibration device and electronic equipment of camera | |
| WO2019076027A1 (en) | White balance information synchronization method and device, and computer readable medium | |
| CN109366472B (en) | Item placement method, device, computer equipment and storage medium for robot | |
| CN110009687A (en) | Color 3D imaging system based on three cameras and its calibration method | |
| CN108844462A (en) | Size detection method, device, equipment and system | |
| CN110470320A (en) | The scaling method and terminal device of oscillatory scanning formula line-structured light measuring system | |
| CN113935912A (en) | Method and device for correcting distortion-removed circle center of camera, terminal equipment and medium | |
| CN108734745B (en) | Calibration method, device and projection equipment | |
| CN113516719A (en) | Camera calibration method, system and storage medium based on multiple homography matrixes | |
| CN115018922A (en) | Distortion parameter calibration method, electronic device and computer readable storage medium | |
| CN108182708B (en) | Calibration method and calibration device of binocular camera and terminal equipment | |
| CN112102378A (en) | Image registration method and device, terminal equipment and computer readable storage medium | |
| CN110619665A (en) | Calibration and verification method of binocular camera in virtual simulation environment | |
| CN110866956A (en) | Robot calibration method and terminal |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| RJ01 | Rejection of invention patent application after publication | ||
| RJ01 | Rejection of invention patent application after publication |
Application publication date: 20200306 |




