Object generation method, device, electronic device and storage medium

By acquiring object generation reference information and the currently acquired image, a virtual image is virtually generated and aligned, solving the alignment problem of overlay printing of upper-layer structures in 3D printing and improving the accuracy and precision of multi-layer object generation.

CN118656994BActive Publication Date: 2024-11-22TUOTUO TECHNOLOGY (SUZHOU) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411134186.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-19
Publication Date
2024-11-22
Estimated Expiration
2044-08-19

AI Technical Summary

Technical Problem

In the process of generating multi-layered objects, especially in 3D printing, when overlaying the upper structure, existing technologies struggle to achieve accurate alignment, resulting in significant differences between the generated 3D model and the desired model.

Method used

By acquiring the object generation reference information of the object to be generated and the currently acquired image, a virtual image is virtually generated, and the object generation device is controlled to perform an alignment operation so that the virtual image coincides with the acquired image, thereby obtaining the reference information of the object to be generated and achieving accurate object generation.

Benefits of technology

It improves the accuracy of multi-layer object generation, reduces errors between layers, and ensures the generation accuracy of the items to be generated.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118656994B_ABST
    Figure CN118656994B_ABST
Patent Text Reader

Abstract

The present disclosure relates to an object generation method, device, electronic device and storage medium, including: obtaining object generation reference information and a current acquisition image corresponding to an object to be generated; obtaining first object reference information of a generated object from the object generation reference information; virtually generating a first virtual image on the current acquisition image based on the first object reference information; controlling an object generation device to perform an alignment operation on the generated object based on the first virtual image, so that the first virtual image coincides with the object image of the generated object in the current acquisition image; obtaining second object reference information of the current object to be generated from the object generation reference information when the first virtual image coincides with the object image of the generated object in the current acquisition image; and controlling the object generation device to perform an object generation operation on the current object to be generated based on the second object reference information. The generation accuracy of the object to be generated can be improved by using the embodiments of the present disclosure.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the technical field of multi-layer object generation, and in particular to an object generation method, device, electronic device and storage medium. Background Art

[0002] With the continuous development of technology, the need for layer-by-layer generation of multi-layer objects is increasing. The layer-by-layer generation of multi-layer objects is to generate each layer of objects layer by layer in order from the bottom layer to the top layer by layer. Exemplarily, the application fields of layer-by-layer generation of multi-layer objects may include 3D printing, etc. Among them, 3D printing, also known as additive manufacturing technology, is a technology for manufacturing solid parts by accumulating materials layer by layer based on three-dimensional data. Specifically, first, a required three-dimensional model can be designed using computer-aided modeling software; then the data of this model is processed using slicing software, and the 3D printer will select a molding method from a variety of molding principles, and print the raw materials layer by layer according to these working paths; when the two-dimensional sheets are stacked together layer by layer, the designed three-dimensional model is manufactured. In the printing process, there may be a need to overprint the upper structure on the basis of the underlying structure. Before overprinting the upper structure, if alignment is not performed, the overprinted three-dimensional model may be greatly different from the expected three-dimensional model. Summary of the invention

[0003] In view of the above-mentioned technical problems, the present disclosure proposes an object generation method, device, electronic device and storage medium.

[0004] According to an aspect of an embodiment of the present disclosure, a method for generating an object is provided, the method comprising:

[0005] Obtain object generation reference information corresponding to the object to be generated and a current acquisition image of the current acquisition area corresponding to the object to be generated; the object generation reference information is used to describe the object shape content of each layer of the multi-layer object to be generated corresponding to the object to be generated and the relative position relationship between the objects of each layer; the current acquisition image is a regional image of the current acquisition area of ​​the generated object corresponding to the object to be generated;

[0006] Acquire first object reference information of the generated object from the object generation reference information;

[0007] Based on the first object reference information, virtually generate a first virtual image on the current acquired image; the first virtual image is a virtual object image corresponding to the generated object;

[0008] Based on the first virtual image, controlling the object generation device to perform an alignment operation on the generated object so that the first virtual image coincides with an object image of the generated object in the current acquired image;

[0009] In the case where the first virtual image coincides with the object image of the generated object in the current acquired image, obtaining second object reference information of the current object to be generated from the object generation reference information; the current object to be generated is an upper layer object of the generated object in the multi-layer object;

[0010] Based on the second object reference information, the object generating device is controlled to perform an object generating operation of the object to be generated currently.

[0011] Optionally, the second object reference information includes original object reference information corresponding to the current object to be generated; when the first virtual image coincides with the object image of the generated object in the current acquired image, acquiring the second object reference information of the current object to be generated from the object generation reference information includes:

[0012] In a case where the first virtual image coincides with the object image of the generated object in the current acquired image, deformation detection is performed on the generated object to obtain a deformation detection result of the generated object; the deformation detection result is used to indicate whether the generated object is deformed during the generation process;

[0013] In a case where the deformation detection result is a first detection result, the original object reference information is obtained from the object generation reference information; the first detection result is used to indicate that the generated object has not been deformed during the generation process.

[0014] Optionally, the second object reference information includes corrected object reference information corresponding to the current object to be generated; when the first virtual image coincides with the object image of the generated object in the current acquired image, acquiring the second object reference information of the current object to be generated from the object generation reference information includes:

[0015] In a case where the first virtual image coincides with the object image of the generated object in the current acquired image, deformation detection is performed on the generated object to obtain a deformation detection result of the generated object; the deformation detection result is used to indicate whether the generated object is deformed during the generation process;

[0016] In the case where the deformation detection result is the second detection result, deformation analysis is performed on the generated object to obtain target deformation index data corresponding to the generated object; the target deformation index data is used to indicate the deformation degree of the generated object; the second detection result is used to indicate that the generated object is deformed during the generation process;

[0017] Based on the target deformation index data, the object generation reference information is corrected to obtain corrected generation reference information;

[0018] The correction target reference information is acquired from the correction generation reference information.

[0019] Optionally, the target deformation index data includes first deformation index data and second deformation index data, the first deformation index data is used to indicate the deformation degree of the generated object in the dimension of size ratio deformation, and the second deformation index data is used to indicate the deformation degree of the generated object in the dimension of deformation angle; the method further includes:

[0020] Acquire first region position information corresponding to each of at least three aligned regions and second region position information corresponding to each of the at least three aligned regions; the first region position information corresponding to any aligned region is used to characterize the position of any aligned region in the generated object, and the second region position information corresponding to any aligned region is used to characterize the position of any aligned region in the object to be generated;

[0021] The step of performing deformation analysis on the generated object to obtain target deformation index data corresponding to the generated object includes:

[0022] Based on the first region position information and the second region position information, performing deformation size ratio analysis on the generated object to obtain the first deformation index data;

[0023] Based on the first region position information and the second region position information, a deformation angle analysis is performed on the generated object to obtain the second deformation index data.

[0024] Optionally, after controlling the object generation device to perform an alignment operation on the generated object based on the first virtual image so that the first virtual image coincides with an object image of the generated object in the current acquired image, the method further includes:

[0025] Acquire first position difference information corresponding to the generated object; the first position difference information is used to indicate the degree of difference between the current position of the generated object and the preset position corresponding to the object to be generated;

[0026] The step of performing deformation detection on the generated object to obtain a deformation detection result of the generated object when the first virtual image coincides with the object image of the generated object in the current acquired image includes:

[0027] When the first virtual image coincides with the object image of the generated object in the current acquired image, and the first position difference information indicates that there is no angular deviation between the current position and the preset position, deformation detection is performed on the generated object to obtain the deformation detection result.

[0028] Optionally, the first position difference information is obtained in the following manner:

[0029] Acquire third area position information corresponding to each of at least three target acquisition areas and fourth area position information corresponding to each of the at least three target acquisition areas; the third area position information corresponding to any target acquisition area is used to characterize the position of any target acquisition area in the generated object, and the fourth area position information corresponding to any target acquisition area is used to characterize the position of any target acquisition area in the object to be generated; at least one target acquisition area among the at least three target acquisition areas is located at the same horizontal position or the same vertical position as any target acquisition area in the object to be generated;

[0030] Based on the fourth region position information, an alignment relationship analysis is performed on the at least three target acquisition regions to obtain at least one aligned acquisition region pair corresponding to the at least three target acquisition regions; any aligned acquisition region pair includes two target acquisition regions aligned in a vertical direction or a horizontal direction;

[0031] Based on the at least one aligned acquisition region pair and the third region position information, position difference analysis is performed on the generated object to obtain the first position difference information.

[0032] Optionally, the method further includes:

