Rapid binocular vision calibration method and device for tennis training combined with point-line joint constraint

By using a point-line joint constraint method, leveraging the features of a checkerboard calibration board and tennis court sidelines, and combining high-precision feature detection and nonlinear optimization algorithms, the problems of slow calibration speed and insufficient accuracy in tennis training are solved, achieving fast and high-precision calibration results.

CN123181591APending Publication Date: 2026-11-27XUZHOU HANYUN DIGITAL TECHNOLOGY CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202611435458.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-16
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

Existing binocular visual calibration methods for tennis training suffer from slow calibration speed, insufficient accuracy, and failure to fully utilize court geometry information, making it difficult to meet the dual requirements of speed and accuracy.

Method used

A point-line joint constraint method is adopted, which uses the point features of the checkerboard calibration board and the line features of the tennis court sidelines to construct a joint constraint optimization objective function. Features are extracted by sub-pixel corner detection and LSD line segment detection, and the camera parameters are solved by nonlinear optimization iteration using the Levenberg-Marquardt algorithm.

Benefits of technology

It significantly improves calibration speed and accuracy, meeting the dual requirements of speed and accuracy in tennis training, lowers the operational threshold, and is suitable for use in various tennis training venues.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123181591A_ABST
    Figure CN123181591A_ABST
Patent Text Reader

Abstract

The application discloses a tennis training binocular vision fast calibration method and device based on point-line joint constraint, and belongs to the technical field of computer vision and sports training equipment. The method comprises the following steps: fixing and installing a left camera and a right camera on a tennis training ground to form a binocular vision system; collecting a chessboard calibration plate image and a tennis court sideline image; extracting chessboard corner points as point features and court sidelines as line features; constructing a target optimization function containing point feature re-projection error items and line feature re-projection error items; performing nonlinear optimization iteration solution with the parameters obtained by Zhang's calibration method as initial values to obtain optimized camera internal and external parameters; calculating the rotation matrix and the translation vector between the left and right cameras to complete fast calibration. The application also provides a calibration device for implementing the above method. The application significantly improves the calibration speed while ensuring the calibration accuracy through the joint constraint of point and line features, and is suitable for the fast calibration requirement of the tennis training site.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of computer vision and sports training equipment technology, specifically to a method and device for rapid binocular vision calibration in tennis training using point-line joint constraints. Background Technology

[0002] With the rapid development of artificial intelligence and computer vision technologies, intelligent sports training assistance systems have gradually become a research hotspot in the field of sports science. Tennis, as a ball sport with high technical requirements, involves multiple stages in its training process, including shot analysis, ball speed measurement, landing point judgment, and tactical evaluation. Traditional coaching methods based on visual estimation and experience are insufficient to meet the needs of refined training. In recent years, binocular vision-based 3D reconstruction and motion tracking technologies have been gradually introduced into the field of tennis training. By simultaneously acquiring images of the tennis ball using binocular cameras, and utilizing the principle of parallax to calculate the three-dimensional spatial position and trajectory of the ball, scientifically quantified training data is provided to athletes.

[0003] In binocular vision systems for tennis training, camera calibration is a crucial step determining the system's measurement accuracy. Existing binocular vision calibration methods are mainly divided into two categories: traditional calibration methods and self-calibration methods. Traditional calibration methods, such as Zhang's calibration method, extract corner information by photographing a checkerboard calibration board in different poses to solve for the camera's intrinsic and extrinsic parameters, offering the advantage of high calibration accuracy. Patent CN101706957B discloses a self-calibration method for a binocular stereo vision device, achieving projective reconstruction through corresponding point matching and then calibrating the transformation matrix based on prior constraints of the camera's intrinsic parameters. In addition, there are binocular stereo vision measurement methods that fuse IMUs for calibration, calculating the rotation matrix and translation vector between the cameras by fixing the IMU to the camera. In tennis applications, existing research has proposed a binocular vision-based tennis robot vision system that uses a checkerboard calibration method for camera calibration.

