Method, electronic device and computer program product for virtual reality modeling

By acquiring images and three-dimensional models from different viewing angles, combined with an image encoder and a UV projector, a virtual reality three-dimensional model with texture characteristics is generated, which solves the problem of missing human model texture in virtual reality in the existing technology and improves virtual reality. experience.

CN118570359APending Publication Date: 2024-08-30DELL PROD LP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310183674.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-02-28
Publication Date
2024-08-30

AI Technical Summary

Technical Problem

Existing technology is difficult to restore real objects, especially human models, in virtual reality with high quality, and fails to effectively consider the influence of camera posture and observation direction, resulting in a lack of texture characteristics and affecting user experience.

Method used

By obtaining images of real objects at different viewing angles, the texture characteristics are determined based on the initial 3D model, the image encoder and the view encoder are used to generate the target 3D model with texture characteristics, and the UV projector is combined to realize the adjustment and mapping of the texture map to generate high-quality Quality virtual reality 3D models.

Benefits of technology

It improves the restoration quality of objects in virtual reality, improves user experience, and achieves high-resolution visual quality restoration and texture prediction in virtual environments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118570359A
    Figure CN118570359A
Patent Text Reader

Abstract

The embodiment of the invention provides a method for virtual reality modeling, electronic equipment and a computer program product. The method comprises the steps of obtaining a first image of a real object at a first view angle; the method further includes obtaining an initial three-dimensional model corresponding to the real object based on the first image. The method further includes determining a second image of the real object at a second viewing angle different from the first viewing angle using the initial three-dimensional model. The second image has texture characteristics of the real object. The method further includes generating a target three-dimensional model corresponding to the real object for virtual reality using the second image and the first image. According to the scheme, the three-dimensional model capable of restoring the real object with high quality can be obtained based on a small number of input images.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of the present disclosure relate to the field of computer technology, and more particularly, to a method, an electronic device, and a computer program product for virtual reality modeling. Background Art

[0002] The Metaverse is a virtual world that maps or transcends the real world and can interact with the real world, which is built by humans using digital technology. It is a digital living space with a new social system. The Metaverse integrates 5G, cloud computing, artificial intelligence, virtual reality, blockchain, digital currency, the Internet of Things, human-computer interaction and other technologies.

[0003] Virtual reality can be generally understood as the combination of virtual and reality. Virtual reality technology is a computer simulation system that can create and experience a virtual world. It uses computers to generate a simulated environment and immerse users in it. Virtual reality technology uses real-life data, electronic signals generated by computer technology, and combines them with various output devices to transform them into phenomena that people can feel. These phenomena can be real objects in reality or substances that are invisible to our naked eyes, which are expressed through three-dimensional models. Summary of the invention

[0004] An embodiment of the present disclosure provides a solution for virtual reality modeling.

[0005] In a first aspect of the present disclosure, a method for virtual reality modeling is provided. The method includes: acquiring a first image of a real object at a first viewing angle; obtaining an initial three-dimensional model corresponding to the real object based on the first image; using the initial three-dimensional model, determining a second image of the real object at a second viewing angle different from the first viewing angle, the second image having texture characteristics of the real object; and using the second image and the first image, generating a target three-dimensional model corresponding to the real object for virtual reality.

[0006] In a second aspect of the present disclosure, an electronic device is provided. The electronic device includes at least one processor; and at least one memory storing computer executable instructions, wherein the at least one memory and the computer executable instructions are configured to cause the electronic device to perform operations together with the at least one processor. The operations include: acquiring a first image of a real object at a first viewing angle; based on the first image, obtaining an initial three-dimensional model corresponding to the real object; using the initial three-dimensional model, determining a second image of the real object at a second viewing angle different from the first viewing angle, the second image having the texture characteristics of the real object; and using the second image and the first image, generating a target three-dimensional model corresponding to the real object for virtual reality.

[0007] In a third aspect of the present disclosure, a computer program product is provided. The computer program product is tangibly stored on a non-volatile computer-readable medium and includes computer executable instructions, which, when executed, cause a device to: obtain a first image of a real object at a first viewing angle; based on the first image, obtain an initial three-dimensional model corresponding to the real object; using the initial three-dimensional model, determine a second image of the real object at a second viewing angle different from the first viewing angle, the second image having texture characteristics of the real object; and using the second image and the first image, generate a target three-dimensional model corresponding to the real object for virtual reality.

[0008] This Summary is provided to introduce a selection of concepts in a simplified form that are further described in the Detailed Description below. This Summary is not intended to identify key features or essential features of the disclosure, nor is it intended to limit the scope of the disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0009] The above and other objects, features and advantages of the present disclosure will become more apparent through a more detailed description of exemplary embodiments of the present disclosure in conjunction with the accompanying drawings, wherein like reference numerals generally represent like components throughout the exemplary embodiments of the present disclosure.

