CN113973177A - A 5G-based method and system for shooting virtual characters in tourism - Google Patents
A 5G-based method and system for shooting virtual characters in tourism Download PDFInfo
- Publication number
- CN113973177A CN113973177A CN202111230986.8A CN202111230986A CN113973177A CN 113973177 A CN113973177 A CN 113973177A CN 202111230986 A CN202111230986 A CN 202111230986A CN 113973177 A CN113973177 A CN 113973177A
- Authority
- CN
- China
- Prior art keywords
- client
- server
- image
- historical
- avatar
- 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
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/61—Control of cameras or camera modules based on recognised objects
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N20/00—Machine learning
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/63—Control of cameras or camera modules by using electronic viewfinders
- H04N23/631—Graphical user interfaces [GUI] specially adapted for controlling image capture or setting capture parameters
- H04N23/632—Graphical user interfaces [GUI] specially adapted for controlling image capture or setting capture parameters for displaying or modifying preview images prior to image capturing, e.g. variety of image resolutions or capturing parameters
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/80—Camera processing pipelines; Components thereof
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- Medical Informatics (AREA)
- Data Mining & Analysis (AREA)
- Evolutionary Computation (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Artificial Intelligence (AREA)
- Physics & Mathematics (AREA)
- Computing Systems (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Mathematical Physics (AREA)
- Human Computer Interaction (AREA)
- Studio Devices (AREA)
Abstract
The application discloses a method and a system for shooting and processing virtual characters in travel based on 5G, wherein the method comprises the following steps: the client calls the camera to generate a camera view frame; the client intercepts the image in the camera viewfinder and sends the image to the server; the server identifies the article in the image to judge whether the image comprises the preset marker; the server searches a historical person corresponding to the preset marker under the condition that the preset marker is identified; the server sends the identification information corresponding to the historical figure to the client; the client searches for the locally stored virtual character image according to the identification information, and displays the virtual character image in a camera view-finding frame. Through the method and the device, the problem that in the prior art, the landscape can only be shot for shooting the historical meaning scenic spot is solved, so that historical figures can be shot in the photos, and the playability of shooting in the scenic spot is improved.
Description
Technical Field
The application relates to the field of image processing, in particular to a method and a system for shooting and processing virtual characters in travel based on 5G.
Background
For tourist attractions with historical significance, if the photo shoot is taken for memorial purpose, the photo shoot is just the photo of a photographer with the landscape, the photo shoot is uninteresting, and certain educational significance is lacked.
For the problem existing in the prior art, no better solution can be provided at present.
Disclosure of Invention
The embodiment of the application provides a method and a system for shooting and processing virtual characters in tourism based on 5G, and the method and the system are used for at least solving the problem that in the prior art, shooting of historical significance scenic spots can only be used for shooting landscapes.
According to one aspect of the application, a 5G-based virtual character shooting processing method in travel is provided, and is applied to travel software, where the travel software includes a client and a server, where the client is connected to the server through a 5G mobile communication network, and includes: the client calls a camera to generate a camera view frame; the client intercepts the image in the camera viewfinder and sends the image to the server; the server identifies the article in the image to judge whether the image comprises a preset marker or not; the server searches a historical person corresponding to the preset identifier under the condition that the preset identifier is identified; the server sends the identification information corresponding to the historical figure to the client; and the client searches for a locally stored virtual character image according to the identification information and displays the virtual character image in the camera viewing frame.
Further, still include: and the client sends a request message to the server under the condition that the virtual character image is not found locally, wherein the request message is used for requesting the server to send data corresponding to the virtual character image to the client, and the data is used for constructing and rendering the virtual character image.
Further, still include: after receiving the request message, the server sends data corresponding to the virtual character to the client; and after receiving the data corresponding to the virtual character image, the client stores the data locally.
Further, the corresponding relation between the preset identifier and the historical person is configured in advance.
Further, the predetermined identifier includes: the sign that sets up in preset position in advance, wherein, draw different patterns on different signs, each kind of pattern corresponds a historical people.
According to another aspect of the present application, there is also provided a 5G-based virtual character shooting processing system for use in tourism, the system including a client and a server, wherein the client is connected to the server through a 5G mobile communication network, and the system includes: the client is used for calling the camera to generate a camera view-finding frame; the client is used for intercepting the image in the camera viewfinder and sending the image to the server; the server is used for identifying the article in the image so as to judge whether the image comprises a preset identifier; the server is used for searching a historical person corresponding to the preset identifier under the condition that the preset identifier is identified; the server is used for sending the identification information corresponding to the historical figure to the client; the client is used for searching the locally stored virtual character image according to the identification information and displaying the virtual character image in the camera viewing frame.
Further, the client is further configured to send a request message to the server when the virtual character is not found locally, where the request message is used to request the server to send data corresponding to the virtual character to the client, and the data is used to construct and render the virtual character.
Further, the server is used for sending the data corresponding to the virtual character to the client after receiving the request message; and the client is used for storing the data corresponding to the virtual character image in local after receiving the data.
Further, the corresponding relation between the preset identifier and the historical person is configured in advance.
Further, the predetermined identifier includes: the sign that sets up in preset position in advance, wherein, draw different patterns on different signs, each kind of pattern corresponds a historical people.
In the embodiment of the application, a client is adopted to call a camera to generate a camera viewing frame; the client intercepts the image in the camera viewfinder and sends the image to the server; the server identifies the article in the image to judge whether the image comprises a preset marker or not; the server searches a historical person corresponding to the preset identifier under the condition that the preset identifier is identified; the server sends the identification information corresponding to the historical figure to the client; and the client searches for a locally stored virtual character image according to the identification information and displays the virtual character image in the camera viewing frame. Through the method and the device, the problem that in the prior art, the landscape can only be shot for shooting the historical meaning scenic spot is solved, so that historical figures can be shot in the photos, and the playability of shooting in the scenic spot is improved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this application, illustrate embodiments of the application and, together with the description, serve to explain the application and are not intended to limit the application. In the drawings:
fig. 1 is a flowchart of a virtual character photographing processing method in 5G-based travel according to an embodiment of the present application.
Detailed Description
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict. The present application will be described in detail below with reference to the embodiments with reference to the attached drawings.
It should be noted that the steps illustrated in the flowcharts of the figures may be performed in a computer system such as a set of computer-executable instructions and that, although a logical order is illustrated in the flowcharts, in some cases, the steps illustrated or described may be performed in an order different than presented herein.
The embodiment provides a method for shooting and processing a virtual character in travel based on 5G, which is applied to travel software, wherein the travel software includes a client and a server, wherein the client is connected with the server through a 5G mobile communication network, fig. 1 is a flowchart of the method for shooting and processing the virtual character in travel based on 5G according to the embodiment of the present application, and as shown in fig. 1, the flowchart includes the following steps:
step S102, the client calls a camera to generate a camera view-finding frame;
step S104, the client intercepts the image in the camera viewfinder and sends the image to the server;
step S106, the server identifies the article in the image to judge whether the image comprises a preset identifier;
in this step, the correspondence relationship between the predetermined identifier and the historical person may be configured in advance. The identifier may be of a wide variety, for example, the predetermined identifier may comprise: the sign that sets up in preset position in advance, wherein, draw different patterns on different signs, each kind of pattern corresponds a historical people.
Step S108, the server searches a historical person corresponding to the preset identifier under the condition that the preset identifier is identified;
step S110, the server sends the identification information corresponding to the historical characters to the client;
and step S112, the client searches for the locally stored virtual character according to the identification information and displays the virtual character in the camera viewing frame.
Optionally, the client sends a request message to the server when the virtual character is not found locally, where the request message is used to request the server to send data corresponding to the virtual character to the client, and the data is used to construct and render the virtual character. After receiving the request message, the server sends data corresponding to the virtual character to the client; and after receiving the data corresponding to the virtual character image, the client stores the data locally.
Through the steps, the problem that in the prior art, the shooting of historical scenic spots only can be used for shooting landscapes is solved, so that historical figures can be shot into photos, and the playability of shooting the scenic spots is improved.
As an optionally added embodiment, the client intercepting and sending the image in the camera viewfinder to the server includes: the client keeps the camera viewfinder normally displaying real-time images at the front end; and the client intercepts the image in the camera viewing frame in the background and sends the image to the server.
Optionally, after the virtual character is displayed in the camera finder frame, the client obtains a height ratio of a shot person in the finder frame in the camera finder frame, and the client adjusts the height ratio of the virtual character according to the height ratio of the shot person in the finder frame, where the adjusted height ratio of the virtual character is the same as the height ratio of the shot person.
As another alternative, the body type of the subject in the camera finder frame may be acquired, and the body type of the virtual person may be adjusted according to the body type of the subject.
Identifying the subject's body type may be performed using a machine learning model. Training a neural network-based machine learning model using a plurality of sets of training data, wherein each set of training data in the plurality of sets of training data comprises input data and output data, wherein the input data is an image including a person, the output data is a label for identifying the body type of the person, the label is identified by a number, 1 represents the thinnest, and 5 represents the fatest. After training, the machine learning model can be used, and the client keeps the camera view-finding frame to normally display real-time images at the front end; after the client intercepts the image in the camera view finder in the background and sends the image to the server, the server mechanism removes the virtual character in the image, obtains the image including the shot person, sends the image including the shot person to the machine learning model, and sends the number output by the machine learning model to the client. And the client acquires the body type of the virtual character corresponding to the number according to the number and displays the body type in the camera viewfinder.
As another optional implementation, the client displays the virtual character in a touch-controllable control, the control is superimposed in the camera viewfinder, the display order of the control is prior to the order of the camera viewfinder, and the control can receive a touch operation of a user, where the touch operation is used to adjust the position of the control in the camera viewfinder and/or the size of the control in the camera.
In another alternative embodiment, if there are multiple avatars, each avatar is placed in a respective one of the controls. The control can be deleted by the user, and after the control is deleted, the control and the virtual character in the control cannot be displayed in the camera viewfinder frame.
After the user selects to shoot, the camera view-finding frame and the virtual character in the control are shot to obtain a video or a photo.
In this embodiment, an electronic device is provided, comprising a memory in which a computer program is stored and a processor configured to run the computer program to perform the method in the above embodiments.
The programs described above may be run on a processor or may also be stored in memory (or referred to as computer-readable media), which includes both non-transitory and non-transitory, removable and non-removable media, that implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
These computer programs may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks, and corresponding steps may be implemented by different modules.
Such an apparatus or system is provided in this embodiment. The system is called as a virtual character shooting processing system in 5G-based tourism, is applied to the tourism, comprises a client and a server, wherein the client is connected with the server through a 5G mobile communication network, and comprises: the client is used for calling the camera to generate a camera view-finding frame; the client is used for intercepting the image in the camera viewfinder and sending the image to the server; the server is used for identifying the article in the image so as to judge whether the image comprises a preset identifier; the server is used for searching a historical person corresponding to the preset identifier under the condition that the preset identifier is identified; the server is used for sending the identification information corresponding to the historical figure to the client; the client is used for searching the locally stored virtual character image according to the identification information and displaying the virtual character image in the camera viewing frame.
The system or the apparatus is used for implementing the functions of the method in the foregoing embodiments, and each module in the system or the apparatus corresponds to each step in the method, which has been described in the method and is not described herein again.
For example, the client is further configured to send a request message to the server when the virtual character is not found locally, where the request message is used to request the server to send data corresponding to the virtual character to the client, and the data is used to construct and render the virtual character.
For another example, the server is configured to send the data corresponding to the virtual character to the client after receiving the request message; and the client is used for storing the data corresponding to the virtual character image in local after receiving the data.
Through the embodiment, the problem that in the prior art, the landscape can only be shot for shooting the historical scenic spot is solved, so that historical figures can be shot in the photos, and the playability of shooting in the scenic spot is improved.
The above are merely examples of the present application and are not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202111230986.8A CN113973177A (en) | 2021-10-22 | 2021-10-22 | A 5G-based method and system for shooting virtual characters in tourism |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202111230986.8A CN113973177A (en) | 2021-10-22 | 2021-10-22 | A 5G-based method and system for shooting virtual characters in tourism |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN113973177A true CN113973177A (en) | 2022-01-25 |
Family
ID=79587795
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202111230986.8A Pending CN113973177A (en) | 2021-10-22 | 2021-10-22 | A 5G-based method and system for shooting virtual characters in tourism |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN113973177A (en) |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20120081393A1 (en) * | 2010-09-30 | 2012-04-05 | Pantech Co., Ltd. | Apparatus and method for providing augmented reality using virtual objects |
| CN103761758A (en) * | 2013-12-27 | 2014-04-30 | 一派视觉(北京)数字科技有限公司 | Travel virtual character photographing method and system |
| CN108961424A (en) * | 2018-07-04 | 2018-12-07 | 百度在线网络技术(北京)有限公司 | Virtual information processing method, equipment and storage medium |
| CN109615476A (en) * | 2018-12-12 | 2019-04-12 | 平安科技(深圳)有限公司 | Network dress tries method, apparatus, server and storage medium on |
| CN112579898A (en) * | 2020-12-17 | 2021-03-30 | 北京金山云网络技术有限公司 | Enterprise information management method and device and server |
| CN112669464A (en) * | 2020-03-20 | 2021-04-16 | 华为技术有限公司 | Method and equipment for sharing data |
-
2021
- 2021-10-22 CN CN202111230986.8A patent/CN113973177A/en active Pending
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20120081393A1 (en) * | 2010-09-30 | 2012-04-05 | Pantech Co., Ltd. | Apparatus and method for providing augmented reality using virtual objects |
| CN103761758A (en) * | 2013-12-27 | 2014-04-30 | 一派视觉(北京)数字科技有限公司 | Travel virtual character photographing method and system |
| CN108961424A (en) * | 2018-07-04 | 2018-12-07 | 百度在线网络技术(北京)有限公司 | Virtual information processing method, equipment and storage medium |
| CN109615476A (en) * | 2018-12-12 | 2019-04-12 | 平安科技(深圳)有限公司 | Network dress tries method, apparatus, server and storage medium on |
| CN112669464A (en) * | 2020-03-20 | 2021-04-16 | 华为技术有限公司 | Method and equipment for sharing data |
| CN112579898A (en) * | 2020-12-17 | 2021-03-30 | 北京金山云网络技术有限公司 | Enterprise information management method and device and server |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN106170101B (en) | Contents providing system, information processing equipment and content reproducing method | |
| KR101759453B1 (en) | Automated image cropping and sharing | |
| CN109345616A (en) | Two dimension rendering map generalization method, equipment and the storage medium of three-dimensional pet | |
| CN107690673A (en) | Image processing method and device and server | |
| CN108174097A (en) | Method and device for taking pictures and providing shooting parameters | |
| WO2023193521A1 (en) | Video inpainting method, related apparatus, device and storage medium | |
| CN110021071A (en) | Rendering method, device and equipment in a kind of application of augmented reality | |
| CN105430269B (en) | A kind of photographic method and device applied to mobile terminal | |
| CN110868538A (en) | Method and electronic equipment for recommending shooting posture | |
| WO2021227919A1 (en) | Method and device for image data encoding, display method and device, and electronic device | |
| JP2023172893A (en) | Control method, control device, and recording medium for interactive three-dimensional representation of target object | |
| US20200258304A1 (en) | Video map engine system | |
| US20210352206A1 (en) | Digital media frame and method for configuring a field of view of a digital media frame | |
| CN107203646A (en) | A kind of intelligent social sharing method and device | |
| CN114418861A (en) | Camera image splicing processing method and system | |
| CN111242107B (en) | Method and electronic device for setting virtual object in space | |
| TW202001538A (en) | Method and device for online check-in | |
| CN113973177A (en) | A 5G-based method and system for shooting virtual characters in tourism | |
| CN108765574A (en) | 3D scenes intend true method and system and computer readable storage medium | |
| WO2015145770A1 (en) | Photography assistance system, imaging device, information processing device, photography assistance program, and photography assistance method | |
| KR20170005373A (en) | Method for Providing Customized Augmented Reality | |
| CN109510752B (en) | Information display method and device | |
| JP3837882B2 (en) | Captured image management apparatus and program recording medium thereof | |
| CN110490852A (en) | Search method, device, computer-readable medium and the electronic equipment of target object | |
| CN105100826B (en) | Image processing method, apparatus and system |
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: 20220125 |
|
| RJ01 | Rejection of invention patent application after publication |