[0004] However, the existing technologies still have the following shortcomings: First, the traditional checkerboard calibration method only uses point features (corner points) for calibration, and the calibration accuracy is limited by the accuracy of corner point detection and the number of calibration board placement postures. The calibration process is time-consuming and cannot meet the needs of rapid calibration in tennis training. Second, although the existing self-calibration methods do not require a calibration board, the calibration accuracy is low and the robustness is insufficient, making it difficult to meet the requirements of high-precision three-dimensional positioning in tennis training. Third, the tennis court itself has rich geometric features (straight lines such as sidelines, baselines, and service lines), but the existing calibration methods fail to make full use of these inherent line feature constraints to assist in calibration, resulting in a waste of court geometric information. Fourth, the existing calibration methods are difficult to achieve a good balance between calibration efficiency and calibration accuracy, and cannot simultaneously meet the dual requirements of speed and accuracy in tennis training scenarios. Summary of the Invention

[0005] This application provides a binocular vision rapid calibration method and device for tennis training based on point and line joint constraints. By simultaneously utilizing the point features of the checkerboard calibration board and the line features of the tennis court sidelines to construct a joint constraint optimization objective function, it can effectively solve the problems of slow calibration speed, insufficient accuracy, and failure to fully utilize the geometric information of the court in the existing calibration methods in the background art.

[0006] To achieve the above objectives, this application provides the following technical solution: a rapid binocular vision calibration method for tennis training using point-line joint constraints, comprising the following steps: fixing a left camera and a right camera at preset positions on the tennis training court to form a binocular vision system; acquiring images including a checkerboard calibration board and images of the tennis court sidelines; extracting checkerboard corner points as point features and court sidelines as line features; establishing a point-line joint constraint objective optimization function including point feature reprojection error terms and line feature reprojection error terms; performing nonlinear optimization iterative solutions using parameters obtained by Zhang's calibration method as initial values ​​to obtain optimized camera intrinsic and extrinsic parameters; calculating the rotation matrix and translation vector between the left and right cameras to complete rapid calibration. This method significantly improves calibration speed while ensuring calibration accuracy through the joint constraints of point and line features.

[0007] Furthermore, the left and right cameras are fixedly installed on either side of the tennis training court or at different locations on the same side. Both cameras are industrial area array cameras with a resolution of 1920×1080 pixels or higher and a frame rate of 30fps or higher. The left and right cameras are connected to the same control terminal via a synchronization trigger line to achieve synchronous acquisition. High resolution and high frame rate ensure image acquisition quality, while synchronous acquisition ensures the temporal consistency of the left and right images, providing a reliable data foundation for subsequent accurate calibration.

[0008] Furthermore, the checkerboard calibration board has a grid size ranging from 20mm×20mm to 50mm×50mm, with 6 to 12 rows and columns. The calibration board is laid flat in the center and four corner areas of the tennis training court, with at least three sets of camera image pairs acquired at each location. This multi-location, multi-pose image acquisition of the calibration board provides rich point feature constraints, improving the accuracy and robustness of the calibration parameter solution.

[0009] Furthermore, the corner detection algorithm employs a sub-pixel corner detection method, achieving sub-pixel level accuracy in corner location through iterative optimization. The line detection algorithm uses either the LSD line segment detection algorithm or the Hough line transform algorithm to extract the tennis court's sidelines, including the baseline, sidelines, service line, and center line. Sub-pixel level corner detection improves the accuracy of point features, while LSD and Hough transform robustly extract straight line features from the court. The combination of these two methods provides high-quality feature data for joint calibration.

