Method, device and computer-readable storage medium for marking posture information

By acquiring camera images from different angles, determining the camera coordinate system transformation matrix and synchronously rendering the 3D model, combined with neural network training, it solves the shortcomings of accurate annotation of pose information in existing 3D annotation methods and achieves high-precision and efficient pose information. Label.

CN112258574BActive Publication Date: 2024-10-18BEIJING WODONG TIANJUN INFORMATION TECH CO LTD +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202010997477.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-09-21
Publication Date
2024-10-18
Estimated Expiration
2040-09-21

AI Technical Summary

Technical Problem

Existing 3D annotation methods have shortcomings in accurately annotating target pose information. Multi-camera annotation is expensive and complex to operate. 3D bounding box annotation accuracy is low and the target pose information cannot be accurately restored.

Method used

By acquiring camera images from different shooting angles, determining the camera coordinate system transformation matrix, rendering the three-dimensional model simultaneously, and adjusting the model pose so that it overlaps in each image, combined with neural network training to improve the annotation accuracy of pose information.

Benefits of technology

It achieves more accurate labeling of target pose information, reduces labeling errors, and improves labeling accuracy and efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112258574B_ABST
    Figure CN112258574B_ABST
Patent Text Reader

Abstract

The present disclosure provides a method, device and computer-readable storage medium for annotating posture information, and relates to the field of computer technology. The method for annotating posture information includes: obtaining images of a target captured by cameras at different shooting angles at the same time; determining the camera coordinate system conversion matrix between the cameras; synchronously rendering the three-dimensional model corresponding to the target in the image according to the camera coordinate system conversion matrix; adjusting the posture information of the three-dimensional model corresponding to the target in the main image so that the three-dimensional model corresponding to the target overlaps with the target in each image, and the main image is any image; annotating the posture information of the target in the main image as the posture information of the three-dimensional model corresponding to the target in the main image after adjustment. The present disclosure can more accurately annotate the posture information of the target in the image.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of computer technology, and in particular to a method and device for labeling posture information, and a computer-readable storage medium. Background Art

[0002] 3D annotation is the use of computer vision technology to annotate the position information of a target in an image or video. This technology can be combined with vehicle detection, pedestrian detection, naked eye 3D and other technologies, and applied to specific fields such as artificial intelligence systems, vehicle assisted driving technology, intelligent robots, virtual reality dressing, augmented reality dressing, intelligent video surveillance, human behavior analysis, and intelligent transportation.

[0003] At present, the main methods of 3D annotation are multi-camera dot annotation and 3D bounding box annotation. Multi-camera dot annotation uses multiple cameras to shoot the target from different angles, and recovers the target's pose information by capturing the photosensitive points and the relationship between the cameras. 3D bounding box annotation achieves box selection and annotation of the target in the image by pulling an outer bounding box. Summary of the invention

[0004] A technical problem solved by the present disclosure is how to more accurately annotate the position and posture information of the target in the image.

[0005] According to one aspect of an embodiment of the present disclosure, a method for marking posture information is provided, including: obtaining images of a target captured by cameras at different shooting angles at the same time; determining a camera coordinate system transformation matrix between each camera; synchronously rendering a three-dimensional model corresponding to the target in the image according to the camera coordinate system transformation matrix; adjusting the posture information of the three-dimensional model corresponding to the target in a main image so that the three-dimensional model corresponding to the target coincides with the target in each image, the main image being any one image; marking the posture information of the target in the main image as the posture information of the three-dimensional model corresponding to the target in the main image after adjustment.

[0006] In some embodiments, synchronously rendering a three-dimensional model corresponding to a target in an image according to a camera coordinate system conversion matrix includes: rendering the three-dimensional model corresponding to the target in the main image using the three-dimensional model corresponding to the target, the pose information of the three-dimensional model corresponding to the target in the main image, and the camera intrinsic parameters of the camera corresponding to the main image; determining the camera coordinate system coordinates of the three-dimensional model corresponding to the target in cameras corresponding to other images according to the camera coordinate system coordinates of the three-dimensional model corresponding to the target in the camera corresponding to the main image and the camera coordinate system conversion matrix; synchronously rendering the three-dimensional model corresponding to the target in other images according to the camera coordinate system coordinates of the three-dimensional model corresponding to the target in cameras corresponding to other images and the camera intrinsic parameters of the cameras corresponding to other images.

