A method, device and vehicle for generating a three-dimensional vehicle model

By obtaining vehicle license plate information and generating a three-dimensional car model with license plate information, the problem of lack of relevance in existing three-dimensional car models is solved and the user experience is improved.

CN112330807BActive Publication Date: 2025-01-07GUANGZHOU CHENGXING ZHIDONG AUTOMOTIVE TECH CO LTD +1
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202011391641.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-12-02
Publication Date
2025-01-07
Estimated Expiration
2040-12-02

AI Technical Summary

Technical Problem

The existing three-dimensional car models only show the basic frame of the vehicle in the central control screen, which makes it impossible for users to have a sense of correlation with the vehicle and lack a sense of substitution.

Method used

By obtaining the license plate information of the vehicle, determining the license plate texture map, and adding the license plate background and character texture map to the pre-made three-dimensional car model, generating a three-dimensional car model with license plate information, enhancing the user's sense of association with the vehicle.

Benefits of technology

By generating a three-dimensional car model with license plate information, users can better feel the real state of the vehicle when viewing, improving the user experience and sense of substitution.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112330807B_ABST
    Figure CN112330807B_ABST
Patent Text Reader

Abstract

The embodiment of the present invention provides a method, device and vehicle for generating a three-dimensional vehicle model. The method is applied to a vehicle, and the method includes: obtaining license plate information corresponding to the vehicle; determining a corresponding license plate texture map based on the license plate information; and generating a three-dimensional vehicle model with the license plate information based on the license plate texture map. By generating a three-dimensional vehicle model with license plate information, when viewing and using related functions of the three-dimensional vehicle model, a user can have a sense of association between the three-dimensional vehicle model and the vehicle itself, thereby improving the user experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of automobile technology, and in particular to a method and device for generating a three-dimensional vehicle model and a vehicle. Background Art

[0002] With the continuous development of the vehicle industry, the internal configuration of the vehicle is also becoming more diversified; for example, the central control screen; the central control screen can provide users with audio and video, navigation and other information, and can also display a three-dimensional car model to inform users of the current vehicle body status, such as: window opening and closing status, door opening and closing status, etc.

[0003] Generally speaking, the 3D car model displayed on the central control screen only has the basic framework of the vehicle, which means that when users view the 3D car model on the central control screen, they can only feel the functions of the 3D car model, but cannot generate a sense of connection between the 3D car model and their own vehicle, resulting in a lack of sense of immersion when users view the 3D car model. Summary of the invention

[0004] An embodiment of the present invention provides a method for generating a three-dimensional vehicle model to generate a three-dimensional vehicle model with license plate information.

[0005] Correspondingly, the embodiment of the present invention also provides a three-dimensional vehicle model generation device and a vehicle to ensure the implementation and application of the above method.

[0006] In order to solve the above problems, the present invention discloses a method for generating a three-dimensional vehicle model, which is applied to a vehicle and comprises:

[0007] Obtaining license plate information corresponding to the vehicle;

[0008] Determine a corresponding license plate texture map according to the license plate information;

[0009] A three-dimensional vehicle model having the license plate information is generated based on the license plate texture map.

[0010] Optionally, the license plate texture map includes a target license plate background texture map and a plurality of target character texture maps;

[0011] The step of generating a three-dimensional vehicle model having the license plate information according to the license plate texture map comprises:

[0012] Obtaining a pre-made three-dimensional vehicle model corresponding to the vehicle, wherein the three-dimensional vehicle model includes a license plate bottom frame;

[0013] Adding a display object on the license plate bottom frame, and assigning the target license plate background texture map to the display object;

[0014] Add a plurality of sub-objects on the bottom frame of the license plate, and assign the plurality of target character texture maps to the plurality of sub-objects.

[0015] Optionally, determining a corresponding license plate texture map according to the license plate information includes:

[0016] Determine the license plate number and license plate type according to the license plate information;

[0017] Determining a target license plate background texture map corresponding to the license plate type from a preset correspondence between the license plate type and the license plate background texture map;

[0018] Parsing the license plate number to obtain multiple single characters;

[0019] From the preset correspondence between characters and character texture maps, the target character texture map corresponding to each single character is determined respectively.