[0033] Based on the target deformation index data, the first object reference information is corrected to obtain corrected first object reference information;

[0034] The process of correcting the object generation reference information based on the target deformation index data to obtain the corrected generation reference information includes:

[0035] When the first virtual image corresponding to the corrected first object reference information coincides with the object image of the generated object in the current acquired image, the object generation reference information is corrected based on the target deformation index data to obtain the corrected generation reference information.

[0036] Optionally, the method further includes:

[0037] Based on the second object reference information, virtually generate a second virtual image on the current acquired image; the second virtual image is a virtual object image corresponding to the current object to be generated;

[0038] Based on the second virtual image and the object generating reference information, performing alignment verification processing on the second virtual image to obtain an alignment verification result;

[0039] The controlling the object generation device to perform an object generation operation of the current object to be generated based on the second object reference information includes:

[0040] When the alignment verification result indicates that the relative position relationship between the second virtual image and the object image of the generated object in the current acquired image satisfies the relative position relationship indicated by the object generation reference information, the object generation device is controlled to perform the object generation operation based on the second object reference information.

[0041] Optionally, based on the first virtual image, controlling the object generating device to perform an alignment operation on the generated object so that the first virtual image coincides with an object image of the generated object in the current acquired image includes:

[0042] Based on the first virtual image and the current acquired image, performing position difference analysis on the first virtual image and the object image of the generated object in the current acquired image to obtain second position difference information; the second position difference information is used to characterize the degree of position difference between the first virtual image and the object image of the generated object in the current acquired image;

[0043] Based on the second position difference information, the object generation device is controlled to perform an alignment operation so that the first virtual image coincides with the object image of the generated object in the current acquired image.

[0044] Optionally, acquiring the first object reference information of the generated object from the object generation reference information includes:

[0045] Based on the current acquisition image and the object generation reference information, performing a region position matching analysis on the current acquisition region to obtain current region position information corresponding to the current acquisition region; the current region position information is used to characterize the position of the current acquisition region in the object to be generated;

[0046] Determining the number of generated layers corresponding to the generated object based on the current acquired image and the object generation reference information;

[0047] Based on the current region position information and the number of generated layers, the first object reference information is acquired from the object generation reference information.

[0048] Optionally, the method further includes:

[0049] In response to the contrast adjustment instruction, the object generation device is controlled to perform a contrast adjustment operation so that the contrast of the first virtual image is adjusted to a target contrast corresponding to the contrast adjustment instruction.

[0050] According to another aspect of an embodiment of the present disclosure, there is provided an object generation device, the device comprising:

[0051] The first information acquisition module is used to acquire object generation reference information corresponding to the object to be generated and a current acquisition image of the current acquisition area corresponding to the object to be generated; the object generation reference information is used to describe the object shape content of each layer of the multi-layer object to be generated corresponding to the object to be generated and the relative position relationship between the objects of each layer; the current acquisition image is a regional image of the current acquisition area of ​​the generated object corresponding to the object to be generated;

[0052] A second information acquisition module, configured to acquire first object reference information of the generated object from the object generation reference information;

[0053] A first virtual generation module, configured to virtually generate a first virtual image on the current acquired image based on the first object reference information; the first virtual image is a virtual object image corresponding to the generated object;

[0054] A first execution module, configured to control the object generation device to perform an alignment operation on the generated object based on the first virtual image, so that the first virtual image coincides with an object image of the generated object in the current acquired image;

[0055] A third information acquisition module is used to acquire second object reference information of the current object to be generated from the object generation reference information when the first virtual image coincides with the object image of the generated object in the current acquired image; the current object to be generated is an upper layer object of the generated object in the multi-layer object;

[0056] The second execution module is used to control the object generation device to execute the object generation operation of the current object to be generated based on the second object reference information.

[0057] According to another aspect of an embodiment of the present disclosure, there is provided an electronic device, comprising: a processor; and a memory for storing a computer program; wherein the processor is configured to execute the computer program to implement the above-mentioned object generation method.

[0058] According to another aspect of an embodiment of the present disclosure, a computer-readable storage medium is provided. When a computer program in the storage medium is executed by a processor of an electronic device, the electronic device is enabled to execute the above-mentioned object generation method.

[0059] According to another aspect of an embodiment of the present disclosure, a computer program product including a computer program is provided. When the computer program product is run on a computer, the computer is enabled to execute the object generation method.

[0060] The technical solution provided by the embodiments of the present disclosure brings at least the following beneficial effects:

[0061] By acquiring object generation reference information corresponding to the object to be generated and the current captured image of the current captured area corresponding to the object to be generated, and acquiring the first object reference information of the generated object from the object generation reference information, the object reference information of the generated object can be acquired, thereby facilitating the virtual generation of a virtual object image of the generated object. Then, in combination with the first object reference information, the first virtual image is virtually generated on the current captured image, so that the generation of a virtual image of the generated object based on the current captured image can be achieved, which can avoid the actual exposure of the photosensitive material to produce a curing effect, and can greatly avoid the increase in cost caused by the need for additional hardware required for the actual imaging light, and the virtual generation method has a lower cost. Then, in combination with the first virtual image, the object generation device is controlled to perform The alignment operation can achieve the overlap of the first virtual image with the object image of the generated object in the current acquired image, and can achieve the alignment of any position in the object generated before the object generation operation, avoiding the limitation of the position of the alignment mark, and can achieve the alignment needs for areas with high-precision alignment requirements, further reducing the object generation error between multiple layers, thereby improving the generation accuracy of the object to be generated. Then, when the first virtual image overlaps with the object image of the generated object in the current acquired image, the second object reference information of the current object to be generated is obtained from the object generation reference information. In combination with the second object reference information, the object generation device is controlled to perform the object generation operation of the current object to be generated, thereby achieving the accurate generation of the current object to be generated, thereby improving the generation accuracy of the object to be generated.

[0062] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0063] The drawings herein are incorporated into and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the description are used to explain the principles of the present disclosure, and do not constitute improper limitations on the present disclosure.

[0064] Figure 1 is a structural block diagram of an object generation device according to an exemplary embodiment;

[0065] Figure 2 is a flow chart of a method for generating an object according to an exemplary embodiment;

[0066] Figure 3 is a schematic diagram of a current captured image of a generated object in a method for generating an object according to an exemplary embodiment;

[0067] Figure 4is a schematic diagram of generating a virtual object image of a generated object in an object generation method according to an exemplary embodiment;

[0068] Figure 5 is a block diagram of an object generation device according to an exemplary embodiment;

[0069] Figure 6 is a block diagram of an electronic device for generating an object to be generated based on an already generated object according to an exemplary embodiment;

[0070] Figure 7 The invention is a block diagram showing another electronic device for generating an object to be generated based on an already generated object according to an exemplary embodiment. DETAILED DESCRIPTION

[0071] Various exemplary embodiments, features and aspects of the present application will be described in detail below with reference to the accompanying drawings. The same reference numerals in the accompanying drawings represent elements with the same or similar functions. Although various aspects of the embodiments are shown in the accompanying drawings, the drawings are not necessarily drawn to scale unless otherwise specified.

[0072] The word “exemplary” is used exclusively herein to mean “serving as an example, example, or illustration.” Any embodiment described herein as “exemplary” is not necessarily to be construed as preferred or advantageous over other embodiments.

[0073] In addition, in order to better illustrate the present application, numerous specific details are given in the following specific embodiments. It should be understood by those skilled in the art that the present application can also be implemented without certain specific details. In some examples, methods, means, components and circuits well known to those skilled in the art are not described in detail in order to highlight the subject matter of the present application.

[0074] See also Figure 1 , Figure 1 is a structural block diagram of an object generation device according to an exemplary embodiment. Specifically, Figure 1As shown, the object generation device may include a processor, an alignment adjustment module, an object generation module, an image acquisition module and a display module. Among them, the processor can be used to implement the above-mentioned object generation method. The alignment adjustment module can be used to adjust the position of the generated object to achieve alignment. The object generation module can be used to generate the current object to be generated. The image acquisition module can be used to realize image acquisition of the current acquisition area. The display module can be used to realize image display of the current acquisition area and display of virtual images. Furthermore, the object generation device may also include a lighting module; the above-mentioned lighting module can be used to illuminate the generation area corresponding to the object to be generated, so as to improve the image acquisition effect of the image acquisition module. It should be noted that the above-mentioned lighting module can use the illumination light for observation, that is, it will not cause curing influence on the photosensitive material.