[0007] In some embodiments, adjusting the pose information of the three-dimensional model corresponding to the target in the main image so that the three-dimensional model corresponding to the target overlaps with the target in each image includes: adjusting the Euler angles and three-dimensional displacements of the three-dimensional model corresponding to the target in the main image so that the three-dimensional model corresponding to the target overlaps with the target in the main image; keeping the three-dimensional model corresponding to the target overlapped with the target in the main image, and continuing to adjust the Euler angles and three-dimensional displacements of the three-dimensional model corresponding to the target in the main image so that the three-dimensional model corresponding to the target overlaps with the target in other images.

[0008] In some embodiments, determining the camera coordinate system transformation matrix between two cameras includes: determining the rotation matrix and translation matrix of the first camera according to the coordinates of the calibration points in the first camera coordinate system and the coordinates of the calibration points in the world coordinate system; determining the rotation matrix and translation matrix of the second camera according to the coordinates of the calibration points in the second camera coordinate system and the coordinates of the calibration points in the world coordinate system; determining the camera coordinate system transformation matrix between the first camera and the second camera according to the rotation matrix and translation matrix of the first camera and the rotation matrix and translation matrix of the second camera, where the first camera and the second camera are any two cameras.

[0009] In some embodiments, the method further includes: using the main image and the position and posture information of the target in the main image to train the neural network, so that the neural network is configured to process the image to be identified containing the target, and obtain the position and posture information of the target in the image to be identified.

[0010] In some embodiments, the method further includes: inputting an image to be identified containing the target into a neural network to obtain position information of the target in the image to be identified.

[0011] In some embodiments, an open graphics library is used to synchronously render a three-dimensional model corresponding to a target in an image.

[0012] According to one aspect of an embodiment of the present disclosure, there is provided a device for annotating posture information, comprising: an image acquisition module, configured to acquire images of a target captured by cameras at different shooting angles at the same time; a matrix determination module, configured to determine a camera coordinate system conversion matrix between two cameras; a model rendering module, configured to synchronously render a three-dimensional model corresponding to the target in the image according to the camera coordinate system conversion matrix; a posture adjustment module, configured to adjust the posture information of the three-dimensional model corresponding to the target in a main image, so that the three-dimensional model corresponding to the target coincides with the target in each image, and the main image is any one image; and an information annotation module, configured to annotate the posture information of the target in the main image as the posture information of the three-dimensional model corresponding to the target in the main image after adjustment.

[0013] In some embodiments, the model rendering module is configured to: render the three-dimensional model corresponding to the target in the main image by using the three-dimensional model corresponding to the target, the pose information of the three-dimensional model corresponding to the target in the main image, and the camera intrinsic parameters of the camera corresponding to the main image; determine the camera coordinate system coordinates of the three-dimensional model corresponding to the target in the cameras corresponding to other images according to the camera coordinate system coordinates of the three-dimensional model corresponding to the target in the camera corresponding to the main image and the camera coordinate system transformation matrix; synchronously render the three-dimensional model corresponding to the target in other images according to the camera coordinate system coordinates of the three-dimensional model corresponding to the target in the cameras corresponding to other images and the camera intrinsic parameters of the cameras corresponding to other images.

[0014] In some embodiments, the posture adjustment module is configured to: adjust the Euler angles and three-dimensional displacements of the three-dimensional model corresponding to the target in the main image so that the three-dimensional model corresponding to the target overlaps with the target in the main image; keep the three-dimensional model corresponding to the target overlapped with the target in the main image, and continue to adjust the Euler angles and three-dimensional displacements of the three-dimensional model corresponding to the target in the main image so that the three-dimensional model corresponding to the target overlaps with the target in other images.

[0015] In some embodiments, the matrix determination module is configured to: determine the rotation matrix and translation matrix of the first camera according to the coordinates of the calibration points in the first camera coordinate system and the coordinates of the calibration points in the world coordinate system; determine the rotation matrix and translation matrix of the second camera according to the coordinates of the calibration points in the second camera coordinate system and the coordinates of the calibration points in the world coordinate system; determine the camera coordinate system transformation matrix between the first camera and the second camera according to the rotation matrix and translation matrix of the first camera and the rotation matrix and translation matrix of the second camera, where the first camera and the second camera are any two cameras.