[0020] Optionally, assigning the plurality of target character texture maps to the plurality of sub-objects comprises:

[0021] Determining the order of the plurality of target character texture maps according to the license plate information;

[0022] The target character texture maps are assigned to the sub-objects according to the order of the target character texture maps.

[0023] Optionally, assigning the plurality of target character texture maps to the plurality of sub-objects comprises:

[0024] Adjusting the multiple target character texture maps to be consistent with the size of the multiple sub-objects;

[0025] The resized target character texture maps are assigned to the plurality of sub-objects.

[0026] Optionally, the license plate bottom frame includes a front license plate bottom frame and a rear license plate bottom frame.

[0027] The embodiment of the present invention further provides a device for generating a three-dimensional vehicle model, the device being applied to a vehicle, and the device comprising:

[0028] A license plate information acquisition module, used to acquire the license plate information corresponding to the vehicle;

[0029] A texture map determination module, used to determine a corresponding license plate texture map according to the license plate information;

[0030] The three-dimensional vehicle model generation module is used to generate a three-dimensional vehicle model with the license plate information according to the license plate texture map.

[0031] Optionally, the license plate texture map includes a target license plate background texture map and a plurality of target character texture maps;

[0032] The three-dimensional vehicle model generation module includes:

[0033] A prefabricated vehicle model acquisition submodule is used to acquire a prefabricated three-dimensional vehicle model corresponding to the vehicle, wherein the three-dimensional vehicle model includes a license plate bottom frame;

[0034] A background texture map assignment submodule, used to add a display object on the license plate bottom frame and assign the target license plate background texture map to the display object;

[0035] The character texture map assigning submodule is used to add multiple sub-objects on the license plate bottom frame and assign the multiple target character texture maps to the multiple sub-objects.

[0036] Optionally, the texture map determination module includes:

[0037] A license plate number and license plate type determination submodule, used to determine the license plate number and license plate type based on the license plate information;

[0038] A background texture map determination submodule, used to determine a target license plate background texture map corresponding to the license plate type from the preset correspondence between the license plate type and the license plate background texture map;

[0039] A character parsing submodule, used to parse the license plate number to obtain multiple single characters;

[0040] The character texture map determination submodule is used to determine the target character texture map corresponding to each single character from the preset correspondence between the characters and the character texture maps.

[0041] Optionally, the character texture map assigning submodule is used to determine the order of the multiple target character texture maps according to the license plate information; and assign the multiple target character texture maps to the multiple sub-objects according to the order of the multiple target character texture maps.

[0042] Optionally, the character texture map assigning submodule is used to adjust the multiple target character texture maps to be consistent with the size of the multiple sub-objects; and assign the multiple target character texture maps after the resize to the multiple sub-objects.

[0043] Optionally, the license plate bottom frame includes a front license plate bottom frame and a rear license plate bottom frame.

[0044] An embodiment of the present invention also provides a vehicle, comprising a memory and one or more programs, wherein the one or more programs are stored in the memory and are configured to be executed by one or more processors, wherein the one or more programs include a method for generating a three-dimensional vehicle model as described in any one of the embodiments of the present invention.

[0045] An embodiment of the present invention further provides a readable storage medium. When instructions in the storage medium are executed by a processor of an electronic device, the electronic device can execute a method for generating a three-dimensional vehicle model as described in any one of the embodiments of the present invention.

[0046] Compared with the prior art, the embodiments of the present invention have the following advantages:

[0047] In the embodiment of the present invention, the license plate information corresponding to the vehicle is first obtained; then the corresponding license plate texture map is determined based on the license plate information; and then the three-dimensional vehicle model with the license plate information is generated based on the license plate texture map. By generating the three-dimensional vehicle model with the license plate information, when the user views and uses the related functions of the three-dimensional vehicle model, a sense of association can be generated between the three-dimensional vehicle model and the vehicle itself, thereby improving the user's experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0048] Figure 1 It is a flow chart of steps of an embodiment of a method for generating a three-dimensional vehicle model of the present invention;

[0049] Figure 2 It is a flow chart of steps of an optional embodiment of a method for generating a three-dimensional vehicle model of the present invention;

