CN112843732B - Method and device for shooting image, electronic equipment and storage medium - Google Patents

Method and device for shooting image, electronic equipment and storage medium Download PDF

Info

Publication number
CN112843732B
CN112843732B CN202011624202.5A CN202011624202A CN112843732B CN 112843732 B CN112843732 B CN 112843732B CN 202011624202 A CN202011624202 A CN 202011624202A CN 112843732 B CN112843732 B CN 112843732B
Authority
CN
China
Prior art keywords
target
shooting
subject
image
camera
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.)
Active
Application number
CN202011624202.5A
Other languages
Chinese (zh)
Other versions
CN112843732A (en
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.)
Shanghai Mihoyo Tianming Technology Co Ltd
Original Assignee
Shanghai Mihoyo Tianming 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 Shanghai Mihoyo Tianming Technology Co Ltd filed Critical Shanghai Mihoyo Tianming Technology Co Ltd
Priority to CN202011624202.5A priority Critical patent/CN112843732B/en
Publication of CN112843732A publication Critical patent/CN112843732A/en
Application granted granted Critical
Publication of CN112843732B publication Critical patent/CN112843732B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/70Game security or game management aspects
    • A63F13/79Game security or game management aspects involving player-related data, e.g. identities, accounts, preferences or play histories
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/50Controlling the output signals based on the game progress
    • A63F13/52Controlling the output signals based on the game progress involving aspects of the displayed game scene
    • A63F13/525Changing parameters of virtual cameras
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/50Controlling the output signals based on the game progress
    • A63F13/52Controlling the output signals based on the game progress involving aspects of the displayed game scene
    • A63F13/525Changing parameters of virtual cameras
    • A63F13/5258Changing parameters of virtual cameras by dynamically adapting the position of the virtual camera to keep a game object or game character in its viewing frustum, e.g. for tracking a character or a ball
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/85Providing additional services to players
    • 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
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F2300/00Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
    • A63F2300/50Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by details of game servers
    • A63F2300/55Details of game data or player data management
    • A63F2300/5546Details of game data or player data management using player registration data, e.g. identification, account, preferences, game history
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F2300/00Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
    • A63F2300/50Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by details of game servers
    • A63F2300/57Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by details of game servers details of game services offered to the player
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F2300/00Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
    • A63F2300/60Methods for processing data by generating or executing the game program
    • A63F2300/66Methods for processing data by generating or executing the game program for rendering three dimensional images
    • A63F2300/6661Methods for processing data by generating or executing the game program for rendering three dimensional images for changing the position of the virtual camera
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F2300/00Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
    • A63F2300/60Methods for processing data by generating or executing the game program
    • A63F2300/66Methods for processing data by generating or executing the game program for rendering three dimensional images
    • A63F2300/6661Methods for processing data by generating or executing the game program for rendering three dimensional images for changing the position of the virtual camera
    • A63F2300/6684Methods for processing data by generating or executing the game program for rendering three dimensional images for changing the position of the virtual camera by dynamically adapting its position to keep a game object in its viewing frustrum, e.g. for tracking a character or a ball

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • Computer Security & Cryptography (AREA)
  • General Business, Economics & Management (AREA)
  • Studio Devices (AREA)

Abstract

The embodiment of the invention discloses a method and a device for shooting images, electronic equipment and a storage medium. The method for shooting the image comprises the following steps: by determining a target visual area of a target subject; when the target visual area comprises the target shooting object, the target image comprising the target shooting object is shot and/or recorded on the screen based on the target camera matched with the target main body, the problem that in the prior art, a user can only see the video image displayed on the terminal and cannot obtain the video images at other role visual angles is solved, the video images at different visual angles can be shot and displayed for the user, so that the user can enjoy the video images during or after the game, the comprehensiveness of the user browsing the current scene is improved, and the technical effect of user experience is further improved.

Description