[0016] In some embodiments, the device also includes a network training module, which is configured to: use the main image and the position and posture information of the target in the main image to train the neural network, so that the neural network is configured to process the image to be identified containing the target, and obtain the position and posture information of the target in the image to be identified.

[0017] In some embodiments, the device also includes a posture recognition module configured to: input an image to be recognized containing a target into a neural network to obtain posture information of the target in the image to be recognized.

[0018] In some embodiments, the model rendering module is configured to synchronously render the three-dimensional model corresponding to the target in the image using an open graphics library.

[0019] According to another aspect of an embodiment of the present disclosure, another device for marking posture information is provided, including: a memory; and a processor coupled to the memory, the processor being configured to execute the aforementioned method for marking posture information based on instructions stored in the memory.

[0020] According to another aspect of the embodiments of the present disclosure, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and when the instructions are executed by a processor, the aforementioned method of marking posture information is implemented.

[0021] The present disclosure can more accurately annotate the position and posture information of the target in the image.

[0022] Other features and advantages of the present disclosure will become apparent from the following detailed description of exemplary embodiments of the present disclosure with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] In order to more clearly illustrate the embodiments of the present disclosure or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present disclosure. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0024] Figure 1 A schematic diagram showing a target photographed by a monocular camera.

[0025] Figure 2 A schematic diagram showing a target photographed by a camera at different shooting angles.

[0026] Figure 3 A flowchart of a method for labeling posture information according to some embodiments of the present disclosure is shown.

[0027] Figure 4 The figure shows images of a target captured by cameras at different shooting angles at the same time.

[0028] Figure 5 The conversion relationship among the world coordinate system, the camera coordinate system of the first camera, and the camera coordinate system of the second camera is shown.

[0029] Figure 6 A three-dimensional model of a shoe worn on a foot is shown being rendered simultaneously in the image.

[0030] Figure 7 A schematic diagram of adjusting the three-dimensional model of a shoe is shown.

[0031] Figure 8 A schematic diagram of the structure of an apparatus for marking posture information according to some embodiments of the present disclosure is shown.

[0032] Fig. 9 A schematic diagram of the structure of an apparatus for marking posture information according to other embodiments of the present disclosure is shown. DETAILED DESCRIPTION

[0033] The following will be combined with the drawings in the embodiments of the present disclosure to clearly and completely describe the technical solutions in the embodiments of the present disclosure. Obviously, the described embodiments are only part of the embodiments of the present disclosure, rather than all of the embodiments. The following description of at least one exemplary embodiment is actually only illustrative and is by no means intended to limit the present disclosure and its application or use. Based on the embodiments in the present disclosure, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present disclosure.

[0034] The inventors found that multi-camera dot marking requires marking points on the target to be marked in advance, which is easy to pollute the data. And if the marking points are large, the size of the marked object cannot be too small, and the marking points cannot be too dense. Therefore, this method is costly and complex to operate, and there are many limiting factors. The 3D bounding box annotation has fewer degrees of freedom, and the bounding box is essentially a two-dimensional box. Therefore, the annotation accuracy of the pose information is relatively low, and the annotation data of the pose information is not accurate enough. It can only ensure that the pose under a single shooting angle is close to the actual pose, and the accurate pose information of the marked target cannot be obtained.

[0035] Figure 1 Figure 2 shows a schematic diagram of a monocular camera photographing a target. Figure 1 As shown, by taking an image of a target with a monocular camera, only the direction of the marked target relative to the camera lens can be obtained, but the actual distance data of the marked target relative to the monocular camera cannot be accurately obtained. Figure 2 Schematic diagram showing the camera shooting targets at different shooting angles. Figure 2 As shown in the figure, cameras with different shooting angles can calculate the actual position of the target in the camera coordinate system based on the coordinate transformation relationship between the cameras and the position relationship of the corresponding key points in the captured images. In other words, the real position of the marked target in the camera coordinate system and the distance between each point of the marked target and the lens can be accurately obtained. This process is similar to binocular ranging.

[0036] First combine Figure 3 Some embodiments of the method for labeling pose information disclosed in the present invention are described.

[0037] Figure 3 A schematic diagram of a method for labeling posture information in some embodiments of the present disclosure is shown. Figure 3 As shown, this embodiment includes steps S301 to S305.