[0050] Figure 3 It is a structural block diagram of an embodiment of a device for generating a three-dimensional vehicle model of the present invention;

[0051] Figure 4 It is a structural block diagram of an optional embodiment of a device for generating a three-dimensional vehicle model of the present invention. DETAILED DESCRIPTION

[0052] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.

[0053] With the continuous development of the vehicle industry, the configuration of the vehicle interior is also becoming more diversified. The existing central control screen can not only provide users with audio and video, navigation and other consultation, but also show users the three-dimensional car model of the vehicle. Users can know the current status of the vehicle body based on the displayed three-dimensional car model, such as the opening and closing status of the windows, doors, hood, trunk, etc. Of course, the three-dimensional car model can also be displayed in the APP (Application) of the mobile terminal. When the user leaves the vehicle, he can also know the current status of the vehicle body based on the three-dimensional car model in the APP.

[0054] In the prior art, the three-dimensional car model displayed on the central control screen or in the APP only has the basic frame of the vehicle, so that when the user views the three-dimensional car model, he can only feel the function of the three-dimensional car model, but cannot have a sense of connection between the three-dimensional car model and the vehicle itself.

[0055] Therefore, in an embodiment of the present invention, when generating a three-dimensional car model, the license plate information of the own vehicle is added to the three-dimensional car model, so that when the user views the three-dimensional car model, he can have a sense of association between the three-dimensional car model and his own vehicle.

[0056] Reference Figure 1 , shows a flow chart of steps of an embodiment of a method for generating a three-dimensional vehicle model of the present invention, the method can be applied to a vehicle, and specifically may include the following steps:

[0057] Step 102: Obtain the license plate information corresponding to the vehicle.

[0058] In order to generate a three-dimensional vehicle model with license plate information, the license plate information corresponding to the user's vehicle can be obtained first; the license plate information can be obtained from the cloud server by the central control system of the vehicle. The license plate information can be automatically entered and saved in the cloud server when the vehicle registration procedure is carried out for the vehicle, and the embodiment of the present invention does not limit this.

[0059] Step 104: Determine a corresponding license plate texture map based on the license plate information.

[0060] Texture mapping, also known as texture, is one or more two-dimensional graphics that represent the surface of an object. Drawing texture mapping is a common rendering method in computer graphics systems. When the texture is mapped to the surface of an object in a specific way, the object can look more realistic. When understanding texture mapping, you can think of texture as the pixel color applied to the surface of an object. In the real world, texture can represent the color, pattern, and tactile characteristics of an object, but in computer graphics processing, texture only represents the pattern on the surface of an object, and it cannot change the geometric form of the object. Furthermore, it is just a high-intensity calculation behavior.

[0061] In an embodiment of the present application, after the license plate information corresponding to the vehicle is obtained, the corresponding license plate texture map can be determined based on the license plate information.

[0062] As an example, a corresponding license plate texture map library may be generated in advance for the license plate. When the license plate texture map corresponding to the license plate information needs to be determined, it may be obtained from the license plate texture map library based on the license plate information.

[0063] Since the license plate includes the background of the license plate and the characters thereon, the license plate texture map library may be pre-generated for various license plate backgrounds and characters that may constitute the license plate.

[0064] Step 106: Generate a 3D vehicle model with the license plate information based on the license plate texture map.

[0065] After determining the license plate texture map, the license plate texture map can be added to a pre-made 3D vehicle model, thereby generating a 3D vehicle model with the license plate information; the pre-made 3D vehicle model can be generated by model-making software for the vehicle, for example: 3D Studio Max, etc., and the embodiments of the present invention do not limit this.

[0066] After the model-making software generates the pre-made 3D vehicle model, it can be input into the vehicle's central control system; when the central control system receives the license plate information, it can determine the license plate texture map based on the license plate information, and generate a 3D vehicle model with the license plate information based on the license plate texture map and the pre-made 3D vehicle model.

[0067] In summary, in the embodiments of the present invention, first obtain the license plate information corresponding to the vehicle; then determine the corresponding license plate texture map based on the license plate information; and then generate a 3D vehicle model with the license plate information based on the license plate texture map. By generating a 3D vehicle model with the license plate information, when the user views and uses the related functions of the 3D vehicle model, a sense of association can be generated between the 3D vehicle model and the vehicle itself, improving the user experience.