[0010] Furthermore, the point feature reprojection error term is calculated as follows: For each detected point feature, the difference between its pixel coordinates and the pixel coordinates obtained by reprojecting the corresponding 3D point in the world coordinate system onto the image plane according to the current camera intrinsic and extrinsic parameters is calculated, and the squares of the differences for all point features are summed. The line feature reprojection error term is calculated as follows: For each detected line feature, the distance between its line equation parameters and the line equation parameters obtained by reprojecting the corresponding line in the world coordinate system onto the image plane according to the current camera intrinsic and extrinsic parameters is summed, and the squares of the distances for all line features are summed. The reprojection errors of point features and line features constrain camera parameters from different geometric dimensions. Point feature constraints provide accurate local positioning information, while line feature constraints provide global structural information. The two complement each other to obtain more accurate calibration results.

[0011] Furthermore, the objective function for the joint point-line constraint is a weighted sum of the point feature reprojection error term and the line feature reprojection error term. The weight coefficients for both the point and line feature error terms range from 0.3 to 0.7, and the sum of both coefficients equals 1. By appropriately configuring these weight coefficients, an optimal balance can be achieved between the point and line feature constraints, adapting to the calibration requirements of different tennis training scenarios.

[0012] Furthermore, the nonlinear optimization algorithm employs either the Levenberg-Marquardt algorithm or the Gauss-Newton algorithm. The iteration termination condition is that the change in the objective function value is less than a preset threshold or the maximum number of iterations is reached. The preset threshold is 10 to the power of -6, and the maximum number of iterations is 100. The Levenberg-Marquardt algorithm combines the advantages of the Gauss-Newton method and the gradient descent method, featuring fast convergence speed and strong robustness, and can quickly solve for the optimal solution of the objective function.

[0013] Furthermore, the rotation matrix between the left and right cameras is obtained by multiplying the rotation matrix of the right camera by the transpose of the rotation matrix of the left camera. The translation vector between the left and right cameras is obtained by subtracting the transpose of the rotation matrix of the left camera from the translation vector of the right camera, multiplying by the rotation matrices of both cameras, and then multiplying by the translation vector of the left camera. Accurate relative pose parameters of the stereo cameras are the foundation for achieving high-precision 3D reconstruction.

[0014] This application also provides a binocular vision rapid calibration device for tennis training with point-line joint constraints, including a left camera, a right camera, a calibration board, a control terminal, an image preprocessing module, a feature extraction module, a calibration calculation module, and a display module. The left and right cameras are fixedly installed at preset positions on the tennis training court to synchronously acquire images containing a checkerboard calibration board and the tennis court's sidelines. The calibration board is a checkerboard calibration board with several rows and columns of alternating black and white squares, with the corner points of the squares serving as point feature markers. The control terminal is electrically connected to the left and right cameras via data cables to send synchronous acquisition commands, receive image data, and perform calibration calculations. The image preprocessing module is located within the control terminal and is used to perform grayscale conversion, filtering, noise reduction, and binarization on the acquired images. The feature extraction module is located within the control terminal and is used to extract the pixel coordinates of the checkerboard corner points as point features and extract the line equation parameters of the court's sidelines as line features. The calibration calculation module is located within the control terminal and is used to establish an objective optimization function with joint point and line constraints and iteratively solve it. The display module is electrically connected to the control terminal and is used to display the calibration process and calibration results.

[0015] Furthermore, the control terminal is an industrial computer or embedded industrial control computer, whose core chip is an Intel Core i7 processor or an ARM Cortex-A series processor; both the left and right cameras are industrial area scan cameras with a resolution of 1920×1080 pixels or higher and a frame rate of 30fps or higher. The left and right cameras are connected through a synchronous trigger line to achieve synchronous acquisition; the grid size of the calibration board is 20mm×20mm to 50mm×50mm, and the number of rows and columns of the checkerboard grid is 6 to 12.

[0016] Compared with the prior art, the beneficial effects of this application are:

[0017] 1. This application constructs an objective optimization function with joint point and line constraints by simultaneously utilizing the point features of the checkerboard calibration board and the line features of the tennis court sidelines. Compared with the traditional calibration method that only relies on point features, it adds the additional geometric constraint dimension of line features, which effectively improves the solution accuracy and robustness of the calibration parameters.