[0038] In step S301, images of a target captured by cameras at different shooting angles at the same time are acquired.

[0039] Figure 4 Figure 2 shows images of a target captured by cameras at different shooting angles at the same time. Figure 4 As shown, four cameras with different shooting angles shoot the foot at the same time, and images of the foot shot by cameras with different shooting angles at the same time are obtained.

[0040] In step S302, the camera coordinate system transformation matrix between each camera is determined.

[0041] Assume that the first camera and the second camera are any two cameras with different shooting angles. First, calibrate the first camera and the second camera (for example, the Zhang Zhengyou calibration method can be used), and determine the rotation matrix R of the first camera according to the coordinates of the calibration points in the first camera coordinate system and the coordinates of the calibration points in the world coordinate system. wc1 and the translation matrix T wc1 ; According to the coordinates of the calibration point in the second camera coordinate system and the coordinates of the calibration point in the world coordinate system, determine the rotation matrix R of the second camera wc2 and the translation matrix T wc2 . Among them, the rotation matrix R wc1 , R wc2 It is a matrix with 3 rows and 3 columns, the translation matrix T wc1 、T wc2 It is a matrix with 3 rows and 1 column.

[0042] Next, the camera coordinate system transformation matrix between the first camera and the second camera is determined based on the rotation matrix and translation matrix of the first camera and the rotation matrix and translation matrix of the second camera. In order to obtain the camera coordinate system transformation matrix between the two cameras, two cameras are used to simultaneously shoot the chessboard at the same position from different angles, so that the point P in the same world coordinate system is obtained. w =(x w ,y w , z w ) T Coordinate P in the camera coordinate system of the first camera C1 =(x C1 ,y C1 , z C1 ) T And the coordinates P in the camera coordinate system of the second camera C2 =(x C2 ,y C2 , z C2 ) T The conversion relationship between the world coordinate system and the camera coordinate system of the first camera is shown in formula (1), and the conversion relationship between the world coordinate system and the camera coordinate system of the second camera is shown in formula (2).

[0043]

[0044]

[0045] Assume that the camera coordinate system transformation matrix between the first camera and the second camera is Then we have formula (3), formula (4) and formula (5):

[0046]

[0047]

[0048]

[0049] Due to R wc1 、T wc1 , R wc2 and T wc2 is a known quantity, so R can be obtained according to formula (5) C1C2 and T C1C2 , thereby calculating the camera coordinate system transformation matrix between the first camera and the second camera. Figure 5 The conversion relationship among the world coordinate system, the camera coordinate system of the first camera, and the camera coordinate system of the second camera is shown. After that, by marking the marked points in the image taken by the first camera, the position of the marked points in the image taken by the second camera can be obtained.

[0050] In step S303, the three-dimensional model corresponding to the target is synchronously rendered in the image according to the camera coordinate system conversion matrix.

[0051] For example, OpenGL (Open Graphics Library) may be used to synchronously render a three-dimensional model corresponding to a target in an image. Figure 6 A three-dimensional model of a shoe worn on a foot is shown being rendered simultaneously in the image.

[0052] First, the 3D model corresponding to the target, the position and posture information of the 3D model corresponding to the target in the main image, and the camera intrinsic parameters of the camera corresponding to the main image are used to render the 3D model corresponding to the target in the main image. For example, OpenGL can render the 3D model corresponding to the target in the main image based on the 3D model of the shoe, the position and posture information of the 3D model of the shoe in the main image, and the camera intrinsic parameters of the camera corresponding to the main image, wherein the main image is any one of the above images, such as an image taken by the first camera.

[0053] Then, the coordinates of the three-dimensional model corresponding to the target in the camera coordinate system of the camera corresponding to the main image and the camera coordinate system conversion matrix are used to determine the coordinates of the three-dimensional model corresponding to the target in the camera coordinate system of the other images. For example, the coordinates of the three-dimensional model of the shoe in the camera coordinate system of the first camera and the camera coordinate system conversion matrix between the first camera and the second camera can be used to determine the coordinates of the three-dimensional model of the shoe in the camera coordinate system of the second camera.