[0075] Specifically, Figure 2 FIG. 1 is a flow chart of a method for generating an object according to an exemplary embodiment. Figure 2 As shown, the object generation method can be used in electronic devices such as object generation devices, and can specifically include the following steps:

[0076] S201: Acquire object generation reference information corresponding to the object to be generated and a current acquisition image of a current acquisition area corresponding to the object to be generated.

[0077] In a specific embodiment, the object to be generated may refer to an object that needs to be generated currently. The object to be generated may include a multi-layer object. Among them, any layer of objects may refer to an object that can be generated by the object generation module without alignment. Specifically, any layer of objects may include a two-dimensional object or a three-dimensional object. Exemplarily, a two-dimensional object may include a pattern; a three-dimensional object may include a structure; taking a 3D printing scenario as an example, the above-mentioned multi-layer object may include a multi-layer structure.

[0078] In a specific embodiment, the object generation reference information can be used to describe the object shape content of each layer of objects in the multi-layer object to be generated corresponding to the object to be generated and the relative position relationship between the objects in each layer. The object generation reference information may include object reference information corresponding to each of the multi-layer objects and object position information corresponding to each of the multi-layer objects. Among them, the object reference information corresponding to any layer of objects can be used to describe the object shape content of any of the above-mentioned layers of objects. The object position information corresponding to any of the above-mentioned layers of objects can be used to characterize the position of any of the above-mentioned layers of objects in the above-mentioned object to be generated.

[0079] In a specific embodiment, the object generation device may further include an information input module. The object generator may input reference information to the information input module so that the object generation device can obtain the object generation reference information corresponding to the item to be generated.

[0080] In a specific embodiment, the current acquisition area may refer to the area where the image currently acquired by the image acquisition module is located. Specifically, the current acquisition area may be an area belonging to a generated object.

[0081] In a specific embodiment, the current captured image may refer to a region image of the current captured region of the generated object currently captured. The current captured image may be captured in real time by an image capture module and displayed in real time by a display module. Specifically, the current region image may be captured by an image capture module in an object generation device.

[0082] S203: Acquire first object reference information of the generated object from the object generation reference information.

[0083] In a specific embodiment, the first object reference information may be used to describe the object shape content of the generated object. The first object reference information may include pattern reference information corresponding to the generated object or structure reference information corresponding to the generated object.

[0084] In a specific embodiment, the above step S203 may include:

[0085] Based on the current acquisition image and the object generation reference information, the current acquisition area is subjected to regional position matching analysis to obtain the current area position information corresponding to the current acquisition area;

[0086] Determine the number of generated layers corresponding to the generated object based on the current acquired image and the object generation reference information;

[0087] Based on the current region position information and the number of generated layers, first object reference information is obtained from the object generation reference information.

[0088] In a specific embodiment, the current region position information may be used to characterize the position of the current acquisition region in the object to be generated. Specifically, the current region position information may include region coordinate information corresponding to the current acquisition region.

[0089] In a specific embodiment, the current region position information corresponding to the current acquisition region may be obtained by performing shape matching on the current acquisition image and the object generation reference information.

[0090] In a specific embodiment, the number of generated layers may refer to the number of object layers contained in the generated object.

[0091] In a specific embodiment, based on the current regional position information, the regional reference information corresponding to each of the multiple layers of objects in the current regional position information can be obtained from the object generation reference information; then, the regional shape matching of the regional reference information corresponding to each layer of objects can be performed with the current acquired image to obtain the matching regional reference information; accordingly, the number of object layers corresponding to the matching regional reference information can be used as the above-mentioned number of generated layers. Among them, the regional reference information corresponding to any object in the current regional position information can be used to describe the shape content of any of the above-mentioned objects in the region of the above-mentioned current regional position information. The matching regional reference information can refer to the regional reference information corresponding to the multiple layers of objects that matches the current acquired image.

[0092] In a specific embodiment, object reference information corresponding to the generated number of layers may be obtained first, and then region reference information corresponding to the current region position information in the object reference information corresponding to the generated number of layers may be used as the first object reference information.

[0093] In the above embodiment, the current acquisition area is subjected to regional position matching analysis through the current acquisition image and the object generation reference information to obtain the current regional position information corresponding to the current acquisition area, and the number of generated layers corresponding to the generated object is determined based on the current acquisition image and the object generation reference information. Based on the current regional position information and the number of generated layers, the first object reference information is obtained from the object generation reference information. This can achieve efficient acquisition of the first object reference information of the current acquisition area, thereby facilitating rapid alignment of the generated object, and also facilitates rapid display of the image of the generated object in the current acquisition area.

[0094] S205: Based on the first object reference information, virtually generate a first virtual image on the current acquired image.

[0095] In a specific embodiment, the first virtual image may refer to a virtual object image corresponding to a generated object. Specifically, the first virtual image may include a virtual image of a generation process corresponding to the generated object or a virtual image of a generated object that has been completed.

[0096] In a specific embodiment, based on the first object reference information, multiple virtual images of the generation process corresponding to the generation process of the virtual generated object can be generated, and the multiple virtual images of the generation process corresponding to the virtual generation process of the generated object can be synchronously displayed on the basis of the current acquired image through the display module to simulate the generation process of the generated object through display.

[0097] In a specific embodiment, a generated virtual image corresponding to the generated object can be virtually generated based on the first object reference information, and the generated virtual image of the generated object can be synchronously displayed on the basis of the current captured image through the display module.

[0098] In a specific embodiment, the above method may further include:

[0099] In response to the contrast adjustment instruction, the control object generation device performs a contrast adjustment operation so that the contrast of the first virtual image is adjusted to a target contrast corresponding to the contrast adjustment instruction.

[0100] In a specific embodiment, the contrast adjustment instruction may be used to instruct the object generation device to perform a contrast adjustment operation. The contrast adjustment instruction may include a target contrast. The target contrast may refer to a contrast that currently needs to be adjusted.

[0101] In a specific embodiment, the object generator may perform a contrast input operation on the information input module so that the object generation device obtains the input target contrast and generates a contrast adjustment instruction carrying the target contrast.

[0102] In a specific embodiment, the first virtual image and the current captured image may be subjected to image brightness analysis to obtain a brightness analysis result; based on the brightness analysis result, the first virtual image may be subjected to contrast adjustment analysis to obtain a target contrast; accordingly, a contrast adjustment instruction may be generated based on the target contrast. The brightness analysis result may be used to indicate the brightness distribution of the current captured image and the first virtual image.

[0103] In the above embodiment, in response to a contrast adjustment instruction, the object generating device is controlled to perform a contrast adjustment operation so that the contrast of the first virtual image is adjusted to the target contrast corresponding to the contrast adjustment instruction. This can achieve a better display effect of the first virtual image based on the generated object of any reflectivity without obstructing the object image of the generated object.

[0104] In a specific embodiment, before the object is generated, the object generation device may be subjected to a virtual generation alignment operation so that the virtual object image virtually generated by the object generation device is consistent with the size and position of the object generated by the object generation module. Specifically, the object generation module may be controlled to generate a preset object by combining preset reference information, and a virtual object image corresponding to the preset reference information may be virtually generated by combining the preset reference information; then, the size and position comparison result may be obtained by comparing the size and position of the virtual object image with the preset object obtained by the acquisition; accordingly, the preset virtual generation parameters may be adjusted based on the size and position comparison result; then, based on the adjusted preset virtual generation parameters, the above steps of combining the preset reference information to control the object generation module to generate the preset object are repeated until the size and position of the virtual object image virtually generated by the object generation device is consistent with the size and position of the object generated by the object generation module.

[0105] S207: Based on the first virtual image, control the object generation device to perform an alignment operation on the generated object, so that the first virtual image coincides with the object image of the generated object in the current acquired image.

[0106] In a specific embodiment, the above step S207 may include:

[0107] Based on the first virtual image and the current acquired image, performing position difference analysis on the object images of the generated objects in the first virtual image and the current acquired image to obtain second position difference information;

[0108] Based on the second position difference information, the object generation device is controlled to perform an alignment operation so that the first virtual image coincides with the object image of the generated object in the current acquired image.

[0109] In a specific embodiment, the second position difference information can be used to characterize the degree of position difference between the first virtual image and the object image of the generated object in the current acquired image. Specifically, the second position difference information can include deviation direction information and deviation distance information.

[0110] In a specific embodiment, based on the deviation direction information and the deviation distance information in the above-mentioned second position difference information, the alignment adjustment module can be controlled to perform a position adjustment operation on the generated object so that the first virtual image coincides with the object image of the generated object in the current acquired image; accordingly, during the position adjustment process of the generated object, the image during the adjustment process can be acquired in real time by the image acquisition module to obtain the current acquired image, and the above-mentioned current acquired image can be displayed in real time based on the display module.

