Display object determination method, device, electronic device and storage medium
By determining the part feature recognition parameters and splicing components of the target object, a virtual object is generated, which solves the problems of insufficient model diversity and large storage space in virtualized display, and improves user experience and adaptability.
Patent Information
- Application Number
- CN202210593822.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-05-27
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2042-05-27
AI Technical Summary
When virtualizing video or image objects, the existing technology needs to re-identify and establish model objects, resulting in a waste of time and resources. Moreover, the pre-stored virtualization model styles are not diverse enough, occupy a large storage space, and cannot adapt to various types of virtualization. Memory terminal device.
By determining the part feature recognition parameters of the target object, splicing the corresponding target components, generating a virtual object to be adjusted, and adjusting the virtual object based on the display information, the model can be diversified and storage space can be saved.
It improves model diversification and user experience, saves storage space, and is adaptable to various memory terminal devices.
Smart Images

Figure CN114913058B_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present disclosure relate to computer software technology, and more particularly to a method, device, electronic device and storage medium for determining a display object. Background Art
[0002] In order to enrich the display of objects in the video or image, the objects in the video or image may be modeled and displayed as model objects, for example, a virtual model of building blocks that converts a person into granular and / or blocky elements.
[0003] In the process of virtualizing and displaying objects, it is necessary to re-identify and build model objects each time, which will waste time and resources. If various virtual models are built and stored in advance, the diversity of models will be insufficient and the storage space will be large. Summary of the invention
[0004] The present disclosure provides a method, device, electronic device and storage medium for determining a display object, so as to save storage space, increase model diversity, and thus improve the effect of user experience.
[0005] In a first aspect, an embodiment of the present disclosure provides a method for determining a display object, including:
[0006] Determine at least one part feature recognition parameter of the target object;
[0007] Determine a target component corresponding to the at least one part feature recognition parameter, and display information of the target component; wherein the part type of the target component corresponds to the target part type in the part feature recognition parameter;
[0008] Determine a virtual object to be adjusted corresponding to the target object by splicing at least one target component;
[0009] Based on the display information of at least one target component and the virtual object to be adjusted, a target virtual object is determined and displayed.
[0010] In a second aspect, an embodiment of the present disclosure further provides a device for determining a display object, the device comprising:
[0011] A parameter determination module, used to determine at least one part feature recognition parameter of the target object;
[0012] A component determination module, used to determine a target component corresponding to the at least one part feature identification parameter, and display information of the target component; wherein the part type of the target component corresponds to the target part type in the part feature identification parameter;
[0013] A component splicing module, used to determine a virtual object to be adjusted corresponding to the target object by splicing at least one target component;
[0014] The display module is used to determine and display the target virtual object based on the display information of at least one target component and the virtual object to be adjusted.
[0015] In a third aspect, an embodiment of the present disclosure further provides an electronic device, the electronic device comprising:
[0016] one or more processors;
[0017] a storage device for storing one or more programs,
[0018] When the one or more programs are executed by the one or more processors, the one or more processors implement the method for determining a display object as described in any one of the embodiments of the present disclosure.
[0019] In a fourth aspect, the embodiments of the present disclosure further provide a storage medium comprising computer executable instructions, which, when executed by a computer processor, are used to execute a method for determining a display object as described in any one of the embodiments of the present disclosure.
[0020] The technical solution of the disclosed embodiment extracts the features of each part of the target object by determining at least one part feature identification parameter of the target object, determines the target component corresponding to the at least one part feature identification parameter, and the display information of the target component, so as to obtain the components for subsequent splicing and the display information required to display these components, determines the virtual object to be adjusted corresponding to the target object by splicing processing at least one target component, splices and combines the target components to obtain the initial virtual object, determines and displays the target virtual object based on the display information of at least one target component and the virtual object to be adjusted, thereby solving the problem of large storage space occupation and inability to adapt to terminal devices with various memories in the process of determining the target virtual object, and realizes the effect of saving storage space, improving model diversification, and thus improving user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the accompanying drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are schematic and the originals and elements are not necessarily drawn to scale.
[0022] Figure 1 A flowchart of a method for determining a display object provided by an embodiment of the present disclosure;
[0023] Figure 2 A flowchart of another method for determining a display object provided by an embodiment of the present disclosure;
[0024] Figure 3 A schematic diagram of an image to be processed and a target virtual object provided by an embodiment of the present disclosure;
[0025] Figure 4 A schematic diagram of the structure of a device for determining a display object provided by an embodiment of the present disclosure;
[0026] Figure 5 A schematic diagram of the structure of an electronic device provided by an embodiment of the present disclosure. DETAILED DESCRIPTION
[0027] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments described herein, which are instead provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.
[0028] It should be understood that the various steps described in the method embodiments of the present disclosure may be performed in different orders and / or in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present disclosure is not limited in this respect.
[0029] The term "including" and its variations used herein are open inclusions, i.e., "including but not limited to". The term "based on" means "based at least in part on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". The relevant definitions of other terms will be given in the following description.
[0030] It should be noted that the concepts such as "first" and "second" mentioned in the present disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.
[0031] It should be noted that the modifications of "one" and "plurality" mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, it should be understood as "one or more".
[0032] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.
[0033] It is understandable that before using the technical solutions disclosed in the embodiments of the present disclosure, the types, scope of use, usage scenarios, etc. of the personal information involved in the present disclosure should be informed to the user and the user's authorization should be obtained in an appropriate manner in accordance with relevant laws and regulations.
[0034] For example, in response to receiving an active request from a user, a prompt message is sent to the user to clearly prompt the user that the operation requested to be performed will require obtaining and using the user's personal information. Thus, the user can autonomously choose whether to provide personal information to software or hardware such as an electronic device, application, server, or storage medium that performs the operation of the technical solution of the present disclosure according to the prompt message.
[0035] As an optional but non-limiting implementation, in response to receiving an active request from the user, the prompt information may be sent to the user in the form of a pop-up window, in which the prompt information may be presented in text form. In addition, the pop-up window may also carry a selection control for the user to choose "agree" or "disagree" to provide personal information to the electronic device.
[0036] It is understandable that the above notification and the process of obtaining user authorization are merely illustrative and do not constitute a limitation on the implementation of the present disclosure. Other methods that meet the relevant laws and regulations may also be applied to the implementation of the present disclosure.
[0037] Before introducing the present technical solution, an exemplary description of the application scenario can be given first. The technical solution provided by the embodiment of the present disclosure can be applied to any scenario where the target object needs to be modeled or virtualized. For example, in the process of generating an object model, the technical solution provided by the embodiment of the present disclosure can be used for modeling. When it is necessary to model the target object in scenarios such as short video shooting, video calls, or live video broadcasts, the technical solution provided by the embodiment of the present disclosure can be used. It should also be noted that the technical solution of the embodiment of the present disclosure is used in further processing of the image after the image is captured.
[0038] The device for executing the display object determination method provided by the embodiment of the present disclosure can be integrated into the application software supporting the special effect image processing function, and the software can be installed in the electronic device, and the electronic device can be a mobile terminal or a PC, etc. The application software can be a type of software for image / video processing, and its specific application software will not be described one by one here, as long as it can realize image / video processing.
[0039] In an embodiment of the present disclosure, determining the trigger timing for collecting an image to be processed including a target object includes at least one of: detecting a special effects prop for triggering object modeling; detecting that the collected audio information triggers a special effects wake-up word; detecting that the target object is included in the frame; detecting that the target object's body movements are consistent with preset body movements.
[0040] Among them, the special effect props can be triggered by a button displayed on the application software display interface, and the trigger representation of the button needs to determine the modeled virtual object. In actual application, if the user triggers the button, the collected image to be processed needs to be processed.
[0041] Alternatively, voice information is collected based on a microphone array deployed on a terminal device, and the voice information is analyzed and processed. If the processing result includes words for modeling processing, it means that the function of modeling processing has been triggered. The advantage of determining whether to perform modeling processing based on the content of voice information is that it avoids the interaction between the user and the display interface and improves the intelligence of target object modeling. Another implementation method may be to determine whether the user's facial image is included in the field of view of the mobile terminal according to the shooting field of view. When the user's facial image is detected, the application software can use the event of detecting the facial image as an operation to collect the image to be processed; it may also be that the action of collecting the image to be processed corresponding to the modeling processing is triggered when the object in the frame is detected, for example, an "OK" gesture. Those skilled in the art should understand that the specific event selected as the trigger condition for collecting the image to be processed in the modeling processing can be set according to the actual situation, and the embodiment of the present disclosure is not specifically limited here.
[0042] Currently, pre-designed models can be stored in the prop table. If the storage space of the prop package is preset, storing various models in the prop package will not be able to store all of them, resulting in fewer model styles and poor user experience. If the storage space of the prop package can be expanded, the storage space of the prop package will occupy a large amount of memory and cannot be applied to terminal devices of various memory sizes.
[0043] Figure 1 A flow chart of a method for determining a display object provided in an embodiment of the present disclosure is applicable to a situation in which a virtual image for simulating a target object is generated according to the target object. The method can be executed by a display object determination device, which can be implemented in the form of software and / or hardware, and optionally, by an electronic device, which can be a mobile terminal, a PC or a server, etc.
[0044] like Figure 1 As shown, the method includes:
[0045] S110: Determine at least one part feature recognition parameter of the target object.
[0046] The target object may be an object to be simulated and displayed, or an object that is triggered to be displayed in a display screen after virtualization special effects processing is performed on the object, for example, a person, an animal, etc. The part feature recognition parameter may be a parameter used to describe the characteristics of each part of the target object. Optionally, the part feature recognition parameter corresponds to a corresponding part and part feature, the part includes any part of the head or limbs, and the part feature includes a wearing feature, a color feature, and a texture feature.
[0047] Specifically, after determining the target object, the target object can be identified to directly determine the part feature recognition parameters corresponding to each part of the target object. Alternatively, the parts of the target object can be determined first, and then each part can be identified separately to determine the part feature recognition parameters corresponding to each part.
[0048] S120: Determine a target component corresponding to at least one part feature recognition parameter, and display information of the target component.
[0049] Among them, the target component can be a component corresponding to the part, which is subsequently used to splice and form a target virtual object. The part feature recognition parameter may include a target part type for describing the corresponding part. The part type of the target component corresponds to the target part type in the part feature recognition parameter. For example: the target component is a head component, and the part type is a head, etc. The display information can be parameter information used to adjust the target component when displaying the target component, for example: the display information may include color information, texture information, transparency information, etc.
[0050] Specifically, according to at least one part feature recognition parameter, a program code or description file corresponding to the at least one part feature recognition parameter for constructing a target component may be determined, such as a json file, etc. Further, the target component may be constructed according to the determined program code or description file, and display information for subsequent display of the target component may also be determined.
[0051] Exemplarily, a program code may be written in advance, and the program code may include program segments corresponding to various part feature recognition parameters. According to the determined part feature recognition parameters, the program code may be executed sequentially. When a matching program segment is determined, the parameter information used to construct the target component in the program segment is obtained, such as the position, rotation angle, size, display parameters, etc. of each component. Among them, the components are the various parts used to form the target component. According to these parameter information, the components may be adjusted and spliced to obtain the target component, and the display information of the target component may be determined.
[0052] It should be noted that each component can be designed in advance and automatically parsed by a script to create a description file for the output components, so that a description file is created for each component or a description file is created for the components of each part or a description file is created for the components of each part.
[0053] S130: Determine a virtual object to be adjusted corresponding to the target object by splicing at least one target component.
[0054] The virtual object to be adjusted may be a virtual object obtained by splicing target components, that is, a virtual object corresponding to the target object obtained by preliminary processing.
[0055] Specifically, after obtaining each target component, the splicing parameters of each target component can be determined, such as splicing position, splicing angle, etc. Then, each target component can be adjusted according to the splicing parameters. After the adjustment of each target component is completed, it can be considered that each target component is spliced, and then the component set obtained after splicing each target component is used as the virtual object to be adjusted.
[0056] S140: Based on display information of at least one target component and the virtual object to be adjusted, determine and display a target virtual object.
[0057] The target virtual object may be a virtual object determined after adjustment based on the display information, that is, a virtual object for the target object. The target virtual object may be understood as a building block image consistent with the state of the target object, which is assembled based on at least one granular element or block.
[0058] Specifically, according to the display information of at least one target component, the display parameters of each target component in the virtual object to be adjusted can be adjusted so that the display effect of the virtual object to be adjusted is closer to the target object. Then, the virtual object to be adjusted after the display parameters are adjusted is used as the target virtual object, and the target virtual object is displayed. The technical solution of the embodiment of the present disclosure extracts the features of each part of the target object by determining at least one part feature recognition parameter of the target object, determines the target component corresponding to at least one part feature recognition parameter, and the display information of the target component, so as to obtain the components to be spliced and used subsequently and the display information required to display these components, determines the virtual object to be adjusted corresponding to the target object by splicing processing at least one target component, splices and combines the target components to obtain the initial virtual object, determines the target virtual object and displays it based on the display information of at least one target component and the virtual object to be adjusted, solves the problem that the storage space is large and cannot be adapted to various memory terminal devices in the process of determining the target virtual object, and saves storage space, improves model diversification, and thus improves the effect of user experience.
[0059] Based on the above disclosed embodiments, there are cases where the display information corresponding to some part feature recognition parameters cannot be obtained or fails to be obtained. At this time, the corresponding target component cannot be filled, which will cause the problem of poor display effect of the target virtual object. At this time, the display information of the target part corresponding to these part feature parameters can be determined according to the pre-set dependency relationship to perform a bottom-up processing on the acquisition of the display information and improve the display effect of the virtual object. Specifically, it can be:
[0060] When the part feature recognition parameters include display information, acquiring the display information;
[0061] When the part feature recognition parameter does not include display information, an associated part type associated with the target part type of the part feature recognition parameter is determined, so as to determine display information of the target part type according to the part feature recognition parameter of the associated part type.
[0062] Among them, the associated part type can be a part that has an associated relationship with the target part type, and the associated relationship can be determined based on pre-established part association information. Optionally, the part association information can also include the relationship between the display information of the target part type and the associated part type, for example: the display information of the target part type and the associated part type is the same, the display information of the target part type is preset and adjusted based on the display information of the associated part type, etc. The associated relationship can also be understood as a relationship in body structure or a relationship in dress. For example, the relationship in body structure can be that the arm is associated with the head, and similar relationships. The relationship in dress can be understood as that usually the clothes are matched in a certain way, such as the color of the pants will match the color of the top.
[0063] Specifically, when the display information is included in the part feature identification parameters, the display information can be obtained from the part feature identification parameters. When the display information is not included in the part feature identification parameters, in order to improve the display effect of the target virtual object, the missing display information will also be supplemented. The target part type corresponding to the part feature identification parameters can be determined first, and the associated part type associated with the target part type can be determined, for example: the associated part type is determined by a pre-established part association relationship, etc. After determining the associated part type associated with the target part type, the display parameters of the associated part type can be determined according to the part feature identification parameters of the associated part type, and preset adjustments or copying and other processing can be performed according to the display parameters of the associated part type to obtain the display information of the target part type, so as to supplement the undetermined display parameters and improve the display effect of the subsequent target virtual object.
[0064] Exemplarily, self_determine may be used to represent display information of a target part type having an associated part type, and the determination can only be made after the display information of the associated part type is confirmed.
[0065] It should be noted that multiple layers of part association relationships may be included. For example, there is no display information for part A and part B, but it can be determined that the part association relationship is that part A is associated with part B, and part B is associated with part C. At this time, it is necessary to first determine the display information of part C, and then determine the display information of part B based on the display information of part C, and then determine the display information of part A based on the display information of part B.
[0066] Figure 2This is a flow chart of another method for determining a display object provided by an embodiment of the present disclosure. Based on the aforementioned disclosed embodiment, the specific implementation methods for obtaining part feature recognition parameters, determining target components, splicing target components, and displaying target virtual objects can refer to the detailed description of this technical solution. The explanations of terms that are the same or corresponding to the above-mentioned technical solutions are not repeated here.
[0067] like Figure 2 As shown, the method includes:
[0068] S210: Process the image to be processed based on the parameter analysis model to determine at least one part feature recognition parameter.
[0069] The image to be processed may be an uploaded, downloaded or photographed image to be processed as a virtual object, and the image to be processed includes a target object. The parameter analysis model may be a pre-trained model for extracting part feature recognition parameters, or a machine learning model, etc. The specific model may be set according to the needs.
[0070] Specifically, an image to be processed is obtained, and the image to be processed is input into a parameter analysis model so that the parameter analysis model analyzes and processes the image to be processed, and an output result of the parameter analysis model is used as at least one part feature recognition parameter corresponding to the image to be processed, so as to quickly and accurately extract at least one part feature recognition parameter of the target object in the image to be processed.
[0071] Exemplarily, the part feature recognition parameters may be recorded in a key-value pair format, where the part category is used as key information and the part feature recognition parameters corresponding to the part category are used as value information.
[0072] S220: Determine a corresponding target component identifier based on at least one part feature recognition parameter.
[0073] The target component identifier may be an identifier used to distinguish different components corresponding to each part type, or may be an identifier corresponding to a part feature recognition parameter.
[0074] Specifically, the part type corresponding to the part feature identification parameter can be determined first, and then the component identification corresponding to the part feature identification parameter can be searched according to the part type as the target component identification, so as to facilitate searching and distinguishing components in different parts.
[0075] Exemplarily, in the pre-written program code, the part type may be matched first, and then the part feature recognition parameters may be matched in sequence under the part type. When the match is successful, the component identifier of the successful match is determined as the target component identifier.
[0076] Optionally, using conditional statements to write program code to determine the target component identifier may lack scalability, readability, maintainability, and low robustness. Therefore, non-conditional statement program code may be written based on the mapping relationship to determine the target component identifier, which may be:
[0077] Based on the pre-established mapping relationship, a target component identifier corresponding to at least one part feature recognition parameter is determined.
[0078] Among them, the mapping relationship can be a relationship designed and established in advance by the designer according to the designed virtual model, according to different parts and optional branches under different parts, and determining parameter information. For example, it can be in the form of a relationship diagram, a relationship table, a relationship tree, etc. The mapping relationship includes the part type and the component identification of at least one display state associated with the part type. The part feature identification parameter includes the target part type and the corresponding target display state. The display state can be a state used to distinguish different features in the part. For example, the display state of hair can include wearing a hat and not wearing a hat. The display state of wearing a hat can be subdivided into the states of various types of hats, such as: a peaked cap, a cowboy hat, and a bowler hat. The mapping relationship can be the pre-established component identification of each part type and various display states corresponding to each part type.
[0079] Specifically, the program code corresponding to the mapping relationship may be determined based on the pre-established mapping relationship, and then the program code may be used to search according to at least one part feature recognition parameter to determine the corresponding target component identifier.
[0080] Exemplarily, the mapping relationship format can be in the following form: part type: hat, "component name: none, component identification: 0, feature name: no hat"; "component name: CAP_yashemao, component identification: 1, feature name: duckbill cap"; "component name: CAP_yashemao, component identification: 7, feature name: octagonal cap"; "component name: CAP_yuandingmao, component identification: 3, feature name: cowboy hat"; "component name: CAP_yuandingmao, component identification: 5, feature name: flat-top round-brimmed hat"; "component name: CAP_yufumao, component identification: 4, feature name: fisherman's hat", etc. Through the mapping information provided by the mapping relationship, the program corresponding to the mapping relationship can be determined, and the components of the current various part types can be automatically determined through the algorithm results by parsing the mapping relationship. The part feature recognition parameters and the mapping relationship can be matched through the algorithm through the program code, and the algorithm result can be used as the final component identification as the target component identification. Optionally, in order to improve the search performance, the binary search method can be used to match the part feature recognition parameters and the mapping relationship.
[0081] S230 , based on the target component identifier, retrieve the corresponding target sub-component, and splice the target sub-component to determine the target component corresponding to the target component identifier.
[0082] The target sub-element may be a sub-element corresponding to the target component identifier and used to construct the target component. Optionally, the target sub-element in the target component is a granular element and / or a block element.
[0083] Specifically, according to the target component identifier, each target sub-element corresponding to the target component identifier can be determined, each target sub-element is automatically spliced according to a predetermined position, and the combination of each target sub-element obtained by splicing can be used as the target component corresponding to the target component identifier. In the above manner, the target component can be detailed and spliced and combined through each target sub-element, avoiding the problem of directly storing various components occupying a large storage space and saving storage space.
[0084] Optionally, sub-component splicing parameters may be pre-set for the sub-components, so as to facilitate and quickly perform splicing processing on the target sub-components according to the sub-component splicing parameters, which may be:
[0085] Obtaining pre-set sub-element splicing parameters corresponding to the target sub-element; splicing the corresponding target sub-element based on the sub-element splicing parameters of the target sub-element to obtain the target component.
[0086] The sub-element splicing parameters may be parameters corresponding to the sub-element for splicing, or may be parameters related to each other between the sub-elements, and the sub-element splicing parameters include rotation parameters, position parameters, and size parameters. The rotation parameter may be an angle parameter of the sub-element in space, the position parameter may be relative position information or absolute position information corresponding to the center of the sub-element, and the size parameter may be a parameter used to describe the size of the sub-element.
[0087] Specifically, after determining the target sub-element, the pre-set sub-element splicing parameters corresponding to the target sub-element can be obtained according to the target sub-element. Then, the target sub-element can be adjusted and processed according to the relevant sub-element splicing parameters. After the target sub-element is adjusted and processed, the obtained set of target sub-element is used as the target component obtained by splicing.
[0088] S240: Acquire pre-set stitching parameters of at least one target component, perform stitching processing on the at least one target component based on the stitching parameters, and determine a virtual object to be adjusted.
[0089] The splicing parameters may be parameters for splicing corresponding to the components, and the splicing parameters may include rotation parameters, position parameters, size parameters, and the like.
[0090] Specifically, after determining each target component, the pre-set splicing parameters corresponding to the target component can be obtained according to each target component. Then, each target component can be adjusted and processed according to the corresponding splicing parameters. After each target component is adjusted and processed, the obtained set of target components is used as the spliced virtual object to be adjusted. In this way, each target component can be accurately spliced and processed, and the virtual object to be adjusted can be quickly obtained.
[0091] S250: Based on the mapping relationship, determine texture information and color information corresponding to at least one part feature recognition parameter, and use them as display information.
[0092] The texture information may be information used to describe non-pure color patterns, and may include information such as patterns or lines. The color information may be information describing color, saturation, transparency, etc. The mapping relationship also includes color information and texture information corresponding to the part feature recognition parameters.
[0093] Specifically, according to the part feature identification parameters, the texture information and color information corresponding to the part feature identification parameters can be matched and found from the mapping relationship, and the texture information and color information are integrated as display information corresponding to at least one part feature identification parameter, that is, the display information of the target component.
[0094] Exemplarily, the display information may be in the form of a key-value pair, for example, the color information may be black-0; dark gray-1; dark brown-2; brown-3; khaki-4, etc. Optionally, default display information may be preset, for example, the component corresponding to the skin part is the default skin color. Optionally, the priority of the display information corresponding to at least one part feature recognition parameter and the preset default display information may also be set, for example: in the case where the priority of the preset default display information is high, even if the display information is determined according to at least one part feature recognition parameter, it will be overwritten by the preset default display information.
[0095] It should be noted that S250 may be executed before S240 or after S240, and S250 only needs to be executed before S260.
[0096] It should also be noted that storing display information through mapping relationships can save storage space and can make the display effect of each target component richer.
[0097] S260: Determine that the display information corresponds to a target sub-element in a corresponding target component and use it as a sub-element to be filled, so as to fill the sub-element to be filled based on the display information.
[0098] The sub-element to be filled may be a target sub-element that needs to be filled according to the display information, and the sub-element to be filled may be a target sub-element whose position parameter is located outside. The reason for this is that even if the target sub-element located inside the virtual object to be adjusted is filled according to the display parameter, it cannot be displayed in the target virtual object displayed subsequently, which will cause the problem of wasting computing and storage resources.
[0099] Specifically, the target sub-components that need to be filled in the target component can be determined according to the display information of the target component, and the target sub-components that need to be filled are used as sub-components to be filled, so as to facilitate subsequent filling processing.
[0100] S270 , filling the display information into the to-be-filled sub-element on the corresponding target component to obtain a target virtual object.
[0101] Specifically, after determining the sub-components to be filled on each target component, each sub-component to be filled can be filled according to the display information of each target component, that is, filled with texture and color. After filling each sub-component to be filled according to the display information, a target virtual object can be obtained to achieve the effect of filling according to the display information on the outer surface of the target virtual object.
[0102] On the basis of the above disclosed embodiments, in order to improve the realism and aesthetic effect of the target virtual object, the part corresponding to at least one part identification parameter can be beautified. For example, if the parameter corresponding to whether beautification is required is true, beautification is performed according to the preset beautification parameter, and if it is false, no beautification is performed. Specifically, it can be:
[0103] When a beautification instruction is received, a preset beautification parameter is obtained to perform beautification processing on the corresponding part based on the beautification parameter.
[0104] Among them, the beautification instruction can be an instruction for triggering the beautification effect, and can be an instruction triggered automatically or manually. The beautification parameters can be parameters used for beautification, and can include parameters of various beautification types, such as whitening type, skin resurfacing type, etc. Automatic can be understood as in the design stage, beautification parameters corresponding to different colors, part types, etc. can be set, and corresponding program codes can be generated, so that when the target object is collected, the virtual object to be processed can be beautified based on the program code to obtain the target virtual special effect object. Manual triggering can be understood as beautification parameters can be pre-set for each part type. When the user's trigger operation based on the beautification control in the display interface is detected, the pre-set beautification parameters can be added to the corresponding part recognition parameters to facilitate the subsequent beautification effect.
[0105] Specifically, at least one part identification parameter can be judged to determine whether to beautify. For example: define the parameter ncb (need color beautify), if the true value is true, it means that color beautification is needed, etc. Furthermore, when it is determined that the part corresponding to at least one part identification parameter is to beautify, the pre-set beautification parameters related to the beautification of the part are obtained, and the part is beautified according to the beautification parameters. On the basis of the above-mentioned disclosed embodiments, if the target position does not contain pattern elements, the display effect will be relatively monotonous. At this time, the target position can be mapped. Among them, the target position can be a preset position, such as clothes.
[0106] Specifically, a preset number of randomly generated texture effects are stored in a preset queue, and the length of the preset queue is the same as the preset number. When it is detected that the target position in the target virtual object does not contain a pattern element, a texture effect is obtained from the head of the queue in the preset queue, the texture effect is displayed at the target position, and the texture effect is deleted from the preset queue. If all the texture effects in the preset queue are deleted, a preset number of texture effects are randomly generated to fill the preset queue, so as to facilitate subsequent texture processing.
[0107] The technical solution of the embodiment of the present disclosure processes the image to be processed based on the parameter analysis model to determine at least one part feature recognition parameter to extract the features of each part of the target object, determines the corresponding target component identification based on the at least one part feature recognition parameter, retrieves the corresponding target sub-element based on the target component identification, and performs splicing processing on the target sub-element to determine the target component corresponding to the target component identification to obtain each component for subsequent splicing, obtains the splicing parameter of at least one target component that is preset, splices the at least one target component based on the splicing parameter, determines the virtual object to be adjusted, splices and combines the target components to obtain an initial virtual object. The initial virtual object is determined based on the mapping relationship, and the texture information and color information corresponding to at least one part feature recognition parameter are determined, and used as display information to determine the display information required to display each target component, and it is determined that the display information corresponds to the target sub-element in the corresponding target component, and used as the sub-element to be filled, so as to fill the sub-element to be filled based on the display information, and fill the display information into the sub-element to be filled on the corresponding target component to obtain the target virtual object, which solves the problem of large storage space occupation and inability to adapt to terminal devices with various memories in the process of determining the target virtual object, and realizes saving storage space, improving model diversification, and thus improving the effect of user experience.
[0108] In order to further understand the effects achieved by the embodiments of the present disclosure, Figure 3 For illustration, the lower right corner is an image to be processed including the target object. The image to be processed can be processed to obtain at least one part feature recognition parameter, such as head parameters, including: hairstyle-short hair, bangs-with bangs, etc., upper limb parameters, including: clothes-short sleeves, color-black, etc. It should be noted that the image to be processed does not include lower limb parameters, which can be supplemented with preset default lower limb parameters. According to the obtained part feature recognition parameters, the target components corresponding to each part can be determined, and the various target components can be spliced and filled according to the displayed information to obtain the target virtual object.
[0109] It should be noted that the skin color may be a preset color parameter. When filling in the skin color according to the displayed information, the preset color parameter may be directly called for filling in the skin color.
[0110] It should also be noted that in the image to be processed, the target position is the middle of the clothes, and there is no pattern. The texture effect at the head of the queue can be taken out from the preset queue for filling to enrich the display effect.
[0111] Figure 4 A schematic diagram of a display object determination device provided by an embodiment of the present disclosure is shown in FIG. Figure 4As shown, the device includes: a parameter determination module 310, a component determination module 320, a component splicing module 330 and a display module 340.
[0112] Among them, the parameter determination module 310 is used to determine at least one part feature identification parameter of the target object; the component determination module 320 is used to determine the target component corresponding to the at least one part feature identification parameter, and the display information of the target component; wherein the part type of the target component corresponds to the target part type in the part feature identification parameter; the component splicing module 330 is used to determine the virtual object to be adjusted corresponding to the target object by splicing at least one target component; the display module 340 is used to determine and display the target virtual object based on the display information of at least one target component and the virtual object to be adjusted.
[0113] Optionally, the parameter determination module 310 is further used to process the image to be processed based on the parameter analysis model to determine the at least one part feature recognition parameter; wherein the image to be processed includes the target object.
[0114] Optionally, the component determination module 320 is further used to determine a corresponding target component identifier based on the at least one part feature recognition parameter; retrieve a corresponding target sub-element based on the target component identifier, and splice the target sub-element to determine a target component corresponding to the target component identifier.
[0115] Optionally, the component determination module 320 is further used to determine a target component identifier corresponding to the at least one part feature identification parameter based on a pre-established mapping relationship; wherein the mapping relationship includes a part type and a component identifier of at least one display state associated with the part type, and the part feature identification parameters include a target part type and a corresponding target display state.
[0116] Optionally, the component determination module 320 is also used to obtain pre-set sub-element splicing parameters corresponding to the target sub-element; wherein the sub-element splicing parameters include rotation parameters, position parameters and size parameters; based on the sub-element splicing parameters of the target sub-element, the corresponding target sub-element is spliced to obtain the target component.
[0117] Optionally, the component stitching module 330 is further configured to obtain stitching parameters of at least one preset target component, stitch the at least one target component based on the stitching parameters, and determine the virtual object to be adjusted.
[0118] Optionally, the device also includes: a display information determination module, which is used to determine the texture information and color information corresponding to the at least one part feature identification parameter based on a mapping relationship, and use it as the display information; wherein the mapping relationship also includes the color information and texture information corresponding to the part feature identification parameter.
[0119] Optionally, the device further comprises: a to-be-filled sub-element determination module, configured to determine that the display information corresponds to a target sub-element in a corresponding target component and uses the target sub-element as the to-be-filled sub-element, so as to fill the target sub-element based on the display information.
[0120] Optionally, the display module 340 is further configured to fill the display information into the to-be-filled sub-element on the corresponding target component to obtain the target virtual object.
[0121] Optionally, the device also includes: a display information determining device, which is used to obtain the display information when the display information is included in the part feature identification parameters; and to determine the associated part type associated with the target part type of the part feature identification parameters when the display information is not included in the part feature identification parameters, so as to determine the display information of the target part type based on the part feature identification parameters of the associated part type.
[0122] Optionally, the device further comprises: a beautification module, configured to obtain preset beautification parameters upon receiving a beautification instruction, so as to perform beautification processing on a corresponding part based on the beautification parameters.
[0123] Optionally, the part feature identification parameters correspond to corresponding parts and part features, the parts include any parts on the head or limbs, and the part features include wearing features, color features and texture features; the target sub-element in the target component is a granular element.
[0124] The technical solution of the disclosed embodiment extracts the features of each part of the target object by determining at least one part feature identification parameter of the target object, determines the target component corresponding to the at least one part feature identification parameter, and the display information of the target component, so as to obtain the components for subsequent splicing and the display information required to display these components, determines the virtual object to be adjusted corresponding to the target object by splicing processing at least one target component, splices and combines the target components to obtain the initial virtual object, determines and displays the target virtual object based on the display information of at least one target component and the virtual object to be adjusted, thereby solving the problem of large storage space occupation and inability to adapt to terminal devices with various memories in the process of determining the target virtual object, and realizes the effect of saving storage space, improving model diversification, and thus improving user experience.
[0125] The display object determination device provided in the embodiments of the present disclosure can execute the display object determination method provided in any embodiment of the present disclosure, and has the corresponding functional modules and beneficial effects of the execution method.
[0126] It is worth noting that the various units and modules included in the above-mentioned device are only divided according to functional logic, but are not limited to the above-mentioned division, as long as the corresponding functions can be achieved; in addition, the specific names of the functional units are only for the convenience of distinguishing each other, and are not used to limit the protection scope of the embodiments of the present disclosure.
[0127] Figure 5 This is a schematic diagram of the structure of an electronic device provided by an embodiment of the present disclosure. Figure 5 , which shows an electronic device (eg, Figure 5 The terminal device in the embodiment of the present disclosure may include but is not limited to mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 5 The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.
[0128] like Figure 5 As shown, the electronic device 400 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 401, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 402 or a program loaded from a storage device 408 into a random access memory (RAM) 403. In the RAM 403, various programs and data required for the operation of the electronic device 400 are also stored. The processing device 401, the ROM 402, and the RAM 403 are connected to each other via a bus 404. An edit / output (I / O) interface 405 is also connected to the bus 404.
[0129] Typically, the following devices may be connected to the I / O interface 405: an input device 406 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 407 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 408 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 409. The communication device 409 may allow the electronic device 400 to communicate with other devices wirelessly or by wire to exchange data. Although Figure 5The electronic device 400 is shown with various devices, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead.
[0130] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a non-transitory computer-readable medium, and the computer program contains program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication device 409, or installed from the storage device 408, or installed from the ROM 402. When the computer program is executed by the processing device 401, the above-mentioned functions defined in the method of the embodiment of the present disclosure are executed.
[0131] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.
[0132] The electronic device provided in the embodiment of the present disclosure and the method for determining the display object provided in the above embodiment belong to the same inventive concept. The technical details not fully described in this embodiment can be referred to the above embodiment, and this embodiment has the same beneficial effects as the above embodiment.
[0133] An embodiment of the present disclosure provides a computer storage medium on which a computer program is stored. When the program is executed by a processor, the method for determining a display object provided in the above embodiment is implemented.
[0134] It should be noted that the computer-readable medium disclosed above may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in combination with an instruction execution system, device or device. In the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, in which a computer-readable program code is carried. This propagated data signal may take a variety of forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the above. The computer readable signal medium may also be any computer readable medium other than a computer readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer readable medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.
[0135] In some embodiments, the client and the server may communicate using any currently known or future developed network protocol such as HTTP (HyperText Transfer Protocol), and may be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), an internet (e.g., the Internet), and a peer-to-peer network (e.g., an ad hoc peer-to-peer network), as well as any currently known or future developed network.
[0136] The computer-readable medium may be included in the electronic device, or may exist independently without being installed in the electronic device.
[0137] The computer-readable medium carries one or more programs. When the one or more programs are executed by the electronic device, the electronic device:
[0138] Determining at least one part feature recognition parameter of the target object;
[0139] Determine a target component corresponding to the at least one part feature recognition parameter, and display information of the target component; wherein the part type of the target component corresponds to the target part type in the part feature recognition parameter;
[0140] Determine a virtual object to be adjusted corresponding to the target object by splicing at least one target component;
[0141] Based on the display information of at least one target component and the virtual object to be adjusted, a target virtual object is determined and displayed.
[0142] Computer program code for performing the operations of the present disclosure may be written in one or more programming languages or a combination thereof, including, but not limited to, object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer through 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., through the Internet using an Internet service provider).
[0143] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession 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 a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0144] The units involved in the embodiments described in the present disclosure may be implemented by software or hardware. The name of a unit does not limit the unit itself in some cases. For example, a parameter determination module may also be described as a "module for obtaining part feature recognition parameters".
[0145] The functions described above herein may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.
[0146] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0147] According to one or more embodiments of the present disclosure, [Example 1] provides a method for determining a display object, the method comprising:
[0148] Determining at least one part feature recognition parameter of the target object;
[0149] Determine a target component corresponding to the at least one part feature recognition parameter, and display information of the target component; wherein the part type of the target component corresponds to the target part type in the part feature recognition parameter;
[0150] Determine a virtual object to be adjusted corresponding to the target object by splicing at least one target component;
[0151] Based on the display information of at least one target component and the virtual object to be adjusted, a target virtual object is determined and displayed.
[0152] According to one or more embodiments of the present disclosure, [Example 2] provides a method for determining a display object, further comprising:
[0153] Optionally, the determining of at least one part feature recognition parameter of the target object includes:
[0154] Processing the image to be processed based on the parameter analysis model to determine the at least one part feature recognition parameter;
[0155] Wherein, the image to be processed includes the target object.
[0156] According to one or more embodiments of the present disclosure, [Example 3] provides a method for determining a display object, further comprising:
[0157] Optionally, determining a target component corresponding to the at least one part feature recognition parameter includes:
[0158] Determining a corresponding target component identification based on the at least one part feature recognition parameter;
[0159] The corresponding target sub-element is retrieved based on the target component identifier, and the target sub-element is spliced and processed to determine the target component corresponding to the target component identifier.
[0160] According to one or more embodiments of the present disclosure, [Example 4] provides a method for determining a display object, further comprising:
[0161] Optionally, determining a corresponding target component identifier based on the at least one part feature recognition parameter includes:
[0162] Based on a pre-established mapping relationship, determining a target component identifier corresponding to the at least one part feature recognition parameter;
[0163] The mapping relationship includes a part type and a component identifier of at least one display state associated with the part type, and the part feature recognition parameter includes a target part type and a corresponding target display state.
[0164] According to one or more embodiments of the present disclosure, [Example 5] provides a method for determining a display object, further comprising:
[0165] Optionally, the splicing processing of the target sub-element to determine the target component corresponding to the target component identifier includes:
[0166] Acquire pre-set sub-element splicing parameters corresponding to the target sub-element; wherein the sub-element splicing parameters include rotation parameters, position parameters and size parameters;
[0167] The corresponding target sub-elements are spliced based on the sub-element splicing parameters of the target sub-element to obtain the target component.
[0168] According to one or more embodiments of the present disclosure, [Example 6] provides a method for determining a display object, further comprising:
[0169] Optionally, determining the virtual object to be adjusted corresponding to the target object by splicing at least one target component includes:
[0170] The preset splicing parameters of at least one target component are obtained, and the at least one target component is spliced based on the splicing parameters to determine the virtual object to be adjusted.
[0171] According to one or more embodiments of the present disclosure, [Example 7] provides a method for determining a display object, further comprising:
[0172] Optionally, before determining and displaying the target virtual object based on the display information of at least one target component and the virtual object to be adjusted, the method further includes:
[0173] Based on the mapping relationship, determine the texture information and color information corresponding to the at least one part feature recognition parameter, and use them as the display information;
[0174] The mapping relationship also includes color information and texture information corresponding to the part feature recognition parameters.
[0175] According to one or more embodiments of the present disclosure, [Example 8] provides a method for determining a display object, further comprising:
[0176] Optionally, also include:
[0177] It is determined that the display information corresponds to a target sub-element in a corresponding target component and is used as a sub-element to be filled, so that the sub-element to be filled is filled based on the display information.
[0178] According to one or more embodiments of the present disclosure, [Example 9] provides a method for determining a display object, further comprising:
[0179] Optionally, the determining and displaying a target virtual object based on display information of at least one target component and the virtual object to be adjusted includes:
[0180] The display information is filled into the to-be-filled sub-element on the corresponding target component to obtain the target virtual object.
[0181] According to one or more embodiments of the present disclosure, [Example 10] provides a method for determining a display object, further comprising:
[0182] Optionally, the display information is determined in a manner including:
[0183] When the display information is included in the part feature recognition parameter, acquiring the display information;
[0184] When the display information is not included in the part feature identification parameter, an associated part type associated with the target part type of the part feature identification parameter is determined, so as to determine the display information of the target part type according to the part feature identification parameter of the associated part type.
[0185] According to one or more embodiments of the present disclosure, [Example 11] provides a method for determining a display object, further comprising:
[0186] Optionally, also include:
[0187] When a beautification instruction is received, a preset beautification parameter is obtained to perform beautification processing on the corresponding part based on the beautification parameter.
[0188] According to one or more embodiments of the present disclosure, [Example 12] provides a method for determining a display object, further comprising:
[0189] Optionally, the part feature identification parameters correspond to corresponding parts and part features, the parts include any parts on the head or limbs, and the part features include wearing features, color features and texture features; the target sub-element in the target component is a granular element.
[0190] According to one or more embodiments of the present disclosure, [Example 13] provides a device for determining a display object, the device comprising:
[0191] A parameter determination module, used to determine at least one part feature recognition parameter of the target object;
[0192] A component determination module, used to determine a target component corresponding to the at least one part feature identification parameter, and display information of the target component; wherein the part type of the target component corresponds to the target part type in the part feature identification parameter;
[0193] A component splicing module, used to determine a virtual object to be adjusted corresponding to the target object by splicing at least one target component;
[0194] The display module is used to determine and display the target virtual object based on the display information of at least one target component and the virtual object to be adjusted.
[0195] The above description is only a preferred embodiment of the present disclosure and an explanation of the technical principles used. Those skilled in the art should understand that the scope of disclosure involved in the present disclosure is not limited to the technical solutions formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above disclosed concept. For example, the above features are replaced with the technical features with similar functions disclosed in the present disclosure (but not limited to) by each other to form a technical solution.
[0196] In addition, although each operation is described in a specific order, this should not be understood as requiring these operations to be performed in the specific order shown or in a sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Similarly, although some specific implementation details are included in the above discussion, these should not be interpreted as limiting the scope of the present disclosure. Some features described in the context of a separate embodiment can also be implemented in a single embodiment in combination. On the contrary, the various features described in the context of a single embodiment can also be implemented in multiple embodiments individually or in any suitable sub-combination mode.
[0197] Although the subject matter has been described in language specific to structural features and / or methodological logical actions, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. On the contrary, the specific features and actions described above are merely example forms of implementing the claims.
Claims
1. A method for determining a display object, characterized in that: include: Determining at least one part feature recognition parameter of the target object; Determine a target component corresponding to the at least one part feature recognition parameter, and display information of the target component; wherein the part type of the target component corresponds to the target part type in the part feature recognition parameter; Determine a virtual object to be adjusted corresponding to the target object by splicing at least one target component; Based on the display information of at least one target component and the virtual object to be adjusted, a target virtual object is determined and displayed.
2. The method according to claim 1, characterized in that The step of determining at least one part feature recognition parameter of the target object includes: Processing the image to be processed based on the parameter analysis model to determine the at least one part feature recognition parameter; Wherein, the image to be processed includes the target object.
3. The method according to claim 1, characterized in that The determining of the target component corresponding to the at least one part feature recognition parameter comprises: Determining a corresponding target component identification based on the at least one part feature recognition parameter; The corresponding target sub-element is retrieved based on the target component identifier, and the target sub-element is spliced and processed to determine the target component corresponding to the target component identifier.
4. The method according to claim 3, characterized in that: The determining of the corresponding target component identification based on the at least one part feature recognition parameter includes: Based on a pre-established mapping relationship, determining a target component identifier corresponding to the at least one part feature recognition parameter; The mapping relationship includes a part type and a component identifier of at least one display state associated with the part type, and the part feature recognition parameter includes a target part type and a corresponding target display state.
5. The method according to claim 3, characterized in that: The step of splicing the target sub-element to determine the target component corresponding to the target component identifier includes: Acquire pre-set sub-element splicing parameters corresponding to the target sub-element; wherein the sub-element splicing parameters include rotation parameters, position parameters and size parameters; The corresponding target sub-elements are spliced based on the sub-element splicing parameters of the target sub-element to obtain the target component.
6. The method according to claim 1, characterized in that The step of determining the virtual object to be adjusted corresponding to the target object by splicing at least one target component includes: The preset splicing parameters of at least one target component are obtained, and the at least one target component is spliced based on the splicing parameters to determine the virtual object to be adjusted.
7. The method according to claim 1, characterized in that Before determining and displaying the target virtual object based on the display information of at least one target component and the virtual object to be adjusted, the method further includes: Based on the mapping relationship, determine the texture information and color information corresponding to the at least one part feature recognition parameter, and use them as the display information; The mapping relationship also includes color information and texture information corresponding to the part feature recognition parameters.
8. The method according to claim 7, characterized in that Also includes: It is determined that the display information corresponds to a target sub-element in a corresponding target component and is used as a sub-element to be filled, so that the sub-element to be filled is filled based on the display information.
9. The method according to claim 8, characterized in that The determining and displaying a target virtual object based on display information of at least one target component and the virtual object to be adjusted includes: The display information is filled into the to-be-filled sub-element on the corresponding target component to obtain the target virtual object.
10. The method according to claim 1, characterized in that The method for determining the display information includes: When the display information is included in the part feature recognition parameter, acquiring the display information; When the display information is not included in the part feature identification parameter, an associated part type associated with the target part type of the part feature identification parameter is determined, so as to determine the display information of the target part type according to the part feature identification parameter of the associated part type.
11. The method according to claim 1, characterized in that: Also includes: When a beautification instruction is received, a preset beautification parameter is obtained to perform beautification processing on the corresponding part based on the beautification parameter.
12. The method according to any one of claims 1 to 11, characterized in that: The part feature recognition parameters correspond to corresponding parts and part features, the parts include any part on the head or limbs, and the part features include wearing features, color features and texture features; The target sub-elements in the target assembly are granular elements and / or block elements.
13. A device for determining a display object, characterized in that: include: A parameter determination module, used to determine at least one part feature recognition parameter of the target object; A component determination module, used to determine a target component corresponding to the at least one part feature identification parameter, and display information of the target component; wherein the part type of the target component corresponds to the target part type in the part feature identification parameter; A component splicing module, used to determine a virtual object to be adjusted corresponding to the target object by splicing at least one target component; The display module is used to determine and display the target virtual object based on the display information of at least one target component and the virtual object to be adjusted.
14. An electronic device, characterized in that: The electronic device comprises: one or more processors; a storage device for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors implement the method for determining a display object as described in any one of claims 1-12.
15. A storage medium containing computer executable instructions, characterized in that: When the computer executable instructions are executed by a computer processor, they are used to execute the method for determining a display object as described in any one of claims 1 to 12.