Method and device for shooting image, electronic equipment and storage medium
Technical Field
The embodiment of the invention relates to the technical field of games, in particular to a method and a device for shooting images, electronic equipment and a storage medium.
Background
At present, with the popularization of intelligent terminals, more and more mobile games can be installed on the intelligent terminals. The user may release the pressure based on a hand trip installed on the mobile terminal.
During the game process of the user, the user can only see the video frames, namely the video frames, displayed on the display interface of the mobile terminal, namely, the user can only see the video frames at the visual angle of the player.
However, since the video frames are mainly based on the viewing angle of the player, and in a specific scene, the viewing angle of the player is not the optimal viewing angle, the displayed frames are not the optimal frames, that is, the user cannot see the corresponding frames at all angles in the game process, so that the image display is not complete, and the technical problem of poor user experience is caused.
Disclosure of Invention
The invention provides a method and a device for shooting images, electronic equipment and a storage medium, which can shoot and display video pictures at different visual angles, thereby improving the technical effect of user experience.
In a first aspect, an embodiment of the present invention provides a method for capturing an image, where the method includes:
determining a target visual area of a target subject;
and if the target visual area comprises the target shooting object, shooting and/or recording a target image comprising the target shooting object based on a target camera matched with the target main body.
In a second aspect, an embodiment of the present invention further provides an apparatus for capturing an image, where the apparatus includes:
a region determination module for determining a target visual region of a target subject;
and the image shooting module is used for shooting and/or recording a target image comprising a target shooting object based on a target camera matched with the target main body if the target visual area comprises the target shooting object.
In a third aspect, an embodiment of the present invention further provides an electronic device, where the electronic device includes:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement a method of capturing images as provided by any of the embodiments of the invention.
In a fourth aspect, embodiments of the present invention further provide a computer-readable storage medium, on which a computer program is stored, where the computer program is executed by a processor to implement the method for capturing images according to any of the embodiments of the present invention.
The embodiment of the invention has the following advantages or beneficial effects:
according to the technical scheme of the embodiment of the invention, the target main body in each video frame is determined, the target visual area corresponding to the target main body is determined in real time or at intervals, and when the target visual area is detected to comprise the target shooting object, the target image comprising the target shooting object can be shot, so that the target images corresponding to the same target shooting object under different visual angles are obtained, the technical problem that in the prior art, a user only can see the video image displayed on a terminal and cannot obtain the video images under other role visual angles is solved, furthermore, the problem that the display effect of the seen image is poor due to the fact that the visual angle corresponding to the video image displayed on the terminal is not the best visual angle is solved, the technical problem that the user experience is poor is solved, the video images under different visual angles can be shot and displayed to the user, so that the user can enjoy in the game process or after the game is finished, the comprehensiveness of the user browsing the current scene is improved, and the technical effect of the user experience is further improved.
Drawings
In order to more clearly illustrate the technical solutions of the exemplary embodiments of the present invention, a brief description is given below of the drawings used in describing the embodiments. It is clear that the described figures are only figures of a part of the embodiments of the invention to be described, not all figures, and that for a person skilled in the art, without inventive effort, other figures can also be derived from them.
Fig. 1 is a schematic flowchart of a method for capturing an image according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of a method for capturing an image according to a second embodiment of the present invention;
fig. 3 is a schematic flowchart of a method for capturing an image according to a third embodiment of the present invention;
fig. 4 is a schematic flowchart of a method for capturing an image according to a fourth embodiment of the present invention;
fig. 5 is a schematic flowchart of a method for capturing an image according to a fifth embodiment of the present invention;
fig. 6 is a schematic structural diagram of an apparatus for capturing an image according to a sixth embodiment of the present invention;
fig. 7 is a schematic structural diagram of an electronic device according to a seventh embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not to be construed as limiting the invention. It should be further noted that, for the convenience of description, only some structures related to the present invention are shown in the drawings, not all of them.
Example one
Fig. 1 is a flowchart of a method for capturing an image according to an embodiment of the present invention, where the embodiment is applicable to a game scene, and if a target visual area of a target subject includes a target capture object, the method may be implemented by an apparatus for capturing an image, where the apparatus may be implemented by hardware and/or software, and the hardware may be an electronic device, an optional mobile terminal or a PC.
Before the technical solution of the present embodiment is described, an application scenario may be exemplarily described. The current game can be an application program, the application program can be installed on the intelligent terminal, and when a user triggers the application program installed on the intelligent terminal, a game scene can be entered. The current game scenes are mostly the situations of upgrading for strangeness, going to adventure or growing up for remembering, the scenes and the abilities of the characters corresponding to the characters and the level levels are different, the abilities of the characters can be understood as the fighting attributes of the characters, the skin attributes of the characters and the like, generally, the higher the grade of the characters is, the better the skin is, the larger the fighting value is, and the stronger the fighting ability is. To enhance the user experience, the game scene is often drawn more aesthetically. The user usually wants to save the game scenes of the highlight moments of the characters, such as the scenes of a user passing through a difficult gate, triggering a BOSS battle, obtaining a more rare battle or having a conversation with the NPC.
However, when the current scene is directly captured, the captured image is in a fixed view angle, and the face of the character operated by the user may not be seen, or the character operated by the user is completely blocked by other monsters, or the clothing of the character operated by the user may not be seen, or the video pictures in other non-main angle view angles cannot be seen, and optionally, the character operated by the non-player may be a pet, a monster, or a video picture in other virtual character view angles, that is, the video pictures in other player view angles cannot be perceived.
As shown in fig. 1, the method for capturing an image of the present embodiment specifically includes the following steps:
and S110, determining a target visual area of the target subject.
Wherein, each display picture in the game is played in the form of video frames. Each video frame may include a corresponding scene and/or body of the game. The target subject may be a main Character or animal in the current scene, such as may include, but is not limited to, a user manipulation Character, a game monster, and a game Non-Player Character (NPC). Accordingly, the target subject may be any one or more of the subjects described above. It should be noted that, if a user needs to view a video frame from a certain role, the role can be a target subject.
It should be noted that the current scene may be a game scene displayed on the client of the target user. For example, an interaction scene between a plurality of user control characters, an interaction scene between a user control character and the NPC, a battle scene between a user control character and the BOSS, a scene where a user control character releases a technical body, or a scene where a user control character appreciates a scene marker, and the like.
In one embodiment, the user manipulation role manipulated by the current terminal device may be taken as the target subject. Or, the game monster which takes the user control role operated by the current terminal equipment as an attack target is taken as a target main body; alternatively, the game monster of the largest volume among the current game monsters is taken as the target subject. The specific target subject is not specifically limited, that is, if a video picture at a certain visual angle needs to be viewed, the role corresponding to the visual angle is the target subject.
In another embodiment, the target subject may be determined based on scene attribute information of the current scene or subject attribute information of each subject. The subject attribute information includes, but is not limited to, position information, orientation angle information, attack range information, and special effect attribute information. The special effect attribute information comprises a special effect action range, a special effect duration, a special effect gorgeous degree or a special effect rarity degree of the skill body.
Specifically, the target subject is determined based on subject attribute information of each subject, and the target subject includes at least one of the following: if detecting that some roles release the technical bodies, determining the main bodies (roles) releasing the target technical bodies as target main bodies, or determining other roles which can see the technical bodies except the target technical bodies as target main bodies; the target skill body has a large special effect range, a long special effect duration, a high special effect gorgeous degree or a high special effect rarity; or, when it is detected that the distance between the at least two characters is smaller than the preset distance threshold and/or the relative angle between the at least two characters is within the preset shooting angle range, the at least two characters may be classified as target subjects, or one or more of the at least two characters may be considered as target subjects, that is, if a picture at a certain character visual angle is desired, the character is the target subject.
It should be noted that the preset distance threshold and the preset shooting angle range can be determined according to the historical screen capture images of the users.
Scene attribute information includes, but is not limited to, scene identification. Each scene identifier and the corresponding set target subject may be stored in advance. Specifically, the scene identifier of the current scene is matched with each scene identifier stored in advance, so as to obtain a target subject corresponding to the current scene.
In this embodiment, the target visual region may be understood as a region viewable by the target subject at the current viewing angle. Wherein, the current visual angle may be a visual angle of a preset portion of the target subject, and the preset portion may be a subject portion such as an eye portion, a head portion, a chest portion, and the like. The target visual region may be a fan-shaped region having a preset portion of the target subject as a vertex, that is, a region where the target subject can see at the angle, that is, a target visual region. For example, a visual field region observed by an eye visual angle of the target subject may be determined as a target visual region, and the target visual region is a region in which a camera configured with the target subject can capture a corresponding picture because a video picture corresponding to each visual angle needs to be acquired.
Because a video picture in the target visual area needs to be acquired, a corresponding camera can be set, and optionally: creating a target camera matched with a target main body; creating a target camera that mates with a target subject, comprising: at least one target camera is respectively arranged at least one target position on the target body.
The target camera may be understood as a virtual camera having an imaging field of view. One or more target cameras may be associated with each target subject, but it should be noted that, in the same scene, the number of target subjects may include multiple, and correspondingly, the number of target cameras may also include multiple. The target location may be a preset optimal visual zone location, for example, the target location being the target subject's eyes and/or head. The benefit of placing the target camera at the target location on the target body is: and accurately obtaining a shooting visual field area consistent with the visual field area of the target main body, and further shooting to obtain a corresponding target image under the visual angle.
Optionally, determining the target visual area of the target subject includes: a target visual area of the target subject is determined based on at least one target camera disposed on the target subject.
The target visual area is a shooting visual field area of at least one target camera arranged on the target main body. The determination of the target visual area of the target subject based on the at least one target camera provided on the target subject is advantageous in that: the accurate and large-range target visual area can be obtained through the shooting visual area of the target camera.
Specifically, after at least one target camera is arranged at a preset position of a target main body, a video picture in a certain area can be captured according to a received shooting instruction. The shot video pictures can be displayed to the terminal corresponding to the user, so that the comprehensive technical effect of watching game scenes by the user is improved.
And S120, if the target visual area comprises the target shooting object, shooting and/or recording a target image comprising the target shooting object based on a target camera matched with the target main body.
The target photographic subject can be understood as a key photographic subject in the current scene, that is, a subject to be photographed, that is, another photographable subject corresponding to the target subject. The number of subjects in the current scene may be multiple, and correspondingly, the number of target photographic subjects may also be multiple. Of course, the current scene may include only the target photographic subject and not the target subject, or the current scene may include only the target subject and not the target photographic subject.
For example, determining whether the displayed role in the current scene is specifically the target subject or the target photographic subject may be: the current scene only comprises a role A, and if a video picture under the visual angle of the role A needs to be acquired, the role A is a target main body; if the video picture of the character A needs to be shot, the character A is a target shooting object. If the current scene comprises a plurality of roles A and B, if the roles A and B are both provided with matched cameras, if a video picture at the visual angle of the role A needs to be acquired, the role A is a target main body, and correspondingly, if a video picture at the visual angle of the role B needs to be acquired, the role B is a target main body; if the role A corresponds to the role B, the role B is a target shooting object relative to the role A, and the role A is a target subject; if only one of the roles a and B is provided with a companion camera, the role provided with the companion camera may be used as a target subject, and the role not provided with the companion target camera may be used as a target photographic subject.
In this embodiment, if the target visual area includes the target photographic object, the target camera matched with the target subject may be automatically triggered to photograph the target photographic object, or a video recording function of the target camera may be automatically triggered to continuously photograph the target photographic object from the current time of the current scene, so as to obtain a target video or a target image sequence including the target photographic object.
Illustratively, the target subject is a BOSS, the target visual region of the target subject includes a target shooting object, i.e., a user control role, and a target camera matched with the BOSS is arranged at the overhead part of the BOSS, so that the user control role can be shot based on the target camera at the overhead part of the BOSS to obtain a target image including the user control role; or recording the user control role from the current moment to obtain the video containing the user control role.
That is, if the target photographic subject is included in the target visual region, the target photographic subject can be photographed. Or, in order to improve the user experience, the target shooting object may be continuously shot and stored at the current moment, so that the user may subsequently select a video frame with a higher matching degree.
Or, if the user starts the function of automatically screening the target image, multiple video frames can be continuously captured, and the similarity processing is performed on the content of the video frames, optionally, if the similarity of the multiple video frames is low, the video frame captured for the first time can be automatically reserved; if the similarity of the video frames is higher, the definition and the richness of the video frames can be further determined, and images with higher richness and definition can be reserved. Richness is understood to mean that more content remains in the video frame. Furthermore, in order to facilitate the user to trace back the captured image, the reserved target image and the deleted image may be stored in different subfiles of the same main file in the terminal memory or the game memory, respectively, so that the user further confirms whether the reserved target image and the deleted target image are correct or not. Of course, in order to avoid the problem of occupying resources, the deleted image may be cleaned regularly.
Of course, if the user does not turn on the function of filtering the target image, the user can confirm the image to be retained by himself. At this time, the target images can all be stored in the subfolders that are desired to be reserved, and the timing is prevented from being cleaned up.
It should be noted that, if the screen recording function is triggered, optionally, a video frame of 1s is recorded for the target shooting object according to the preset screen recording duration. For example, if the screen recording function is called, the screen recording function can be automatically started, and the screen recording can be stopped when the screen recording duration between the current moment and the moment of triggering the screen recording reaches the preset screen recording duration. At this time, a plurality of video frames may be obtained, which video frames are to be specifically reserved or deleted may be determined by the above method, and details are not repeated herein.
According to the technical scheme of the embodiment of the invention, the target main body in each video frame is determined, the target visual area corresponding to the target main body is determined in real time or at intervals, and when the target visual area comprises the target shooting object, the target image comprising the target shooting object can be shot, so that the target images corresponding to the same target shooting object under different visual angles are obtained, the technical problem that in the prior art, a user can only see the video image displayed on a terminal and cannot obtain the video images under other role visual angles is solved, further, the problem that the display effect of the seen image is poor due to the fact that the visual angle corresponding to the video image displayed on the terminal is not the best visual angle is solved, the video images under different visual angles can be shot and displayed to the user is realized, so that the user can enjoy in the game process or after finishing, the comprehensiveness of the user browsing the current scene is improved, and the technical effect of user experience is further improved.
Example two
Fig. 2 is a schematic flowchart of a method for capturing an image according to a second embodiment of the present invention, where on the basis of the foregoing embodiments, optionally, if a target visual area includes a target capture object, the present embodiment captures and/or records a target image including the target capture object based on a target camera that is matched with a target subject, and includes: determining a subject attribute of the target subject if the target visual region includes the target photographic subject; determining shooting parameters of each target camera in the current scene based on the subject attributes; target images including target photographic objects are photographed and/or recorded on the screen based on the photographing parameters corresponding to the respective target cameras. Wherein explanations of the same or corresponding terms as those of the above embodiments are omitted.
Referring to fig. 2, the method for capturing an image according to the present embodiment includes the following steps:
s210, determining a target visual area of the target subject.
And S220, if the target visual area comprises the target shooting object, determining the subject attribute of the target subject.
In this embodiment, the subject attributes of the target subject include, but are not limited to, root node information and/or height information.
The root node can be understood as a bone node on the target subject or any key part on the bone. For example, when the target subject is a user-controlled role, the root node may be the top of the user-controlled role. It is understood that the root node may also be an eye or neck of the user manipulating the character, etc. When the target subject is a game monster or NPC, the root node may be a foot, a vertex, an eye, or a neck of the game monster or NPC.
In this embodiment, the root node information may be location information of the root node. Alternatively, the position information of the root node may be represented by three-dimensional space coordinates because the displayed scene and the corresponding target subject are mostly displayed three-dimensionally, and thus the position information of the root node may be represented by the three-dimensional space coordinates. Illustratively, if the root node of the target subject is the vertex, the three-dimensional space coordinates of the root node when the target subject is raised are (2, 3, 4), and the three-dimensional coordinates of the root node when the target subject is lowered are (3, 4, 3). The height information of the target subject may be understood as a subject height of the target subject in a longitudinal reference direction, for example, 220cm. The height information of the target subject further includes height information of an arbitrary portion of the target subject, and for example, the height information of the eye of the target subject is 200cm, and the height information of the mouth is 190cm.
In the present embodiment, the purpose of determining the subject attribute is to determine the shooting parameters of the target camera in the current scene according to the root node information and/or the height information of the target subject.
And S230, determining shooting parameters of each target camera in the current scene based on the subject attributes.
The shooting parameters of the target camera are corresponding parameters when shooting a target shooting object in the current scene, and may include, but are not limited to, at least one of the following data: a shooting angle at the time of shooting, a shooting position of a camera at the time of shooting, a wide-angle parameter of the camera at the time of shooting, and the like; the camera attribute parameters are parameters used in the shooting process, i.e. specific parameters corresponding to the shooting, such as shutter, aperture, field angle, exposure, flash on or off, and shooting light and/or shooting angle corresponding to the current user. The scene parameter may be a light source parameter in the current scene, e.g. number of light sources, intensity of light sources, etc.
In most game scenarios, the root node information of the target subject is dynamically changing. For example, when the user control role fights with the BOSS, the BOSS is a target subject, and both the BOSS release skills and the root node information change when searching for the user control role. Therefore, the shooting parameters of the target camera in the current scene can be determined based on the subject attributes of the target subject.
In one embodiment, a photographing position of the target camera is determined based on height information of the target subject, and a photographing angle of the target subject is determined based on root node information of the target subject. As can be seen from the above examples, the target subject has different three-dimensional space coordinates, i.e., has corresponding root node information, when the subject is raised and lowered. It is understood that when the orientation angle of the root node of the target subject changes, the corresponding root node information also changes. Therefore, the photographing angle of the target camera may be determined based on the root node information of the target subject so that the photographing direction of the target camera coincides with the root node facing direction of the target subject. The height information of the target subject includes height information of an arbitrary portion on the target subject, and the target camera may be a virtual camera placed on a set portion of the target subject, so that the height information of the set portion on which the target camera is placed may be determined based on the height information of the target subject, thereby determining the photographing position of the target camera.
In one embodiment, the photographing parameters further include a lens expansion parameter, and the lens expansion parameter may be determined based on at least one of a distance between the target subject and the target subject, the number of target subjects in the current scene, and volume information of the target subject. For example, when the distance between the target subject and the target photographic subject is long, or the number of target photographic subjects is small, or the volume of the target photographic subject is small, the lens extension/contraction parameter is set as a lens extension parameter, that is, the lens of the target camera is extended to change the focal distance of the target camera, so as to magnify the photographic target photographic subject. It should be noted that the wide-angle parameter may also be determined based on at least one of the distance between the target subject and the target photographic subject, the number of target photographic subjects in the current scene, and the volume information of the target photographic subjects. For example, when the distance between the target subject and the target photographic subject is large, or the number of target photographic subjects in the current scene is large, or the volume of the target photographic subject is large, the wide-angle parameter is set as a parameter that can photograph a larger range.
For another example, when the number of target subjects is large, the shooting wide angle can be set large so as to shoot each target subject in the target image as much as possible. For another example, when the volume of the target photographic subject is large, the photographing wide angle or the lens expansion and contraction ratio can be set to be large, so as to ensure that the target photographic subject can be completely photographed.
That is, the photographing position of the target camera may be determined based on the height information of the target subject, and the photographing angle of the target camera may be determined based on the root node information of the target subject. The wide angle parameter and the lens expansion parameter of the target camera can be determined based on the distance between the target subject and the target photographic subject and/or the number of the target photographic subjects in the current scene and the volume information of the target photographic subjects.
S240, a target image including a target photographic subject is photographed and/or recorded on the screen based on the photographing parameters corresponding to the respective target cameras.
Specifically, after the shooting parameters corresponding to the target camera are determined, the target shooting object in the shooting view field of the target camera is shot based on the shooting position and the shooting angle of the target camera, and a target image including the target shooting object is obtained.
According to the technical scheme, when the target visual area comprises the target shooting object, the subject attribute of the target subject is determined, the shooting parameters of the target camera in the current scene are determined according to the subject attribute, and the target shooting object is shot and/or recorded on the screen based on the shooting parameters corresponding to the target camera. According to the technical scheme, the shooting parameters can be adjusted in real time, the object in the game scene is shot according to the adjusted shooting parameters, the shooting visual angle is adjusted in real time, and the experience of a user is greatly improved.
EXAMPLE III
Fig. 3 is a schematic flow chart of a method for capturing an image according to a third embodiment of the present invention, where this embodiment optionally captures and/or records a target image including a target capture object based on capture parameters corresponding to each target camera based on the above embodiments, and includes: and if the initial position of the target shooting object in the shooting picture does not meet the preset composition rule, adjusting the shooting parameters of each target camera to shoot and/or record a target image comprising the target shooting object on the basis of the adjusted shooting parameters. Wherein explanations of the same or corresponding terms as those of the above embodiments are omitted.
Referring to fig. 3, the method for capturing an image according to the present embodiment includes the steps of:
s310, determining a target visual area of the target subject.
And S320, when the target shooting object is included in the target visual area, if the initial position of the target shooting object in the shooting picture does not meet a preset composition rule, adjusting the shooting parameters of each target camera so as to shoot and/or record a target image including the target shooting object based on the adjusted shooting parameters.
The preset composition rule may be a composition rule corresponding to an image in a lens when a shooting target image is preset, and the composition rule may include a size and a position of a set region of a target shooting object in the target image. Illustratively, the preset composition rule may be: and carrying out nine-square grid division on the picture which can be shot by the lens, and meeting the composition rule if the target shooting object is in the lower left corner area of the nine-square grid area.
It should be noted that the preset composition rules corresponding to different game scenes may be the same or different. For example, for the game scene a, the set region position in the preset composition rule is the middle region of the nine-square grid, and for the game scene B, the set region position in the preset composition rule is the four upper-left-corner grid regions of the nine-square grid. It should be noted that the composition rules corresponding to different target photographic objects in the same game scene may be the same or different. For example, for the skill body, the composition rule may be an area occupied by the released skill body in the captured image, for example, in order to make the captured skill body more beautiful in the captured image and not affect the display of other target captured objects, the preset composition rule corresponding to the skill body may be set to be fixed in the upper left corner area, the lower right corner area, or the like.
The initial position of the target photographic object in the photographic picture in the embodiment can be any position, and the condition that the target photographic object does not meet the preset composition rule comprises at least one of the following conditions: the area size of the initial position of the target shooting object does not meet the set area size; the area position of the initial position of the target photographic object does not satisfy the set area position. The initial position is the position where the target shooting object appears in the shooting picture for the first time.
If the initial position of the target shooting object in the shooting picture does not meet the preset composition rule, the shooting parameters of each target camera are adjusted, and the shooting parameters comprise at least one of the following: if the area size of the initial position of the target shooting object does not meet the set area size, adjusting the lens expansion ratio of the target camera; and adjusting at least one of a photographing position, a photographing angle, and a photographing wide angle of the target camera if the area position of the initial position of the target photographing object does not satisfy the set area position.
Specifically, if the area size of the initial position of the target photographic object is larger than the set area size, the zoom ratio of the lens of the target camera may be decreased to increase the focal distance of the target camera, thereby decreasing the area size of the target photographic object in the photographic image. If the area size of the initial position of the target shooting object is smaller than the set area size, the lens expansion ratio of the target camera can be increased to reduce the focusing distance of the target camera, so that the area size of the target shooting object in the shooting picture is increased. If the area position of the initial position of the target shooting object does not meet the set area position, the shooting angle and/or the shooting wide angle of the target camera can be adjusted, and the position of the target shooting object in the shooting picture is moved by moving the shooting picture or expanding the shooting picture, so that the moved position meets the preset composition rule.
According to the technical scheme, when the initial position of the target shooting object in the shooting picture does not meet the preset composition rule, the shooting parameters of each target camera are adjusted, and the target image comprising the target shooting object is shot and/or recorded on the screen based on the adjusted shooting parameters. According to the technical scheme of the embodiment, when the initial position of the shooting object does not meet the preset composition rule, the shooting parameters are adjusted in real time, so that the adjusted position of the shooting object meets the preset composition rule, real-time and flexible adjustment of the shooting parameters is realized, and the appreciation degree of the target image is remarkably improved.
Example four
Fig. 4 is a schematic flowchart of a method for capturing an image according to a fourth embodiment of the present invention, where this embodiment optionally captures and/or records a target image including a target capture object based on capture parameters corresponding to each target camera based on the foregoing embodiments, and includes: when the number of the target photographic objects comprises a plurality of target photographic objects, determining the photographic priority level of each target photographic object; and determining a shooting subject in the shooting picture according to the priority level, and if the shooting subject is detected to meet a preset composition rule, triggering to shoot and/or record a target image comprising a target shooting object. Wherein explanations of the same or corresponding terms as those of the above embodiments are omitted.
Referring to fig. 4, the method for capturing an image according to the present embodiment includes the following steps:
and S410, determining a target visual area of the target subject.
And S420, if the target visual area comprises a plurality of target shooting objects, determining the shooting priority level of each target shooting object when the number of the target shooting objects comprises a plurality of target shooting objects.
Here, the photographing priority level may be understood as a photographing importance level of the target photographic subject. The photographing priority level may be determined based on object properties of the current scene and/or the target photographic object.
For example, the shooting priority level is determined based on the current scene, and if the current scene is a scene where the user operates the character to fight with a plurality of game monsters, the shooting priority level may be: the user-controlled character is rated 1, the game monster a is rated 2, the game monster B is rated 3, the shooting priority level of the user-controlled character is higher than that of the game monster a, and the shooting priority level of the game monster a is higher than that of the game monster B.
Specifically, the determination of the photographing priority level based on the object attribute of the target photographic object includes at least one of: determining a photographing priority level based on a volume of a target photographing object; determining a shooting priority level based on the category of the target shooting object; determining a photographing priority level based on a level of a target photographing object; determining a shooting priority level based on rarity of a target shooting object; determining a shooting priority level based on a skill special effect action range released by a target shooting object; the photographing priority level is determined based on a distance between the target photographic subject and the target subject.
The various methods for determining the shooting priority level can be understood as follows: the larger the volume of the target photographic subject, the higher the photographic priority level. The categories of the target photographic objects include user control characters, supporting monsters, BOSSs, scene markers and the like, and the photographing priority levels of the target photographic objects of the categories may be: user-manipulated character > BOSS > scene marker > pari-mutuel. The level of the target photographic object can be the level of a user for controlling a role, the difficulty level of BOSS, or the level of a skill body, and the higher the level of the target photographic object is, the higher the corresponding photographic priority level is. The rarity of the target photographic object may be a rarity degree of a user-controlled role, for example, super Rare (SSR), super Rare (SR), or the like; or the rarity of the skill body, wherein the longer the required energy value or cooling reduction time released by the skill body is, the higher the rarity of the skill body is; or the rarity of wearing equipment for the user to manipulate the character. The higher the rarity of the target photographic object is, the shorter the distance between the target photographic object and the target main body is, or the larger the special effect range of the skill body is, the higher the photographic priority level is.
And S430, determining a shooting subject in the shooting picture according to the priority level, and triggering shooting and/or screen recording of a target image comprising a target shooting object if the shooting subject is detected to meet a preset composition rule.
The number of the photographic subjects may be one or more. When the number of the shooting subjects is 1, the shooting subjects are target shooting subjects with the highest priority level; when the number of subjects is plural, for example, 2, the subjects are target subjects having the highest and second highest priority ranks.
Specifically, taking the number of the shooting subjects as 2 as an example, when two shooting subjects satisfy the preset composition rule, it is not necessary to consider whether other target shooting subjects except the shooting subjects satisfy the composition rule, and shooting and/or screen recording of each target shooting subject can be directly started. For example, the shooting subject is a user-controlled role and a skill released by the user-controlled role, and target shooting objects except the shooting subject comprise a plurality of corner monsters, so that when the user-controlled role and the skill meet a preset composition rule, shooting and/or screen recording of each target shooting object is triggered.
According to the technical scheme of the embodiment, the shooting priority level of each target shooting object is determined; and determining a shooting subject in the shooting picture according to the priority level, and triggering shooting and/or recording a target image including a target shooting object if the shooting subject is detected to meet a preset composition rule. According to the technical scheme of the embodiment, the shooting of the target shooting object is triggered according to the priority level of the target shooting object, so that the shooting is triggered when the target shooting object with higher priority level meets the preset composition rule, and the appreciation degree of the target image is remarkably improved.
EXAMPLE five
Fig. 5 is a schematic flowchart of a method for capturing an image according to a fifth embodiment of the present invention, where on the basis of the foregoing embodiments, optionally, if a target visual area includes a target capture object, the present embodiment captures and/or records a target image including the target capture object based on a target camera that is configured with a target subject, and includes: and if the shooting picture comprises the target shooting object and the target shooting object is determined to trigger the target skill and/or the target special effect, shooting and/or recording a target image comprising the target shooting object based on a target camera matched with the target main body. Wherein explanations of the same or corresponding terms as those of the above embodiments are omitted.
Referring to fig. 5, the method for capturing an image according to the present embodiment includes the following steps:
s510, determining a target visual area of the target subject.
And S520, if the target shooting object is included in the shooting picture and the target skill and/or the target special effect is triggered by the target shooting object, shooting and/or recording a target image including the target shooting object based on a target camera matched with the target main body.
The target skill and the target special effect may be preset skills and special effects. Considering that most target shooting objects can release a plurality of skills, the skill filling time corresponding to each skill is different, wherein the skill filling time refers to the time when the skill can be released next time after being released once. Illustratively, the skill fill time for mini skills is 0, i.e., it can be released at will; large skills and passive skills require a reduced cooling time after being released once or the skills are charged before they can be released again. For skills with a short skill-filling time, the appreciation is low, and the possibility that the player wants to save the captured picture of the part of the skill is low. Therefore, the target skill may be set in advance to photograph and/or record a target image including the target photographic object based on the target camera matched with the target subject when the part of the target skill is triggered. And the special effect attributes corresponding to various special effects are different, and the special effect attributes comprise but are not limited to a special effect action range, a special effect duration, a special effect gorgeous degree or a special effect rarity. For special effects with a small special effect action range, a short special effect duration, a low special effect gorgeous degree or a low special effect rarity, the appreciation degree is low, and the possibility that a player wants to store a shooting picture of the special effect is low. Therefore, the target special effect may be set in advance to photograph and/or record a target image including a target photographic subject based on a target camera associated with the target subject when the portion of the target special effect is triggered.
In one embodiment, the target skill may be determined based on a skill fill time or a skill release cost of the skill. For example, skills with longer skill filling time or higher skill release spending are determined as the target energy saving. The target special effect can be determined based on the special effect action range, the special effect duration, the special effect gorgeous degree or the special effect rareness degree of the special effect. For example, a specific effect having a large specific effect range, a long specific effect duration, a high specific effect gorgeous degree, or a high specific effect rareness is determined as a target specific effect.
Optionally, when the shooting picture includes the target shooting object and it is determined that the target shooting object triggers the target skill and/or the target special effect, if the initial position of the target shooting object in the shooting picture does not satisfy the preset composition rule, the shooting parameters of each target camera are adjusted, so as to shoot and/or record a target image including the target shooting object based on the adjusted shooting parameters. Or when the number of the target photographic objects comprises a plurality of target photographic objects, determining the photographic priority level of each target photographic object; and determining a shooting subject in the shooting picture according to the priority level, and triggering shooting and/or recording a target image including a target shooting object if the shooting subject is detected to meet a preset composition rule.
It should be noted that the technical scheme for triggering the target shooting object to shoot when it is determined that the target shooting object triggers the target skill and/or the target special effect in this embodiment may be implemented in combination with the scheme for detecting whether the target shooting object meets the preset composition rule or not or the scheme for detecting whether the shooting subject meets the preset composition rule or not in the above embodiment. For explanation and specific implementation of the preset composition rule, reference may be made to the above embodiments, which are not described in detail in this embodiment.
According to the technical scheme of the embodiment, when the shot picture comprises the target shot object and the target shooting object triggers the target skill and/or the target special effect is determined, the target camera matched with the target main body shoots and/or records the target image comprising the target shot object, so that the video pictures at different visual angles are shot and displayed when the target skill and/or the target special effect are released, the shooting of the game scene at the highlight moment at each visual angle is realized, and the user experience is remarkably improved.
Optionally, the method for capturing an image further includes: after the target images are determined, the shooting time of each target image can be determined, and the animation set can be made according to the shooting time.
On the basis of the technical scheme, after the target image is obtained, the shooting time of the target image can be determined, and the animation set can be manufactured according to the shooting time.
Here, the shooting time may be understood as a time at which the shooting includes the target photographic subject. And storing the shot target image into a storage space so that the user can view the corresponding game picture when the game is finished. Or after the target image is obtained, if it is detected that the rendering effect of the target image does not reach the preset effect, the target image may be called and further rendered, so as to improve the display effect of the image.
The animation set can be directly manufactured after the target image is shot, and can be displayed on a display interface in a small window mode so that a user can enjoy the corresponding image at each angle when the preset game event is triggered; of course, it may also be possible to create an animation set when the game is ended, and display the animation set on the display interface, so that the user can enjoy highlight pictures corresponding to the user or other characters at various angles. By the mode, the comprehensiveness of the user in watching the corresponding picture is improved, and therefore the technical effect of user experience is improved.
EXAMPLE six
Fig. 6 is a schematic structural diagram of an apparatus for capturing an image according to a sixth embodiment of the present invention, which is applicable to a situation where, in a game scene, if a target visual area of a target subject includes a target capture object, a supporting target camera is automatically used to capture and/or record a screen of each object in the game scene, where the apparatus specifically includes: an area determination module 610 and an image capture module 620.
A region determination module 610 for determining a target visual region of a target subject;
and an image photographing module 620 for photographing and/or recording a target image including the target photographic object based on a target camera coupled to the target subject if the target visual area includes the target photographic object.
According to the technical scheme of the embodiment, the target main body in each video frame is determined, the target visual area corresponding to the target main body is determined in real time or at intervals, when the target visual area including the target shooting object is detected, the target image including the target shooting object can be shot, and the target images corresponding to the same target shooting object under different visual angles are obtained.
Optionally, the apparatus for capturing an image further includes a camera creation module, configured to create a target camera matched with the target subject before determining the target visual area of the target subject; creating a target camera for use with a target subject, comprising: at least one target camera is respectively arranged at least one target position on the target body.
Optionally, the area determining module 610 is specifically configured to determine a target visual area of the target subject based on at least one target camera disposed on the target subject.
Optionally, the image capturing module 620 includes a first capturing unit configured to determine a subject attribute of the target subject when the target visual region includes the target capturing object; determining shooting parameters of each target camera in the current scene based on the subject attributes; target images including target photographic objects are photographed and/or recorded on the screen based on the photographing parameters corresponding to the respective target cameras.
Optionally, the image capturing module 620 includes a second capturing unit, configured to, when the target visual area includes the target captured object, adjust the capturing parameters of each target camera if an initial position of the target captured object in the captured image does not satisfy a preset composition rule, so as to capture and/or record a target image including the target captured object based on the adjusted capturing parameters.
Optionally, the image capturing module 620 includes a third capturing unit, configured to determine, when the target visual region includes a plurality of target capturing objects, a capturing priority level of each target capturing object when the number of target capturing objects includes a plurality of target capturing objects; and determining a shooting subject in the shooting picture according to the priority level, and if the shooting subject is detected to meet a preset composition rule, triggering to shoot and/or record a target image comprising a target shooting object.
Optionally, the image capturing module 620 includes a fourth capturing unit, configured to capture and/or record a target image including a target captured object based on a target camera configured with a target subject if the target captured object is included in the captured image and it is determined that the target captured object triggers the target skill and/or the target special effect.
The device for shooting the image provided by the embodiment of the invention can execute the method for shooting the image provided by any embodiment of the invention, and has corresponding functional modules and beneficial effects of the execution method.
It should be noted that, the units and modules included in the system are merely divided according to functional logic, but are not limited to the above division as long as the corresponding functions can be implemented; in addition, specific names of the functional units are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the embodiment of the present invention.
EXAMPLE seven
Fig. 7 is a schematic structural diagram of an electronic device according to a seventh embodiment of the present invention. FIG. 7 illustrates a block diagram of an exemplary electronic device 12 suitable for use in implementing embodiments of the present invention. The electronic device 12 shown in fig. 7 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiment of the present invention. The device 12 is typically an electronic device that assumes the function of taking images.
As shown in fig. 7, electronic device 12 is in the form of a general purpose computing device. The components of the electronic device 12 may include, but are not limited to: one or more processors or processing units 16, a memory 28, and a bus 18 that couples the various components (including the memory 28 and the processing unit 16).
Bus 18 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor, or a local bus using any of a variety of bus architectures. By way of example, such architectures include, but are not limited to, an Industry Standard Architecture (ISA) bus, a Micro Channel Architecture (MCA) bus, an enhanced ISA bus, a Video Electronics Standards Association (VESA) local bus, and a Peripheral Component Interconnect (PCI) bus.
Electronic device 12 typically includes a variety of computer-readable media. Such media may be any available media that is accessible by electronic device 12 and includes both volatile and nonvolatile media, removable and non-removable media.
Memory 28 may include computer device readable media in the form of volatile Memory, such as Random Access Memory (RAM) 30 and/or cache Memory 32. The electronic device 12 may further include other removable/non-removable, volatile/nonvolatile computer storage media. By way of example only, the storage device 34 may be used to read from and write to non-removable, nonvolatile magnetic media (not shown in FIG. 7, and commonly referred to as a "hard drive"). Although not shown in FIG. 7, a magnetic disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk (e.g., a Compact disk-Read Only Memory (CD-ROM), digital Video disk (DVD-ROM), or other optical media) may be provided. In these cases, each drive may be connected to bus 18 by one or more data media interfaces. Memory 28 may include at least one program product 40, with program product 40 having a set of program modules 42 that are configured to carry out the functions of embodiments of the invention. Program product 40 may be stored, for example, in memory 28, and such program modules 42 include, but are not limited to, one or more application programs, other program modules, and program data, each of which and some combination of which may comprise an implementation of a network environment. Program modules 42 generally carry out the functions and/or methodologies of embodiments of the invention as described.
Electronic device 12 may also communicate with one or more external devices 14 (e.g., keyboard, mouse, camera, etc., and display), one or more devices that enable a user to interact with electronic device 12, and/or any devices (e.g., network card, modem, etc.) that enable electronic device 12 to communicate with one or more other computing devices. Such communication may be through an input/output (I/O) interface 22. Also, the electronic device 12 may communicate with one or more networks (e.g., a Local Area Network (LAN), wide Area Network (WAN)) and/or a public Network (e.g., the Internet) via the Network adapter 20. As shown, the network adapter 20 communicates with other modules of the electronic device 12 via the bus 18. It should be understood that although not shown in the figures, other hardware and/or software modules may be used in conjunction with electronic device 12, including but not limited to: microcode, device drivers, redundant processing units, external disk drive Arrays, RAID (Redundant Arrays of Independent Disks) devices, tape drives, and data backup storage devices, to name a few.
The processor 16 executes various functional applications and data processing by running the program stored in the memory 28, for example, implementing the method of capturing an image provided by the above-described embodiment of the present invention, including:
determining a target visual area of a target subject;
and if the target visual area comprises the target shooting object, shooting and/or recording a target image comprising the target shooting object based on a target camera matched with the target main body.
Of course, those skilled in the art will understand that the processor may also implement the technical solution of the method for capturing images provided by any embodiment of the present invention.
Example eight
An eighth embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the method for capturing an image provided in any embodiment of the present invention, the method including:
determining a target visual area of a target subject;
and if the target visual area comprises the target shooting object, shooting and/or recording a target image comprising the target shooting object based on a target camera matched with the target main body.
Computer storage media for embodiments of the present invention may take the form of any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for embodiments of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the latter scenario, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
It is to be noted that the foregoing description is only exemplary of the invention and that the principles of the technology may be employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in some detail by the above embodiments, the invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the invention, and the scope of the invention is determined by the scope of the appended claims.