[0010] Figure 1 A schematic diagram showing an example environment in which embodiments of the present disclosure may be implemented;

[0011] Figure 2 A flowchart of a method 200 for virtual reality modeling according to some embodiments of the present disclosure is shown;

[0012] Figure 3 A schematic diagram of a 3D UV renderer for object digitization according to some embodiments of the present disclosure is shown;

[0013] Figure 4a A schematic diagram showing a UV encoder and a view encoder according to some embodiments of the present disclosure is shown;

[0014] Figure 4b shows a schematic diagram of a UV projector according to some embodiments of the present disclosure;

[0015] Figure 5 Use cases illustrating the methods of some embodiments of the present disclosure; and

[0016] Figure 6 A block diagram of an example device that may be used to implement embodiments of the present disclosure is shown. DETAILED DESCRIPTION

[0017] The principles of the present disclosure will be described below with reference to several example embodiments shown in the accompanying drawings. Although preferred embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that these embodiments are described only to enable those skilled in the art to better understand and implement the present disclosure, and are not intended to limit the scope of the present disclosure in any way.

[0018] As used herein, the term "including" and its variations mean open inclusion, i.e., "including but not limited to". Unless otherwise stated, the term "or" means "and / or". The term "based on" means "based at least in part on". The terms "an example embodiment" and "an embodiment" mean "at least one example embodiment". The term "another embodiment" means "at least one additional embodiment". The terms "first", "second", etc. may refer to different or the same objects. Other explicit and implicit definitions may also be included below.

[0019] As used herein, the term "machine learning" refers to processes involving high performance computing, machine learning, and artificial intelligence algorithms. In this article, the term "machine learning model" may also be referred to as a "learning model", "learning network", "network model", or "model". A "neural network" or "neural network model" may be a deep learning model. In general, a machine learning model is capable of receiving input data and performing predictions based on the input data and outputting prediction results.

[0020] Typically, a machine learning model may include multiple processing layers, each processing layer having multiple processing units. Processing units are sometimes also referred to as convolution kernels. In the convolution layer of a convolutional neural network (CNN), the processing units are called convolution kernels or convolution filters. The processing units in each processing layer perform corresponding changes on the input of the processing layer based on corresponding parameters. The output of the processing layer is provided as the input of the next processing layer. The input of the first processing layer of the machine learning model is the model input of the machine learning model, and the output of the last processing layer is the model output of the machine learning model. The input of the intermediate processing layer is sometimes also referred to as the features extracted by the machine learning model. The values ​​of all parameters of the processing units of the machine learning model form a parameter value set of the machine learning model.

[0021] Machine learning can be mainly divided into three stages, namely the training stage, the testing stage, and the application stage (also called the inference stage). In the training stage, a given machine learning model can be trained using a large number of training samples, and iterated continuously until the machine learning model can obtain consistent inferences from the training samples that are similar to the inferences that human intelligence can make. Through training, the machine learning model can be considered to be able to learn the mapping or association relationship between input and output from the training data. After training, the set of parameter values ​​of the machine learning model is determined. In the testing stage, the trained machine learning model can be tested with test samples to determine the performance of the machine learning model. In the application stage, the machine learning model can be used to process the actual input data based on the set of parameter values ​​obtained through training to give the corresponding output.

[0022] One of the core functions of the Metaverse is the digitization of three-dimensional (3D) humans. Humans are naturally sensitive to the appearance of their own kind. Many applications of the Metaverse require high-quality digitized 3D humans, such as customer centers, digital showrooms, etc. Therefore, there is a need for a reliable solution to simulate vivid 3D digital humans that can interact with real people. The more digitized human assets there are, the more diverse the applications that can be developed, and the faster we can move towards a true Metaverse.

[0023] Some platforms (e.g., virtual experience platforms, media exchange platforms, etc.) utilize visual representations of objects. Virtual experience platforms allow users to connect with each other, interact with each other (e.g., in a virtual environment), create virtual experiences, and share information with each other via the Internet. Users of virtual experience platforms can participate in multiplayer virtual environments (e.g., three-dimensional environments), design custom environments, design characters or objects, exchange virtual items / objects with other users, communicate with other users using audio or text messages, etc. Therefore, in order to enable users to interact with objects in a virtual environment, it is necessary to perform simulations of objects in the virtual environment.

[0024] In some cases, the simulation of the object may include the construction of a digital 3D human model. A digital 3D human model is a 3D model that is virtualized through computer technology and image processing technology and can reflect the three-dimensional morphological characteristics of a person. This 3D human model can be stored and visualized in a computer and can be adjusted and controlled at will. Compared with a real physical human model, a digital 3D human model is safer, more convenient and more flexible.