[0054] Finally, according to the coordinates of the 3D model corresponding to the target in the camera coordinate system of the camera corresponding to the other images and the camera intrinsic parameters of the camera corresponding to the other images, the 3D model corresponding to the target is synchronously rendered in the other images. For example, according to the coordinates of the shoe in the camera coordinate system of the second camera and the camera intrinsic parameters of the second camera, the pixel coordinate system coordinates of the 3D model of the shoe in the image taken by the second camera can be determined, so that the 3D model of the shoe worn on the foot is synchronously rendered in the image taken by the second camera.

[0055] In step S304, the position and posture information of the three-dimensional model corresponding to the target in the main image is adjusted so that the three-dimensional model corresponding to the target overlaps with the target in each image, and the main image is any image.

[0056] For example, the Euler angle and the three-dimensional displacement of the three-dimensional model corresponding to the target in the main image may be adjusted so that the three-dimensional model corresponding to the target overlaps with the target in the main image. Figure 7 A schematic diagram of adjusting the three-dimensional model of the shoe is shown. Then, the three-dimensional model corresponding to the target is kept overlapping with the target in the main image, and the Euler angle and three-dimensional displacement of the three-dimensional model corresponding to the target in the main image are continuously adjusted to make the three-dimensional model corresponding to the target overlap with the target in other images.

[0057] In step S305, the position and posture information of the target in the main image is marked as the position and posture information of the three-dimensional model corresponding to the adjusted target in the main image.

[0058] For example, the cumulative amount of adjusting the three-dimensional model of the shoe in the image taken by the first camera, that is, the rotation parameters and translation parameters of the shoe model from the initial position to the position in the image, can be obtained through the interface provided by OpenGL. Then it is used as the position information of the target in the main image. Those skilled in the art should understand that the position information specifically includes position information and attitude information. The position information can be represented in the form of a translation matrix, and the attitude information can be represented in the form of a rotation matrix, a rotation vector, Euler angles, quaternions, etc., and no formal limitation is made here.

[0059] The above-mentioned embodiment combines multi-channel camera shooting with 3D rendering technology to realize the collaborative labeling of targets in images taken by multiple cameras, and can ensure that the rendered three-dimensional model coincides with the target in each image, thereby more accurately labeling the target's position and posture information in the image and reducing the labeling error in the process of labeling the position and posture information.

[0060] In some embodiments, the method of marking posture information further includes steps S306 to S307.

[0061] In step S306, the main image and the position and posture information of the target in the main image are used to train the neural network, so that the neural network is configured to process the image to be identified containing the target and obtain the position and posture information of the target in the image to be identified.

[0062] In step S307, the image to be identified containing the target is input into the neural network to obtain the position and posture information of the target in the image to be identified.

[0063] Based on the accurate annotation of posture information, this embodiment provides a technical solution for training a neural network and using the neural network for prediction, which can automatically and efficiently obtain the posture information of the target from the image.

[0064] Combine the following Figure 8 Some embodiments of the apparatus for labeling pose information disclosed herein are described.

[0065] Figure 8 A schematic diagram of the structure of a device for marking posture information in some embodiments of the present disclosure is shown. Figure 8 As shown, the device 80 for marking posture information in this embodiment includes: an image acquisition module 801, configured to obtain images of a target captured by cameras at different shooting angles at the same time; a matrix determination module 802, configured to determine the camera coordinate system conversion matrix between each camera; a model rendering module 803, configured to synchronously render the three-dimensional model corresponding to the target in the image according to the camera coordinate system conversion matrix; a posture adjustment module 804, configured to adjust the posture information of the three-dimensional model corresponding to the target in the main image, so that the three-dimensional model corresponding to the target coincides with the target in each image, and the main image is any image; an information annotation module 805, configured to annotate the posture information of the target in the main image as the posture information of the three-dimensional model corresponding to the target in the main image after adjustment.

[0066] In some embodiments, the model rendering module 803 is configured to: render the three-dimensional model corresponding to the target in the main image by using the three-dimensional model corresponding to the target, the pose information of the three-dimensional model corresponding to the target in the main image, and the camera intrinsic parameters of the camera corresponding to the main image; determine the camera coordinate system coordinates of the three-dimensional model corresponding to the target in the cameras corresponding to other images according to the camera coordinate system coordinates of the three-dimensional model corresponding to the target in the camera corresponding to the main image and the camera coordinate system transformation matrix; synchronously render the three-dimensional model corresponding to the target in other images according to the camera coordinate system coordinates of the three-dimensional model corresponding to the target in the cameras corresponding to other images and the camera intrinsic parameters of the cameras corresponding to other images.