Claims (10)

1. A method of capturing an image, comprising:
determining a target visual area of a target subject;
if the target visual area comprises a target shooting object, shooting and/or recording a target image comprising the target shooting object based on a target camera matched with the target main body so as to trigger the target camera to shoot and/or record the screen of the target shooting object;
the target shooting object is other shooting-available subjects corresponding to the target subject.
2. The method of claim 1, further comprising, prior to determining the target visual region of the target subject:
creating a target camera matched with the target subject;
the creating of the target camera mated with the target subject includes:
at least one target camera is respectively arranged at least one target position on the target body.
3. The method of claim 1, wherein the determining the target visual area of the target subject comprises:
determining a target visual area of the target subject based on at least one target camera disposed on the target subject.
4. The method of claim 1, wherein capturing and/or recording a target image including a target photographic object based on a target camera associated with the target subject if the target visual area includes the target photographic object comprises:
determining a subject attribute of the target subject if the target visual region includes a target photographic subject;
determining shooting parameters of each target camera in the current scene based on the subject attributes;
and shooting and/or recording a target image including a target shooting object based on the shooting parameters corresponding to the target cameras.
5. The method according to claim 1, wherein the capturing and/or recording a target image including a target photographic object based on the photographing parameters corresponding to the respective target cameras comprises:
and if the initial position of the target shooting object in the shooting picture does not meet the preset composition rule, adjusting the shooting parameters of each target camera so as to shoot and/or record a target image comprising the target shooting object based on the adjusted shooting parameters.
6. The method according to claim 1, wherein the capturing and/or recording a screen including a target image of a target photographic subject based on the photographing parameters corresponding to the respective target cameras includes:
when the number of the target photographic objects comprises a plurality of target photographic objects, determining the photographic priority level of each target photographic object;
and determining a shooting subject in the shooting picture according to the priority level, and triggering shooting and/or recording a target image including a target shooting object if the shooting subject is detected to meet a preset composition rule.
7. The method of claim 1, wherein capturing and/or recording a target image including a target photographic object based on a target camera associated with the target subject if the target visual area includes the target photographic object comprises:
and if the shooting picture comprises a target shooting object and the target shooting object triggers target skills and/or target special effects are determined, shooting and/or recording a target image comprising the target shooting object based on a target camera matched with the target main body.
8. An apparatus for capturing an image, comprising:
a region determination module for determining a target visual region of a target subject;
the image shooting module is used for shooting and/or recording a target image comprising a target shooting object based on a target camera matched with the target main body if the target visual area comprises the target shooting object so as to trigger the target camera to shoot and/or record the screen of the target shooting object;
the target shooting object is other shootable subjects corresponding to the target subject.
9. An electronic device, characterized in that the electronic device comprises:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement a method of capturing images as claimed in any one of claims 1-7.
10. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the method of taking an image as claimed in any one of claims 1 to 7.
CN202011624202.5A 2020-12-31 2020-12-31 Method and device for shooting image, electronic equipment and storage medium Active CN112843732B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011624202.5A CN112843732B (en) 2020-12-31 2020-12-31 Method and device for shooting image, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011624202.5A CN112843732B (en) 2020-12-31 2020-12-31 Method and device for shooting image, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN112843732A CN112843732A (en) 2021-05-28
CN112843732B true CN112843732B (en) 2023-01-13

