CN108848311A - Distant view photograph display methods and device - Google Patents

Distant view photograph display methods and device Download PDF

Info

Publication number
CN108848311A
CN108848311A CN201810829667.0A CN201810829667A CN108848311A CN 108848311 A CN108848311 A CN 108848311A CN 201810829667 A CN201810829667 A CN 201810829667A CN 108848311 A CN108848311 A CN 108848311A
Authority
CN
China
Prior art keywords
panoramic photo
portrait area
target
panoramic
angle
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201810829667.0A
Other languages
Chinese (zh)
Inventor
贾伟光
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201810829667.0A priority Critical patent/CN108848311A/en
Publication of CN108848311A publication Critical patent/CN108848311A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/80Camera processing pipelines; Components thereof
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/62Control of parameters via user interfaces
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/698Control of cameras or camera modules for achieving an enlarged field of view, e.g. panoramic image capture

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Studio Devices (AREA)

Abstract

The disclosure is directed to distant view photograph display methods and devices.This method includes:Image recognition is carried out to distant view photograph, determines the target portrait area in distant view photograph;Obtain relative angle of the target portrait area in distant view photograph;According to relative angle of the target portrait area in distant view photograph, the targets preview angle of distant view photograph is determined, wherein image-region corresponding to the targets preview angle of distant view photograph includes target portrait area.The disclosure enables to target portrait area to be within image-region corresponding to the targets preview angle of distant view photograph, to guarantee user in preview distant view photograph it can be seen that the image of user oneself, the preview effect for guaranteeing distant view photograph, can be improved user experience.

Description