[0068] Refer to Figure 2 , which shows the step flow chart of an alternative embodiment of the method for generating a 3D vehicle model of the present invention. The method can be applied to a vehicle and specifically may include the following steps:

[0069] Step 202: Obtain the license plate information corresponding to the vehicle.

[0070] This step 202 is similar to the above step 102 and will not be elaborated here.

[0071] Step 204: Determine the license plate number and license plate type based on the license plate information.

[0072] A license plate is composed of multiple characters on the license plate and the background of the license plate. The multiple characters on the license plate can form the license plate number of the license plate, such as "Hu A******". And the background of the license plate corresponds to different colors according to different license plate types. For example, the background of a new energy type license plate is green.

[0073] Therefore, in order to make the license plate in the generated 3D vehicle model with the license plate information consistent with the license plate of the vehicle itself, the license plate number and license plate type can be determined first according to the license plate information to determine the multiple characters on the license plate and the color of the background of the license plate.

[0074] Step 206: Determine the target license plate background texture map corresponding to the license plate type from the pre-set correspondence between license plate types and license plate background texture maps.

[0075] In an embodiment of the present invention, the license plate texture map includes a target license plate background texture map and a plurality of target character texture maps.

[0076] After determining the license plate number and license plate type corresponding to the license plate information of the vehicle, a plurality of target character texture maps can be determined according to the license plate number, and the target license plate background texture map can be determined according to the license plate type.

[0077] As an example, license plate background texture maps of multiple different license plate types can be determined in advance. For example: License plates of multiple different license plate types can be photographed first, then the characters on them can be removed, only the blank license plates are left, and then the blank license plates are rendered into texture objects, and then the corresponding license plate background texture maps are generated according to the texture objects.

[0078] As an example, Canvas2D can be used to perform Off-Screen drawing on the blank license plate to obtain a texture object, and then the corresponding license plate background texture map is generated according to the obtained texture pair.

[0079] After obtaining the corresponding license plate background texture maps according to license plates of multiple different types, the correspondence between license plate types and license plate texture maps can be established.

[0080] When it is necessary to determine the license plate background texture map of the vehicle, the license plate texture map corresponding to the license plate type of the vehicle can be determined by looking up the correspondence between the license plate type and the license plate texture map, and it is used as the target license plate texture map.

[0081] Step 208: Analyze the license plate number to obtain a plurality of single characters.

[0082] Step 210: Determine the target character texture map corresponding to each single character from the pre-set correspondence between characters and character texture maps.

[0083] The license plate number is composed of geographical location identifiers, numbers, and letters. Therefore, logical analysis can be performed on the license plate number first to obtain a plurality of single characters. For example: If the license plate number is "沪A12345B", the first part of the license plate can be parsed into the geographical location identifier "沪" and "A", and the second part of the license plate can be parsed into the numbers and letters "1", "2", "3", "4", "5", "B", so as to obtain eight single characters: "沪", "A", "1", "2", "3", "4", "5", and "B".

[0084] After multiple single characters are parsed, the corresponding target character texture maps for each single character can be determined respectively by looking up the corresponding relationship between the preset characters and the character texture maps.

[0085] As an example, the character texture maps in the corresponding relationship between the preset characters and the character texture maps can be generated in the following way:

[0086] First, determine the characters corresponding to the geographical location identifiers. For example, Beijing corresponds to "Jing", Guangdong corresponds to "Yue", Hunan corresponds to "Xiang", etc.

[0087] Then, render the characters corresponding to the geographical location identifiers into map objects respectively, and then generate the corresponding character texture maps according to the map objects.

[0088] The numbers in the license plate number can include integers from 0 to 9, and the letters can include A - Z. Therefore, the numbers 0 - 9 and the letters A - Z can also be rendered into map objects respectively, and then the corresponding character texture maps are generated according to the map objects.

[0089] After generating the character texture maps corresponding to the characters of the geographical location identifiers, as well as the character texture maps corresponding to 0 - 9 and A - Z, the corresponding relationship between the characters and the character texture maps can be established, so that when it is necessary to determine the character texture maps corresponding to multiple single characters of the license plate number, the corresponding multiple target character texture maps can be determined by looking up the corresponding relationship between the characters and the character texture maps.