Family

ID=75999335

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011624202.5A Active CN112843732B (en) 2020-12-31 2020-12-31 Method and device for shooting image, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112843732B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113489901B (en) * 2021-06-30 2023-04-28 维沃移动通信(杭州)有限公司 Shooting method and device thereof

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101549207A (en) * 2008-04-04 2009-10-07 株式会社万代南梦宫游戏 Game movie distribution method and system
CN110276789A (en) * 2018-03-15 2019-09-24 杭州海康威视系统技术有限公司 Method for tracking target and device

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3183632B2 (en) * 1997-06-13 2001-07-09 株式会社ナムコ Information storage medium and image generation device
JP2001149643A (en) * 1999-09-16 2001-06-05 Sony Computer Entertainment Inc Object display method in three-dimensional game, information recording medium, and entertainment device
CN109952757B (en) * 2017-08-24 2020-06-05 腾讯科技(深圳)有限公司 Method for recording video based on virtual reality application, terminal equipment and storage medium
CN108295468B (en) * 2018-02-28 2021-12-28 网易(杭州)网络有限公司 Information processing method, device and storage medium for game
CN111991800B (en) * 2019-02-22 2024-06-21 网易(杭州)网络有限公司 Game role control method, device, equipment and storage medium
CN110180168B (en) * 2019-05-31 2022-12-23 网易(杭州)网络有限公司 Game picture display method and device, storage medium and processor
CN111124226B (en) * 2019-12-17 2021-07-30 网易(杭州)网络有限公司 Game screen display control method and device, electronic equipment and storage medium

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101549207A (en) * 2008-04-04 2009-10-07 株式会社万代南梦宫游戏 Game movie distribution method and system
CN110276789A (en) * 2018-03-15 2019-09-24 杭州海康威视系统技术有限公司 Method for tracking target and device