Panoramic photo display method and device
Technical Field
The present disclosure relates to the field of image processing technologies, and in particular, to a method and an apparatus for displaying a panoramic photo.
Background
The panoramic camera supports a panoramic photographing function of a 360-degree photographing visual angle, supports photographing of 360-degree panoramic photos/videos, and also supports user self-photographing. A 360 degree panoramic photograph can record all the views around the camera at the moment the camera shutter is pressed.
In the related art, a panoramic camera may be connected to a panoramic camera application (App) installed on a terminal such as a mobile phone or a tablet pc, and a user may remotely control the panoramic camera to shoot or preview a panoramic photo/video in the camera through the App.
Disclosure of Invention
In order to overcome the problems in the related art, embodiments of the present disclosure provide a method and an apparatus for displaying a panoramic photo. The technical scheme is as follows:
according to a first aspect of the embodiments of the present disclosure, there is provided a panoramic photograph display method, including:
carrying out image recognition on the panoramic photo, and determining a target portrait area in the panoramic photo;
acquiring a relative angle of the target portrait area in the panoramic photo;
and determining a target preview angle of the panoramic photo according to the relative angle of the target portrait area in the panoramic photo, wherein an image area corresponding to the target preview angle of the panoramic photo comprises the target portrait area.
In one embodiment, the image recognition of the panoramic photo and the determination of the target portrait area in the panoramic photo comprise:
carrying out image recognition on the panoramic photo to obtain at least one candidate portrait area in the panoramic photo;
obtaining the deflection angle of the face in each candidate portrait area;
and determining the candidate portrait area corresponding to the face with the minimum deflection angle as a target portrait area in the panoramic photo.
In one embodiment, the image recognition of the panoramic photo and the determination of the target portrait area in the panoramic photo comprise:
carrying out image recognition on the panoramic photo to obtain at least one candidate portrait area in the panoramic photo;
acquiring the number of people in each candidate portrait area;
and determining the candidate portrait area with the largest number of people as the target portrait area in the panoramic photo.
In one embodiment, the determining a target preview angle of the panoramic photo according to a relative angle of the target portrait area in the panoramic photo includes:
judging whether an image area corresponding to a preset preview angle of the panoramic photo comprises the target portrait area:
when the image area corresponding to the preset preview angle of the panoramic photo comprises the target portrait area, determining the preset preview angle of the panoramic photo as the target preview angle of the panoramic photo; or,
and when the image area corresponding to the preset preview angle of the panoramic photo does not comprise the target portrait area, determining the relative angle of the target portrait area in the panoramic photo as the target preview angle of the panoramic photo.
In one embodiment, the obtaining the relative angle of the target portrait area in the panoramic photo includes:
acquiring the boundary of the target portrait area;
and determining the relative angle of the target portrait area in the panoramic photo according to the boundary of the target portrait area.
According to a second aspect of the embodiments of the present disclosure, there is provided a panoramic photograph display apparatus including:
the identification module is used for carrying out image identification on the panoramic photo and determining a target portrait area in the panoramic photo;
the acquisition module is used for acquiring the relative angle of the target portrait area in the panoramic photo;
and the determining module is used for determining a target preview angle of the panoramic photo according to the relative angle of the target portrait area in the panoramic photo, wherein the image area corresponding to the target preview angle of the panoramic photo comprises the target portrait area.
In one embodiment, the identification module includes:
the first identification submodule is used for carrying out image identification on the panoramic photo to obtain at least one candidate portrait area in the panoramic photo;
the first acquisition submodule is used for acquiring the deflection angle of the face in each candidate portrait area;
and the first determining submodule is used for determining the candidate portrait area corresponding to the face with the minimum deflection angle as the target portrait area in the panoramic photo.
In one embodiment, the identification module includes:
the second identification submodule is used for carrying out image identification on the panoramic photo to obtain at least one candidate portrait area in the panoramic photo;
the second acquisition submodule is used for acquiring the number of people in each candidate portrait area;
and the second determining submodule is used for determining the candidate portrait area with the largest number of people as the target portrait area in the panoramic photo.
In one embodiment, the determining module includes:
judging whether an image area corresponding to a preset preview angle of the panoramic photo comprises the target portrait area:
when the image area corresponding to the preset preview angle of the panoramic photo comprises the target portrait area, determining the preset preview angle of the panoramic photo as the target preview angle of the panoramic photo; or,
and when the image area corresponding to the preset preview angle of the panoramic photo does not comprise the target portrait area, determining the relative angle of the target portrait area in the panoramic photo as the target preview angle of the panoramic photo.
In one embodiment, the obtaining module includes:
the third acquisition submodule is used for acquiring the boundary of the target portrait area;
and the third determining submodule is used for determining the relative angle of the target portrait area in the panoramic photo according to the boundary of the target portrait area.
According to a third aspect of the embodiments of the present disclosure, there is provided a panoramic photograph display apparatus including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
carrying out image recognition on the panoramic photo, and determining a target portrait area in the panoramic photo;
acquiring a relative angle of the target portrait area in the panoramic photo;
and determining a target preview angle of the panoramic photo according to the relative angle of the target portrait area in the panoramic photo, wherein an image area corresponding to the target preview angle of the panoramic photo comprises the target portrait area.
According to a fourth aspect of embodiments of the present disclosure, there is provided a computer-readable storage medium having stored thereon computer instructions which, when executed by a processor, implement the steps of the method of the first aspect described above.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects: according to the technical scheme, the target portrait area in the panoramic photo is determined through the image recognition technology, the target preview angle of the panoramic photo is determined according to the relative angle of the target portrait area in the panoramic photo, the target portrait area can be located in the image area corresponding to the target preview angle of the panoramic photo, and therefore the user can see the image of the user when previewing the panoramic photo, the preview effect of the panoramic photo is guaranteed, and the user experience can be improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 is a flowchart illustrating a panorama photograph display method according to an exemplary embodiment.
Fig. 2 is a flowchart illustrating a panorama photo display method according to an exemplary embodiment.
Fig. 3 is a block diagram illustrating a panoramic photograph display apparatus according to an exemplary embodiment.
Fig. 4 is a block diagram illustrating a panoramic photograph display apparatus according to an exemplary embodiment.
Fig. 5 is a block diagram illustrating a panoramic photograph display apparatus according to an exemplary embodiment.
Fig. 6 is a block diagram illustrating a panoramic photograph display apparatus according to an exemplary embodiment.
Fig. 7 is a block diagram illustrating a panoramic photograph display apparatus according to an exemplary embodiment.
Fig. 8 is a block diagram illustrating a panorama photo display apparatus according to an exemplary embodiment.
Fig. 9 is a block diagram illustrating a panorama photo display apparatus according to an exemplary embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
In the related art, a panoramic camera supports a panoramic photographing function of a 360-degree photographing angle, a user uses the panoramic camera to photograph panoramic photos/videos of the 360-degree photographing angle, the panoramic camera can be connected with a panoramic camera App installed on a mobile phone or a tablet personal computer or other terminals, and the user can remotely control the panoramic camera to photograph or preview the panoramic photos/videos in the camera through the panoramic camera App. However, in a panoramic photo obtained by a user using a panoramic camera for self-photographing, a human body image only occupies a part of the whole panoramic photo, and when the human body image is out of the default preview angle of the panoramic photo, the user cannot see the image of the user when previewing the panoramic photo, so that the preview effect of the panoramic photo is affected, and the user experience is reduced.
In order to solve the above problem, an embodiment of the present disclosure provides a method for displaying a panoramic photo, where the method includes: carrying out image recognition on the panoramic photo, and determining a target portrait area in the panoramic photo; acquiring a relative angle of a target portrait area in the panoramic photo; and determining a target preview angle of the panoramic photo according to the relative angle of the target portrait area in the panoramic photo, wherein the image area corresponding to the target preview angle of the panoramic photo comprises the target portrait area. According to the panoramic photo display method provided by the embodiment of the disclosure, the target portrait area in the panoramic photo is determined through the image recognition technology, the target preview angle of the panoramic photo is determined according to the relative angle of the target portrait area in the panoramic photo, and the target portrait area can be located in the image area corresponding to the target preview angle of the panoramic photo, so that a user can see the image of the user when previewing the panoramic photo, the preview effect of the panoramic photo is ensured, and the user experience is improved.
Based on the above analysis, the following specific examples are proposed.
Fig. 1 is a flowchart illustrating a method of displaying a panoramic photograph according to an exemplary embodiment. The execution main body of the method can be a terminal, for example, the terminal can be a panoramic camera, a smart phone supporting a panoramic shooting function, a tablet personal computer or wearable equipment and the like; as shown in fig. 1, the method comprises the following steps 101-103:
in step 101, image recognition is performed on the panoramic photo to determine a target portrait area in the panoramic photo.
For example, when a user needs to preview a panoramic photo, image recognition analysis is performed on the panoramic photo to determine a target portrait area in the panoramic photo; the target portrait area in the panoramic photograph refers to a portrait area that can be displayed on the screen at the time of preview of the panoramic photograph.
For example, when two or more portrait areas are included in the panoramic photo, the implementation manner of determining the target portrait area in the panoramic photo at least includes any one of the following manners:
mode 1) carrying out image recognition on the panoramic photo to obtain at least one candidate portrait area in the panoramic photo; respectively obtaining the deflection angle of the face in each candidate portrait area; and determining the candidate portrait area corresponding to the face with the minimum deflection angle as a target portrait area in the panoramic photo. For example, when the panoramic photo needs to be previewed, the panoramic photo is analyzed, and the human body area containing the front face is preferentially determined as the target human image area.
Mode 2) carrying out image recognition on the panoramic photo to obtain at least one candidate portrait area in the panoramic photo; acquiring the number of people in each candidate portrait area; and determining the candidate portrait area with the largest number of people as the target portrait area in the panoramic photo.
In step 102, the relative angle of the target portrait area in the panoramic photo is obtained.
For example, the panoramic camera supports a panoramic photographing function with a 360-degree photographing angle, and a user photographs 360-degree photographs with the panoramic camera to obtain panoramic photographs with the 360-degree photographing angle. The relative angle of the target portrait area in the panoramic photograph refers to the relative angle of the target portrait area in the coordinate system with respect to the panoramic photograph.
For example, the implementation manner of acquiring the relative angle of the target portrait area in the panoramic photo at least includes any one of the following manners:
mode a) acquiring the boundary of the target portrait area; and determining the relative angle of the target portrait area in the panoramic photo according to the boundary of the target portrait area.
Mode b) determining the central point of the target portrait area; acquiring a relative angle of a central point of a target portrait area in the panoramic photo; and determining the relative angle of the target portrait area in the panoramic photo according to the relative angle of the central point of the target portrait area in the panoramic photo.
In step 103, a target preview angle of the panoramic photo is determined according to a relative angle of the target portrait area in the panoramic photo, wherein an image area corresponding to the target preview angle of the panoramic photo includes the target portrait area.
For example, after determining a target portrait area in a panoramic photo and acquiring a relative angle of the target portrait area in the panoramic photo, it is determined whether an image area corresponding to a preset preview angle of the panoramic photo includes the target portrait area: the preset preview angle of the panoramic photo refers to a default preview angle of the panoramic camera when the panoramic photo is previewed.
For example, when an image area corresponding to a preset preview angle of a panoramic photo comprises a target portrait area, determining the preset preview angle of the panoramic photo as a target preview angle of the panoramic photo; or when the image area corresponding to the preset preview angle of the panoramic photo does not include the target portrait area, determining the relative angle of the target portrait area in the panoramic photo as the target preview angle of the panoramic photo. The preset preview angle of the panoramic photo, that is, the default preview angle of the system of the panoramic photo.
For example, when the panoramic photo needs to be previewed, the panoramic photo is analyzed, a human body area containing a front face is preferentially determined as a target portrait area, and a preview angle of the panoramic photo is adjusted from a preset preview angle to a target preview angle including a relative angle of the target portrait area in the panoramic photo.
According to the technical scheme provided by the embodiment of the disclosure, the target portrait area in the panoramic photo is determined through the image recognition technology, the target preview angle of the panoramic photo is determined according to the relative angle of the target portrait area in the panoramic photo, and the target portrait area can be located in the image area corresponding to the target preview angle of the panoramic photo, so that the user can see the image of the user when previewing the panoramic photo, the preview effect of the panoramic photo is ensured, and the user experience can be improved.
Fig. 2 is a flowchart illustrating a method of displaying a panoramic photograph, according to an exemplary embodiment. As shown in fig. 2, based on the embodiment shown in fig. 1, the panoramic photo display method related to the present disclosure may include the following steps 201 to 207:
in step 201, image recognition is performed on the panoramic photo to obtain at least one candidate portrait area in the panoramic photo.
In step 202, the deflection angle of the face in each candidate portrait area is obtained.
In step 203, the candidate portrait area corresponding to the face with the smallest deflection angle is determined as the target portrait area in the panoramic photo.
Optionally, performing image recognition on the panoramic photo to obtain at least one candidate portrait area in the panoramic photo; acquiring the number of people in each candidate portrait area; and determining the candidate portrait area with the largest number of people as the target portrait area in the panoramic photo.
In step 204, the relative angle of the target portrait area in the panoramic photo is obtained.
In step 205, it is determined whether the image area corresponding to the preset preview angle of the panoramic photo includes the target portrait area: when the image area corresponding to the preset preview angle of the panoramic photo comprises the target portrait area, turning to step 206; and when the image area corresponding to the preset preview angle of the panoramic photo does not include the target portrait area, turning to step 207.
In step 206, the preset preview angle of the panoramic photograph is determined as the target preview angle of the panoramic photograph.
In step 207, the relative angle of the target portrait area in the panoramic photograph is determined as the target preview angle of the panoramic photograph.
According to the technical scheme provided by the embodiment of the disclosure, the target portrait area in the panoramic photo is identified, and the target preview angle of the panoramic photo is determined according to the relative angle of the target portrait area in the panoramic photo, so that the target portrait area is positioned in the image area corresponding to the target preview angle of the panoramic photo, the user can see the image of the user when previewing the panoramic photo, the preview effect of the panoramic photo is ensured, and the user experience is improved.
The following are embodiments of the disclosed apparatus that may be used to perform embodiments of the disclosed methods.
FIG. 3 is a block diagram illustrating a panoramic photograph display apparatus, which may be implemented in various ways, such as implementing all of the components of the apparatus in a terminal or implementing the components of the apparatus in a coupled manner on the terminal side, according to an exemplary embodiment; the apparatus may implement the method related to the present disclosure through software, hardware, or a combination of both, as shown in fig. 3, the panoramic photo display apparatus includes: an identification module 301, an acquisition module 302, and a determination module 303, wherein:
the identification module 301 is configured to perform image identification on the panoramic photo, and determine a target portrait area in the panoramic photo;
the obtaining module 302 is configured to obtain a relative angle of the target portrait area in the panoramic photo;
the determining module 303 is configured to determine a target preview angle of the panoramic photo according to a relative angle of the target portrait area in the panoramic photo, where an image area corresponding to the target preview angle of the panoramic photo includes the target portrait area.
The device provided by the embodiment of the disclosure can be used for executing the technical scheme of the embodiment shown in fig. 1, and the execution mode and the beneficial effect are similar, and are not described again here.
In one possible embodiment, as shown in fig. 4, the panoramic photograph display apparatus shown in fig. 3 may further include a recognition module 301 configured to include: a first identification submodule 401, a first obtaining submodule 402 and a first determination submodule 403, wherein:
the first identification submodule 401 is configured to perform image identification on the panoramic photo to obtain at least one candidate portrait area in the panoramic photo;
the first obtaining sub-module 402 is configured to obtain a deflection angle of a face in each candidate portrait area;
the first determining sub-module 403 is configured to determine the candidate portrait area corresponding to the face with the smallest deflection angle as the target portrait area in the panoramic photo.
In one possible embodiment, as shown in fig. 5, the panoramic photograph display apparatus shown in fig. 3 may further include a recognition module 301 configured to include: a second identification submodule 501, a second obtaining submodule 502 and a second determination submodule 503, wherein:
the second recognition submodule 501 is configured to perform image recognition on the panoramic photo to obtain at least one candidate portrait area in the panoramic photo;
the second obtaining sub-module 502 is configured to obtain the number of people in each candidate portrait area;
the second determination submodule 503 is configured to determine the candidate portrait area with the largest number of people as the target portrait area in the panoramic photograph.
In one possible implementation, the determining module 303 is configured to: judging whether an image area corresponding to a preset preview angle of the panoramic photo comprises a target portrait area: when the image area corresponding to the preset preview angle of the panoramic photo comprises a target portrait area, determining the preset preview angle of the panoramic photo as the target preview angle of the panoramic photo; or when the image area corresponding to the preset preview angle of the panoramic photo does not include the target portrait area, determining the relative angle of the target portrait area in the panoramic photo as the target preview angle of the panoramic photo.
In one possible implementation, as shown in fig. 6, the panoramic photograph display apparatus shown in fig. 3 may further include a configuration that the obtaining module 302 includes: a third obtaining sub-module 601 and a third determining sub-module 602, wherein:
the third obtaining sub-module 601 is configured to obtain the boundary of the target portrait area;
the third determining sub-module 602 is configured to determine a relative angle of the target portrait area in the panoramic photograph according to the boundary of the target portrait area.
Fig. 7 is a block diagram illustrating a panorama photograph display apparatus 700 according to an exemplary embodiment, the panorama photograph display apparatus 700 being adapted to a terminal, the panorama photograph display apparatus 700 comprising:
a processor 701;
a memory 702 for storing processor-executable instructions;
wherein the processor 701 is configured to:
carrying out image recognition on the panoramic photo, and determining a target portrait area in the panoramic photo;
acquiring a relative angle of a target portrait area in the panoramic photo;
and determining a target preview angle of the panoramic photo according to the relative angle of the target portrait area in the panoramic photo, wherein the image area corresponding to the target preview angle of the panoramic photo comprises the target portrait area.
In one embodiment, the processor 701 may be further configured to:
carrying out image recognition on the panoramic photo to obtain at least one candidate portrait area in the panoramic photo;
obtaining the deflection angle of the face in each candidate portrait area;
and determining the candidate portrait area corresponding to the face with the minimum deflection angle as a target portrait area in the panoramic photo.
In one embodiment, the processor 701 may be further configured to:
carrying out image recognition on the panoramic photo to obtain at least one candidate portrait area in the panoramic photo;
acquiring the number of people in each candidate portrait area;
and determining the candidate portrait area with the largest number of people as the target portrait area in the panoramic photo.
In one embodiment, the processor 701 may be further configured to:
judging whether an image area corresponding to a preset preview angle of the panoramic photo comprises a target portrait area:
when the image area corresponding to the preset preview angle of the panoramic photo comprises a target portrait area, determining the preset preview angle of the panoramic photo as the target preview angle of the panoramic photo; or,
and when the image area corresponding to the preset preview angle of the panoramic photo does not comprise the target portrait area, determining the relative angle of the target portrait area in the panoramic photo as the target preview angle of the panoramic photo.
In one embodiment, the processor 701 may be further configured to:
acquiring the boundary of a target portrait area;
and determining the relative angle of the target portrait area in the panoramic photo according to the boundary of the target portrait area.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
Fig. 8 is a block diagram illustrating a panoramic photograph display apparatus according to an exemplary embodiment. For example, the panorama photo display apparatus 800 may be a smart phone, a tablet computer, a panorama camera, or the like. Referring to fig. 8, the panorama photo display apparatus 800 may include one or more of the following components: a processing component 802, a memory 804, a power component 806, a multimedia component 808, an audio component 810, an input/output (I/O) interface 812, a sensor component 814, and a communication component 816.
The processing component 802 generally controls overall operations of the panoramic photo display apparatus 800, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing components 802 may include one or more processors 820 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 802 can include one or more modules that facilitate interaction between the processing component 802 and other components. For example, the processing component 802 can include a multimedia module to facilitate interaction between the multimedia component 808 and the processing component 802.
The memory 804 is configured to store various types of data to support operations in the panoramic photo display apparatus 800. Examples of such data include instructions for any application or method operating on the panoramic photo display apparatus 800, contact data, phonebook data, messages, pictures, videos, and the like. The memory 804 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
The power supply component 806 provides power to the various components of the panoramic photo display device 800. The power components 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the panoramic photo display apparatus 800.
The multimedia component 808 includes a screen that provides an output interface between the panoramic photograph display apparatus 800 and the user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front facing camera and/or a rear facing camera. When the panorama photo display apparatus 800 is in an operation mode, such as a photographing mode or a video mode, the front camera and/or the rear camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 810 is configured to output and/or input audio signals. For example, the audio component 810 includes a Microphone (MIC) configured to receive an external audio signal when the panoramic photo display apparatus 800 is in an operation mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 804 or transmitted via the communication component 816. In some embodiments, audio component 810 also includes a speaker for outputting audio signals.
The I/O interface 812 provides an interface between the processing component 802 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 814 includes one or more sensors for providing various aspects of status assessment for the panoramic photo display apparatus 800. For example, sensor assembly 814 may detect an open/closed state of panorama photo display device 800, the relative positioning of components, such as a display and keypad of panorama photo display device 800, sensor assembly 814 may also detect a change in position of panorama photo display device 800 or a component of panorama photo display device 800, the presence or absence of user contact with panorama photo display device 800, orientation or acceleration/deceleration of panorama photo display device 800, and a change in temperature of panorama photo display device 800. Sensor assembly 814 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 816 is configured to facilitate wired or wireless communication between the panoramic photo display apparatus 800 and other devices. The panoramic photo display apparatus 800 may have access to a wireless network based on a communication standard, such as WiFi, 2G/3G/4G/5G, or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, communications component 816 further includes a Near Field Communications (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the panorama photo display apparatus 800 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors, or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer readable storage medium is also provided, such as the memory 804 including instructions executable by the processor 820 of the panoramic photo display apparatus 800 to perform the above-described method. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
Fig. 9 is a block diagram illustrating a panoramic photograph display apparatus according to an exemplary embodiment. For example, the panorama photo display apparatus 900 may be provided as a server. The panoramic photograph display apparatus 900 includes a processing component 902 further comprising one or more processors, and memory resources, represented by memory 903, for storing instructions, such as applications, executable by the processing component 902. The application programs stored in memory 903 may include one or more modules that each correspond to a set of instructions. Further, the processing component 902 is configured to execute instructions to perform the above-described methods.
The panoramic photo display apparatus 900 may also include a power supply component 906 configured to perform power management of the panoramic photo display apparatus 900, a wired or wireless network interface 905 configured to connect the panoramic photo display apparatus 900 to a network, and an input/output (I/O) interface 908. The panoramic photo display device 900 may operate based on an operating system stored in memory 903, such as Windows Server, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, or the like.
A non-transitory computer readable storage medium, instructions in the storage medium, when executed by a processor of a panoramic photo display apparatus 800 or a panoramic photo display apparatus 900, enable the panoramic photo display apparatus 800 or the panoramic photo display apparatus 900 to perform a method of:
carrying out image recognition on the panoramic photo, and determining a target portrait area in the panoramic photo;
acquiring a relative angle of a target portrait area in the panoramic photo;
and determining a target preview angle of the panoramic photo according to the relative angle of the target portrait area in the panoramic photo, wherein the image area corresponding to the target preview angle of the panoramic photo comprises the target portrait area.
In one embodiment, performing image recognition on a panoramic photo and determining a target portrait area in the panoramic photo comprises:
carrying out image recognition on the panoramic photo to obtain at least one candidate portrait area in the panoramic photo;
obtaining the deflection angle of the face in each candidate portrait area;
and determining the candidate portrait area corresponding to the face with the minimum deflection angle as a target portrait area in the panoramic photo.
In one embodiment, performing image recognition on a panoramic photo and determining a target portrait area in the panoramic photo comprises:
carrying out image recognition on the panoramic photo to obtain at least one candidate portrait area in the panoramic photo;
acquiring the number of people in each candidate portrait area;
and determining the candidate portrait area with the largest number of people as the target portrait area in the panoramic photo.
In one embodiment, determining a target preview angle of the panoramic photo according to a relative angle of the target portrait area in the panoramic photo comprises:
judging whether an image area corresponding to a preset preview angle of the panoramic photo comprises a target portrait area:
when the image area corresponding to the preset preview angle of the panoramic photo comprises a target portrait area, determining the preset preview angle of the panoramic photo as the target preview angle of the panoramic photo; or,
and when the image area corresponding to the preset preview angle of the panoramic photo does not comprise the target portrait area, determining the relative angle of the target portrait area in the panoramic photo as the target preview angle of the panoramic photo.
In one embodiment, obtaining the relative angle of the target portrait area in the panoramic photo comprises:
acquiring the boundary of a target portrait area;
and determining the relative angle of the target portrait area in the panoramic photo according to the boundary of the target portrait area.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (12)

1. A method for displaying a panoramic photograph, comprising:
carrying out image recognition on the panoramic photo, and determining a target portrait area in the panoramic photo;
acquiring a relative angle of the target portrait area in the panoramic photo;
and determining a target preview angle of the panoramic photo according to the relative angle of the target portrait area in the panoramic photo, wherein an image area corresponding to the target preview angle of the panoramic photo comprises the target portrait area.
2. The method of claim 1, wherein the image recognition of the panoramic photo and the determination of the target portrait area in the panoramic photo comprises:
carrying out image recognition on the panoramic photo to obtain at least one candidate portrait area in the panoramic photo;
obtaining the deflection angle of the face in each candidate portrait area;
and determining the candidate portrait area corresponding to the face with the minimum deflection angle as a target portrait area in the panoramic photo.
3. The method of claim 1, wherein the image recognition of the panoramic photo and the determination of the target portrait area in the panoramic photo comprises:
carrying out image recognition on the panoramic photo to obtain at least one candidate portrait area in the panoramic photo;
acquiring the number of people in each candidate portrait area;
and determining the candidate portrait area with the largest number of people as the target portrait area in the panoramic photo.
4. The method of claim 1, wherein determining the target preview angle of the panoramic photograph based on the relative angle of the target portrait area in the panoramic photograph comprises:
judging whether an image area corresponding to a preset preview angle of the panoramic photo comprises the target portrait area:
when the image area corresponding to the preset preview angle of the panoramic photo comprises the target portrait area, determining the preset preview angle of the panoramic photo as the target preview angle of the panoramic photo; or,
and when the image area corresponding to the preset preview angle of the panoramic photo does not comprise the target portrait area, determining the relative angle of the target portrait area in the panoramic photo as the target preview angle of the panoramic photo.
5. The method of claim 1, wherein the obtaining the relative angle of the target portrait area in the panoramic photograph comprises:
acquiring the boundary of the target portrait area;
and determining the relative angle of the target portrait area in the panoramic photo according to the boundary of the target portrait area.
6. A panoramic photograph display apparatus, comprising:
the identification module is used for carrying out image identification on the panoramic photo and determining a target portrait area in the panoramic photo;
the acquisition module is used for acquiring the relative angle of the target portrait area in the panoramic photo;
and the determining module is used for determining a target preview angle of the panoramic photo according to the relative angle of the target portrait area in the panoramic photo, wherein the image area corresponding to the target preview angle of the panoramic photo comprises the target portrait area.
7. The apparatus of claim 6, wherein the identification module comprises:
the first identification submodule is used for carrying out image identification on the panoramic photo to obtain at least one candidate portrait area in the panoramic photo;
the first acquisition submodule is used for acquiring the deflection angle of the face in each candidate portrait area;
and the first determining submodule is used for determining the candidate portrait area corresponding to the face with the minimum deflection angle as the target portrait area in the panoramic photo.
8. The apparatus of claim 6, wherein the identification module comprises:
the second identification submodule is used for carrying out image identification on the panoramic photo to obtain at least one candidate portrait area in the panoramic photo;
the second acquisition submodule is used for acquiring the number of people in each candidate portrait area;
and the second determining submodule is used for determining the candidate portrait area with the largest number of people as the target portrait area in the panoramic photo.
9. The apparatus of claim 6, wherein the determining module comprises:
judging whether an image area corresponding to a preset preview angle of the panoramic photo comprises the target portrait area:
when the image area corresponding to the preset preview angle of the panoramic photo comprises the target portrait area, determining the preset preview angle of the panoramic photo as the target preview angle of the panoramic photo; or,
and when the image area corresponding to the preset preview angle of the panoramic photo does not comprise the target portrait area, determining the relative angle of the target portrait area in the panoramic photo as the target preview angle of the panoramic photo.
10. The apparatus of claim 6, wherein the obtaining module comprises:
the third acquisition submodule is used for acquiring the boundary of the target portrait area;
and the third determining submodule is used for determining the relative angle of the target portrait area in the panoramic photo according to the boundary of the target portrait area.
11. A panoramic photograph display apparatus, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
carrying out image recognition on the panoramic photo, and determining a target portrait area in the panoramic photo;
acquiring a relative angle of the target portrait area in the panoramic photo;
and determining a target preview angle of the panoramic photo according to the relative angle of the target portrait area in the panoramic photo, wherein an image area corresponding to the target preview angle of the panoramic photo comprises the target portrait area.
12. A computer-readable storage medium having stored thereon computer instructions, which when executed by a processor, perform the steps of the method of any one of claims 1 to 5.
CN201810829667.0A 2018-07-25 2018-07-25 Distant view photograph display methods and device Pending CN108848311A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810829667.0A CN108848311A (en) 2018-07-25 2018-07-25 Distant view photograph display methods and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810829667.0A CN108848311A (en) 2018-07-25 2018-07-25 Distant view photograph display methods and device

Publications (1)

Publication Number Publication Date
CN108848311A true CN108848311A (en) 2018-11-20

Family

ID=64192315

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810829667.0A Pending CN108848311A (en) 2018-07-25 2018-07-25 Distant view photograph display methods and device

Country Status (1)

Country Link
CN (1) CN108848311A (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101902571A (en) * 2009-05-27 2010-12-01 索尼公司 Image pickup apparatus, electronic device, panoramic image recording method, and program
CN102111672A (en) * 2009-12-29 2011-06-29 康佳集团股份有限公司 Method, system and terminal for viewing panoramic images on digital television
CN104021585A (en) * 2014-06-09 2014-09-03 苏州明日吉辰软件研发有限公司 Three-dimensional exhibition method based on real scene
US20150116542A1 (en) * 2013-10-29 2015-04-30 Samsung Electronics Co., Ltd. Electronic apparatus for making bokeh image and method thereof
CN105208368A (en) * 2015-09-23 2015-12-30 北京奇虎科技有限公司 Method and device for displaying panoramic data
CN106339980A (en) * 2016-08-22 2017-01-18 乐视控股(北京)有限公司 Automobile-based VR display device and method and automobile
CN106445437A (en) * 2016-09-08 2017-02-22 深圳市金立通信设备有限公司 Terminal and view angle switching method thereof
CN107810472A (en) * 2015-06-24 2018-03-16 三星电子株式会社 Electronic installation and the method for the display for controlling panoramic picture
CN107872731A (en) * 2017-11-22 2018-04-03 三星电子(中国)研发中心 Panoramic video player method and device
CN107944424A (en) * 2017-12-08 2018-04-20 广东金杭科技有限公司 Front end human image collecting and Multi-angle human are distributed as comparison method

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101902571A (en) * 2009-05-27 2010-12-01 索尼公司 Image pickup apparatus, electronic device, panoramic image recording method, and program
CN102111672A (en) * 2009-12-29 2011-06-29 康佳集团股份有限公司 Method, system and terminal for viewing panoramic images on digital television
US20150116542A1 (en) * 2013-10-29 2015-04-30 Samsung Electronics Co., Ltd. Electronic apparatus for making bokeh image and method thereof
CN104021585A (en) * 2014-06-09 2014-09-03 苏州明日吉辰软件研发有限公司 Three-dimensional exhibition method based on real scene
CN107810472A (en) * 2015-06-24 2018-03-16 三星电子株式会社 Electronic installation and the method for the display for controlling panoramic picture
CN105208368A (en) * 2015-09-23 2015-12-30 北京奇虎科技有限公司 Method and device for displaying panoramic data
CN106339980A (en) * 2016-08-22 2017-01-18 乐视控股(北京)有限公司 Automobile-based VR display device and method and automobile
CN106445437A (en) * 2016-09-08 2017-02-22 深圳市金立通信设备有限公司 Terminal and view angle switching method thereof
CN107872731A (en) * 2017-11-22 2018-04-03 三星电子(中国)研发中心 Panoramic video player method and device
CN107944424A (en) * 2017-12-08 2018-04-20 广东金杭科技有限公司 Front end human image collecting and Multi-angle human are distributed as comparison method

Similar Documents

Publication Publication Date Title
US9674395B2 (en) Methods and apparatuses for generating photograph
CN108419016B (en) Shooting method and device and terminal
US9661223B2 (en) Method and device for photographing including camera shake
CN106210496B (en) Photo shooting method and device
CN105245775B (en) camera imaging method, mobile terminal and device
EP3179711A2 (en) Method and apparatus for preventing photograph from being shielded
CN105282441B (en) Photographing method and device
CN104216525B (en) Method and device for mode control of camera application
CN111385456A (en) Photographing preview method and device and storage medium
CN111523346A (en) Image recognition method and device, electronic equipment and storage medium
CN111405109A (en) Brightness control method, brightness control device and electronic equipment
CN109255839B (en) Scene adjustment method and device
CN108769513B (en) Camera photographing method and device
CN108366237B (en) Projection image adjusting method and device and computer readable storage medium
CN107948876B (en) Method, device and medium for controlling sound box equipment
EP4040437A1 (en) Method and apparatus for playing an animation, device and storage medium
CN115914721A (en) Live broadcast picture processing method and device, electronic equipment and storage medium
CN113315903B (en) Image acquisition method and device, electronic equipment and storage medium
CN107682623B (en) Photographing method and device
CN107295229B (en) The photographic method and device of mobile terminal
CN108848311A (en) Distant view photograph display methods and device
EP3826282B1 (en) Image capturing method and device
CN112346795B (en) Picture processing method, device and storage medium
CN115733913B (en) Continuous photographing method and device and storage medium
CN109862252B (en) Image shooting method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20181120

RJ01 Rejection of invention patent application after publication