[0090] Step 212: Obtain the pre - made three - dimensional vehicle model corresponding to the vehicle, and the three - dimensional vehicle model includes a license plate bottom frame.

[0091] Since the running memory required by three - dimensional model - making software is relatively large, and if a model - making software is embedded in the vehicle's central control information, additional software that can be applied to the vehicle's central control system needs to be developed. Therefore, in order to reduce the investment in development resources, the three - dimensional model of the vehicle can be generated in the model - making software in the computer according to the actual parameters of the vehicle in advance, and the three - dimensional model includes a license plate bottom frame for adding license plate information.

[0092] As an example, the license plate bottom frame includes a front license plate bottom frame and a rear license plate bottom frame.

[0093] A real vehicle has a license plate at the front and rear of the vehicle head respectively. Therefore, in order to establish a more realistic sense of association between the three - dimensional vehicle model and the vehicle itself, when making the three - dimensional vehicle model in advance, a license plate bottom frame can be made at both the front and rear of the vehicle head.

[0094] Step 214: Add a display object on the license plate bottom frame, and assign the target license plate background texture map to the display object.

[0095] After obtaining the pre-made three-dimensional car model, a display object can be added to the license plate bottom frame, and then the target license plate background texture map corresponding to the license plate information can be assigned to the display object, so that the background color of the license plate bottom frame in the three-dimensional car model is consistent with the background color of the real license plate of the vehicle.

[0096] As an example, display objects may be added to the front license plate bottom frame and the rear license plate bottom frame respectively, and the target license plate background texture map may be assigned to the display objects added to the front and rear license plate bottom frames respectively.

[0097] Step 216: Add multiple sub-objects on the license plate bottom frame, and assign the multiple target character texture maps to the multiple sub-objects.

[0098] After assigning the target license plate background texture map to the display object, multiple sub-objects can be added to the license plate bottom frame, for example, 8 sub-objects can be added to the license plate bottom frame, and each sub-object can add a single character.

[0099] After adding multiple sub-objects to the license plate bottom frame, multiple target character texture maps determined in advance can be assigned to the multiple sub-objects respectively.

[0100] Since the multiple single characters of the license plate number have a certain order, when assigning the multiple target character texture maps to the multiple sub-objects, the following steps may also be included:

[0101] Determining the order of the plurality of target character texture maps according to the license plate information;

[0102] The target character texture maps are assigned to the sub-objects according to the order of the target character texture maps.

[0103] First, the order of the multiple single characters determined in advance is determined according to the license plate information, and then the order of the target character texture maps corresponding to the multiple single characters is determined according to the order of the multiple single characters; then, according to the order, the target character texture maps are assigned to the sub-objects in turn, ensuring that the order of the license plate numbers in the generated three-dimensional car model with license plate information is consistent with the order of the real license plate numbers of the vehicle, giving users a more realistic usage experience.

[0104] In one embodiment of the present invention, when assigning the plurality of target character texture maps to the plurality of sub-objects, the following steps may also be included:

[0105] Adjusting the multiple target character texture maps to be consistent with the size of the multiple sub-objects;

[0106] The resized target character texture maps are assigned to the plurality of sub-objects.

[0107] In order to ensure that the target character texture map will not exceed the boundary of the sub-object and affect the user experience after being assigned to the sub-object, the size of the sub-object can be obtained, and based on the size of the sub-object, the target character texture map can be adjusted to be consistent with the size of the sub-object; then the adjusted target character texture map is assigned to the sub-object to generate a three-dimensional car model with license plate information.

[0108] In summary, in the embodiment of the present invention, a three-dimensional car model with license plate information is generated by generating a license plate background texture map and a license plate number character texture map, so that the generated three-dimensional car model has a stronger sense of association with the vehicle itself, further improving the user experience.

[0109] In addition, a three-dimensional vehicle model with license plate information is generated based on the order and size of the license plate numbers, ensuring the consistency between the license plate in the three-dimensional vehicle model and the license plate of the vehicle.

