US-12621557-B2 - Electronic device and method for displaying image based on interaction
Abstract
An electronic device receives a shooting input while displaying a preview image based on at least a portion of images obtained through a camera having a first field-of-view (FoV). The electronic device obtains a video of the first FoV through the camera, in response to the shooting input. The electronic device identifies a visual object included in the preview image, while obtaining the video. The electronic device displays the preview image, based on a second FoV that includes the visual object, and is included in the first FoV, in response to an input indicating selection of the visual object. The electronic device obtains meta data indicating reproduction of the video based on the second FoV corresponding to the input, among the first FoV and the second FoV, where the meta data is associated with the video obtained based on the first FoV.
Inventors
- Sungwook YOUN
- Yanggeun OH
- Byungjun Son
Assignees
- SAMSUNG ELECTRONICS CO., LTD.
Dates
- Publication Date
- 20260505
- Application Date
- 20230505
- Priority Date
- 20220729
Claims (20)
- 1 . An electronic device comprising: a display; at least one camera; at least one processor comprising processing circuitry; and memory comprising one or more storage media storing instructions that, when executed by the at least one processor individually or collectively, cause the electronic device to: while a video is obtained via the at least one camera, display, via the display, a first preview image corresponding to the video being obtained; based on a first input with respect to a visual object included in the first preview image, display, via the display, a second preview image that includes a portion of the first preview image including the visual object that is magnified; and based on a second input storing the video: generate metadata usable for displaying a scene corresponding to the second preview image using the video; and store, in the memory, the video and the metadata as associated with each other.
- 2 . The electronic device of claim 1 , wherein the instructions, when executed by the at least one processor individually or collectively, cause the electronic device to: based on a third input for reproducing the stored video being received, display, via the display, the scene corresponding to the second preview image by magnifying the video reproduced in accordance with the third input using the metadata; and based on a fourth input for restoring the magnified video being received while the scene is displayed, cease displaying the scene and display another scene corresponding to the first preview image using the video.
- 3 . The electronic device of claim 1 , wherein the instructions, when executed by the at least one processor individually or collectively, cause the electronic device to: based on the second input storing the video, generate the meta-data including at least one of an identifier assigned to the visual object, a position of the portion within the first preview image, or a size of the portion.
- 4 . The electronic device of claim 1 , wherein the instructions, when executed by the at least one processor individually or collectively, cause the electronic device to: while the video is obtained via the at least one camera, identify subjects corresponding visual objects included in image frames of the video; assign identifiers to the subjects; and based on the second input storing the video, generate the metadata including an identifier assigned to a subject corresponding to the visual object from among the identifiers.
- 5 . The electronic device of claim 1 , wherein the instructions, when executed by the at least one processor individually or collectively, cause the electronic device to: identify whether the metadata stored in the memory is equivalent to information, included in the video, associated with the visual object.
- 6 . The electronic device of claim 5 , wherein the instructions, when executed by the at least one processor individually or collectively, cause the electronic device to: based on identifying that the metadata is different from the information, update the metadata.
- 7 . The electronic device of claim 1 , wherein the instructions, when executed by the at least one processor individually or collectively, cause the electronic device to: while the second preview image is displayed, display, via the display, a third preview image which the first preview image is reduced, in at least a portion of the second preview image; and based on a third input with respect to the third preview image, display the first preview image.
- 8 . The electronic device of claim 1 , wherein the instructions, when executed by the at least one processor individually or collectively, cause the electronic device to: based on the first input with respect to the visual object included in the first preview image, display, via the display, an area for indicating that the visual object is selected in the first preview image.
- 9 . An electronic device comprising: a display; at least one processor comprising processing circuitry; and memory comprising one or more storage media storing instructions that, when executed by the at least one processor individually or collectively, cause the electronic device to: receive a first input for reproducing a video stored in the memory, based on the first input, display, via the display, a first scene including a visual object using the video; while the first scene is displayed, receive a second input with respect to the visual object included in the first scene; in response to the second input, based on magnifying a portion of the first scene including the visual object, display a second scene representing the portion of the first scene; generate metadata usable for displaying the second scene using the video; and store, in the memory, the metadata as associated with the video stored in the memory.
- 10 . The electronic device of claim 9 , wherein the instructions, when executed by the at least one processor individually or collectively, cause the electronic device to: based on a third input for reproducing the stored video being received after storing the metadata, display, via the display, the second scene by magnifying the portion of the first scene including the visual object using the metadata; and based on a fourth input for restoring the magnified portion of the first scene being received while the second scene is displayed, cease displaying the second scene and display the first scene using the video.
- 11 . The electronic device of claim 9 , wherein the instructions, when executed by the at least one processor individually or collectively, cause the electronic device to: generate the metadata including at least one of an identifier assigned to the visual object, a position of the portion within the first scene, or a size of the portion.
- 12 . The electronic device of claim 9 , wherein the instructions, when executed by the at least one processor individually or collectively, cause the electronic device to: identify subjects corresponding visual objects included in image frames of the stored video; assign identifiers to the subjects; and generate the metadata including an identifier assigned to a subject corresponding to the visual object from among the identifiers.
- 13 . The electronic device of claim 9 , wherein the instructions, when executed by the at least one processor individually or collectively, cause the electronic device to: identify whether the metadata stored in the memory is equivalent to information, included in the video, associated with the visual object.
- 14 . The electronic device of claim 13 , wherein the instructions, when executed by the at least one processor individually or collectively, cause the electronic device to: based on identifying that the metadata is different from the information, update the metadata.
- 15 . The electronic device of claim 9 , wherein the instructions, when executed by the at least one processor individually or collectively, cause the electronic device to: while the second scene is displayed, display, via the display, a third scene which the first scene is reduced, in at least a portion of the second scene; and based on the third input with respect to the third scene, display the first scene.
- 16 . The electronic device of claim 9 , wherein the instructions, when executed by the at least one processor individually or collectively, cause the electronic device to: based on the second input with respect to the visual object included in the first scene, display, via the display, an area for indicating that the visual object is selected in the first scene.
- 17 . A method performed by an electronic device including a display and at least one camera, the method comprising: while a video is obtained via the at least one camera, displaying, via the display, a first preview image corresponding to the video being obtained; based on a first input with respect to a visual object included in the first preview image, displaying, via the display, a second preview image that includes a portion of the first preview image including the visual object that is magnified; and based on a second input storing the video: generating metadata usable for displaying a scene corresponding to the second preview image using the video; and storing, in the memory, the video and the metadata as associated with each other.
- 18 . The method of claim 17 , further comprising: based on a third input for reproducing the stored video being received, displaying, via the display, the scene corresponding to the second preview image by magnifying the video reproduced in accordance with the third input using the metadata; and based on a fourth input for restoring the magnified video being received while the scene is displayed, ceasing displaying the scene and displaying another scene corresponding to the first preview image using the video.
- 19 . The method of claim 17 , comprising: based on the second input storing the video, generating the metadata including at least one of an identifier assigned to the visual object, a position of the portion within the first preview image, or a size of the portion.
- 20 . The method of claim 17 , comprising: while the video is obtained via the at least one camera, identifying subjects corresponding visual objects included in image frames of the video; assigning identifiers to the subjects; and based on the second input storing the video, generating the metadata including an identifier assigned to a subject corresponding to the visual object from among the identifiers.
Description
CROSS-REFERENCE TO RELATED APPLICATION(S) This application is a continuation application, claiming priority under § 365(c), of International Application No. PCT/KR2023/005714, filed on Apr. 26, 2023, which is based on and claims the benefit of Korean patent application number 10-2022-0107935 filed on Aug. 26, 2022, in the Korean Intellectual Property Office and of Korean patent application number 10-2022-0094519 filed on Jul. 29, 2022, in the Korean Intellectual Property Office, the disclosures of which are incorporated by reference herein in their entireties. BACKGROUND Technical Field Various embodiments relate to an electronic device and a method for displaying an image based on interaction. Description of Related Art An electronic device may obtain a plurality of images through a camera. The electronic device may enlarge or reduce the images while displaying the plurality of obtained images on a screen. SUMMARY According to an embodiment, an electronic device may comprise a display, a camera, and a processor. The processor may receive a shooting input while displaying a preview image based on at least a portion of images obtained through the camera having a first field-of-view (FoV). The processor may obtain a video of the first FoV through the camera, in response to the shooting input. The processor may identify a visual object included in the preview image, while obtaining the video. The processor may display the preview image, based on a second FoV that is including the visual object, and is included in the first FoV, in response to an input indicating selection of the visual object. The processor may obtain meta data indicating reproduction of the video based on the second FoV corresponding to the input, among the first FoV and the second FoV, wherein the meta data is associated with the video obtained based on the first FoV. According to an embodiment, an electronic device may comprise a display, a camera, a memory, and a processor. The processor may reproduce a video stored in the memory, obtained through the camera having a first field-of view (FoV). The processor may identify a visual object included in the video, while reproducing the video. The processor may display the video, based on a second FoV that is including the visual object and is included in the first FoV, in response to an input indicating selection of the visual object. The processor may obtain meta data indicating reproduction of the video based on the second FoV corresponding to the input, among the first FoV and the second FoV, wherein the meta data is associated with the video stored based on the first FoV. According to an embodiment, a method of an electronic device may comprise receiving a shooting input, while displaying a preview image based on at least a portion of images obtained through the camera having a first field-of-view (FoV). The method of the electronic device may include obtaining a video of the first FoV through the camera, in response to the shooting input. The method of the electronic device may include identifying a visual object included in the preview image, while obtaining the video. The method of the electronic device may include displaying the preview image, based on a second FoV that is including the visual object, and is included in the first FoV, in response to an input indicating selection of the visual object. The method of the electronic device may include obtaining meta data indicating reproduction of the video based on the second FoV corresponding to the input, among the first FoV and the second FoV, wherein the meta data is associated with the video obtained based on the first FoV. According to an embodiment, a method of an electronic device may comprise reproducing a video stored in the memory, obtained through the camera having a first field-of view (FoV). The method of the electronic device may include identifying a visual object included in the video, while reproducing the video. The method of the electronic device may include displaying the video, based on a second FoV that is including the visual object and is included in the first FoV, in response to an input indicating selection of the visual object. The method of the electronic device may include obtaining meta data indicating reproduction of the video based on the second FoV corresponding to the input, among the first FoV and the second FoV, wherein the meta data is associated with the video stored based on the first FoV. BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a block diagram of an electronic device in a network environment according to an embodiment. FIG. 2 is an example of an electronic device for obtaining a video according to an embodiment. FIG. 3 is an example of a block diagram of an electronic device according to an embodiment. FIG. 4 is an example of an operation user interface (UI) of a camera for obtaining a video of an electronic device, according to an embodiment. FIGS. 5A to 5B are examples of a state of an electron