CN113973177A - 5G-based virtual character shooting processing method and system in travel - Google Patents

5G-based virtual character shooting processing method and system in travel Download PDF

Info

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
virtual character
image
historical
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
CN202111230986.8A
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.)
Yunjing Cultural Tourism Technology Co ltd
Original Assignee
Yunjing Cultural Tourism Technology Co 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 Yunjing Cultural Tourism Technology Co ltd filed Critical Yunjing Cultural Tourism Technology Co ltd
Priority to CN202111230986.8A priority Critical patent/CN113973177A/en
Publication of CN113973177A publication Critical patent/CN113973177A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/61Control of cameras or camera modules based on recognised objects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N20/00Machine learning
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/63Control of cameras or camera modules by using electronic viewfinders
    • H04N23/631Graphical user interfaces [GUI] specially adapted for controlling image capture or setting capture parameters
    • H04N23/632Graphical 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/80Camera processing pipelines; Components thereof

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

5G-based virtual character shooting processing method and system in travel
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)

1. A virtual character shooting processing method in tourism based on 5G is characterized in that the virtual character shooting processing method is applied to tourism software, the tourism software comprises a client and a server, wherein the client is connected with the server through a 5G mobile communication network, and the method comprises the following steps:
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.
2. The method of claim 1, further comprising:
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.
3. The method of claim 2, further comprising:
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.
4. The method according to any of claims 1 to 3, wherein the correspondence of the predetermined identifier to the historical person is preconfigured.
5. The method of claim 4, wherein the predetermined identifier comprises: 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.
6. A virtual character shooting processing system in tourism based on 5G is characterized in that the virtual character shooting processing system is applied to the tourism and comprises a client and a server, wherein the client is connected with the server through a 5G mobile communication network, and the virtual character shooting processing system 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.
7. The system of claim 6,
the client is further used for sending 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.
8. The system of claim 7,
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.
9. The system according to any one of claims 6 to 8, wherein the correspondence of the predetermined identifier to the historical person is preconfigured.
10. The system of claim 9, wherein the predetermined identifier comprises: 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.
CN202111230986.8A 2021-10-22 2021-10-22 5G-based virtual character shooting processing method and system in travel Pending CN113973177A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111230986.8A CN113973177A (en) 2021-10-22 2021-10-22 5G-based virtual character shooting processing method and system in travel

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111230986.8A CN113973177A (en) 2021-10-22 2021-10-22 5G-based virtual character shooting processing method and system in travel

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 5G-based virtual character shooting processing method and system in travel

Country Status (1)

Country Link
CN (1) CN113973177A (en)

Citations (6)

* Cited by examiner, † Cited by third party
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

Patent Citations (6)

* Cited by examiner, † Cited by third party
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
RU2639651C2 (en) Image identification and organization according to model without user intervention
CN109495686B (en) Shooting method and equipment
CN111311756B (en) Augmented reality AR display method and related device
KR20160032170A (en) Automated image cropping and sharing
CN107690673A (en) Image processing method and device and server
CN106599758A (en) Image quality processing method and terminal
CN105607813B (en) Mobile terminal and picture browsing method
CN114418861B (en) Camera image splicing processing method and system
WO2021227919A1 (en) Method and device for image data encoding, display method and device, and electronic device
US20200258304A1 (en) Video map engine system
CN110021071A (en) Rendering method, device and equipment in a kind of application of augmented reality
CN115546377B (en) Video fusion method and device, electronic equipment and storage medium
WO2023193521A1 (en) Video inpainting method, related apparatus, device and storage medium
CN114531553B (en) Method, device, electronic equipment and storage medium for generating special effect video
CN109064526A (en) A kind of method and device generating picture mosaic
CN107563960A (en) A kind of processing method, storage medium and the mobile terminal of self-timer picture
CN106547792B (en) Picture sharing method and device
CN113973177A (en) 5G-based virtual character shooting processing method and system in travel
JP3837882B2 (en) Captured image management apparatus and program recording medium thereof
CN105100826B (en) Image processing method, apparatus and system
CN114529232A (en) Digital center asset management method and device
CN113947666A (en) Historical landscape virtual display processing method and system under 5G
CN114900621A (en) Special effect video determination method and device, electronic equipment and storage medium
CN114416647A (en) Picture processing method, electronic device and computer readable 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