[0111] In the above embodiment, by performing position difference analysis on the first virtual image and the object image of the generated object in the current acquired image based on the first virtual image and the current acquired image, second position difference information is obtained, and based on the second position difference information, the object generating device is controlled to perform an alignment operation so that the first virtual image coincides with the object image of the generated object in the current acquired image, thereby achieving rapid alignment of the generated object and further achieving accurate printing of the current object to be generated, thereby facilitating improving the generation accuracy of the object to be generated.

[0112] S209: When the first virtual image coincides with the object image of the object that has been generated in the current acquired image, obtain second object reference information of the object to be generated from the object generation reference information.

[0113] In a specific embodiment, the current object to be generated may refer to an object that needs to be generated during the process of generating the above-mentioned object to be generated. The current object to be generated may be an upper layer object of an already generated object in a multi-layer object.

[0114] In a specific embodiment, the second object reference information may be used to describe the object shape content of the current object to be generated. Specifically, the second object reference information may include pattern reference information corresponding to the current object to be generated or structure reference information corresponding to the current object to be generated.

[0115] In a specific embodiment, the second object reference information may include original object reference information corresponding to the current object to be generated, wherein the original object reference information may refer to the object reference information of the current object to be generated that has not been modified.

[0116] In a specific embodiment, the above step S209 may include:

[0117] When the first virtual image coincides with an object image of a generated object in the current acquired image, deformation detection is performed on the generated object to obtain a deformation detection result of the generated object;

[0118] When the deformation detection result is the first detection result, original object reference information is obtained from the object generation reference information.

[0119] In a specific embodiment, the deformation detection result can be used to indicate whether the generated object is deformed during the generation process. The deformation detection result may include a first detection result or a second detection result. The first detection result can be used to indicate that the generated object is not deformed during the generation process. The second detection result can be used to indicate that the generated object is deformed during the generation process.

[0120] In a specific embodiment, the first region position information corresponding to each of the at least three aligned regions and the second region position information corresponding to each of the at least three aligned regions can be obtained; based on the second region position information corresponding to each of the at least three aligned regions, the alignment relationship analysis is performed on the at least three aligned regions, and a plurality of aligned region pairs corresponding to the at least three aligned regions can be obtained; based on the plurality of aligned region pairs and the first region position information corresponding to each of the at least three aligned regions, the position difference analysis is performed on each aligned region pair, and the third position difference information corresponding to each of the aligned region pairs can be obtained; based on the third position difference information corresponding to each of the aligned region pairs, the deformation detection result can be determined. Wherein, any aligned region pair can include two aligned regions aligned in the vertical direction or the horizontal direction. The first region position information corresponding to any aligned region can be used to characterize the position of any aligned region in the generated object. The second region position information corresponding to any aligned region can be used to characterize the position of any aligned region in the object to be generated. The third position difference information corresponding to any aligned region pair can be used to indicate whether there is a difference between the first region position information corresponding to each of the two regions contained in any aligned region pair in its corresponding alignment direction. Specifically, when the third position difference information corresponding to the above-mentioned multiple alignment area pairs all indicate that there is no difference, the deformation detection result can be determined as the first detection result; when any of the third position difference information corresponding to the above-mentioned multiple alignment area pairs indicates that there is a difference, the deformation detection result can be determined as the second detection result.

[0121] In a specific embodiment, when the deformation detection result is the first detection result, the original object reference information corresponding to the current object to be generated can be obtained from the object generation reference information. Specifically, based on the current acquisition image and the object generation reference information, the current acquisition area can be subjected to regional position matching analysis to obtain the current regional position information corresponding to the current acquisition area; based on the current acquisition image and the object generation reference information, the number of generated layers corresponding to the generated object can be determined; based on the above-mentioned number of generated layers, the number of layers of the object to be generated corresponding to the current object to be generated can be determined; based on the current regional position information and the above-mentioned number of layers of the object to be generated, the original object reference information corresponding to the current object to be generated can be obtained from the object generation reference information. Among them, the number of layers of the object to be generated can be used to characterize the hierarchical position of the above-mentioned current object to be generated in the multi-layer object.

[0122] In the above embodiment, when the first virtual image coincides with the object image of the generated object in the current acquired image, deformation detection is performed on the generated object to obtain a deformation detection result of the generated object. When the deformation detection result is the first detection result, the original object reference information is obtained from the object generation reference information, which can avoid deviations in the subsequent object generation caused by the deformation of the generated object during the generation process, thereby improving the generation accuracy of the object to be generated.

[0123] In a specific embodiment, the second object reference information may include revised object reference information corresponding to the current object to be generated, wherein the revised object reference information may refer to revised object reference information corresponding to the current object to be generated.

[0124] In a specific embodiment, the above step S209 may include:

[0125] When the first virtual image coincides with an object image of a generated object in the current acquired image, deformation detection is performed on the generated object to obtain a deformation detection result of the generated object;

[0126] When the deformation detection result is the second detection result, deformation analysis is performed on the generated object to obtain target deformation index data corresponding to the generated object;

[0127] Based on the target deformation index data, the object generation reference information is corrected to obtain the corrected generation reference information;

[0128] From the correction generation reference information, obtain the correction object reference information.

[0129] In a specific embodiment, the target deformation index data can be used to indicate the deformation degree of the generated object. The target deformation index data may include first deformation index data and second deformation index data. Among them, the first deformation index data can be used to indicate the deformation degree of the generated object in the dimension of size ratio deformation. The first deformation index data may include vertical deformation ratio data and horizontal deformation ratio data. The second deformation index data may be used to indicate the deformation degree of the generated object in the dimension of deformation angle. Among them, the dimension ratio deformation dimension can be used to analyze the deformation degree from the perspective of the overall dimension deformation ratio. The deformation angle dimension can be used to analyze the deformation degree from the perspective of deformation in shape. The second deformation index data may include deformation angle data.

[0130] In a specific embodiment, the above method may further include:

[0131] Acquire first region position information corresponding to each of at least three aligned regions and second region position information corresponding to each of at least three aligned regions;

[0132] Accordingly, the above deformation analysis of the generated object to obtain target deformation index data corresponding to the generated object may include:

[0133] Based on the first region position information and the second region position information, a deformation size ratio analysis is performed on the generated object to obtain first deformation index data;

[0134] Based on the first region position information and the second region position information, a deformation angle analysis is performed on the generated object to obtain second deformation index data.

[0135] In a specific embodiment, the aligned region may refer to a capture region where an alignment operation has been performed based on the generated object to achieve alignment of the corresponding object image with the first virtual image. It is understandable that after one alignment, the current capture region may be regarded as an aligned region; after performing at least three alignments respectively, the above-mentioned at least three aligned regions may be determined.

[0136] In a specific embodiment, the first region position information corresponding to any aligned region can be used to characterize the position of any aligned region in the generated object. The second region position information corresponding to any aligned region can be used to characterize the position of any aligned region in the object to be generated.

[0137] In a specific embodiment, first area position information corresponding to each of at least three aligned areas and second area position information corresponding to each of at least three aligned areas can be obtained; based on the second area position information corresponding to each of the at least three aligned areas, an alignment relationship analysis is performed on the at least three aligned areas to obtain at least one horizontal alignment area pair and at least one vertical alignment area pair; based on at least one horizontal alignment area pair, at least one vertical alignment area pair and the first area position information corresponding to each of the at least three aligned areas, a position difference analysis is performed on each alignment area pair to obtain fourth position difference information corresponding to each of the horizontal alignment area pairs and fifth position difference information corresponding to each of the vertical alignment area pairs; based on the fourth position difference information corresponding to at least one horizontal alignment area pair and the fifth position difference information corresponding to at least one vertical alignment area pair, a deformation size ratio analysis can be performed on the generated object to obtain first deformation index data; based on the fourth position difference information corresponding to at least one horizontal alignment area pair and the fifth position difference information corresponding to at least one vertical alignment area pair, a deformation angle analysis can be performed on the generated object to obtain second deformation index data. Specifically, the horizontal deformation ratio data can be determined based on the fourth position difference information corresponding to the at least one horizontal alignment area pair; the vertical deformation ratio data can be determined based on the fifth position difference information corresponding to the at least one vertical alignment area pair; and the deformation angle data can be determined based on the fourth position difference information corresponding to the at least one horizontal alignment area pair and the fifth position difference information corresponding to the at least one vertical alignment area pair.