[0067] In some embodiments, the posture adjustment module 804 is configured to: adjust the Euler angles and three-dimensional displacements of the three-dimensional model corresponding to the target in the main image so that the three-dimensional model corresponding to the target overlaps with the target in the main image; keep the three-dimensional model corresponding to the target overlapping with the target in the main image, and continue to adjust the Euler angles and three-dimensional displacements of the three-dimensional model corresponding to the target in the main image so that the three-dimensional model corresponding to the target overlaps with the target in other images.

[0068] In some embodiments, the matrix determination module 802 is configured to: determine the rotation matrix and translation matrix of the first camera according to the coordinates of the calibration points in the first camera coordinate system and the coordinates of the calibration points in the world coordinate system; determine the rotation matrix and translation matrix of the second camera according to the coordinates of the calibration points in the second camera coordinate system and the coordinates of the calibration points in the world coordinate system; determine the camera coordinate system transformation matrix between the first camera and the second camera according to the rotation matrix and translation matrix of the first camera and the rotation matrix and translation matrix of the second camera, where the first camera and the second camera are any two cameras.

[0069] In some embodiments, the model rendering module 803 is configured to synchronously render the three-dimensional model corresponding to the target in the image using an open graphics library.

[0070] The above-mentioned embodiment combines multi-channel camera shooting with 3D rendering technology to realize the collaborative labeling of targets in images taken by multiple cameras, and can ensure that the rendered three-dimensional model coincides with the target in each image, thereby more accurately labeling the target's position and posture information in the image and reducing the labeling error in the process of labeling the position and posture information.

[0071] In some embodiments, the device 80 also includes a network training module 806, which is configured to: use the main image and the position and posture information of the target in the main image to train the neural network, so that the neural network is configured to process the image to be identified containing the target, and obtain the position and posture information of the target in the image to be identified.

[0072] In some embodiments, the device 80 further includes a posture recognition module 807 configured to: input an image to be recognized containing a target into a neural network to obtain posture information of the target in the image to be recognized.

[0073] Based on the accurate annotation of posture information, this embodiment provides a technical solution for training a neural network and using the neural network for prediction, which can automatically and efficiently obtain the posture information of the target from the image.

[0074] Combine the following Fig. 9 Other embodiments of the apparatus for labeling pose information disclosed herein are described.

[0075] Fig. 9 The schematic diagram of the structure of the device for marking posture information in other embodiments of the present disclosure is shown. Fig. 9 As shown, the device 90 for marking posture information of this embodiment includes: a memory 910 and a processor 920 coupled to the memory 910, and the processor 920 is configured to execute the method for marking posture information in any of the aforementioned embodiments based on instructions stored in the memory 910.

[0076] The memory 910 may include, for example, a system memory, a fixed non-volatile storage medium, etc. The system memory may store, for example, an operating system, an application program, a boot loader, and other programs.

[0077] The device 90 for marking posture information may also include an input / output interface 930, a network interface 940, a storage interface 950, etc. These interfaces 930, 940, 950 and the memory 910 and the processor 920 may be connected, for example, via a bus 960. Among them, the input / output interface 930 provides a connection interface for input / output devices such as a display, a mouse, a keyboard, and a touch screen. The network interface 940 provides a connection interface for various networked devices. The storage interface 950 provides a connection interface for external storage devices such as SD cards and USB flash drives.

[0078] The present disclosure also includes a computer-readable storage medium having computer instructions stored thereon, which, when executed by a processor, implement the method for marking posture information in any of the aforementioned embodiments.

[0079] The present disclosure is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present disclosure. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0080] These computer program instructions may also be stored in a computer readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0081] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0082] The above description is only a preferred embodiment of the present disclosure and is not intended to limit the present disclosure. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present disclosure should be included in the protection scope of the present disclosure.

Claims