[0018] 2. This application makes full use of the inherent geometric information of the tennis court's sidelines (baseline, sidelines, service line, center line, etc.) as line feature constraints. It can obtain rich calibration constraints without the need to make additional complex calibration targets, reducing the number of times the calibration board is placed and the number of postures, significantly shortening the calibration time, and meeting the needs of rapid calibration on the tennis training site.

[0019] 3. This application achieves a good balance between calibration efficiency and calibration accuracy by weighted joint optimization of point feature reprojection error and line feature reprojection error, so that the accurate local positioning information provided by point features and the global structural information provided by line features complement each other, while meeting the dual requirements of speed and accuracy in tennis training scenarios.

[0020] 4. The sub-pixel corner detection algorithm and LSD line segment detection algorithm used in this application can extract point features and line features with high precision, providing a high-quality feature data foundation for joint calibration and further ensuring the accuracy of the calibration results.

[0021] 5. The device of this application has a simple structure and is easy to operate. It automatically completes the entire process of image acquisition, feature extraction, calibration calculation and result display through the control terminal, which reduces the professional threshold of calibration operation and is suitable for promotion and application in various tennis training venues. Attached Figure Description

[0022] Figure 1 This is a schematic diagram of the structure of the binocular vision rapid calibration device for tennis training based on point-line joint constraints, as described in this application.

[0023] In the diagram: 1. Left camera; 2. Right camera; 3. Calibration board; 4. Control terminal; 5. Image preprocessing module; 6. Feature extraction module; 7. Calibration calculation module; 8. Display module; 9. Tennis court; 10. Baseline; 11. Sideline; 12. Service line; 13. Center line. Detailed Implementation

[0024] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0025] In the description of this application, if directional descriptions are involved, such as "up," "down," "front," "back," "left," "right," etc., indicating the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings, it is only for the convenience of describing this application and simplifying the description, and does not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation, and therefore should not be construed as a limitation of this application. When a feature is referred to as "set," "fixed," or "connected" to another feature, it can be directly set, fixed, or connected to the other feature, or it can be indirectly set, fixed, or connected to the other feature.

[0026] Please see Figure 1This application provides the following technical solution: a method and device for rapid binocular visual calibration of tennis training using point-line joint constraints.

[0027] The device includes a left camera 1, a right camera 2, a calibration board 3, a control terminal 4, an image preprocessing module 5, a feature extraction module 6, a calibration calculation module 7, and a display module 8. The left camera 1 and right camera 2 are fixedly installed at preset positions on the tennis court 9. The left camera 1 and right camera 2 constitute a binocular vision system. The angle between their optical axes and the baseline distance are adjusted according to the coverage area of ​​the tennis training area to ensure that the common field of view covers the entire tennis training area. Both the left camera 1 and right camera 2 are industrial area array cameras with a resolution of 1920×1080 pixels and a frame rate of 30fps. Synchronous acquisition is achieved through a synchronous trigger line connection. The calibration board 3 is a checkerboard calibration board with several rows and columns of alternating black and white squares. Each square is 30mm×30mm in size, with 8 rows and 8 columns. The corner points of the squares serve as point feature markers. Control terminal 4 is an industrial computer with an Intel Core i7 processor as its core chip. It is electrically connected to the left camera 1 and the right camera 2 via data cables, and is used to send synchronous acquisition commands, receive image data, and perform calibration calculations. The image preprocessing module 5, feature extraction module 6, and calibration calculation module 7 are all located within control terminal 4. The display module 8 is electrically connected to control terminal 4 and is used to display the calibration process and calibration results.