[0110] It should be noted that, for the sake of simplicity, the method embodiments are described as a series of action combinations, but those skilled in the art should be aware that the embodiments of the present invention are not limited by the order of the actions described, because according to the embodiments of the present invention, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions involved are not necessarily required by the embodiments of the present invention.

[0111] Reference Figure 3 , shows a structural block diagram of an embodiment of a device for generating a three-dimensional vehicle model of the present invention, the device can be applied to a vehicle, and specifically may include the following modules:

[0112] The license plate information acquisition module 302 is used to acquire the license plate information corresponding to the vehicle;

[0113] A texture map determination module 304 is used to determine a corresponding license plate texture map according to the license plate information;

[0114] The three-dimensional vehicle model generation module 306 is used to generate a three-dimensional vehicle model with the license plate information according to the license plate texture map.

[0115] refer to Figure 4 , shows a structural block diagram of an optional embodiment of a device for generating a three-dimensional vehicle model of the present invention, the device can be applied to a vehicle, and specifically may include the following modules:

[0116] In an optional embodiment of the present invention, the license plate texture map includes a target license plate background texture map and a plurality of target character texture maps;

[0117] The three-dimensional vehicle model generation module 306 includes:

[0118] A prefabricated vehicle model acquisition submodule 3062 is used to acquire a prefabricated three-dimensional vehicle model corresponding to the vehicle, wherein the three-dimensional vehicle model includes a license plate bottom frame;

[0119] The background texture map assigning submodule 3064 is used to add a display object on the license plate bottom frame and assign the target license plate background texture map to the display object;

[0120] The character texture map assigning submodule 3066 is used to add multiple sub-objects on the license plate bottom frame and assign the multiple target character texture maps to the multiple sub-objects.

[0121] In an optional embodiment of the present invention, the texture map determination module 304 includes:

[0122] A license plate number and license plate type determination submodule 3042 is used to determine the license plate number and license plate type based on the license plate information;

[0123] The background texture map determination submodule 3044 is used to determine the target license plate background texture map corresponding to the license plate type from the preset correspondence between the license plate type and the license plate background texture map;

[0124] A character parsing submodule 3046 is used to parse the license plate number to obtain multiple single characters;

[0125] The character texture map determination submodule 3048 is used to determine the target character texture map corresponding to each single character from the preset correspondence between the characters and the character texture maps.

[0126] In an optional embodiment of the present invention, the character texture map assigning submodule 3048 is used to determine the order of the multiple target character texture maps based on the license plate information; and assign the multiple target character texture maps to the multiple sub-objects based on the order of the multiple target character texture maps.

[0127] In an optional embodiment of the present invention, the character texture map assigning submodule 3048 is used to adjust the multiple target character texture maps to be consistent with the size of the multiple sub-objects; and assign the multiple target character texture maps after the resize to the multiple sub-objects.

[0128] In an optional embodiment of the present invention, the license plate bottom frame includes a front license plate bottom frame and a rear license plate bottom frame.

[0129] In summary, in the embodiment of the present invention, the license plate information corresponding to the vehicle is first obtained; then the corresponding license plate texture map is determined based on the license plate information; and then the three-dimensional vehicle model with the license plate information is generated based on the license plate texture map. By generating the three-dimensional vehicle model with the license plate information, when the user views and uses the related functions of the three-dimensional vehicle model, a sense of association can be generated between the three-dimensional vehicle model and the vehicle itself, thereby improving the user's experience.

[0130] As for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0131] An embodiment of the present invention also provides a vehicle, comprising a memory and one or more programs, wherein the one or more programs are stored in the memory and are configured to be executed by one or more processors, wherein the one or more programs include a method for generating a three-dimensional vehicle model as described in any one of the embodiments of the present invention.

[0132] An embodiment of the present invention further provides a readable storage medium. When instructions in the storage medium are executed by a processor of an electronic device, the electronic device can execute a method for generating a three-dimensional vehicle model as described in any one of the embodiments of the present invention.

[0133] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.

[0134] It will be appreciated by those skilled in the art that the embodiments of the present invention may be provided as methods, devices, or computer program products. Therefore, the embodiments of the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the embodiments of the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.

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

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

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

