CN112911058A - Photographing control method and device, mobile terminal and storage medium - Google Patents
Photographing control method and device, mobile terminal and storage medium Download PDFInfo
- Publication number
- CN112911058A CN112911058A CN202110075668.2A CN202110075668A CN112911058A CN 112911058 A CN112911058 A CN 112911058A CN 202110075668 A CN202110075668 A CN 202110075668A CN 112911058 A CN112911058 A CN 112911058A
- Authority
- CN
- China
- Prior art keywords
- data
- mobile terminal
- spatial variation
- image
- photographing
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 38
- 230000008859 change Effects 0.000 claims abstract description 70
- 238000001514 detection method Methods 0.000 claims description 15
- GOLXNESZZPUPJE-UHFFFAOYSA-N spiromesifen Chemical compound CC1=CC(C)=CC(C)=C1C(C(O1)=O)=C(OC(=O)CC(C)(C)C)C11CCCC1 GOLXNESZZPUPJE-UHFFFAOYSA-N 0.000 claims description 2
- 230000033001 locomotion Effects 0.000 description 17
- 230000006870 function Effects 0.000 description 11
- 239000011324 bead Substances 0.000 description 6
- 230000008569 process Effects 0.000 description 6
- 238000004590 computer program Methods 0.000 description 5
- 238000010586 diagram Methods 0.000 description 5
- 230000000694 effects Effects 0.000 description 5
- 230000002093 peripheral effect Effects 0.000 description 2
- 230000002401 inhibitory effect Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/80—Camera processing pipelines; Components thereof
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Studio Devices (AREA)
Abstract
The invention discloses a photographing control method, a photographing control device, a mobile terminal and a storage medium, wherein the method comprises the following steps: acquiring a shot image, and determining spatial variation data corresponding to the shot image according to the shot image; comparing the spatial variation data with preset reference data to obtain a comparison result; and controlling photographing according to the comparison result. The invention can determine the space change data according to the shot image and then control the shooting according to the space change data, thereby avoiding the occurrence of poor or repeated pictures in shooting, avoiding the storage space of the mobile terminal from being occupied by invalid pictures, saving the storage space and providing convenience for the use of users.
Description
Technical Field
The invention relates to the technical field of photographing, in particular to a photographing control method and device, a mobile terminal and a storage medium.
Background
At present, mobile terminals are provided with cameras to take photos; at present, because the mobile terminal is carried about and is used more widely for photographing, a user can take photos at any time through the mobile terminal, so that a large number of photos can be accumulated by the mobile terminal in the actual photographing process, and the photos usually occupy large space, so that the memory of the mobile terminal is excessively and inefficiently occupied.
Thus, there is a need for improvements and enhancements in the art.
Disclosure of Invention
The invention provides a photographing control method, a photographing control device, a mobile terminal and a storage medium, and aims to solve the problem that in the prior art, a large number of photos are accumulated in the mobile terminal in the photographing process, and the photos usually occupy large space, so that the mobile terminal is excessively occupied inefficiently.
In order to solve the technical problems, the technical scheme adopted by the invention is as follows:
in a first aspect, the present invention provides a photographing control method, wherein the method includes:
acquiring a shot image, and determining spatial variation data corresponding to the shot image according to the shot image;
comparing the spatial variation data with preset reference data to obtain a comparison result;
and controlling photographing according to the comparison result.
In one implementation, the acquiring a captured image and determining spatial variation data corresponding to the captured image according to the captured image includes:
when the shot image is obtained through shooting, acquiring image change data of the shot image;
and determining the spatial variation data according to the image variation data.
In one implementation, the acquiring image change data of the captured image includes:
acquiring images of continuous frames in the shot images and corresponding pixel data;
and determining the image change data according to the images of the continuous frames and the corresponding pixel information.
In one implementation, the determining the spatially varying data from the image varying data includes:
if the image change data is that the image pixels change, acquiring position information of a hollow sphere preset in the mobile terminal;
obtaining the distance between the position information and a preset reference detection point to obtain a distance difference value;
and determining the spatial variation data according to the distance difference.
In one implementation, the comparing the spatial variation data with preset reference data to obtain a comparison result includes:
comparing the spatial variation data with first reference data and second reference data respectively to obtain comparison results;
wherein the first reference data is smaller than the second reference data.
In one implementation, the performing photographing control according to the comparison result includes:
if the comparison result is that the spatial variation data is smaller than the first reference data, or if the comparison result is that the spatial variation data is larger than the second reference data, controlling to forbid photographing;
and if the comparison result is that the spatial variation data is larger than the first reference data and smaller than the second reference data, controlling to resume photographing.
In one implementation, the controlling inhibits the photographing, comprising:
and controlling a pin in the mobile terminal to change from a low level to a high level or from a high level to a low level.
In a second aspect, an embodiment of the present invention further provides a photographing control apparatus, where the apparatus includes:
the spatial variation data acquisition module is used for acquiring a shot image and determining spatial variation data corresponding to the shot image according to the shot image;
the comparison result acquisition module is used for comparing the spatial variation data with preset reference data to obtain a comparison result;
and the photographing control module is used for controlling photographing according to the comparison result.
In a third aspect, an embodiment of the present invention further provides a mobile terminal, where the mobile terminal includes a memory, a processor, and a photographing control program that is stored in the memory and is executable on the processor, and when the processor executes the photographing control program, the step of the photographing control method in any one of the above schemes is implemented.
In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, on which a photographing control program is stored, where the photographing control program, when executed by a processor, implements the steps of the photographing control method according to any one of the above-mentioned schemes.
Has the advantages that: compared with the prior art, the invention provides a photographing control method. And then comparing the spatial variation data with preset reference data to obtain a comparison result. And finally, controlling photographing according to the comparison result. Therefore, the method and the device can determine the space change data according to the shot image and then control the shooting according to the space change data, so that poor or repeated pictures are avoided from being shot, the storage space of the mobile terminal is prevented from being occupied by invalid pictures, the storage space is saved, and convenience is brought to the use of a user.
Drawings
Fig. 1 is a flowchart of a specific implementation of a photographing control method according to an embodiment of the present invention.
Fig. 2 is a schematic block diagram of a photographing control apparatus according to an embodiment of the present invention.
Fig. 3 is a schematic block diagram of an internal structure of a mobile terminal according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and effects of the present invention clearer and clearer, the present invention is further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
At present, mobile terminals are provided with cameras to take photos; at present, because the mobile terminal is carried about and is used more widely for photographing, a user can take photos at any time through the mobile terminal, so that a large number of photos can be accumulated by the mobile terminal in the actual photographing process, and the photos usually occupy large space, so that the memory of the mobile terminal is excessively and inefficiently occupied. Particularly, when a user uses the mobile terminal to take a picture, the user may continuously move or rotate the mobile terminal to find an optimal shooting angle, but in the processes, the mobile terminal may touch the mobile terminal to take an unsatisfactory picture, and the shot picture may be automatically stored in the storage space, so that the storage space is occupied, and the use of the user is affected.
In order to solve the problem in the prior art, this embodiment provides a photographing control method, and in specific implementation, the embodiment first obtains a captured image, and determines spatial variation data corresponding to the captured image according to the captured image. And then comparing the spatial variation data with preset reference data to obtain a comparison result. And finally, controlling photographing according to the comparison result. Therefore, the embodiment can determine the space change data according to the shot image, and then control the shooting according to the space change data, that is, if the mobile terminal has too large space change or too small space change, the shooting function of the mobile terminal can be controlled, so that bad or repeated photos with poor shooting effect can be avoided when the mobile terminal is shot, the storage space of the mobile terminal is prevented from being occupied by invalid photos, the storage space is saved, and convenience is provided for users.
Exemplary method
In this embodiment, the photographing control method may be applied to a mobile terminal, and the mobile terminal is provided with a camera function, so that photographing can be performed, for example, the mobile terminal may be a smart phone or a tablet computer. In a specific embodiment, as shown in fig. 1, the photographing control method includes the steps of:
and S100, acquiring a shot image, and determining spatial variation data corresponding to the shot image according to the shot image.
When the mobile terminal is used for photographing, the mobile terminal may inevitably move, for example, the person to be photographed needs to be instructed to pose, the mobile terminal needs to be rotated to find an optimal photographing angle, or the photographing direction needs to be adjusted according to light, and the like. For example, when a mobile terminal has a relatively large spatial variation, the shot picture is not satisfactory, and when the mobile terminal has a relatively small spatial variation (the spatial variation is negligible), the shot picture is indistinguishable, is a duplicate, and is also an unsatisfactory picture. In order to realize the control of photographing, in the embodiment, when the mobile terminal photographs a photographed image, the photographed image is analyzed, and spatial variation data corresponding to the photographed image is determined according to the photographed image. The space change data is used for reflecting the space state change of the mobile terminal, namely reflecting whether the mobile terminal moves or rotates and other motions.
In one implementation, the step S100 specifically includes the following steps:
step S101, when the shot image is obtained through shooting, acquiring image change data of the shot image;
and S102, determining the space change data according to the image change data.
In the present embodiment, when the user performs shooting using the mobile terminal, a shot image is obtained. Then, image change data reflecting whether the captured image has changed, that is, whether the currently captured image and the captured image captured in the previous frame are the same is determined from the captured image. For this reason, the present embodiment acquires images of successive frames in the captured image, and also acquires pixel data corresponding to the images of the successive frames, and then determines the image change data from the images of the successive frames and the corresponding pixel information. Since the corresponding pixel data are different when the captured images of the two frames change, even if the change is slight, the pixel data can be reflected, and therefore, the embodiment determines the captured images of two consecutive frames based on the pixel data can accurately determine the image change data of the captured images. In this embodiment, when the image change data is obtained, the spatial change data may be determined based on the image change data.
Specifically, after the image change data is determined, whether the photographed image is the same as the photographed image photographed in the previous frame or not can be obtained. If the image change data are different, namely the image change data are the image pixels, the spatial change data can be acquired. In one implementation, the embodiment first obtains location information of a hollow sphere preset in the mobile terminal. The hollow sphere is a small hollow sphere, a movable micro movable bead is arranged in the hollow sphere, a reference detection point is arranged at the outermost peripheral point of the sphere parallel to each surface of the mobile terminal, in the embodiment, after the position information of the hollow sphere is obtained, the position information of the hollow sphere is compared with the preset reference detection point, the distance between the position information of the hollow sphere and the reference detection point is calculated, and a distance difference value is obtained. In this embodiment, the reference detection point is used for comparing the position of the hollow sphere with the position information of the hollow sphere to obtain a distance difference, and if the distance difference is larger, it indicates that the distance between the movable micro movable bead in the hollow sphere and the reference detection point is larger, that is, the spatial variation data of the mobile terminal is larger, that is, the position state of the mobile terminal is greatly changed, for example, the mobile terminal moves or rotates greatly. And if the distance difference value is smaller, the smaller the distance between the movable micro movable bead in the hollow sphere and the reference detection point is, the smaller the spatial variation data of the mobile terminal is, namely, the position state of the mobile terminal is changed slightly, even the change is very little. Therefore, the present embodiment can obtain the spatial variation data according to the distance difference.
And S200, comparing the spatial variation data with preset reference data to obtain a comparison result.
After the spatial variation data of the mobile terminal is obtained, the embodiment may analyze the spatial variation data to determine whether the spatial variation data really represents that the mobile terminal has relatively large spatial rotation or movement, and only when the spatial variation data reaches a certain value, it may be determined that the mobile terminal has relatively large spatial rotation or movement. In this embodiment, the spatial variation data is compared with preset reference data to obtain a comparison result. The comparison result may reflect whether the mobile terminal has undergone a large spatial rotation or movement.
In one implementation manner, the present embodiment sets two reference data in advance, which are a first reference data and a second reference data, respectively, and the first reference data is smaller than the second reference data. In specific implementation, the embodiment compares the spatial variation data with the first reference data and the second reference data respectively to obtain a comparison result. For example, in the embodiment, the first reference data is set to 1.1S of standard data, where S is a multiple unit, and the standard data is spatial variation data of the mobile terminal moving in the normal range. The second reference data is set to 0.9S of the standard data. Then, after obtaining the spatial variation data, comparing the spatial variation data with 1.1S and 0.9S, respectively, so as to determine the real motion variation of the mobile terminal. For example, if the spatial variation data is larger than the second reference data, it indicates that the mobile terminal has relatively large spatial rotation or movement. And if the spatial variation data is smaller than the first reference data, the mobile terminal is indicated to have relatively small spatial rotation or movement, and the spatial variation data is negligible.
And step S300, controlling photographing according to the comparison result.
In specific implementation, after the spatial variation data is compared with the first reference data and the second reference data, a comparison result is obtained. If the comparison result is that the spatial variation data is smaller than the first reference data, the mobile terminal is indicated to have relatively large spatial rotation or movement, and the shot image shot by the mobile terminal is not satisfactory and belongs to an invalid photo. In order to avoid the storage space being occupied by the invalid image, the embodiment controls the mobile terminal to prohibit photographing, that is, the photographing function of the mobile terminal is suspended, so that the user does not touch the photographing by mistake, and the photographing is prevented from obtaining the invalid image. Or, if the comparison result is that the spatial variation data is larger than the second reference data, it indicates that the mobile terminal has relatively small spatial rotation or movement, the spatial variation data is negligible, and the shot image shot by the mobile terminal is unsatisfactory and belongs to a duplicate image, and cannot be distinguished from the last shot image by naked eyes. In order to avoid the storage space being occupied by the invalid image, the embodiment can also control the mobile terminal to prohibit photographing, namely, the photographing function of the mobile terminal is suspended, so that the user can not touch the photographing by mistake, and the photographing is prevented from obtaining repeated images. In one implementation, when the mobile terminal is controlled to prohibit photographing, the pin in the mobile terminal is controlled to change from a low level to a high level, or from a high level to a low level, so as to trigger prohibition of photographing.
And if the comparison result shows that the spatial variation data is larger than the first reference data and smaller than the second reference data, the spatial variation data of the mobile terminal at the moment is in a normal range, so that the mobile terminal is controlled to resume taking the picture, and the picture taking function is not influenced. Therefore, the photographing function of the mobile terminal can be controlled according to the space change data of the mobile terminal, so that poor or repeated photos with poor photographing effect can be avoided when the photos are taken, the storage space of the mobile terminal is prevented from being occupied by invalid photos, the storage space is saved, and convenience is brought to the use of a user.
Exemplary device
As shown in fig. 2, an embodiment of the present invention provides a photographing control apparatus, including: a spatial variation data acquisition module 10, a comparison result acquisition module 20 and a photographing control module 30. Specifically, the spatial variation data acquisition module is configured to acquire a captured image and determine spatial variation data corresponding to the captured image according to the captured image. The comparison result obtaining module 20 is configured to compare the spatial variation data with preset reference data to obtain a comparison result. And the photographing control module 30 is configured to control photographing according to the comparison result.
In this embodiment, a captured image is first acquired, and spatial variation data corresponding to the captured image is determined according to the captured image. And then comparing the spatial variation data with preset reference data to obtain a comparison result. And finally, controlling photographing according to the comparison result. Therefore, the embodiment can determine the space change data according to the shot image, and then control the shooting according to the space change data, that is, if the mobile terminal has too large space change or too small space change, the shooting function of the mobile terminal can be controlled, so that bad or repeated photos with poor shooting effect can be avoided when the mobile terminal is shot, the storage space of the mobile terminal is prevented from being occupied by invalid photos, the storage space is saved, and convenience is provided for users.
In one implementation, the spatially varying data acquisition module 10 includes:
an image change data acquisition unit configured to acquire image change data of the captured image when the captured image is captured;
a spatial variation data determination unit for determining the spatial variation data according to the image variation data.
In one implementation, the image change data acquisition unit includes:
the pixel data acquisition subunit is used for acquiring images of continuous frames in the shot image and corresponding pixel data;
and the image change data determining subunit is used for determining the image change data according to the images of the continuous frames and the corresponding pixel information.
In one implementation, the spatially varying data determining unit includes:
the position information acquiring subunit is used for acquiring the position information of a hollow sphere preset in the mobile terminal if the image change data is that the image pixel changes;
a distance difference obtaining subunit, configured to obtain a distance between the position information and a preset reference detection point, so as to obtain a distance difference;
and the space change data acquisition subunit is used for determining the space change data according to the distance difference.
In the present embodiment, when the user performs shooting using the mobile terminal, a shot image is obtained. Then, image change data reflecting whether the captured image has changed, that is, whether the currently captured image and the captured image captured in the previous frame are the same is determined from the captured image. For this reason, the present embodiment acquires images of successive frames in the captured image, and also acquires pixel data corresponding to the images of the successive frames, and then determines the image change data from the images of the successive frames and the corresponding pixel information. Since the corresponding pixel data are different when the captured images of the two frames change, even if the change is slight, the pixel data can be reflected, and therefore, the embodiment determines the captured images of two consecutive frames based on the pixel data can accurately determine the image change data of the captured images. In this embodiment, when the image change data is obtained, the spatial change data may be determined based on the image change data.
Specifically, after the image change data is determined, whether the photographed image is the same as the photographed image photographed in the previous frame or not can be obtained. If the image change data are different, namely the image change data are the image pixels, the spatial change data can be acquired. In one implementation, the embodiment first obtains location information of a hollow sphere preset in the mobile terminal. The hollow sphere is a small hollow sphere, a movable micro movable bead is arranged in the hollow sphere, a reference detection point is arranged at the outermost peripheral point of the sphere parallel to each surface of the mobile terminal, in the embodiment, after the position information of the hollow sphere is obtained, the position information of the hollow sphere is compared with the preset reference detection point, the distance between the position information of the hollow sphere and the reference detection point is calculated, and a distance difference value is obtained. In this embodiment, the reference detection point is used for comparing the position of the hollow sphere with the position information of the hollow sphere to obtain a distance difference, and if the distance difference is larger, it indicates that the distance between the movable micro movable bead in the hollow sphere and the reference detection point is larger, that is, the spatial variation data of the mobile terminal is larger, that is, the position state of the mobile terminal is greatly changed, for example, the mobile terminal moves or rotates greatly. And if the distance difference value is smaller, the smaller the distance between the movable micro movable bead in the hollow sphere and the reference detection point is, the smaller the spatial variation data of the mobile terminal is, namely, the position state of the mobile terminal is changed slightly, even the change is very little. Therefore, the present embodiment can obtain the spatial variation data according to the distance difference.
In one implementation, the comparison result obtaining module 20 includes:
the parameter comparison subunit is configured to compare the spatial variation data with the first reference data and the second reference data, respectively, to obtain a comparison result; wherein the first reference data is smaller than the second reference data.
In this embodiment, after obtaining the spatial variation data of the mobile terminal, the embodiment may analyze the spatial variation data to determine whether the spatial variation data really represents that the mobile terminal has relatively large spatial rotation or movement, and only when the spatial variation data reaches a certain value, it may be determined that the mobile terminal has relatively large spatial rotation or movement. In this embodiment, the spatial variation data is compared with preset reference data to obtain a comparison result. The comparison result may reflect whether the mobile terminal has undergone a large spatial rotation or movement.
In one implementation manner, the present embodiment sets two reference data in advance, which are a first reference data and a second reference data, respectively, and the first reference data is smaller than the second reference data. In specific implementation, the embodiment compares the spatial variation data with the first reference data and the second reference data respectively to obtain a comparison result. For example, in the embodiment, the first reference data is set to 1.1S of standard data, where S is a multiple unit, and the standard data is spatial variation data of the mobile terminal moving in the normal range. The second reference data is set to 0.9S of the standard data. Then, after obtaining the spatial variation data, comparing the spatial variation data with 1.1S and 0.9S, respectively, so as to determine the real motion variation of the mobile terminal. For example, if the spatial variation data is larger than the second reference data, it indicates that the mobile terminal has relatively large spatial rotation or movement. And if the spatial variation data is smaller than the first reference data, the mobile terminal is indicated to have relatively small spatial rotation or movement, and the spatial variation data is negligible.
In one implementation, the photographing control module 30 includes:
a photographing prohibition unit, configured to prohibit photographing if the comparison result is that the spatial variation data is smaller than the first reference data, or if the comparison result is that the spatial variation data is larger than the second reference data;
and the photographing replying unit is used for controlling to resume photographing if the comparison result shows that the spatial variation data is larger than the first reference data and smaller than the second reference data.
In one implementation, the photographing inhibiting unit includes:
and the level control subunit is used for controlling the pin in the mobile terminal to change from a low level to a high level or from the high level to the low level.
In this embodiment, after comparing the spatial variation data with the first reference data and the second reference data, a comparison result is obtained. If the comparison result is that the spatial variation data is smaller than the first reference data, the mobile terminal is indicated to have relatively large spatial rotation or movement, and the shot image shot by the mobile terminal is not satisfactory and belongs to an invalid photo. In order to avoid the storage space being occupied by the invalid image, the embodiment controls the mobile terminal to prohibit photographing, that is, the photographing function of the mobile terminal is suspended, so that the user does not touch the photographing by mistake, and the photographing is prevented from obtaining the invalid image. Or, if the comparison result is that the spatial variation data is larger than the second reference data, it indicates that the mobile terminal has relatively small spatial rotation or movement, the spatial variation data is negligible, and the shot image shot by the mobile terminal is unsatisfactory and belongs to a duplicate image, and cannot be distinguished from the last shot image by naked eyes. In order to avoid the storage space being occupied by the invalid image, the embodiment can also control the mobile terminal to prohibit photographing, namely, the photographing function of the mobile terminal is suspended, so that the user can not touch the photographing by mistake, and the photographing is prevented from obtaining repeated images. In one implementation, when the mobile terminal is controlled to prohibit photographing, the pin in the mobile terminal is controlled to change from a low level to a high level, or from a high level to a low level, so as to trigger prohibition of photographing. And if the comparison result shows that the spatial variation data is larger than the first reference data and smaller than the second reference data, the spatial variation data of the mobile terminal at the moment is in a normal range, so that the mobile terminal is controlled to resume taking the picture, and the picture taking function is not influenced. Therefore, the photographing function of the mobile terminal can be controlled according to the space change data of the mobile terminal, so that poor or repeated photos with poor photographing effect can be avoided when the photos are taken, the storage space of the mobile terminal is prevented from being occupied by invalid photos, the storage space is saved, and convenience is brought to the use of a user.
Based on the above embodiments, the present invention further provides a mobile terminal, and a schematic block diagram thereof may be as shown in fig. 3. The mobile terminal comprises a processor, a memory, a network interface, a display screen and a temperature sensor which are connected through a system bus. Wherein the processor of the mobile terminal is configured to provide computing and control capabilities. The memory of the mobile terminal comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The network interface of the mobile terminal is used for connecting and communicating with an external terminal through a network. The computer program is executed by a processor to implement a photographing control method. The display screen of the mobile terminal can be a liquid crystal display screen or an electronic ink display screen, and the temperature sensor of the mobile terminal is arranged in the mobile terminal in advance and used for detecting the operating temperature of internal equipment.
It will be appreciated by those skilled in the art that the block diagram shown in fig. 3 is only a block diagram of a portion of the structure associated with the inventive arrangements and does not constitute a limitation of the mobile terminal to which the inventive arrangements are applied, and that a particular mobile terminal may include more or less components than those shown, or combine certain components, or have a different arrangement of components.
In one embodiment, a mobile terminal is provided, where the mobile terminal includes a memory, a processor, and a batch network distribution program of the mobile terminal stored in the memory and executable on the processor, and when the processor executes the batch network distribution program of the mobile terminal, the following operation instructions are implemented:
acquiring a shot image, and determining spatial variation data corresponding to the shot image according to the shot image;
comparing the spatial variation data with preset reference data to obtain a comparison result;
and controlling photographing according to the comparison result.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware related to instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, the computer program can include the processes of the embodiments of the methods described above. Any reference to memory, storage, databases, or other media used in embodiments provided herein may include non-volatile and/or volatile memory. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synch Lnk DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bused dynamic RAM (DRDRAM), and bused dynamic RAM (RDRAM).
In summary, the present invention discloses a photographing control method, apparatus, mobile terminal and storage medium, wherein the method comprises: acquiring a shot image, and determining spatial variation data corresponding to the shot image according to the shot image; comparing the spatial variation data with preset reference data to obtain a comparison result; and controlling photographing according to the comparison result. The invention can determine the space change data according to the shot image and then control the shooting according to the space change data, thereby avoiding the occurrence of poor or repeated pictures in shooting, avoiding the storage space of the mobile terminal from being occupied by invalid pictures, saving the storage space and providing convenience for the use of users.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.
Claims (10)
1. A photographing control method, the method comprising:
acquiring a shot image, and determining spatial variation data corresponding to the shot image according to the shot image;
comparing the spatial variation data with preset reference data to obtain a comparison result;
and controlling photographing according to the comparison result.
2. The photographing control method according to claim 1, wherein the acquiring the photographed image and determining the spatial variation data corresponding to the photographed image according to the photographed image comprises:
when the shot image is obtained through shooting, acquiring image change data of the shot image;
and determining the spatial variation data according to the image variation data.
3. The photographing control method according to claim 2, wherein the acquiring image change data of the photographed image includes:
acquiring images of continuous frames in the shot images and corresponding pixel data;
and determining the image change data according to the images of the continuous frames and the corresponding pixel information.
4. The photographing control method according to claim 2, wherein the determining the spatial variation data according to the image variation data includes:
if the image change data is that the image pixels change, acquiring position information of a hollow sphere preset in the mobile terminal;
obtaining the distance between the position information and a preset reference detection point to obtain a distance difference value;
and determining the spatial variation data according to the distance difference.
5. The photographing control method according to claim 1, wherein comparing the spatial variation data with preset reference data to obtain a comparison result comprises:
comparing the spatial variation data with first reference data and second reference data respectively to obtain comparison results;
wherein the first reference data is smaller than the second reference data.
6. The photographing control method according to claim 5, wherein the performing photographing control according to the comparison result includes:
if the comparison result is that the spatial variation data is smaller than the first reference data, or if the comparison result is that the spatial variation data is larger than the second reference data, controlling to forbid photographing;
and if the comparison result is that the spatial variation data is larger than the first reference data and smaller than the second reference data, controlling to resume photographing.
7. The photographing control method according to claim 6, wherein the controlling inhibits photographing, including:
and controlling a pin in the mobile terminal to change from a low level to a high level or from a high level to a low level.
8. A photographing control apparatus, characterized in that the apparatus comprises:
the spatial variation data acquisition module is used for acquiring a shot image and determining spatial variation data corresponding to the shot image according to the shot image;
the comparison result acquisition module is used for comparing the spatial variation data with preset reference data to obtain a comparison result;
and the photographing control module is used for controlling photographing according to the comparison result.
9. A mobile terminal, characterized in that the mobile terminal comprises a memory, a processor and a photographing control program stored on the memory and operable on the processor, and the processor implements the steps of the photographing control method according to any one of claims 1-7 when executing the photographing control program.
10. A computer-readable storage medium, having stored thereon a photographing control program which, when executed by a processor, implements the steps of the photographing control method according to any one of claims 1-7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110075668.2A CN112911058B (en) | 2021-01-20 | 2021-01-20 | Photographing control method and device, mobile terminal and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110075668.2A CN112911058B (en) | 2021-01-20 | 2021-01-20 | Photographing control method and device, mobile terminal and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112911058A true CN112911058A (en) | 2021-06-04 |
CN112911058B CN112911058B (en) | 2022-07-15 |
Family
ID=76116754
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110075668.2A Active CN112911058B (en) | 2021-01-20 | 2021-01-20 | Photographing control method and device, mobile terminal and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112911058B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114979493A (en) * | 2022-06-10 | 2022-08-30 | 泰州亚东广告传媒有限公司 | Storage space saving platform for photographing APP |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107155000A (en) * | 2017-04-18 | 2017-09-12 | 广东艾檬电子科技有限公司 | One kind is taken pictures behavior analysis method, device and mobile terminal |
CN107346332A (en) * | 2017-06-23 | 2017-11-14 | 维沃移动通信有限公司 | A kind of image processing method and mobile terminal |
CN108182271A (en) * | 2018-01-18 | 2018-06-19 | 维沃移动通信有限公司 | A kind of photographic method, terminal and computer readable storage medium |
CN111182198A (en) * | 2018-11-13 | 2020-05-19 | 奇酷互联网络科技(深圳)有限公司 | Shooting focusing method based on double cameras, mobile device and device |
WO2020133409A1 (en) * | 2018-12-29 | 2020-07-02 | 深圳市大疆创新科技有限公司 | Photography method and photographic terminal |
-
2021
- 2021-01-20 CN CN202110075668.2A patent/CN112911058B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107155000A (en) * | 2017-04-18 | 2017-09-12 | 广东艾檬电子科技有限公司 | One kind is taken pictures behavior analysis method, device and mobile terminal |
CN107346332A (en) * | 2017-06-23 | 2017-11-14 | 维沃移动通信有限公司 | A kind of image processing method and mobile terminal |
CN108182271A (en) * | 2018-01-18 | 2018-06-19 | 维沃移动通信有限公司 | A kind of photographic method, terminal and computer readable storage medium |
CN111182198A (en) * | 2018-11-13 | 2020-05-19 | 奇酷互联网络科技(深圳)有限公司 | Shooting focusing method based on double cameras, mobile device and device |
WO2020133409A1 (en) * | 2018-12-29 | 2020-07-02 | 深圳市大疆创新科技有限公司 | Photography method and photographic terminal |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114979493A (en) * | 2022-06-10 | 2022-08-30 | 泰州亚东广告传媒有限公司 | Storage space saving platform for photographing APP |
Also Published As
Publication number | Publication date |
---|---|
CN112911058B (en) | 2022-07-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107911621B (en) | Panoramic image shooting method, terminal equipment and storage medium | |
CN113347334B (en) | Nondestructive photographing method and device for mobile terminal, terminal equipment and storage medium | |
CN110717942A (en) | Image processing method and device, electronic equipment and computer readable storage medium | |
US20240340535A1 (en) | Method and apparatus for picture stability processing under digital zoom, mobile terminal, and medium | |
CN111225155B (en) | Video anti-shake method, video anti-shake device, electronic equipment, computer equipment and storage medium | |
CN107493407B (en) | Photographing device and photographing method | |
CN105915803B (en) | Photographing method and system based on sensor | |
CN110650288B (en) | Focusing control method and device, electronic equipment and computer readable storage medium | |
CN109068060B (en) | Image processing method and device, terminal device and computer readable storage medium | |
CN112911058B (en) | Photographing control method and device, mobile terminal and storage medium | |
CN113194263A (en) | Gun and ball linkage control method and device, computer equipment and storage medium | |
CN111372000B (en) | Video anti-shake method and apparatus, electronic device, and computer-readable storage medium | |
EP4228236A1 (en) | Image processing method and electronic device | |
CN114640833A (en) | Projection picture adjusting method and device, electronic equipment and storage medium | |
CN111080571A (en) | Camera shielding state detection method and device, terminal and storage medium | |
CN105578020B (en) | Self-timer system and method | |
CN113793259B (en) | Image zooming method, computer device and storage medium | |
CN115314689A (en) | Projection correction method, projection correction device, projector and computer program product | |
CN113222862B (en) | Image distortion correction method, device, electronic equipment and storage medium | |
CN110619611B (en) | Image correction calibration method and device, computer equipment and storage medium | |
CN115174878B (en) | Projection picture correction method, apparatus and storage medium | |
CN106878616B (en) | Method and system for automatically determining dynamic photo focus based on mobile terminal | |
CN113422967B (en) | Screen projection display control method and device, terminal equipment and storage medium | |
US11790483B2 (en) | Method, apparatus, and device for identifying human body and computer readable storage medium | |
CN113315898A (en) | Mobile terminal photographing control method and device, mobile terminal 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 | ||
TR01 | Transfer of patent right |
Effective date of registration: 20231026 Address after: 518126 3rd Floor, Xincheng Square, Hedong Community, Xixiang Street, Bao'an District, Shenzhen City, Guangdong Province Patentee after: Shenzhen Zhengyue Intellectual Property Service Co.,Ltd. Address before: 516003 No.86, hechangqi Road West, Zhongkai high tech Zone, Huizhou City, Guangdong Province Patentee before: HUIZHOU TCL MOBILE COMMUNICATION Co.,Ltd. |
|
TR01 | Transfer of patent right |