[0028] In use, firstly, the left camera 1 and right camera 2 are fixedly installed at preset positions on both sides of the tennis court 9. The optical axis angle and baseline distance between them are adjusted to ensure the common field of view covers the tennis training area. The left camera 1 and right camera 2 are connected to the control terminal 4 via a synchronization trigger line to achieve synchronous acquisition. Then, the calibration board 3 is laid flat in the center area of ​​the tennis court 9. The control terminal 4 sends a synchronization acquisition command, and the left camera 1 and right camera 2 simultaneously acquire left and right image pairs including the calibration board 3. Next, the calibration board 3 is moved sequentially to the four corner areas of the tennis court 9, acquiring at least three sets of left and right camera image pairs at each position. Simultaneously, the left camera 1 and right camera 2 acquire images of the sidelines 11, baselines 10, service lines 12, and center line 13 of the tennis court 9, respectively.

[0029] After receiving all the acquired images, the control terminal 4 performs preprocessing on the images acquired by the left camera 1 and the right camera 2, including grayscale conversion, filtering and denoising, and binarization. Then, the feature extraction module 6 extracts point features and line features respectively: the sub-pixel corner detection algorithm is used to extract the pixel coordinates of all corner points of the checkerboard calibration board 3 as point features; the LSD line segment detection algorithm is used to extract the line equation parameters of the baseline 10, sidelines 11, service line 12, and center line 13 of the tennis court 9 as line features.

[0030] The calibration calculation module 7 first uses the camera intrinsic and extrinsic parameters obtained by Zhang's calibration method as initial optimization values. Then, it establishes an objective optimization function with joint point and line constraints. This objective function is a weighted sum of the point feature reprojection error term and the line feature reprojection error term, with the weights of both error terms set to 0.5. The specific calculation method for the point feature reprojection error term is as follows: for each detected corner point, calculate the difference between its actual pixel coordinates and the pixel coordinates obtained after reprojecting the corresponding 3D point in the world coordinate system onto the image plane according to the current camera intrinsic and extrinsic parameters, and sum the squares of the differences for all corner points. The specific calculation method for the line feature reprojection error term is as follows: for each detected field edge line, calculate the distance between its actual straight line equation parameters and the straight line equation parameters obtained after reprojecting the corresponding straight line in the world coordinate system onto the image plane according to the current camera intrinsic and extrinsic parameters, and sum the squares of the distances for all edge lines. The Levenberg-Marquardt algorithm is used to iteratively solve the objective function. The iteration terminates when the change in the objective function value is less than 10 to the power of -6 or when the maximum number of iterations (100) is reached, obtaining the optimized intrinsic and extrinsic parameters of left camera 1 and right camera 2. Finally, the relative pose between the left and right cameras is calculated: the rotation matrix is ​​obtained by multiplying the rotation matrix of the right camera by the transpose of the rotation matrix of the left camera; the translation vector is obtained by subtracting the transpose of the rotation matrix of the left camera from the translation vector of the right camera, multiplying by the rotation matrices of both cameras, and then multiplying by the translation vector of the left camera, thus completing the rapid calibration of the binocular vision system. The calibration calculation module 7 sends the calibration process and calibration results to the display module 8 for display.

[0031] It is worth noting that the left camera 1 and right camera 2 used in this embodiment can be MER series industrial area scan cameras from Daheng Imaging Technology Co., Ltd., with a resolution of 1920×1080 pixels and a frame rate of 30fps. The control terminal 4 can be an IPC-610L industrial computer from Advantech Technology Co., Ltd., equipped with an Intel Core i7-8700 processor. The calibration board 3 can be a standard ceramic checkerboard calibration board with a checkerboard size of 30mm×30mm and 8×8 rows and columns. The image preprocessing module 5, feature extraction module 6, and calibration calculation module 7 are developed based on the OpenCV computer vision library. Corner detection uses the OpenCV findChessboardCorners function in conjunction with the cornerSubPix function to achieve sub-pixel corner localization, and line detection uses the OpenCV LSD detector or the HoughLinesP function. The nonlinear optimization in the calibration calculation module 7 is implemented using the OpenCV calibrateCamera function and stereoCalibrate function, or a custom optimization solution is performed using the CeresSolver optimization library. The control and data processing of the above modules adopt methods commonly used in existing technologies.

