Data set making method for deep learning attitude estimation
An attitude estimation and production method technology, applied in image data processing, calculation, instruments, etc., can solve the problems of complicated production process and difficulty in obtaining 3D models.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0027] The target object in this embodiment is a milk carton as an example.
[0028] S1: Prepare a camera for collecting photos, use the checkerboard to calibrate the camera, obtain the camera's internal parameter mtx and external parameter dist, and also determine the camera coordinate system, because the camera coordinate system is based on the optical center of the camera as the origin;
[0029] S2: Generate and print a code disc including at least one QR code, and place the milk carton on the plane of the code disc; the QR code is generated by the aruco library in opencv, and the printing effect of the code disc is as follows figure 2 shown;
[0030] S3: Use the camera to collect pictures of milk cartons and code discs, at least one QR code in the pictures is not covered by the milk carton; the effect of the collected pictures is as follows image 3 shown.
[0031] S4: Identify the QR code in the picture, select a QR code that is not covered by the milk carton and set u...
Embodiment 2
[0038] Further, a vertex order detection step is also included. After the pixel coordinates of the 8 vertices are calculated in step S6, the order of the 8 vertices is proposed, and the order of the vertices mapped on the milk carton is checked by reprojection to see if the order is consistent with the proposed order. If not , adjust to be consistent, and then execute step S7. Such as Figure 4 As shown, first make sure that the labels of the 8 vertices are 1-8 respectively, and set a label for each vertex, if Figure 4 The right side is set as the front side, and the milk carton was placed upside down when the picture was collected, then the fixed point 1 at this time corresponds to the original 5, 3 corresponds to 7, 2 corresponds to 6, and 4 corresponds to 8, then the point at this time The correct order should be 56781234, just adjust the order number of vertices from 1-8 to 56781234.
Embodiment 3
[0040] In step S2 of this embodiment, a code plate including two two-dimensional codes is generated and printed, and the milk carton is placed between the two two-dimensional codes. This embodiment is mainly to ensure that at least one two-dimensional code is not covered by the milk carton when the picture is captured, so that it can be captured and identified.
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


