CN110866793A - Virtual object display, generation and providing method - Google Patents

Virtual object display, generation and providing method Download PDF

Info

Publication number
CN110866793A
CN110866793A CN201810979847.7A CN201810979847A CN110866793A CN 110866793 A CN110866793 A CN 110866793A CN 201810979847 A CN201810979847 A CN 201810979847A CN 110866793 A CN110866793 A CN 110866793A
Authority
CN
China
Prior art keywords
picture data
virtual object
client
prompt
server
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201810979847.7A
Other languages
Chinese (zh)
Inventor
孔喆
幸念
黄呈正
刘鹏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Alibaba Health Information Technology Ltd
Original Assignee
Alibaba Health Information Technology Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Alibaba Health Information Technology Ltd filed Critical Alibaba Health Information Technology Ltd
Priority to CN201810979847.7A priority Critical patent/CN110866793A/en
Publication of CN110866793A publication Critical patent/CN110866793A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • G06Q30/0641Shopping interfaces
    • G06Q30/0643Graphical representation of items or shoppers
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T19/00Manipulating 3D models or images for computer graphics
    • G06T19/006Mixed reality
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Theoretical Computer Science (AREA)
  • General Business, Economics & Management (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • Economics (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Development Economics (AREA)
  • Computer Graphics (AREA)
  • Computer Hardware Design (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The present specification provides a virtual object display, generation and provision method, wherein a plurality of picture data acquired for a plurality of surfaces of an object, and a plurality of position identifications are obtained; wherein the position identifier is used for indicating the position of the object from which the picture data is taken; wherein the object is shaped as a parallelepiped; and sending the picture data and the position identification to a server so that the server uses the picture data combination to generate a virtual object corresponding to the object according to the position identification.

Description

Virtual object display, generation and providing method
Technical Field
The present disclosure relates to the field of image processing, and more particularly, to a method for displaying, generating, and providing a virtual object.
Background
With the rapid development of electronic commerce, online transactions are more and more common, but different from traditional offline transactions, consumers often cannot touch real goods when selecting the goods, and in order to improve the purchasing experience of the consumers, virtual objects of the real goods can be constructed so as to provide visual sensory experience for the consumers.
Disclosure of Invention
The embodiment of the specification provides a virtual object display, generation and providing method. The virtual object and the target information on the article corresponding to the virtual object can be visually displayed.
The embodiment of the specification provides a virtual object generation method, which is applied to a client; the method comprises the following steps: obtaining a plurality of picture data acquired for a plurality of surfaces of an object, and a plurality of location identifiers; wherein the position identifier is used for indicating the position of the object from which the picture data is taken; and sending the picture data and the position identification to a server so that the server uses the picture data combination to generate a virtual object corresponding to the object according to the position identification.
The embodiment of the specification provides a virtual object display method, which is applied to a server; the method comprises the following steps: receiving picture data and position identification which are provided by a first client and used for representing the surface of an object; wherein the position identifier is used for indicating the position of the object from which the picture data is taken; generating a virtual object corresponding to the object according to the combination of the picture data and the position identification; and under the condition of receiving a virtual object acquisition request sent by a second client, sending the virtual object to the second client so that the second client displays the virtual object.
The embodiment of the specification provides a virtual object display method, which is applied to a client; the method comprises the following steps: sending a virtual object acquisition request to a server; receiving a virtual object which is fed back by the server and is generated according to the picture data and the position identification and corresponds to the object; wherein the position identifier is used for indicating the position of the object from which the picture data is taken; and displaying the virtual object.
An embodiment of the present specification provides a virtual object generation method, which is applied to a client and includes: obtaining a plurality of picture data acquired for a plurality of surfaces of an object, and a plurality of location identifiers; wherein the position identifier is used for indicating the position of the object from which the picture data is taken; sending the picture data and the position identification to a server so that the server uses the picture data combination to generate a virtual object corresponding to the object according to the position identification; wherein the position identifier is used for representing the position relation of the picture data relative to the object.
An embodiment of the present specification provides a virtual object display method, which is applied to a server and includes: receiving picture data and a position identifier provided by a first client, wherein the position identifier is used for indicating the position of an object from which the picture data is taken; and under the condition that an acquisition request sent by a second client is received, feeding back the picture data and the position identification to the second client, so that the second client generates a virtual object corresponding to the object according to the combination of the picture data and the position identification, and displaying the virtual object.
An embodiment of the present specification provides a virtual object display method, which is applied to a client and includes: sending an acquisition request to a server; receiving the picture data and the position identification fed back by the server; wherein the picture data is used to represent a surface of an object; the position identification is used for representing the position of the picture data taken from the object; generating a virtual object corresponding to the object according to the combination of the picture data and the position identification; and displaying the virtual object.
An embodiment of the present specification provides a virtual object display method, which is applied to a client and includes: sending an acquisition request to a server; receiving picture data fed back by the server, wherein the picture data is used for representing the surface of the object; generating a position identifier according to the position relation of the picture data of the object surface relative to the object; wherein the position identifier is used for indicating the position of the object from which the picture data is taken; generating a virtual object corresponding to the object according to the combination of the picture data and the position identification; and displaying the virtual object.
An embodiment of the present specification provides a virtual object display method, which is applied to a server and includes: receiving picture data which are sent by a first client and used for representing the surface of an object; generating a position identifier according to the position relation of the picture data of the object surface relative to the object; wherein the position identifier is used for indicating the position of the object from which the picture data is taken; under the condition of receiving an acquisition request sent by a second client, sending the picture data and the position identifier to the second client; generating a virtual object corresponding to the object according to the picture data and the position identification; and displaying the virtual object.
An embodiment of the present specification provides a virtual object display method, which is applied to a server and includes: receiving picture data which are sent by a first client and used for representing the surface of an object; generating a position identifier according to the position relation of the picture data of the object surface relative to the object; wherein the position identifier is used for indicating the position of the object from which the picture data is taken; under the condition of receiving an acquisition request sent by a second client, sending the picture data and the position identifier to the second client, so that the second client generates a virtual object corresponding to the object according to the combination of the picture data and the position identifier; and displaying the virtual object.
An embodiment of the present specification provides a virtual object display method, which is applied to a client, and includes: sending an acquisition request to a server; receiving picture data and a position identifier fed back by the server, wherein the picture data is used for representing the surface of an object; the position identification is used for representing the position of the picture data taken from the object; generating a virtual object corresponding to the object according to the combination of the picture data and the position identification; and displaying the virtual object.
An embodiment of the present specification provides a virtual object generation method, including: acquiring first picture data corresponding to the first prompt message; the first prompt message is used for indicating guide information of the first picture data; the first picture data corresponds to a first position identification which represents the position of the object from which the first picture data is taken; acquiring second picture data corresponding to the second prompt message; the second prompt message is used for indicating guide information of the second picture data; the second picture data corresponds to a second position identification indicating a position at which the second picture data is taken from the object; acquiring third picture data corresponding to the third prompt message; the third prompt message is used for indicating guide information of the third picture data; the third picture data corresponds to a third position identification indicating a position at which the third picture data is taken from the object; acquiring fourth picture data corresponding to the fourth prompt message; the fourth prompting message is used for indicating guide information of the fourth picture data; the fourth picture data corresponds to a fourth position identification indicating a position where the fourth picture data is taken from the object; acquiring fifth picture data corresponding to the fifth prompt message; the fifth prompting message is used for indicating guide information of the fifth picture data; the fifth picture data corresponds to a fifth position identification indicating a position where the fifth picture data is taken from the object; acquiring sixth picture data corresponding to the sixth prompt message; the sixth prompting message is used for indicating guide information of the sixth picture data; the sixth picture data corresponds to a sixth position identification indicating a position where the sixth picture data is taken from the object; wherein the first location identifier is different from the sixth location identifier; generating a virtual object according to the combination of the first picture data to the sixth picture data and the corresponding first position identifier to the sixth position identifier; wherein the virtual object is parallelepiped-shaped.
In the embodiment of the description, the first client sends the picture data and the position identifier used for representing the surface of the object to the server, and the server generates the virtual object corresponding to the object according to the picture data and the position identifier. And the second client sends a virtual correspondence acquisition request to the server, receives the virtual object fed back by the server and displays the virtual object. The virtual object corresponding to the object is displayed at a low cost, and the prompt information generated according to the target information on the object corresponding to the virtual object can be displayed, so that the display experience of the object is improved.
Drawings
The accompanying drawings, which are included to provide a further understanding of embodiments of the specification, are incorporated in and constitute a part of this specification, illustrate embodiments of the specification and together with the description serve to explain the principles of the specification. It is obvious that the drawings in the following description are only some embodiments of the present description, and that for a person skilled in the art, other drawings can be derived from them without inventive exercise. In the drawings:
fig. 1 is a schematic view of a scene application of a virtual object presentation system provided in an embodiment of the present specification;
fig. 2 is a schematic diagram of an application for displaying a scene of a virtual object on a client according to an embodiment of the present disclosure;
FIG. 3 is a schematic diagram of a scene application of a virtual object presentation system according to an embodiment of the present disclosure;
FIG. 4 is a schematic diagram of a scene application for presenting virtual objects at a client according to an embodiment of the present disclosure;
fig. 5A is a schematic diagram of generating a prompt message according to an embodiment of the present disclosure;
fig. 5B is a schematic diagram of generating a virtual object by combining provided in an embodiment of the present specification;
fig. 6 is an exemplary diagram of adjusting a text direction by a virtual object system according to an embodiment of the present disclosure;
FIG. 7 is a diagram illustrating a prompt generation provided by an embodiment of the present disclosure;
FIG. 8 is a schematic diagram of a scene application of a virtual object presentation system provided in an illustrative embodiment;
fig. 9 is a schematic flowchart of a virtual object generation method provided in an embodiment of the present specification;
fig. 10 is a schematic diagram of an architecture of a client according to an embodiment of the present disclosure;
fig. 11 is a flowchart illustrating a virtual object displaying method according to an embodiment of the present disclosure;
FIG. 12 is a schematic diagram of an architecture of a server provided in an embodiment of the present disclosure;
fig. 13 is a schematic flowchart of a virtual object display method provided in an embodiment of the present specification;
fig. 14 is a schematic architecture diagram of a client according to an embodiment of the present disclosure;
FIG. 15 is a flowchart illustrating a virtual object generation method according to an embodiment of the present disclosure;
fig. 16 is a schematic diagram of an architecture of a client according to an embodiment of the present disclosure;
fig. 17 is a schematic flowchart of a virtual object display method provided in an embodiment of the present specification;
FIG. 18 is a schematic diagram of an architecture of a server provided in an embodiment of the present disclosure;
fig. 19 is a flowchart illustrating a virtual object displaying method according to an embodiment of the present disclosure;
fig. 20 is a schematic diagram of an architecture of a client according to an embodiment of the present disclosure;
fig. 21 is a schematic flowchart of a virtual object display method provided in an embodiment of the present specification;
fig. 22 is a schematic architecture diagram of a client according to an embodiment of the present disclosure;
fig. 23 is a schematic flowchart of a virtual object display method provided in an embodiment of the present specification;
fig. 24 is a schematic structural diagram of a server provided in an embodiment of the present specification.
Detailed Description
In order to make the technical solutions in the present specification better understood, the technical solutions in the embodiments of the present specification will be clearly and completely described below with reference to the drawings in the embodiments of the present specification, and it is obvious that the described embodiments are only a part of the embodiments of the present specification, but not all embodiments. All other embodiments obtained by a person of ordinary skill in the art without any inventive work based on the embodiments in the present specification shall fall within the protection scope of the present specification.
Referring to fig. 1, in a scenario example, a pharmaceutical e-commerce needs to sell "white cloud mountain" oral liquid, and in order to improve the shopping experience of a consumer, a virtual object needs to be constructed on a commodity packaging box of the pharmaceutical e-commerce and displayed on a terminal used by the consumer.
In this scenario example, a virtual object display system is set on an e-commerce platform where the medicine e-commerce is located, and the system includes a management end, a server and a client.
In this scenario, the "Baiyunshan" oral liquid packing box is a cuboid with six sides, and a worker takes pictures of 6 sides of the "Baiyunshan" oral liquid packing box and uploads the 6 pictures to the management terminal.
In the scene example, the management end performs image filtering on 6 photos uploaded by e-commerce platform staff to detect effective picture edges of the uploaded 6 photos, cuts out portions of the photos except the effective picture edges, and extracts effective picture data from the uploaded 6 photos.
Referring to fig. 6, in this scenario example, the management end detects the direction of the text in the effective picture data in 6 photos with the upward direction of the text as the predetermined direction, where the direction of the text in the picture data in 5 photos is the upward direction and is consistent with the predetermined direction, the direction of the text in the effective picture data in 1 photo is different from the predetermined direction, and the difference between the two directions is 180 degrees, and the computer turns over the effective picture data of the photo as a whole, so that the direction of the text in the photo conforms to the upward predetermined direction of the text.
In the scene example, since the corresponding object is a cuboid, the management terminal extracts 3 photos with different sizes from the 6 uploaded photos, and detects that one photo is 5cm long and 3cm wide; one photo is 2cm long and 3cm wide; one photograph was 5cm long and 2cm wide. And the management terminal determines the connection relation of the 3 photos according to the length-width relation of the 3 photos. The connection relationship between the photos is determined in the same way. The management end sets the largest face as a main view, the number of the largest face is 1, the number of the left face of the main view is 2, the number of the right face of the main view is 3, the number of the upper face of the main view is 4, the number of the lower face of the main view is 5, the opposite number of the main view is 6, and the number of the uploaded 6 photos is obtained according to the opposite number. Wherein the numbers can be the position identification of each view.
Referring to fig. 5A, in the present scenario example, in order to facilitate the consumer to view some information, the management end may generate a prompt message. The management terminal can detect target information in the six photos, including production date, supervision codes, two-dimensional codes and the like. The management terminal detects the production date, detects the production date of 2018, 4, 23 and 2018 on the photo with the number 4, establishes a two-dimensional rectangular coordinate system by taking the central point of the photo with the number 4 as an origin, establishes grids on the photo, determines the two-dimensional coordinate of the production date on the photo with the number 4 as a unit length, and determines the two-dimensional coordinate of the production date on the photo with the number 4 as (2, 1.5), so that the prompt information generated aiming at the production date is as follows: the production date and the positioning information are 4; 2,1.5. Indicating a date of manufacture on the photograph numbered 4, with coordinates (2, 1.5). Similarly, the prompt message for determining the supervision code is: the supervision code, the positioning information is 2; 1,1.6. The prompt message of the two-dimensional code is as follows: the two-dimensional code has positioning information of 6; 2,1.3.
In this scenario example, the management terminal sends the processed picture data, the location identifier, and the prompt information to the server.
In this scenario example, the server receives the picture data, the location identifier, and the prompt information processed by the management terminal. Referring to fig. 5B, the server determines a direct connection relationship between the received picture data of 6 photos according to the location identifier, and makes a size relationship between the rectangular parallelepiped and the medicine box correspond to each other according to a size relationship between the picture data of 6 photos. The picture data of the picture with the number 1 is a front view, the picture data of the pictures with the numbers 2 and 3 are respectively arranged at the left side and the right side of the front view, the picture data of the pictures with the numbers 4 and 5 are respectively an upper top surface and a lower bottom surface, and the picture data of the picture with the number 6 is an opposite surface of the front view. Further, the server constructs a corresponding virtual model according to the size of the picture data, and attaches the picture data to the virtual model according to the connection relation to form a virtual object corresponding to the medicine box.
In this scenario example, the server stores the generated virtual object and the received prompt information in a corresponding manner.
Referring to fig. 2, in this scenario example, a consumer may use a mobile phone to run the client to browse a product. A consumer can check the details of the 'Baiyunshan' oral liquid commodity through entering a commodity page of the 'Baiyunshan' oral liquid through a client, and the consumer can check the three-dimensional view of the 'Baiyunshan' oral liquid medicine box. The method comprises the steps that a client used by a consumer sends a virtual object acquisition request to a server, and the server sends a generated virtual object of a medicine box of the 'Baiyunshan' oral liquid and correspondingly stored prompt information to a mobile phone of the consumer under the condition that the client sends a request for viewing the 'Baiyunshan' oral liquid virtual object acquisition request. The method comprises the steps that a virtual object corresponding to the medicine box is displayed on a client of a consumer, a prompt list is generated beside the virtual object, prompt information such as production date, supervision codes and two-dimensional codes is displayed in the prompt list, the consumer selects the supervision codes, the supervision codes in the prompt list are clicked, the position of the supervision codes on the virtual object can be determined by a mobile phone used by the consumer according to the prompt information of the supervision codes sent by a server, the virtual object is automatically rotated, and the supervision codes are displayed for the consumer. Similarly, the consumer can display the production date and the two-dimensional code of the 'Baiyunshan' oral liquid on the mobile phone.
In this scenario example, the consumer may scan the supervisory code using a cell phone and view the scanned relevant information on the cell phone.
In one scene example, the staff also uses the management terminal to shoot according to the operation prompt to obtain the picture data of the commodity packaging box of the 'Baiyunshan' oral liquid. The staff can use the mobile phone operation management terminal, after the interface is opened, an operation prompt 'please shoot the main view of the commodity' can be displayed on the interface, after the staff uses the mobile phone to shoot the picture, the operation prompt 'please shoot the left side surface of the commodity relative to the main view' can be displayed on the interface, after the further staff shoots the left side surface, the operation prompt 'please shoot the right side surface of the commodity relative to the main view' can be displayed on the interface, after the further staff shoots the right side surface, the operation prompt 'please shoot the top surface of the commodity relative to the main view' can be displayed on the interface, after the further staff shoots the top surface, the operation prompt 'please shoot the bottom surface of the commodity relative to the main view' can be displayed on the interface, after the further staff shoots the bottom surface, an operation prompt "please shoot the back surface of the merchandise relative to the main view" may be displayed on the interface. Further staff photographs the back surface.
In the present scenario example, the worker may take the images of six surfaces of the commercial package box of the "Baiyunshan" oral liquid according to the above process to obtain the picture data of the six surfaces.
Referring to fig. 3, in a scenario example, a certain e-commerce needs to sell "qingyunfeng" tea, and in order to improve the shopping experience of the consumer, a virtual object needs to be constructed on a commodity packing box of the e-commerce and displayed on a terminal used by the consumer.
In this scenario example, a virtual object display system is set on an e-commerce platform where the e-commerce is located, and the system includes a management end, a server, and a client.
In this scenario example, the "clear cloud" tea leaf carton is a cylinder, and the "clear cloud" tea leaf supplier provides the picture data of the column surface, top upper surface and bottom lower surface of the carton. The staff of the E-commerce platform uploads the picture data of the column surface, the upper top surface and the lower bottom surface of the tea packing box to the management end.
In this scenario example, the management side detects picture data of a column surface, an upper top surface and a lower bottom surface of the tea leaf packaging box, and provides that when the picture data is detected to have a trademark of "clear cloud peaks", the corresponding picture data is marked as a, the picture data marked as a is taken as a main view, when a production date is detected, the corresponding picture data is marked as B, the picture data marked as B is taken as a top view, when the trademark and the production date are not detected, the corresponding picture data is marked as C, and the picture data marked as C is taken as a bottom view.
In this scenario example, the management side sends the picture data and the location identifier, i.e., the corresponding tag, to a server.
Referring to fig. 7, in this scenario example, the server receives the picture data and its corresponding tag. To facilitate the consumer's viewing of some information, the server may generate a prompt message. The server can detect target information in the three picture data, including production date, two-dimensional code and the like. The server detects the production date, detects the production date of 4 months and 23 days in 2018 on the photo marked as B, and obtains pixel point coordinates of the production date in the picture data B, wherein the pixel point coordinates are 25 and 30; therefore, the prompt information generated for the production date is: the production date is as follows: b; 25, 30. Indicating that the date of manufacture is on the picture data marked B and the coordinates of the pixel points are 25, 30. Similarly, the prompt information for determining the two-dimensional code is as follows: two-dimensional code: a; 89, 103.
In the scene example, a consumer accesses a webpage of an e-commerce platform by using a computer terminal, enters a commodity page of 'clear cloud peak' tea leaves to check commodity details of the 'clear cloud peak' tea leaves, the consumer can check a three-dimensional image of a 'clear cloud peak' tea leaf packaging box, the computer terminal which can be used by the consumer sends an acquisition request to a server, and the server sends the three pieces of picture data, corresponding position marks and prompt information to the computer terminal under the condition that the server receives the acquisition request of the virtual object for checking the 'clear cloud peak' tea leaf packaging box sent by a mobile phone of the consumer.
In this scenario example, the computer terminal receives the picture data, the corresponding position mark and the prompt information provided by the server, connects the picture data according to the picture data connection relationship determined by the position mark, determines the picture data marked as a main view, determines the picture data marked as B as a top view, determines the picture data marked as C as a bottom view, and splices the received three picture data to generate a virtual object corresponding to the tea box.
Referring to fig. 4, in the present scenario example, in the process of generating the virtual object, the computer terminal generates a prompt bubble at a corresponding position of the virtual object according to the prompt information, where the prompt bubble points to target information on the virtual object, and displays the prompt information in the prompt bubble. In the display process, the computer terminal displays the virtual object, displays a prompt bubble at the production date position, and displays four characters of 'production date' in the prompt bubble. The consumer uses the mouse to pull the virtual object to find the corresponding prompt information on the surface marked as B. In the same way, the consumer can find the two-dimensional code on the tea packing box.
In the present scenario example, the consumer may perform an equal-scale zoom-in or zoom-out operation on the exposed virtual object.
Referring to fig. 8, in a scenario example, a certain e-commerce platform sells "good friends" chocolate, and the chocolate is wrapped in a triangular pyramid, so as to improve the shopping experience of the consumer, it is necessary to construct a virtual object for the commodity packaging box and display the virtual object on the terminal used by the consumer.
In the example of the scene, the e-commerce platform is provided with a virtual object display system, and the system comprises a management end, a server and a client.
In this scenario example, the picture data for the four triangular planes of the package are provided by the "good friends" chocolate supplier. And uploading the picture data of the four triangular planes to a management end, and sending the picture data of the four triangular planes to the server by the management end and storing the picture data.
In this scene example, the server stores the picture data of 4 triangle planes sent by the management side.
In the scene example, a consumer uses a mobile phone to operate a client to browse commodities, enters a commodity page of good friend chocolate to check details of the good friend chocolate commodity, can check a three-dimensional view of a good friend chocolate packaging box, sends an acquisition request to a server, and the server can send stored 4 triangular plane image data of the good friend chocolate packaging box to a mobile phone used by the consumer under the condition that the server receives the acquisition request.
In this scenario example, when a client used by a consumer receives picture data of 4 triangular planes of a "good friend" chocolate packaging box sent by the server, the mobile phone detects the picture data of the 4 triangular planes of the chocolate packaging box, when the picture data is detected to have a "good friend" trademark, marks the corresponding picture data as F, uses the picture data marked as F as a main view, when a production date is detected, marks the corresponding picture data as L, uses the picture data marked as L as a left view, when a two-dimensional code is detected, marks the corresponding picture data as R, uses the picture data marked as R as a right view, when a component table is detected, marks the corresponding picture data as B, and uses the picture data marked as B as a back view.
In this scenario example, when the mobile phone used by the consumer detects corresponding information, a position is selected on the corresponding triangular plane, and a prompt message is generated according to the position. On the picture data marked L, a production date is detected, a two-dimensional rectangular coordinate system is established by taking the center of a triangle as an origin and taking 1mm as a unit length, the coordinate point positions of (5-16) are selected in the coordinate system, and the generated prompt information is as follows: the production date is as follows: l; 5, -16. Similarly, the prompt information for the two-dimensional code is as follows: two-dimensional code: r; 3,17. The prompt information for the composition table is: the ingredient table is as follows: b; -8, -13.
In this scenario example, the client may construct a corresponding virtual model according to the size of the picture data. Further, the client may determine a connection relationship between the picture data according to the mark of the picture data, and splice the picture data according to the connection relationship, and use the picture data marked as F as a main view, the picture data marked as L as a left view, the picture data marked as R as a right view, the picture data marked as B as a back view, and the picture data marked as D as a top view to splice the picture data, so as to generate a virtual object corresponding to the "good friend" chocolate packaging box.
In the scene example, the client displays the prompt information at the corresponding position of the generated virtual object according to the generated prompt information, and displays the prompt information with the production date at the (5, -16) position on the L surface; displaying prompt information named as a two-dimensional code at the (3, 17) position of the R surface; in the B plane, the (-8, -13) position shows a hint named the composition table.
In this scenario example, a consumer may rotate the virtual object displayed in the mobile phone screen, find the production date displayed on the virtual object according to the prompt information named "production date", and stretch the virtual object in equal proportion to check the displayed production date.
The embodiment of the specification provides a virtual object display system, which comprises a first client, a server and a second client, wherein the first client can be used for sending picture data used for representing the surface of an object, position identification and prompt information to the server; wherein the position identifier can be used for representing the position relation of the picture data relative to the object; the prompt message can be used for prompting target information in the picture data; the server may be configured to generate a virtual object corresponding to the object according to the picture data and the location identifier, and store the virtual object and the prompt information correspondingly; the second client may be configured to send a virtual object acquisition request to the server; receiving the virtual object and prompt information fed back by the server; and displaying the virtual object and the prompt message.
In this embodiment, the first client may include an electronic device having display, computing, and network access functions. Specifically, for example, the first client may be a tablet computer, a smart phone, a computer terminal, or the like, or the client may also be software capable of running in the electronic device. The client may provide a network interface for data interaction. The client can carry out data information interaction according to a network communication protocol. The first client can send picture data, position identification and prompt information for representing the surface of the object to the server.
In this embodiment, the server may include a hardware device having a data information processing function and software necessary for driving the hardware device to operate. Of course, the server may be only a hardware device having a data processing capability, or only software running in a hardware device. The server may be provided with a predetermined port through which the picture data, the location identifier, and the notification information transmitted by the first client and the virtual object acquisition request transmitted by the second client may be received and through which the generated virtual object and the notification information may also be transmitted to the second client. The service server can perform network data interaction with the first client and the second client based on network protocols such as HTTP, TCP/IP or FTP and the like and a network communication module. Data interaction with other devices or software can also be carried out through a wireless mobile network communication chip such as a GSM (global system for mobile communications), a CDMA (code division multiple access) chip or a WIFI (wireless fidelity) module, a ZigBee module, a Bluetooth module, a Z-wave module, an NFC (near field communication) module, an RFID (radio frequency identification) module and the like.
In this embodiment, the second client may include an electronic device having display, operation, and network access functions. Specifically, for example, the client may be a tablet computer, a smart phone, a computer terminal, or the like, or the client may be software that can run in the electronic device. The client may provide a network interface for data interaction. The client can carry out data information interaction according to a network communication protocol. The second client may send a virtual object acquisition request to the server, and display the virtual object and the prompt information on the second client when receiving the virtual object and the prompt information fed back by the server.
In this embodiment, the picture data may include a set of numerical values that can represent the picture pixel tone values and the shape sizes. The picture data may be used to characterize the surface of the object. Specifically, for example, a box may have 6 faces, each of which may be a separate picture, the picture data may represent the shape and size and the gray value of one face in the box, the 6 faces may be represented by 6 corresponding picture data, and the 6 picture data may represent the surface of the object.
In this embodiment, the location indicator may include a mark that can be used to indicate the location of the object from which the picture data is taken and that can be recognized by the device. The position mark can be a number, an English letter, a special symbol and other marks which can be distinguished from each other. Specifically, for example, numeral 1 denotes that picture data is a front view of the object, numeral 2 denotes that picture data is a left view of the object, and numeral 3 denotes a right view of the picture data. Alternatively, the letter F may represent that the picture data is a front view of the object, the letter L represents that the picture data is a left view of the object, and the letter R represents that the picture data is a right view of the object. The position identifier may be set for the picture data according to a preset rule or may be set according to a characteristic of the picture data. Specifically, for example, in the process of uploading the picture data, the picture data may be uploaded in order according to the position of the picture data relative to the object, and the picture data may be numbered in the uploading order. For example, the picture data is uploaded one by one in the order of the main view, the top view, the left view, and the right view, and the first client sets the numbers of 1, 2, 3, and 4 for the received picture data in the receiving order when receiving the picture data, where the number 1 represents the main view, the number 2 represents the top view, the number 3 represents the left view, the number 4 represents the right view, and so on. When the first client receives the picture data, the picture data may be detected, the picture data with the detected trademark may be set as a main view, the picture data with the detected trademark may be assigned with a position identifier of X, the picture data with the detected two-dimensional code may be set as a left view, and the picture data with the detected two-dimensional code may be assigned with a position identifier of Y. The picture data can be given with position identification according to the rule set on the surface of the object and can be recognized by the system equipment, so that the position relation between the picture data corresponds to the object.
In this embodiment, the prompting information may include information for prompting the target information in the picture data. The target information may include information that needs to be noticed by the consumer on the object, and may include information that needs to be noticed by the consumer, such as a two-dimensional code displayed on the object, a production date, and the like. The prompt message can be used for prompting a consumer to view the target message at the position of the target message. The prompt may include a message instructing the consumer to view the target information, and the prompt may be a name of the target information, for example, to prompt the consumer to view a production date, and the prompt may be "production date" or "click to view a production date", etc.
In this embodiment, the virtual object may include a number or code array capable of being processed by the second client, and a processed stereoscopic image capable of being presented in the second client according to the shape and features of the object.
In this embodiment, the step of generating the virtual object according to the combination of the picture data and the position identifier may include that the server may identify the position identifier to determine a connection relationship between the picture data, and connect the picture data according to the determined connection relationship to generate the virtual object; or, the server may recognize a shape of the picture data, generate an initial model having a shape the same as or similar to that of the object, scale the initial model in an equal proportion according to a size of the picture data, perform mapping processing according to the scaled model of the picture data according to the position identifier, so as to generate a virtual object corresponding to the object, specifically, for example, the object is a cuboid, the server may generate a cube, scale the cube in an equal proportion according to a size of the picture data of the cuboid so as to generate an initial model having a shape corresponding to the cuboid, and map the picture data to a position corresponding to the initial model corresponding to the cuboid according to the position identifier, so as to generate a virtual object corresponding to the object.
In this embodiment, the server may store the generated virtual object and the prompt information in association with each other, so that the server transmits the virtual object and the prompt information to the second client when receiving a virtual object acquisition request transmitted by the second client.
In this embodiment, the virtual object obtaining request may include a character string or a code that satisfies a communication protocol and follows a certain format, and is used to indicate that the second client requests to obtain a corresponding virtual object generated by the server and the prompt information stored in correspondence with the virtual object.
In this embodiment, the second client may receive the virtual object and the prompt information fed back by the server, and may display the virtual object and the prompt information. The prompt message may correspond to positioning information. The step of displaying the virtual object and the prompt information by the second client may include displaying the virtual object corresponding to the object on the second client, and displaying the prompt information at a position indicated by the positioning information according to the positioning information corresponding to the prompt information. Of course, the prompt information may also directly correspond to the picture data with the target information, so that when the virtual object is displayed, the prompt information is displayed adjacent to the corresponding picture data, and thus the picture data may also be prompted to have the target information. For example, a virtual object corresponding to the medicine box may be displayed on the second client, and on a face of which the virtual object position is identified as "2", a prompt bubble is generated at a (2, 1.5) position where a rectangular coordinate is established with a center point as a center, and a prompt message of "supervision code" is written in the prompt bubble. Or, when the virtual object is displayed, a prompt list generated by the prompt information is displayed, the prompt information is displayed in the list, and the virtual object can display corresponding target information according to the positioning information corresponding to the prompt information under the condition of sending a viewing request to the corresponding prompt information. Specifically, for example, the second client displays a virtual object corresponding to the tea box, displays a prompt list beside the virtual object, where the prompt list may include prompt information such as "production date", "composition table", "two-dimensional code", and the like, and the consumer may send a viewing request according to the prompt information of the "two-dimensional code", and the virtual object may automatically rotate to a corresponding surface to display the two-dimensional code.
In this embodiment, the virtual object display system generates a virtual object corresponding to an object through picture data and a position identifier, stores the virtual object and corresponding prompt information in a corresponding manner, displays the virtual object and the prompt information on a second client to display the virtual object corresponding to the object at a lower cost, and can display the prompt information generated according to target information on the object corresponding to the virtual object, thereby improving the display experience of the object. Still further, the virtual object may be automatically generated from the picture data and the location identification. Bringing convenience to the user.
Referring to fig. 9, an embodiment of the present disclosure further provides a virtual object generation method, which can be applied to a client. The method may include the following steps.
Step S10: obtaining a plurality of picture data acquired for a plurality of surfaces of an object, and a plurality of location identifiers; wherein the position identifier is used for indicating the position of the object from which the picture data is taken; wherein the object is shaped as a parallelepiped.
In this embodiment, the location indicator is used to indicate the location at which the picture data was taken from the object. Specifically, the object may include a plurality of faces, for example, if the object is a rectangular parallelepiped, the object may have six rectangular faces; the object is a triangular pyramid, and the object can have 4 triangular surfaces; the object is a cylinder, and the object can be composed of two circular surfaces, a rectangular surface and the like. Each face may correspond to one picture data. The picture data may be provided by the manufacturer of the object or may be obtained by shooting. Therefore, the position of each surface on the object and the connection relationship between the surfaces may be the position relationship of the picture data corresponding to each surface relative to the object.
In this embodiment, the manner of obtaining the picture data may include that the user operates the client to select from the picture data stored in the client, that the client is operated to shoot a real object to obtain the picture data, that the client accesses a website to obtain the picture data, and the like. The method for obtaining the location identifier may include that the user operates the client to input the location identifier of the picture data, or the client analyzes the picture data to generate the location identifier of the picture data.
In the present embodiment, the object may be a parallelepiped. In particular, the object may have six surfaces, each of which is a parallelogram. Therefore, the object enclosed by the six surfaces has a regular shape, so that the storage is convenient. Specifically, for example, the object may be a medicine box, and is mostly in a rectangular parallelepiped shape.
Step S14: and sending the picture data and the position identification to a server so that the server uses the picture data combination to generate a virtual object corresponding to the object according to the position identification.
In this embodiment, specific steps and functions implemented by the virtual object generation method may be contrasted and explained with reference to other embodiments in this specification, and are not described herein again.
In one embodiment, the method may further include detecting an edge in the picture data representing valid picture data; and extracting effective picture data in the picture data according to the detected edge which represents the effective picture data in the picture data.
In this embodiment, the effective picture data may include, for distortion and deformation that may exist in the picture data, the picture data may not accurately reflect the surface of the object, and the picture data may be clipped to extract effective picture data that may accurately reflect the surface of the object. The picture data which can reflect the surface of the object more accurately can be regarded as effective picture data.
In this embodiment, the edge may include an edge of effective picture data in the picture data, and the edge may be a portion of the picture data where brightness significantly changes. Edges of valid picture data in the picture data may be detected by methods based on search and zero crossings, etc.
In this embodiment, after the edge of the effective picture data is determined, the picture data may be clipped according to the edge to extract the effective picture data.
In this embodiment, the edge representing the effective picture data in the picture data is detected, and the effective picture data in the picture data is extracted according to the detected edge representing the effective picture data in the picture data, so as to display the virtual object corresponding to the object.
In one embodiment, the method may further include detecting a direction of a specified target in the picture data; and when the direction of the specified target in the picture data does not accord with the preset direction, adjusting the direction of the specified target in the picture data to make the direction of the specified target accord with the preset direction.
In this embodiment, the designated target may include a number, a character, an image, and the like in the picture data. The predetermined direction may include a preset direction that a designated object in the picture data should have, or a direction of the designated object in the surface of the object. Specifically, for example, picture data of a cola tag tape is detected to have two characters of "cola" on the picture data, and the direction of the two characters of "cola" on the picture data is detected with the positive direction of the characters as a predetermined direction. The two words of "cola" may be a designated target, the positive direction of the Chinese character may be a predetermined direction, and the directions of the two words of "cola" on the picture data may be the directions of the designated target. The designated target in the picture data may include a combination of a plurality of different elements, for example, characters, numbers, and images in the picture data may be designated targets, and the directions of the elements may be detected and adjusted respectively, rather than detecting and adjusting the direction of only one element singly.
In this embodiment, when the direction of the designated object in the picture data does not coincide with the predetermined direction, the direction of the designated object in the picture data is adjusted. The step of enabling the direction of the designated target to be consistent with the predetermined direction may include that the client may adjust the direction of the designated target in the picture data in a manner of rotating, flipping, or the like, so as to enable the direction of the designated target in the picture data to be consistent with the predetermined direction. Specifically, for example, two characters of "cola" are included in the picture data, in the process of uploading the picture, the two characters of "cola" in the picture data deviate 180 degrees from the clockwise direction of the positive direction of the characters, the client detects the direction of the two characters of "cola" in the picture data by taking the positive direction of the characters as a preset direction, the deviation of 180 degrees occurs in the clockwise direction, and the client rotates the two characters of "cola" in the picture data 180 degrees counterclockwise, so that the direction of the two characters of "cola" in the picture data is the positive direction of the characters.
In the present embodiment, it is possible to ensure that the generated virtual object corresponds to the object direction by detecting the direction of the designated object in the picture data and, when the direction designated in the picture data does not coincide with the predetermined direction, adjusting the direction of the designated object in the picture data so that the direction of the designated object coincides with the predetermined direction.
In one embodiment, the virtual object generation method may further include detecting a size of the picture data; determining the position connection relation of the picture data according to the size of the picture data; and generating a corresponding position identifier for the picture data according to the position connection relation.
In this embodiment, the client may detect the size of the picture data, and the client may set a unit length and measure the picture data with the unit length as a reference. Specifically, for example, the client sets the size of the raster detection picture data, and receives a rectangular picture data, wherein the length is 3 raster lengths and the width is 2 raster lengths.
In this embodiment, the determining the position connection relationship of the picture data according to the size of the picture data may include that the client detects the size of the picture data, determines edges having the same size between the picture data as a common edge according to a matching degree of the size, and determines the connection relationship between the edges. Specifically, for example, a rectangular parallelepiped box in which one picture data has a length of 5 and a width of 2; one picture data has a length of 3 and a width of 2; since one picture data has a length of 5 and a width of 3, the connection relationship between the two can be determined according to the size of the detected picture data, and the rectangular box is a rectangular box having a length of 5, a width of 2 as a bottom, a length of 5, a width of 2, and a height of 3.
In this embodiment, the generating the corresponding location identifier for the picture data according to the location connection relationship may include determining, by the client, a reference plane according to the connection relationship after determining the connection relationship of the picture data, and setting a location identifier setting rule based on the determined reference plane. For example, a position flag is set for the picture data in a clockwise or counterclockwise direction based on the determined reference plane. Wherein the location identity is recognizable by the server.
In this embodiment, the client determines the position connection relationship of the picture data according to the size of the picture data by detecting the size of the picture data, and generates a corresponding position identifier for the picture data according to the position connection relationship, so as to facilitate the generation of the position identifier.
In an embodiment, the virtual object generating method may further include detecting target information in the picture data, and generating a corresponding position identifier for the picture data according to a position of the target information in the object.
In this embodiment, the client may detect target information in the picture data, and may set a position identifier for the picture data according to a preset rule when the specified target information is detected, where the preset rule may be set according to a feature of an object surface. Specifically, for example, the client sets that the detected picture data has a product trademark, and sets the detected picture data as a reference plane, and the set position mark is X; detecting that two-dimensional codes exist on the picture data, setting the two-dimensional codes as a left plane of the reference plane, and setting the position mark as L; and the right plane is set as the reference plane when the production date is detected on the picture data, and the set position mark is R. The X, L, R are position marks of the picture data, and respectively indicate a reference plane, a left plane of the reference plane, and a right plane of the reference plane.
In the embodiment, the target information in the picture data is detected, the corresponding position identifier is generated for the picture data according to the position of the target information on the object, the set position identifier is further determined to correspond to the actual object, and the generation precision of the virtual object is ensured.
In one embodiment, a hint information may be generated based on the picture data; and the prompt information is used for prompting the target information in the picture data. Correspondingly, in the step of sending the picture data and the position identifier to a server, the picture data, the position identifier and the prompt message are sent to the server, so that the server uses the picture data combination to generate a virtual object corresponding to the object according to the prompt message and the position identifier.
In this embodiment, the prompt message may be located at a target position of the picture data. The target position may be preset or selected according to a target information position in the picture data.
In this embodiment, the presentation information may be obtained by receiving a user input, or may be obtained by recognizing the target information in the picture data and setting the name of the target information as the presentation information. Specifically, for example, the user inputs "date of production" through the keyboard. Or identifying the picture data through a picture identification technology to obtain target information in the picture data, and taking the name of the target information as prompt information.
In the present embodiment, the presentation information is used to present target information in the picture data. When the hint is presented in the display, the hint may indicate that the area in its vicinity has corresponding target information. Specifically, for example, a side of the displayed virtual object is displayed with a "manufacturer", which may indicate that the picture data adjacent to the prompt "manufacturer" has information about the manufacturer.
In this embodiment, the server uses the image data to generate a virtual object according to the prompt information and the location identifier, and the prompt information may indicate that the virtual object has target information. Specifically, after the virtual object is generated using the picture data, the pictorial information may be adjacent to the target information or associated with the target information. Moreover, a corresponding relation is also constructed between the prompt information and the virtual object, and the prompt information can prompt the target information of the virtual object. The prompt information and the virtual object can be correspondingly stored. For example, the correspondence is stored by a data table, or both are stored in one folder, and the like.
In one embodiment, the generating the prompt message may include identifying target information in the picture data; acquiring pixel point coordinates of target information in the picture data; and generating the prompt information at the position of the pixel point coordinate or the position of the picture data corresponding to the coordinate of which the position tends to be the same as the pixel point coordinate.
In this embodiment, the client may identify target information in the picture data. For example, the target information is a production date of a product, and the client may scan the picture data to identify whether the production date is included in the picture data.
In this embodiment, the pixel coordinates may include pixel position coordinates of the target information identified in the picture data. A rectangular coordinate system using a certain point of the picture data as an origin may be established, and a pixel point coordinate of the target information in the picture data may be determined.
In this embodiment, the client may record a pixel coordinate of the target information in the picture data, where the pixel coordinate may be a pixel coordinate of a certain point of the target information in the picture data, and the client may also record a pixel coordinate of a certain point closer to the target position. And marking the position of the prompt message by the pixel point coordinates and the position identification of the picture data of the target information. Specifically, the prompt message may be a supervision code; 2; (35, 62), wherein the "supervisory code" is a prompt message; "2" is a location identifier; and (35, 62) pixel point coordinates.
In this embodiment, the client acquires pixel coordinates of the target information in the picture data by identifying the target information in the picture data, and corresponds to the position of the picture data where the target position is located and the prompt information according to the pixel coordinates or coordinates of the position which is approximately the same as the pixel coordinates. The target information position can be accurately positioned, the prompt information is easy to identify, and a consumer can conveniently find the corresponding target information according to the prompt information in the process of displaying the virtual object.
In one embodiment, the manner of generating the prompt message may include selecting a designated location in the picture data; and generating the prompt message at the specified position.
In this embodiment, the client may further select a designated location, and the selected designated location may be on the picture data where the target information is located. The designated position can be used as positioning information of the prompt message. The form of identifying the designated position may be a coordinate, or the client may identify the position according to the selected designated position and the picture data where the designated position is located. As such, the designated position and the position identification of the picture data can be collectively used as the positioning information.
In this embodiment, the client selects a designated position, and uses the designated position and the position identifier of the image data where the designated position is located as the positioning information, so that the prompt information is used to improve the generation efficiency of the prompt information for image data with single target information and simple object surface.
In one embodiment, the prompt message may correspond to positioning information. Correspondingly, the prompt message is located at the position represented by the positioning message.
In this embodiment, the positioning information may include position information indicating a position of the presentation information with respect to the picture data. For example, a two-dimensional rectangular coordinate system or a two-dimensional polar coordinate system may be established on the picture data to position the target information, or the target information may be positioned according to a pixel point coordinate of the target information in the picture data. The positioning information may not only include the exact position of the target information in the picture data, but also may be a position that tends to be the same as the exact position of the target information, and the positioning information that enables the consumer to view the target information is within the scope of the present application.
In one embodiment, the step of obtaining a plurality of picture data acquired for a plurality of surfaces of the object and a plurality of location identifications comprises: acquiring picture data of a plurality of surfaces of the object according to a specified sequence; and setting position identification for the picture data according to the designated sequence.
In this embodiment, the order may be designated for the picture data on the surface of the object to be acquired, and thus the position identification of the picture data may be agreed by the order of acquiring the picture data. Specifically, for example, the overall shape of the medicine cartridge is a rectangular parallelepiped shape, and may be in the order of a front view, a left side view, a right side view, a top view, a bottom view, and a back view with respect to the front view. For example, the image data may be obtained by shooting in the above-described order, or the image data may be specified in the above-described order.
In this embodiment, the position identifier is set for the picture data according to the order of acquiring the picture data, and it can be understood that the designated order stipulates the corresponding relationship between the picture order and the surface of the object. For example, the first acquired picture data is the main view of the object. Further, a location identifier may be provided for the picture data, so that the location identifier may indicate a location at which the picture data is taken from the object. For example, "front view", "left view", "right view", "top view", "bottom view", and "back view" may be used as the position identifiers. It is also possible to use numbers as position identifiers, and to agree on the position of each numerically represented object.
In the embodiment, the picture data is obtained through the appointed sequence, and the position identification can be automatically set for the picture data, so that convenience is brought to use.
In one embodiment, the step of obtaining a plurality of picture data acquired for a plurality of surfaces of the object and a plurality of location identifications comprises: displaying a picture data acquisition interface, wherein a plurality of picture data setting controls are displayed in the interface; and receiving picture data corresponding to a picture data setting control input by a user, wherein the position identification corresponding to each picture data is generated according to the corresponding picture data setting control.
In this embodiment, the client may display a picture data acquisition interface for specifying picture data. The picture data setting control may be used to specify picture data. The picture data setting control can be an input box, the picture data can be specified by specifying a storage path of the picture data, and a popup-type picture data selection function can be provided for a user for the picture data setting control, so that the user can select the stored picture data in a window.
In this embodiment, each picture data setting control may correspond to one location identifier. Therefore, the corresponding relation between the picture data specified by the picture data setting control and the position identification is realized. Still further, some operation prompts, such as "main view of the specified object", "back view of the specified object", and the like, may be displayed on the picture data setting control.
Referring to fig. 10, an embodiment of the present specification further provides a client, where the client may include a location identifier obtaining module, configured to obtain a plurality of picture data collected for a plurality of surfaces of an object, and a plurality of location identifiers; wherein the position identifier is used for indicating the position of the object from which the picture data is taken; the prompt information generating module is used for generating prompt information corresponding to the picture data; the prompt information is used for prompting target information in the picture data; and the sending module is used for sending the picture data, the position identification and the prompt information to a server so that the server generates a virtual object corresponding to the object by using the picture data combination according to the prompt information and the position identification.
The specific functions implemented by the location identifier obtaining module, the prompt information generating module, and the sending module disclosed in the foregoing embodiments may be explained in comparison with other embodiments in this specification.
Embodiments of the present description also provide a computer storage medium storing a computer program that, when executed by a processor, implements obtaining a plurality of picture data acquired for a plurality of surfaces of an object, and a plurality of position markers; wherein the position identifier is used for indicating the position of the object from which the picture data is taken; generating prompt information corresponding to the picture data; the prompt information is used for prompting target information in the picture data; and sending the picture data, the position identification and the prompt information to a server so that the server uses the picture data combination to generate a virtual object corresponding to the object according to the prompt information and the position identification.
In this embodiment, the computer storage medium includes, but is not limited to, a Random Access Memory (RAM), a Read-Only Memory (ROM), a Cache (Cache), a Hard Disk Drive (HDD), or a Memory Card (Memory Card).
In this embodiment, specific functions implemented by the computer storage medium can be explained with reference to other embodiments.
Referring to fig. 11, an embodiment of the present disclosure further provides a virtual object display method, where the method may be applied to a server, and the method may include the following steps.
Step S20: receiving picture data and position identification which are provided by a first client and used for representing the surface of an object; wherein the location identifier is used to indicate a location at which the picture data is taken from the object.
Step S22: and generating a virtual object corresponding to the object according to the combination of the picture data and the position identification.
Step S24: and under the condition of receiving a virtual object acquisition request sent by a second client, sending the virtual object to the second client so that the second client displays the virtual object.
In this embodiment, the server may store the virtual object, and the second client may display the virtual object after providing the virtual object to the second client. Therefore, the second client can display the virtual object more quickly, and convenience is brought to a user.
In this embodiment, specific steps and functions of the virtual object display method may be explained by referring to other embodiments in this specification, and are not described herein again.
In one embodiment, the generating of the virtual object may include determining a connection relationship of the picture data according to the location identifier; and splicing the picture data according to the connection relation to generate a virtual object corresponding to the object.
In this embodiment, the location identifier received by the server may be an identifier that can be recognized by the server. The server may connect the picture data according to the location identification. For example, the server receives 3 pieces of picture data and corresponding position identifiers, where the position identifiers are V, U, and B, respectively, the server may read the position identifiers, determine that the picture data corresponding to the position identifier V is a main view of the object, determine that the picture data corresponding to the position identifier U is a top view of the object, and determine that the picture data corresponding to the position identifier B is a bottom view of the object. The three picture data can be connected according to the determined position relation, the three picture data respectively correspond to a rectangle, a circle and a circle, and a cylinder corresponding to the object can be generated after the three picture data are connected.
In this embodiment, the image data is spliced according to the connection relationship determined by the position identifier to generate the virtual object corresponding to the object, so that the virtual object corresponding to the object can be generated more accurately.
In one embodiment, the manner of generating the virtual object may include generating a model corresponding to the shape of the object from the picture data; and overlaying the picture data on the position corresponding to the position identifier in the model according to the position identifier to generate a virtual object corresponding to the object.
In this embodiment, the server may generate a model corresponding to the shape of the object from the picture data. The server may determine a possible connection relationship between the picture data according to the shape and size of the picture data to generate a model corresponding to the object. For example, the server may detect 6 pieces of received picture data, may determine that the object is a hexahedron first, may measure the size and the shape of the picture data, respectively, and may generate a model corresponding to the shape of the object according to the size of the picture data.
In this embodiment, the overlaying the picture data on the model at the position corresponding to the position identifier according to the position identifier to generate the virtual object corresponding to the object may include overlaying the received picture data on the model according to the corresponding position identifier by the server.
In this embodiment, the virtual object corresponding to the object can be generated more accurately by covering the image data in the model at the position corresponding to the position identifier through the position identifier.
In one embodiment, the manner of generating a model corresponding to the shape of the object may include generating an initial model from the picture data; determining the size relationship among the picture data according to the picture data; and scaling the initial model in an equal ratio according to the size relation to generate a model corresponding to the shape of the object.
In this embodiment, the initial model may be similar in shape to the model, and the initial model may be scaled in equal proportion so as to be a model having a shape corresponding to the object. Specifically, for example, the model is a rectangular parallelepiped, and the server may generate a cube from the picture data, and make the cube into the rectangular parallelepiped by scaling.
In this embodiment, the step of generating the model according to the picture data may include the server analyzing the picture data, determining a shape of the picture data, and determining a shape of the connected picture data according to the shape of the picture data, and for convenience of subsequent scaling, the server may set each side of the initial model to be equal in length in the step of generating the initial model.
In this embodiment, the determining, by the server, the size relationship of the picture data may include determining, by detecting the picture data, a size ratio of each side length of the picture data to obtain the size relationship, and the server may scale, according to the size relationship, the generated initial model in an equal proportion to generate the model corresponding to the shape of the object.
In the present embodiment, an initial model is generated from the picture data, and scaling is performed in an equal proportion according to the size relationship between the picture data and further according to the size relationship to generate a model corresponding to the shape of the object. And then the model corresponding to the shape of the object can be generated more accurately.
In one embodiment, the virtual object presentation method may further include: receiving prompt information provided by the first client; the prompt information is used for prompting target information in the picture data; correspondingly, under the condition of receiving a virtual object acquisition request sent by the second client, the virtual object and the prompt message are sent to the second client, so that the second client displays the virtual object and the prompt message.
In this embodiment, the prompt information may be set by the first client for prompting the target information of the virtual object. Therefore, when the user of the second client displays the virtual object, the user can see the prompt message, and thus can keep track of the target information of the virtual object. As such, important information can be prevented from being overlooked to some extent.
Referring to fig. 12, a server according to an embodiment of the present disclosure may further include a receiving module, configured to receive picture data and a position identifier, which are provided by a first client and used for characterizing a surface of an object; wherein the position identifier is used for representing the position relation of the picture data relative to the object; the processing module is used for generating a virtual object corresponding to the object according to the picture data and the position identification; the sending module is used for sending the virtual object to a second client side under the condition of receiving a virtual object obtaining request sent by the second client side, so that the virtual object is displayed by the second client side.
The specific functions implemented by the location identifier receiving module, the processing module, and the sending module disclosed in the foregoing embodiments may be explained in comparison with other embodiments in this specification, and are not described herein again.
Embodiments of the present specification also provide a computer storage medium storing a computer program that, when executed by a processor, implements: receiving picture data and position identification which are provided by a first client and used for representing the surface of an object; wherein the position identifier is used for representing the position relation of the picture data relative to the object; generating a virtual object corresponding to the object according to the picture data and the position identification; and under the condition of receiving a virtual object acquisition request sent by a second client, sending the virtual object to the second client so that the second client displays the virtual object.
In this embodiment, the computer storage medium includes, but is not limited to, a Random Access Memory (RAM), a Read-Only Memory (ROM), a Cache (Cache), a Hard Disk Drive (HDD), or a Memory Card (Memory Card).
In this embodiment, specific functions implemented by the computer storage medium can be explained with reference to other embodiments.
Referring to fig. 13, an embodiment of the present disclosure further provides a virtual object display method, where the method may be applied to a client. The method may include the following steps.
Step S30: and sending a virtual object acquisition request to the server.
Step S32: receiving a virtual object which is fed back by the server and is generated according to the picture data and the position identification and corresponds to the object; wherein the position identifier is used for indicating the position of the object from which the picture data is taken; .
Step S34: and displaying the virtual object.
In this embodiment, when the client displays the virtual object, the virtual object may be generated by automatically combining the picture data and the position identifier. Therefore, the user can observe the three-dimensional object display visually.
In this embodiment, specific steps and functions of the virtual object display method may be explained by referring to other embodiments in this specification, and are not described herein again.
In one embodiment, the virtual object presentation method may further include: receiving prompt information fed back by the server; the prompt information is used for prompting target information in the picture data; correspondingly, the step of displaying the virtual object comprises the following steps: and displaying the virtual object and the prompt message.
In this embodiment, the server may send a prompt message to the client to prompt the target information of the virtual object. Thus, when the virtual object is displayed, the virtual object and the prompt message can be displayed. Therefore, the user can be reminded of the target information prompted by the prompting information in the virtual object. In this way, important information can be prevented from being ignored.
In an embodiment, the displaying the virtual object and the prompt message may include generating a prompt list according to the prompt message, and displaying, at the client, target information of the virtual object corresponding to the clicked prompt message when the prompt message in the prompt list is clicked.
In this embodiment, the prompt list may include a list generated when the client displays the virtual object and the prompt message, and used for displaying the prompt message available for the consumer to view. The hint list can populate the hint information. Specifically, for example, the medicine packaging box includes four target information of a production date, a two-dimensional code, a supervision code and a medicine component, which need to be viewed by a consumer, so that prompt information can be generated according to the production date, the two-dimensional code, the supervision code and the medicine component, and four prompt information of the production date, the two-dimensional code, the supervision code and the medicine component are generated, and in the step of displaying the prompt information, the four prompt information of the production date, the two-dimensional code, the supervision code and the medicine component can be displayed in a generated prompt list on a screen of the client.
In this embodiment, when the prompt information in the prompt list is clicked, the client displays the target information of the virtual object corresponding to the clicked prompt information. And when the client receives click operation aiming at the prompt information in the prompt list, the target information corresponding to the prompt information can be displayed in the interface of the virtual object displayed by the client. Specifically, for example, the consumer clicks a prompt of "date of production" on the client using a mouse, and the client rotates the virtual object to be displayed according to the prompt of "date of production" so that the date of production of the virtual object is displayed on the display.
In this embodiment, the client generates a prompt list, and displays corresponding target information according to a condition that the prompt information in the prompt list is clicked. The display interface is simplified, and in addition, the corresponding target information can be quickly displayed according to the requirement.
In one embodiment, the step of presenting the virtual object and the prompt message may further include presenting the virtual object; displaying the prompt information at the position of the virtual object corresponding to the target information corresponding to the prompt information; or displaying the prompt information in the adjacent area of the target information corresponding to the virtual object and the prompt information.
In this embodiment, the displaying the prompt information at the corresponding position of the virtual object or at the position where the corresponding positions of the virtual object tend to be the same, where the position of the target information in the picture data determined according to the prompt information may include: the prompt information corresponds to positioning information, and the client can find the position corresponding to the virtual object according to the positioning information of the prompt information, and display the prompt information at the corresponding position or the position which is nearly the same as the position determined by the positioning information. Certainly, the client may identify the target information corresponding to the prompt information, and display the corresponding prompt information in the vicinity of the target information. The manner of displaying the prompt information may include generating a display frame at a position corresponding to the virtual object, and displaying the prompt information in the display frame. Or the prompt information is displayed on the client, and an indicator such as an arrow points to the corresponding position in the virtual object.
In the embodiment, the prompt information is displayed at the position of the virtual object corresponding to the target information corresponding to the prompt information; or the prompt information is displayed in the adjacent area of the virtual object and the target information corresponding to the prompt information, so that the display is more visual, and a consumer can select to view corresponding information according to the display content.
In an embodiment, the method further includes, in the step of displaying the virtual object and the prompt message, adjusting a display effect of the prompt message according to a display position of the prompt message.
In this embodiment, the display effect may include transparency of the display prompt information, a display position, an angle, a color, and the like. If comparatively close between the show position of cue information, can adjust the bandwagon effect of cue information, specifically, for example show on the virtual object the distance is comparatively close between the cue information, can rotate the show angle of cue information, can avoid hiding each other between the cue information, the complete show the cue information.
In the embodiment, the display effect of the prompt information is adjusted according to the display position of the prompt information, so that the problem of covering caused by too close prompt information can be reduced, and the display effect is improved.
In this embodiment, the method further includes that the client may adjust the display size of the virtual object and the prompt message according to the size of the display window of the client after receiving the virtual object and the prompt message.
In this embodiment, the client may include a display window, and the display window may be disposed in various devices having display functions, such as an LCD liquid crystal display, an LED electronic display, a CRT display, and the like, of the client, so as to display the virtual object and the prompt information. Because the size of the virtual object and the size of the prompt message received by the client may not be suitable for the display window, the client may adjust the size of the virtual object and the size of the prompt message according to the size of the display window, so that the virtual object and the prompt message may be completely displayed in the display window of the client.
In this embodiment, the client may adjust the sizes of the virtual object and the prompt information according to the size of the display window, so that the display window may completely display the virtual object and the prompt information when displaying the virtual object and the prompt information, thereby improving the display effect.
Referring to fig. 14, an embodiment of the present disclosure further provides a client, where the client may include a sending module, configured to send a virtual object obtaining request to a server; the receiving module is used for receiving a virtual object which is generated according to the picture data and the position identification and corresponds to the object and is fed back by the server; wherein the position identifier is used for indicating the position of the object from which the picture data is taken; and the display module is used for displaying the virtual object.
The specific functions implemented by the location identifier sending module, the receiving module, and the displaying module disclosed in the foregoing embodiments may be explained in comparison with other embodiments in this specification, and are not described herein again.
A computer storage medium in accordance with an embodiment of the present specification stores a computer program that, when executed by a processor, implements: sending a virtual object acquisition request to a server; receiving a virtual object which is fed back by the server and is generated according to the picture data and the position identification and corresponds to the object; wherein the position identifier is used for indicating the position of the object from which the picture data is taken; and displaying the virtual object.
In this embodiment, the computer storage medium includes, but is not limited to, a Random Access Memory (RAM), a Read-Only Memory (ROM), a Cache (Cache), a Hard Disk Drive (HDD), or a Memory Card (Memory Card).
In this embodiment, specific functions implemented by the computer storage medium can be explained with reference to other embodiments.
Referring to fig. 15, an embodiment of the present disclosure further provides a virtual object generation method, where the method may be applied to a client.
Step S40: obtaining a plurality of picture data acquired for a plurality of surfaces of an object, and a plurality of location identifiers; wherein the location identifier is used to indicate a location at which the picture data is taken from the object.
Step S42: sending the picture data and the position identification to a server so that the server uses the picture data combination to generate a virtual object corresponding to the object according to the position identification; wherein the location identifier is used to indicate a location at which the picture data is taken from the object.
In this embodiment, the client sends the obtained picture data and position identification to the server, instead of synthesizing a virtual object at the client. Therefore, the requirement on the computing capacity of the client is lowered, and the technology can be conveniently popularized.
In this embodiment, specific steps and functions of the virtual object display method may be explained by referring to other embodiments in this specification, and are not described herein again.
Referring to fig. 16, an embodiment of the present specification further provides a client, where the client may include a location identifier obtaining module, configured to obtain a plurality of picture data collected for a plurality of surfaces of an object, and a plurality of location identifiers; wherein the position identifier is used for indicating the position of the object from which the picture data is taken; the sending module may be configured to send the picture data and the location identifier to a server, so that the server generates a virtual object corresponding to the object by using the picture data combination according to the location identifier.
The specific functions implemented by the location identifier obtaining module and the sending module disclosed in the foregoing embodiments may be explained by referring to other embodiments provided in this specification, and are not described herein again.
A computer storage medium in accordance with an embodiment of the present specification stores a computer program that, when executed by a processor, implements: obtaining a plurality of picture data acquired for a plurality of surfaces of an object, and a plurality of location identifiers; wherein the position identifier is used for indicating the position of the object from which the picture data is taken; and sending the picture data and the position identification to a server so that the server uses the picture data combination to generate a virtual object corresponding to the object according to the position identification.
In this embodiment, the computer storage medium includes, but is not limited to, a Random Access Memory (RAM), a Read-Only Memory (ROM), a Cache (Cache), a Hard Disk Drive (HDD), or a Memory Card (Memory Card).
In this embodiment, specific functions implemented by the computer storage medium can be explained with reference to other embodiments.
Referring to fig. 17, an embodiment of the present disclosure further provides a virtual object displaying method, where the method may be applied to a server.
Step S50: receiving picture data and a position identifier provided by a first client, wherein the position identifier is used for indicating the position of an object from which the picture data is taken.
Step S54: and under the condition that an acquisition request sent by a second client is received, feeding back the picture data and the position identification to the second client, so that the second client generates a virtual object corresponding to the object according to the combination of the picture data and the position identification, and displaying the virtual object.
In the embodiment, the server can store the picture data and the position identifier without combining to generate a virtual object, so that the workload of the server is reduced. Moreover, the virtual object and the synthesis work are executed only when the virtual object and the synthesis work are required, and unnecessary work is avoided. Moreover, the computing capability of the second client can be fully utilized.
In this embodiment, specific steps and functions of the virtual object display method may be contrasted and explained with reference to other embodiments provided in this specification, and are not described herein again.
Referring to fig. 18, in another embodiment of the present specification, a server may further include a receiving module, configured to receive picture data and a location identifier provided by a first client, where the location identifier is used to indicate a location where the picture data is taken from an object; and the sending module is used for feeding back the picture data and the position identifier to a second client under the condition of receiving an acquisition request sent by the second client, so that the second client generates a virtual object corresponding to the object according to the combination of the picture data and the position identifier and displays the virtual object.
Specific functions implemented by the receiving module and the sending module disclosed in the above embodiments may be explained by referring to other embodiments provided in this specification, and are not described herein again.
A computer storage medium in accordance with an embodiment of the present specification stores a computer program that, when executed by a processor, implements: receiving picture data and a position identifier provided by a first client, wherein the position identifier is used for indicating the position of an object from which the picture data is taken; and under the condition that an acquisition request sent by a second client is received, feeding back the picture data and the position identification to the second client, so that the second client generates a virtual object corresponding to the object according to the combination of the picture data and the position identification, and displaying the virtual object.
In this embodiment, the computer storage medium includes, but is not limited to, a Random Access Memory (RAM), a Read-Only Memory (ROM), a Cache (Cache), a Hard Disk Drive (HDD), or a Memory Card (Memory Card).
In this embodiment, specific functions implemented by the computer storage medium can be explained with reference to other embodiments.
Referring to fig. 19, an embodiment of the present disclosure further provides a virtual object displaying method, where the method may be applied to a client.
Step S60: and sending an acquisition request to the server.
Step S62: receiving the picture data and the position identification fed back by the server; wherein the picture data is used to represent a surface of an object; the position identifier is used for representing the position of the picture data taken from the object.
Step S64: and generating a virtual object corresponding to the object according to the picture data and the position identification combination.
Step S66: and displaying the virtual object.
In this embodiment, the client obtains the corresponding picture data and the position identifier from the server to generate the virtual object by combining the picture data and the position identifier when the virtual object needs to be displayed. Therefore, the synthesis work of the virtual object can be executed according to the actual business requirement.
In this embodiment, specific steps and functions of the virtual object display method may be contrasted and explained with reference to other embodiments provided in this specification, and are not described herein again.
Referring to fig. 20, an embodiment of the present specification further provides a client, where the client may include a sending module, configured to send an obtaining request to a server; the receiving module is used for receiving the image data and the position identification fed back by the server; wherein the picture data is used to represent a surface of an object; the position identification is used for representing the position of the picture data taken from the object; the processing module is used for generating a virtual object corresponding to the object according to the picture data and the position identification combination; and the display module is used for displaying the virtual object.
The specific functions implemented by the sending module, the receiving module, the processing module, and the display module disclosed in the foregoing embodiments may be explained by referring to other embodiments provided in this specification, and are not described herein again.
A computer storage medium in accordance with an embodiment of the present specification stores a computer program that, when executed by a processor, implements: sending an acquisition request to a server; receiving picture data and position identification fed back by a server; wherein the picture data is used to represent a surface of an object; the position identification is used for representing the position of the picture data taken from the object; generating a virtual object corresponding to the object according to the combination of the picture data and the position identification; and displaying the virtual object.
In this embodiment, the computer storage medium includes, but is not limited to, a Random Access Memory (RAM), a Read-Only Memory (ROM), a Cache (Cache), a Hard Disk Drive (HDD), or a Memory Card (Memory Card).
In this embodiment, specific functions implemented by the computer storage medium can be explained with reference to other embodiments.
Referring to fig. 21, an embodiment of the present disclosure further provides a virtual object displaying method, which may be applied to a client. The method may include the following steps.
Step S70: and sending an acquisition request to the server.
Step S72: and receiving picture data fed back by the server, wherein the picture data is used for representing the surface of the object.
Step S74: and generating a position identifier from the position of the object according to the picture data of the surface of the object.
Step S76: and generating a virtual object corresponding to the object according to the picture data and the position identification combination.
Step S78: and displaying the virtual object.
In this embodiment, the client may generate the location identifier from the picture data. Specifically, the position identifier may be set for the picture data according to the sequence of the received picture data. The position identifier can also be allocated to each picture data by analyzing the content in the picture data and analyzing the correlation between the boundaries of different picture data. In this way, a virtual object can be generated from the combination of the picture data and the location identity.
In this embodiment, specific steps and functions of the virtual object display method may be contrasted and explained with reference to other embodiments provided in this specification, and are not described herein again.
Referring to fig. 22, an embodiment of the present disclosure further provides a client, which may include a sending module, configured to send an obtaining request to a server; the receiving module is used for receiving picture data fed back by the server, wherein the picture data is used for representing the surface of an object; the first processing module is used for generating a position identifier according to the position of the object, wherein the picture data of the surface of the object is obtained from the position of the object; the second processing module is used for generating a virtual object corresponding to the object according to the picture data and the position identification combination; and the display module is used for displaying the virtual object.
The specific functions implemented by the sending module, the receiving module, the first processing module, the second processing module, and the display module disclosed in the foregoing embodiments may be contrasted and explained with reference to other embodiments provided in this specification, and are not described herein again.
A computer storage medium in accordance with an embodiment of the present specification stores a computer program that, when executed by a processor, implements: sending an acquisition request to a server; receiving picture data fed back by the server, wherein the picture data is used for representing the surface of the object; generating a position identifier from the position of the object according to the picture data of the surface of the object; generating a virtual object corresponding to the object according to the picture data and the position identification; and displaying the virtual object.
In this embodiment, the computer storage medium includes, but is not limited to, a Random Access Memory (RAM), a Read-Only Memory (ROM), a Cache (Cache), a Hard Disk Drive (HDD), or a Memory Card (Memory Card).
In this embodiment, specific functions implemented by the computer storage medium can be explained with reference to other embodiments.
Referring to fig. 23, an embodiment of the present disclosure further provides a virtual object displaying method, where the method may be applied to a server. The method may include the following steps.
Step S80: and receiving picture data sent by the first client for representing the surface of the object.
Step S82: and generating a position identifier from the position of the object according to the picture data of the surface of the object.
Step S86: under the condition of receiving an acquisition request sent by a second client, sending the picture data and the position identifier to the second client; enabling the second client to generate a virtual object corresponding to the object according to the picture data and the position identification; and displaying the virtual object.
In this embodiment, the server may generate the virtual object from the combination of the picture data and the position identifier. Therefore, when the second client needs to display the virtual object, the server sends the virtual object to the second client, so that the second client does not need to perform synthesis work, and the requirement on the computing capacity of the second client is reduced. Furthermore, the server synthesizes the virtual object, and the server and the second client are in one-to-many relationship, so that the overall system has relatively low operation workload.
In this embodiment, specific steps and functions of the virtual object display method may be contrasted and explained with reference to other embodiments provided in this specification, and are not described herein again.
Referring to fig. 24, in an embodiment of the present specification, a server may further include a receiving module, configured to receive picture data sent by a first client and used for representing a surface of an object; the processing module is used for generating a position identifier according to the picture data of the surface of the object, wherein the picture data is obtained from the position of the object; the sending module is used for sending the picture data and the position identifier to a second client under the condition of receiving an acquisition request sent by the second client; and enabling the second client to generate a virtual object corresponding to the object according to the picture data and the position identification, and displaying the virtual object.
Specific functions implemented by the receiving module, the processing module, and the sending module disclosed in the foregoing embodiments may be explained by referring to other embodiments provided in this specification, and are not described herein again.
A computer storage medium in accordance with an embodiment of the present specification stores a computer program that, when executed by a processor, implements: receiving picture data which are sent by a first client and used for representing the surface of an object; generating a position identifier from the position of the object according to the picture data of the surface of the object; under the condition of receiving an acquisition request sent by a second client, sending the picture data and the position identifier to the second client; enabling the second client to generate a virtual object corresponding to the object according to the picture data and the position identification; and displaying the virtual object.
In this embodiment, the computer storage medium includes, but is not limited to, a Random Access Memory (RAM), a Read-Only Memory (ROM), a Cache (Cache), a Hard Disk Drive (HDD), or a Memory Card (Memory Card).
In this embodiment, specific functions implemented by the computer storage medium can be explained with reference to other embodiments.
In one embodiment, the present specification further provides a virtual object providing method. The method may further comprise: acquiring first picture data corresponding to the first operation prompt; wherein the first operation prompt is used for representing guide information of the first picture data; the first picture data corresponds to a first position identification which represents the position of the object from which the first picture data is taken; acquiring second picture data corresponding to the second operation prompt; wherein the second operation prompt is used for indicating guide information of the second picture data; the second picture data corresponds to a second position identification indicating a position at which the second picture data is taken from the object; acquiring third picture data corresponding to a third operation prompt; wherein the third operation prompts guide information for representing the third picture data; the third picture data corresponds to a third position identification indicating a position at which the third picture data is taken from the object; acquiring fourth picture data corresponding to a fourth operation prompt; wherein the fourth operation prompt is guide information for representing the fourth picture data; the fourth picture data corresponds to a fourth position identification indicating a position where the fourth picture data is taken from the object; wherein the first location identifier to the fourth location identifier are different from each other; generating a virtual object at least according to the first picture data to the fourth picture data and the corresponding first position identifier to the fourth position identifier; wherein the virtual object has at least four surfaces formed by the first picture data to the fourth picture data, respectively; and providing the virtual object to a server, so that the server provides the virtual object to a client needing to show the virtual object.
In the present embodiment, the number of acquired image data is not limited to the four image data described above, and may be determined specifically according to the number of surfaces of the object. Specifically, for example, in the case where the object is in a tetrahedral shape, four pieces of picture data can be acquired in total. Of course, the shape of the object is not limited to a tetrahedron, but may be other polyhedrons. Such as a parallelepiped. At this time, at least four surface data of the object may be obtained, and further, the remaining two surfaces may be correspondingly provided with default picture data without further user uploading or photographing.
In the present embodiment, the operation prompt may be guidance information for the operation of the user. Specifically, the operation prompt may be a text, a sound, or the like. In this way, the user is informed what further action to perform and for what target. For example, the first operation prompt may be "specify a main view of an object". Thus, after seeing the operation prompt, the user knows that a picture data needs to be designated or taken currently as a main view. Obviously, at this time, the user will typically specify or photograph a front view of the object.
In this embodiment, the positions of the object corresponding to the first to fourth position marks are different from each other. Thus, the position of each picture data taken from the object can be appointed through the position identification. Thus, the virtual object is formed through further automatic combination. Specifically, the first position identifier may correspond to a surface of the main view of the object, the second position identifier may correspond to a left surface adjacent to the surface of the main view of the object, and the other position identifiers may also correspond to a surface of the object, which is not described again.
In this embodiment, the user is guided to acquire the picture data by the operation prompt. Thus, convenience is brought to users. Furthermore, the position of the picture data taken from the object is appointed through the operation prompt, so that the position identification can be automatically set for each picture data. Therefore, convenience is brought to the user, and the error probability is reduced.
The embodiment of the specification also provides a virtual object providing method. The method may further comprise: acquiring first picture data corresponding to the first operation prompt; wherein the first operation prompt is used for representing guide information of the first picture data; the first picture data corresponds to a first position identification which represents the position of the object from which the first picture data is taken; acquiring second picture data corresponding to the second operation prompt; wherein the second operation prompt is used for indicating guide information of the second picture data; the second picture data corresponds to a second position identification indicating a position at which the second picture data is taken from the object; acquiring third picture data corresponding to a third operation prompt; wherein the third operation prompts guide information for representing the third picture data; the third picture data corresponds to a third position identification indicating a position at which the third picture data is taken from the object; acquiring fourth picture data corresponding to a fourth operation prompt; wherein the fourth operation prompt is guide information for representing the fourth picture data; the fourth picture data corresponds to a fourth position identification indicating a position where the fourth picture data is taken from the object; wherein the first location identifier to the fourth location identifier are different from each other; sending the first to fourth picture data and the first to fourth position identifiers to a server, so that the server generates a virtual object at least according to the first to fourth picture data and the corresponding first to fourth position identifiers; wherein the virtual object has at least four surfaces formed by the first picture data to the fourth picture data, respectively; and the server provides the virtual object to a client needing to display the virtual object.
In this embodiment, the user can specify the picture data according to the operation prompt of the client. The client provides the picture data to the server to synthesize the virtual object. Therefore, the requirement on the computing capacity of the client can be reduced, and the virtual object providing method can be conveniently popularized and used.
The embodiment of the specification further provides a virtual object providing method, and the method is applied to the first client. The method may include: acquiring first picture data corresponding to the first operation prompt; wherein the first operation prompt is used for representing guide information of the first picture data; the first picture data corresponds to a first position identification which represents the position of the object from which the first picture data is taken; acquiring second picture data corresponding to the second operation prompt; wherein the second operation prompt is used for indicating guide information of the second picture data; the second picture data corresponds to a second position identification indicating a position at which the second picture data is taken from the object; acquiring third picture data corresponding to a third operation prompt; wherein the third operation prompts guide information for representing the third picture data; the third picture data corresponds to a third position identification indicating a position at which the third picture data is taken from the object; acquiring fourth picture data corresponding to a fourth operation prompt; wherein the fourth operation prompt is guide information for representing the fourth picture data; the fourth picture data corresponds to a fourth position identification indicating a position where the fourth picture data is taken from the object; wherein the first location identifier to the fourth location identifier are different from each other; sending the first to fourth picture data and the first to fourth position identifiers to a server, so that the server at least sends the first to fourth picture data and the corresponding first to fourth position identifiers to a second client, so that the second client generates a virtual object in a combined manner, wherein the virtual object at least has four surfaces formed by the first to fourth picture data; and a client for presenting the virtual object.
In this embodiment, after the first client obtains the picture data according to the operation prompt, the picture data may be stored in the server. The server can obtain the picture data from the server to synthesize the virtual object under the condition that the second client has the display requirement without combining to generate the virtual object. Therefore, the workload of the server is reduced, and the storage space is saved. Furthermore, the composition work of the virtual object is performed only when the virtual object needs to be presented, so that unnecessary workload is reduced.
The embodiment of the specification provides a virtual object display and generation method, a client, a server, a system and a computer storage medium. Generating a virtual object according to the position identification and the picture data, generating prompt information according to target information in the picture data and the position of the target information, finally displaying the virtual object, and displaying the prompt information on the virtual object according to the prompt information. The method and the device have the advantages that the virtual object corresponding to the object can be displayed at low cost, the prompt information generated according to the target information on the object corresponding to the virtual object can be displayed, and the display experience of the object is improved.
The foregoing description of various embodiments of the present specification is provided for the purpose of illustration to those skilled in the art. It is not intended to be exhaustive or to limit the invention to a single disclosed embodiment. As described above, various alternatives and modifications of the present specification will be apparent to those skilled in the art to which the above-described technology pertains. Thus, while some alternative embodiments have been discussed in detail, other embodiments will be apparent or relatively easy to derive by those of ordinary skill in the art. This specification is intended to embrace all alternatives, modifications, and variations of the present invention that have been discussed herein, as well as other embodiments that fall within the spirit and scope of the above-mentioned application.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, as for the method, the service server and the computer storage medium embodiments, since they are basically similar to the embodiments of the resource management system, the description is simple, and the relevant points can be referred to the partial description of the embodiments of the resource management system.
The description is operational with numerous general purpose or special purpose computing system environments or configurations. For example: personal computers, server computers, hand-held or portable devices, tablet-type devices, multiprocessor systems, microprocessor-based systems, set top boxes, programmable consumer electronics, network PCs, minicomputers, mainframe computers, distributed computing environments that include any of the above systems or devices, and the like.
While the specification has been described with respect to the embodiments, those skilled in the art will appreciate that there are numerous variations and permutations of the specification that fall within the spirit and scope of the specification, and it is intended that the appended claims include such variations and modifications as fall within the spirit and scope of the specification.

Claims (33)

1. A virtual object generation method is applied to a client; the method comprises the following steps:
obtaining a plurality of picture data acquired for a plurality of surfaces of an object, and a plurality of location identifiers; wherein the position identifier is used for indicating the position of the object from which the picture data is taken; wherein the object is shaped as a parallelepiped;
and sending the picture data and the position identification to a server so that the server uses the picture data combination to generate a virtual object corresponding to the object according to the position identification.
2. The method of claim 1, further comprising:
detecting edges in the picture data representing valid picture data;
and extracting effective picture data in the picture data according to the detected edge which represents the effective picture data in the picture data.
3. The method of claim 1, further comprising:
detecting the direction of a specified target in the picture data;
and when the direction of the specified target in the picture data does not accord with the preset direction, adjusting the direction of the specified target in the picture data to make the direction of the specified target accord with the preset direction.
4. The method of claim 1, further comprising:
detecting the size of the picture data;
determining the position connection relation of the picture data according to the size of the picture data;
and generating a corresponding position identifier for the picture data according to the position connection relation.
5. The method of claim 1, further comprising:
detecting target information in the picture data;
and generating a corresponding position identifier for the picture data according to the position of the target information on the object.
6. The method of claim 1, further comprising: generating prompt information based on the picture data; the prompt information is used for prompting target information in the picture data;
correspondingly, in the step of sending the picture data and the position identifier to a server, the picture data, the position identifier and the prompt message are sent to the server, so that the server uses the picture data combination to generate a virtual object corresponding to the object according to the prompt message and the position identifier.
7. The method of claim 6, wherein the step of generating the prompt message comprises:
selecting a designated position in the picture data; and generating the prompt message at the specified position.
8. The method of claim 6, wherein the prompt message corresponds to a positioning message; correspondingly, the prompt message is located at the position represented by the positioning message.
9. The method of claim 6, wherein the step of generating the prompt message comprises:
identifying target information in the picture data;
acquiring pixel point coordinates of target information in the picture data;
and generating the prompt information at the position of the pixel point coordinate or the position of the picture data corresponding to the coordinate of which the position tends to be the same as the pixel point coordinate.
10. The method of claim 1, wherein in the step of obtaining a plurality of picture data acquired for a plurality of surfaces of the object and a plurality of location identifiers, comprises:
acquiring picture data of a plurality of surfaces of the object according to a specified sequence;
and setting position identification for the picture data according to the designated sequence.
11. The method of claim 10, wherein in the step of obtaining a plurality of picture data acquired for a plurality of surfaces of the object and a plurality of location identifiers, comprises:
displaying a picture data acquisition interface; the interface is provided with a plurality of picture data setting controls;
receiving picture data corresponding to a picture data setting control input and designated by a user; and generating a position identifier corresponding to each piece of picture data according to the corresponding picture data setting control.
12. A virtual object display method is characterized in that the method is applied to a server; the method comprises the following steps:
receiving picture data and position identification which are provided by a first client and used for representing the surface of an object; wherein the position identifier is used for indicating the position of the object from which the picture data is taken;
generating a virtual object corresponding to the object according to the combination of the picture data and the position identification;
and under the condition of receiving a virtual object acquisition request sent by a second client, sending the virtual object to the second client so that the second client displays the virtual object.
13. The method of claim 12, wherein the step of generating the virtual object comprises:
determining the connection relation of the picture data according to the position identification;
and splicing the picture data according to the connection relation to generate a virtual object corresponding to the object.
14. The method of claim 12, wherein the step of generating the virtual object comprises:
generating a model corresponding to the shape of the object according to the picture data;
and overlaying the picture data at the position corresponding to the position identifier in the model according to the position identifier to generate a virtual object corresponding to the object.
15. The method of claim 14, wherein the step of generating the model corresponding to the shape of the object comprises:
generating an initial model according to the picture data;
determining the size relationship among the picture data according to the picture data;
and scaling the initial model in an equal ratio according to the size relation to generate a model corresponding to the shape of the object.
16. The method of claim 12, further comprising:
receiving prompt information provided by the first client; the prompt information is used for prompting target information in the picture data;
correspondingly, under the condition of receiving a virtual object acquisition request sent by the second client, the virtual object and the prompt message are sent to the second client, so that the second client displays the virtual object and the prompt message.
17. The method of claim 16, wherein the prompt message corresponds to a location message;
correspondingly, the virtual object, the prompt message and the positioning message are sent to the second client side, so that the second client side can display the virtual object and the prompt message; and the prompt message is positioned at the position represented by the positioning message.
18. A virtual object display method is characterized in that the method is applied to a client; the method comprises the following steps:
sending a virtual object acquisition request to a server;
receiving a virtual object which is fed back by the server and is generated according to the picture data and the position identification and corresponds to the object; wherein the position identifier is used for indicating the position of the object from which the picture data is taken;
and displaying the virtual object.
19. The method of claim 18, further comprising:
receiving prompt information fed back by the server; the prompt information is used for prompting target information in the picture data;
correspondingly, the step of displaying the virtual object comprises the following steps: and displaying the virtual object and the prompt message.
20. The method of claim 19, wherein the step of presenting the virtual object and the hint information comprises:
generating a prompt list according to the prompt information;
and under the condition that the prompt information in the prompt list is clicked, displaying target information of the virtual object corresponding to the clicked prompt information at the client.
21. The method of claim 19, wherein the step of presenting the virtual object and the hint information comprises:
displaying the virtual object; displaying the prompt information at the position of the virtual object corresponding to the target information corresponding to the prompt information; or displaying the prompt information in the adjacent area of the target information corresponding to the virtual object and the prompt information.
22. The method of claim 19, wherein the step of presenting the virtual object and the hint information further comprises:
and in the step of displaying the prompt information, adjusting the display effect of the prompt information according to the display position of the prompt information.
23. The method of claim 19, further comprising:
and after receiving the virtual object and the prompt message, the client adjusts the display sizes of the virtual object and the prompt message according to the size of a display window of the client.
24. The method of claim 19, wherein the prompt message corresponds to a location message;
correspondingly, in the displaying of the virtual object and the prompt message, the prompt message is located at the position indicated by the positioning message.
25. A virtual object generation method is applied to a client and comprises the following steps:
obtaining a plurality of picture data acquired for a plurality of surfaces of an object, and a plurality of location identifiers; wherein the position identifier is used for indicating the position of the object from which the picture data is taken;
and sending the picture data and the position identification to a server so that the server uses the picture data combination to generate a virtual object corresponding to the object according to the position identification.
26. A virtual object display method is applied to a server and comprises the following steps:
receiving picture data and a position identifier provided by a first client, wherein the position identifier is used for indicating the position of an object from which the picture data is taken;
and under the condition that an acquisition request sent by a second client is received, feeding back the picture data and the position identification to the second client, so that the second client generates a virtual object corresponding to the object according to the combination of the picture data and the position identification, and displaying the virtual object.
27. A virtual object display method is applied to a client and comprises the following steps:
sending an acquisition request to a server;
receiving the picture data and the position identification fed back by the server; wherein the picture data is used to represent a surface of an object; the position identification is used for representing the position of the picture data taken from the object;
generating a virtual object corresponding to the object according to the combination of the picture data and the position identification;
and displaying the virtual object.
28. A virtual object display method is applied to a client and comprises the following steps:
sending an acquisition request to a server;
receiving picture data fed back by the server, wherein the picture data is used for representing the surface of the object;
generating a position identifier from the position of the object according to the picture data of the surface of the object;
generating a virtual object corresponding to the object according to the combination of the picture data and the position identification;
and displaying the virtual object.
29. A virtual object display method is applied to a server and comprises the following steps:
receiving picture data which are sent by a first client and used for representing the surface of an object;
generating a position identifier from the position of the object according to the picture data of the surface of the object;
under the condition of receiving an acquisition request sent by a second client, sending the picture data and the position identifier to the second client, so that the second client generates a virtual object corresponding to the object according to the picture data and the position identifier; and displaying the virtual object.
30. A virtual object providing method, comprising:
acquiring first picture data corresponding to the first operation prompt; wherein the first operation prompt is used for representing guide information of the first picture data; the first picture data corresponds to a first position identification which represents the position of the object from which the first picture data is taken;
acquiring second picture data corresponding to the second operation prompt; wherein the second operation prompt is used for indicating guide information of the second picture data; the second picture data corresponds to a second position identification indicating a position at which the second picture data is taken from the object;
acquiring third picture data corresponding to a third operation prompt; wherein the third operation prompts guide information for representing the third picture data; the third picture data corresponds to a third position identification indicating a position at which the third picture data is taken from the object;
acquiring fourth picture data corresponding to a fourth operation prompt; wherein the fourth operation prompt is guide information for representing the fourth picture data; the fourth picture data corresponds to a fourth position identification indicating a position where the fourth picture data is taken from the object; wherein the first location identifier to the fourth location identifier are different from each other;
generating a virtual object at least according to the first picture data to the fourth picture data and the corresponding first position identifier to the fourth position identifier; wherein the virtual object has at least four surfaces formed by the first picture data to the fourth picture data, respectively;
and providing the virtual object to a server, so that the server provides the virtual object to a client needing to show the virtual object.
31. The method of claim 30, wherein the positions of the objects respectively corresponding to the first position identifier to the fourth position identifier are different from each other.
32. A virtual object providing method, comprising:
acquiring first picture data corresponding to the first operation prompt; wherein the first operation prompt is used for representing guide information of the first picture data; the first picture data corresponds to a first position identification which represents the position of the object from which the first picture data is taken;
acquiring second picture data corresponding to the second operation prompt; wherein the second operation prompt is used for indicating guide information of the second picture data; the second picture data corresponds to a second position identification indicating a position at which the second picture data is taken from the object;
acquiring third picture data corresponding to a third operation prompt; wherein the third operation prompts guide information for representing the third picture data; the third picture data corresponds to a third position identification indicating a position at which the third picture data is taken from the object;
acquiring fourth picture data corresponding to a fourth operation prompt; wherein the fourth operation prompt is guide information for representing the fourth picture data; the fourth picture data corresponds to a fourth position identification indicating a position where the fourth picture data is taken from the object; wherein the first location identifier to the fourth location identifier are different from each other;
sending the first to fourth picture data and the first to fourth position identifiers to a server, so that the server generates a virtual object at least according to the first to fourth picture data and the corresponding first to fourth position identifiers; wherein the virtual object has at least four surfaces formed by the first picture data to the fourth picture data, respectively; and the server provides the virtual object to a client needing to display the virtual object.
33. A virtual object providing method is applied to a first client and comprises the following steps:
acquiring first picture data corresponding to the first operation prompt; wherein the first operation prompt is used for representing guide information of the first picture data; the first picture data corresponds to a first position identification which represents the position of the object from which the first picture data is taken;
acquiring second picture data corresponding to the second operation prompt; wherein the second operation prompt is used for indicating guide information of the second picture data; the second picture data corresponds to a second position identification indicating a position at which the second picture data is taken from the object;
acquiring third picture data corresponding to a third operation prompt; wherein the third operation prompts guide information for representing the third picture data; the third picture data corresponds to a third position identification indicating a position at which the third picture data is taken from the object;
acquiring fourth picture data corresponding to a fourth operation prompt; wherein the fourth operation prompt is guide information for representing the fourth picture data; the fourth picture data corresponds to a fourth position identification indicating a position where the fourth picture data is taken from the object; wherein the first location identifier to the fourth location identifier are different from each other;
sending the first to fourth picture data and the first to fourth position identifiers to a server, so that the server at least sends the first to fourth picture data and the corresponding first to fourth position identifiers to a second client, so that the second client generates a virtual object in a combined manner, wherein the virtual object at least has four surfaces formed by the first to fourth picture data; and a client for presenting the virtual object.
CN201810979847.7A 2018-08-27 2018-08-27 Virtual object display, generation and providing method Pending CN110866793A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810979847.7A CN110866793A (en) 2018-08-27 2018-08-27 Virtual object display, generation and providing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810979847.7A CN110866793A (en) 2018-08-27 2018-08-27 Virtual object display, generation and providing method

Publications (1)

Publication Number Publication Date
CN110866793A true CN110866793A (en) 2020-03-06

Family

ID=69650940

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810979847.7A Pending CN110866793A (en) 2018-08-27 2018-08-27 Virtual object display, generation and providing method

Country Status (1)

Country Link
CN (1) CN110866793A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007140638A1 (en) * 2006-06-02 2007-12-13 Eidgenössische Technische Hochschule Zürich Method and system for generating a 3d representation of a dynamically changing 3d scene
CN101245994A (en) * 2008-03-17 2008-08-20 南京航空航天大学 Calibration method for object surface three-dimensional contour structure light measurement system
CN101706263A (en) * 2009-11-10 2010-05-12 倪友群 Three-dimensional surface measurement method and measurement system
CN101911713A (en) * 2008-09-30 2010-12-08 松下电器产业株式会社 Recording medium, reproduction device, system LSI, reproduction method, spectacle, and display device associated with 3D video
CN103686140A (en) * 2013-12-30 2014-03-26 张瀚宇 Projection manufacturing method for three-dimensional object based on scheduled site
US20170024896A1 (en) * 2015-07-21 2017-01-26 IAM Robotics, LLC Three Dimensional Scanning and Data Extraction Systems and Processes for Supply Chain Piece Automation
CN111833458A (en) * 2020-06-30 2020-10-27 北京市商汤科技开发有限公司 Image display method and device, equipment and computer readable storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007140638A1 (en) * 2006-06-02 2007-12-13 Eidgenössische Technische Hochschule Zürich Method and system for generating a 3d representation of a dynamically changing 3d scene
CN101245994A (en) * 2008-03-17 2008-08-20 南京航空航天大学 Calibration method for object surface three-dimensional contour structure light measurement system
CN101911713A (en) * 2008-09-30 2010-12-08 松下电器产业株式会社 Recording medium, reproduction device, system LSI, reproduction method, spectacle, and display device associated with 3D video
CN101706263A (en) * 2009-11-10 2010-05-12 倪友群 Three-dimensional surface measurement method and measurement system
CN103686140A (en) * 2013-12-30 2014-03-26 张瀚宇 Projection manufacturing method for three-dimensional object based on scheduled site
US20170024896A1 (en) * 2015-07-21 2017-01-26 IAM Robotics, LLC Three Dimensional Scanning and Data Extraction Systems and Processes for Supply Chain Piece Automation
CN111833458A (en) * 2020-06-30 2020-10-27 北京市商汤科技开发有限公司 Image display method and device, equipment and computer readable storage medium

Similar Documents

Publication Publication Date Title
US11886489B2 (en) System and method of identifying visual objects
US10210659B2 (en) Augmented reality system, method, and apparatus for displaying an item image in a contextual environment
CN104346834B (en) Message processing device and position designation method
JP7337428B1 (en) CONTROL METHOD, CONTROL DEVICE, AND RECORDING MEDIUM FOR INTERACTIVE THREE-DIMENSIONAL REPRESENTATION OF OBJECT
US20200311659A1 (en) Information processing apparatus, information processing method, and program
KR102234172B1 (en) Apparatus and method for providing digital twin book shelf
WO2015074405A1 (en) Methods and devices for obtaining card information
CN110866793A (en) Virtual object display, generation and providing method
EP2816520A1 (en) A method for interchanging data between the three-demensional shopping platform and the external platform
KR20140039508A (en) System and method for virtual coordination management
US20230209171A1 (en) Image processing apparatus, image processing method, and program
CN111158480B (en) Scene model sharing method and system, augmented reality device and storage medium
CN114723923B (en) Transmission solution simulation display system and method
US11256907B2 (en) Classification of subjects within a digital image
TWM615954U (en) Location display system
KR20150125417A (en) Method for providing information for objects based upon image
KR20240054141A (en) A display apparatus and a method of operating the display apparatus
CN111625092A (en) Archive consulting system, method, computer device and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20200306