[0032] Although embodiments of this application have been shown and described, it will be understood by those skilled in the art that various changes, modifications, substitutions and variations can be made to these embodiments without departing from the principles and spirit of this application, the scope of which is defined by the appended claims and their equivalents.

Claims

1. A rapid binocular vision calibration method for tennis training using point-line joint constraints, characterized in that: Includes the following steps: S1. Fix the left camera and the right camera to the preset positions on the tennis training court respectively. The left camera and the right camera constitute a binocular vision system. Adjust the optical axis angle and baseline distance of the left camera and the right camera so that their common field of view covers the tennis training area. S2. Acquire images of a calibration board containing standard markers of a tennis court. The calibration board is a checkerboard calibration board with several rows and columns of alternating black and white squares. The corner points of the squares are used as point feature markers. At the same time, images of the tennis court sidelines are acquired using the left and right cameras respectively, and the sidelines are extracted as line feature constraints. S3. Preprocess the images acquired by the left and right cameras respectively, including grayscale conversion, filtering and noise reduction and binarization, and then extract point features and line features respectively: use the corner detection algorithm to extract the corner pixel coordinates of the chessboard calibration board as point features, and use the line detection algorithm to extract the line equation parameters of the tennis court sidelines as line features. S4. Establish a target optimization function for point-line joint constraints. The target optimization function includes point feature reprojection error term and line feature reprojection error term. The point feature pixel coordinates extracted in step S3 are used to construct point feature reprojection error constraints with their corresponding world coordinate system three-dimensional coordinates. The line feature line equation parameters extracted in step S3 are used to construct line feature reprojection error constraints with their corresponding world coordinate system spatial lines. S5. Using the initial values ​​of the camera intrinsic and extrinsic parameters obtained by Zhang's calibration method as the initial values ​​for optimization, the target optimization function is iteratively solved by a nonlinear optimization algorithm to minimize the weighted sum of the point feature reprojection error and the line feature reprojection error, thereby obtaining the optimized intrinsic and extrinsic parameters of the left and right cameras. S6. Based on the optimized intrinsic and extrinsic parameters of the left and right cameras obtained in step S5, calculate the rotation matrix and translation vector between the left and right cameras to complete the rapid calibration of the binocular vision system.

2. The method for rapid binocular vision calibration in tennis training based on point-line joint constraints according to claim 1, characterized in that: In step S1, the left and right cameras are fixedly installed on both sides of the tennis training court or at different positions on the same side. Both the left and right cameras are industrial area array cameras with a resolution of 1920×1080 pixels or higher and a frame rate of 30fps or higher. The left and right cameras are connected to the same control terminal through a synchronization trigger line to achieve synchronous acquisition.

3. The method for rapid binocular vision calibration in tennis training based on point-line joint constraints according to claim 1, characterized in that: In step S2, the grid size of the checkerboard calibration board is 20mm×20mm to 50mm×50mm, and the number of rows and columns of the checkerboard is 6 to 12. The checkerboard calibration board is laid flat in the center area and four corner areas of the tennis training court, and at least 3 sets of camera image pairs are collected at each position.

4. The method for rapid binocular vision calibration in tennis training based on point-line joint constraints according to claim 1, characterized in that: In step S3, the corner detection algorithm adopts a sub-pixel corner detection algorithm, and the corner positioning accuracy reaches the sub-pixel level through iterative optimization; the line detection algorithm adopts the LSD line segment detection algorithm or the Hough line transformation algorithm to extract the tennis court sidelines, including the baseline, sidelines, service line and center line.