[0138] Although the preferred embodiments of the present invention have been described, those skilled in the art may make additional changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the embodiments of the present invention.

[0139] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or terminal device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or terminal device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or terminal device including the elements.

[0140] The above is a detailed introduction to the method, device and vehicle for generating a three-dimensional vehicle model provided by the present invention. Specific examples are used in this article to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea; at the same time, for general technical personnel in this field, according to the idea of ​​the present invention, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.

Claims

1. A method for generating a three-dimensional vehicle model, characterized in that: The method is applied to a vehicle, and the method comprises: Obtaining the license plate information corresponding to the vehicle, the license plate information including a plurality of characters and the license plate background of the vehicle, the license plate information being obtained by the central control system of the vehicle from the cloud server; Determine a corresponding license plate texture map according to the license plate information; Generating a three-dimensional vehicle model having the license plate information according to the license plate texture map, and displaying the three-dimensional vehicle model on the central control screen of the vehicle; The license plate texture map includes a target license plate background texture map and a plurality of target character texture maps; The step of generating a three-dimensional vehicle model having the license plate information according to the license plate texture map comprises: Obtaining a pre-made three-dimensional vehicle model corresponding to the vehicle, wherein the three-dimensional vehicle model includes a license plate bottom frame; Adding a display object on the license plate bottom frame, and assigning the target license plate background texture map to the display object; Add a plurality of sub-objects on the bottom frame of the license plate, and assign the plurality of target character texture maps to the plurality of sub-objects.

2. The method according to claim 1, characterized in that The step of determining a corresponding license plate texture map based on the license plate information includes: Determine the license plate number and license plate type according to the license plate information; Determining a target license plate background texture map corresponding to the license plate type from a preset correspondence between the license plate type and the license plate background texture map; Parsing the license plate number to obtain multiple single characters; From the preset correspondence between characters and character texture maps, the target character texture map corresponding to each single character is determined respectively.

3. The method according to claim 1, characterized in that The step of assigning the plurality of target character texture maps to the plurality of sub-objects comprises: Determining the order of the plurality of target character texture maps according to the license plate information; The target character texture maps are assigned to the sub-objects according to the order of the target character texture maps.

4. The method according to claim 1, characterized in that: The step of assigning the plurality of target character texture maps to the plurality of sub-objects comprises: Adjusting the multiple target character texture maps to be consistent with the size of the multiple sub-objects; The resized target character texture maps are assigned to the plurality of sub-objects.

5. The method according to any one of claims 1 to 4, characterized in that: The license plate bottom frame comprises a front license plate bottom frame and a rear license plate bottom frame.

6. A device for generating a three-dimensional vehicle model, characterized in that: The device is applied to a vehicle, and comprises: A license plate information acquisition module, used to acquire the license plate information corresponding to the vehicle, the license plate information including a plurality of characters and the license plate background of the vehicle, the license plate information being acquired by the central control system of the vehicle from the cloud server; A texture map determination module, used to determine a corresponding license plate texture map according to the license plate information; A three-dimensional car model generation module, used to generate a three-dimensional car model with the license plate information according to the license plate texture map; The license plate texture map includes a target license plate background texture map and a plurality of target character texture maps; The three-dimensional vehicle model generation module includes: A prefabricated vehicle model acquisition submodule is used to acquire a prefabricated three-dimensional vehicle model corresponding to the vehicle, wherein the three-dimensional vehicle model includes a license plate bottom frame; A background texture map assignment submodule, used to add a display object on the license plate bottom frame and assign the target license plate background texture map to the display object; The character texture map assigning submodule is used to add multiple sub-objects on the license plate bottom frame and assign the multiple target character texture maps to the multiple sub-objects.

7. A vehicle, characterized in that: It includes a memory and one or more programs, wherein the one or more programs are stored in the memory and are configured to be executed by one or more processors. The one or more programs include a method for executing a three-dimensional vehicle model generation method as described in any one of method claims 1-5.

8. A readable storage medium, characterized in that: When the instructions in the storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the method for generating a three-dimensional vehicle model as described in any one of method claims 1-5.

Citation Information

Patent Citations

  • License plate image generation method, device, computer device, and storage medium

    CN109147011A