CN109040474B - Photo display method, device, terminal and storage medium - Google Patents
Photo display method, device, terminal and storage medium Download PDFInfo
- Publication number
- CN109040474B CN109040474B CN201811258441.6A CN201811258441A CN109040474B CN 109040474 B CN109040474 B CN 109040474B CN 201811258441 A CN201811258441 A CN 201811258441A CN 109040474 B CN109040474 B CN 109040474B
- Authority
- CN
- China
- Prior art keywords
- photos
- shooting
- scene
- interface
- displaying
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72403—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
- H04M1/7243—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
- H04M1/72439—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages for image or video messaging
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
-
- 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/62—Control of parameters via user interfaces
Landscapes
- Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Signal Processing (AREA)
- Multimedia (AREA)
- Computer Networks & Wireless Communication (AREA)
- Business, Economics & Management (AREA)
- General Business, Economics & Management (AREA)
- User Interface Of Digital Computer (AREA)
- Studio Devices (AREA)
Abstract
The embodiment of the application discloses a photo display method, a photo display device, a terminal and a storage medium, and belongs to the field of terminal shooting. The method comprises the following steps: displaying a shooting interface, wherein the shooting interface comprises a shutter control; when trigger operation on a shutter control is received, shooting and generating n photos, wherein n is more than or equal to 2 and is an integer; carrying out scene recognition on the n pictures to obtain a scene recognition result; and if the scene recognition result indicates that the n photos belong to the same shooting scene, displaying the n photos in the shooting interface. Compared with the prior art that the thumbnails need to be clicked to enter the album interface to view the shot photos, in the embodiment of the application, the multiple photos in the same shooting scene are directly displayed on the shooting interface, so that a user can conveniently view other photos shot in the same shooting scene while shooting, and the user does not need to switch back and forth between the shooting interface and the album interface, thereby simplifying the photo viewing process and improving the photo viewing efficiency.
Description
Technical Field
The embodiment of the application relates to the field of terminal shooting, in particular to a photo display method, a photo display device, a terminal and a storage medium.
Background
As the configuration of the photographing components in the mobile terminal is continuously improved, more and more users tend to use the mobile terminal for photographing.
After the user takes the photo by using the mobile terminal, the thumbnail of the photo is displayed in the preset area of the shooting interface. The user can click the thumbnail to perform the album interface, so that the user can view the photo in the album interface and perform corresponding operation.
Disclosure of Invention
The embodiment of the application provides a photo display method, a photo display device, a terminal and a storage medium. The technical scheme is as follows:
in one aspect, a photo display method is provided, the method including:
displaying a shooting interface, wherein the shooting interface comprises a shutter control;
when trigger operation on the shutter control is received, shooting and generating n photos, wherein n is more than or equal to 2 and is an integer;
carrying out scene recognition on the n photos to obtain a scene recognition result;
and if the scene recognition result indicates that the n photos belong to the same shooting scene, displaying the n photos in the shooting interface.
In another aspect, there is provided a photo display device, the device including:
the first display module is used for displaying a shooting interface, and the shooting interface comprises a shutter control;
the shooting module is used for shooting and generating n photos when the triggering operation of the shutter control is received, wherein n is more than or equal to 2 and is an integer;
the recognition module is used for carrying out scene recognition on the n photos to obtain a scene recognition result;
and the second display module is used for displaying the n photos in the shooting interface when the scene recognition result indicates that the n photos belong to the same shooting scene.
In another aspect, a terminal is provided that includes a processor and a memory; the memory stores at least one instruction for execution by the processor to implement the photo display method of the above aspect.
In another aspect, a computer-readable storage medium is provided, the storage medium storing at least one instruction for execution by a processor to implement the photo display method of the above aspect.
In the photo display method provided by the embodiment of the application, after the terminal shoots and generates n photos according to the received trigger operation on the shutter control, the n photos are subjected to scene recognition, and when the scene recognition result indicates that the n photos belong to the same shooting scene, the n photos are displayed in a shooting interface; compared with the prior art that the thumbnails need to be clicked to enter the album interface to view the shot photos, in the embodiment of the application, the multiple photos in the same shooting scene are directly displayed on the shooting interface, so that a user can conveniently view other photos shot in the same shooting scene while shooting, and the user does not need to switch back and forth between the shooting interface and the album interface, thereby simplifying the photo viewing process and improving the photo viewing efficiency.
Drawings
Fig. 1 illustrates a schematic structural diagram of a terminal provided in an exemplary embodiment of the present application;
FIG. 2 is a schematic diagram of an interface of a process of switching a shooting interface to an album interface in the related art;
FIG. 3 illustrates a flow chart of a method of displaying photographs shown in an exemplary embodiment of the present application;
FIG. 4 is a schematic interface diagram of an implementation of the photo display method of FIG. 3;
FIG. 5 illustrates a flow chart of a method of displaying photographs shown in another exemplary embodiment of the present application;
FIG. 6 is an interface schematic of a delete photo process in a capture interface;
FIG. 7 is an interface diagram of a process of sharing photos in a capture interface;
FIG. 8 illustrates a flowchart of a photo display method, shown in another exemplary embodiment of the present application;
FIG. 9 is an interface diagram of a photo display process triggered by a quick view control;
fig. 10 is a block diagram illustrating a structure of a photo display device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention will be described in detail with reference to the accompanying drawings.
Reference herein to "a plurality" means two or more. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship.
Referring to fig. 1, a schematic structural diagram of a terminal provided in an exemplary embodiment of the present application is shown.
Optionally, the terminal 120 includes: a processor 122, a memory 124, and a display 126.
The Memory 124 may include a Random Access Memory (RAM) or a Read-Only Memory (Read-Only Memory). Optionally, the memory 124 includes a non-transitory computer-readable medium. The memory 124 may be used to store instructions, programs, code sets, or instruction sets. The memory 124 may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playing function, an image playing function, etc.), instructions for implementing various method embodiments described below, and the like; the storage data area may store data and the like referred to in the following respective method embodiments.
The display screen 126 is a component for displaying images. The display screen 126 may have only an image display function, or may have both an image display function and a function of receiving a touch operation, that is, the display screen 126 may be a touch display screen. Moreover, the display screen 126 may be a full-screen, an irregular-shaped screen, a folding screen, a curved screen, or other types of screens, which is not limited in this embodiment.
In this embodiment, the terminal 120 further includes a camera assembly, which includes a front camera and/or a rear camera. The number and the arrangement position of the camera assemblies are not limited in the embodiment of the application. When the terminal 120 starts the shooting function, the camera module starts image capturing, and the display screen 126 can display the captured image.
Of course, the terminal 120 may further include other components such as a distance sensor, an acceleration sensor, an angular velocity sensor, a positioning component, an infrared component, and a bluetooth component, and the embodiment of the present application does not limit the specific structure of the terminal 120.
In the related art, as shown in fig. 2, after the user finishes shooting with the terminal, a thumbnail 22 of the previous picture is displayed in a lower left area of a shooting interface 21. When the user needs to view or operate the previously shot photos, the terminal is triggered to switch the shooting interface 21 to the album interface 23 by clicking the thumbnail 22, and a recently shot photo is displayed in the album interface 23. The user can switch the photos displayed in the album interface 23 by a slide gesture left or right. Moreover, different operation controls, such as a sharing control 24, a collecting control 25, and a deleting control 26, are provided in the album interface 23, and a user can operate the currently displayed photo in the album interface 23 by clicking the different operation controls. If the user needs to continue shooting, the terminal is triggered to switch the album interface 23 to the shooting interface 21 by clicking the return control 27 in the album interface 23.
Therefore, in the shooting process, when a user needs to check the photos shot before, the user needs to switch back and forth between the shooting interface and the album interface. In a possible application scene, a user needs to continuously shoot a plurality of photos in a certain shooting scene, and needs to repeatedly switch interfaces when needing to check and compare the shooting effects of the previously shot photos at any time, and different photos are checked through sliding gesture switching in an album interface, so that the whole shooting process is very complicated.
In the photo display method provided by the embodiment of the application, after the terminal shoots and generates the plurality of photos, scene recognition is carried out on the plurality of photos, and when the plurality of photos are recognized to belong to the same scene, the plurality of photos are displayed in the shooting interface, so that a user can check the plurality of photos shot before while shooting, and the user does not need to switch to an album interface for checking. In addition, the user can directly operate the photo in the shooting interface, and the flow of operating the photo is further simplified.
The photo display method provided by each embodiment of the present application is applied to a terminal installed with a camera application, where the camera application may be a terminal native camera application, and/or a third party camera application installed in the terminal, for example, a beauty camera application, an interesting camera application, and the like, and the present application is not limited thereto. The following describes the implementation flow of the photo display method by using an exemplary embodiment.
Referring to fig. 3, a flowchart illustrating a photo display method according to an exemplary embodiment of the present application is shown. The present embodiment is illustrated by applying the method to the terminal 120 shown in fig. 1. The method comprises the following steps:
And when a camera application program starting instruction is received, the terminal starts the camera application program and displays a shooting interface. Optionally, the shooting interface includes a framing picture area, a shooting parameter setting area, and a shooting control area. The viewfinder area is used for displaying a viewfinder; the shooting parameter setting area is used for displaying shooting parameter setting controls, such as a flash switch control, a High-Dynamic Range (HDR) switch control, a filter control, and the like; the shooting control area is used for displaying shutter controls such as a shutter control and a camera switching control, and the like.
The embodiment of the application does not limit the layout of different functional areas in the shooting interface, and the setting modes and types of the controls in the different functional areas.
Illustratively, as shown in fig. 4, a shooting interface 41 displayed by the terminal includes a shutter control 42.
Wherein the trigger operation may be at least one of a click operation or a long press operation.
Optionally, each time a trigger operation on the shutter control is received, the terminal takes a picture and generates one picture, and after n times of trigger operations, the terminal generates n pictures.
And step 303, carrying out scene recognition on the n photos to obtain a scene recognition result.
Optionally, for n pictures obtained by shooting, the terminal performs scene recognition on each picture to obtain a picture scene corresponding to each picture, and compares the picture scenes to obtain a scene recognition result indicating the similarity of the picture scenes.
In a possible embodiment, the terminal identifies the photo background of each of the n photos in the scene identification process; and if the background similarity of the photo backgrounds of the adjacent photos is larger than the first similarity threshold, determining that the n photos belong to the same shooting scene.
Because the photo backgrounds of the shot photos are generally similar when the photos are shot in the same shooting scene, the terminal determines whether the adjacent photos are shot in the same shooting scene by calculating the similarity of the photo backgrounds in the adjacent photos. The adjacent pictures refer to two pictures adjacent to each other at the shooting time.
The terminal can separate the foreground and the background in the photos through an image segmentation algorithm (for example, by means of OpenCV), so as to obtain the photo background corresponding to each photo. The embodiment of the present application does not limit the specific manner of recognizing the background of the photo.
Optionally, when the background similarity of each group of adjacent photos in the n photos is greater than the first similarity threshold, it is determined that the n photos belong to the same shooting scene. For example, the first similarity threshold is 80%.
In another possible implementation mode, aiming at the scene recognition process, the terminal recognizes the target shooting object of each picture in n pictures; and if the shooting object similarity of the target shooting objects of the adjacent pictures is larger than the second similarity threshold, determining that the n pictures belong to the same shooting scene.
When a moving object is photographed, there may be a large difference in the background of the photographed images as the object moves, but each image contains the same object. Therefore, the terminal determines whether the adjacent pictures are taken in the same shooting scene by recognizing the target shooting object in each picture and calculating the shooting object similarity of the target shooting object.
The terminal can determine the target shooting objects in the picture by acquiring the focus of the picture, and then calculate the similarity between the target shooting objects.
Optionally, when the similarity of the shot objects of each group of adjacent pictures in the n pictures is greater than the second similarity threshold, it is determined that the n pictures belong to the same shooting scene. For example, the second similarity threshold is 80%.
Of course, in other possible embodiments, the terminal may also determine whether the respective photos belong to the same shooting scene according to the shooting time of the respective photos (for example, an interval between the shooting times is smaller than a time threshold), which is not limited in this application.
If the scene recognition result indicates that the n photos belong to the same shooting scene, the terminal executes the following step 304; if the scene recognition result indicates that the n photos do not belong to the same shooting scene, the terminal will not execute step 304, but display the thumbnail of the latest photo in the shooting interface in a conventional manner.
And step 304, if the scene recognition result indicates that the n photos belong to the same shooting scene, displaying the n photos in the shooting interface.
When the n photos belong to the same shooting scene, the n photos are shot in the same scene, and the correlation exists between the shot contents, so that the terminal displays the n photos in the shooting interface in order to facilitate a user to check the n photos shot at the same time of shooting. The n photos are automatically displayed by the terminal, or the n photos are manually triggered and displayed by a user.
Optionally, the n photos are displayed in a superposed manner in a predetermined area of the viewfinder frame in the shooting interface, or the n photos are displayed in a superposed manner in an original functional area in the shooting interface (for example, in a superposed manner in the shooting parameter setting area). The display positions of the n photographs are not limited in the embodiment of the present application.
Optionally, the n photos are displayed in the shooting interface horizontally, or displayed in the shooting interface vertically, and the display order of the n photos corresponds to the shooting order of the n photos.
In one possible implementation, the display size of the n photos is a preset size, and the preset size is larger than the size of the thumbnails in the shooting interface, so that the user can conveniently and clearly view the photos.
Schematically, as shown in fig. 4, the terminal recognizes that the photograph 43, the photograph 44, the photograph 45 and the photograph 46 belong to the same shooting scene, and thus the photograph 43, the photograph 44, the photograph 45 and the photograph 46 are sequentially displayed in the finder screen area of the shooting interface 41 according to the shooting order.
Aiming at the display mode of the photos in the shooting interface, in one possible implementation mode, the terminal displays a floating window in the shooting interface; if n is less than or equal to m, displaying n photos in the floating window in a row mode, wherein m is a photo display threshold value; if n is larger than m, displaying n photos in the floating window in an overlapping mode; when a trigger operation for the n photos displayed in an overlapping mode is received, m photos in the n photos are listed and displayed in the floating window. And the subsequent user can control the terminal to display the rest n-m photos in the floating window through the left-right sliding operation.
For example, when m is 4, if the number of photos in the same shooting scene is less than or equal to 4, listing each photo in the floating window; and if the number of the photos is more than 4, displaying the photos in a superposition manner in the floating window, and expanding and displaying the photos when a click operation is received.
It should be noted that, during the process of shooting in the same shooting scene by the user using the terminal, the number of photos displayed in the shooting interface is dynamically updated. For example, after two photos are taken in the same shooting scene, the two photos are displayed in the shooting interface, and when the user continues to take one photo, three photos are displayed in the shooting interface, and so on.
To sum up, in the photo display method provided by the embodiment of the application, after the terminal shoots and generates n photos according to the received trigger operation on the shutter control, the terminal performs scene recognition on the n photos, and displays the n photos in the shooting interface when the scene recognition result indicates that the n photos belong to the same shooting scene; compared with the prior art that the thumbnails need to be clicked to enter the album interface to view the shot photos, in the embodiment of the application, the multiple photos in the same shooting scene are directly displayed on the shooting interface, so that a user can conveniently view other photos shot in the same shooting scene while shooting, and the user does not need to switch back and forth between the shooting interface and the album interface, thereby simplifying the photo viewing process and improving the photo viewing efficiency.
In one possible implementation, when a trigger operation on a target area in the shooting interface is received, the terminal hides the n photos, wherein the target area is an area except for a display area corresponding to the n photos.
Illustratively, as shown in fig. 4, since the picture 43, the picture 44, the picture 45 and the picture 46 are displayed in an overlapping manner on the viewfinder area of the shooting interface 41, when the user clicks the viewfinder area, the terminal hides the displayed picture and performs the focusing operation according to the clicked area.
In order to enable a user to quickly operate the photos while viewing the photos, after the n photos are displayed in the shooting interface, the terminal further receives the operation of the n photos and correspondingly processes the photos according to the operation types. In a possible implementation manner, on the basis of the embodiment shown in fig. 3, as shown in fig. 5, the following steps may be further included after step 304.
Step 305, when a first operation on a target photo in the n photos is received, deleting the target photo.
Alternatively, the first operation is a slide operation in a specified direction, which may be vertically downward or vertically upward.
In one possible implementation, when a slide-up operation on the target photo is received, the terminal deletes the target photo. Illustratively, as shown in fig. 6, when the terminal receives the slide-up operation on the photo 43, the terminal deletes the photo 43.
In other possible embodiments, when a long press operation on any one of the n photos is received, the terminal displays a deletion corner mark on the peripheral side of each photo, and when a click operation on the deletion corner mark corresponding to the target photo is received, the terminal deletes the target photo. The embodiment of the present application does not limit the specific operation mode for deleting the photo.
Compared with the prior art that the shot photos can be deleted only by switching to the album interface, in the embodiment, the user can directly delete the photos displayed in the shooting interface, so that the operation of switching the interface is omitted, the photo deletion process is simplified, and the situation that the photos with poor quality occupy the storage space of the terminal is avoided.
And step 306, when a second operation on the target photo in the n photos is received, displaying a sharing inlet in the shooting interface, wherein the sharing inlet is used for sharing the target photo to the target application program.
Optionally, the second operation is at least one of a long press operation, a single click operation, a double click operation, or a press operation on the target photograph.
In a possible implementation manner, when a long-press operation on a target photo in n photos is received, the terminal displays a sharing entry on a shooting interface, the sharing entry comprises at least one application icon of an application program, and when a click operation on the application icon corresponding to the target application program is received, the terminal shares the target photo to the target application program.
Illustratively, as shown in fig. 7, when a long press operation on the photo 46 is received, the terminal displays a sharing entry 47 in the shooting interface 41 so as to be used for sharing the photo 46 to the target application.
Compared with the prior art that the shot photos can be shared only by switching to the album interface, in the embodiment, the user can directly share the photos displayed in the shooting interface, so that the operation of switching the interface is omitted, and the photo sharing process is simplified.
And 307, adding the target photo to the favorite when a third operation on the target photo in the n photos is received.
Optionally, the third operation is at least one of a long press operation, a single click operation, a double click operation, or a press operation on the target photograph.
In one possible implementation, when a pressing operation on a target photo in n photos is received, the terminal adds the target photo to the favorite.
In order to avoid the malfunction, the first operation, the second operation, and the third operation are different from each other in the above steps. For example, the first operation is a slide-up operation, the second operation is a long press operation, and the third operation is a press operation.
In the embodiment, the operation on the target photo in the shooting interface is received, and the target photo is deleted, shared, collected and the like according to the operation type, so that the user does not need to switch to the photo album interface for operation, and the photo processing efficiency is further improved.
For the display timing of the n photos in the above embodiment, in a possible implementation manner, on the basis of the embodiment shown in fig. 3, as shown in fig. 8, step 304 may include the following steps.
And step 304A, if the scene recognition result indicates that the n photos belong to the same shooting scene, displaying a quick view control in the shooting interface, wherein the quick view control is used for triggering and displaying the photos in the same shooting scene.
When the n photos belong to the same shooting scene, the terminal does not directly display the n photos in the shooting interface, but displays a quick viewing control in the shooting interface, and a user determines whether the photos need to be displayed in the shooting interface.
Illustratively, as shown in fig. 9, when a plurality of photographs belonging to the same shooting scene are recognized, the terminal displays a quick review button 48 in the shooting interface 41.
And step 304B, if the triggering operation of the quick viewing control is received, displaying n photos in the shooting interface.
Correspondingly, when the triggering operation of the quick viewing control is received, the terminal displays the n photos in the shooting interface. And if the triggering operation of the quick viewing control is not received, continuously displaying.
Illustratively, as shown in fig. 9, when a click operation on the quick review button 48 is received, the terminal displays a photograph 43, a photograph 44, a photograph 45, and a photograph 46 in the shooting interface 41.
In the embodiment, the terminal indicates the user to manually trigger and display a plurality of photos in the same shooting scene by displaying the quick viewing control, so that the influence of directly displaying the photos in the shooting interface on the shooting of the user is avoided.
In another possible implementation manner, based on the embodiment shown in fig. 3, as shown in fig. 8, step 304 may further include the following steps.
And step 304C, determining the terminal attitude according to the sensor data.
In general, the terminal is in a shooting attitude in the shooting process, and in the shooting attitude, an included angle between the terminal and a horizontal plane is larger than an included angle threshold (for example, 45 degrees, namely, in a semi-vertical attitude); and when the user views or processes the shot picture, the terminal is in a non-shooting posture (the included angle between the terminal and the horizontal plane is smaller than the included angle threshold value).
Therefore, in order to avoid the influence of the displayed picture on shooting in the shooting process, the terminal acquires the sensor data acquired by the sensor in real time and determines the real-time posture of the terminal according to the sensor data.
Optionally, the sensor comprises an acceleration sensor and/or a three-axis gyroscope sensor, and accordingly, the sensor data comprises acceleration data and/or angular velocity data.
And step 304D, if the scene recognition result indicates that the n pictures belong to the same shooting scene and the terminal posture is a non-shooting posture, displaying the n pictures in the shooting interface, wherein the included angle between the terminal and the horizontal plane in the non-shooting posture is smaller than the included angle threshold value.
When the scene recognition result indicates that the n photos belong to the same shooting scene and the terminal gesture is the non-shooting gesture, the terminal determines that the user has the intention of viewing the photos, and therefore the n photos are displayed in the shooting interface
Optionally, when the terminal changes from the non-shooting posture to the shooting posture, the terminal hides n photos.
In an exemplary scene, when a user lifts the mobile phone to shoot in the same shooting scene, shot pictures cannot be displayed in a shooting interface; when the user puts down the mobile phone for viewing, the shot pictures are displayed in the shooting interface.
In this embodiment, the terminal determines the current terminal posture according to the sensor data, and displays the shot picture in the shooting interface when the terminal is not in the shooting posture, so as to avoid the influence of the picture display in the shooting state on the shooting process.
In another possible implementation manner, based on the embodiment shown in fig. 3, as shown in fig. 8, step 304 may further include the following steps.
And step 304E, if the scene recognition result indicates that the n pictures belong to the same shooting scene, performing scene recognition on the currently displayed view-finding picture in the shooting interface.
Similar to the recognition of the photo background in the photos in the above steps, when the n photos belong to the same shooting scene, the terminal further performs scene recognition on the current framing picture to recognize the framing background therein.
And step 304F, if the n photos and the view finding picture belong to the same shooting scene, displaying the n photos in the shooting interface.
In general, a user needs to check a shot picture in a current scene only in a shooting process, so that the terminal detects whether a framing background of a framing picture and a picture background of n pictures belong to the same shooting scene, and if the framing background of the framing picture and the picture background of the n pictures belong to the same shooting scene, the terminal determines that the user may need to continue shooting, so that the n pictures are displayed in a shooting interface, and the user can conveniently process the shot pictures, such as deleting pictures with poor quality.
Optionally, if the n photos and the framing picture do not belong to the same shooting scene, the terminal determines that the terminal leaves the shooting scene corresponding to the photos, and the photos are not displayed in the shooting interface.
Referring to fig. 10, a block diagram of a photo display device according to an embodiment of the present application is shown. The photo display device may be implemented as all or part of the terminal 120 through software, hardware, or a combination of both. The device includes:
the first display module 1010 is configured to display a shooting interface, where the shooting interface includes a shutter control;
the shooting module 1020 is used for shooting and generating n photos when the triggering operation of the shutter control is received, wherein n is more than or equal to 2 and is an integer;
the recognition module 1030 is configured to perform scene recognition on the n photos to obtain a scene recognition result;
a second display module 1040, configured to display the n photos in the shooting interface when the scene recognition result indicates that the n photos belong to the same shooting scene.
Optionally, the identifying module 1030 includes:
the first recognition unit is used for recognizing the photo background of each photo in the n photos; if the background similarity of the photo backgrounds of the adjacent photos is larger than a first similarity threshold, determining that the n photos belong to the same shooting scene;
and/or the presence of a gas in the gas,
the second recognition unit is used for recognizing the target shooting object of each picture in the n pictures; if the shooting object similarity of the target shooting objects of the adjacent pictures is larger than a second similarity threshold, determining that the n pictures belong to the same shooting scene;
the adjacent pictures refer to two pictures adjacent to each other at the shooting time.
Optionally, the second display module 1040 includes:
the control display unit is used for displaying a quick viewing control in the shooting interface if the scene recognition result indicates that the n photos belong to the same shooting scene, and the quick viewing control is used for triggering and displaying the photos in the same shooting scene;
and the display unit is used for displaying the n photos in the shooting interface if the triggering operation of the quick viewing control is received.
Optionally, the second display module 1040 includes:
the attitude determination unit is used for determining the attitude of the terminal according to the sensor data;
and the display unit is used for displaying the n photos in the shooting interface if the scene recognition result indicates that the n photos belong to the same shooting scene and the terminal gesture is a non-shooting gesture, wherein the included angle between the terminal and the horizontal plane under the non-shooting gesture is smaller than an included angle threshold value.
Optionally, the second display module 1040 includes:
the third identification unit is used for carrying out scene identification on a currently displayed framing picture in the shooting interface if the scene identification result indicates that the n pictures belong to the same shooting scene;
and the display unit is used for displaying the n photos in the shooting interface if the n photos and the view finding picture belong to the same shooting scene.
Optionally, the display unit is configured to:
displaying a floating window in the shooting interface;
if n is less than or equal to m, displaying the n photos in the floating window in a row mode, wherein m is a photo display threshold value;
if n is larger than m, the n photos are displayed in the floating window in an overlapping mode; when a trigger operation on the n photos displayed in an overlapped mode is received, m photos in the n photos are displayed in a listed mode in the floating window.
Optionally, the apparatus includes:
the deleting module is used for deleting a target photo in the n photos when receiving a first operation on the target photo;
the sharing module is used for displaying a sharing inlet in the shooting interface when receiving a second operation on a target photo in the n photos, wherein the sharing inlet is used for sharing the target photo to a target application program;
the collection module is used for adding the target photo to a favorite when receiving a third operation on the target photo in the n photos;
wherein the first operation, the second operation, and the third operation are different from each other.
Optionally, the apparatus further comprises:
and the hiding module is used for hiding the n photos when receiving a triggering operation on a target area in the shooting interface, wherein the target area is an area except for a display area corresponding to the n photos.
To sum up, in the embodiment of the application, after the terminal shoots and generates n photos according to the received trigger operation on the shutter control, the terminal performs scene recognition on the n photos, and displays the n photos in the shooting interface when the scene recognition result indicates that the n photos belong to the same shooting scene; compared with the prior art that the thumbnails need to be clicked to enter the album interface to view the shot photos, in the embodiment of the application, the multiple photos in the same shooting scene are directly displayed on the shooting interface, so that a user can conveniently view other photos shot in the same shooting scene while shooting, and the user does not need to switch back and forth between the shooting interface and the album interface, thereby simplifying the photo viewing process and improving the photo viewing efficiency.
In addition, the operation of the target photo in the shooting interface is received, and the target photo is deleted, shared, collected and the like according to the operation type, so that the user does not need to switch to the photo album interface for operation, and the photo processing efficiency is further improved.
In addition, the terminal indicates the user to manually trigger and display a plurality of photos in the same shooting scene by displaying the quick viewing control, so that the influence on the shooting of the user caused by directly displaying the photos in the shooting interface is avoided.
In addition, the terminal determines the current terminal posture according to the sensor data, and displays the shot picture in the shooting interface when the terminal is not in the shooting posture, so that the influence of the picture display in the shooting state on the shooting process is avoided.
The embodiment of the present application further provides a computer-readable medium, where at least one instruction is stored, and the at least one instruction is loaded and executed by the processor to implement the photo display method according to the above embodiments.
The embodiment of the present application further provides a computer program product, where at least one instruction is stored, and the at least one instruction is loaded and executed by the processor to implement the photo display method according to the above embodiments.
Those skilled in the art will recognize that, in one or more of the examples described above, the functions described in the embodiments of the present application may be implemented in hardware, software, firmware, or any combination thereof. When implemented in software, the functions may be stored on or transmitted over as one or more instructions or code on a computer-readable medium. Computer-readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one place to another. A storage media may be any available media that can be accessed by a general purpose or special purpose computer.
The above description is only exemplary of the present application and should not be taken as limiting the present application, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present application should be included in the protection scope of the present application.
Claims (11)
1. A method of displaying a photograph, the method comprising:
displaying a shooting interface, wherein the shooting interface comprises a shutter control;
when trigger operation on the shutter control is received, shooting and generating n photos, wherein n is more than or equal to 2 and is an integer;
carrying out scene recognition on the n pictures according to at least one of the picture background, the shot object and the shooting time to obtain a scene recognition result;
if the scene recognition result indicates that the n photos belong to the same shooting scene, displaying the n photos in the shooting interface;
and if the scene recognition result indicates that the n photos do not belong to the same shooting scene, displaying a thumbnail of the latest photo in the shooting interface.
2. The method of claim 1, wherein the performing scene recognition on the n photos to obtain a scene recognition result comprises:
identifying the photo background for each of the n photos; if the background similarity of the photo backgrounds of the adjacent photos is larger than a first similarity threshold, determining that the n photos belong to the same shooting scene;
and/or the presence of a gas in the gas,
identifying a target shot of each of the n photographs; if the shooting object similarity of the target shooting objects of the adjacent pictures is larger than a second similarity threshold, determining that the n pictures belong to the same shooting scene;
wherein, the adjacent photos refer to two photos adjacent to each other at the shooting time.
3. The method of claim 1, wherein if the scene recognition result indicates that the n photos belong to the same shooting scene, displaying the n photos in the shooting interface comprises:
if the scene recognition result indicates that the n photos belong to the same shooting scene, displaying a quick view control in the shooting interface, wherein the quick view control is used for triggering and displaying the photos in the same shooting scene;
and if the triggering operation of the quick viewing control is received, displaying the n photos in the shooting interface.
4. The method of claim 1, wherein if the scene recognition result indicates that the n photos belong to the same shooting scene, displaying the n photos in the shooting interface comprises:
determining the attitude of the terminal according to the sensor data;
and if the scene recognition result indicates that the n pictures belong to the same shooting scene and the terminal posture is a non-shooting posture, displaying the n pictures in the shooting interface, wherein the included angle between the terminal and the horizontal plane in the non-shooting posture is smaller than the included angle threshold value.
5. The method of claim 1, wherein if the scene recognition result indicates that the n photos belong to the same shooting scene, displaying the n photos in the shooting interface comprises:
if the scene recognition result indicates that the n pictures belong to the same shooting scene, performing scene recognition on a currently displayed framing picture in the shooting interface;
and if the n photos and the framing picture belong to the same shooting scene, displaying the n photos in the shooting interface.
6. The method of any of claims 3 to 5, wherein said displaying said n photographs in said capture interface comprises:
displaying a floating window in the shooting interface;
if n is less than or equal to m, displaying the n photos in the floating window in a row mode, wherein m is a photo display threshold value;
if n is larger than m, the n photos are displayed in the floating window in an overlapping mode; when a trigger operation on the n photos displayed in an overlapped mode is received, m photos in the n photos are displayed in a listed mode in the floating window.
7. The method of any of claims 1 to 5, wherein after displaying the n photographs in the capture interface, the method further comprises:
when a first operation on a target photo in the n photos is received, deleting the target photo;
when a second operation on a target photo in the n photos is received, displaying a sharing inlet in the shooting interface, wherein the sharing inlet is used for sharing the target photo to a target application program;
when a third operation on a target photo in the n photos is received, adding the target photo to a favorite;
wherein the first operation, the second operation, and the third operation are different from each other.
8. The method of any of claims 1 to 5, wherein after displaying the n photographs in the capture interface, the method further comprises:
and when a triggering operation on a target area in the shooting interface is received, hiding the n photos, wherein the target area is an area except for a display area corresponding to the n photos.
9. A photo display device, characterized in that the device comprises:
the first display module is used for displaying a shooting interface, and the shooting interface comprises a shutter control;
the shooting module is used for shooting and generating n photos when the triggering operation of the shutter control is received, wherein n is more than or equal to 2 and is an integer;
the recognition module is used for carrying out scene recognition on the n pictures according to at least one of picture backgrounds, shot objects and shooting moments to obtain a scene recognition result;
the second display module is used for displaying the n photos in the shooting interface when the scene recognition result indicates that the n photos belong to the same shooting scene; and displaying a thumbnail of the latest photo in the shooting interface if the scene recognition result indicates that the n photos do not belong to the same shooting scene.
10. A terminal, characterized in that the terminal comprises a processor and a memory; the memory stores at least one instruction for execution by the processor to implement the photo display method of any of claims 1 to 8.
11. A computer-readable storage medium having stored thereon at least one instruction for execution by a processor to implement the photo presentation method of any one of claims 1 to 8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811258441.6A CN109040474B (en) | 2018-10-26 | 2018-10-26 | Photo display method, device, terminal and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811258441.6A CN109040474B (en) | 2018-10-26 | 2018-10-26 | Photo display method, device, terminal and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109040474A CN109040474A (en) | 2018-12-18 |
CN109040474B true CN109040474B (en) | 2021-01-12 |
Family
ID=64614078
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811258441.6A Active CN109040474B (en) | 2018-10-26 | 2018-10-26 | Photo display method, device, terminal and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109040474B (en) |
Families Citing this family (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109714538A (en) * | 2019-01-24 | 2019-05-03 | 北京顺丰同城科技有限公司 | A kind of processing method, device, equipment and the storage medium of the photo page |
CN109977247B (en) * | 2019-03-27 | 2022-03-25 | 联想(北京)有限公司 | Image processing method and image processing apparatus |
CN110086989B (en) * | 2019-04-25 | 2021-01-05 | 安庆师范大学 | System and method for simulating environment intelligent scene making |
CN112003980B (en) * | 2019-05-27 | 2022-07-08 | 腾讯科技(深圳)有限公司 | Picture processing method, device, terminal and storage medium |
CN111190483B (en) * | 2019-12-19 | 2023-08-18 | 南京酷派软件技术有限公司 | Photo display method and device, storage medium and terminal |
CN111371988B (en) * | 2020-02-27 | 2021-08-20 | Oppo广东移动通信有限公司 | Content operation method, device, terminal and storage medium |
CN111698296B (en) * | 2020-05-27 | 2024-04-12 | 中国平安财产保险股份有限公司 | Method, device, computer equipment and storage medium for uploading photo |
CN114500737B (en) * | 2020-11-13 | 2023-02-03 | 华为技术有限公司 | Picture collection method and device and computer storage medium |
CN112637507B (en) * | 2020-12-30 | 2023-03-28 | 维沃移动通信有限公司 | Shooting method, shooting device, electronic equipment and readable storage medium |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103139386A (en) * | 2013-02-05 | 2013-06-05 | 广东欧珀移动通信有限公司 | Photo album sequencing displaying method and mobile phone with function of photo album sequencing displaying |
CN104834665A (en) * | 2015-02-28 | 2015-08-12 | 小米科技有限责任公司 | Target picture acquiring method and device |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2004179923A (en) * | 2002-11-27 | 2004-06-24 | Nec Corp | Portable telephone set, and method for setting original animation of continuously-shot images, which is used for the same |
CN103297595A (en) * | 2012-02-27 | 2013-09-11 | 阿里巴巴集团控股有限公司 | Method and device for taking and displaying photos |
CN103902615B (en) * | 2012-12-28 | 2018-09-28 | 腾讯科技(深圳)有限公司 | Photo processing method and device, mobile terminal |
CN103929597B (en) * | 2014-04-30 | 2018-02-09 | 杭州摩图科技有限公司 | A kind of method and its device for aiding in shooting |
CN106131394A (en) * | 2016-06-15 | 2016-11-16 | 青岛海信移动通信技术股份有限公司 | A kind of method and device taken pictures |
US9940975B2 (en) * | 2016-09-13 | 2018-04-10 | Shutterfly, Inc. | System and method for automatically displaying variable image content in an image product |
CN106570101A (en) * | 2016-10-31 | 2017-04-19 | 努比亚技术有限公司 | Mobile terminal and image categorization method |
-
2018
- 2018-10-26 CN CN201811258441.6A patent/CN109040474B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103139386A (en) * | 2013-02-05 | 2013-06-05 | 广东欧珀移动通信有限公司 | Photo album sequencing displaying method and mobile phone with function of photo album sequencing displaying |
CN104834665A (en) * | 2015-02-28 | 2015-08-12 | 小米科技有限责任公司 | Target picture acquiring method and device |
Also Published As
Publication number | Publication date |
---|---|
CN109040474A (en) | 2018-12-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109040474B (en) | Photo display method, device, terminal and storage medium | |
US10284789B2 (en) | Dynamic generation of image of a scene based on removal of undesired object present in the scene | |
US10009543B2 (en) | Method and apparatus for displaying self-taken images | |
CN103581561B (en) | The people's scape image combining method shot based on rotating camera and system | |
EP3059941B1 (en) | Method and apparatus for supporting image processing, and computer-readable recording medium for executing the method | |
CN107770452B (en) | Photographing method, terminal and related medium product | |
US20140232904A1 (en) | Combining effective images in electronic device having a plurality of cameras | |
EP3518522B1 (en) | Image capturing method and device | |
KR20140098009A (en) | Method and system for creating a context based camera collage | |
CN112954210A (en) | Photographing method and device, electronic equipment and medium | |
JP7167244B2 (en) | Occluded Image Detection Method, Apparatus, and Medium | |
CN111669495B (en) | Photographing method, photographing device and electronic equipment | |
CN113329172B (en) | Shooting method and device and electronic equipment | |
CN112887617B (en) | Shooting method and device and electronic equipment | |
EP4195664A1 (en) | Image processing method, mobile terminal, and storage medium | |
CN113840070A (en) | Shooting method, shooting device, electronic equipment and medium | |
CN112738403A (en) | Photographing method, photographing apparatus, electronic device, and medium | |
CN112532881A (en) | Image processing method and device and electronic equipment | |
CN112333386A (en) | Shooting method and device and electronic equipment | |
WO2024061134A1 (en) | Photographing method and apparatus, electronic device, and medium | |
KR102501036B1 (en) | Method and device for shooting image, and storage medium | |
JP5519376B2 (en) | Electronics | |
CN109547678B (en) | Processing method, device, equipment and readable storage medium | |
JP2013149034A (en) | Image display apparatus, image display method, and program | |
CN112653841B (en) | Shooting method and device and electronic equipment |
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 |