[0138] In a specific embodiment, based on the first deformation index data in the target deformation index data, the object generation reference information can be simulated for scaling deformation processing to obtain the scaled object generation reference information; based on the second deformation index data, the above-mentioned scaled object generation reference information can be simulated for deformation processing to obtain the above-mentioned corrected generation reference information.

[0139] In a specific embodiment, based on the current acquired image and object generation reference information, the regional position matching analysis can be performed on the current acquisition area to obtain the current regional position information corresponding to the current acquisition area; based on the current acquired image and object generation reference information, the number of generated layers corresponding to the generated object can be determined; based on the above-mentioned number of generated layers, the number of layers of the object to be generated corresponding to the current object to be generated can be determined; based on the current regional position information and the above-mentioned number of layers of the object to be generated, the corrected object reference information corresponding to the current object to be generated can be obtained from the corrected generation reference information.

[0140] In the above embodiment, when the first virtual image coincides with the object image of the generated object in the current captured image, deformation detection is performed on the generated object to obtain a deformation detection result of the generated object; when the deformation detection result is the second detection result, deformation analysis is performed on the generated object to obtain target deformation index data corresponding to the generated object; based on the target deformation index data, the object generation reference information is corrected to obtain corrected generation reference information; the object generation reference information can be corrected so that the object generation reference information is more in line with the generated object after deformation; and the corrected object reference information is obtained from the corrected generation reference information, so as to avoid deviations in subsequent object generation caused by deformation of the generated object during the generation process, thereby improving the generation accuracy of the object to be generated.

[0141] In a specific embodiment, the above method may further include:

[0142] Based on the target deformation index data, the first object reference information is corrected to obtain corrected first object reference information;

[0143] Accordingly, the above-mentioned correction processing of the object generation reference information based on the target deformation index data to obtain the corrected generation reference information may include:

[0144] When the first virtual image corresponding to the corrected first object reference information coincides with the object image of the generated object in the current acquired image, the object generation reference information is corrected based on the target deformation index data to obtain the corrected generation reference information.

[0145] In a specific embodiment, the first object reference information can be corrected based on the target deformation index data to obtain the corrected first object reference information; based on the corrected first object reference information, a first virtual image can be virtually generated on the current acquisition image; when the first virtual image does not coincide with the object image of the generated object in the current acquisition image, the object generation device can be controlled to perform an alignment operation on the generated object so that the first virtual image coincides with the object image of the generated object in the current acquisition image; when the first virtual image corresponding to the corrected first object reference information coincides with the object image of the generated object in the current acquisition image, the object generation reference information can be corrected based on the target deformation index data to obtain the corrected generation reference information. Accordingly, the corrected object reference information can be obtained from the corrected generation reference information.

[0146] In the above embodiment, the first object reference information is corrected by using the target deformation index data to obtain the corrected first object reference information. When the first virtual image corresponding to the corrected first object reference information coincides with the object image of the generated object in the current acquired image, the object generation reference information is corrected based on the target deformation index data to obtain the corrected generation reference information. This can avoid wasting computing costs due to multiple corrections to the object reference information corresponding to the current object to be generated, and can reduce the number of corrections to the object reference information corresponding to the current object to be generated, thereby saving time consumption and computing resource occupation in the correction processing process and improving system performance.

[0147] In a specific embodiment, after the object generation device is controlled to perform an alignment operation on the generated object based on the first virtual image so that the first virtual image coincides with the object image of the generated object in the current acquired image, the method may further include:

[0148] Obtaining first position difference information corresponding to the generated object;

[0149] Accordingly, in the case where the first virtual image and the object image of the generated object in the current captured image coincide with each other, performing deformation detection on the generated object to obtain the deformation detection result of the generated object may include:

[0150] When the first virtual image coincides with the object image of the generated object in the current acquired image, and the first position difference information indicates that there is no angle deviation between the current position and the preset position, deformation detection is performed on the generated object to obtain a deformation detection result.

[0151] In a specific embodiment, the first position difference information may be used to indicate the degree of difference between the current position of the generated object and the preset position corresponding to the object to be generated.

[0152] In a specific embodiment, the first position difference information may be obtained in the following manner:

[0153] Acquire third area position information corresponding to at least three target acquisition areas and fourth area position information corresponding to at least three target acquisition areas;

[0154] Based on the fourth region position information, performing alignment relationship analysis on at least three target acquisition regions to obtain at least one aligned acquisition region pair corresponding to the at least three target acquisition regions;

[0155] Based on at least one aligned acquisition region pair and the third region position information, position difference analysis is performed on the generated object to obtain first position difference information.

[0156] In a specific embodiment, the third region position information corresponding to any target acquisition region can be used to characterize the position of any target acquisition region in the generated object.

[0157] In a specific embodiment, the fourth region position information corresponding to any target collection region can be used to characterize the position of any target collection region in the object to be generated.

[0158] In a specific embodiment, at least one of the at least three target collection areas is located at the same horizontal position or the same vertical position as any of the target collection areas in the object to be generated.

[0159] In a specific embodiment, any aligned acquisition region pair may include two target acquisition regions aligned in the vertical direction or the horizontal direction. The aligned acquisition region pair may include a horizontally aligned acquisition region pair or a vertically aligned acquisition region pair. The horizontally aligned acquisition region pair may refer to two target acquisition regions included in the horizontally aligned acquisition region pair being aligned in the horizontal direction. The vertically aligned acquisition region pair may refer to two target acquisition regions included in the vertically aligned acquisition region pair being aligned in the vertical direction.

[0160] In a specific embodiment, the first position difference information may include horizontal position difference information and vertical position difference information. The horizontal position difference information may be used to indicate the degree of difference in the horizontal direction between the current position of the generated object and the preset position corresponding to the item to be generated. The vertical position difference information may be used to indicate the degree of difference in the vertical direction between the current position of the generated object and the preset position corresponding to the item to be generated.

[0161] In a specific embodiment, every two target acquisition areas are selected from at least three target acquisition areas as pairs of alignment areas to be selected, and multiple pairs of alignment areas to be selected can be obtained; the fourth area position information corresponding to the two target acquisition areas in each pair of alignment areas to be selected is compared to obtain a position alignment comparison result corresponding to each pair of alignment areas to be selected; the position alignment comparison result corresponding to any pair of alignment areas to be selected indicates that the two target acquisition areas in any of the above-mentioned pairs of alignment areas to be selected are aligned in the horizontal direction, and the above-mentioned pair of alignment areas to be selected can be determined to be a horizontally aligned acquisition area pair; the position alignment comparison result corresponding to any of the above-mentioned pairs of alignment areas to be selected indicates that the two target acquisition areas in any of the above-mentioned pairs of alignment areas to be selected are aligned in the vertical direction, and the above-mentioned pair of alignment areas to be selected can be determined to be a vertically aligned acquisition area pair. Accordingly, based on the third region position information corresponding to each of the two target acquisition regions in each horizontally aligned acquisition region pair, a horizontal position difference analysis can be performed on each horizontally aligned acquisition region pair to obtain the horizontal position difference information corresponding to each horizontally aligned acquisition region pair; based on the third region position information corresponding to each of the two target acquisition regions in each vertically aligned acquisition region pair, a vertical position difference analysis can be performed on each vertically aligned acquisition region pair to obtain the vertical position difference information corresponding to each vertically aligned acquisition region pair. The region position comparison result can be used to indicate whether the two target acquisition regions in each candidate alignment region pair are aligned in the horizontal direction or the vertical direction.

[0162] In a specific embodiment, when the horizontal position difference information in the first position difference information indicates that there is no difference in the horizontal direction, or when the vertical position difference information in the first position difference information indicates that there is no difference in the vertical direction, it can be determined that the first position difference information indicates that there is no angle deviation between the current position and the preset position; accordingly, when the first virtual image and the object image of the generated object in the current acquired image coincide with each other, and when the first position difference information indicates that there is no angle deviation between the current position and the preset position, deformation detection can be performed on the generated object to obtain a deformation detection result. It can be understood that when the horizontal position difference information in the first position difference information indicates that there is a difference in the horizontal direction, and when the vertical position difference information in the first position difference information indicates that there is a difference in the vertical direction, it can be determined that the first position difference information indicates that there is an angle deviation between the current position and the preset position.

