CN113329253A - Television photographing method, device, equipment and computer readable storage medium - Google Patents
Television photographing method, device, equipment and computer readable storage medium Download PDFInfo
- Publication number
- CN113329253A CN113329253A CN202110562418.1A CN202110562418A CN113329253A CN 113329253 A CN113329253 A CN 113329253A CN 202110562418 A CN202110562418 A CN 202110562418A CN 113329253 A CN113329253 A CN 113329253A
- Authority
- CN
- China
- Prior art keywords
- viewing
- angle
- photo
- view
- television
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 53
- 230000001960 triggered effect Effects 0.000 claims abstract description 13
- 238000012545 processing Methods 0.000 claims description 10
- 238000004891 communication Methods 0.000 description 6
- 230000008569 process Effects 0.000 description 6
- 230000006870 function Effects 0.000 description 4
- GNFTZDOKVXKIBK-UHFFFAOYSA-N 3-(2-methoxyethoxy)benzohydrazide Chemical compound COCCOC1=CC=CC(C(=O)NN)=C1 GNFTZDOKVXKIBK-UHFFFAOYSA-N 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- FGUUSXIOTUKUDN-IBGZPJMESA-N C1(=CC=CC=C1)N1C2=C(NC([C@H](C1)NC=1OC(=NN=1)C1=CC=CC=C1)=O)C=CC=C2 Chemical compound C1(=CC=CC=C1)N1C2=C(NC([C@H](C1)NC=1OC(=NN=1)C1=CC=CC=C1)=O)C=CC=C2 FGUUSXIOTUKUDN-IBGZPJMESA-N 0.000 description 1
- YTAHJIFKAKIKAV-XNMGPUDCSA-N [(1R)-3-morpholin-4-yl-1-phenylpropyl] N-[(3S)-2-oxo-5-phenyl-1,3-dihydro-1,4-benzodiazepin-3-yl]carbamate Chemical compound O=C1[C@H](N=C(C2=C(N1)C=CC=C2)C1=CC=CC=C1)NC(O[C@H](CCN1CCOCC1)C1=CC=CC=C1)=O YTAHJIFKAKIKAV-XNMGPUDCSA-N 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000012827 research and development Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/41—Structure of client; Structure of client peripherals
- H04N21/422—Input-only peripherals, i.e. input devices connected to specially adapted client devices, e.g. global positioning system [GPS]
- H04N21/4223—Cameras
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/63—Control of cameras or camera modules by using electronic viewfinders
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/63—Control of cameras or camera modules by using electronic viewfinders
- H04N23/631—Graphical user interfaces [GUI] specially adapted for controlling image capture or setting capture parameters
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N5/00—Details of television systems
- H04N5/222—Studio circuitry; Studio devices; Studio equipment
- H04N5/262—Studio circuits, e.g. for mixing, switching-over, change of character of image, other special effects ; Cameras specially adapted for the electronic generation of special effects
- H04N5/265—Mixing
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Human Computer Interaction (AREA)
- Studio Devices (AREA)
Abstract
The invention discloses a television photographing method, which comprises the following steps: when a photographing instruction triggered on the television is detected, acquiring a corresponding first view angle and a first view direction in the photographing instruction, and determining the number of required photos according to the first view angle and the first view direction; shooting according to the first view angle, the first view direction and the number of the photos to obtain a photo set, and splicing the photo set to obtain a target photo. The invention also discloses a television photographing device, equipment and a computer readable storage medium. The method and the device determine the number of the required photos according to the first view angle and the first view direction, obtain the photo set according to the first view angle, the first view direction and the photo number, and splice the photo set to obtain the target photo, so that the success rate of television photographing is improved, and the quality of the photographed photo is improved.
Description
Technical Field
The present invention relates to the field of televisions, and in particular, to a method, an apparatus, a device, and a computer-readable storage medium for television photographing.
Background
With the improvement of television technology and living standard of people, the requirements of people on family life entertainment are higher and higher, and people like to record happy moments at home by using photos. However, as a very popular television, the television does not have the functions of taking pictures and taking pictures, even if the television is installed with a built-in camera or an external camera to take pictures, only pictures at a fixed angle can be taken, and for some families with a large number of people, the requirement for taking all people cannot be met during the picture taking process, and the success rate of the picture taking by the television is not high, the quality of the taken pictures is not high, and the user experience is seriously affected.
Therefore, how to improve the success rate of television photographing and the quality of the photographed pictures is an urgent problem to be solved.
Disclosure of Invention
The invention mainly aims to provide a television photographing method, a device, equipment and a computer readable storage medium, and aims to solve the problems of low success rate of television photographing and low quality of photographed pictures.
In order to achieve the above object, the present invention provides a television photographing method, which comprises the following steps:
when a photographing instruction triggered on the television is detected, acquiring a corresponding first view angle and a first view direction in the photographing instruction, and determining the number of required photos according to the first view angle and the first view direction;
shooting according to the first view angle, the first view direction and the number of the photos to obtain a photo set, and splicing the photo set to obtain a target photo.
Preferably, before the step of determining the number of required photos according to the first viewing angle and the first viewing direction, the television photographing method further includes:
if an updating instruction is received, updating the photographing software on the television, and acquiring a second viewing angle and a second viewing direction corresponding to the updated photographing software;
comparing the second viewing angle with the first viewing angle, and comparing the second viewing direction with the first viewing direction to obtain a comparison result;
if the comparison result shows that the second viewing angle is the same as the first viewing angle and the second viewing direction is the same as the first viewing direction, the first viewing angle and the first viewing direction are not changed, and the steps are executed: determining the number of required photos according to the first view angle and the first view direction;
if the comparison result shows that the second viewing angle is different from the first viewing angle and the second viewing direction is different from the first viewing direction, storing the second viewing angle as the first viewing angle and the second viewing direction as the first viewing direction, and executing the following steps: and determining the number of required photos according to the first view angle and the first view direction.
Preferably, the step of determining the number of required photos according to the first viewing angle and the first viewing direction comprises:
determining a target viewing area according to the first viewing angle and the first viewing direction;
and determining a shooting angle set according to the target viewing area and the first viewing angle, and determining the number of required photos according to the shooting angle set.
Preferably, the step of determining the target viewing area according to the first viewing angle and the first viewing direction includes:
and expanding the wide angle of a camera in the television into the first viewing angle, and driving the camera to rotate according to the first viewing direction so as to determine the target viewing area.
Preferably, the step of taking pictures according to the first viewing angle, the first viewing direction and the number of pictures to obtain a picture set includes:
calculating a direction information set for shooting according to the first view angle, the first view direction and the number of the pictures;
and shooting the target viewing area, and binding and storing the orientation information set and the shot photos to obtain a photo set, wherein each photo in the photo set is correspondingly bound with one orientation information.
Preferably, the step of splicing the photo sets to obtain the target photo includes:
acquiring the azimuth information corresponding to each photo in the photo set, and splicing the photo set according to the azimuth information to obtain spliced photos;
and carrying out splicing edge processing on the spliced photo to obtain a target photo.
Preferably, the step of obtaining the target photo by performing the edge splicing processing on the spliced photo further includes:
and identifying the splicing edge in the spliced photo, and fusing the two image layers contained in the splicing edge to obtain the target photo.
In addition, in order to achieve the above object, the present invention further provides a television camera, including:
the determining module is used for acquiring a corresponding first view angle and a first view direction in the photographing instruction when the photographing instruction triggered on the television is detected, and determining the number of the required photos according to the first view angle and the first view direction;
and the shooting module is used for shooting according to the first view angle, the first view direction and the number of the photos to obtain a photo set, and splicing the photo set to obtain a target photo.
Further, the determining module further comprises a comparing module, and the comparing module is configured to:
if an updating instruction is received, updating the photographing software on the television, and acquiring a second viewing angle and a second viewing direction corresponding to the updated photographing software;
comparing the second viewing angle with the first viewing angle, and comparing the second viewing direction with the first viewing direction to obtain a comparison result;
if the comparison result shows that the second viewing angle is the same as the first viewing angle and the second viewing direction is the same as the first viewing direction, the first viewing angle and the first viewing direction are not changed, and the steps are executed: determining the number of required photos according to the first view angle and the first view direction;
if the comparison result shows that the second viewing angle is different from the first viewing angle and the second viewing direction is different from the first viewing direction, storing the second viewing angle as the first viewing angle and the second viewing direction as the first viewing direction, and executing the following steps: and determining the number of required photos according to the first view angle and the first view direction.
Further, the determining module is further configured to:
determining a target viewing area according to the first viewing angle and the first viewing direction;
and determining a shooting angle set according to the target viewing area and the first viewing angle, and determining the number of required photos according to the shooting angle set.
Further, the determining module is further configured to:
and expanding the wide angle of a camera in the television into the first viewing angle, and driving the camera to rotate according to the first viewing direction so as to determine the target viewing area.
Preferably, the photographing module is further configured to:
calculating a direction information set for shooting according to the first view angle, the first view direction and the number of the pictures;
and shooting the target viewing area, and binding and storing the orientation information set and the shot photos to obtain a photo set, wherein each photo in the photo set is correspondingly bound with one orientation information.
Preferably, the shooting module further comprises a splicing module, and the splicing module is configured to:
acquiring the azimuth information corresponding to each photo in the photo set, and splicing the photo set according to the azimuth information to obtain spliced photos;
and carrying out splicing edge processing on the spliced photo to obtain a target photo.
Preferably, the splicing module is further configured to:
and identifying the splicing edge in the spliced photo, and fusing the two image layers contained in the splicing edge to obtain the target photo.
In addition, to achieve the above object, the present invention further provides a television camera device, including: the system comprises a memory, a processor and a television photographing program which is stored on the memory and can run on the processor, wherein the steps of the television photographing method are realized when the television photographing program is executed by the processor.
In addition, to achieve the above object, the present invention further provides a computer readable storage medium, wherein a television photo taking program is stored on the computer readable storage medium, and when being executed by a processor, the television photo taking program realizes the steps of the television photo taking method as described above.
According to the television photographing method, when a photographing instruction triggered on a television is detected, a corresponding first view angle and a first view direction in the photographing instruction are obtained, and the number of required photos is determined according to the first view angle and the first view direction; shooting according to the first view angle, the first view direction and the number of the photos to obtain a photo set, and splicing the photo set to obtain a target photo. The method and the device determine the number of the required photos according to the first view angle and the first view direction, obtain the photo set according to the first view angle, the first view direction and the photo number, and splice the photo set to obtain the target photo, so that the success rate of television photographing is improved, and the quality of the photographed photo is improved.
Drawings
FIG. 1 is a schematic diagram of an apparatus architecture of a hardware operating environment according to an embodiment of the present invention;
FIG. 2 is a schematic flow chart of a television photo-taking method according to a first embodiment of the present invention;
the implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
As shown in fig. 1, fig. 1 is a schematic device structure diagram of a hardware operating environment according to an embodiment of the present invention.
The device of the embodiment of the invention can be a PC or a server device.
As shown in fig. 1, the apparatus may include: a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, a communication bus 1002. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The memory 1005 may be a high-speed RAM memory or a non-volatile memory (e.g., a magnetic disk memory). The memory 1005 may alternatively be a storage device separate from the processor 1001.
Those skilled in the art will appreciate that the configuration of the apparatus shown in fig. 1 is not intended to be limiting of the apparatus and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
As shown in fig. 1, a memory 1005, which is a kind of computer storage medium, may include therein an operating system, a network communication module, a user interface module, and a television photographing program.
The operating system is a program for managing and controlling the portable television photographing equipment and software resources, and supports the operation of a network communication module, a user interface module, a television photographing program and other programs or software; the network communication module is used for managing and controlling the network interface 1002; the user interface module is used to manage and control the user interface 1003.
In the television photographing apparatus shown in fig. 1, the television photographing apparatus calls a television photographing program stored in the memory 1005 through the processor 1001 and performs operations in various embodiments of the television photographing method described below.
Based on the hardware structure, the embodiment of the television photographing method is provided.
Referring to fig. 2, fig. 2 is a schematic flow chart of a first embodiment of the television photographing method of the present invention, where the method includes:
step S10, when a photographing instruction triggered on the television is detected, acquiring a corresponding first view angle and a first view direction in the photographing instruction, and determining the number of required photos according to the first view angle and the first view direction;
and step S20, shooting according to the first view angle, the first view direction and the number of the photos to obtain a photo set, and splicing the photo set to obtain a target photo.
The television photographing method is applied to television photographing equipment, the television photographing equipment has all functions of a common television and also has a function of photographing by utilizing a built-in camera, and for convenience in description, the television photographing equipment is taken as an example for description; when detecting a photographing instruction triggered by photographing software on a television, the television photographing equipment acquires a first view angle and a first view direction in the photographing instruction, determines the number of required photos according to the first view angle and the first view direction, and drives a camera to photograph a target view area according to the first view angle, the first view direction and the number of the photos to obtain a target photo set; the method comprises the steps that the television photographing equipment obtains azimuth information corresponding to each photo in a photo set, the photo set is spliced according to the azimuth information to obtain spliced photos, and splicing edge processing is carried out on the spliced photos to obtain target photos; it should be noted that the first viewing angle is a rotation angle of a camera in the television photographing device in the photographing process, and the camera takes a corresponding picture through rotation; the first view finding direction is the direction rotated when the camera shoots, and can be clockwise rotation or anticlockwise rotation; the first viewing angle and the first viewing direction are set in advance by related research and development personnel, and can be changed by updating the photographing software in the television photographing equipment; the built-in camera in the television photographing equipment is a tripod head camera and has the functions of left-right rotation, photographing, image acquisition and the like;
in the television photographing method of the embodiment, when a photographing instruction triggered on a television is detected, a first view angle and a first view direction corresponding to the photographing instruction are obtained, and the number of required photos is determined according to the first view angle and the first view direction; shooting according to the first view angle, the first view direction and the number of the photos to obtain a photo set, and splicing the photo set to obtain a target photo. The method and the device determine the number of the required photos according to the first view angle and the first view direction, obtain the photo set according to the first view angle, the first view direction and the photo number, and splice the photo set to obtain the target photo, so that the success rate of television photographing is improved, and the quality of the photographed photo is improved.
The respective steps will be described in detail below:
step S10, when a photographing instruction triggered on the television is detected, acquiring a corresponding first view angle and a first view direction in the photographing instruction, and determining the number of required photos according to the first view angle and the first view direction;
in this embodiment, when detecting a photographing instruction triggered by photographing software on a television, a television photographing device obtains a first view angle and a first view direction corresponding to the photographing instruction, and determines the number of required photos according to the first view angle and the first view direction; such as: when a related user starts photographing software, the television photographing device detects a photographing instruction and acquires a corresponding first view angle and a first view direction in the photographing instruction, and the television photographing device determines the number of required photos according to the acquired first view angle and first view direction; it should be noted that, when the related user starts the photographing application program, the photographing mode needs to be selected, where the photographing mode includes, but is not limited to, a normal mode and a panoramic mode, the photographing application program generates a corresponding photographing instruction according to the photographing mode selected by the user, and a first view angle and a first view direction corresponding to the photographing instruction in different photographing modes are different.
Specifically, step S10 further includes:
step a, determining a target viewing area according to the first viewing angle and the first viewing direction;
in the step, after the television photographing device obtains a first view angle and a first view direction corresponding to the photographing instruction, a target view area is determined according to the first view angle and the first view direction; such as: the television photographing device determines a photographing mode selected by a related user according to a first viewing angle and a first viewing direction, and when the photographing mode is a panoramic mode, drives the camera to preview a target viewing area according to the first viewing angle and the first viewing direction, so as to determine the target viewing area.
Further, step a further comprises:
and expanding the wide angle of a camera in the television into the first viewing angle, and driving the camera to rotate according to the first viewing direction so as to determine the target viewing area.
In the step, the television photographing device expands the wide angle of the camera to a first view angle according to the first view angle, and drives the camera to rotate according to a first view direction so as to determine a target view area; it should be noted that: when the target view area is determined, the wide angle of the camera is expanded to a first view angle, the camera can preview the target view area only by finely adjusting the lens direction according to the first view direction, so that the target view area is determined, and the subsequent steps are facilitated.
And b, determining a shooting angle set according to the target viewing area and the first viewing angle, and determining the number of required pictures according to the shooting angle set.
In the step, the television photographing device determines a photographing angle set according to a first viewing angle and a target viewing area, and determines the number of required photos according to the photographing angle set; such as: the television photographing device determines a photographing mode selected by a relevant user according to a first view angle and a first view direction, determines a target view area according to the first view angle and the first view direction when the photographing mode is a panoramic mode, determines a photographing angle set according to the first view angle and the target view area, and determines the number of required photos according to the photographing angle set; it should be noted that, when the photographing mode is the normal mode, it is determined that the number of the required photos is 1, and after one photo is taken, the step of taking is completed, so as to obtain a target photo; because the picture that the equipment of shooing of TV was shot under the panorama mode is formed by a plurality of pictures concatenation, in order to guarantee the success rate of concatenation and the quality of the target picture that obtains, need according to target viewing area, first angle of finding a view and first direction of finding a view, confirm the picture quantity of concatenation into the target picture.
And step S20, shooting according to the first view angle, the first view direction and the number of the photos to obtain a photo set, and splicing the photo set to obtain a target photo.
In the embodiment, the television photographing device photographs according to a first view angle, a first view direction and the number of photos to obtain a photo set, and splices the obtained photo set according to the azimuth information corresponding to each photo in the photo set to obtain a target photo; such as: the television photographing device shoots according to the first view angle, the first view direction and the number of the photos to obtain a photo set, obtains azimuth information corresponding to each photo in the photo set, splices the photo set according to the azimuth information to obtain spliced photos, identifies spliced edges in the spliced photos, and fuses two image layers contained in the spliced edges to obtain a target photo. It should be noted that the mosaic photo includes a mosaic edge, the mosaic edge is formed by overlapping the same portions of two adjacent photos, and the mosaic edge has two image layers.
Specifically, step S20 further includes:
step c, calculating a direction information set for shooting according to the first view angle, the first view direction and the number of the photos;
in the step, the television photographing device calculates a direction information set shot by the camera according to a first view angle, a first view direction and the number of photos; such as: and the related user selects a panoramic mode, and the television photographing equipment calculates an azimuth information set when the camera performs photographing according to the corresponding first view angle, the first view direction and the number of photos, wherein the azimuth information set comprises but is not limited to an angle value of horizontal rotation of the camera, a pitch angle of the camera, a rotation direction of the camera and the like.
And d, shooting the target viewing area, binding and storing the orientation information set and the shot photos to obtain a photo set, wherein each photo in the photo set is correspondingly bound with one orientation information.
In the step, the television photographing device drives the built-in camera to photograph a target viewing area, and a direction information set and the photographed photos are correspondingly bound and stored to obtain a photo set, wherein each photo in the photo set is correspondingly bound with one direction information; such as: and according to the azimuth information set, the television photographing equipment drives the built-in camera to reach a first azimuth according to the first azimuth information in the azimuth information set, a first picture is taken, then drives the built-in camera to reach a second azimuth according to the second azimuth information in the azimuth information set, a second picture is taken, and the like until the last picture is taken in the last azimuth.
Step e, acquiring the azimuth information corresponding to each photo in the photo set, and splicing the photo set according to the azimuth information to obtain spliced photos;
in the step, the television photographing equipment acquires azimuth information corresponding to each photo in the photo set, and splices each photo in the photo set according to the azimuth information to obtain spliced photos; such as: the television photographing equipment acquires the azimuth information corresponding to each photo in the photo set, determines the adjacent photos of each photo according to the azimuth information, splices the same parts in the adjacent photos, and finally splices all the photos together to obtain spliced photos.
And f, carrying out splicing edge processing on the spliced photos to obtain target photos.
In this step, the television photographing device performs stitching edge processing on the obtained stitched photo to obtain a target photo, such as: after the television photographing equipment obtains the spliced photos, splicing edges of the spliced photos are processed, and the spliced photos are formed by splicing the photo sets shot by the camera, so that the spliced edges of the two adjacent photos have two identical image layers, and the television photographing equipment fuses the corresponding image layers in all the spliced edges of the spliced photos, so that the two identical image layers in the spliced edges are fused into one image layer, and further the spliced photos are fused into one panoramic photo to obtain the target photos.
Further, step f further comprises:
and identifying the splicing edge in the spliced photo, and fusing the two image layers contained in the splicing edge to obtain the target photo.
In the step, the television photographing device identifies the splicing edges in the spliced photo to determine whether two identical image layers in the splicing edges are correctly overlapped and spliced together, and if the two identical image layers in the splicing edges are correctly overlapped and spliced together, the two identical image layers contained in the splicing edges are fused to obtain a target photo; if two identical image layers in one splicing edge are not correctly overlapped and spliced together, re-splicing is carried out according to the azimuth information corresponding to each photo in the photo set, then the splicing edge is identified, whether the two identical image layers are correctly overlapped and spliced together is judged, and a target photo is obtained.
In the television photographing method of the embodiment, when a photographing instruction triggered by photographing software on a television is detected, television photographing equipment acquires a first view angle and a first view direction in the photographing instruction, determines the required number of photos according to the first view angle and the first view direction, and drives a camera to photograph a target view finding area according to the first view angle, the first view direction and the number of the photos to obtain a target photo set; the method comprises the steps that the television photographing equipment obtains azimuth information corresponding to each photo in a photo set, the photo set is spliced according to the azimuth information to obtain spliced photos, and splicing edge processing is carried out on the spliced photos to obtain target photos; the method and the device determine the number of the required photos according to the first view angle and the first view direction, obtain the photo set according to the first view angle, the first view direction and the photo number, and splice the photo set to obtain the target photo, so that the success rate of television photographing is improved, and the quality of the photographed photo is improved.
Further, a second embodiment of the television photo method of the present invention is provided based on the first embodiment of the television photo method of the present invention.
The second embodiment of the television photography method differs from the first embodiment of the television photography method in that prior to the step of determining the number of required photographs, the television photography method further comprises:
step g, if an updating instruction is received, updating the photographing software on the television, and acquiring a corresponding second viewing angle and a second viewing direction in the updated photographing software;
step h, comparing the second viewing angle with the first viewing angle, and comparing the second viewing direction with the first viewing direction to obtain a comparison result;
step i, if the comparison result is that the second viewing angle is the same as the first viewing angle and the second viewing direction is the same as the first viewing direction, the first viewing angle and the first viewing direction are not changed, and the number of the required photos is determined according to the first viewing angle and the first viewing direction;
and j, if the comparison result shows that the second view angle is different from the first view angle and the second view direction is different from the first view direction, storing the second view angle as the first view angle or storing the second view direction as the first view direction, and determining the number of the required photos according to the changed first view angle and the changed first view direction.
In the embodiment, before the television photographing device receives the photographing instruction, if the updating instruction is received, the photographing software is updated, a second view angle and a second view direction corresponding to the photographing software after updating are obtained, the second view angle is compared with the first view angle, the second view direction is compared with the first view direction, a comparison result is obtained, and whether the first view angle and the first view direction are changed or not is determined according to the comparison result; it should be noted that the television photographing device does not necessarily receive the update instruction before receiving the photographing instruction, the update instruction is sent to the television photographing device by the main server, and if the update instruction is not received, the first viewing angle and the first viewing direction are continuously used; the second viewing angle corresponding to the updated photographing software may be the same as the first viewing angle or different from the first viewing angle, and the second viewing direction corresponding to the updated photographing software may be the same as the first viewing direction or different from the first viewing direction.
The respective steps will be described in detail below:
step g, if an updating instruction is received, updating the photographing software on the television, and acquiring a corresponding second viewing angle and a second viewing direction in the updated photographing software;
in this embodiment, if the television photographing device receives the update instruction, the photographing software is updated, and a second view angle and a second view direction corresponding to the updated photographing software are obtained; such as: before the television photographing device receives the photographing instruction, if the television photographing device receives the updating instruction, the television photographing device updates the photographing software and obtains a second view finding angle and a second view finding direction corresponding to the updated photographing software; and if the updating instruction is not received, continuing to take the first view angle and the first view direction as the first view angle and the first view direction respectively, and when the related user starts the photographing application program, taking the first view angle as the first view angle and the first view direction as the first view direction by the television photographing equipment so as to drive the camera to photograph.
Step h, comparing the second viewing angle with the first viewing angle, and comparing the second viewing direction with the first viewing direction to obtain a comparison result;
in this embodiment, the television photographing device compares the acquired second view angle with the acquired first view angle, and compares the second view direction with the first view direction to obtain a comparison result, so as to determine whether to change the first view angle and the first view direction according to the comparison result.
Step i, if the comparison result is that the second viewing angle is the same as the first viewing angle, and the second viewing direction is the same as the first viewing direction, the first viewing angle and the first viewing direction are not changed, and the steps are executed: determining the number of required photos according to the first view angle and the first view direction;
in this step, if the television photographing device obtains the comparison result that the second viewing angle is the same as the first viewing angle and the second viewing direction is the same as the first viewing direction, the first viewing angle is not changed or the first viewing direction is not changed. It should be noted that, if the television photographing device obtains the comparison result that the second viewing direction is the same as the first viewing direction, the first viewing direction remains unchanged; if the television photographing device obtains a comparison result that the second viewing angle is the same as the first viewing angle, keeping the first viewing angle unchanged; and if the television photographing device obtains the comparison result that the second view angle is the same as the first view angle or the second view direction is the same as the first view direction, keeping the first view angle and the first view direction unchanged.
Step j, if the comparison result shows that the second viewing angle is different from the first viewing angle and the second viewing direction is different from the first viewing direction, storing the second viewing angle as the first viewing angle and the second viewing direction as the first viewing direction, and executing the steps of: and determining the number of required photos according to the first view angle and the first view direction.
In the step, if the television photographing device obtains a comparison result that the second viewing angle is different from the first viewing angle and the second viewing direction is different from the first viewing direction, storing the second viewing angle as the first viewing angle and storing the second viewing direction as the first viewing direction; it should be noted that, if the television photographing device obtains a comparison result that the second viewing angle is different from the first viewing angle, the second viewing angle is stored as the first viewing angle; if the television photographing equipment obtains a comparison result that the second viewing direction is different from the first viewing direction, storing the second viewing direction as the first viewing direction; and if the television photographing equipment obtains a comparison result that the second viewing angle is different from the first viewing angle and the second viewing direction is different from the first viewing direction, storing the second viewing angle as the first viewing angle and storing the second viewing direction as the first viewing direction.
In this embodiment, before receiving the photographing instruction, if receiving the update instruction, the television photographing device updates the photographing software, obtains a second view angle and a second view direction corresponding to the updated photographing software, compares the second view angle with the first view angle, compares the second view direction with the first view direction, obtains a comparison result, and determines the first view angle and the first view direction according to the comparison result; by updating the first viewing angle and the first viewing direction, the success rate of television photographing and the quality of photos are improved.
The invention also provides a television photographing device. The television photographing device of the invention comprises:
the determining module is used for acquiring a corresponding first view angle and a first view direction in the photographing instruction when the photographing instruction triggered on the television is detected, and determining the number of the required photos according to the first view angle and the first view direction;
and the shooting module is used for shooting according to the first view angle, the first view direction and the number of the photos to obtain a photo set, and splicing the photo set to obtain a target photo.
Further, the determining module further comprises a comparing module, and the comparing module is configured to:
if an updating instruction is received, updating the photographing software on the television, and acquiring a second viewing angle and a second viewing direction corresponding to the updated photographing software;
comparing the second viewing angle with the first viewing angle, and comparing the second viewing direction with the first viewing direction to obtain a comparison result;
if the comparison result shows that the second viewing angle is the same as the first viewing angle and the second viewing direction is the same as the first viewing direction, the first viewing angle and the first viewing direction are not changed, and the steps are executed: determining the number of required photos according to the first view angle and the first view direction;
if the comparison result shows that the second viewing angle is different from the first viewing angle and the second viewing direction is different from the first viewing direction, storing the second viewing angle as the first viewing angle and the second viewing direction as the first viewing direction, and executing the following steps: and determining the number of required photos according to the first view angle and the first view direction.
Further, the determining module is further configured to:
determining a target viewing area according to the first viewing angle and the first viewing direction;
and determining a shooting angle set according to the target viewing area and the first viewing angle, and determining the number of required photos according to the shooting angle set.
Further, the determining module is further configured to:
and expanding the wide angle of a camera in the television into the first viewing angle, and driving the camera to rotate according to the first viewing direction so as to determine the target viewing area.
Further, the shooting module is further configured to:
calculating a direction information set for shooting according to the first view angle, the first view direction and the number of the pictures;
and shooting the target viewing area, and binding and storing the orientation information set and the shot photos to obtain a photo set, wherein each photo in the photo set is correspondingly bound with one orientation information.
Further, the shooting module further comprises a splicing module, and the splicing module is used for:
acquiring the azimuth information corresponding to each photo in the photo set, and splicing the photo set according to the azimuth information to obtain spliced photos;
and carrying out splicing edge processing on the spliced photo to obtain a target photo.
Further, the splicing module is further configured to:
and identifying the splicing edge in the spliced photo, and fusing the two image layers contained in the splicing edge to obtain the target photo.
The invention also provides a computer readable storage medium.
The computer readable storage medium of the present invention stores a television photo taking program, and the television photo taking program, when executed by a processor, implements the steps of the television photo taking method as described above.
The method implemented when the television photographing program running on the processor is executed may refer to each embodiment of the television photographing method of the present invention, and details thereof are not described herein.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) as described above and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.
Claims (10)
1. A television photographing method is characterized by comprising the following steps:
when a photographing instruction triggered on the television is detected, acquiring a corresponding first view angle and a first view direction in the photographing instruction, and determining the number of required photos according to the first view angle and the first view direction;
shooting according to the first view angle, the first view direction and the number of the photos to obtain a photo set, and splicing the photo set to obtain a target photo.
2. The method of claim 1, wherein prior to the step of determining the number of required pictures based on the first viewing angle and the first viewing direction, the method further comprises:
if an updating instruction is received, updating the photographing software on the television, and acquiring a second viewing angle and a second viewing direction corresponding to the updated photographing software;
comparing the second viewing angle with the first viewing angle, and comparing the second viewing direction with the first viewing direction to obtain a comparison result;
if the comparison result shows that the second viewing angle is the same as the first viewing angle and the second viewing direction is the same as the first viewing direction, the first viewing angle and the first viewing direction are not changed, and the steps are executed: determining the number of required photos according to the first view angle and the first view direction;
if the comparison result shows that the second viewing angle is different from the first viewing angle and the second viewing direction is different from the first viewing direction, storing the second viewing angle as the first viewing angle and the second viewing direction as the first viewing direction, and executing the following steps: and determining the number of required photos according to the first view angle and the first view direction.
3. The method of claim 1, wherein the step of determining the number of required pictures based on the first viewing angle and the first viewing direction comprises:
determining a target viewing area according to the first viewing angle and the first viewing direction;
and determining a shooting angle set according to the target viewing area and the first viewing angle, and determining the number of required photos according to the shooting angle set.
4. The method for television photography as defined in claim 3, wherein the step of determining a target viewing area based on the first viewing angle and the first viewing direction comprises:
and expanding the wide angle of a camera in the television into the first viewing angle, and driving the camera to rotate according to the first viewing direction so as to determine the target viewing area.
5. The method of claim 3 wherein said step of taking a picture based on said first viewing angle, said first viewing direction and said number of pictures to obtain a set of pictures comprises:
calculating a direction information set for shooting according to the first view angle, the first view direction and the number of the pictures;
and shooting the target viewing area, and binding and storing the orientation information set and the shot photos to obtain a photo set, wherein each photo in the photo set is correspondingly bound with one orientation information.
6. The method of claim 5, wherein the step of stitching the set of photos to obtain the target photo comprises:
acquiring the azimuth information corresponding to each photo in the photo set, and splicing the photo set according to the azimuth information to obtain spliced photos;
and carrying out splicing edge processing on the spliced photo to obtain a target photo.
7. The method as claimed in claim 6, wherein the splicing edge in the spliced picture comprises two layers, and the step of processing the splicing edge to obtain the target picture further comprises:
and identifying the splicing edge in the spliced photo, and fusing the two image layers contained in the splicing edge to obtain the target photo.
8. A television camera, the television camera comprising:
the determining module is used for acquiring a corresponding first view angle and a first view direction in the photographing instruction when the photographing instruction triggered on the television is detected, and determining the number of the required photos according to the first view angle and the first view direction;
and the shooting module is used for shooting according to the first view angle, the first view direction and the number of the photos to obtain a photo set, and splicing the photo set to obtain a target photo.
9. A television camera device, the television camera device comprising: memory, processor and a television photography program stored on the memory and executable on the processor, the television photography program when executed by the processor implementing the steps of the television photography method of any of claims 1 to 7.
10. A computer-readable storage medium, having stored thereon a television photography program, which when executed by a processor implements the steps of the television photography method of any of claims 1 to 7.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110562418.1A CN113329253A (en) | 2021-05-21 | 2021-05-21 | Television photographing method, device, equipment and computer readable storage medium |
PCT/CN2021/140024 WO2022242169A1 (en) | 2021-05-21 | 2021-12-21 | Television-based photographing method, apparatus, and device, and computer-readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110562418.1A CN113329253A (en) | 2021-05-21 | 2021-05-21 | Television photographing method, device, equipment and computer readable storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN113329253A true CN113329253A (en) | 2021-08-31 |
Family
ID=77416368
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110562418.1A Pending CN113329253A (en) | 2021-05-21 | 2021-05-21 | Television photographing method, device, equipment and computer readable storage medium |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN113329253A (en) |
WO (1) | WO2022242169A1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2022242169A1 (en) * | 2021-05-21 | 2022-11-24 | 深圳创维-Rgb电子有限公司 | Television-based photographing method, apparatus, and device, and computer-readable storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2000324380A (en) * | 1999-05-11 | 2000-11-24 | Canon Inc | Image pickup device and its method |
JP2002101318A (en) * | 2000-09-25 | 2002-04-05 | Canon Inc | Image pickup device |
CN101420525A (en) * | 2007-10-26 | 2009-04-29 | 鸿富锦精密工业(深圳)有限公司 | Photographing apparatus and method |
CN102279515A (en) * | 2010-06-09 | 2011-12-14 | 鸿富锦精密工业(深圳)有限公司 | Panoramic shooting apparatus and method thereof |
CN103795924A (en) * | 2014-02-07 | 2014-05-14 | 宇龙计算机通信科技(深圳)有限公司 | Panorama photographing device and method |
US20170221244A1 (en) * | 2016-02-02 | 2017-08-03 | Morpho, Inc. | Image processing device, image processing method, non-transitory computer readable recording medium and photographing assist equipment |
Family Cites Families (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20060006304A (en) * | 2004-07-15 | 2006-01-19 | 주식회사 팬택 | Master/slave wireless telecommunication terminal and its method for providing a function of photographing a panorama |
CN104853097B (en) * | 2015-04-30 | 2018-03-27 | 广东欧珀移动通信有限公司 | A kind of panning mode image pickup method and device |
CN106416224A (en) * | 2016-08-25 | 2017-02-15 | 北京小米移动软件有限公司 | Panoramic shooting method, terminal, rotation assembly and panoramic shooting device |
CN106658108A (en) * | 2016-12-13 | 2017-05-10 | 广东长虹电子有限公司 | Television remote controller with panoramic shooting function, and television |
CN107094236A (en) * | 2017-05-19 | 2017-08-25 | 努比亚技术有限公司 | Panorama shooting method, mobile terminal and computer-readable recording medium |
CN110086996A (en) * | 2019-05-17 | 2019-08-02 | 深圳创维-Rgb电子有限公司 | A kind of automatic photographing method based on TV, TV and storage medium |
CN111225148A (en) * | 2020-01-17 | 2020-06-02 | 深圳康佳电子科技有限公司 | Smart television, camera control method and storage medium |
CN113329253A (en) * | 2021-05-21 | 2021-08-31 | 深圳创维-Rgb电子有限公司 | Television photographing method, device, equipment and computer readable storage medium |
-
2021
- 2021-05-21 CN CN202110562418.1A patent/CN113329253A/en active Pending
- 2021-12-21 WO PCT/CN2021/140024 patent/WO2022242169A1/en unknown
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2000324380A (en) * | 1999-05-11 | 2000-11-24 | Canon Inc | Image pickup device and its method |
JP2002101318A (en) * | 2000-09-25 | 2002-04-05 | Canon Inc | Image pickup device |
CN101420525A (en) * | 2007-10-26 | 2009-04-29 | 鸿富锦精密工业(深圳)有限公司 | Photographing apparatus and method |
CN102279515A (en) * | 2010-06-09 | 2011-12-14 | 鸿富锦精密工业(深圳)有限公司 | Panoramic shooting apparatus and method thereof |
CN103795924A (en) * | 2014-02-07 | 2014-05-14 | 宇龙计算机通信科技(深圳)有限公司 | Panorama photographing device and method |
US20170221244A1 (en) * | 2016-02-02 | 2017-08-03 | Morpho, Inc. | Image processing device, image processing method, non-transitory computer readable recording medium and photographing assist equipment |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2022242169A1 (en) * | 2021-05-21 | 2022-11-24 | 深圳创维-Rgb电子有限公司 | Television-based photographing method, apparatus, and device, and computer-readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
WO2022242169A1 (en) | 2022-11-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106605403B (en) | Shooting method and electronic equipment | |
CN110730296B (en) | Image processing apparatus, image processing method, and computer readable medium | |
WO2017067520A1 (en) | Mobile terminal having binocular cameras and photographing method therefor | |
WO2017107629A1 (en) | Mobile terminal, data transmission system and shooting method of mobile terminal | |
CN105791701B (en) | Image capturing device and method | |
CN102420898A (en) | Mobile phone-based panoramic photographing realization method and mobile phone | |
CN105827964A (en) | Image processing method and mobile terminal | |
WO2017067121A1 (en) | Shooting method, device and system, and mobile terminal | |
CN105847673B (en) | Photo display methods, device and mobile terminal | |
US20120002094A1 (en) | Image pickup apparatus for providing reference image and method for providing reference image thereof | |
CN103999447A (en) | Pre-setting the foreground view of a photograph | |
CN112637515A (en) | Shooting method and device and electronic equipment | |
CN103945116A (en) | Apparatus and method for processing image in mobile terminal having camera | |
JP2005318561A (en) | Image output system, method, apparatus, and program | |
CN113329253A (en) | Television photographing method, device, equipment and computer readable storage medium | |
US8605308B2 (en) | Apparatus for displaying slide show function and method of controlling the same | |
KR20100018335A (en) | Method and apparatus for controlling thumbnail display, and digital photographing apparatus | |
JP2009260599A (en) | Image display apparatus and electronic camera | |
JP2014168209A (en) | Imaging apparatus, imaging method and program | |
CN112532886B (en) | Panorama shooting method, device and computer readable storage medium | |
CN112492213B (en) | Image shooting method and device and electronic equipment | |
CN111654623B (en) | Photographing method and device and electronic equipment | |
CN110072063B (en) | Photographing method, photographing device and electronic equipment | |
JP2014120815A (en) | Information processing apparatus, imaging device, information processing method, program, and storage medium | |
US11622078B2 (en) | Method and apparatus for image formation using preview images |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20210831 |
|
RJ01 | Rejection of invention patent application after publication |