[0025] With the development of machine learning, deep learning technology can be applied to the construction of digital 3D human models. The construction of digital 3D human models includes 3D human modeling and rendering. The study of the 3D human process originated from the classic 2D human key point detection. At present, some technologies have been proposed that use the feature representation ability of deep neural networks to learn human key points from a single RGB image. Unlike 2D key point detection, 3D key point detection is more useful in 3D understanding. For human behavior, there is often partial occlusion, and depth information is needed to separate them. One of the solutions for learning depth can use the time series of body motion. For example, the depth is estimated by learning the correlation between video frames. More complex methods can achieve control of the shape and posture of the human model to improve the quality of the human model. However, the digital 3D human models realized by existing methods are mainly naked 3D models or 3D models with clothes but no texture, which makes the existing 3D models poor in the restoration quality of real people, thereby affecting the user's experience in virtual reality. In addition, these methods do not consider the impact caused by camera posture, nor do they decompose the body shape from the viewing direction, which makes it difficult for the network to learn.

[0026] In order to at least solve the above problems, the example embodiments of the present disclosure propose an improved scheme for virtual reality modeling. The scheme obtains an initial three-dimensional model corresponding to the real object based on the image of the real object at a certain perspective. Then, using the initial three-dimensional model, determine the image of the real object at other perspectives. The images at other perspectives have the texture characteristics of the real object. Next, using the images at other perspectives, generate a target three-dimensional model corresponding to the real object for virtual reality. In this way, the target three-dimensional model also has the texture characteristics of the real object, so that the three-dimensional model obtained using the embodiments of the present disclosure has a higher restoration quality, thereby improving the user experience in virtual reality.

[0027] Figure 1 A schematic diagram of an example environment 100 is shown in which various embodiments of the present disclosure can be implemented. The example environment 100 includes a computing device 101 .

[0028] The computing device 101 can obtain an image 103 of a real object under one or more perspectives. The embodiments of the present disclosure are mainly described using people (e.g., service personnel in work clothes) as real objects. It should be understood that the real objects in this article can be any living or inanimate objects in the real world, such as counters, dogs, etc. The computing device 101 can obtain the image 103 by shooting with a camera, or by extracting from a video or other methods. The specific acquisition method should not limit the present disclosure.

[0029] The input image 103 has texture characteristics of a real object. Texture characteristics can reflect the visual characteristics of homogeneous phenomena in the image, and reflect the surface tissue structure arrangement properties of the object surface with slow changes or periodic changes. For example, texture characteristics can be the color of a person's clothes, the person's skin color, the wrinkles of clothes, etc.

[0030] The computing device 101 can use the input image 103 to create a three-dimensional model 105 for virtual reality of the real object. The modeling of the virtual scene includes three-dimensional modeling technology. In the virtual scene, the realism of the model often determines the immersion of the user in the virtual scene. The computing device 101 can restore the three-dimensional information of the object in the real world based on the large amount of visual information contained in the image 103.

[0031] The example computing device 101 includes, but is not limited to, a personal computer, a server computer, a handheld or laptop device, a mobile device (such as a mobile phone, a personal digital assistant (PDA), a media player, etc.), a multi-processor system, a consumer electronic product, a minicomputer, a mainframe computer, a distributed computing environment including any one or more of the above systems or devices, etc. The server may be a cloud server, also known as a cloud computing server or a cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services ("Virtual Private Server", or "VPS" for short). The server may also be a server of a distributed system, or a server combined with a blockchain.

[0032] Example embodiments for virtual reality modeling in the present disclosure will be discussed in more detail below with reference to the accompanying drawings.

[0033] First reference Figure 2 , Figure 2 is a flow chart of a method 200 for virtual reality modeling according to some embodiments of the present disclosure. The method 200 may be Figure 1 The computing device 101 or any suitable computing device is executed.

