WO2016202288A1 - 一种即时视频的显示方法和电子设备 - Google Patents

一种即时视频的显示方法和电子设备 Download PDF

Info

Publication number
WO2016202288A1
WO2016202288A1 PCT/CN2016/086146 CN2016086146W WO2016202288A1 WO 2016202288 A1 WO2016202288 A1 WO 2016202288A1 CN 2016086146 W CN2016086146 W CN 2016086146W WO 2016202288 A1 WO2016202288 A1 WO 2016202288A1
Authority
WO
WIPO (PCT)
Prior art keywords
display
parameter
instant video
adjusted
video picture
Prior art date
Application number
PCT/CN2016/086146
Other languages
English (en)
French (fr)
Inventor
王磊
Original Assignee
美国掌赢信息科技有限公司
王磊
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 美国掌赢信息科技有限公司, 王磊 filed Critical 美国掌赢信息科技有限公司
Publication of WO2016202288A1 publication Critical patent/WO2016202288A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures

Definitions

  • the present invention relates to the field of video, and in particular, to a method and a device for displaying an instant video.
  • the prior art provides a method for displaying an instant video, which adjusts a face ratio in an instant video by adjusting a face in the live video to a preset ratio of the system.
  • the user may not be able to adjust the face or other part of the instant video to the desired ratio due to the limitation of the number of presets in the system and the adjustment position.
  • the embodiment of the invention provides a method for displaying an instant video and an electronic device.
  • the technical solution is as follows:
  • a method for displaying an instant video comprising:
  • the adjusted instant video screen is displayed.
  • the obtaining, by the user input, the first display parameter and the location parameter include:
  • the first display parameter is used to indicate a display ratio of an instant video picture
  • the position parameter is used to indicate an immediate video picture area to be adjusted.
  • the method further includes:
  • the adjusting the video frame area according to the first display parameter and the location parameter includes:
  • the method further includes:
  • the screen rotates, acquiring a second display parameter, where the second display parameter is used to indicate a display ratio of the instant video screen after the screen is rotated;
  • the displaying the adjusted real-time video image according to the second display parameter includes:
  • the method further includes:
  • an electronic device comprising:
  • An obtaining module configured to acquire first display parameters and position parameters input by the user
  • an adjustment module configured to adjust an immediate video picture area according to the first display parameter and the position parameter, and generate an adjusted instant video picture
  • a display module configured to display the adjusted instant video screen.
  • the acquiring module is specifically configured to:
  • the first display parameter is used to indicate a display ratio of an instant video picture
  • the position parameter is used to indicate an immediate video picture area to be adjusted.
  • the device further includes:
  • a determination module for determining an area of the instant video picture to be adjusted.
  • the adjusting module is specifically configured to:
  • the device further includes:
  • a determining module configured to: when determining that the screen is rotated, acquiring a second display parameter, where the second display parameter is used to indicate a display ratio of the instant video screen after the screen is rotated;
  • the display module is further configured to display the adjusted instant video screen according to the second display parameter.
  • the adjustment module is further configured to adjust the rotated real-time video image area according to the second display parameter, generate an adjusted real-time video image, and trigger the display module to display the adjusted real-time video image.
  • the device further includes:
  • a sending module configured to send the first display parameter and the location parameter to other electronic devices.
  • an electronic device comprising: a video input module, a video output module, a transmitting/receiving module, a memory, and the video input module, the video output module, the transmitting/receiving module, and the A memory-connected processor, wherein the memory stores a set of program code, the processor is configured to invoke program code stored in the memory, and perform the following operations:
  • the adjusted instant video screen is displayed.
  • the program code stored in the memory by the processor is further used to control the video input module to receive the instant video.
  • the processor is configured to invoke program code stored in the memory, and perform the following operations:
  • the first display parameter is used to indicate a display ratio of an instant video picture
  • the position parameter is used to indicate an immediate video picture area to be adjusted.
  • the processor is configured to call the program code stored in the memory, and performs the following operations:
  • the processor is configured to invoke program code stored in the memory, and perform the following operations:
  • the processor is configured to invoke the program code stored in the memory, and perform the following operations:
  • the screen rotates, acquiring a second display parameter, where the second display parameter is used to indicate a display ratio of the instant video screen after the screen is rotated;
  • the processor is configured to invoke the program code stored in the memory, and perform the following operations:
  • the processor is configured to invoke the program code stored in the memory, and perform the following operations:
  • the control transmitting/receiving module transmits the first display parameter and the position parameter to other electronic devices.
  • a method for displaying an instant video comprising:
  • the first display parameter is used to indicate a display ratio of an instant video picture, and the position parameter is used to indicate an immediate video picture area to be adjusted. .
  • an electronic device comprising:
  • a receiving module configured to receive first display parameters and location parameters sent by other electronic devices
  • an adjustment module configured to adjust an immediate video picture area according to the first display parameter and the position parameter, and generate an adjusted instant video picture
  • a display module displaying the adjusted instant video screen
  • the first display parameter is used to indicate a display ratio of an instant video picture
  • the position parameter is used to indicate an immediate video picture area to be adjusted.
  • an electronic device includes: a video input module, a video output module, a transmitting/receiving module, a memory, and the video input module, the video output module, the transmitting/receiving module, and the A memory-connected processor, wherein the memory stores a set of program code, the processor is configured to invoke program code stored in the memory, and perform the following operations:
  • the first display parameter is used to indicate a display ratio of an instant video picture, and the position parameter is used to indicate an immediate video picture area to be adjusted;
  • the processor calls the program code stored in the memory to also control the video input module to receive the live video.
  • the embodiment of the invention provides a method for displaying an instant video picture and an electronic device, comprising: acquiring a first display parameter and a position parameter input by a user; adjusting an instant video picture according to the first display parameter and the position parameter, and generating an adjusted image Instant video screen; displays the adjusted live video screen.
  • the real-time video screen is adjusted in real time according to the first display parameter and the position parameter, thereby realizing the real-time adjustment of the display ratio of the real-time video screen, thereby increasing the display mode and effect of the instant video screen, thereby satisfying the user.
  • the demand improves the user experience; at the same time, according to the first display parameter and the position parameter input by the user, the user can select the instant video picture according to his own needs.
  • Selecting the position to be adjusted realizes the user's adjustment of the display ratio of different positions of the instant video picture, and increases the display mode of the instant video picture, thereby further satisfying the user's demand and improving the user experience; on the other hand, through the instant video Adjusting the real-time video picture in the process, increasing the interactive form of the user in the process of the instant video, further satisfying the user's needs and improving the user experience; in addition, using the method provided by the embodiment of the present invention, the hardware acceleration through the terminal is almost The adjustment of the display ratio of different positions of the instant video picture is realized without affecting the original performance, and the calculation amount of the terminal is saved compared with other methods, and the effect of adjusting the ratio is achieved at the lowest cost, thereby satisfying the user. Demand, improve the user experience.
  • FIG. 1 is a flowchart of a method for displaying an instant video according to an embodiment of the present invention
  • FIG. 2 is a flowchart of a method for displaying an instant video according to an embodiment of the present invention
  • FIG. 3 is a schematic diagram of an interface according to an embodiment of the present invention.
  • FIG. 4 is a schematic diagram of an interface according to an embodiment of the present invention.
  • FIG. 5 is a schematic diagram of an interface according to an embodiment of the present invention.
  • FIG. 6 is a schematic diagram of an interface according to an embodiment of the present invention.
  • FIG. 7 is a schematic diagram of an interface according to an embodiment of the present invention.
  • FIG. 8 is a flowchart of a method for displaying an instant video according to an embodiment of the present invention.
  • FIG. 9 is a flowchart of a method for displaying an instant video according to an embodiment of the present invention.
  • FIG. 10 is a flowchart of a method for displaying an instant video according to an embodiment of the present invention.
  • FIG. 11 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
  • FIG. 12 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
  • FIG. 13 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
  • FIG. 14 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
  • An embodiment of the present invention provides a method for displaying an instant video.
  • the method is applied to an interactive system, where the interactive system includes at least two electronic devices, and the two electronic devices can respectively run the live video stored by themselves.
  • the program performs real-time video interaction, wherein the electronic device may be a smart phone, a tablet computer, or another electronic device, and the specific electronic device is not limited in the embodiment of the present invention. .
  • the at least two electronic devices can be connected through a wireless connection manner such as Bluetooth or Wi-Fi, and can directly perform real-time video interaction, or can be connected through a connection device, where the connection device includes a router, etc.; the at least two electronic devices further Instant video interaction can be done through the server, which can be the server of the application.
  • a wireless connection manner such as Bluetooth or Wi-Fi
  • the connection device includes a router, etc.
  • the at least two electronic devices further Instant video interaction can be done through the server, which can be the server of the application.
  • the method provided by the embodiment of the present invention can also be applied to an interactive system including only an electronic device and a user.
  • the above-mentioned interactive system is merely exemplary, and the embodiment of the present invention may further include other application scenarios, and the specific application scenario is not limited in the embodiment of the present invention.
  • An embodiment of the present invention provides a method for displaying an instant video. Referring to FIG. 1, the method includes:
  • the first display parameter is used to indicate the display ratio of the instant video picture
  • the position parameter is used to indicate the real-time video picture area to be adjusted.
  • the pixel pitch of the instant video picture area is adjusted to generate an adjusted instant video picture.
  • the method further includes:
  • the method further includes:
  • the second display parameter is acquired, and the second display parameter is used to indicate the display ratio of the instant video screen after the screen is rotated.
  • the adjusted instant video screen is displayed according to the second display parameter.
  • the rotated instant video frame area is adjusted, the adjusted instant video picture is generated, and the adjusted instant video picture is displayed.
  • the method further includes:
  • the embodiment of the invention provides a method for displaying an instant video.
  • By adjusting the real-time video image according to the first display parameter and the position parameter real-time adjustment of the display ratio of the real-time video image in the real-time video is realized, and the instant video image is added.
  • the display mode and effect thereby satisfying the user's needs and improving the user experience; at the same time, according to the first display parameter and the position parameter input by the user, the user can select the position to be adjusted in the instant video picture according to his own needs, and realize The user adjusts the display ratio of different positions of the instant video screen, and increases the display mode of the instant video screen, Further satisfying the user's needs and improving the user experience; on the other hand, by adjusting the instant video picture in the process of instant video, the interaction form of the user in the instant video process is increased, further satisfying the user's demand and improving the user experience;
  • the method provided by the embodiment of the present invention enables the hardware acceleration of the terminal to adjust the display ratio of different positions of the instant video picture without affecting the original performance, and saves the terminal calculation compared with other methods. The quantity achieves a better adjustment ratio at the lowest cost, thereby satisfying the user's needs and improving the user experience.
  • the embodiment of the invention provides a method for displaying an instant video.
  • the method includes:
  • the direction of the gesture track input by the user in at least one frame of the video frame is obtained, and the direction of the gesture track includes a left and right direction, an up and down direction, and a diagonal direction.
  • the position of the electronic device in the vertical vertical screen is preset as the initial position, and the polar coordinates are set at the position of the gesture track in the electronic device screen, and the polar coordinates are taken as the origin of the geometric center of the gesture track, the pole
  • the coordinates are shown with reference to a in Fig. 3.
  • the trajectory of the finger in the screen satisfies the first condition, and then the left and right direction is determined, and the first condition is that the angle of the gesture trajectory satisfies the first angle is greater than the second angle, and is less than or equal to the third angle is greater than the fourth angle
  • the first angle may be -3 ⁇ /8
  • the second angle may be -5 ⁇ /8
  • the third angle may be -11 ⁇ /8
  • the fourth angle may be -13 ⁇ /8.
  • the angle in the actual application is taken as an example.
  • the area indicated by the first condition in the polar coordinates is shown by b in FIG. 3 , wherein the dotted line indicates that the range of the first condition does not include the angle at which the dotted line is located;
  • the second condition is that the gesture trajectory angle satisfies the fifth angle being greater than or equal to the sixth angle, and less than or equal to the seventh angle being greater than the eighth angle, in practical applications.
  • the fifth angle may be - ⁇ /8
  • the sixth angle may be -15 ⁇ /8
  • the seventh may be -7 ⁇ /8
  • the eighth angle may be -9 ⁇ /8.
  • the angle in the actual application is taken as an example.
  • the area indicated by the second condition in the polar coordinates is shown by c in FIG. 3, wherein the dotted line indicates the second condition. The range does not include the angle at which the dotted line is located;
  • the trajectory of the finger in the screen satisfies the third condition, and is determined to be a diagonal direction, and the third condition is that the gesture trajectory angle satisfies the ninth angle greater than the tenth angle, and is less than or equal to the eleventh angle is greater than the twelve angle, or satisfies Less than or equal to the thirteenth angle is greater than the fourteenth angle, and less than or equal to the fifteenth angle is greater than the sixteenth angle.
  • the ninth angle may be - ⁇ /8
  • the tenth angle may be -3 ⁇ /8
  • the eleventh angle may be -9 ⁇ /8
  • the twelfth angle may be -11 ⁇ /8
  • the thirteenth angle may be -5 ⁇ /8
  • the fourteenth angle may be -7 ⁇ /8
  • the fifteenth angle may be -13 ⁇ /8
  • the sixteen angles can be -15 ⁇ /8.
  • the angle in the actual application is taken as an example.
  • the area indicated by the third condition in the polar coordinates is shown by d in FIG. 3 , wherein the dotted line indicates that the range of the third condition does not include the angle at which the dotted line is located.
  • the gesture track By acquiring the gesture track input by the user in the process of instant video, since the gesture track can be any position on the video screen, compared with other input methods such as click selection, the flexibility is high, and the user is convenient to operate, thereby further improving the user experience; According to the position of the gesture track, the polar coordinate system is established, which avoids the situation that the polar coordinate system can be established only at one position, and the gesture track of some positions cannot be recognized, so that the position in the polar coordinate system can be satisfied according to the gesture track. Identifying different gesture trajectories further satisfies the user's needs and improves the user experience.
  • the user-entered gesture trajectory is obtained in the instant video, so that the user can input the gesture trajectory to perform real-time video interaction, and the instant video process is added.
  • the interactive form in the form further satisfies the user's needs and improves the user experience.
  • the first display parameter is used to indicate the display ratio of the instant video screen.
  • the process of acquiring the first display parameter input by the user may be:
  • the user After the user triggers the starting point on the display screen, detecting the displacement between the position of the user's finger in the screen and the starting point after at least one frame of the video screen, and determining that the display ratio corresponding to the displacement is input by the user according to the gesture track The first display parameter.
  • the display ratio corresponding to the displacement is obtained according to the correspondence between the displacement and the display ratio.
  • the specific correspondence is not limited in the embodiment of the present invention.
  • the position parameter includes at least the coordinates of the position.
  • the position parameter is used to indicate the area of the instant video picture to be adjusted.
  • the process of acquiring the coordinates of the location may be: acquiring a geometric center of the gesture track, where the coordinates of the geometric center are coordinates of the location.
  • location parameters may also be included, and the specific location parameters are not limited in the embodiment of the present invention.
  • the trajectory shown by the broken line in FIG. 4 is a gesture trajectory input by the user.
  • the geometric center of the gesture trajectory is the midpoint of the dotted line, and the coordinates of the midpoint are the coordinates of the position.
  • the coordinates of the position are obtained, so that the position of the gesture track in the instant video picture can be recognized, and the position of any gesture track in the instant video picture is determined, thereby further satisfying the user requirement. , improved user experience.
  • the method further includes:
  • the area of the instant video picture to be adjusted is determined according to the position coordinates and the gesture track.
  • the embodiment of the present invention does not limit a specific shape, and determines an instant video picture area to be adjusted, and the pre-stored shape includes a circle, an ellipse, a rectangle, a square, a triangle, and the like. for:
  • the area in which the shape is located is the area of the instant video picture to be adjusted.
  • the method according to the embodiment of the present invention will be exemplified below, and if the selected pre-stored shape is a circle, the gesture track is started.
  • the geometric center is the center of the circle, and the length of the starting gesture track is the diameter, and the position of the circle is determined. If the geometric center of the gesture track does not change as the finger slides, the circle is enlarged or reduced according to the length of the gesture track. If the geometric center of the gesture track changes, the geometric center of the gesture track is re-centered, and the length of the gesture track is the diameter to determine the position of the circle.
  • the geometric center of the starting gesture trajectory is the focus of the ellipse
  • the length of the starting gesture trajectory is the long axis of the ellipse
  • the short axis is the default short axis of the system
  • the position of the ellipse if the geometric center of the gesture track does not change with the sliding of the finger, the area of the ellipse is enlarged or reduced according to the length of the gesture track. If the geometric center of the gesture track changes, the geometry of the gesture track is re-created. The center is the focus, and the length of the gesture track is the long axis, which determines the position of the ellipse.
  • the method of determining the area to be adjusted is similar to the above method, and will not be enumerated one by one.
  • the position of the determined shape can be continuously changed according to the change of the position of the gesture trajectory, thereby improving the user experience and satisfying the user's needs.
  • the shape icon can be stretched or compressed to change the size of the instant video frame to be adjusted by selecting the shape icon to the instant video screen to be adjusted, and the selection method can be click, or It may be a drag, and the specific manner is not limited in the embodiment of the present invention; the shape may also be dragged in the instant video picture to change the position of the shape in the instant video picture to determine the real-time video picture area to be adjusted.
  • the area determined by the default shape is the real-time video picture area to be adjusted, and the default shape may be a circle or an ellipse.
  • the shape may also be other shapes, and the specific default shape is not limited in the embodiment of the present invention.
  • the interface map may be referred to a in FIG. 5, and if the trajectory indicated by the broken line in b of FIG. 5 is a gesture trajectory input by the user, the gesture trajectory is used.
  • the coordinates of the geometric center are the coordinates of the position, and the determined real-time video frame area to be adjusted can be referred to as c in FIG. 5, and the shape trajectory is adjusted according to the direction of the two sides indicated by the dotted arrow, if the gesture track is If the geometric center is not changed, the adjusted real-time video frame area can be referred to as d in FIG. 5. If the geometric center of the gesture track changes, the adjusted real-time video frame area can be referred to e in FIG.
  • the pre-stored shape By selecting the pre-stored shape, determining the real-time video picture area to be adjusted according to the position coordinates and the gesture trajectory, so that the acquired area of the instant video picture to be adjusted is more clear, and the display ratio of the selected area according to the user's needs is realized. Adjustments are made to further satisfy the user's needs and improve the user experience; on the other hand, a plurality of different shapes can be stored in advance, so that the user can select a shape that matches the area to be adjusted by the user, so as to facilitate the adjustment.
  • the determination of the instant video picture area increases the interactive and display form of the instant video picture, further improving the user experience and satisfying the user's needs.
  • the instant video picture area to be adjusted may also be determined by a closed curve that the user inputs in real time.
  • the user can directly input the closed sliding track curve through the sliding of the finger to determine the real-time video picture area to be adjusted, and also input the closed sliding track curve through the stroke special effect to determine the real-time video picture area to be adjusted, and also
  • the embodiment of the present invention does not limit the specific manner.
  • the icon shown in a in FIG. 6 is a stroke icon, and the user clicks on the icon
  • the closed curve shown in b in FIG. 6 may be a closed curve that the user inputs through the stroke on the instant video, and the closed curve
  • the area is the area of the instant video picture that you want to adjust.
  • the closed video curve of the user's finger input or the stroke effect input is determined by the closed curve of the special effect input, so that the manner of determining the real-time video picture area to be adjusted is more flexible, and the instant is increased.
  • the display of the video screen is formed to further meet the user's needs and improve the user experience.
  • the method further includes
  • the feature parameter of the real-time video picture area to be adjusted is obtained, and the area is determined in the next frame of the real-time video picture by using the feature parameter.
  • the specific manner of the embodiment of the present invention is not limited.
  • the instant video picture area is determined in the next frame picture, thereby realizing the situation that the determined area changes due to the movement of the face position during the instant video process.
  • the tracking and positioning of the determined instant video images is realized, which further satisfies the user requirements and improves the user experience.
  • step 203 and the step 202 may be performed first, or the steps 202 and 203 may be performed at the same time.
  • a process of acquiring a first display parameter triggered by the user and a position parameter triggering the first display parameter may also include other manners, which are specific to the embodiment of the present invention. Not limited.
  • the user can select the position to be adjusted in the instant video picture according to the needs of the user, thereby realizing the user's adjustment of the display ratio of different positions of the instant video picture, and adding the instant video picture.
  • the display mode further satisfies the user's needs and improves the user experience; on the other hand, by adjusting the instant video picture in the process of instant video, the interactive form of the user in the instant video process is increased, further satisfying the user's demand and improving The user experience.
  • adjusting the pixel pitch of the instant video picture area includes: pixel pitch stretching and pixel pitch compression, and the direction of stretching includes a left-right direction, an up-down direction, and a diagonal direction, and a direction when compressing The left and right direction, the up and down direction, and the diagonal direction are included, wherein if the gesture track is generated by the user's finger sliding from the middle to the side, the direction of the gesture track is when stretching Direction, if the gesture track is generated by the user's finger sliding from the two sides to the middle, the direction of the gesture track is the direction of compression.
  • an example of adjusting a pixel pitch of an area in an ith frame video picture to an i+1th frame video picture is illustrated as an example:
  • the left-right pixel spacing in the area to be adjusted of the i+1 frame instant video picture is adjusted to be the fifth value
  • the upper and lower pixel spacing is the sixth value
  • the i+1th frame is adjusted.
  • the left and right pixel spacing outside the area to be adjusted in the instant video picture is the seventh value
  • the upper and lower pixel spacing is the eighth value.
  • the fifth value corresponds to the seventh value, the sixth value and the eighth value, and the specific correspondence is not limited. ;
  • the area corresponding to the fifth value corresponds to the area corresponding to the seventh value
  • the area corresponding to the sixth value corresponds to the area corresponding to the eighth value
  • the left and right pixel pitches in the region of the ith frame video frame are the first value, and the upper and lower pixel pitches are the second values.
  • the left and right pixel pitches outside the region of the ith frame video frame are the third value, and the upper and lower pixel pitches are the fourth value. ;
  • the area corresponding to the first value corresponds to the area corresponding to the third value
  • the area corresponding to the second value corresponds to the area corresponding to the fourth value
  • the fifth value is greater than the first value, and the sixth value is greater than the second value, correspondingly, when the seventh value is less than the third value and the eighth value is less than the fourth value, the area to be adjusted of the video frame of the (i+1)th frame is increased.
  • the pixel pitch within the area is reduced, and the pixel pitch outside the area to be adjusted is reduced, and the pixel pitch in the area of the i+1th frame video picture is increased, and the pixel pitch outside the area is reduced;
  • the fifth value is smaller than the first value, and the sixth value is smaller than the second value, correspondingly, when the seventh value is greater than the third value and the eighth value is greater than the fourth value, the area to be adjusted of the video frame of the (i+1)th frame is reduced.
  • the pixel pitch within the pixel increases the pixel pitch outside the area to be adjusted, and the pixel pitch in the area of the i+1th frame video picture can be reduced, and the pixel pitch outside the area is increased.
  • the method of adjusting the pixel pitch of the area to be adjusted in the instant video picture is the same as the method of adjusting the track direction in the left and right direction.
  • the pixel spacing in the area to be adjusted of the i+1 frame instant video picture is adjusted to be the eleventh value, and the i+1 frame instant video picture is adjusted outside the adjustment area.
  • the pixel pitch is the twelfth value, the eleventh value corresponds to the twelfth value, and the specific correspondence between the eleventh value and the twelfth value is not limited;
  • the pixel pitch in the area to be adjusted of the video frame of the i+1th frame is increased, and the pixels outside the area to be adjusted are reduced.
  • the pitch can be increased, and the pixel pitch in the area of the i+1th frame video frame is increased, and the pixel pitch outside the area is reduced;
  • the pixel pitch in the area to be adjusted of the i+1th frame video picture is reduced, and the pixels outside the area to be adjusted are increased.
  • the pitch the pixel pitch in the area of the i+1th frame video picture can be reduced, and the pixel pitch outside the area is increased.
  • the screen of the electronic device is in the vertical direction
  • the area of the instant video picture to be adjusted is the area shown by a in FIG. 7
  • the pixels in the area are pixels.
  • the pitch is stretched, and the stretching direction can be referred to the arrow direction of b in FIG. 7,
  • the left and right arrows indicate stretching in the left and right direction
  • the up and down arrows indicate the upward and downward method stretching, wherein the arrow length in the left and right direction is longer than the arrow in the up and down direction.
  • the length is long, indicating that the stretching in the left and right direction is greater than the stretching in the left and right direction; if the region is compressed in the left and right direction, the compression direction can be referred to the direction of the arrow in c in Fig. 7, and the left and right arrows indicate compression in the left and right direction, up and down
  • the arrow indicates the upward and downward method compression, wherein the length of the arrow in the left and right direction is longer than the length of the arrow in the up and down direction, indicating that the compression in the left and right direction is greater than the compression in the up and down direction.
  • the stretching and compression of the pixel pitch of the area to be adjusted of the instant video picture can be realized, but also the stretching of the pixel pitch of the area to be adjusted of the instant video picture can be realized.
  • compression it is also possible to realize the concentric circular stretching and compression of the pixel pitch of the area to be adjusted in the real-time video picture through the diagonal direction, thereby realizing the real-time video picture by adjusting the pixel pitch of the instant video picture.
  • the adjustment of the display ratio increases the display form of the instant video, so that the user can adjust the display ratio of the instant video screen according to his own needs, thereby further satisfying the user's demand and improving the user experience.
  • the method for displaying the instant video in this embodiment further includes:
  • the adjusted instant video picture is processed.
  • the adjusted real-time video image may be subjected to blur processing, and the blur processing may be implemented by a Gaussian blur algorithm.
  • the display effect of the video picture being stretched or compressed can be increased, especially when the pixel resolution is relatively low, and the stretched or compressed instant video is blurred. It can improve the quality of video images, which further enhances the user experience and meets user needs.
  • the embodiment of the present invention does not limit the specific manner of displaying the adjusted instant video picture.
  • the display form of the instant video screen is increased, so that the user can adjust the display ratio of different areas of the instant video screen according to his own needs, further satisfying the user's demand and improving the user experience.
  • the display method of the instant video in this embodiment may further include:
  • step 206 Determine whether the screen rotates. If yes, perform steps subsequent to steps 207 and 207; if not, proceed to step 206.
  • the position angle at which the screen is initially located is preset to 0°, and the screen is determined by the first preset formula. At the current angle of the screen, if the current angle is not 0 compared to the initial angle, it is determined that the screen has rotated.
  • the first preset formula can be:
  • rotation represents the off-angle during the rotation of the electronic device
  • G x represents the component of the gravity acceleration in the horizontal direction of the electronic device
  • G y represents the component of the gravity acceleration in the vertical direction of the electronic device.
  • G x and G y can be respectively acquired by the electronic device's own gravity accelerator, and the gravity accelerator obtains the gravity acceleration value of each direction of the electronic device in real time.
  • the gravity acceleration value of each direction of the electronic device is obtained by the gravity accelerator in real time, which saves the calculation amount of the terminal compared with other methods, and achieves a better adjustment ratio at the lowest cost, because the use of the method does not affect the use of the terminal hardware. Thereby meeting the user's needs and improving the user experience.
  • the angle of the screen rotation is obtained according to the calculation result of the first preset formula.
  • the range of rotation angle is:
  • the initial position of the electronic device screen is taken as an example, that is, 0° at this time. If the position is rotated to the right position, that is, the -90° position, the rotation range of the angle is:
  • the standard position can be defined by other means, and the rotation angle can be obtained.
  • the specific embodiment of the present invention does not limit the specific manner.
  • the second display parameter is used to indicate the display ratio of the instant video screen after the screen is rotated.
  • the second display parameter is calculated by using the second preset formula, and the second preset formula may be:
  • rate represents the second display parameter and R max represents the first display parameter
  • R min 1/R max
  • R range R max -R min
  • the corresponding second display parameter when the screen has different rotation angles can be obtained.
  • the corresponding second display parameter is:
  • Rate R max +R range *rotation/( ⁇ /2), - ⁇ /2 ⁇ rotation ⁇ 0;
  • the corresponding second display parameter is:
  • Rate R max -R range *( ⁇ +rotation)/( ⁇ /2), - ⁇ rotation ⁇ - ⁇ /2;
  • the corresponding second display parameter is:
  • Rate R min +R range *(( ⁇ /2)*3+rotation)/( ⁇ /2),-3* ⁇ /2 ⁇ rotation ⁇ - ⁇ ;
  • Rate R max -R range *(( ⁇ /2)+rotation)/( ⁇ /2), -2 ⁇ rotation ⁇ -3* ⁇ /2.
  • the second display parameter may be determined by other means, and the specific manner of the embodiment of the present invention is not limited.
  • the second display parameter is obtained according to the first display parameter and the rotation angle, so that when the screen rotates, the display ratio of the instant video screen can be adjusted to meet the user's needs and improve the user experience.
  • steps 206 to 208 are processes for acquiring the second display parameter if the screen is rotated.
  • the process may be implemented in other manners. The method is not limited.
  • the display ratio of the video screen is determined according to the acquired angle, thereby realizing that the user can adjust the screen display ratio when the screen rotates, thereby further satisfying the user's demand and improving the user experience.
  • step 204 is the same as step 204, and details are not described herein again.
  • the pixel pitch of the instant video picture can be adjusted, thereby adjusting the display ratio of the instant video picture by adjusting the pixel pitch of the instant video picture, and adding the instant video.
  • the display form allows the user to adjust the display ratio of the instant video screen according to his own needs, thereby further satisfying the user's needs and improving the user experience.
  • the specific display manner is not limited in the embodiment of the present invention.
  • step 208 to step 2010, the rotation occurs according to the second display parameter.
  • the process of generating the adjusted instant video picture and displaying the adjusted instant video picture in addition to the manner described in the above steps, the process may be implemented in other manners, which is in the embodiment of the present invention. The specific method is not limited.
  • the display form of the instant video screen is increased, so that the user can adjust the display ratio of the instant video screen when the screen rotates, further satisfying the user's demand and improving the user experience.
  • the method for displaying the instant video in this embodiment may further include step 2011.
  • the electronic device sends the first display parameter and the location parameter to other electronic devices that perform instant video interaction with the electronic device through its own sending/receiving module, and may also send an instruction including the first display parameter and the position parameter to The electronic device performs other electronic devices for instant video interaction.
  • the electronic device can also be forwarded through the server.
  • the specific sending manner is not limited in the embodiment of the present invention.
  • the other electronic device can adjust the display ratio of the instant video picture according to the first display parameter, so that the instant video displayed by the electronic device with which the instant video communication is performed
  • the proportion of the screen is the same, which satisfies the user's adjustment of the display scale of some parts of the face or the face of the user, and can display the ratio on the electronic device interacting with the user, further satisfying the user's needs. Improve the user experience.
  • the embodiment of the invention provides a method for displaying an instant video.
  • By adjusting the real-time video image according to the first display parameter and the position parameter real-time adjustment of the display ratio of the real-time video image in the real-time video is realized, and the instant video image is added.
  • the display mode and effect thereby satisfying the user's needs and improving the user experience; at the same time, according to the first display parameter and the position parameter input by the user, the user can select the position to be adjusted in the instant video picture according to his own needs, and realize The user adjusts the display ratio of different positions of the instant video screen, and increases the display mode of the instant video screen, thereby further satisfying the user's demand and improving the user experience; on the other hand, by adjusting the instant video picture in the process of instant video, Increased user interaction in the live video process to further meet The user experience is used to improve the user experience.
  • the method provided by the embodiment of the present invention enables the hardware display acceleration of the terminal to adjust the display ratio of different positions of the instant video image without affecting the original performance. Compared with other methods, the terminal calculation amount is saved, and the effect of adjusting the ratio is achieved at the lowest cost, thereby satisfying the user's demand and improving the user experience.
  • An embodiment of the present invention provides a method for displaying an instant video. Referring to FIG. 9, the method includes:
  • the first display parameter is used to indicate the display ratio of the instant video picture
  • the position parameter is used to indicate the real-time video picture area to be adjusted.
  • An embodiment of the present invention provides a method for displaying an instant video, by receiving a first display parameter and a position parameter sent by another electronic device, because the first display parameter is used to adjust a display ratio of the instant video picture, the electronic device receives the The ratio indicated by the first display parameter adjusts the display ratio of the instant video picture, so that the proportion of a certain area of the instant video picture is adjusted on the electronic device at the receiving end, so that the instant video picture can be based on the users of other electronic devices.
  • the proportion of demand is adjusted to meet the needs of users and improve the user experience; on the other hand, according to the adjusted display ratio, the adjusted instant video screen is displayed, and the display form of the instant video screen is increased, thereby satisfying the user demand and improving
  • the screen is rotated from the vertical screen to the horizontal screen, the instant video image is compressed, resulting in an imbalance of the display content in the instant video, which reduces the user experience.
  • the electronic device acquires the second display parameter, because the second display is used to adjust the display ratio of the instant video screen after the rotation of the screen, so according to the second display parameter, the display ratio of the instant video screen can be adjusted, so that when When the screen rotates, the display of the instant video screen is more in line with the user's needs, which improves the user experience.
  • the device automatically determines whether the screen is rotated or not, the operation step is simplified.
  • the method provided by the embodiment of the present invention is more intelligent, and satisfies the requirement that the user adjusts the display ratio of the face in the instant video, and at the same time, displays the live video according to the second display parameter when the screen rotates.
  • the picture makes the display of the instant video picture not due to the rotation of the screen, and the proportion of the imbalance occurs, which improves the user experience and satisfies the user's needs.
  • the method provided by the embodiment of the present invention enables the high-efficiency thin face and fat face function to be realized by the hardware acceleration of the terminal without affecting the original performance, and the terminal calculation amount is saved compared with other methods.
  • the cost achieves a better adjustment ratio, because the use of this method does not affect the use of the terminal hardware, thus meeting the user's needs and improving the user experience.
  • a method for displaying an instant video includes:
  • the embodiment of the present invention does not limit the specific manner of receiving the first display parameter and the location parameter sent by other electronic devices.
  • the proportion of the instant video screen displayed by the electronic device is the same, which satisfies the adjustment of the display ratio of the user's face or a certain part of the face, and the demand displayed on the electronic device interacting with the same is further Meet the needs of users and improve the user experience.
  • the method for displaying the instant video in this embodiment further includes:
  • the step is the same as the step of determining the real-time video picture area to be adjusted in the second embodiment, and details are not described herein again.
  • the pre-stored shape By selecting the pre-stored shape, determining the real-time video picture area to be adjusted according to the position coordinates and the gesture trajectory, so that the acquired area of the instant video picture to be adjusted is more clear, and the display ratio of the selected area according to the user's needs is realized. Adjusted to further satisfy the user The demand improves the user experience; on the other hand, a plurality of different shapes can be pre-stored, so that the user can select a shape that matches the area to be adjusted by the user, so as to facilitate the determination of the real-time video picture area to be adjusted, and increase
  • the interactive and instant video display format further enhances the user experience and meets user needs.
  • the closed video of the user's finger input or the stroke effect input determines the area of the instant video picture to be adjusted, so that the manner of determining the real-time video picture area to be adjusted is more flexible, and the display of the picture of the instant video is increased, further satisfying the user's needs. Improve the user experience.
  • the method further includes
  • the feature parameter of the real-time video picture area to be adjusted is obtained, and the area is determined in the next frame of the real-time video picture by using the feature parameter.
  • the specific manner of the embodiment of the present invention is not limited.
  • the instant video picture area is determined in the next frame picture, thereby realizing the situation that the determined area changes due to the movement of the face position during the instant video process.
  • the tracking and positioning of the determined instant video images is realized, which further satisfies the user requirements and improves the user experience.
  • step 204 in the second embodiment is the same as step 204 in the second embodiment, and details are not described herein again.
  • step 1002 is to implement the process of adjusting the real-time video picture according to the first display parameter.
  • the process may be implemented in other manners, and the specific manner of the embodiment of the present invention is not limited.
  • the stretching and compression of the pixel pitch of the area to be adjusted of the instant video picture can be realized, but also the stretching of the pixel pitch of the area to be adjusted of the instant video picture can be realized.
  • compression it is also possible to realize the concentric circular stretching and compression of the pixel pitch of the area to be adjusted in the real-time video picture through the diagonal direction, thereby realizing the real-time video picture by adjusting the pixel pitch of the instant video picture.
  • the adjustment of the display ratio increases the display form of the instant video, thereby further satisfying the user's needs and improving the user experience.
  • the method for displaying the instant video in this embodiment further includes:
  • the adjusted instant video picture is processed.
  • the step is the same as the step of processing the adjusted instant video picture in the second embodiment, and details are not described herein again.
  • the display effect of the video picture being stretched or compressed can be increased, especially when the pixel resolution is relatively low, and the stretched or compressed instant video is blurred. It can improve the quality of the video picture, which further enhances the user experience.
  • step 205 is the same as step 205 in the second embodiment, and details are not described herein again.
  • the display form of the instant video picture is increased, so that the user can adjust the display ratio of different areas of the instant video picture according to his own needs, and then interact with the electronic device.
  • the need for display on the display meets the needs of further users and improves the user experience.
  • the method further includes:
  • the electronic device determines whether the rotation occurs by itself. If yes, the steps of steps 1005 and 1005 are performed; if not, the execution of 1004 is continued.
  • step 206 is the same as step 206 in the second embodiment, and details are not described herein again.
  • the gravity acceleration value of each direction of the electronic device is obtained by the gravity accelerator, which saves the calculation amount of the terminal compared with other methods, and achieves a better adjustment ratio at the lowest cost, because the use of the method does not affect the use of the terminal hardware, thereby Meet the needs of users and improve the user experience.
  • step 207 is the same as step 207 in the second embodiment, and details are not described herein again.
  • the first display parameter sent according to the received other electronic device and the screen of the electronic device itself The angle of the curtain rotation calculates the second display parameter.
  • step 208 is the same as step 208 in the second embodiment, and details are not described herein again.
  • step is the same as step 209 in the second embodiment, and details are not described herein again.
  • the pixel pitch of the instant video picture can be adjusted, thereby adjusting the display ratio of the instant video picture by adjusting the pixel pitch of the instant video picture, and adding the instant video.
  • the display form enables the electronic device user to adjust the display ratio of the instant video screen, thereby further satisfying the user's needs and improving the user experience.
  • step 2010 is the same as step 2010 in the second embodiment, and details are not described herein again.
  • step 1007 to step 1008 the process of adjusting the instantaneous video frame area after the rotation is generated according to the second display parameter, generating the adjusted instant video screen, and displaying the adjusted instant video screen, in addition to the above steps
  • the process may be implemented in other manners, and the specific embodiments of the present invention are not limited.
  • the display form of the instant video screen is increased, so that the user can adjust the display ratio of the instant video screen when the screen rotates, further satisfying the user's demand and improving the user experience.
  • An embodiment of the present invention provides a method for displaying an instant video, by receiving a first display parameter and a position parameter sent by another electronic device, because the first display parameter is used to adjust a display ratio of the instant video picture, the electronic device receives the The ratio indicated by the first display parameter adjusts the display ratio of the instant video picture, so that the proportion of a certain area of the instant video picture is adjusted on the electronic device at the receiving end, so that the instant video picture can be based on the users of other electronic devices.
  • Ratio of demand The example is adjusted to meet the user's needs and improve the user experience.
  • the adjusted instant video screen is displayed, and the display form of the instant video screen is added, thereby satisfying the user's demand and improving the user.
  • the electronic device acquires the second display parameter, because the second display is used to adjust the display ratio of the instant video screen after the rotation of the screen, so according to the second display parameter, Adjusting the display ratio of the instant video screen, so that when the screen rotates, the display of the instant video screen is more in line with the user's needs, and the user experience is improved.
  • the device automatically determines whether the screen rotates, the operation steps are simplified, so that the present invention is implemented.
  • the method provided by the example is more intelligent and satisfies the user's The need to adjust the scale of the face of the video in the video, and at the same time, when the screen is rotated, the instant video picture is displayed according to the second display parameter, so that the display of the instant video picture does not occur due to the rotation of the screen, and the proportional misalignment occurs.
  • the situation has improved the user experience and met the needs of users.
  • the method provided by the embodiment of the present invention enables the high-efficiency thin face and fat face function to be realized by the hardware acceleration of the terminal without affecting the original performance, and the terminal calculation amount is saved compared with other methods.
  • the cost achieves a better adjustment ratio, because the use of this method does not affect the use of the terminal hardware, thus meeting the user's needs and improving the user experience.
  • An embodiment of the present invention provides an electronic device 11. Referring to FIG. 11, the electronic device 11 includes:
  • the obtaining module 1101 is configured to acquire first display parameters and position parameters input by the user;
  • the adjusting module 1102 is configured to adjust an instant video picture area according to the first display parameter and the position parameter, and generate an adjusted instant video picture;
  • the display module 1103 is configured to display the adjusted instant video screen.
  • the obtaining module 1101 is specifically configured to:
  • the first display parameter is used to indicate the display ratio of the instant video picture
  • the position parameter is used to indicate the real-time video picture area to be adjusted.
  • the device further includes:
  • a determination module for determining an area of the instant video picture to be adjusted.
  • the adjustment module 1102 is specifically configured to:
  • the device further includes:
  • a determining module configured to: when determining that the screen is rotated, acquiring a second display parameter, where the second display parameter is used to indicate a display ratio of the instant video screen after the screen is rotated;
  • the display module 1103 is further configured to display the adjusted instant video screen according to the second display parameter.
  • the adjustment module 1102 is further configured to adjust the instantaneous video frame area after the rotation according to the second display parameter, generate the adjusted instant video picture, and trigger the display module 1103 to display the adjusted instant video picture.
  • the device further includes:
  • the sending module is configured to send the first display parameter and the location parameter to other electronic devices.
  • the embodiment of the invention provides an electronic device, which adjusts the real-time video screen according to the first display parameter and the position parameter, thereby realizing real-time adjustment of the display ratio of the real-time video image in the real-time video, and adding an instant video image.
  • the display mode and effect thereby satisfying the user's needs and improving the user experience; at the same time, according to the first display parameter and the position parameter input by the user, the user can select the position to be adjusted in the instant video picture according to his own needs, and realize The user adjusts the display ratio of different positions of the instant video screen, and increases the display mode of the instant video screen, thereby further satisfying the user's demand and improving the user experience; on the other hand, through the instant video process Adjusting the real-time video screen, which increases the interaction form of the user in the process of the instant video, further satisfies the user's needs and improves the user experience; in addition, using the method provided by the embodiment of the present invention, the hardware acceleration through the terminal is hardly In the case of affecting the original performance
  • the electronic device 12 includes a video input module 1201, a video output module 1202, a transmitting/receiving module 1203, a memory 1204, and a video input module 1201 and a video output module. 1202.
  • the processor 1205 is connected to the sending/receiving module 1203 and the memory 1204.
  • the memory 1024 stores a set of program codes, and the processor 1205 is configured to call the program code stored in the memory 1204 to perform the following operations:
  • the adjusted live video screen is displayed.
  • the program code stored in the memory 1204 is also used by the processor 1205 to control the video input module 1201 to receive the instant video.
  • the processor 1205 is configured to invoke the program code stored in the memory 1204, and perform the following operations:
  • the first display parameter is used to indicate the display ratio of the instant video picture
  • the position parameter is used to indicate the real-time video picture area to be adjusted.
  • the processor 1205 is configured to invoke the program code stored in the memory 1204, and execute the following operating:
  • the processor 1205 is configured to invoke the program code stored in the memory 1204, and perform the following operations:
  • the processor 1205 is configured to invoke the program code stored in the memory 1204, and perform the following operations:
  • the screen rotates, acquiring a second display parameter, where the second display parameter is used to indicate a display ratio of the instant video screen after the screen is rotated;
  • control video output module 1202 displays the adjusted instant video picture.
  • the processor 1205 is configured to invoke the program code stored in the memory 1204, and perform the following operations:
  • the processor 1205 is configured to invoke the program code stored in the memory 1204, and perform the following operations:
  • the control transmission/reception module 1203 transmits the location parameter of the first display parameter to other electronic devices.
  • the video input module includes a camera
  • the video output module includes a display
  • the embodiment of the invention provides an electronic device, which adjusts the real-time video screen according to the first display parameter and the position parameter, thereby realizing real-time adjustment of the display ratio of the real-time video image in the real-time video, and adding an instant video image.
  • the display mode and effect thereby satisfying the user's needs and improving the user experience; at the same time, according to the first display parameter and the position parameter input by the user, the user can select the position to be adjusted in the instant video picture according to his own needs, and realize The user adjusts the display ratio of different positions of the instant video screen, and increases the display mode of the instant video screen, thereby further satisfying the user's demand and improving the user experience; on the other hand, through the instant video process Adjusting the real-time video screen, which increases the interaction form of the user in the process of the instant video, further satisfies the user's needs and improves the user experience; in addition, using the method provided by the embodiment of the present invention, the hardware acceleration through the terminal is hardly In the case of affecting the original performance
  • An embodiment of the present invention provides an electronic device 13. Referring to FIG. 13, the electronic device 13 includes:
  • the receiving module 1301 is configured to receive first display parameters and location parameters sent by other electronic devices;
  • the adjusting module 1302 is configured to adjust an instant video picture area according to the first display parameter and the position parameter, and generate an adjusted instant video picture;
  • a display module 1303, configured to display the adjusted instant video screen
  • the first display parameter is used to indicate the display ratio of the instant video picture
  • the position parameter is used to indicate the real-time video picture area to be adjusted.
  • An embodiment of the present invention provides an electronic device that receives a first display parameter and a location parameter sent by another electronic device, because the first display parameter is used to adjust a display ratio of the instant video frame, so the electronic device receives the The ratio indicated by the first display parameter adjusts the display ratio of the instant video picture, so that the proportion of a certain area of the instant video picture is adjusted on the electronic device at the receiving end, so that the instant video picture can be based on the users of other electronic devices.
  • the proportion of demand is adjusted to meet the needs of users and improve the user experience; on the other hand, according to the adjusted display ratio, the adjusted instant video screen is displayed, and the display form of the instant video screen is increased, thereby satisfying the user demand and improving
  • the screen is rotated from the vertical screen to the horizontal screen, the instant video image is compressed, resulting in an imbalance of the display content in the instant video, which reduces the user experience.
  • the electronic device acquires the second display parameter, as a second display screen for the rotational adjustment occurs
  • the display ratio of the instant video screen so according to the second display parameter, the display ratio of the instant video screen can be adjusted, so that when the screen rotates, the display of the instant video screen is more in line with the user's needs, and the user experience is improved, and at the same time, because the device automatically Determining whether the screen is rotated or not, simplifies the operation steps, so that the method provided by the embodiment of the present invention is more intelligent, and satisfies the requirement for the user to adjust the display ratio of the face in the instant video, and at the same time, when the screen rotates
  • the instant video picture is displayed according to the second display parameter, so that the display of the instant video picture does not occur due to the rotation of the screen, and the proportion of the imbalance occurs, thereby improving the user experience and satisfying the user's needs.
  • the method provided by the embodiment of the present invention enables the high-efficiency thin face and fat face function to be realized by the hardware acceleration of the terminal without affecting the original performance, and the terminal calculation amount is saved compared with other methods.
  • the cost achieves a better adjustment ratio, because the use of this method does not affect the use of the terminal hardware, thus meeting the user's needs and improving the user experience.
  • the electronic device 14 includes a video input module 1401, a video output module 1402, a transmitting/receiving module 1403, a memory 1404, and a video input module 1401.
  • the control sending/receiving module 1403 receives the first display parameter and the position parameter sent by the other electronic device
  • Control video output module 1402 displays the adjusted instant video picture
  • the first display parameter is used to indicate a display ratio of the instant video picture, and the position parameter is used to indicate an immediate video picture area to be adjusted;
  • the program code stored in the memory 1404 is also used by the processor 1405 to control the video input module 1401 to receive the live video.
  • the video input module includes a camera
  • the video output module includes a display
  • An embodiment of the present invention provides an electronic device that receives a first display parameter and a location parameter sent by another electronic device, because the first display parameter is used to adjust a display ratio of the instant video frame, so the electronic device receives the The ratio indicated by the first display parameter adjusts the display ratio of the instant video picture, so that the proportion of a certain area of the instant video picture is adjusted on the electronic device at the receiving end, so that the instant video picture can be based on the users of other electronic devices.
  • the proportion of demand is adjusted to meet the needs of users and improve the user experience; on the other hand, according to the adjusted display ratio, the adjusted instant video screen is displayed, and the display form of the instant video screen is increased, thereby satisfying the user demand and improving
  • the screen is rotated from the vertical screen to the horizontal screen, the instant video image is compressed, resulting in an imbalance of the display content in the instant video, which reduces the user experience.
  • the electronic device acquires the second display parameter, because the second display is used to adjust the display ratio of the instant video screen after the rotation of the screen, so according to the second display parameter, the display ratio of the instant video screen can be adjusted, so that when When the screen rotates, the display of the real-time video screen is more in line with the user's needs, and the user experience is improved.
  • the device automatically determines whether the screen is rotated or not, the operation steps are simplified, so that the method provided by the embodiment of the present invention is more intelligent and satisfies
  • the user needs to adjust the aspect ratio of the face in the instant video, and at the same time, when the screen rotates, the instant video picture is displayed according to the second display parameter, so that the display of the instant video picture does not occur due to the screen rotation.
  • the imbalanced situation improves the user experience and meets user needs.
  • the method provided by the embodiment of the present invention enables the high-efficiency thin face and fat face function to be realized by the hardware acceleration of the terminal without affecting the original performance, and the terminal calculation amount is saved compared with other methods.
  • the cost achieves a better adjustment ratio, because the use of this method does not affect the use of the terminal hardware, thus meeting the user's needs and improving the user experience.
  • a person skilled in the art may understand that all or part of the steps of implementing the above embodiments may be completed by hardware, or may be instructed by a program to execute related hardware, and the program may be stored in a computer readable storage medium.
  • the storage medium mentioned may be a read only memory, a magnetic disk or an optical disk or the like.

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)
  • Controls And Circuits For Display Device (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

本发明公开了一种即时视频的显示方法和电子设备,属于视频领域。所述方法包括:获取用户输入的第一显示参数和位置参数;根据第一显示参数和位置参数,调整即时视频画面区域,生成调整后的即时视频画面;显示调整后的即时视频画面。本发明通过第一显示参数和位置参数对即时视频画面的显示比例进行调整,增加了即时视频画面的显示方式和效果,满足了用户需求,提高了用户体验。

Description

一种即时视频的显示方法和电子设备 技术领域
本发明涉及视频领域,特别涉及一种即时视频的显示方法和电子设备。
背景技术
随着即时视频应用在移动终端上的普及,使得越来越多的用户通过即时视频应用来实现与他人之间的交互,极大地丰富了人们的沟通方式和沟通内容,然而现有的终端采集的面部数据往往不能满足某些用户对自己的审美需求,比如用户不能对自己的脸的胖瘦,或者眼睛的大小或者脸的某部分的显示比例进行调整,使得需要提供一种即时视频的显示方法,以调整即时视频中的人脸部以及其他部位的比例,满足即时视频过程中用户的多样化需求。
现有技术提供一种即时视频的显示方法,通过将即时视频中的人脸调整为系统预设的比例,从而实现对即时视频中的人脸比例的调整。
但是在使用现有即时所提供的方法时,由于系统预设的比例在数量以及调整位置上的限制,使得用户可能无法将即时视频中的人脸或其他某个部位调整为自身所要的比例,而且不能在即时视频过程中实时进行调整,从而在使用现有技术所提供的方法时,降低了即时视频交互时的用户体验,无法满足用户的需求。
发明内容
为了满足了用户需求,提高用户体验,本发明实施例提供了一种即时视频的显示方法和电子设备。所述技术方案如下:
第一方面,提供了一种即时视频的显示方法,所述方法包括:
获取用户输入的第一显示参数和位置参数;
根据所述第一显示参数和所述位置参数,调整即时视频画面区域,生成调整后的即时视频画面;
显示所述调整后的即时视频画面。
结合第一方面,在第一种可能的实现方式中,所述获取用户输入的第一显示参数和位置参数包括:
获取用户在至少一帧视频画面输入的手势轨迹;
根据所述手势轨迹,获取所述第一显示参数和所述位置参数,所述位置参数至少包括所述位置的坐标;
其中,所述第一显示参数用于指示即时视频画面的显示比例,所述位置参数用于指示所要调整的即时视频画面区域。
结合第一方面的第一种可能的实现方式,在第二种可能的实现方式中,所述方法还包括:
确定所要调整的即时视频画面区域。
结合第一方面的第二种可能的实现方式,在第三种可能的实现方式中,所述根据所述第一显示参数和所述位置参数,调整即时视频画面区域包括:
根据所述第一显示参数,对所述即时视频画面区域的像素间距进行调整,生成调整后的即时视频画面。
结合第一方面的第一种至第三种任一可能的实现方式,在第四种可能的实现方式中,所述方法还包括:
若屏幕发生旋转,则获取第二显示参数,所述第二显示参数用于指示屏幕发生旋转后的即时视频画面的显示比例;
根据所述第二显示参数,显示调整后的即时视频画面。
结合第一方面的第四种可能的实现方式,在第五种可能的实现方式中,根据所述第二显示参数,显示调整后的即时视频画面包括:
根据所述第二显示参数,调整所述发生旋转后的即时视频画面区域,生成 调整后的即时视频画面,并显示所述调整后的即时视频画面。
结合第一方面的第五种可能的实现方式,在第六种可能的实现方式中,所述方法还包括:
发送所述第一显示参数和所述位置参数至其他电子设备。
第二方面,提供了一种电子设备,所述电子设备包括:
获取模块,用于获取用户输入的第一显示参数和位置参数;
调整模块,用于根据所述第一显示参数和所述位置参数,调整即时视频画面区域,生成调整后的即时视频画面;
显示模块,用于显示所述调整后的即时视频画面。
结合第二方面,在第一种可能的实现方式中,所述获取模块具体用于:
获取用户在至少一帧视频画面输入的手势轨迹;
根据所述手势轨迹,获取所述第一显示参数和所述位置参数,所述位置参数至少包括所述位置的坐标;
其中,所述第一显示参数用于指示即时视频画面的显示比例,所述位置参数用于指示所要调整的即时视频画面区域。
结合第二方面的第一种可能的实现方式,在第二种可能的实现方式中,所述设备还包括:
确定模块,用于确定所要调整的即时视频画面区域。
结合第二方面的第二种可能的实现方式,在第三种可能的实现方式中,所述调整模块具体用于:
根据所述第一显示参数,对所述即时视频画面区域的像素间距进行调整,生成调整后的即时视频画面。
结合第二方面的第一种至第三种任一可能的实现方式,在第四种可能的实现方式中,所述设备还包括:
判断模块,用于当判定屏幕发生旋转时,获取第二显示参数,所述第二显示参数用于指示屏幕发生旋转后的即时视频画面的显示比例;
所述显示模块还用于根据所述第二显示参数,显示调整后的即时视频画面。
结合第二方面的第四种可能的实现方式,在第五种可能的实现方式中,
所述调整模块还用于根据所述第二显示参数,调整所述发生旋转后的即时视频画面区域,生成调整后的即时视频画面,并触发显示模块显示所述调整后的即时视频画面。
结合第二方面的第五种可能的实现方式,在第六种可能的实现方式中,所述设备还包括:
发送模块,用于发送所述第一显示参数和所述位置参数至其他电子设备。
第三方面,提供了一种电子设备,包括:视频输入模块、视频输出模块、发送/接收模块、存储器以及与所述视频输入模块、所述视频输出模块、所述发送/接收模块和所述存储器连接的处理器,其中,所述存储器存储一组程序代码,所述处理器用于调用所述存储器中存储的程序代码,执行以下操作:
获取用户输入的第一显示参数和位置参数;
根据所述第一显示参数和所述位置参数,调整即时视频画面区域,生成调整后的即时视频画面;
显示所述调整后的即时视频画面。
其中,所述处理器调用所述存储器中存储的程序代码还用于控制视频输入模块接收即时视频。
结合第三方面,在第一种可能的实现方式中,所述处理器用于调用所述存储器中存储的程序代码,执行以下操作:
获取用户在至少一帧视频画面输入的手势轨迹;
根据所述手势轨迹,获取所述第一显示参数和所述位置参数,所述位置参数至少包括所述位置的坐标;
其中,所述第一显示参数用于指示即时视频画面的显示比例,所述位置参数用于指示所要调整的即时视频画面区域。
结合第三方面的第一种可能的实现方式,在第二种可能的实现方式中,所 述处理器用于调用所述存储器中存储的程序代码,执行以下操作:
确定所要调整的即时视频画面区域。
结合第三方面的第二种可能的实现方式,在第三种可能的实现方式中,所述处理器用于调用所述存储器中存储的程序代码,执行以下操作:
根据所述第一显示参数,对所述即时视频画面区域的像素间距进行调整,生成调整后的即时视频画面。
结合第三方面的第一种至第三种任一可能的实现方式,在第四种可能的实现方式中,所述处理器用于调用所述存储器中存储的程序代码,执行以下操作:
若屏幕发生旋转,则获取第二显示参数,所述第二显示参数用于指示屏幕发生旋转后的即时视频画面的显示比例;
根据所述第二显示参数,显示调整后的即时视频画面。
结合第三方面的第四种可能的实现方式,在第五种可能的实现方式中,所述处理器用于调用所述存储器中存储的程序代码,执行以下操作:
根据所述第二显示参数,调整所述发生旋转后的即时视频画面区域,生成调整后的即时视频画面,并显示所述调整后的即时视频画面。
结合第三方面第五种可能的实现方式,在第六种可能的实现方式中,所述处理器用于调用所述存储器中存储的程序代码,执行以下操作:
控制发送/接收模块发送所述第一显示参数和所述位置参数至其他电子设备。
第四方面,提供了一种即时视频的显示方法,所述方法包括:
接收其他电子设备发送的第一显示参数和位置参数;
根据所述第一显示参数和位置参数,调整即时视频画面区域,生成调整后的即时视频画面;
显示所述调整后的即时视频画面;
其中,所述第一显示参数用于指示即时视频画面的显示比例,所述位置参数用于指示所要调整的即时视频画面区域。。
第五方面,提供了一种电子设备,所述电子设备包括:
接收模块,用于接收其他电子设备发送的第一显示参数和位置参数;
调整模块,用于根据所述第一显示参数和所述位置参数,调整即时视频画面区域,生成调整后的即时视频画面;
显示模块,显示所述调整后的即时视频画面;
其中,所述第一显示参数用于指示即时视频画面的显示比例,所述位置参数用于指示所要调整的即时视频画面区域。
第六方面,提供了一种电子设备,包括:视频输入模块、视频输出模块、发送/接收模块、存储器以及与所述视频输入模块、所述视频输出模块、所述发送/接收模块和所述存储器连接的处理器,其中,所述存储器存储一组程序代码,所述处理器用于调用所述存储器中存储的程序代码,执行以下操作:
接收其他电子设备发送的第一显示参数和位置参数;
根据所述第一显示参数和所述位置参数,调整即时视频画面区域,生成调整后的即时视频画面;
显示所述调整后的即时视频画面;
其中,所述第一显示参数用于指示即时视频画面的显示比例,所述位置参数用于指示所要调整的即时视频画面区域;
所述处理器调用所述存储器中存储的程序代码还用于控制视频输入模块接收即时视频。
本发明实施例提供了一种即时视频画面的显示方法和电子设备,包括:获取用户输入的第一显示参数和位置参数;根据第一显示参数和位置参数,调整即时视频画面,生成调整后的即时视频画面;显示调整后的即时视频画面。本发明实施例通过根据第一显示参数和位置参数,调整即时视频画面,实现了在即时视频中实时对即时视频画面显示比例的调整,增加了即时视频画面的显示方式和效果,从而满足了用户需求,提高了用户体验;同时,根据用户输入的第一显示参数和位置参数,使得用户可以根据自身的需求在即时视频画面中选 择需要调整的位置,实现了用户对即时视频画面不同位置的显示比例的调整,增加了即时视频画面的显示方式,从而进一步满足了用户需求,提高了用户体验;另一方面,通过在即时视频过程中调整即时视频画面,增加了用户在即时视频过程中的互动形式,进一步满足了用户需求,提高了用户体验;另外,使用本发明实施例所提供的方法,使得通过终端的硬件加速在几乎不影响原有性能的情况下实现了对即时视频画面不同位置的显示比例的调整,相比其他方法节约了终端计算量,以最低的代价实现了较好的调整比例的效果,从而满足了用户需求,提高了用户体验。
附图说明
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1是本发明实施例提供的一种即时视频的显示方法流程图;
图2是本发明实施例提供的一种即时视频的显示方法流程图;
图3是本发明实施例提供的一种界面示意图;
图4是本发明实施例提供的一种界面示意图;
图5是本发明实施例提供的一种界面示意图;
图6是本发明实施例提供的一种界面示意图;
图7是本发明实施例提供的一种界面示意图;
图8是本发明实施例提供的一种即时视频的显示方法流程图;
图9是本发明实施例提供的一种即时视频的显示方法流程图;
图10是本发明实施例提供的一种即时视频的显示方法流程图;
图11是本发明实施例提供的一种电子设备结构示意图;
图12是本发明实施例提供的一种电子设备结构示意图;
图13是本发明实施例提供的一种电子设备结构示意图;
图14是本发明实施例提供的一种电子设备结构示意图。
具体实施方式
为使本发明的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
本发明实施例提供了一种即时视频的显示方法,该方法应用于一种交互系统中,该交互系统至少包括两个电子设备,该两个电子设备之间可以分别通过运行自身存储的即时视频程序进行即时视频的交互,其中,该电子设备可以是智能手机(Smart Phone),也可以是平板电脑(Tablet Computer),还可以是其他电子设备,本发明实施例对具体的电子设备不加以限定。
该至少两个电子设备之间可以通过蓝牙、Wi-Fi等无线连接方式进行连接,直接进行即时视频交互,也可以通过连接设备进行连接,该连接设备包括路由器等;该至少两个电子设备还可以通过服务器进行即时视频交互,该服务器可以是应用程序的服务器。
除此之外,本发明实施例提供的方法还可以应用于一种只包括电子设备和用户的交互系统中。
值得注意的是,上述交互系统仅仅是示例性的,本发明是实施例还可以包括其他应用场景,本发明实施例对具体的应用场景不加以限定。
实施例一
本发明实施例提供了一种即时视频的显示方法,参见图1,所述方法包括:
101、获取用户输入的第一显示参数和位置参数。
具体的,获取用户在至少一帧视频画面输入的手势轨迹;
根据手势轨迹,获取第一显示参数和位置参数,位置参数至少包括位置的坐标;
其中,第一显示参数用于指示即时视频画面的显示比例,位置参数用于指示所要调整的即时视频画面区域。
102、根据第一显示参数和位置参数,调整即时视频画面区域,生成调整后的即时视频画面。
具体的,根据第一显示参数,对即时视频画面区域的像素间距进行调整,生成调整后的即时视频画面。
103、显示调整后的即时视频画面。
可选的,方法还包括:
确定所要调整的即时视频画面区域。
可选的,方法还包括:
若屏幕发生旋转,则获取第二显示参数,第二显示参数用于指示屏幕发生旋转后的即时视频画面的显示比例。
根据第二显示参数,显示调整后的即时视频画面。
具体的,根据第二显示参数,调整发生旋转后的即时视频画面区域,生成调整后的即时视频画面,并显示调整后的即时视频画面。
可选的,方法还包括:
发送第一显示参数和位置参数至其他电子设备。
本发明实施例提供了一种即时视频的显示方法,通过根据第一显示参数和位置参数,调整即时视频画面,实现了在即时视频中实时对即时视频画面显示比例的调整,增加了即时视频画面的显示方式和效果,从而满足了用户需求,提高了用户体验;同时,根据用户输入的第一显示参数和位置参数,使得用户可以根据自身的需求在即时视频画面中选择需要调整的位置,实现了用户对即时视频画面不同位置的显示比例的调整,增加了即时视频画面的显示方式,从 而进一步满足了用户需求,提高了用户体验;另一方面,通过在即时视频过程中调整即时视频画面,增加了用户在即时视频过程中的互动形式,进一步满足了用户需求,提高了用户体验;另外,使用本发明实施例所提供的方法,使得通过终端的硬件加速在几乎不影响原有性能的情况下实现了对即时视频画面不同位置的显示比例的调整,相比其他方法节约了终端计算量,以最低的代价实现了较好的调整比例的效果,从而满足了用户需求,提高了用户体验。
实施例二
本发明实施例提供了一种即时视频的显示方法,参见图2所示,方法包括:
201、获取用户在至少一帧视频画面输入的手势轨迹。
具体的,获取用户在至少一帧视频画面输入的手势轨迹的方向,手势轨迹的方向包括左右方向、上下方向以及对角方向。
在即时视频过程中,将电子设备在垂直竖屏时的位置预设为初始位置,在电子设备屏幕中手势轨迹所在的位置设置极坐标,该极坐标以手势轨迹的几何中心为原点,该极坐标参照图3中a所示。
其中,手指在屏幕中的轨迹满足第一条件,则确定为左右方向,第一条件为手势轨迹角度范围满足小于等于第一角度大于第二角度,并小于等于第三角度大于第四角度,在实际应用中,第一角度可以是-3π/8第二角度可以是-5π/8,第三角度可以是-11π/8第四角度可以是-13π/8。具体的,以实际应用中的角度为例进行说明,第一条件在极坐标中所指的区域参照图3中b所示,其中,虚线表示第一条件的范围不包含虚线所在的角度;
手指在屏幕中的轨迹满足第二条件,则确定为上下方向,第二条件为手势轨迹角度满足大于第五角度小于等于第六角度,并小于等于第七角度大于第八角度,在实际应用中,第五角度可以是-π/8第六角度可以是-15π/8,第七可以是-7π/8第八角度可以是-9π/8。具体的,以实际应用中的角度为例进行说明,第二条件在极坐标中所指的区域参照图3中c所示,其中,虚线表示第二条件 的范围不包含虚线所在的角度;
手指在屏幕中的轨迹满足第三条件,则确定为对角方向,第三条件为手势轨迹角度满足小于等于第九角度大于第十角度,并小于等于第十一角度大于十二角度,或者满足小于等于第十三角度大于第十四角度,并且小于等于第十五角度大于第十六角度,在实际应用中,第九角度可以是-π/8第十角度可以是-3π/8,第十一角度可以是-9π/8第十二角度可以是-11π/8,第十三角度可以是-5π/8第十四角度可以是-7π/8,十五角度可以是-13π/8十六角度可以是-15π/8。具体的,以实际应用中的角度为例进行说明,第三条件在极坐标中所指的区域参照图3中d所示,其中,虚线表示第三条件的范围不包含虚线所在的角度。
通过在即时视频过程中获取用户输入的手势轨迹,因为手势轨迹可以是在视频画面的任何位置,相比于其他点击选择等输入方法,灵活度高,方便用户操作,进一步提高了用户体验;另外,根据手势轨迹的位置而建立极坐标系,避免了只能在一个位置建立极坐标系,导致某些位置的手势轨迹不能识别的情况,从而可以根据手势轨迹满足在极坐标系中的位置而识别不同的手势轨迹,进一步满足了用户需求,提高了用户体验;同时,在即时视频中获取用户输入的手势轨迹,使得用户可以通过输入手势轨迹的方式进行即时视频的交互,增加了即时视频过程中的互动形式,进一步满足了用户需求,提高了用户体验。
202、根据手势轨迹,获取用户输入的第一显示参数。
其中,第一显示参数用于指示即时视频画面的显示比例。
具体的,根据手势轨迹,获取用户输入的第一显示参数的过程可以为:
获取用户手指在显示屏上触发起始点后,在至少一帧视频画面之后检测用户手指在屏幕中的位置与起始点之间的位移,并确定该位移所对应的显示比例为用户根据手势轨迹输入的第一显示参数。
根据位移与显示比例之间的对应关系,获取与该位移对应的显示比例,本发明实施例对具体的对应关系不加以限定。
除了通过上述方式实现根据手势轨迹,获取用户输入的第一显示参数的外, 还可以通过其他方式实现该过程,本发明实施例对具体的方式不加以限定。
通过检测用户手指在屏幕中的位置与起始点之间的位移,根据用户的手势轨迹的位移确定该位移对应的显示参数为用户输入的第一显示参数,使得获取第一显示参数的方式更加简洁方便,易于操作,从而满足了用户需求,提高了用户体验。
203、根据手势轨迹,获取位置参数。
其中,位置参数至少包括位置的坐标。
位置参数用于指示所要调整的即时视频画面区域。
具体的,获取该位置的坐标的过程可以为:获取手势轨迹的几何中心,该几何中心的坐标为该位置的坐标。
除此之外,还可以包括其他的位置参数,本发明实施例对具体的位置参数不加以限定。
示例性的,假设图4中虚线所示的轨迹为用户输入的手势轨迹,在图4中该手势轨迹的几何中心为该虚线的中点,该中点的坐标为该位置的坐标。
通过获取手势轨迹在即时视频画面中的位置,获取该位置的坐标,从而可以识别手势轨迹在即时视频画面中的位置,实现了对即时视频画面中任意手势轨迹位置的确定,进一步满足了用户需求,提高了用户体验。
可选的,方法还包括:
确定所要调整的即时视频画面区域。
具体的,根据位置坐标和手势轨迹确定所要调整的即时视频画面区域。
通过选择预先存储的形状,本发明实施例对具体的形状不加以限定,确定所要调整的即时视频画面区域,该预先存储的形状包括圆形、椭圆形、长方形、正方形以及三角形等,该过程可以为:
选择预先存储的形状;
以该位置坐标为中心,根据手指滑动的位置,确定该形状所在的位置,该形状的大小可以根据手指的滑动进行控制;
该形状所在的区域即为所要调整的即时视频画面区域。
为了使得本领域的技术人员进一步理解本发明实施例所述的方法,下面将举例对本发明实施例所述的方法进行说明,假设选择的预先存储的形状是圆形,则以起始手势轨迹的几何中心为该圆开始的圆心,以开始手势轨迹的长度为直径,确定该圆的位置,随着手指的滑动,若手势轨迹的几何中心未发生变化,则根据手势轨迹的长度放大或缩小圆的区域,若手势轨迹的几何中心发生变化,则重新以该手势轨迹的几何中心为圆心,该手势轨迹的长度为直径,确定圆的位置。
若选择的预先存储的形状是椭圆形,则以起始手势轨迹的几何中心为该椭圆开始的焦点,以开始手势轨迹的长度为椭圆的长轴,短轴为系统默认的短轴,确定该椭圆的位置,随着手指的滑动,若手势轨迹的几何中心未发生变化,则根据手势轨迹的长度放大或缩小椭圆的区域,若手势轨迹的几何中心发生变化,则重新以该手势轨迹的几何中心为焦点,该手势轨迹的长度为长轴,确定椭圆的位置。
以此类推,若通过选定正方形或长方形等其他预先存储的形状,则确定所要调整的区域的方法同上述方法类似,不再一一进行列举。
通过根据手势轨迹的变化,确定形状的位置,使得确定的形状的位置可以不断的跟随手势轨迹位置的变化而变化,从而提高了用户体验,满足了用户需求。
除了上述方式外,还可以通过选择形状图标至所要调整的即时视频画面中,对该形状图标进行拉伸或压缩改变大小,以确定所要调整的即时视频画面区域,选择的方式可以是点击,也可以是拖动,本发明实施例对具体的方式不加以限定;还可以在即时视频画面中拖动该形状以改变该形状在即时视频画面的位置以确定所要调整的即时视频画面区域。
需要说明的是,若用户预先未选择所需的形状,则以默认的形状确定的区域为所要调整的即时视频画面区域,该默认的形状可以为圆形、也可以为椭圆 形、还可以为其他的形状,本发明实施例对具体的默认形状不加以限定。
示例性的,若选择预先存储的形状为椭圆形,界面图可以参照图5中a所示,假设图5的b中的虚线所示的轨迹为用户输入的手势轨迹,则以该手势轨迹的几何中心的坐标为位置的坐标,确定的所要调整的即时视频画面区域可以参照图5中c所示,随着手势轨迹按虚线箭头所示的两侧方向进行形状放大的调整,若手势轨迹的几何中心未发生变化,则调整后的即时视频画面区域可以参照图5中d所示,若手势轨迹的几何中心发生变化,则调整后的即时视频画面区域可以参照图5中e所示。
通过选择预先存储的形状,根据位置坐标和手势轨迹确定所要调整的即时视频画面区域,使得获取的所要调整的即时视频画面的区域更加明确,实现了用户根据自身的需求对选定区域的显示比例进行调整,从而进一步满足了用户需求,提高了用户体验;另一方面,可以预先存储多种不同的形状,从而可以满足用户选择与自身所要调整的区域相符合的形状,以方便对所要调整的即时视频画面区域的确定,增加了互动性和即时视频画面的显示形式,进一步提高了用户体验,满足了用户需求。
可选的,还可以通过用户即时输入的闭合曲线确定所要调整的即时视频画面区域。
具体的,用户可以直接通过手指的滑动输入闭合的滑动轨迹曲线,确定所要调整的即时视频画面区域,还可以通过笔触特效,输入闭合的滑动轨迹曲线,确定所要调整的即时视频画面区域,还可以是其他方式,本发明实施例对具体的方式不加以限定。
示例性的,参照图6中a所示的图标为笔触图标,用户点击该图标,参照图6中b所示的闭合曲线可以是用户在即时视频上通过笔触输入的闭合曲线,该闭合曲线的区域即为所要调整的即时视频画面的区域。
通过用户手指输入或笔触特效输入的闭合曲线确定所要调整的即时视频画面区域,使得确定所要调整的即时视频画面区域的方式更加灵活,增加了即时 视频的画面的显示形成,进一步满足了用户需求,提高了用户体验。
可选的,方法还包括
获取所要调整的即时视频画面区域的特征参数,通过该特征参数在下一帧即时视频画面中确定该区域,本发明实施例对具体的方式不加以限定。
通过获取所要调整的即时视频画面区域的特征参数,在下一帧画面中确定该即时视频画面区域,从而实现了在即时视频过程中,由于人脸位置的移动,使得确定的区域发生变化的情况,实现了对确定的即时视频画面的跟踪定位,进一步满足了用户需求,提高了用户体验。
需要说明的是,对步骤202和步骤203在实际应用中的先后顺序不加以限定,也可以是先执行203步骤再执行202步骤,还可以是同时执行步骤202和步骤203。
需要说明的是,步骤201至步骤203是获取用户触发的第一显示参数和触发第一显示参数的位置参数的过程,除了上述方式外,还可以包括其他方式,本发明实施例对具体的方式不加以限定。
通过用户输入的第一显示参数和位置参数,使得用户可以根据自身的需求在即时视频画面中选择需要调整的位置,实现了用户对即时视频画面不同位置的显示比例的调整,增加了即时视频画面的显示方式,从而进一步满足了用户需求,提高了用户体验;另一方面,通过在即时视频过程中调整即时视频画面,增加了用户在即时视频过程中的互动形式,进一步满足了用户需求,提高了用户体验。
204、根据第一显示参数,对即时视频画面区域的像素间距进行调整,生成调整后的即时视频画面。
具体的,根据第一显示参数,对即时视频画面区域的像素间距进行调整包括:像素间距拉伸和像素间距压缩,拉伸时的方向包括左右方向、上下方向以及对角方向,压缩时的方向包括左右方向、上下方向以及对角方向,其中,若手势轨迹为用户手指由中间向两侧滑动生成,则该手势轨迹的方向为拉伸时的 方向,若手势轨迹为用户手指由两侧向中间滑动生成,则该手势轨迹的方向为压缩时的方向。
为了进一步说明本发明实施例所述的方法,以调整第i帧视频画面中某一区域的像素间距至第i+1帧视频画面为例进行说明:
若手势轨迹方向为左右方向,根据第一显示参数,调整第i+1帧即时视频画面所要调整区域内的左右像素间距为第五数值、上下像素间距为第六数值,调整第i+1帧即时视频画面所要调整区域外的左右像素间距为第七数值、上下像素间距为第八数值,第五数值与第七数值对应、第六数值和第八数值对应,对具体的对应关系不加以限定;
需要说明的是,第五数值对应的区域和第七数值对应的区域对应、第六数值对应的区域和第八数值对应的区域对应;
假设第i帧视频画面该区域内的左右像素间距为第一数值、上下像素间距为第二数值,第i帧视频画面该区域外的左右像素间距为第三数值、上下像素间距为第四数值;
需要说明的是,第一数值对应的区域和第三数值对应的区域对应、第二数值对应的区域和第四数值对应的区域对应;
在第五数值大于第一数值、第六数值大于第二数值,对应的,第七数值小于第三数值、第八数值小于第四数值时,增大了第i+1帧视频画面所要调整区域内的像素间距,减小了所要调整区域外的像素间距,可以实现第i+1帧视频画面该区域内的像素间距增大,该区域外的像素间距缩小;
在第五数值小于第一数值、第六数值小于第二数值,对应的,第七数值大于第三数值、第八数值大于第四数值时,减小了第i+1帧视频画面所要调整区域内的像素间距,增大了所要调整区域外的像素间距,可以实现第i+1帧视频画面该区域内的像素间距的缩小,该区域外的像素间距的增大。
若轨迹方向为上下方向时,对即时视频画面所要调整区域的像素间距进行调整的方法与轨迹方向为左右方向的调整方法相同。
若手势轨迹方向为对角方向,根据第一显示参数,调整第i+1帧即时视频画面所要调整区域内的像素间距为第十一数值,调整第i+1帧即时视频画面所要调整区域外的像素间距为第十二数值,第十一数值与第十二数值对应,对第十一数值和第十二数值具体的对应关系不加以限定;
假设第i帧视频画面该区域的像素间距为第九数值,第i帧视频画面该区域外的像素间距为第十数值;
在第十一数值大于第九数值,对应的,第十二数值小于第十数值时,增大了第i+1帧视频画面所要调整区域内的像素间距,减小了所要调整区域外的像素间距,可以实现第i+1帧视频画面该区域内的像素间距增大,该区域外的像素间距缩小;
在第十一数值小于第九数值,对应的,第十二数值大于第十数值时,减小了第i+1帧视频画面所要调整区域内的像素间距,增大了所要调整区域外的像素间距,可以实现第i+1帧视频画面该区域内的像素间距的缩小,该区域外的像素间距的增大。
示例性的,当电子设备屏幕为竖直方向时,假如所要调整的即时视频画面区域是参照图7中a所示的区域,如果对该区域进行左右方向的拉伸,则该区域内的像素间距被拉伸,拉伸方向可以参照图7中b的箭头方向所示,左右箭头表示向左右方向拉伸,上下箭头表示向上下方法拉伸,其中,左右方向的箭头长度比上下方向的箭头的长度长,表示左右方向的拉伸大于上下放下的拉伸;假如对该区域进行左右方向的压缩,压缩方向可以参照图7中c的箭头方向所示,左右箭头表示向左右方向压缩,上下箭头表示向上下方法压缩,其中,左右方向的箭头长度比上下方向的箭头的长度长,表示左右方向的压缩大于上下放下的压缩。
当电子设备屏幕处于水平位置时,左右方向的压缩调整和左右方向的拉伸调整、上下方向的压缩调整和上下方向的拉伸调整以及对角方向的压缩调整和对角方向的拉伸调整方法与电子设备屏幕处于竖直位置时的调整方法相同,此 处不再加以赘述。
通过第一显示参数的指示,不仅可以实现的对即时视频画面所要调整区域的像素间距的上下方向的拉伸和压缩,也可以实现对即时视频画面所要调整区域的像素间距的左右方向的拉伸和压缩,还可以通过对角方向,实现对即时视频画面所要调整区域的像素间距呈同心圆式的拉伸和压缩,从而通过对即时视频画面的像素间距的调整,实现了对即时视频画面的显示比例的调整,增加了即时视频的显示形式,使得用户可以根据自己的需求对即时视频画面的显示比例进行调整,从而进一步满足了用户需求,提高了用户体验。
可选的,本实施例的即时视频的显示方法还包括:
对调整后的即时视频画面进行处理。
具体的,还可以对调整后的即时视频画面进行模糊处理,模糊处理可以通过高斯模糊算法实现。
通过对调整后的即时视频画面进行模糊处理,可以增加视频画面被拉伸或压缩后的显示效果,尤其是在像素分辨率比较低的时候,对拉伸或者压缩后的即时视频进行模糊处理,能够提高视频画面质量,从而进一步提高了用户体验,满足了用户需求。
205、显示调整后的即时视频画面。
具体的,本发明实施例对具体的显示调整后的即时视频画面的方式不加以限定。
通过显示调整后的即时视频画面,增加了即时视频画面的显示形式,使得用户可以根据自己的需求对即时视频画面不同区域的显示比例进行调整,进一步满足了用户需求,提高了用户体验。
可选的,参见图8所示,本实施例的即时视频的显示方法还可以包括:
206、判断屏幕是否发生旋转,若是,则执行步骤207及207之后的步骤;若否,则继续执行步骤206。
具体的,将屏幕初始所在的位置角度预设为0°,通过第一预设公式确定屏 幕当前所处的角度,若当前的角度与初始角度相比不为0,则确定为屏幕发生了旋转。
第一预设公式可以为:
rotation=2*arctan(Gx,Gy)-π
其中,rotation表示电子设备旋转过程中的偏离角,Gx表示重力加速度在电子设备水平方向的分量,Gy表示重力加速度在电子设备竖直方向的分量。
Gx和Gy分别可以通过电子设备自身的重力加速器进行获取,该重力加速器对电子设备各个方向的重力加速度值进行实时获取。
通过重力加速器实时获取电子设备各个方向的重力加速度值,相比其他方法节约了终端计算量,以最低的代价实现了较好的调整比例的效果,因为使用该方法不会影响终端硬件的使用,从而满足了用户需求,提高了用户体验。
207、获取屏幕旋转的角度。
具体的,根据第一预设公式的计算结果获取屏幕旋转的角度。
其中,旋转角度的取值范围为:
-π/2≤rotation<0
-π≤rotation<-2/π,
-3*π/2≤rotation<-π,
-2π≤rotation<-3*π/2
以电子设备屏幕竖直放置时为初始位置为例进行说明,即此时为0°,若向右旋转至水平位置,即-90°位置时,角度的旋转范围为:
-π/2≤rotation<0,
若由-90°位置向右旋转至倒立竖直位置,即-180°位置时,角度的旋转范围为:
-π≤rotation<-2/π,
若由-180°位置再向右旋转至水平位置,即-270°位置时,角度的旋转取值范 围为:
-3*π/2≤rotation<-π,
若再由-270°位置向右旋转至标准位置,即-360°位置时,角度的旋转取值范围为:
-2π≤rotation<-3*π/2。
除此之外,还可以通过其他方式定义标准位置,获取旋转角度,本发明实施例对具体的方式不加以限定。
208、根据第一显示参数和屏幕旋转的角度,计算第二显示参数。
其中,第二显示参数用于指示屏幕发生旋转后的即时视频画面的显示比例。
具体的,根据第一显示参数和屏幕旋转角度,通过第二预设公式,计算第二显示参数,第二预设公式可以为:
Figure PCTCN2016086146-appb-000001
其中,rate表示第二显示参数,Rmax表示第一显示参数,Rmin=1/Rmax,Rrange=Rmax-Rmin
则根据该第二预设公式,可以获得屏幕发生不同的旋转角度时,对应的第二显示参数。
以电子设备屏幕竖直放置时为初始位置为例进行说明,即此时为0°,当屏幕由该位置旋转至-90°位置时,对应的第二显示参数为:
rate=Rmax+Rrange*rotation/(π/2),-π/2≤rotation<0;
当屏幕由-90°位置旋转至-180°位置时,则对应的第二显示参数为:
rate=Rmax-Rrange*(π+rotation)/(π/2),-π≤rotation<-π/2;
当屏幕由-180°位置旋转至-270°位置时,则对应的第二显示参数为:
rate=Rmin+Rrange*((π/2)*3+rotation)/(π/2),-3*π/2≤rotation<-π;
当屏幕由-270°位置旋转至-360°时,即初始位置,则对应的第二显示参数为:
rate=Rmax-Rrange*((π/2)+rotation)/(π/2),-2π≤rotation<-3*π/2。
除此之外,还可以通过其他方式确定第二显示参数,本发明实施例对具体的方式不加以限定。
通过根据第一显示参数和旋转角度,获取第二显示参数,使得在屏幕发生旋转时,可以对即时视频画面的显示比例进行调整,满足了用户的需求,提高了用户体验。
需要说明的是,步骤206至步骤208是若屏幕发生旋转,则获取第二显示参数的过程,除了上述步骤所述的方式外,还可以通过其他方式实现该过程,本发明实施例对具体的方式不加以限定。
通过判断屏幕是否发生旋转,若发生旋转,根据获取的角度确定视频画面的显示比例,从而实现了用户可以在屏幕发生旋转时对屏幕显示比例进行调整,从而进一步满足了用户需求,提高了用户体验。
209、根据第二显示参数,对发生旋转后的即时视频画面区域的像素间距进行调整,生成调整后的即时视频画面。
具体的,该步骤与步骤204相同,此处不再加以赘述。
通过第二显示参数的指示,可以实现的对即时视频画面的像素间距的调整,从而通过对即时视频画面的像素间距的调整,实现了对即时视频画面的显示比例的调整,增加了即时视频的显示形式,使得用户可以根据自己的需求对即时视频画面的显示比例进行调整,从而进一步满足了用户需求,提高了用户体验。
2010、显示调整后的即时视频画面。
具体的,本发明实施例对具体的显示方式不加以限定。
需要说明的是,步骤208至步骤2010是根据第二显示参数,调整发生旋转 后的即时视频画面区域,生成调整后的即时视频画面,并显示调整后的即时视频画面的过程,除了上述步骤所述的方式之外,还可以通过其他方式实现该过程,本发明实施例对具体的方式不加以限定。
通过显示调整后的即时视频画面,增加了即时视频画面的显示形式,使得在屏幕发生旋转时用户也可以对即时视频画面的显示比例进行调整,进一步满足了用户需求,提高了用户体验。
可选的,本实施例的即时视频的显示方法还可以包括步骤2011。
2011、发送第一显示参数和位置参数至其他电子设备。
具体的,电子设备通过自身的发送/接收模块,发送第一显示参数和位置参数至与该电子设备进行即时视频交互的其他电子设备,也可以发送包含第一显示参数和位置参数的指令至与该电子设备进行即时视频交互的其他电子设备。
可选的,电子设备还可以通过服务器进行转发。
本发明实施例对具体的发送方式不加以限定。
通过发送第一显示参数和位置参数至其他电子设备,使得其他电子设备可以根据第一显示参数,对即时视频画面的显示比例进行调整,从而使得与之进行即时视频通讯的电子设备显示的即时视频画面的比例相同,满足了用户对自身的脸部或脸部的某些部位的显示比例的调整,并可以在与之交互的电子设备上以该比例进行显示的需求,进一步满足了用户需求,提高了用户体验。
本发明实施例提供了一种即时视频的显示方法,通过根据第一显示参数和位置参数,调整即时视频画面,实现了在即时视频中实时对即时视频画面显示比例的调整,增加了即时视频画面的显示方式和效果,从而满足了用户需求,提高了用户体验;同时,根据用户输入的第一显示参数和位置参数,使得用户可以根据自身的需求在即时视频画面中选择需要调整的位置,实现了用户对即时视频画面不同位置的显示比例的调整,增加了即时视频画面的显示方式,从而进一步满足了用户需求,提高了用户体验;另一方面,通过在即时视频过程中调整即时视频画面,增加了用户在即时视频过程中的互动形式,进一步满足 了用户需求,提高了用户体验;另外,使用本发明实施例所提供的方法,使得通过终端的硬件加速在几乎不影响原有性能的情况下实现了对即时视频画面不同位置的显示比例的调整,相比其他方法节约了终端计算量,以最低的代价实现了较好的调整比例的效果,从而满足了用户需求,提高了用户体验。
实施例三
本发明实施例提供了一种即时视频的显示方法,参见图9所示,方法包括:
901、接收其他电子设备发送的第一显示参数和位置参数。
902、根据第一显示参数和位置参数,调整即时视频画面区域,生成调整后的即时视频画面。
903、显示调整后的即时视频画面;
其中,第一显示参数用于指示即时视频画面的显示比例,位置参数用于指示所要调整的即时视频画面区域。
本发明实施例提供了一种即时视频的显示方法,通过接收其他电子设备发送的第一显示参数和位置参数,因为第一显示参数用于调整即时视频画面的显示比例,所以该电子设备根据接收的第一显示参数所指示的比例对即时视频画面的显示比例进行调整,实现了在接收端的电子设备上对即时视频画面某一区域的比例进行调整,使得即时视频画面可以根据其他电子设备用户的需求的比例进行调整,满足了用户需求,提高了用户体验;另一方面根据调整后的显示比例,显示调整后的即时视频画面,增加了即时视频画面的显示形式,从而满足了用户需求,提高了用户体验;另一方面,在传统的方法中,当屏幕由竖屏旋转为横屏时,即时视频画面会被压缩,从而导致即时视频中的显示物的比例失调,降低了用户体验,而使用本发明实施例所提供的方法,当屏幕发生旋转时,该电子设备获取第二显示参数,因为第二显示用于调整屏幕发生旋转后的即时视频画面的显示比例,所以根据第二显示参数,可以调整即时视频画面的显示比例,使得当屏幕发生旋转时,即时视频画面的显示更加符合用户需求,提高了用户体验,同时,因为设备自动判断屏幕是否发生旋转,简化了操作步 骤,使得本发明实施例提供的方法更加智能化,满足了用户在即时视频中对自身的脸部显示比例进行调整的需求,同时,使得在屏幕发生旋转时,根据第二显示参数显示即时视频画面,使得即时视频画面的显示不会因为屏幕旋转,而发生比例失调的情况,提高了用户体验,满足了用户需求。同时,使用本发明实施例所提供的方法,使得通过终端的硬件加速在几乎不影响原有性能的情况下实现了高效瘦脸和胖脸功能,相比其他方法节约了终端计算量,以最低的代价实现了较好的调整比例的效果,因为使用该方法不会影响终端硬件的使用,从而满足了用户需求,提高了用户体验。
实施例四
一种即时视频的显示方法,参见图10所示,方法包括:
1001、接收其他电子设备发送的第一显示参数和位置参数。
具体的,本发明实施例对具体的接收其他电子设备发送的第一显示参数和位置参数的方式不加以限定。
通过接收其他电子设备发送的第一显示参数和位置参数,使得该电子设备可以根据第一显示参数,对即时视频画面的所要调整的区域的显示比例进行调整,从而使得与之进行即时视频通讯的电子设备显示的即时视频画面的比例相同,满足了用户对自身的脸部或脸部的某个部位等的显示比例的调整,并在与之交互的电子设备上以该比例显示的需求,进一步满足了用户需求,提高了用户体验。
可选的,本实施例的即时视频的显示方法还包括:
确定所要调整的即时视频画面区域。
具体,该步骤与实施例二中的确定所要调整的即时视频画面区域的步骤相同,此处不再加以赘述。
通过选择预先存储的形状,根据位置坐标和手势轨迹确定所要调整的即时视频画面区域,使得获取的所要调整的即时视频画面的区域更加明确,实现了用户根据自身的需求对选定区域的显示比例进行调整,从而进一步满足了用户 需求,提高了用户体验;另一方面,可以预先存储多种不同的形状,从而可以满足用户选择与自身所要调整的区域相符合的形状,以方便对所要调整的即时视频画面区域的确定,增加了互动性和即时视频画面的显示形式,进一步提高了用户体验,满足了用户需求。
通过用户手指输入或笔触特效输入的闭合曲线确定所要调整的即时视频画面区域,使得确定所要调整的即时视频画面区域的方式更加灵活,增加了即时视频的画面的显示形成,进一步满足了用户需求,提高了用户体验。
可选的,方法还包括
获取所要调整的即时视频画面区域的特征参数,通过该特征参数在下一帧即时视频画面中确定该区域,本发明实施例对具体的方式不加以限定。
通过获取所要调整的即时视频画面区域的特征参数,在下一帧画面中确定该即时视频画面区域,从而实现了在即时视频过程中,由于人脸位置的移动,使得确定的区域发生变化的情况,实现了对确定的即时视频画面的跟踪定位,进一步满足了用户需求,提高了用户体验。
1002、根据第一显示参数,对即时视频画面区域的像素间距进行调整,生成调整后的即时视频画面。
具体的,该步骤与实施例二中的步骤204相同,此处不再加以赘述。
需要说明的是,步骤1002是实现根据第一显示参数,调整即时视频画面过程,除此之外,还可以通过其他方式实现该过程,本发明实施例对具体的方式不加以限定。
通过第一显示参数的指示,不仅可以实现的对即时视频画面所要调整区域的像素间距的上下方向的拉伸和压缩,也可以实现对即时视频画面所要调整区域的像素间距的左右方向的拉伸和压缩,还可以通过对角方向,实现对即时视频画面所要调整区域的像素间距呈同心圆式的拉伸和压缩,从而通过对即时视频画面的像素间距的调整,实现了对即时视频画面的显示比例的调整,增加了即时视频的显示形式,从而进一步满足了用户需求,提高了用户体验。
可选的,本实施例的即时视频的显示方法还包括:
对调整后的即时视频画面进行处理。
具体的,该步骤与实施例二中的对调整后的即时视频画面进行处理的步骤相同,此处不再加以赘述。
通过对调整后的即时视频画面进行模糊处理,可以增加视频画面被拉伸或压缩后的显示效果,尤其是在像素分辨率比较低的时候,对拉伸或者压缩后的即时视频进行模糊处理,能够提高视频画面质量,从而进一步提高了用户体验。
1003、显示调整后的即时视频画面。
具体的,该步骤与实施例二中的步骤205相同,此处不再加以赘述。
通过可以在该电子设备上显示调整后的即时视频画面,增加了即时视频画面的显示形式,使得用户可以根据自己的需求对即时视频画面不同区域的显示比例进行调整后在与之交互的电子设备上进行显示的需求,满足了进一步用户需求,提高了用户体验。
通过根据其他电子设备发送的第一显示参数,对即时视频画面的显示比例进行调整,并显示调整后的即时视频画面,从而实现了在即时视频过程中对即时视频画面显示比例的调整,从而进一步满足了用户需求,提高了用户体验。
可选的,方法还包括:
1004、该电子设备判断自身是否发生旋转,若是,则执行步骤1005以及1005以后的步骤;若否,则继续执行1004。
具体的,该步骤与实施例二中的步骤206相同,此处不再加以赘述。
通过重力加速器获取电子设备各个方向的重力加速度值,相比其他方法节约了终端计算量,以最低的代价实现了较好的调整比例的效果,因为使用该方法不会影响终端硬件的使用,从而满足了用户需求,提高了用户体验。
1005、获取该电子设备自身屏幕旋转的角度。
具体的,该步骤与实施例二中的步骤207相同,此处不再加以赘述。
1006、根据接收的其他电子设备发送的第一显示参数和该电子设备自身屏 幕旋转的角度,计算第二显示参数。
具体的,该步骤与实施例二中的步骤208相同,此处不再加以赘述。
通过根据其他电子设备发送的第一显示参数和自身的旋转角度,获取第二显示参数,使得在屏幕发生旋转时,该接收第一显示参数的电子设备可以对即时视频画面的显示比例进行调整,进一步满足了用户的需求,提高了用户体验。
1007、根据第二显示参数,对发生旋转后的即时视频画面区域的像素间距进行调整,生成调整后的即时视频画面。
具体的,该步骤与实施例二中的步骤209相同,此处不再加以赘述。
通过第二显示参数的指示,可以实现的对即时视频画面的像素间距的调整,从而通过对即时视频画面的像素间距的调整,实现了对即时视频画面的显示比例的调整,增加了即时视频的显示形式,使得该电子设备用户可以对即时视频画面的显示比例进行调整,从而进一步满足了用户需求,提高了用户体验。
1008、显示调整后的即时视频画面。
具体的,该步骤与实施例二中的步骤2010相同,此处不再加以赘述。
需要说明的是,步骤1007至步骤1008是根据第二显示参数,调整发生旋转后的即时视频画面区域,生成调整后的即时视频画面,并显示调整后的即时视频画面的过程,除了上述步骤所述的方式之外,还可以通过其他方式实现该过程,本发明实施例对具体的方式不加以限定。
通过显示调整后的即时视频画面,增加了即时视频画面的显示形式,使得在屏幕发生旋转时用户也可以对即时视频画面的显示比例进行调整,进一步满足了用户需求,提高了用户体验。
本发明实施例提供了一种即时视频的显示方法,通过接收其他电子设备发送的第一显示参数和位置参数,因为第一显示参数用于调整即时视频画面的显示比例,所以该电子设备根据接收的第一显示参数所指示的比例对即时视频画面的显示比例进行调整,实现了在接收端的电子设备上对即时视频画面某一区域的比例进行调整,使得即时视频画面可以根据其他电子设备用户的需求的比 例进行调整,满足了用户需求,提高了用户体验;另一方面根据调整后的显示比例,显示调整后的即时视频画面,增加了即时视频画面的显示形式,从而满足了用户需求,提高了用户体验;另一方面,在传统的方法中,当屏幕由竖屏旋转为横屏时,即时视频画面会被压缩,从而导致即时视频中的显示物的比例失调,降低了用户体验,而使用本发明实施例所提供的方法,当屏幕发生旋转时,该电子设备获取第二显示参数,因为第二显示用于调整屏幕发生旋转后的即时视频画面的显示比例,所以根据第二显示参数,可以调整即时视频画面的显示比例,使得当屏幕发生旋转时,即时视频画面的显示更加符合用户需求,提高了用户体验,同时,因为设备自动判断屏幕是否发生旋转,简化了操作步骤,使得本发明实施例提供的方法更加智能化,满足了用户在即时视频中对自身的脸部显示比例进行调整的需求,同时,使得在屏幕发生旋转时,根据第二显示参数显示即时视频画面,使得即时视频画面的显示不会因为屏幕旋转,而发生比例失调的情况,提高了用户体验,满足了用户需求。同时,使用本发明实施例所提供的方法,使得通过终端的硬件加速在几乎不影响原有性能的情况下实现了高效瘦脸和胖脸功能,相比其他方法节约了终端计算量,以最低的代价实现了较好的调整比例的效果,因为使用该方法不会影响终端硬件的使用,从而满足了用户需求,提高了用户体验。
实施例五
本发明实施例提供了一种电子设备11,参见图11所示,电子设备11包括:
获取模块1101,用于获取用户输入的第一显示参数和位置参数;
调整模块1102,用于根据第一显示参数和位置参数,调整即时视频画面区域,生成调整后的即时视频画面;
显示模块1103,用于显示调整后的即时视频画面。
可选的,获取模块1101具体用于:
获取用户在至少一帧视频画面输入的手势轨迹;
根据手势轨迹,获取第一显示参数和位置参数,位置参数至少包括位置的坐标;
其中,第一显示参数用于指示即时视频画面的显示比例,位置参数用于指示所要调整的即时视频画面区域。
可选的,设备还包括:
确定模块,用于确定所要调整的即时视频画面区域。
可选的,调整模块1102具体用于:
根据第一显示参数,对即时视频画面区域的像素间距进行调整,生成调整后的即时视频画面。
可选的,设备还包括:
判断模块,用于当判定屏幕发生旋转时,获取第二显示参数,第二显示参数用于指示屏幕发生旋转后的即时视频画面的显示比例;
显示模块1103还用于根据第二显示参数,显示调整后的即时视频画面。
可选的,
调整模块1102还用于根据第二显示参数,调整发生旋转后的即时视频画面区域,生成调整后的即时视频画面,并触发显示模块1103显示调整后的即时视频画面。
可选的,设备还包括:
发送模块,用于发送第一显示参数和位置参数至其他电子设备。
本发明实施例提供了一种电子设备,该电子设备通过根据第一显示参数和位置参数,调整即时视频画面,实现了在即时视频中实时对即时视频画面显示比例的调整,增加了即时视频画面的显示方式和效果,从而满足了用户需求,提高了用户体验;同时,根据用户输入的第一显示参数和位置参数,使得用户可以根据自身的需求在即时视频画面中选择需要调整的位置,实现了用户对即时视频画面不同位置的显示比例的调整,增加了即时视频画面的显示方式,从而进一步满足了用户需求,提高了用户体验;另一方面,通过在即时视频过程 中调整即时视频画面,增加了用户在即时视频过程中的互动形式,进一步满足了用户需求,提高了用户体验;另外,使用本发明实施例所提供的方法,使得通过终端的硬件加速在几乎不影响原有性能的情况下实现了对即时视频画面不同位置的显示比例的调整,相比其他方法节约了终端计算量,以最低的代价实现了较好的调整比例的效果,从而满足了用户需求,提高了用户体验。
实施例六
本发明实施例提供了一种电子设备12,参见图12所示,电子设备12包括视频输入模块1201、视频输出模块1202、发送/接收模块1203、存储器1204以及与视频输入模块1201、视频输出模块1202、发送/接收模块1203和存储器1204连接的处理器1205,其中,存储器1024存储一组程序代码,处理器1205用于调用存储器1204中存储的程序代码,执行以下操作:
获取用户输入的第一显示参数和位置参数;
根据第一显示参数和位置参数,调整即时视频画面区域,生成调整后的即时视频画面;
显示调整后的即时视频画面。
其中,处理器1205用于调用存储器1204中存储的程序代码还用于控制视频输入模块1201接收即时视频。
可选的,处理器1205用于调用存储器1204中存储的程序代码,执行以下操作:
获取用户在至少一帧视频画面输入的手势轨迹;
根据手势轨迹,获取第一显示参数和位置参数,位置参数至少包括位置的坐标;
其中,第一显示参数用于指示即时视频画面的显示比例,位置参数用于指示所要调整的即时视频画面区域。
可选的,处理器1205用于调用存储器1204中存储的程序代码,执行以下 操作:
确定所要调整的即时视频画面区域。
可选的,处理器1205用于调用存储器1204中存储的程序代码,执行以下操作:
根据第一显示参数,对即时视频画面区域的像素间距进行调整,生成调整后的即时视频画面。
可选的,处理器1205用于调用存储器1204中存储的程序代码,执行以下操作:
若屏幕发生旋转,则获取第二显示参数,第二显示参数用于指示屏幕发生旋转后的即时视频画面的显示比例;
根据第二显示参数,控制视频输出模块1202显示调整后的即时视频画面。
可选的,处理器1205用于调用存储器1204中存储的程序代码,执行以下操作:
根据第二显示参数,调整发生旋转后的即时视频画面区域,生成调整后的即时视频画面,并控制视频输出模块1202显示调整后的即时视频画面。
可选的,处理器1205用于调用存储器1204中存储的程序代码,执行以下操作:
控制发送/接收模块1203发送第一显示参数的位置参数至其他电子设备。
其中,视频输入模块包括摄像头,视频输出模块包括显示屏。
本发明实施例提供了一种电子设备,该电子设备通过根据第一显示参数和位置参数,调整即时视频画面,实现了在即时视频中实时对即时视频画面显示比例的调整,增加了即时视频画面的显示方式和效果,从而满足了用户需求,提高了用户体验;同时,根据用户输入的第一显示参数和位置参数,使得用户可以根据自身的需求在即时视频画面中选择需要调整的位置,实现了用户对即时视频画面不同位置的显示比例的调整,增加了即时视频画面的显示方式,从而进一步满足了用户需求,提高了用户体验;另一方面,通过在即时视频过程 中调整即时视频画面,增加了用户在即时视频过程中的互动形式,进一步满足了用户需求,提高了用户体验;另外,使用本发明实施例所提供的方法,使得通过终端的硬件加速在几乎不影响原有性能的情况下实现了对即时视频画面不同位置的显示比例的调整,相比其他方法节约了终端计算量,以最低的代价实现了较好的调整比例的效果,从而满足了用户需求,提高了用户体验。
实施例七
本发明实施例提供了一种电子设备13,参照图13所示,该电子设备13包括:
接收模块1301,用于接收其他电子设备发送的第一显示参数和位置参数;
调整模块1302,用于根据第一显示参数和位置参数,调整即时视频画面区域,生成调整后的即时视频画面;
显示模块1303,用于显示调整后的即时视频画面;
其中,第一显示参数用于指示即时视频画面的显示比例,位置参数用于指示所要调整的即时视频画面区域。
本发明实施例提供了一种电子设备,该电子设备通过接收其他电子设备发送的第一显示参数和位置参数,因为第一显示参数用于调整即时视频画面的显示比例,所以该电子设备根据接收的第一显示参数所指示的比例对即时视频画面的显示比例进行调整,实现了在接收端的电子设备上对即时视频画面某一区域的比例进行调整,使得即时视频画面可以根据其他电子设备用户的需求的比例进行调整,满足了用户需求,提高了用户体验;另一方面根据调整后的显示比例,显示调整后的即时视频画面,增加了即时视频画面的显示形式,从而满足了用户需求,提高了用户体验;另一方面,在传统的方法中,当屏幕由竖屏旋转为横屏时,即时视频画面会被压缩,从而导致即时视频中的显示物的比例失调,降低了用户体验,而使用本发明实施例所提供的方法,当屏幕发生旋转时,该电子设备获取第二显示参数,因为第二显示用于调整屏幕发生旋转后的 即时视频画面的显示比例,所以根据第二显示参数,可以调整即时视频画面的显示比例,使得当屏幕发生旋转时,即时视频画面的显示更加符合用户需求,提高了用户体验,同时,因为设备自动判断屏幕是否发生旋转,简化了操作步骤,使得本发明实施例提供的方法更加智能化,满足了用户在即时视频中对自身的脸部显示比例进行调整的需求,同时,使得在屏幕发生旋转时,根据第二显示参数显示即时视频画面,使得即时视频画面的显示不会因为屏幕旋转,而发生比例失调的情况,提高了用户体验,满足了用户需求。同时,使用本发明实施例所提供的方法,使得通过终端的硬件加速在几乎不影响原有性能的情况下实现了高效瘦脸和胖脸功能,相比其他方法节约了终端计算量,以最低的代价实现了较好的调整比例的效果,因为使用该方法不会影响终端硬件的使用,从而满足了用户需求,提高了用户体验。
实施例八
本发明实施例提供了一种电子设备14,参照图14所示,该电子设备14包括视频输入模块1401、视频输出模块1402、发送/接收模块1403、存储器1404以及与视频输入模块1401、视频输出模块1402、发送/接收模块1403和存储器1404连接的处理器1405,其中,存储器1404存储一组程序代码,处理器1405用于调用存储器1404中存储的程序代码,执行以下操作:
控制发送/接收模块1403接收其他电子设备发送的第一显示参数和位置参数;
根据第一显示参数和位置参数,调整即时视频画面区域,生成调整后的即时视频画面;
控制视频输出模块1402显示调整后的即时视频画面;
其中,第一显示参数用于指示即时视频画面的显示比例,位置参数用于指示所要调整的即时视频画面区域;
其中,处理器1405用于调用存储器1404中存储的程序代码还用于控制视频输入模块1401接收即时视频。
其中,视频输入模块包括摄像头,视频输出模块包括显示屏。
本发明实施例提供了一种电子设备,该电子设备通过接收其他电子设备发送的第一显示参数和位置参数,因为第一显示参数用于调整即时视频画面的显示比例,所以该电子设备根据接收的第一显示参数所指示的比例对即时视频画面的显示比例进行调整,实现了在接收端的电子设备上对即时视频画面某一区域的比例进行调整,使得即时视频画面可以根据其他电子设备用户的需求的比例进行调整,满足了用户需求,提高了用户体验;另一方面根据调整后的显示比例,显示调整后的即时视频画面,增加了即时视频画面的显示形式,从而满足了用户需求,提高了用户体验;另一方面,在传统的方法中,当屏幕由竖屏旋转为横屏时,即时视频画面会被压缩,从而导致即时视频中的显示物的比例失调,降低了用户体验,而使用本发明实施例所提供的方法,当屏幕发生旋转时,该电子设备获取第二显示参数,因为第二显示用于调整屏幕发生旋转后的即时视频画面的显示比例,所以根据第二显示参数,可以调整即时视频画面的显示比例,使得当屏幕发生旋转时,即时视频画面的显示更加符合用户需求,提高了用户体验,同时,因为设备自动判断屏幕是否发生旋转,简化了操作步骤,使得本发明实施例提供的方法更加智能化,满足了用户在即时视频中对自身的脸部显示比例进行调整的需求,同时,使得在屏幕发生旋转时,根据第二显示参数显示即时视频画面,使得即时视频画面的显示不会因为屏幕旋转,而发生比例失调的情况,提高了用户体验,满足了用户需求。同时,使用本发明实施例所提供的方法,使得通过终端的硬件加速在几乎不影响原有性能的情况下实现了高效瘦脸和胖脸功能,相比其他方法节约了终端计算量,以最低的代价实现了较好的调整比例的效果,因为使用该方法不会影响终端硬件的使用,从而满足了用户需求,提高了用户体验。
值得注意的是,上述实施例中所述的界面仅仅是示例性的,是为了进一步说明本发明实施例所述的方法,此处非特指,上述实施例中所述的“第一”和“第二”仅仅是为了区分二者的不同,此处并非特指。
上述所有可选技术方案,可以采用任意结合形成本发明的可选实施例,在此不再一一赘述。
需要说明的是:上述实施例提供的电子设备在执行即时视频画面的显示方法时,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将电子设备的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。另外,上述实施例提供的电子设备与即时视频画面的显示方法实施例属于同一构思,其具体实现过程详见方法实施例,这里不再赘述。
本领域普通技术人员可以理解实现上述实施例的全部或部分步骤可以通过硬件来完成,也可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,上述提到的存储介质可以是只读存储器,磁盘或光盘等。
以上所述仅为本发明的较佳实施例,并不用以限制本发明,凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。

Claims (18)

  1. 一种即时视频的显示方法,其特征在于,所述方法包括:
    获取用户输入的第一显示参数和位置参数;
    根据所述第一显示参数和所述位置参数,调整即时视频画面区域,生成调整后的即时视频画面;
    显示所述调整后的即时视频画面。
  2. 根据权利要求1所述的方法,其特征在于,所述获取用户输入的第一显示参数和位置参数包括:
    获取用户在至少一帧视频画面输入的手势轨迹;
    根据所述手势轨迹,获取所述第一显示参数和所述位置参数,所述位置参数至少包括所述位置的坐标;
    其中,所述第一显示参数用于指示即时视频画面的显示比例,所述位置参数用于指示所要调整的即时视频画面区域。
  3. 根据权利要求2所述的方法,其特征在于,所述方法还包括:
    确定所要调整的即时视频画面区域。
  4. 根据权利要求3所述的方法,其特征在于,所述根据所述第一显示参数和所述位置参数,调整即时视频画面区域包括:
    根据所述第一显示参数,对所述即时视频画面区域的像素间距进行调整,生成调整后的即时视频画面。
  5. 根据权利要求2至4任一所述的方法,其特征在于,所述方法还包括:
    若屏幕发生旋转,则获取第二显示参数,所述第二显示参数用于指示屏幕发生旋转后的即时视频画面的显示比例;
    根据所述第二显示参数,显示调整后的即时视频画面。
  6. 根据权利5所述的方法,其特征在于,根据所述第二显示参数,显示调 整后的即时视频画面包括:
    根据所述第二显示参数,调整所述发生旋转后的即时视频画面区域,生成调整后的即时视频画面,并显示所述调整后的即时视频画面。
  7. 根据权利要求6所述的方法,其特征在于,所述方法还包括:
    发送所述第一显示参数和所述位置参数至其他电子设备。
  8. 一种即时视频的显示方法,其特征在于,所述方法包括:
    接收其他电子设备发送的第一显示参数和位置参数;
    根据所述第一显示参数和所述位置参数,调整即时视频画面区域,生成调整后的即时视频画面;
    显示所述调整后的即时视频画面;
    其中,所述第一显示参数用于调整即时视频画面的显示比例,所述位置参数用于指示所要调整的即时视频画面区域。
  9. 一种电子设备,其特征在于,所述电子设备包括:
    获取模块,用于获取用户输入的第一显示参数和位置参数;
    调整模块,用于根据所述第一显示参数和所述位置参数,调整即时视频画面区域,生成调整后的即时视频画面;
    显示模块,用于显示所述调整后的即时视频画面。
  10. 根据权利要求9所述的设备,其特征在于,所述获取模块具体用于:
    获取用户在至少一帧视频画面输入的手势轨迹;
    根据所述手势轨迹,获取所述第一显示参数和所述位置参数,所述位置参数至少包括所述位置的坐标;
    其中,所述第一显示参数用于指示即时视频画面的显示比例,所述位置参数用于指示所要调整的即时视频画面区域。
  11. 根据权利要求10所述的设备,其特征在于,所述设备还包括:
    确定模块,用于确定所要调整的即时视频画面区域。
  12. 根据权利要求11所述的设备,其特征在于,所述调整模块具体用于:
    根据所述第一显示参数,对所述即时视频画面区域的像素间距进行调整,生成调整后的即时视频画面。
  13. 根据权利要求10至12任一所述的设备,其特征在于,所述设备还包括:
    判断模块,用于当判定屏幕发生旋转时,获取第二显示参数,所述第二显示参数用于指示屏幕发生旋转后的即时视频画面的显示比例;
    所述显示模块还用于根据所述第二显示参数,显示调整后的即时视频画面。
  14. 根据权利要求13所述的设备,其特征在于,
    所述调整模块还用于根据所述第二显示参数,调整所述发生旋转后的即时视频画面区域,生成调整后的即时视频画面,并触发显示模块显示所述调整后的即时视频画面。
  15. 根据权利要求13所述的设备,其特征在于,所述设备还包括:
    发送模块,用于发送所述第一显示参数和所述位置参数至其他电子设备。
  16. 一种电子设备,其特征在于,所述电子设备包括:
    接收模块,用于接收其他电子设备发送的第一显示参数和位置参数;
    调整模块,用于根据所述第一显示参数和所述位置参数,调整即时视频画面区域,生成调整后的即时视频画面;
    显示模块,显示所述调整后的即时视频画面;
    其中,所述第一显示参数用于调整即时视频画面的显示比例,所述位置参数用于指示所要调整的即时视频画面区域。
  17. 一种电子设备,其特征在于,所述电子设备包括:
    视频输入模块、视频输出模块、发送/接收模块、存储器以及与所述视频输入模块、所述视频输出模块、所述发送/接收模块和所述存储器连接的处理器,其中,所述存储器存储一组程序代码,所述处理器用于调用所述存储器中存储的程序代码,执行以下操作:
    获取用户输入的第一显示参数和位置参数;
    根据所述第一显示参数和所述位置参数,调整即时视频画面区域,生成调整后的即时视频画面;
    显示所述调整后的即时视频画面。
    其中,所述处理器调用所述存储器中存储的程序代码还用于控制视频输入模块接收即时视频。
  18. 一种电子设备,其特征在于,所述电子设备包括:
    视频输入模块、视频输出模块、发送/接收模块、存储器以及与所述视频输入模块、所述视频输出模块、所述发送/接收模块和所述存储器连接的处理器,其中,所述存储器存储一组程序代码,所述处理器用于调用所述存储器中存储的程序代码,执行以下操作:
    接收其他电子设备发送的第一显示参数和位置参数;
    根据所述第一显示参数和所述位置参数,调整即时视频画面区域,生成调整后的即时视频画面;
    显示所述调整后的即时视频画面;
    其中,所述第一显示参数用于指示即时视频画面的显示比例,所述位置参数用于指示所要调整的即时视频画面区域;
    所述处理器调用所述存储器中存储的程序代码还用于控制视频输入模块接收即时视频。
PCT/CN2016/086146 2015-06-18 2016-06-17 一种即时视频的显示方法和电子设备 WO2016202288A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510342471.5A CN105005441B (zh) 2015-06-18 2015-06-18 一种即时视频的显示方法和电子设备
CN201510342471.5 2015-06-18

Publications (1)

Publication Number Publication Date
WO2016202288A1 true WO2016202288A1 (zh) 2016-12-22

Family

ID=54378125

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/086146 WO2016202288A1 (zh) 2015-06-18 2016-06-17 一种即时视频的显示方法和电子设备

Country Status (2)

Country Link
CN (1) CN105005441B (zh)
WO (1) WO2016202288A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112333513A (zh) * 2020-07-09 2021-02-05 深圳Tcl新技术有限公司 竖屏视频库的创建方法、设备及存储介质

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105005441B (zh) * 2015-06-18 2018-11-06 美国掌赢信息科技有限公司 一种即时视频的显示方法和电子设备
CN107295251B (zh) * 2017-06-09 2018-09-25 腾讯科技(深圳)有限公司 图像处理方法、装置、终端及存储介质
CN107608650B (zh) * 2017-09-18 2020-09-29 北京京东尚科信息技术有限公司 图形的展示方法、系统及电子设备
CN112153288B (zh) * 2020-09-25 2023-10-13 北京字跳网络技术有限公司 用于发布视频或图像的方法、装置、设备和介质
CN112218136B (zh) * 2020-10-10 2021-08-10 腾讯科技(深圳)有限公司 视频处理方法、装置、计算机设备及存储介质

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104318218A (zh) * 2014-10-29 2015-01-28 百度在线网络技术(北京)有限公司 图像识别方法和装置
CN104469253A (zh) * 2015-01-05 2015-03-25 掌赢信息科技(上海)有限公司 一种即时视频中的人脸美化方法和电子设备
CN105005441A (zh) * 2015-06-18 2015-10-28 美国掌赢信息科技有限公司 一种即时视频的显示方法和电子设备

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
NO332170B1 (no) * 2009-10-14 2012-07-16 Cisco Systems Int Sarl Anordning og fremgangsmate for kamerakontroll
CN102215372B (zh) * 2010-04-07 2015-04-15 苹果公司 视频会议中的远程控制操作
CN101951493A (zh) * 2010-09-25 2011-01-19 中兴通讯股份有限公司 移动终端及其视频通话中对远端图像局部放大方法
CN103096045B (zh) * 2011-10-28 2016-03-23 宏碁股份有限公司 利用手势调整视频影像压缩的方法
WO2014014238A1 (en) * 2012-07-17 2014-01-23 Samsung Electronics Co., Ltd. System and method for providing image

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104318218A (zh) * 2014-10-29 2015-01-28 百度在线网络技术(北京)有限公司 图像识别方法和装置
CN104469253A (zh) * 2015-01-05 2015-03-25 掌赢信息科技(上海)有限公司 一种即时视频中的人脸美化方法和电子设备
CN105005441A (zh) * 2015-06-18 2015-10-28 美国掌赢信息科技有限公司 一种即时视频的显示方法和电子设备

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112333513A (zh) * 2020-07-09 2021-02-05 深圳Tcl新技术有限公司 竖屏视频库的创建方法、设备及存储介质
CN112333513B (zh) * 2020-07-09 2024-02-06 深圳Tcl新技术有限公司 竖屏视频库的创建方法、设备及存储介质

Also Published As

Publication number Publication date
CN105005441B (zh) 2018-11-06
CN105005441A (zh) 2015-10-28

Similar Documents

Publication Publication Date Title
WO2016202288A1 (zh) 一种即时视频的显示方法和电子设备
AU2022200580B2 (en) Photographing method, photographing apparatus, and mobile terminal
US11032514B2 (en) Method and apparatus for providing image service
US11481975B2 (en) Image processing method and apparatus, electronic device, and computer-readable storage medium
AU2014290798B2 (en) Wireless video camera
US9742995B2 (en) Receiver-controlled panoramic view video share
KR101085680B1 (ko) 모바일 장치 및 이를 이용한 증강 현실 구현 방법
CN111078168B (zh) 一种信息处理方法、第一电子设备和存储介质
WO2019129020A1 (zh) 一种摄像头自动调焦方法、存储设备及移动终端
CN112689094B (zh) 摄像头防抖提示方法、装置及电子设备
US11539888B2 (en) Method and apparatus for processing video data
CN110602401A (zh) 一种拍照方法及终端
EP2924987A1 (en) Image control method and terminal, video conference apparatus
JPWO2016038971A1 (ja) 撮像制御装置、撮像制御方法、カメラ、カメラシステム及びプログラム
WO2015122052A1 (ja) 画像送信装置、情報処理端末、画像送信方法、情報処理方法、プログラム及び情報記憶媒体
CN112217990A (zh) 任务调度方法、任务调度装置及存储介质
WO2022088974A1 (zh) 一种遥控方法、电子设备及系统
CN103873759A (zh) 一种拍摄方法及电子设备
US11636571B1 (en) Adaptive dewarping of wide angle video frames
WO2020000393A1 (zh) 图像处理方法及装置、第一电子设备和图像处理系统
CN112584110B (zh) 白平衡调节方法、装置、电子设备及存储介质
EP3848894A1 (en) Method and device for segmenting image, and storage medium
WO2022001733A1 (zh) 一种拍摄对象的显示方法及装置、存储介质、终端
WO2022228259A1 (zh) 一种目标追踪方法及相关装置
CN110913119A (zh) 视频拍摄的控制方法、装置、视频终端以及存储介质

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16811029

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205N DATED 290318)

122 Ep: pct application non-entry in european phase

Ref document number: 16811029

Country of ref document: EP

Kind code of ref document: A1