Also Published As

Publication number Publication date
CN112843732A (en) 2021-05-28

Similar Documents

Publication Publication Date Title
CN110465097B (en) Character vertical drawing display method and device in game, electronic equipment and storage medium
CN106385576B (en) Stereoscopic Virtual Reality live broadcasting method, device and electronic equipment
CN107341827B (en) Video processing method, device and storage medium
US20220329880A1 (en) Video stream processing method and apparatus, device, and medium
CN111862348B (en) Video display method, video generation method, device, equipment and storage medium
WO2021174389A1 (en) Video processing method and apparatus
CN114390193B (en) Image processing method, device, electronic equipment and storage medium
CN112827172B (en) Shooting method, shooting device, electronic equipment and storage medium
US20230347240A1 (en) Display method and apparatus of scene picture, terminal, and storage medium
CN112843693B (en) Method and device for shooting image, electronic equipment and storage medium
CN112843732B (en) Method and device for shooting image, electronic equipment and storage medium
CN107065164B (en) Image presentation method and device
CN112642150B (en) Game picture shooting method, device, equipment and storage medium
WO2024055967A1 (en) Video processing method and apparatus, computer device, and storage medium
CN112843733A (en) Method and device for shooting image, electronic equipment and storage medium
CN110839175A (en) Interaction method based on smart television, storage medium and smart television
CN112843695B (en) Method and device for shooting image, electronic equipment and storage medium
JP7160707B2 (en) Method for providing images containing virtual characters
CN112860360B (en) Picture shooting method and device, storage medium and electronic equipment
WO2023002792A1 (en) Information processing device, information processing method, and computer program
CN112843714A (en) Method and device for shooting image, electronic equipment and storage medium
CN112843691B (en) Method and device for shooting image, electronic equipment and storage medium
CN112843694A (en) Picture shooting method and device, storage medium and electronic equipment
CN108965859B (en) Projection mode identification method, video playing method and device and electronic equipment
CN112843687B (en) Shooting method, shooting device, electronic equipment 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
GR01 Patent grant
GR01 Patent grant