5. The method for rapid binocular vision calibration in tennis training based on point-line joint constraints according to claim 1, characterized in that: In step S4, the point feature reprojection error term is calculated as follows: for each detected point feature, the difference between its pixel coordinates and the pixel coordinates obtained after reprojecting the corresponding 3D point in the world coordinate system onto the image plane according to the current camera intrinsic and extrinsic parameters is calculated, and the squares of the differences of all point features are summed. The line feature reprojection error term is calculated as follows: for each detected line feature, the distance between its line equation parameters and the line equation parameters obtained after reprojecting the corresponding line in the world coordinate system onto the image plane according to the current camera intrinsic and extrinsic parameters is calculated, and the squares of the distances of all line features are summed.

6. The method for rapid binocular vision calibration in tennis training based on point-line joint constraints according to claim 1, characterized in that: In step S4, the objective optimization function of the point-line joint constraint is the weighted sum of the point feature reprojection error term and the line feature reprojection error term. The weight coefficient of the point feature error term ranges from 0.3 to 0.7, the weight coefficient of the line feature error term ranges from 0.3 to 0.7, and the sum of the two weight coefficients is equal to 1.

7. The method for rapid binocular vision calibration in tennis training based on point-line joint constraints according to claim 1, characterized in that: In step S5, the nonlinear optimization algorithm adopts the Levenberg-Marquardt algorithm or the Gauss-Newton algorithm. The iteration termination condition is that the change in the objective function value is less than a preset threshold or the maximum number of iterations is reached. The preset threshold is 10 to the power of -6, and the maximum number of iterations is 100.

8. The method for rapid binocular vision calibration in tennis training based on point-line joint constraints according to claim 1, characterized in that: In step S6, the rotation matrix between the left and right cameras is obtained by multiplying the rotation matrix of the right camera by the transpose of the rotation matrix of the left camera, and the translation vector between the left and right cameras is obtained by subtracting the transpose of the rotation matrix of the left camera from the translation vector of the right camera, multiplying by the rotation matrices of both cameras, and then multiplying by the translation vector of the left camera.

9. A binocular vision rapid calibration device for tennis training with point-line joint constraints, employing the method described in any one of claims 1 to 8, characterized in that: include: The left camera (1) and the right camera (2) are fixedly installed at preset positions on the tennis training court to synchronously acquire images including the checkerboard calibration board and the tennis court sidelines. The calibration board (3) is a chessboard calibration board. The chessboard has several rows and columns of black and white squares, and the corner points of the squares are used as point feature markers. The control terminal (4) is electrically connected to the left camera (1) and the right camera (2) via data lines, and is used to send synchronous acquisition commands, receive image data and perform calibration calculations. The image preprocessing module (5) is located in the control terminal (4) and is used to perform grayscale, filtering and noise reduction and binarization processing on the images acquired by the left camera (1) and the right camera (2); The feature extraction module (6) is set in the control terminal (4) and is used to extract the corner pixel coordinates of the chessboard calibration board as point features and extract the straight line equation parameters of the tennis court sidelines as line features. The calibration calculation module (7) is set in the control terminal (4) to establish the target optimization function of the point-line joint constraint and solve iteratively, and output the optimization intrinsic and extrinsic parameters of the left and right cameras as well as the rotation matrix and translation vector between them; The display module (8) is electrically connected to the control terminal (4) and is used to display the calibration process and calibration results.

10. The binocular vision rapid calibration device for tennis training with point-line joint constraints according to claim 9, characterized in that: The control terminal (4) is an industrial computer or an embedded industrial control computer, whose core chip is an Intel Core i7 processor or an ARM Cortex-A series processor; the left camera (1) and the right camera (2) are both industrial area array cameras with a resolution of 1920×1080 pixels or higher and a frame rate of 30fps or higher. The left camera (1) and the right camera (2) are connected by a synchronous trigger line to achieve synchronous acquisition; the grid size of the calibration board (3) is 20mm×20mm to 50mm×50mm, and the number of rows and columns of the chessboard grid is 6 to 12.

Citation Information

Patent Citations

  • Self-calibration method for binocular stereo vision device

    CN101706957B