[0163] In a specific embodiment, when the first virtual image coincides with the object image of the generated object in the current acquisition image, and the first position difference information indicates that the current position has an angle deviation relative to the preset position, the object generation device can be controlled to perform a position correction operation on the preset placement platform based on the first position difference information, so that the current position corresponding to the generated object has no angle deviation relative to the preset position. Correspondingly, after the position correction operation, the current first position difference information of the generated object can be re-acquired until the first virtual image coincides with the object image of the generated object in the current acquisition image, and the first position difference information indicates that the current position has no angle deviation relative to the preset position, and the generated object is subjected to deformation detection to obtain a deformation detection result. Among them, the preset placement platform can be used to place the object to be generated during the generation process of the object to be generated. It can be understood that when the first position difference information indicates that there is an angle deviation, at least one position correction operation can be performed until the above-mentioned first virtual image coincides with the object image of the generated object in the current acquisition image, and the first position difference information indicates that the current position has no angle deviation relative to the preset position.

[0164] In the above embodiment, by acquiring the first position difference information corresponding to the generated object, when the first virtual image coincides with the object image of the generated object in the current acquired image, and the first position difference information indicates that there is no angular deviation between the current position and the preset position, deformation detection is performed on the generated object to obtain a deformation detection result, which can avoid the situation where the current position of the generated object after alignment has an angular deviation with respect to the preset position, resulting in differences in subsequent objects to be generated, thereby improving the generation accuracy of the objects to be generated.

[0165] S211: Based on the second object reference information, control the object generation device to perform an object generation operation of the current object to be generated.

[0166] In a specific embodiment, the object generation operation of the current object to be generated can be used to realize the generation of the current object to be generated. Exemplarily, taking the 3D printing scenario as an example, when the current object to be generated is the current structure to be printed, the object generation device is controlled to perform the object generation operation of the current object to be generated through the second object reference information, so as to realize the printing of the above-mentioned current structure to be printed.

[0167] In a specific embodiment, the above method may further include:

[0168] Based on the second object reference information, virtually generating a second virtual image on the current acquired image;

[0169] Generate reference information based on the second virtual image and the object, perform alignment verification processing on the second virtual image, and obtain an alignment verification result;

[0170] Accordingly, the above-mentioned controlling the object generation device to perform the object generation operation of the current object to be generated based on the second object reference information may include:

[0171] When the alignment verification result indicates that the relative position relationship between the second virtual image and the object image of the generated object in the current acquired image satisfies the relative position relationship indicated by the object generation reference information, the object generation device is controlled to perform an object generation operation based on the second object reference information.

[0172] In a specific embodiment, the second virtual image may refer to a virtual object image corresponding to the current object to be generated. The second virtual image may include a virtual image of the generation process corresponding to the current object to be generated or a virtual image of the generation completion corresponding to the current object to be generated. Specifically, the virtual generation process of the second virtual image may refer to the virtual generation process of step S205 above, and this disclosure will not repeat it any more.

[0173] In a specific embodiment, the alignment verification result can be used to indicate whether the relative position relationship between the second virtual image and the object image of the generated object in the current acquired image satisfies the relative position relationship indicated by the object generation reference information. The alignment verification result may include a first verification result and a second verification result. Among them, the first verification result can be used to indicate that the relative position relationship between the second virtual image and the object image of the generated object in the current acquired image satisfies the relative position relationship indicated by the object generation reference information. The second verification result can be used to indicate that the relative position relationship between the second virtual image and the object image of the generated object in the current acquired image does not satisfy the relative position relationship indicated by the object generation reference information.

[0174] In a specific embodiment, based on the relative position relationship between the generated object in the current acquired image and the object to be generated currently indicated by the object generation reference information, the second virtual image and the virtual object image of the generated object in the current acquired image may be aligned and verified to obtain an alignment verification result.

[0175] In a specific embodiment, when the alignment verification result is the first verification result, the object generation module in the object generation device can be controlled based on the second object reference information to perform the object generation operation of the current object to be generated, so as to generate the current object to be generated based on the generated object.

[0176] In a specific embodiment, when the alignment verification result is the second verification result, an abnormality alarm signal may be generated so that the object generator may perform abnormality detection on the object generation device and the generated object.

[0177] In the above embodiment, through the second object reference information, a second virtual image is virtually generated on the current acquired image, so that a virtual image preview of the current object to be generated before generation can be realized, and a simultaneous preview of the generated object and the current object to be generated can be realized, which can facilitate the preview of the generation position of the current object to be generated and the relative position relationship between the current object to be generated and the generated object before the actual generation. Then, in combination with the second virtual image and the object generation reference information, the second virtual image is aligned and verified to obtain an alignment verification result, which can realize the alignment verification of the current object to be generated, and further ensure the position accuracy of the current object to be generated. Then, when the alignment verification result indicates that the relative position relationship between the second virtual image and the object image of the generated object in the current acquired image satisfies the relative position relationship indicated by the object generation reference information, based on the second object reference information, the object generation device is controlled to perform the object generation operation, which can improve the generation accuracy of the object to be generated.

[0178] In the above embodiment, by acquiring the object generation reference information corresponding to the object to be generated and the current acquisition image of the current acquisition area corresponding to the object to be generated, and acquiring the first object reference information of the generated object from the object generation reference information, the object reference information of the generated object can be acquired, thereby facilitating the virtual generation of the virtual object image of the generated object. Then, in combination with the first object reference information, the first virtual image is virtually generated on the current acquisition image, so that the generation of the virtual image of the generated object based on the current acquisition image can be achieved, which can avoid the actual exposure of the photosensitive material to produce a curing effect, and can greatly avoid the increase in cost caused by the additional hardware required for the actual imaging light. The virtual generation method has lower cost. Then, in combination with the first virtual image, the object generation device is controlled to generate By performing an alignment operation on the object, the first virtual image can be made to coincide with the object image of the generated object in the current acquired image, and alignment of any position in the object generated before the object generation operation can be achieved, avoiding being restricted by the position of the alignment mark, and achieving alignment needs for areas requiring high-precision alignment, further reducing object generation errors between multiple layers, and thereby improving the generation accuracy of the object to be generated. Then, when the first virtual image coincides with the object image of the generated object in the current acquired image, second object reference information of the current object to be generated is obtained from the object generation reference information, and combined with the second object reference information, the object generation device is controlled to perform the object generation operation of the current object to be generated, thereby achieving accurate generation of the current object to be generated, and thereby improving the generation accuracy of the object to be generated.

[0179] Figure 3 It is a schematic diagram of a current captured image for a generated object in an object generation method according to an exemplary embodiment. Figure 4 FIG. 1 is a schematic diagram of generating a virtual object image of a generated object in an object generation method according to an exemplary embodiment. Specifically, Figure 3 As shown, the object generation reference information corresponding to the object to be generated and the current acquisition image of the current acquisition area corresponding to the object to be generated can be obtained; the first object reference information of the generated object can be obtained from the object generation reference information; as shown Figure 4 As shown, based on the first object reference information, a first virtual image can be virtually generated on the current acquired image; based on the first virtual image, the object generation device is controlled to perform an alignment operation on the generated object so that the first virtual image coincides with the object image of the generated object in the current acquired image; when the first virtual image coincides with the object image of the generated object in the current acquired image, the second object reference information of the current object to be generated is obtained from the object generation reference information; the current object to be generated is an upper-layer object of the generated objects in the multi-layer object; based on the second object reference information, the object generation device is controlled to perform an object generation operation on the current object to be generated.

[0180] Figure 5 FIG. 1 is a block diagram of an object generation device according to an exemplary embodiment. Figure 5 As shown, the device may include:

[0181] The first information acquisition module 510 may be used to acquire object generation reference information corresponding to the object to be generated and a current acquisition image of the current acquisition area corresponding to the object to be generated; the object generation reference information is used to describe the object shape content of each layer of the multi-layer object to be generated corresponding to the object to be generated and the relative position relationship between the objects of each layer; the current acquisition image is a regional image of the current acquisition area of ​​the generated object corresponding to the object to be generated;

[0182] The second information acquisition module 520 may be used to acquire first object reference information of a generated object from object generation reference information;

[0183] The first virtual generation module 530 may be used to virtually generate a first virtual image on the current captured image based on the first object reference information; the first virtual image is a virtual object image corresponding to the generated object;

[0184] A first execution module 540 may be used to control the object generation device to perform an alignment operation on the generated object based on the first virtual image, so that the first virtual image coincides with the object image of the generated object in the current acquired image;

[0185] The third information acquisition module 550 may be used to acquire second object reference information of the current object to be generated from the object generation reference information when the first virtual image coincides with the object image of the object that has been generated in the current acquired image; the current object to be generated is an upper layer object of the generated object in the multi-layer object;

[0186] The second execution module 560 may be used to control the object generation device to execute an object generation operation of the current object to be generated based on the second object reference information.