1. A method for marking pose information, comprising: Get images of the target captured by cameras at different shooting angles at the same time; Determine a camera coordinate system transformation matrix between each of the cameras; Synchronously rendering a three-dimensional model corresponding to a target in the image according to the camera coordinate system conversion matrix; Adjusting the position information of the three-dimensional model corresponding to the target in the main image so that the three-dimensional model corresponding to the target overlaps with the target in each of the images, including: adjusting the Euler angle and the three-dimensional displacement of the three-dimensional model corresponding to the target in the main image so that the three-dimensional model corresponding to the target overlaps with the target in the main image; keeping the three-dimensional model corresponding to the target overlap with the target in the main image, and continuing to adjust the Euler angle and the three-dimensional displacement of the three-dimensional model corresponding to the target in the main image so that the three-dimensional model corresponding to the target overlaps with the target in other images, wherein the main image is any one of the images; The pose information of the target in the main image is marked as the pose information of the three-dimensional model corresponding to the adjusted target in the main image.

2. The method according to claim 1, wherein: The synchronously rendering the three-dimensional model corresponding to the target in the image according to the camera coordinate system conversion matrix comprises: Rendering the three-dimensional model corresponding to the target in the main image by using the three-dimensional model corresponding to the target, the pose information of the three-dimensional model corresponding to the target in the main image, and the camera intrinsic parameters of the camera corresponding to the main image; Determine the camera coordinate system coordinates of the three-dimensional model corresponding to the target in the camera corresponding to the other images according to the camera coordinate system coordinates of the three-dimensional model corresponding to the target in the camera corresponding to the main image and the camera coordinate system conversion matrix; According to the camera coordinate system coordinates of the three-dimensional model corresponding to the target in the other images and the camera internal parameters of the camera corresponding to the other images, the three-dimensional model corresponding to the target is synchronously rendered in the other images.

3. The method according to claim 1, wherein: Determining the camera coordinate system transformation matrix between the cameras comprises: Determine a rotation matrix and a translation matrix of the first camera according to the coordinates of the calibration points in the first camera coordinate system and the coordinates of the calibration points in the world coordinate system; Determine the rotation matrix and translation matrix of the second camera according to the coordinates of the calibration points in the second camera coordinate system and the coordinates of the calibration points in the world coordinate system; A camera coordinate system conversion matrix between the first camera and the second camera is determined according to a rotation matrix and a translation matrix of the first camera and a rotation matrix and a translation matrix of the second camera, wherein the first camera and the second camera are any two of the cameras.

4. The method according to claim 1, further comprising: The main image and the position and posture information of the target in the main image are used to train the neural network, so that the neural network is configured to process the image to be identified containing the target, and obtain the position and posture information of the target in the image to be identified.

5. The method according to claim 4, further comprising: An image to be identified containing a target is input into the neural network to obtain position information of the target in the image to be identified.

6. The method according to claim 1, wherein: An open graphics library is used to synchronously render a three-dimensional model corresponding to a target in the image.

7. A device for marking posture information, comprising: An image acquisition module is configured to acquire images of a target captured by cameras at different shooting angles at the same time; A matrix determination module, configured to determine a camera coordinate system transformation matrix between each of the cameras; A model rendering module is configured to synchronously render a three-dimensional model corresponding to a target in the image according to the camera coordinate system conversion matrix; A posture adjustment module is configured to adjust the posture information of the three-dimensional model corresponding to the target in the main image so that the three-dimensional model corresponding to the target overlaps with the target in each of the images, including: adjusting the Euler angle and the three-dimensional displacement of the three-dimensional model corresponding to the target in the main image so that the three-dimensional model corresponding to the target overlaps with the target in the main image; keeping the three-dimensional model corresponding to the target overlap with the target in the main image, and continuing to adjust the Euler angle and the three-dimensional displacement of the three-dimensional model corresponding to the target in the main image so that the three-dimensional model corresponding to the target overlaps with the target in other images, wherein the main image is any of the images; The information annotation module is configured to annotate the position and posture information of the target in the main image as the position and posture information of the three-dimensional model corresponding to the adjusted target in the main image.

8. A device for marking posture information, comprising: Memory; as well as A processor coupled to the memory, the processor being configured to execute the method for labeling pose information according to any one of claims 1 to 6 based on instructions stored in the memory.

9. A computer-readable storage medium, wherein: The computer-readable storage medium stores computer instructions, and when the instructions are executed by a processor, the method for marking pose information according to any one of claims 1 to 6 is implemented.

Citation Information

Patent Citations

  • A method and device for position and posture determination

    CN109003305A

  • Method and device for determining three-dimensional pose of object and electronic equipment

    CN110298877A