[0034] At block 202, a first image of a real object at a first viewing angle is acquired (ie, Figure 3 The real object in method 200 may be an input image of Figure 1 The first image in method 200 may be a real object described in Figure 1For the sake of brevity, it is not described here. The first perspective in this article can be one perspective or multiple perspectives. Accordingly, the first image can be an image corresponding to the one perspective or multiple images corresponding to each perspective in the multiple perspectives. The more images acquired at box 202, the higher the restoration quality of the target three-dimensional model obtained at box 208.

[0035] At block 204, an initial three-dimensional model corresponding to the real object is obtained based on the first image. In the case of a person as the real object, the initial three-dimensional model may be a three-dimensional human model 305 with clothing, as shown below: Figure 3 As shown in . The initial three-dimensional model can also be a naked three-dimensional human model.

[0036] In some embodiments, an initial three-dimensional model corresponding to a real object may be obtained in the following manner. First, a first image feature corresponding to the real object is obtained from a first image. The first image feature may be used to obtain a first image feature corresponding to the real object. Figure 3 The image encoder 302 in the embodiment is obtained from the input image 103. Next, an initial 3D model is generated using the 3D model template and based on the first image feature. Figure 3 As shown, the surface decoder 303 can generate an initial 3D model based on a 3D model template 304 and image features obtained from the input image 103. The 3D model template 304 can be an SMPL (Skinned Multi-Person Linear) model or any model template for implementing 2D to 3D conversion.

[0037] At block 206, a second image of the real object at a second viewing angle different from the first viewing angle is determined using the initial three-dimensional model. The second image has the texture characteristics of the real object. For example, the second viewing angle may be a viewing angle rotated 60°, 90°, 120°, 180°, etc. relative to the first viewing angle. The texture characteristics at block 206 may refer to Figure 1 The texture characteristics are not described in detail here.

[0038] In some embodiments, the second image of the real object at a second viewing angle different from the first viewing angle may be determined in the following manner: First, a third image of the initial three-dimensional model at the second viewing angle (e.g., Figure 4a For example, the third image can be Figure 3 and Figure 4aThe view encoder 306 is shown as determining based on each of the one or more observation angles. The greater the number of observation angles set, the more second images determined at block 206, so that the target 3D model obtained at block 208 may have a higher restoration quality of the real object. Next, a second image feature corresponding to the initial 3D model is obtained from the third image. For example, the second image feature can be obtained by Figure 3 and Figure 4a Next, based on the second image features and the first image, determine the second image (such as Figure 3 The image 308 under the viewing angle 1 to the viewing angle 3 shown in FIG. Figure 4a The second image can be output as the last image 308. Figure 3 and Figure 4a The UV encoder 307 shown is used to obtain it.

[0039] In some embodiments, in addition to the second image features and the first image, the second image herein may also be determined based on a third image feature obtained from the first image and corresponding to a real object and processed by constraint conditions. Figure 4a As shown, using the mean and variance of the Gaussian-like distribution for each view in the second view as constraints, the image encoder 302 is used to obtain the image with color (such as Figure 4a The image features of the real object at the corresponding viewing angle are obtained from the RGB image 103 in FIG. In this way, the restoration quality of the target 3D model to the real object can be further improved.

[0040] In some embodiments, in addition to the second image features, the first image and the third image features, the second image herein may also be determined based on a fourth image obtained by performing mask processing on the third image. For example, the fourth image may be a binary image obtained by performing mask processing on the third image by the visibility encoder 402. For details, see Figure 4a In this way, by using the binarized image, the obtained second image can achieve better texture prediction at the edge of the object.

[0041] At block 208, a target three-dimensional model corresponding to the real object is generated for virtual reality using the second image and the first image. For example, the second image obtained at block 206 is projected onto the initial three-dimensional model by a UV projector 309 to obtain a target three-dimensional model (e.g., Figure 3 and Figure 4b A three-dimensional human model obtained by coloring a three-dimensional human model with clothing as shown in FIG.

[0042] In some embodiments, a target three-dimensional model corresponding to a real object for virtual reality can be generated in the following manner. First, an initial texture map for two-dimensional-to-three-dimensional projection is generated based on the second image, the first image, and the initial three-dimensional model. Alternatively, an initial texture map for two-dimensional-to-three-dimensional projection is generated based on multiple second images and the initial three-dimensional model. The initial texture map can be a two-dimensional map under UV coordinates. Next, the initial texture map is adjusted using the initial three-dimensional model to generate a target texture map. The initial three-dimensional model can integrate the texture information under the UV coordinates for each pixel to obtain a texture map that can better represent the texture characteristics of the real object. Next, a target three-dimensional model is generated based on the target texture map and the initial three-dimensional model. For example, the target texture map can be pasted into the initial three-dimensional model using UV coordinates.

[0043] In some embodiments, the initial texture map may be adjusted in the following manner: First, a 3D-2D displacement map is generated based on the initial 3D model. Figure 4b The shift encoder 406 shown can generate a shift map corresponding to the 3D human model with the costume. Next, the initial texture map is adjusted based on the 3D-2D shift map. In this way, the adjustment of the initial texture map by the shift map can make the target texture map more consistent with the geometric shape of the initial 3D model, thereby further improving the restoration quality of the real object.

[0044] By adopting the above method, a three-dimensional model capable of restoring a real object with high quality can be obtained based on fewer input images. In this way, while improving the user experience in virtual reality, the model construction for virtual reality can be realized simply and quickly.

[0045] The following will be combined Figures 3 to 5 To describe other embodiments for implementing the improved solution of the present disclosure. It should be understood that Figure 2 Examples and Figures 3 to 5 The embodiments can be referenced to each other.

[0046] Figure 3 is a schematic diagram of a 3D UV renderer for object digitization according to some embodiments of the present disclosure. Figure 3 The overall architecture of the 3D UV renderer for implementing the improved solution of the present disclosure is shown. The basic idea of ​​designing a 3D UV renderer is to learn multiple views of the same 3D person, and then use UV projection to project all views back to the 3D person model, thereby obtaining a 3D digital person with coloring.

[0047] like Figure 3As shown, the 3D UV renderer takes the RGB image 103 of a person as input. Then, the RGB image 103 is processed using the image encoder 302 to extract the 2D features of the person. The surface decoder 303 takes the 2D features of the person and the SMPL template 304 as input to render the 3D dressed person. The SMPL template is generally used for modeling 3D people. For example, a 10-D shape vector β and a 23-D pose vector α are used to control the 3D human model 305. Based on this, the 3D human model can be constructed as H = SMPL (β, α), which is then passed to the view encoder 306 and the UV encoder 307 for 2D reconstruction of multiple views 308i (i = 1, 2, .., N), where i is the index of the i-th view. Next, a UV projector 309 is used for multi-view projection. The UV projector 309 can take different numbers of view images as input for texture map prediction. The number of views used for UV projection can be arbitrarily limited according to actual computational costs and resources.

[0048] The present disclosure takes into account that users can usually only provide RGB images and RGB images do not have any depth information. In order to achieve robust and efficient RGB-based 3D human digitization, a deep neural network is proposed to explore the mapping correlation between RGB images and 3D models. For people, powerful prior knowledge such as shape and motion can be extracted from training data. These can all be learned by neural networks for depth estimation. Compared with existing 3D modeling methods, not only can the texture of the 3D human model be effectively predicted, but also its color can be restored with high-resolution visual quality.

[0049] Figure 3 The 3D UV renderer architecture shown can use multi-view UV estimation and projection for 3D human modeling, and can also use graph convolutional neural networks for texture map adjustment. It can be seen that the 3D UV renderer mainly includes UV projector, UV encoder and view encoder. Figure 4a and Figure 4b Further details on UV Projectors, UV Encoders, and View Encoders.

[0050] Figure 4a is a schematic diagram of a UV encoder and a view encoder according to some embodiments of the present disclosure. Figure 4a , the UV encoder 307 and the view encoder 306 are respectively shown with framed areas.

[0051] In principle, the view encoder 306 can rotate the 3D human model 305 with an arbitrary viewing angle θ and provide constraints to the image features. In order to rotate the 3D model 305, it can be assumed that a virtual camera is placed according to a given viewing angle, and then a photo P = cam (H, θ) of the 3D human model 305 is taken, where P is the output image 401 (i.e., the third image in this article), H is the 3D person, and cam is the projection from 3D to 2D. The view encoder 306 can also use the one-hot code of the camera pose as the input of the convolutional neural network to learn the pose condition as o = G (μ, σ), where μ and σ are the mean and variance of the Gaussian-like pose distribution. The image feature T (i.e., the first image feature in this article) can be adjusted by the following equation (1):

[0052] T '= norm(T ) * (1 + σ) + μ Equation (1)

[0053] Where T' is the image feature processed by the constraint condition (ie, the third image feature in this paper), and norm is the normalization process of normalizing the original image feature T to a mean of 0 and a variance of 1.

[0054] The UV encoder 307 can use the existing visibility encoder 402 to predict the visibility diagram 405 (i.e., the fourth image in this article) from the 3D human model with the costume. The visibility diagram 405 can be represented as M here. The visibility diagram 405 describes whether the pixels on the surface of the 3D human are visible ("1") or invisible ("0") to the camera. Two small convolutional neural networks 403 and 404 are additionally set in the UV encoder 307 to process the projected 2D image P and the original image I (i.e., the first image in this article) and its image features T' processed by the constraints. Therefore, the multi-view 308 (i.e., the second image in this article) that can be predicted using the view encoder 306 and the visibility encoder 402 can be obtained by the following equation (2):

[0055] V o = U (P, T ′ , I) · M Equation (2)

[0056] Where Vo represents the oth view of the 3D human model. Here the visibility map M is used as a contour to crop the shape of the 3D human to have a clear boundary.

[0057] Figure 4b is a schematic diagram of a UV projector according to some embodiments of the present disclosure. Figure 4bAs shown, the UV projector 309 uses the initial 3D human model H with dressing and multiple views 308 to predict the texture map 411. The execution process of the UV projector 309 can include two parts: 1) initial texture map E estimation and 2) adjustment of the initial texture map. First, all views are processed using a small convolutional neural network 407 to generate the initial texture map 408, that is, the 2D projection of the texture of the 3D human. At the same time, the UV projector 309 can also predict the 3D-2D shift map A=(ui, vi), where 0 < i < X, 0 < j < Y. The 3D-2D shift map 409 represents the mapping relationship between 3D coordinates and 2D coordinates. Then the UV projector 309 can combine A and E into the Laplacian map 410, and use a graph convolutional neural network to learn the graph representation for the adjustment of the initial texture map. Mathematically, the adjusted texture map 411 (i.e., the target texture map in this article) can be expressed as E’ = E + R(A, E). Finally, the UV projector 309 wraps the adjusted texture map onto the 3D human model with dressing to obtain the 3D human model 105 with coloring. In this way, multi-view UV projection can be implemented using a simple non-learning method to enhance 3D visual quality.

[0058] Using the improved scheme for 3D human digitization proposed in the present disclosure, multiple views of a given RGB image can be predicted to achieve realistic 3D visualization. The embodiments of the present disclosure can be used not only for novel view synthesis but also for 3D human rendering. Figure 5 A use case of the scheme of the present disclosure is shown. Through the improved scheme of the present disclosure, based on a small number of input views (e.g., one view), other invisible views can be predicted, such as Figure 5 the views observed from the perspectives of 90°, 180°, and 270° respectively for the input view as shown. Then, a texture map as shown in Figure 5 can also be predicted based on the predicted multiple views for rendering the 3D human model.

[0059] In addition, the improved scheme of the present disclosure implements a simple and efficient 3D human digitization technology. This technology can learn 3D data from a single RGB image, which makes it applicable to many devices, such as mobile phones, laptops, etc. A good 3D human model can be directly deployed to the metaverse for many applications and can provide 3D customization services for users.

[0060] As mentioned above, the present disclosure proposes a 3D UV renderer for 3D human digitization. The 3D UV renderer can generate a high-quality 3D human model that restores a real person. Specifically, a UV encoder and a UV projector can be used to supervise the generation of a model based on a camera pose. It explicitly applies 3D transformations to the 3D human model, so that shape and texture can be estimated to achieve better 2D reconstruction. Experiments also prove that the improved scheme of the present disclosure can predict new views with high visual quality. This has good prospects in many new research and applications.

[0061] Figure 6 600 is a schematic block diagram of an example device 600 that can be used to implement an embodiment of the present disclosure. The device 600 can be used to implement Figure 2 The process 200. Figure 6 As shown, the device 600 includes a central processing unit (CPU) 601, which can perform various appropriate operations and processes according to computer program instructions stored in a read-only memory (ROM) 602 or computer program instructions loaded from a storage unit 608 into a random access memory (RAM) 603. In the RAM 603, various programs and data required for the operation of the device 600 can also be stored. The CPU 601, the ROM 602, and the RAM 603 are connected to each other via a bus 604. An input / output (I / O) interface 605 is also connected to the bus 604.

[0062] A number of components in the device 600 are connected to the I / O interface 605, including: an input unit 606, such as a keyboard, a mouse, etc.; an output unit 607, such as various types of displays, speakers, etc.; a storage unit 608, such as a disk, an optical disk, etc.; and a communication unit 609, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 609 allows the device 600 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0063] The various processes and processing described above, such as method 200, may be performed by processing unit 601. For example, in some embodiments, method 200 may be implemented as a computer software program, which is tangibly contained in a machine-readable medium, such as storage unit 608. In some embodiments, part or all of the computer program may be loaded and / or installed on device 600 via ROM 602 and / or communication unit 609. When the computer program is loaded into RAM 603 and executed by CPU 601, one or more operations of method 200 described above may be performed.

[0064] The present disclosure may be a method, an apparatus, a system and / or a computer program product. The computer program product may include a computer-readable storage medium carrying computer-readable program instructions for executing various aspects of the present disclosure.

[0065] Computer readable storage medium can be a tangible device that can hold and store instructions used by an instruction execution device. Computer readable storage medium can be, for example, but not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the above. More specific examples (non-exhaustive list) of computer readable storage medium include: portable computer disk, hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), static random access memory (SRAM), portable compact disk read-only memory (CD-ROM), digital versatile disk (DVD), memory stick, floppy disk, mechanical encoding device, such as a punch card or a convex structure in a groove on which instructions are stored, and any suitable combination of the above. The computer readable storage medium used here is not interpreted as a transient signal itself, such as a radio wave or other freely propagating electromagnetic wave, an electromagnetic wave propagated by a waveguide or other transmission medium (e.g., a light pulse by an optical fiber cable), or an electrical signal transmitted by a wire.

[0066] The computer-readable program instructions described herein can be downloaded from a computer-readable storage medium to each computing / processing device, or downloaded to an external computer or external storage device via a network, such as the Internet, a local area network, a wide area network, and / or a wireless network. The network can include copper transmission cables, optical fiber transmissions, wireless transmissions, routers, firewalls, switches, gateway computers, and / or edge servers. The network adapter card or network interface in each computing / processing device receives the computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in the computer-readable storage medium in each computing / processing device.

[0067] The computer program instructions for performing the operation of the present disclosure may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-related instructions, microcode, firmware instructions, state setting data, or source code or object code written in any combination of one or more programming languages, including object-oriented programming languages, such as Smalltalk, C++, etc., and conventional procedural programming languages, such as "C" language or similar programming languages. Computer-readable program instructions may be executed completely on a user's computer, partially on a user's computer, as an independent software package, partially on a user's computer, partially on a remote computer, or completely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., using an Internet service provider to connect via the Internet). In some embodiments, an electronic circuit, such as a programmable logic circuit, a field programmable gate array (FPGA), or a programmable logic array (PLA), may be customized by utilizing the state information of the computer-readable program instructions, and the electronic circuit may execute the computer-readable program instructions, thereby realizing various aspects of the present disclosure.

[0068] Various aspects of the present disclosure are described herein with reference to the flowcharts and / or block diagrams of the methods, devices (systems) and computer program products according to the embodiments of the present disclosure. It should be understood that each box in the flowchart and / or block diagram and the combination of each box in the flowchart and / or block diagram can be implemented by computer-readable program instructions.

[0069] These computer-readable program instructions can be provided to a processing unit of a general-purpose computer, a special-purpose computer, or other programmable data processing device, thereby producing a machine, so that when these instructions are executed by the processing unit of the computer or other programmable data processing device, a device that implements the functions / operations specified in one or more boxes in the flowchart and / or block diagram is generated. These computer-readable program instructions can also be stored in a computer-readable storage medium, and these instructions cause the computer, programmable data processing device, and / or other equipment to work in a specific manner, so that the computer-readable medium storing the instructions includes a manufactured product, which includes instructions for implementing various aspects of the functions / operations specified in one or more boxes in the flowchart and / or block diagram.

[0070] Computer-readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device so that a series of operational steps are performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions executed on the computer, other programmable data processing apparatus, or other device to implement the functions / operations specified in one or more boxes in the flowchart and / or block diagram.

[0071] The flow chart and block diagram in the accompanying drawings show the possible architecture, function and operation of the system, method and computer program product according to multiple embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a part of a module, program segment or instruction, and the part of the module, program segment or instruction contains one or more executable instructions for realizing the specified logical function. In some alternative implementations, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two continuous square boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be implemented with a combination of special hardware and computer instructions.

[0072] The embodiments of the present disclosure have been described above, and the above description is exemplary, not exhaustive, and is not limited to the disclosed embodiments. Many modifications and changes will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The selection of terms used herein is intended to best explain the principles of the embodiments, practical applications, or improvements to the technology in the market, or to enable other persons of ordinary skill in the art to understand the embodiments disclosed herein.

Claims

1. A method for virtual reality modeling, comprising: Acquire a first image of a real object at a first perspective; Based on the first image, obtaining an initial three-dimensional model corresponding to the real object; Determine, by using the initial three-dimensional model, a second image of the real object at a second viewing angle different from the first viewing angle, wherein the second image has texture characteristics of the real object; as well as A target three-dimensional model corresponding to the real object for the virtual reality is generated by using the second image and the first image.

2. The method according to claim 1, wherein obtaining an initial three-dimensional model corresponding to the real object comprises: Obtaining a first image feature corresponding to the real object from the first image; as well as The initial three-dimensional model is generated by using a three-dimensional model template and based on the first image feature.

3. The method of claim 1 , wherein determining a second image of the real object at a second viewing angle different from the first viewing angle comprises: determining a third image of the initial three-dimensional model at the second viewing angle, Obtaining a second image feature corresponding to the initial three-dimensional model from the third image; as well as Based on the second image feature and the first image, the second image is determined.

4. The method of claim 1 , wherein determining a second image of the real object at a second viewing angle different from the first viewing angle comprises: determining a third image of the initial three-dimensional model at the second viewing angle, Obtaining a second image feature corresponding to the initial three-dimensional model from the third image; Using the constraint condition corresponding to the second viewing angle, obtaining a third image feature corresponding to the real object and processed by the constraint condition from the first image; as well as The second image is determined based on the second image feature, the first image and the third image feature.

5. The method of claim 1 , wherein determining a second image of the real object at a second viewing angle different from the first viewing angle comprises: Determining a third image of the initial three-dimensional model at the second viewing angle; Obtaining a second image feature corresponding to the initial three-dimensional model from the third image; Using the constraint condition corresponding to the second viewing angle, obtaining a third image feature corresponding to the real object and processed by the constraint condition from the first image; Obtaining a fourth image of the initial three-dimensional model at the second viewing angle by performing mask processing on the third image; and The second image is determined based on the second image feature, the first image, the third image feature, and the fourth image. The method according to claim 5 , wherein the fourth image is a binarized image.

7. The method according to claim 1, wherein generating a target three-dimensional model corresponding to the real object for the virtual reality comprises: generating an initial texture map for 2D-3D projection based on the second image, the first image and the initial 3D model; Using the initial three-dimensional model, adjusting the initial texture map to generate a target texture map; as well as The target three-dimensional model is generated based on the target texture map and the initial three-dimensional model.

8. The method according to claim 7, wherein adjusting the initial texture map comprises: Based on the initial three-dimensional model, generating a three-dimensional-two-dimensional displacement map; as well as The initial texture map is adjusted based on the 3D-2D displacement map. 9 . The method according to claim 1 , wherein the initial three-dimensional model is a nude three-dimensional model or a three-dimensional model with clothing corresponding to the real object.

10. An electronic device, comprising: at least one processor; as well as At least one memory storing computer executable instructions, the at least one memory and the computer executable instructions being configured to, together with the at least one processor, cause the electronic device to perform operations, the operations comprising: Acquire a first image of a real object at a first perspective; Based on the first image, obtaining an initial three-dimensional model corresponding to the real object; Determining, by using the initial three-dimensional model, a second image of the real object at a second viewing angle different from the first viewing angle, the second image having texture characteristics of the real object; and A target three-dimensional model corresponding to the real object for the virtual reality is generated by using the second image and the first image.

11. The apparatus according to claim 10, wherein obtaining an initial three-dimensional model corresponding to the real object comprises: Obtaining a first image feature corresponding to the real object from the first image; as well as The initial three-dimensional model is generated by using a three-dimensional model template and based on the first image feature.

12. The apparatus of claim 10, wherein determining a second image of the real object at a second viewing angle different from the first viewing angle comprises: determining a third image of the initial three-dimensional model at the second viewing angle, Obtaining a second image feature corresponding to the initial three-dimensional model from the third image; as well as Based on the second image feature and the first image, the second image is determined.

13. The apparatus of claim 10, wherein determining a second image of the real object at a second viewing angle different from the first viewing angle comprises: determining a third image of the initial three-dimensional model at the second viewing angle, Obtaining a second image feature corresponding to the initial three-dimensional model from the third image; Using the constraint condition corresponding to the second viewing angle, obtaining a third image feature corresponding to the real object and processed by the constraint condition from the first image; as well as The second image is determined based on the second image feature, the first image and the third image feature.

14. The apparatus of claim 10, wherein determining a second image of the real object at a second viewing angle different from the first viewing angle comprises: determining a third image of the initial three-dimensional model at the second viewing angle, Obtaining a second image feature corresponding to the initial three-dimensional model from the third image; Using the constraint condition corresponding to the second viewing angle, obtaining a third image feature corresponding to the real object and processed by the constraint condition from the first image; Obtaining a fourth image of the initial three-dimensional model at the second viewing angle by performing mask processing on the third image; and The second image is determined based on the second image feature, the first image, the third image feature, and the fourth image. The apparatus according to claim 14 , wherein the fourth image is a binarized image.

16. The apparatus according to claim 10, wherein generating a target three-dimensional model corresponding to the real object for the virtual reality comprises: generating an initial texture map for 2D-3D projection based on the second image, the first image and the initial 3D model; Using the initial three-dimensional model, adjusting the initial texture map to generate a target texture map; as well as The target three-dimensional model is generated based on the target texture map and the initial three-dimensional model.

17. The apparatus of claim 16, wherein adjusting the initial texture map comprises: Based on the initial three-dimensional model, generating a three-dimensional-two-dimensional displacement map; as well as The initial texture map is adjusted based on the 3D-2D displacement map.

18. The device according to claim 10, wherein the initial three-dimensional model is a nude three-dimensional model or a three-dimensional model with clothing corresponding to the real object.

19. A computer program product tangibly stored on a non-transitory computer readable medium and comprising computer executable instructions which, when executed, cause a device to: Acquire a first image of a real object at a first perspective; Based on the first image, obtaining an initial three-dimensional model corresponding to the real object; Determine, by using the initial three-dimensional model, a second image of the real object at a second viewing angle different from the first viewing angle, wherein the second image has texture characteristics of the real object; as well as A target three-dimensional model corresponding to the real object for the virtual reality is generated by using the second image and the first image.

20. The computer program product of claim 19, wherein determining a second image of the real object at a second perspective different from the first perspective comprises: determining a third image of the initial three-dimensional model at the second viewing angle, Obtaining a second image feature corresponding to the initial three-dimensional model from the third image; as well as Based on the second image feature and the first image, the second image is determined.