[0187] In a specific embodiment, the third information acquisition module 550 may include:

[0188] The first deformation detection module may be used to perform deformation detection on the generated object when the first virtual image coincides with the object image of the generated object in the current collected image, and obtain a deformation detection result of the generated object; the deformation detection result is used to indicate whether the generated object is deformed during the generation process;

[0189] The original information acquisition module can be used to acquire original object reference information from object generation reference information when the deformation detection result is a first detection result; the first detection result is used to indicate that the generated object has not been deformed during the generation process.

[0190] In a specific embodiment, the third information acquisition module 550 may include:

[0191] The second deformation detection module can be used to perform deformation detection on the generated object when the first virtual image coincides with the object image of the generated object in the current collected image, and obtain a deformation detection result of the generated object; the deformation detection result is used to indicate whether the generated object is deformed during the generation process;

[0192] The deformation analysis module can be used to perform deformation analysis on the generated object when the deformation detection result is the second detection result, and obtain target deformation index data corresponding to the generated object; the target deformation index data is used to indicate the deformation degree of the generated object; the second detection result is used to indicate that the generated object has been deformed during the generation process;

[0193] The correction processing module can be used to correct the object generation reference information based on the target deformation index data to obtain the corrected generation reference information;

[0194] The correction information acquisition module can be used to obtain correction object reference information from the correction generation reference information.

[0195] In a specific embodiment, the above device may further include:

[0196] The fourth information acquisition module can be used to acquire first region position information corresponding to at least three aligned regions and second region position information corresponding to at least three aligned regions; the first region position information corresponding to any aligned region is used to characterize the position of any aligned region in the generated object, and the second region position information corresponding to any aligned region is used to characterize the position of any aligned region in the object to be generated;

[0197] Accordingly, the above deformation analysis module may include:

[0198] The deformation size ratio analysis module can be used to perform deformation size ratio analysis on the generated object based on the first region position information and the second region position information to obtain first deformation index data;

[0199] The deformation angle analysis module can be used to perform deformation angle analysis on the generated object based on the first area position information and the second area position information to obtain second deformation index data.

[0200] In a specific embodiment, the above device may further include:

[0201] The fifth information acquisition module may be used to acquire first position difference information corresponding to the generated object; the first position difference information is used to indicate the degree of difference between the current position of the generated object and the preset position corresponding to the object to be generated;

[0202] Accordingly, the second deformation detection module may include:

[0203] The third deformation detection module can be used to perform deformation detection on the generated object to obtain a deformation detection result when the first virtual image coincides with the object image of the generated object in the current acquired image and the first position difference information indicates that there is no angular deviation between the current position and the preset position.

[0204] In a specific embodiment, the above device may further include:

[0205] The sixth information acquisition module may be used to acquire third area position information corresponding to at least three target acquisition areas and fourth area position information corresponding to at least three target acquisition areas; the third area position information corresponding to any target acquisition area is used to characterize the position of any target acquisition area in the generated object, and the fourth area position information corresponding to any target acquisition area is used to characterize the position of any target acquisition area in the object to be generated; at least one target acquisition area among the at least three target acquisition areas is located at the same horizontal position or the same vertical position as any target acquisition area in the object to be generated;

[0206] The alignment relationship analysis module may be used to perform alignment relationship analysis on at least three target acquisition areas based on the fourth area position information to obtain at least one aligned acquisition area pair corresponding to the at least three target acquisition areas; any aligned acquisition area pair includes two target acquisition areas aligned in a vertical direction or a horizontal direction;

[0207] The first position difference analysis module can be used to perform position difference analysis on the generated object based on at least one aligned acquisition area pair and the third area position information to obtain first position difference information.

[0208] In a specific embodiment, the above device may further include:

[0209] A first correction module may be used to correct the first object reference information based on the target deformation index data to obtain the corrected first object reference information;

[0210] Accordingly, the correction processing module may include:

[0211] The second correction module can be used to correct the object generation reference information based on the target deformation index data to obtain the corrected generation reference information when the first virtual image corresponding to the corrected first object reference information coincides with the object image of the generated object in the current acquired image.

[0212] In a specific embodiment, the above device may further include:

[0213] The second virtual generation module can be used to virtually generate a second virtual image on the current acquired image based on the second object reference information; the second virtual image is a virtual object image corresponding to the current object to be generated;

[0214] An alignment verification processing module may be used to generate reference information based on the second virtual image and the object, perform alignment verification processing on the second virtual image, and obtain an alignment verification result;

[0215] Accordingly, the second execution module 560 may include:

[0216] The third execution module can be used to control the object generation device to perform an object generation operation based on the second object reference information when the alignment verification result indicates that the relative position relationship between the second virtual image and the object image of the generated object in the current acquired image satisfies the relative position relationship indicated by the object generation reference information.

[0217] In a specific embodiment, the first execution module 540 may include:

[0218] The second position difference analysis module may be used to perform position difference analysis on the first virtual image and the object image of the object generated in the current acquired image based on the first virtual image and the current acquired image to obtain second position difference information; the second position difference information is used to characterize the degree of position difference between the first virtual image and the object image of the object generated in the current acquired image;

[0219] The fourth execution module may be configured to control the object generation device to perform an alignment operation based on the second position difference information, so that the first virtual image coincides with the object image of the generated object in the current acquired image.

[0220] In a specific embodiment, the second information acquisition module 520 may include:

[0221] The position matching analysis module can be used to generate reference information based on the current acquisition image and object, perform regional position matching analysis on the current acquisition area, and obtain the current area position information corresponding to the current acquisition area; the current area position information is used to characterize the position of the current acquisition area in the object to be generated;

[0222] A layer number acquisition module can be used to determine the number of generated layers corresponding to the generated object based on the current acquired image and object generation reference information;

[0223] The seventh information acquisition module can be used to acquire the first object reference information from the object generation reference information based on the current area position information and the number of generated layers.

[0224] In a specific embodiment, the above device may further include:

[0225] The contrast adjustment module can be used to control the object generation device to perform a contrast adjustment operation in response to a contrast adjustment instruction, so that the contrast of the first virtual image is adjusted to a target contrast corresponding to the contrast adjustment instruction.

[0226] Regarding the device in the above embodiment, the specific manner in which each module and unit performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.

[0227] Figure 6 is a block diagram of an electronic device for generating an object to be generated based on an already generated object according to an exemplary embodiment. The electronic device may be a server, and its internal structure diagram may be as shown in FIG. Figure 6As shown. The electronic device includes a processor, a memory and a network interface connected through a system bus. Among them, the processor of the electronic device is used to provide computing and control capabilities. The memory of the electronic device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The network interface of the electronic device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, an object generation method is implemented.

[0228] Figure 7 is a block diagram of another electronic device for generating a current object to be generated based on a generated object according to an exemplary embodiment. The electronic device may be a terminal, and its internal structure diagram may be as shown in FIG. Figure 7 As shown. The electronic device includes a processor, a memory, a network interface, a display screen and an input device connected via a system bus. Among them, the processor of the electronic device is used to provide computing and control capabilities. The memory of the electronic device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The network interface of the electronic device is used to communicate with an external terminal via a network connection. When the computer program is executed by the processor, an object generation method is implemented. The display screen of the electronic device can be a liquid crystal display screen or an electronic ink display screen, and the input device of the electronic device can be a touch layer covering the display screen, or a button, trackball or touchpad set on the housing of the electronic device, or an external keyboard, touchpad or mouse, etc.

[0229] Those skilled in the art will understand that Figure 6 or Figure 7 The structure shown in the figure is merely a block diagram of a partial structure related to the scheme of the present disclosure, and does not constitute a limitation on the electronic device to which the scheme of the present disclosure is applied. The specific electronic device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0230] In an exemplary embodiment, an electronic device is also provided, including: a processor; and a memory for storing instructions executable by the processor; wherein the processor is configured to execute the instructions to implement the object generation method in the embodiment of the present disclosure.

[0231] In an exemplary embodiment, a computer-readable storage medium is also provided. When instructions in the storage medium are executed by a processor of an electronic device, the electronic device can execute the object generation method in the embodiment of the present disclosure.

[0232] In an exemplary embodiment, a computer program product including instructions is also provided. When the computer program product is run on a computer, the computer is enabled to execute the object generation method in the embodiment of the present disclosure.

[0233] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).

[0234] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.

[0235] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims

1. A method for generating an object, characterized in that: Applied to an object generation device, the method comprises: Obtain object generation reference information corresponding to the object to be generated and a current acquisition image of the current acquisition area corresponding to the object to be generated; the object generation reference information is used to describe the object shape content of each layer of objects in the multi-layer object to be generated corresponding to the object to be generated and the relative position relationship between the objects in each layer; the current acquisition area is the area of ​​the generated object; the current acquisition image is the area image of the current acquisition area of ​​the generated object corresponding to the object to be generated; Acquire first object reference information of the generated object from the object generation reference information; the first object reference information is used to describe the object shape content of the generated object, including pattern reference information corresponding to the generated object or structure reference information corresponding to the generated object; Based on the first object reference information, virtually generate a first virtual image on the current acquired image; the first virtual image is a virtual object image corresponding to the generated object; Based on the first virtual image, controlling the object generation device to perform an alignment operation on the generated object so that the first virtual image coincides with the object image of the generated object in the current acquired image, specifically comprising: based on the first virtual image and the current acquired image, performing position difference analysis on the first virtual image and the object image of the generated object in the current acquired image to obtain second position difference information; based on the second position difference information, controlling the object generation device to perform an alignment operation so that the first virtual image coincides with the object image of the generated object in the current acquired image; In the case where the first virtual image coincides with the object image of the generated object in the current acquired image, second object reference information of the current object to be generated is obtained from the object generation reference information; the current object to be generated is an upper-layer object of the generated object in the multi-layer object; the second object reference information includes original object reference information corresponding to the current object to be generated, or corrected object reference information corresponding to the current object to be generated, wherein the original object reference information refers to the object reference information of the current object to be generated that has not been corrected, and the corrected object reference information refers to the object reference information corresponding to the current object to be generated after correction, specifically including: in the case where the first virtual image coincides with the object image of the generated object in the current acquired image, deformation detection is performed on the generated object to obtain the deformation of the generated object detection result; the deformation detection result is used to indicate whether the generated object is deformed during the generation process; when the deformation detection result is a first detection result, the original object reference information is obtained from the object generation reference information; the first detection result is used to indicate that the generated object is not deformed during the generation process; when the deformation detection result is a second detection result, a deformation analysis is performed on the generated object to obtain target deformation index data corresponding to the generated object; the target deformation index data is used to indicate the deformation degree of the generated object; the second detection result is used to indicate that the generated object is deformed during the generation process; based on the target deformation index data, the object generation reference information is corrected to obtain corrected generation reference information; the corrected object reference information is obtained from the corrected generation reference information; Based on the second object reference information, the object generating device is controlled to perform an object generating operation of the object to be generated currently.

2. The method according to claim 1, characterized in that: The target deformation index data includes first deformation index data and second deformation index data, wherein the first deformation index data is used to indicate the deformation degree of the generated object in the dimension of size ratio deformation, and the second deformation index data is used to indicate the deformation degree of the generated object in the dimension of deformation angle; The method further comprises: Obtain first area position information corresponding to each of at least three aligned areas and second area position information corresponding to each of the at least three aligned areas; the first area position information corresponding to any aligned area is used to characterize the position of any aligned area in the generated object, and the second area position information corresponding to any aligned area is used to characterize the position of any aligned area in the object to be generated; the at least three aligned areas are determined after the current acquisition area is aligned once and taken as an aligned area, and are aligned at least three times respectively; The step of performing deformation analysis on the generated object to obtain target deformation index data corresponding to the generated object includes: Based on the first region position information and the second region position information, performing deformation size ratio analysis on the generated object to obtain the first deformation index data; Based on the first region position information and the second region position information, a deformation angle analysis is performed on the generated object to obtain the second deformation index data.

3. The method according to claim 1, characterized in that After controlling the object generation device to perform an alignment operation on the generated object based on the first virtual image so that the first virtual image coincides with the object image of the generated object in the current acquired image, the method further includes: Acquire first position difference information corresponding to the generated object; the first position difference information is used to indicate the degree of difference between the current position of the generated object and the preset position corresponding to the object to be generated; The step of performing deformation detection on the generated object to obtain a deformation detection result of the generated object when the first virtual image coincides with the object image of the generated object in the current acquired image includes: When the first virtual image coincides with the object image of the generated object in the current acquired image, and the first position difference information indicates that there is no angular deviation between the current position and the preset position, deformation detection is performed on the generated object to obtain the deformation detection result.

4. The method according to claim 3, characterized in that The first position difference information is obtained by: Acquire third area position information corresponding to at least three target acquisition areas and fourth area position information corresponding to at least three target acquisition areas; The third area position information corresponding to any target collection area is used to characterize the position of any target collection area in the generated object, and the fourth area position information corresponding to any target collection area is used to characterize the position of any target collection area in the object to be generated; at least one target collection area among the at least three target collection areas is located at the same horizontal position or the same vertical position as any target collection area in the object to be generated; Based on the fourth region position information, performing alignment relationship analysis on the at least three target acquisition regions to obtain at least one aligned acquisition region pair corresponding to the at least three target acquisition regions; Any aligned acquisition region pair includes two target acquisition regions aligned in a vertical direction or a horizontal direction; Based on the at least one aligned acquisition region pair and the third region position information, position difference analysis is performed on the generated object to obtain the first position difference information.

5. The method according to claim 1, characterized in that: The method further comprises: Based on the target deformation index data, the first object reference information is corrected to obtain corrected first object reference information; The process of correcting the object generation reference information based on the target deformation index data to obtain the corrected generation reference information includes: When the first virtual image corresponding to the corrected first object reference information coincides with the object image of the generated object in the current acquired image, the object generation reference information is corrected based on the target deformation index data to obtain the corrected generation reference information.

6. The method according to claim 1, characterized in that The method further comprises: Based on the second object reference information, virtually generate a second virtual image on the current acquired image; the second virtual image is a virtual object image corresponding to the current object to be generated; Based on the second virtual image and the object generating reference information, performing alignment verification processing on the second virtual image to obtain an alignment verification result; The controlling the object generation device to perform an object generation operation of the current object to be generated based on the second object reference information includes: When the alignment verification result indicates that the relative position relationship between the second virtual image and the object image of the generated object in the current acquired image satisfies the relative position relationship indicated by the object generation reference information, the object generation device is controlled to perform the object generation operation based on the second object reference information.

7. The method according to claim 1, characterized in that The acquiring, from the object generation reference information, first object reference information of the generated object comprises: Based on the current acquisition image and the object generation reference information, performing a region position matching analysis on the current acquisition region to obtain current region position information corresponding to the current acquisition region; the current region position information is used to characterize the position of the current acquisition region in the object to be generated; Determining the number of generated layers corresponding to the generated object based on the current acquired image and the object generation reference information; Based on the current region position information and the number of generated layers, the first object reference information is acquired from the object generation reference information.

8. The method according to any one of claims 1 to 7, characterized in that: The method further comprises: In response to the contrast adjustment instruction, the object generation device is controlled to perform a contrast adjustment operation so that the contrast of the first virtual image is adjusted to a target contrast corresponding to the contrast adjustment instruction.

9. An object generation device, characterized in that: The object generation device is used to execute an object generation method according to any one of claims 1 to 8, and the object generation device comprises: The first information acquisition module is used to acquire object generation reference information corresponding to the object to be generated and a current acquisition image of the current acquisition area corresponding to the object to be generated; the object generation reference information is used to describe the object shape content of each layer of the multi-layer object to be generated corresponding to the object to be generated and the relative position relationship between the objects of each layer; the current acquisition image is a regional image of the current acquisition area of ​​the generated object corresponding to the object to be generated; A second information acquisition module, configured to acquire first object reference information of the generated object from the object generation reference information; A first virtual generation module, configured to virtually generate a first virtual image on the current acquired image based on the first object reference information; the first virtual image is a virtual object image corresponding to the generated object; A first execution module, configured to control the object generation device to perform an alignment operation on the generated object based on the first virtual image, so that the first virtual image coincides with an object image of the generated object in the current acquired image; A third information acquisition module is used to acquire second object reference information of the current object to be generated from the object generation reference information when the first virtual image coincides with the object image of the generated object in the current acquired image; the current object to be generated is an upper layer object of the generated object in the multi-layer object; The second execution module is used to control the object generation device to execute the object generation operation of the current object to be generated based on the second object reference information.

10. An electronic device, characterized in that: include: processor; memory for storing computer programs; The processor is configured to execute the computer program to implement the object generation method described in any one of claims 1 to 8.

11. A non-volatile computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the object generation method according to any one of claims 1 to 8 is implemented.

12. A computer program product, comprising a computer program, characterized in that When the computer program is executed by an electronic device, the object generation method according to any one of claims 1 to 8 is implemented.