This application claims the priority benefit of Taiwan application serial no. 106120868, filed on Jun. 22, 2017. The entirety of the above-mentioned patent application is hereby incorporated by reference herein and made a part of this specification.
The disclosure relates to a technique for displaying a panoramic image.
With development in technology, various smart image capturing devices, such as tablet computers, personal digital assistants and smart phones, have become indispensable tools for people nowadays. Camera lenses equipped in high-end smart image capturing devices provide same or better specifications than those of traditional consumer cameras, and some even provide near-equivalent pixel qualities to those of digital single lens reflex cameras.
For example, a panoramic image with all surrounding details captured by a 360-degree camera would give a viewer an immersive experience. However, the viewer would require some efforts to adjust his/her viewing angle of such image in order to search for certain main subjects.
Accordingly, a method and an electronic device for displaying a panoramic image are proposed in the disclosure, where the user would be able to view the panoramic image in an intuitive and speedy manner.
According to one of the exemplary embodiments, the method is applicable to an electronic device having a screen and an input device and includes the following steps. The panoramic image is obtained, and human face recognition is performed on the panoramic image so as to identify key human faces therefrom. A preset region of the panoramic image along with icons associated with all key human faces are displayed on a display frame of the screen. In response to a selecting operation performed by the user through the input device on a first icon being detected, a first region of the panoramic image, in which a first key human face corresponding to the first icon is located, is displayed on the display frame.
According to one of the exemplary embodiments, the electronic device includes a screen, an input device, a memory, and a processor, where the processor is coupled to the screen, the input device, and the memory. The screen is configured to provide a display frame. The input device is configured to detect operations performed on the electronic device. The memory is configured to store data. The processor is configured to obtain the panoramic image, perform human face recognition on the panoramic image so as to identify key human faces therefrom, display a preset region of the panoramic image and icons corresponding to the key human faces on the display frame of the screen, and in response to a selecting operation performed by the user through the input device on a first icon being detected, display a first region, in which a first key human face corresponding to the first icon is located, on the display frame.
In order to make the aforementioned features and advantages of the present disclosure comprehensible, preferred embodiments accompanied with figures are described in detail below. It is to be understood that both the foregoing general description and the following detailed description are exemplary, and are intended to provide further explanation of the disclosure as claimed.
It should be understood, however, that this summary may not contain all of the aspect and embodiments of the present disclosure and is therefore not meant to be limiting or restrictive in any manner. Also the present disclosure would include improvements and modifications which are obvious to one skilled in the art.
The accompanying drawings are included to provide a further understanding of the disclosure, and are incorporated in and constitute a part of this specification. The drawings illustrate embodiments of the disclosure and, together with the description, serve to explain the principles of the disclosure.
To make the above features and advantages of the application more comprehensible, several embodiments accompanied with drawings are described in detail as follows.
Some embodiments of the disclosure will now be described more fully hereinafter with reference to the accompanying drawings, in which some, but not all embodiments of the application are shown. Indeed, various embodiments of the disclosure may be embodied in many different forms and should not be construed as limited to the embodiments set forth herein; rather, these embodiments are provided so that this disclosure will satisfy applicable legal requirements. Like reference numerals refer to like elements throughout.
Referring to
The screen 110 would be configured to provide display frames outputted by the electronic device 100 for the user to view. In the exemplary embodiment, the screen 110 may be, for example a liquid crystal display (LCD), a light-emitting diode (LED) display, a field emission display (FED), or other types of displays.
The input device 115 would be configured to provide the user to operate the electronic device 100 and may be a keyboard, a mouse, a stylus pen, a touch panel, a tracking ball, or other devices that are externally connected to or built-in in the electronic device 100. In an exemplary embodiment, the screen 110 and the input device 115 would be integrated as a touch screen such as a capacitive touch screen or a resistive touch screen and configured to receive touch operations of fingers, palms, or other objects by the user.
The memory 120 would be configured to store data and images and may one or a combination of a stationary or mobile random access memory (RAM), a read-only memory (ROM), a flash memory, a hard drive, other similar devices or integrated circuits.
The processor 130 would be coupled to the screen 110, the input device 115, and the memory 120 and configured to control the operation among the components of the electronic device 100. The processor 130 may be a central processing unit (CPU) or other programmable devices for general purpose or special purpose a microprocessor and a digital signal processor (DSP), a programmable controller, an application specific integrated circuit (ASIC), a programmable logic device (PLD), other similar devices or a combination of aforementioned devices. Once the processor 130 receives a panoramic image, it would perform the proposed method thereon.
Referring to both
Next, the processor 130 would perform human face recognition on the panoramic image so as to identify key human faces therefrom (Step S204). The processor 130 may identify all human faces from the panoramic image by leveraging human face recognition technology in computer vision and then select the key human faces according to, for example, size information and/or position information of each of the human faces.
In an exemplary embodiment, since main subjects are relatively closer to a camera lens in most photo-shooting scenarios, the processor 130 may sort all of the identified human faces by sizes, set the larger human faces as the key human faces, and set the smaller human faces as insignificant human faces for selecting the main subjects.
In an exemplary embodiment, the processor 130 may select the main subjects according to angle information and normal position information of the identified human faces with respect to the camera lens. For example, assume that the front of the camera is preset to 90 degrees. The human faces that are closer to 90 degrees are set as the key human faces, and the human faces that are more deviated from 90 degrees are set as the insignificant human faces.
Due to size restriction of the screen 110, the processor 130 would only be able to display a portion of the panoramic image, where such portion would be considered as a preset region and may be, for example, a front region of the camera lens. When any of the main subjects is located outside of the preset region, the user would not be able to know whether there exists such main subject or would spend time on searching for such main subject. Hence, the processor 130 may use the selected key human faces for guiding purposes by displaying a preset region of the panoramic image and icons corresponding to all the key human faces on the display frame of the screen 110 (Step S206). Each of the icons may be an interactive object in any shape and may display its corresponding key human face to guide the user about all key elements in the panoramic image. Moreover, each of the icons may be displayed at edges of the display frame so that the user would not be affected when viewing the panoramic image.
Next, the processor 130 would continuously detect a selecting operating performed by the user on any of the icons. In response to a selecting operation performed by the user through the input device 115 on a first icon being detected, the processor 130 would display a first region, in which a first key human face corresponding to the first icon is located, on the display frame (Step S208). That is, when the user selects the first icon, the display frame would be shifted from the preset region of the panoramic image to the first region in which the first key human face is located so that the user would be able to view the selected main subject in a speedy manner.
In the present exemplary embodiment, assume that the screen 110 and the input device 115 would be integrated into a touch screen. When the user opens a panoramic image, a preset region R1 of the panoramic image and icons 11-14 would be displayed on the display frame as illustrated in
Next, assume that the user wishes to view the entire key human face HF3 corresponding to the icon I3. After the processor 130 detects a selecting operation performed by the user's finger on the icon I3, a region R3 of the panoramic image would be displayed on the display frame as illustrated in
In an exemplary embodiment, the electronic device 100 would further include a communication device. The communication device would be configured to provide the electronic device 100 to be connected with other devices and may be an electronic component such as a wireless network communication chip or antenna with a WiMAX, Wi-Fi, 2G, 3G, 4G standard. The memory 130 would further store a contact list of the user, where the contact list would include contact persons as well as their images and information. The processor 130 would associate the key human faces with the images of the contact persons by leveraging human face recognition technology and transmit the panoramic image to the contact persons that are associated with the key human faces. Herein, the processor 130 may transmit the panoramic image according to the information of the contact persons (e.g. e-mail, text message, social media and instant message account) for real-time sharing.
In an exemplary embodiment, when different contact persons receive the panoramic image transmitted from the electronic device 100, different regions of the panoramic image would be presented on their electronic devices. Take
In view of the aforementioned descriptions, the method and the electronic device for displaying a panoramic image proposed in the disclosure would first identify key human faces from the panoramic image to display icons corresponding to the key human faces on the display frame, and then detect a selecting operation performed by the user on the icons to automatically shift the display frame to where the key human face corresponding to the selected icon is located. The disclosure would immediately guide the user about all key elements in a panoramic image so that the user would be able to view the panoramic image in an intuitive and speedy manner.
No element, act, or instruction used in the detailed description of disclosed embodiments of the present application should be construed as absolutely critical or essential to the present disclosure unless explicitly described as such. Also, as used herein, each of the indefinite articles “a” and “an” could include more than one item. If only one item is intended, the terms “a single” or similar languages would be used. Furthermore, the terms “any of” followed by a listing of a plurality of items and/or a plurality of categories of items, as used herein, are intended to include “any of”, “any combination of”, “any multiple of”, and/or “any combination of multiples of the items and/or the categories of items, individually or in conjunction with other items and/or other categories of items. Further, as used herein, the term “set” is intended to include any number of items, including zero. Further, as used herein, the term “number” is intended to include any number, including zero.
It will be apparent to those skilled in the art that various modifications and variations can be made to the structure of the disclosed embodiments without departing from the scope or spirit of the disclosure. In view of the foregoing, it is intended that the disclosure cover modifications and variations of this disclosure provided they fall within the scope of the following claims and their equivalents.
Number | Date | Country | Kind |
---|---|---|---|
106120868 | Jun 2017 | TW | national |