WO2019056701A1 - 信息处理方法、装置、计算机设备和存储介质 - Google Patents

信息处理方法、装置、计算机设备和存储介质 Download PDF

Info

Publication number
WO2019056701A1
WO2019056701A1 PCT/CN2018/077157 CN2018077157W WO2019056701A1 WO 2019056701 A1 WO2019056701 A1 WO 2019056701A1 CN 2018077157 W CN2018077157 W CN 2018077157W WO 2019056701 A1 WO2019056701 A1 WO 2019056701A1
Authority
WO
WIPO (PCT)
Prior art keywords
image
target image
angle
video
target
Prior art date
Application number
PCT/CN2018/077157
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 WO2019056701A1 publication Critical patent/WO2019056701A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • H04L65/75Media network packet handling
    • H04L65/765Media network packet handling intermediate
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00Geometric image transformations in the plane of the image
    • G06T3/40Scaling of whole images or parts thereof, e.g. expanding or contracting
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00Geometric image transformations in the plane of the image
    • G06T3/60Rotation of whole images or parts thereof

Definitions

  • the present application relates to an information processing method, apparatus, computer device, and storage medium.
  • the current user can send video data to a target user such as a friend through an instant messaging tool such as WeChat, and the server obtains the video data after receiving the video data.
  • An image is sent to the corresponding friend, so that the friend can understand the content of the video data, and when the friend requests to play the video, the video is sent to the friend's terminal for playing.
  • the angle of the photographing device is often misplaced when the video is taken, and thus the angle of the image sent to the target user is also rotated, which increases the difficulty for the user to view the image and reduces the efficiency of communication between users.
  • an information processing method, apparatus, computer device, and storage medium are provided.
  • An information processing method includes:
  • An information processing apparatus comprising:
  • a sending request receiving module configured to receive a video sending request sent by the sending terminal, where the video sending request carries video data and a receiving terminal identifier;
  • a target image acquisition module configured to acquire a target image in the video data
  • an image angle acquisition module configured to acquire an image angle of the target image
  • a processing module configured to perform angle adjustment on the target image according to an image angle of the target image and a preset image angle standard, to obtain a processed image
  • an image sending module configured to send the processed image to the receiving terminal corresponding to the receiving terminal identifier.
  • a computer apparatus comprising a memory and one or more processors having stored therein computer readable instructions that, when executed by a processor, implement the steps of the information processing methods provided in any of the embodiments of the present application.
  • One or more non-transitory computer readable storage media storing computer readable instructions, when executed by one or more processors, causing one or more processors to implement any of the embodiments herein The steps of the information processing method provided.
  • FIG 1 is an application environment diagram of an information processing method provided in accordance with one or more embodiments.
  • FIG. 2 is a flow chart of an information processing method in accordance with one or more embodiments.
  • 3 is a flow chart of an information processing method in other embodiments.
  • FIG. 4 is a flow diagram of acquiring an image angle of a target image in accordance with one or more embodiments.
  • FIG. 5 is a flow chart of an information processing method in other embodiments.
  • FIG. 6 is a flow chart of an information processing method in other embodiments.
  • FIG. 7 is a flow chart of an information processing method in other embodiments.
  • FIG. 8 is a block diagram of an information processing apparatus in accordance with one or more embodiments.
  • Figure 9 is a block diagram of an information processing apparatus in other embodiments.
  • FIG. 10 is a block diagram of an image angle acquisition module in accordance with one or more embodiments.
  • Figure 11 is a block diagram of an information processing apparatus in other embodiments.
  • Figure 12 is a block diagram of an information processing apparatus in still other embodiments.
  • FIG. 13 is a block diagram of an information processing apparatus in still other embodiments.
  • Figure 14 is a block diagram of a computer device in accordance with one or more embodiments.
  • FIG. 1 is an application environment diagram of an information processing method provided in some embodiments.
  • the application environment includes a transmitting terminal 110, a computer device 120, and a receiving terminal 130.
  • the sending terminal 110 needs to send the video data to the receiving terminal 130
  • the video sending request is sent to the computer device 120
  • the video sending request carries the video data and the receiving terminal identifier
  • the computer device 120 receives the video sending request sent by the sending terminal 110, and obtains the video.
  • the target image in the data and the image angle of the target image, and then the angle of the target image is adjusted according to the image angle of the target image and the preset image angle standard, and the processed image is obtained, and the processed image is sent to the receiving terminal identifier.
  • Corresponding receiving terminal 130 corresponds the receiving terminal 130.
  • the computer device 120 may be a stand-alone physical server or terminal, or may be a server cluster composed of multiple physical servers, and may be a cloud server that provides basic cloud computing services such as a cloud server, a cloud database, a cloud storage, and a CDN.
  • the transmitting terminal 110 and the receiving terminal 120 may be smart phones, tablets, notebook computers, desktop computers, smart speakers, smart watches, etc., but are not limited thereto.
  • an information processing method is provided, which may be applied to the computer device 120, and may specifically include the following steps:
  • Step S202 Receive a video transmission request sent by the sending terminal, where the video transmission request carries the video data and the receiving terminal identifier.
  • the video data may be a video obtained in real time or a video that has been taken in advance.
  • the video capture button in WeChat you can click on the video capture button in WeChat to capture the video in real time. You can also get videos that have been taken in advance from the phone album.
  • the transmitting terminal needs to send information to the receiving terminal, a video transmission request is sent to the computer device, and the computer device receives the video transmission request, and the video transmission request carries the video data and the receiving terminal identifier.
  • the above social applications may be instant messaging applications, SNS (Social Network Services) applications, and post bar applications.
  • Instant messaging applications may include WeChat, circle of friends, QQ space, MSN, and the like.
  • the SNS application may include, but is not limited to, Renren.com and Facebook.
  • Step S204 acquiring a target image in the video data.
  • the target image may be one or more, and the acquisition rule of the target image may be set according to actual needs.
  • the target image may be selected from the video data according to a preset image selection rule, or may be acquired according to image selection information sent by the transmitting terminal or the receiving terminal.
  • the preset image selection rule may be to randomly select an image or to select a certain image such as the first image of the video data by default.
  • the image acquisition tool such as the FFMPG tool can be called through the program interface to acquire the target image.
  • Step S206 acquiring an image angle of the target image.
  • the image angle of the target image may be carried in the sending terminal sending the video transmission request. It can also be obtained by other image angle acquisition methods.
  • the neural network model can be acquired by training the image angle in advance, and the target image is input into the image angle acquisition neural network model to obtain the image angle of the target image.
  • the angle of the target image is obtained from a gravity sensor such as a gyroscope of the photographing device when the video is captured.
  • the video transmission request may carry angle information of the photographing device that captures the video data.
  • Step S208 performing angle adjustment on the target image according to the image angle of the target image and the preset image angle standard, to obtain the processed image.
  • the image angle standard is preset, and the image angle standard may be a specific angle, such as 0°.
  • the image angle criterion may be that the angle of the processed image is the same as the angle of the receiving terminal. Therefore, before the angle adjustment is performed, the current angle of the receiving terminal can be acquired, and then the target image is angle-adjusted according to the current angle of the receiving terminal, so that the image angle matches the angle of the receiving terminal.
  • the amount of angle that is adjusted each time the target image angle is adjusted may be a preset value.
  • the angle value for each adjustment can be 90 degrees.
  • Step S210 Send the processed image to the receiving terminal corresponding to the receiving terminal identifier.
  • the processed image is sent to the receiving terminal identifier corresponding to the receiving terminal.
  • the display time of each target image and the display order may also be set, so that after receiving the target image, the receiving terminal displays the target image in the order of display and the display time.
  • the information processing method After receiving the video transmission request sent by the transmitting terminal and receiving the video identification request of the terminal identifier, the information processing method acquires the image angle of the target image and the target image in the video data, and then according to the image angle of the target image and the preset image.
  • the angle standard adjusts the angle of the target image to obtain a processed image, and sends the processed image to the receiving terminal corresponding to the receiving terminal identifier. Since the target image is angle-adjusted according to the image angle of the target image and the preset image angle standard when the image of the video data is sent to the receiving terminal, the user is convenient to view the image, which saves user time and improves the efficiency of communication between users.
  • the information processing method may further include step S302: receiving image selection information sent by the transmitting terminal.
  • Step S204: Acquiring the target image in the video data includes: acquiring the target image in the video data according to the image selection information.
  • the image selection information may be carried in the sending video transmission request, or may be sent before the video transmission request is sent.
  • Image selection information can be defined as needed. For example, it may be a sequence number of an image frame in a video, a play time, a reflected scene such as at least one of a meal scene map, and the like.
  • the target image is acquired based on the image selection information. For example, an image corresponding to the serial number in the video data is acquired according to the sequence number of the image frame, an image corresponding to the playback time is acquired according to the playing time, image recognition is performed according to the reflected scene, and an image matching the scene is identified as a target image or the like.
  • the step of acquiring the image angle of the target image in step S206 includes:
  • Step S402 acquiring a face angle in the target image and a face angle in the reference image of the target image, the reference image including the previous image of the target image in the video data and/or the subsequent image of the target image.
  • the previous image refers to an image in which the time is played before the target image, and in the latter image refers to the image whose time is after the target image.
  • the previous image may refer to n consecutive images of the target image, and the latter image may refer to m images after the target image. Where n and m are positive integers, and the specific values can be set as needed. For example, 2 and 3.
  • the previous image may also be randomly extracted from the first n images of the target image or extracted at a preset interval, and the latter image may also be randomly extracted from the last m images of the target image or extracted at preset intervals.
  • the first n images of one target image may include other target images, and the last n images of one target image may also include other target images.
  • the target image is the sixth and seventh images in the video data
  • the first two images of the seventh image include the sixth image.
  • the reference image may include a prior image or a subsequent image, and may also include both the prior image and the subsequent image.
  • Step S404 calculating a difference value of a face angle of the target image and a face angle of the reference image.
  • the method for expressing the difference value of the face angle of the target image and the face angle of the reference image may be set according to requirements, for example, the difference between the angles may be expressed by the ratio.
  • the difference refers to the difference between the face angle of the target image and the face angle of the reference image.
  • the ratio may be a ratio of a face angle of the target image and a face angle of the reference image, or a ratio of a face angle of the target image and a face angle of the reference image to a face angle of the target image, or a person of the target image
  • the value of the difference value may include a plurality, and in some embodiments, the difference value of the angle between the two images may be calculated in order of the play time of the image.
  • Step S406 when the difference value is within the preset threshold, the image angle of the target image is obtained according to the face angle of the target image.
  • the preset threshold can be set as needed. For example, 10 degrees. If the difference value is outside the preset threshold, that is, greater than the preset threshold, the description may be caused by a person in the video in a certain image. Therefore, the image angle may be obtained by other methods or in combination with other methods. If the difference value is within the preset threshold, the image angle of the target image is obtained according to the face angle of the target image. For example, the face angle of the target image can be used as the image angle of the target image. The image angle of the target image may be obtained by combining the image angle information carried by the video data with the face angle of the target image. For example, the average of the image angle carried by the video data and the face angle of the target image is used as the image angle of the target image. In some embodiments, when there are a plurality of target images, since the angle of the photographing device generally does not change when the image is taken, the average angle of the target image may be taken as the image angle of each target image.
  • the image angle of the target image is obtained by the face angle of the target image, thereby improving the accuracy of acquiring the image angle, and at the same time calculating the difference between the face angle of the target image and the face angle of the reference image.
  • the difference value is within the preset threshold
  • the image angle of the target image is obtained according to the face angle of the target image, so that the image angle judgment error caused by the intentional gimmick of the person in the image may be reduced, and the acquired image is further improved. The accuracy of the angle.
  • the information processing method may further include step S502: acquiring an image size of the target image.
  • Step S208 is to adjust the angle of the target image according to the image angle of the target image and the preset image angle standard.
  • the step of obtaining the processed image includes: scaling the target image according to the image size of the target image and the preset image size standard. And adjusting the angle of the target image according to the image angle of the target image and the preset image angle standard to obtain the processed image.
  • the image size standard is preset, and may be a specific image size, for example, the image size standard is 480 pixels * 320 pixels. It can also refer to the adjustment criteria of the image size, for example, scaling the image to 0.5 times.
  • the size and angle of the target image are acquired, the size and angle of the target image are adjusted to obtain a processed image. It can be understood that the target image may be first scaled, or the angle may be adjusted first and then scaled.
  • the embodiment of the present application does not limit the order of image scaling and image angle adjustment.
  • the target image when the acquired target image is 960*640 pixels, the image angle is 25°, the image size standard is 480 pixels*320 pixels, and the image angle standard is 0 degrees, the target image can be reduced by 0.5 times, and the obtained image is The size is 480 pixels * 320 pixels, and then the image angle is adjusted to 0 °.
  • the following steps may be further included:
  • Step S602 Receive a video play request sent by the receiving terminal, where the video play request carries video selection information.
  • the video selection information may be specifically set as needed. For example, it can be a play time, a video scene, or a video size, such as 22MB or the like.
  • the receiving terminal may receive the video selection information input by the user, receive a video play request from the computer device, and the computer device receives the video play request.
  • Step S604 acquiring corresponding video selection content in the video data according to the video selection information.
  • the video selection information in the video play request is acquired, and the corresponding video selection content in the video data is obtained according to the video selection information.
  • the video selection information includes the playback time from the 0th minute to the 5th minute
  • the video data of the 0th minute to the fifth minute is acquired, and the video selection content is obtained.
  • the video selection information includes a video scene
  • the video data including the scene is identified in the video data
  • the video selection content is obtained.
  • the video selection information includes a video size of 22 MB
  • 22 MB of video data is obtained from the video data to obtain a video selection content.
  • Step S606 the video selection content is sent to the receiving terminal.
  • the video selection content is sent to the receiving terminal, so that the receiving terminal can play the video selection content.
  • the correspondence between the receiving terminal attribute information and the video format may also be set.
  • the terminal attribute may be, for example, hardware device information or operating system information of the terminal.
  • receiving the video data acquiring terminal attribute information of the receiving terminal. And obtaining, according to the correspondence between the terminal attribute information and the video format, the conversion corresponding to the receiving terminal, so that the video can be better played on the receiving terminal. For example, if the receiving terminal is a computer with a Windows system installed, the video can be converted to MPEG format.
  • the information processing method may further include the following steps:
  • Step S702 acquiring an image information adding rule, where the image information adding rule includes adding content and a layout manner.
  • Step S208 is to adjust the angle of the target image according to the image angle of the target image and the preset image angle standard, and the step of obtaining the processed image includes: adding information on the target image according to the image information adding rule, and according to the target image.
  • the image angle and the preset image angle standard adjust the angle of the target image to obtain a processed image.
  • the added content refers to information to be added on the image
  • the layout manner refers to the position of the added information in the image.
  • the added content may include, for example, a play time corresponding to the target image, user information corresponding to the receiving terminal or the transmitting terminal, an identifier corresponding to the social application, a character generated according to the device identifier of the transmitting terminal, and a preset character encoding rule, a video capture address, and a video capture.
  • the layout may include a specific location such as the lower left of the image, or may include layout rules, such as adding information at the background of the image.
  • the image information addition rule further includes a style of adding content, such as a small fresh style or the like. It can be understood that the information may be added to the target image first, or the information may be added after the angle adjustment is performed.
  • a style of adding content such as a small fresh style or the like.
  • an information processing apparatus is provided.
  • the information processing apparatus can be integrated into the computer device 120, including:
  • the sending request receiving module 802 is configured to receive a video sending request sent by the sending terminal, where the video sending request carries the video data and the receiving terminal identifier;
  • a target image obtaining module 804 configured to acquire a target image in the video data
  • An image angle obtaining module 806, configured to acquire an image angle of the target image
  • the processing module 808 is configured to perform angle adjustment on the target image according to an image angle of the target image and a preset image angle standard, to obtain a processed image;
  • the image sending module 810 is configured to send the processed image to the receiving terminal corresponding to the receiving terminal identifier.
  • the information processing apparatus further includes: a selection information receiving module 902, configured to receive image selection information sent by the transmitting terminal;
  • the target image obtaining module 804 is configured to: acquire a target image in the video data according to the image selection information.
  • the image angle acquisition module 806 when the target image includes a human face, the image angle acquisition module 806 includes:
  • the face angle obtaining unit 1002 is configured to acquire a face angle in the target image and a face angle in the reference image of the target image, where the reference image includes a previous image of the target image in the video data and/or a subsequent image of the target image ;
  • a difference value calculation unit 1004 configured to calculate a difference between a face angle of the target image and a face angle of the reference image
  • the image angle obtaining unit 1006 is configured to acquire an image angle of the target image according to a face angle of the target image when the difference value is within the preset threshold.
  • the information processing apparatus further includes:
  • the image size obtaining module 1102 is configured to acquire an image size of the target image.
  • the processing module 808 is configured to: scale the target image according to the image size of the target image and the preset image size standard, and perform angle adjustment on the target image according to the image angle of the target image and the preset image angle standard, and obtain the processed image. image.
  • the information processing apparatus further includes:
  • the play request receiving module 1202 is configured to receive a video play request sent by the receiving terminal, where the video play request carries video selection information;
  • the video selection module 1204 is configured to acquire corresponding video selection content in the video data according to the video selection information.
  • the video content sending module 1206 is configured to send the video selection content to the receiving terminal.
  • the information processing apparatus may further include an addition rule acquisition module 1302 for acquiring an image information addition rule, and the image information addition rule includes adding content and a layout manner.
  • the processing module 808 includes: adding information to the target image according to the image information adding rule, and performing angle adjustment on the target image according to the image angle of the target image and the preset image angle standard, to obtain the processed image.
  • the various modules in the above information processing apparatus may be implemented in whole or in part by software, hardware, and combinations thereof.
  • Each of the above modules may be embedded in or independent of the processor in the computer device, or may be stored in a memory in the computer device in a software form, so that the processor can invoke the operations corresponding to the above modules.
  • the 14 is an internal structural diagram of a computer device in some embodiments, which may be a server that connects a processor, a non-volatile storage medium, an internal memory, and a network interface through a system connection bus.
  • the non-volatile storage medium can be a non-transitory computer readable storage medium.
  • the non-volatile storage medium of the computer device can store an operating system and computer readable instructions that, when executed, cause the processor to perform an information processing method.
  • the processor of the computer device is used to provide computing and control capabilities to support the operation of the entire computer device.
  • the internal memory can store computer readable instructions that, when executed by the processor, cause the processor to perform an information processing method.
  • the network interface of the computer device is used for network communication, such as receiving a video transmission request, transmitting the processed image, and the like.
  • FIG. 14 is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation of the computer device to which the solution of the present application is applied.
  • the specific computer device may It includes more or fewer components than those shown in the figures, or some components are combined, or have different component arrangements.
  • the information processing apparatus can be implemented in the form of a computer readable instruction that can be run on a computer device as shown in FIG. 14, non-volatile storage of the computer device
  • the medium may store various program modules constituting the information processing apparatus, such as the transmission request receiving module 802, the target image acquisition module 804, the image angle acquisition module 806, the processing module 808, and the image transmission module 810 in FIG.
  • Each of the program modules includes computer readable instructions for causing a computer device to perform the steps in the information processing method of the various embodiments of the present application described in the present specification.
  • the computer device can be as shown in FIG.
  • the sending request receiving module 802 in the information processing device receives the video sending request sent by the sending terminal, the video sending request carries the video data and the receiving terminal identifier, and the target image in the video data is acquired by the target image acquiring module 804, and the image angle acquiring module 806 is obtained.
  • the processing module 808 performs angle adjustment on the target image according to the image angle of the target image and the preset image angle standard, and obtains the processed image and sends the processed image to the receiving by the image sending module 810.
  • the receiving terminal corresponding to the terminal identifier.
  • a computer device comprising a memory and one or more processors, the memory storing computer readable instructions, the computer readable instructions being executed by the processor, causing the one or more processors to perform the step of: receiving the transmission by the transmitting terminal a video sending request, the video sending request carries the video data and the receiving terminal identifier; acquiring the target image in the video data; acquiring the image angle of the target image; and adjusting the angle of the target image according to the image angle of the target image and the preset image angle standard, Obtaining the processed image; and transmitting the processed image to the receiving terminal corresponding to the receiving terminal identifier.
  • One or more non-transitory computer readable storage mediums storing computer readable instructions, when executed by one or more processors, cause one or more processors to perform the steps of: receiving a transmitting terminal Video transmission request, video transmission request carries video data and receiving terminal identifier; acquires target image in video data; acquires image angle of target image; adjusts angle of target image according to image angle of target image and preset image angle standard And obtaining the processed image; and sending the processed image to the receiving terminal corresponding to the receiving terminal identifier.
  • Non-volatile memory can include read only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory.
  • Volatile memory can include random access memory (RAM) or external cache memory.
  • RAM is available in a variety of formats, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronization chain.
  • SRAM static RAM
  • DRAM dynamic RAM
  • SDRAM synchronous DRAM
  • DDRSDRAM double data rate SDRAM
  • ESDRAM enhanced SDRAM
  • Synchlink DRAM SLDRAM
  • Memory Bus Radbus
  • RDRAM Direct RAM
  • DRAM Direct Memory Bus Dynamic RAM
  • RDRAM Memory Bus Dynamic RAM

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Multimedia (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Image Analysis (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

一种信息处理方法,包括:接收发送终端发送的视频发送请求,所述视频发送请求携带视频数据以及接收终端标识;获取所述视频数据中的目标图像;获取所述目标图像的图像角度;根据所述目标图像的图像角度以及预设的图像角度标准对所述目标图像进行角度调节,得到处理后的图像;及,将所述处理后的图像发送给所述接收终端标识对应的接收终端。

Description

信息处理方法、装置、计算机设备和存储介质
相关申请的交叉引用
本申请要求于2017年09月20日提交中国专利局,申请号为2017108501257,申请名称为“信息处理方法、装置、计算机设备和存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及一种信息处理方法、装置、计算机设备和存储介质。
背景技术
随着信息技术的发展,通过视频传递信息越来越常见,例如在即时通讯中,当前用户可以通过即时通讯工具如微信向目标用户例如好友发送视频数据,服务器接收到视频数据后获取视频中的一张图像发送给对应的好友,使好友可以了解视频数据的内容,当好友请求播放视频时再将视频发送到好友的终端中进行播放。然而,发明人意识到,拍摄视频时拍摄设备的角度经常摆放不正,因此发送给目标用户的图像的角度也有旋转,增加了用户查看图像的难度,降低了用户间交流的效率。
发明内容
根据本申请公开的各种实施例,提供一种信息处理方法、装置、计算机设备和存储介质。
一种信息处理方法,包括:
接收发送终端发送的视频发送请求,所述视频发送请求携带视频数据以及接收终端标识;
获取所述视频数据中的目标图像;
获取所述目标图像的图像角度;根据所述目标图像的图像角度以及预设的图像角度标准对所述目标图像进行角度调节,得到处理后的图像;及
将所述处理后的图像发送给所述接收终端标识对应的接收终端。
一种信息处理装置,包括:
发送请求接收模块,用于接收发送终端发送的视频发送请求,所述视频发送请求携带视频数据以及接收终端标识;
目标图像获取模块,用于获取所述视频数据中的目标图像;图像角度获取模块,用于获取所述目标图像的图像角度;
处理模块,用于根据所述目标图像的图像角度以及预设的图像角度标准对所述目标图像进行角度调节,得到处理后的图像;及
图像发送模块,用于将所述处理后的图像发送给所述接收终端标识对应的接收终端。
一种计算机设备,包括存储器和一个或多个处理器,存储器中存储有计算机可读指令,计算机可读指令被处理器执行时实现本申请任意一些实施例中提供的信息处理方法的步骤。
一个或多个存储有计算机可读指令的非易失性计算机可读存储介质,计算机可读指令被一个或多个处理器执行时,使得一个或多个处理器实现本申请任意一些实施例中提供的信息处理方法的步骤。
本申请的一个或多个实施例的细节在下面的附图和描述中提出。本申请的其它特征和优点将从说明书、附图以及权利要求书变得明显。
附图说明
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其它的附图。
图1为根据一个或多个实施例中提供的信息处理方法的应用环境图。
图2为根据一个或多个实施例中信息处理方法的流程图。
图3为另一些实施例中信息处理方法的流程图。
图4为根据一个或多个实施例中获取目标图像的图像角度的流程图。
图5为另一些实施例中信息处理方法的流程图。
图6为另一些实施例中信息处理方法的流程图。
图7为另一些实施例中信息处理方法的流程图。
图8为根据一个或多个实施例中信息处理装置的框图。
图9为另一些实施例中信息处理装置的框图。
图10为根据一个或多个实施例中图像角度获取模块的框图。
图11为另一些实施例中信息处理装置的框图。
图12为另一些实施例中信息处理装置的框图。
图13为另一些实施例中信息处理装置的框图。
图14为根据一个或多个实施例中计算机设备的框图。
具体实施方式
为了使本申请的技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。
图1为一些实施例中提供的信息处理方法的应用环境图,如图1所示,在该应用环境中,包括发送终端110、计算机设备120以及接收终端130。当发送终端110需要将视频数据发送给接收终端130时,向计算机设备120发送视频发送请求,视频发送请求携带视频数据以及接收终端标识,计算机设备120接收发送终端110发送的视频发送请求,获取视频数据中的目标图像以及目标图像的图像角度,然后根据目标图像的图像角度以及预设的图像角度标准对目标图像进行角度调节,得到处理后的图像,并将处理后的图像发送给接收终端标识对应的接收终端130。
计算机设备120可以是独立的物理服务器或终端,也可以是多个物理服务器构成的服务器集群,可以是提供云服务器、云数据库、云存储和CDN等基础云计算服务的云服务器。发送终端110以及接收终端120可以是智能手机、平板电脑、笔记本电脑、台式计算机、智能音箱、智能手表等,但并不局限于此。
如图2所示,在一些实施例中,提出了一种信息处理方法,该信息处理方法可以应用于上述的计算机设备120中,具体可以包括以下步骤:
步骤S202,接收发送终端发送的视频发送请求,视频发送请求携带视频数据以及接收终端标识。
具体地,视频数据可以是实时得到的视频,也可以是已经提前拍摄好的视频。例如,在微信应用中,可以点击微信中的视频拍摄按键,实时拍摄视频。也可以从手机相册中获取已经提前拍摄好的视频。在社交应用中,当发送终端需要向接收终端发送信息时,向计算机设 备发送视频发送请求,计算机设备接收视频发送请求,视频发送请求携带视频数据以及接收终端标识。
上述的社交应用可以是即时通信应用、SNS(Social Network Services,社会网络服务)应用以及贴吧应用等。即时通信应用可包括微信、朋友圈、QQ空间、MSN等。SNS应用可包括人人网以及Facebook等,但不限于此。
步骤S204,获取视频数据中的目标图像。
具体地,目标图像可以为一张或多张,目标图像的获取规则可以根据实际需要进行设置。例如目标图像可以是根据预先设置的图像选择规则从视频数据中选取的,也可以是根据发送终端或接收终端发送的图像选择信息获取的。预设的图像选择规则可以是随机选择一张图像,或者默认选择某一张图像例如视频数据的第一张图像。可以通过程序接口调用图像获取工具例如FFMPG工具获取目标图像。
步骤S206,获取目标图像的图像角度。
具体地,目标图像的图像角度可以是在发送终端发送视频发送请求中携带的。也可以通过其他图像角度获取方法得到,例如,可以预先训练图像角度获取神经网络模型,得到目标图像后将目标图像输入到图像角度获取神经网络模型中,得到目标图像的图像角度。
在一实施例中,目标图像的角度是在拍摄视频时根据拍摄设备的重力感应器例如陀螺仪得到的。视频发送请求中可以携带拍摄视频数据的拍摄设备的角度信息。
步骤S208,根据目标图像的图像角度以及预设的图像角度标准对目标图像进行角度调节,得到处理后的图像。
具体地,图像角度标准是预先设置的,图像角度标准可以是具体的角度,例如0°。在一些实施例中,图像角度标准可以是处理后的图像的角度与接收终端的角度相同。因此在进行角度调节前,可以获取接收终端当前的角度,然后根据接收终端当前的角度对目标图像进行角度调节,以使图像角度与接收终端的角度匹配。
在一些实施例中,对目标图像角度进行调节时每次调节的角度量可以是预设值。例如每次调节的角度值可以是90度。
步骤S210,将处理后的图像发送给接收终端标识对应的接收终端。
具体地,当得到处理后的图像后,将处理后的图像发送给接收终端标识对应接收终端。在一些实施例中,当目标图像为多张时,还可以设置每张目标图像的展示时间以及展示顺序, 使接收终端接收到目标图像后,按展示顺序以及展示时间展示目标图像。
上述信息处理方法,在接收发送终端发送的携带视频数据以及接收终端标识的视频发送请求后,获取视频数据中的目标图像以及目标图像的图像角度,然后根据目标图像的图像角度以及预设的图像角度标准对目标图像进行角度调节,得到处理后的图像,将处理后的图像发送给接收终端标识对应的接收终端。由于在向接收终端发送视频数据的图像时根据目标图像的图像角度以及预设的图像角度标准对目标图像进行角度调节,因此方便用户查看图像,节约了用户时间,提高了用户间交流的效率。
在一些实施例中,如图3所示,信息处理方法还可以包括步骤S302:接收发送终端发送的图像选择信息。步骤S204即获取视频数据中的目标图像的步骤包括:根据图像选择信息获取视频数据中的目标图像。
具体地,图像选择信息可以是在发送视频发送请求中携带的,也可以是在发送视频发送请求前发送的。图像选择信息可以根据需求定义。例如可以是视频中图像帧的序号、播放时间、所反映的场景例如吃饭场景图中的至少一个等等。接收到图像选择信息后,根据图像选择信息获取目标图像。例如,根据图像帧的序号获取视频数据中对应序号的图像,根据播放时间获取该播放时间对应的图像,根据所反映场景进行图像识别,识别与所在场景匹配的图像作为目标图像等等。
在一些实施例中,如图4所示,当目标图像包括人脸时,步骤S206即获取目标图像的图像角度的步骤包括:
步骤S402,获取目标图像中的人脸角度以及目标图像的参考图像中的人脸角度,参考图像包括视频数据中目标图像的在先图像和/或目标图像的在后图像。
具体地,在先图像指视频数据中播放时间在目标图像之前的图像,在后图像指视频数据中播放时间在目标图像之后的图像。在先图像可以是指目标图像前n张连续的图像,在后图像可以是指目标图像后m张图像。其中n与m为正整数,具体数值可以根据需要设置。例如为2和3。在先图像也可以是目标图像的前n张图像中随机抽取或者按照预设间隔抽取的图像,在后图像也可以是目标图像的后m张图像中随机抽取或者按照预设间隔抽取的图像。可以理解,当目标图像有多张时,一个目标图像的前n张图像可以包括其他的目标图像,一个目标图像的后n张图像也可以包括其他的目标图像。例如,若目标图像为视频数据中的第6张以及第7张图像,则第7张图像的前2张图像包括第6张图像。参考图像可以包括在先图 像或者在后图像,也可以同时包括在先图像以及在后图像。
步骤S404,计算目标图像的人脸角度以及参考图像的人脸角度的差异值。
具体地,目标图像的人脸角度以及参考图像的人脸角度的差异值的表示方法可以根据需求进行设置,例如可以用角度的差值也可以用比值表示。差值指目标图像的人脸角度以及参考图像的人脸角度之差。比值可以是目标图像的人脸角度以及参考图像的人脸角度的比值,或者目标图像的人脸角度以及参考图像的人脸角度之差与目标图像的人脸角度的比值,或者目标图像的人脸角度以及参考图像的人脸角度之差与参考图像的人脸角度的比值。差异值的值可以包括多个,在一些实施例中,可以按照图像的播放时间顺序计算两两图像之间的角度的差异值。
步骤S406,当差异值在预设阈值内时,根据目标图像的人脸角度获取目标图像的图像角度。
具体地,预设阈值可以根据需要自行设置。例如为10度。若差异值在预设阈值外时,即大于预设阈值时,说明可能是由于视频中人在某一图像中歪头导致的,因此,可以通过其他方法或者结合其他方法得到图像角度。若差异值在预设阈值内时,根据目标图像的人脸角度获取目标图像的图像角度。例如可以将目标图像的人脸角度作为目标图像的图像角度。也可以结合视频数据携带的图像角度信息与目标图像的人脸角度得到目标图像的图像角度,例如将视频数据携带的图像角度与目标图像的人脸角度的均值作为目标图像的图像角度。在一些实施例中,当目标图像有多张时,由于拍摄图像时拍摄设备的角度一般不会变化,因此可以将目标图像的平均角度作为每张目标图像的图像角度。
上述获取图像角度的方法,通过目标图像的人脸角度得到目标图像的图像角度,可以提高获取图像角度的准确性,同时又通过计算目标图像的人脸角度以及参考图像的人脸角度的差异值,当差异值在预设阈值内时,根据目标图像的人脸角度获取目标图像的图像角度,因此可以减少由于图像中的人故意歪头导致图像角度判断错误的情况发生,进一步提高了获取图像角度的准确性。
在一些实施例中,如图5所示,信息处理方法还可以包括步骤S502:获取目标图像的图像大小。步骤S208即根据目标图像的图像角度以及预设的图像角度标准对目标图像进行角度调节,得到处理后的图像的步骤包括:根据目标图像的图像大小以及预设的图像大小标准对目标图像进行缩放,以及根据目标图像的图像角度以及预设的图像角度标准对目标图像进行 角度调节,得到处理后的图像。
具体地,图像大小标准是预先设置的,可以为具体的图像大小,例如图像大小标准是480像素*320像素。也可以指图像大小的调节标准,例如,将图像缩放至0.5倍。当获取到目标图像的大小以及角度时,对目标图像的大小以及角度进行调节,得到处理后的图像。可以理解,可以先对目标图像进行缩放,也可以先进行角度调节再进行缩放,本申请实施例对图像缩放以及图像角度调节的顺序不做限制。例如,当获取到的目标图像为960*640像素,图像角度为25°,图像大小标准是480像素*320像素,图像角度标准为0度时,可以将目标图像缩小0.5倍,得到的图像的大小为480像素*320像素,然后再将图像角度调整为0°。
在一些实施例中,如图6所示,将处理后的图像发送给接收终端标识对应的接收终端的步骤之后还可以包括以下步骤:
步骤S602,接收接收终端发送的视频播放请求,视频播放请求携带有视频选择信息。
具体地,视频选择信息具体可以根据需要进行设置。例如可以是播放时间,也可以是视频场景,或者是视频大小,例如22MB等等。接收终端可以接收用户输入的视频选择信息,向计算机设备接收视频播放请求,计算机设备接收视频播放请求。
步骤S604,根据视频选择信息获取视频数据中对应的视频选择内容。
具体地,接收到视频播放请求后,获取视频播放请求中的视频选择信息,根据视频选择信息获取视频数据中对应的视频选择内容。例如,当视频选择信息包括播放时间为从第0分钟到第5分钟时,获取第0分钟到第五分钟的视频数据,得到视频选择内容。当视频选择信息包括视频场景时,识别视频数据中包括该场景的视频数据,得到视频选择内容。当视频选择信息包括视频大小为22MB时,从视频数据中获取22MB大小的视频数据,得到视频选择内容。
步骤S606,将视频选择内容发送给接收终端。
具体地,获取到视频选择内容后,将该视频选择内容发送给接收终端,使接收终端可以播放视频选择内容。
在一些实施例中,还可以设置接收终端属性信信息与视频格式的对应关系,终端属性例如可以为终端的硬件设备信息或者操作***信息,当接收到视频数据时,获取接收终端的终端属性信息,根据终端属性信息与视频格式的对应关系获取接收终端对应的进行转换,使得视频能够在接收终端上更好的播放。例如,若接收终端为安装windows***的电脑,则可以 将视频转化为MPEG格式。
在一些实施例中,如图7所示,信息处理方法还可以包括以下步骤:
步骤S702,获取图像信息添加规则,图像信息添加规则包括添加内容以及布局方式。步骤S208即根据目标图像的图像角度以及预设的图像角度标准对目标图像的进行角度调节,得到处理后的图像的步骤包括:根据图像信息添加规则在目标图像上添加信息,以及根据目标图像的图像角度以及预设的图像角度标准对目标图像的进行角度调节,得到处理后的图像。
具体地,添加内容指要在图像上添加的信息,布局方式指添加信息在图像中的位置。添加内容例如可以包括目标图像对应的播放时间、接收终端或者发送终端对应的用户信息、社交应用对应的标识、根据发送终端的设备标识以及预设字符编码规则生成的字符、视频拍摄地址以及视频拍摄时间等信息中的一个或多个。布局方式可以包括具体的位置例如图像的左下方,也可以包括布局规则,例如,在图片的背景处添加信息。在一些实施例中,图像信息添加规则还包括添加内容的风格,例如为小清新风格等。可以理解,可以先对目标图像添加信息,也可以先进行角度调节再进行信息添加,本申请实施例对图像信息添加以及图像角度调节的顺序不做限制。
应该理解的是,虽然上述的流程图中的各个步骤按照箭头的指示依次显示,但是这些步骤并不是必然按照箭头指示的顺序依次执行。除非本文中有明确的说明,这些步骤的执行并没有严格的顺序限制,这些步骤可以以其它的顺序执行。而且,上述流程图的至少一部分步骤可以包括多个子步骤或者多个阶段,这些子步骤或者阶段并不必然是在同一时刻执行完成,而是可以在不同的时刻执行,这些子步骤或者阶段的执行顺序也不必然是依次进行,而是可以与其它步骤或者其它步骤的子步骤或者阶段的至少一部分轮流或者交替地执行。
在一些实施例中,如图8所示,提供了一种信息处理装置,该信息处理装置可以集成于上述的计算机设备120中,包括:
发送请求接收模块802,用于接收发送终端发送的视频发送请求,视频发送请求携带视频数据以及接收终端标识;
目标图像获取模块804,用于获取视频数据中的目标图像;
图像角度获取模块806,用于获取目标图像的图像角度;
处理模块808,用于根据目标图像的图像角度以及预设的图像角度标准对目标图像进行角度调节,得到处理后的图像;
图像发送模块810,用于将处理后的图像发送给接收终端标识对应的接收终端。
在一些实施例中,如图9所示,信息处理装置还包括:选择信息接收模块902,用于接收发送终端发送的图像选择信息;
目标图像获取模块804用于:根据图像选择信息获取视频数据中的目标图像。
在一些实施例中,如图10所示,当目标图像包括人脸时,图像角度获取模块806包括:
人脸角度获取单元1002,用于获取目标图像中的人脸角度以及目标图像的参考图像中的人脸角度,参考图像包括视频数据中目标图像的在先图像和/或目标图像的在后图像;
差异值计算单元1004,用于计算目标图像的人脸角度以及参考图像的人脸角度的差异值;
图像角度获取单元1006,用于当差异值在预设阈值内时,根据目标图像的人脸角度获取目标图像的图像角度。
在一些实施例中,如图11所示,信息处理装置还包括:
图像大小获取模块1102,用于获取目标图像的图像大小;
处理模块808用于:根据目标图像的图像大小以及预设的图像大小标准对目标图像进行缩放,以及根据目标图像的图像角度以及预设的图像角度标准对目标图像进行角度调节,得到处理后的图像。
在一些实施例中,如图12所示,信息处理装置还包括:
播放请求接收模块1202,用于接收接收终端发送的视频播放请求,视频播放请求携带有视频选择信息;
视频选择模块1204,用于根据视频选择信息获取视频数据中对应的视频选择内容;
视频内容发送模块1206,用于将视频选择内容发送给接收终端。
在一些实施例中,如图13所示,信息处理装置还可以包括添加规则获取模块1302,用于获取图像信息添加规则,图像信息添加规则包括添加内容以及布局方式。处理模块808包括:根据图像信息添加规则在目标图像上添加信息,以及根据目标图像的图像角度以及预设的图像角度标准对目标图像的进行角度调节,得到处理后的图像。
关于信息处理装置的具体限定可以参见上文中对于信息处理方法的限定,在此不再赘述。上述信息处理装置中的各个模块可全部或部分通过软件、硬件及其组合来实现。上述各模块可以硬件形式内嵌于或独立于计算机设备中的处理器中,也可以以软件形式存储于计算机设 备中的存储器中,以便于处理器调用执行以上各个模块对应的操作。
如图14,为一些实施例中计算机设备的内部结构图,该计算机设备可以是服务器,该计算机设备通过***连接总线连接处理器、非易失性存储介质、内存储器和网络接口。非易失性存储介质可以是非易失性计算机可读存储介质。该计算机设备的非易失性存储介质可存储操作***和计算机可读指令,该计算机可读指令被执行时,可使得处理器执行一种信息处理方法。该计算机设备的处理器用于提供计算和控制能力,支撑整个计算机设备的运行。该内存储器中可储存有计算机可读指令,该计算机可读指令被处理器执行时,可使得处理器执行一种信息处理方法。计算机设备的网络接口用于进行网络通信,如接收视频发送请求,发送处理后的图像等。本领域技术人员可以理解,图14中示出的结构,仅仅是与本申请方案相关的部分结构的框图,并不构成对本申请方案所应用于其上的计算机设备的限定,具体的计算机设备可以包括比图中所示更多或更少的部件,或者组合某些部件,或者具有不同的部件布置。
在一些实施例中,本申请提供的信息处理装置可以实现为一种计算机可读指令的形式,计算机可读指令可在如图14所示的计算机设备上运行,计算机设备的非易失性存储介质可存储组成该信息处理装置的各个程序模块,比如图8中的发送请求接收模块802、目标图像获取模块804、图像角度获取模块806、处理模块808和图像发送模块810。各个程序模块中包括计算机可读指令,计算机可读指令用于使计算机设备执行本说明书中描述的本申请各个实施例的信息处理方法中的步骤,例如,计算机设备可以通过如图8所示的信息处理装置中的发送请求接收模块802接收发送终端发送的视频发送请求,视频发送请求携带视频数据以及接收终端标识,通过目标图像获取模块804获取视频数据中的目标图像,通过图像角度获取模块806获取目标图像的图像角度,通过处理模块808根据目标图像的图像角度以及预设的图像角度标准对目标图像进行角度调节,得到处理后的图像以及通过图像发送模块810将处理后的图像发送给接收终端标识对应的接收终端。
一种计算机设备,包括存储器和一个或多个处理器,存储器中储存有计算机可读指令,计算机可读指令被处理器执行时,使得一个或多个处理器执行以下步骤:接收发送终端发送的视频发送请求,视频发送请求携带视频数据以及接收终端标识;获取视频数据中的目标图像;获取目标图像的图像角度;根据目标图像的图像角度以及预设的图像角度标准对目标图像进行角度调节,得到处理后的图像;及,将处理后的图像发送给接收终端标识对应的接收 终端。
一个或多个存储有计算机可读指令的非易失性计算机可读存储介质,计算机可读指令被一个或多个处理器执行时,使得一个或多个处理器执行以下步骤:接收发送终端发送的视频发送请求,视频发送请求携带视频数据以及接收终端标识;获取视频数据中的目标图像;获取目标图像的图像角度;根据目标图像的图像角度以及预设的图像角度标准对目标图像进行角度调节,得到处理后的图像;及,将处理后的图像发送给接收终端标识对应的接收终端。
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机可读指令来指令相关的硬件来完成,所述的计算机可读指令可存储于一非易失性计算机可读取存储介质中,该计算机可读指令在执行时,可包括如上述各方法的实施例的流程。其中,本申请所提供的各实施例中所使用的对存储器、存储、数据库或其它介质的任何引用,均可包括非易失性和/或易失性存储器。非易失性存储器可包括只读存储器(ROM)、可编程ROM(PROM)、电可编程ROM(EPROM)、电可擦除可编程ROM(EEPROM)或闪存。易失性存储器可包括随机存取存储器(RAM)或者外部高速缓冲存储器。作为说明而非局限,RAM以多种形式可得,诸如静态RAM(SRAM)、动态RAM(DRAM)、同步DRAM(SDRAM)、双数据率SDRAM(DDRSDRAM)、增强型SDRAM(ESDRAM)、同步链路(Synchlink)DRAM(SLDRAM)、存储器总线(Rambus)直接RAM(RDRAM)、直接存储器总线动态RAM(DRDRAM)、以及存储器总线动态RAM(RDRAM)等。
以上所述实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。
以上所述实施例仅表达了本申请的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对本申请专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本申请构思的前提下,还可以做出若干变形和改进,这些都属于本申请的保护范围。因此,本申请专利的保护范围应以所附权利要求为准。

Claims (20)

  1. 一种信息处理方法,包括:
    接收发送终端发送的视频发送请求,所述视频发送请求携带视频数据以及接收终端标识;
    获取所述视频数据中的目标图像;
    获取所述目标图像的图像角度;
    根据所述目标图像的图像角度以及预设的图像角度标准对所述目标图像进行角度调节,得到处理后的图像;及
    将所述处理后的图像发送给所述接收终端标识对应的接收终端。
  2. 根据权利要求1所述的方法,其特征在于,包括:
    接收所述发送终端发送的图像选择信息;及
    所述获取所述视频数据中的目标图像的步骤包括:
    根据所述图像选择信息获取所述视频数据中的目标图像。
  3. 根据权利要求1所述的方法,其特征在于,当所述目标图像包括人脸时,所述获取所述目标图像的图像角度包括:
    获取所述目标图像中的人脸角度以及所述目标图像的参考图像中的人脸角度,所述参考图像包括所述视频数据中所述目标图像的在先图像和/或所述目标图像的在后图像;
    计算所述目标图像的人脸角度以及所述参考图像的人脸角度的差异值;及
    当所述差异值在预设阈值内时,根据所述目标图像的人脸角度获取所述目标图像的图像角度。
  4. 根据权利要求1~3任一项所述的方法,其特征在于,包括:
    获取所述目标图像的图像大小;及
    所述根据所述目标图像的图像角度以及预设的图像角度标准对所述目标图像进行角度调节,得到处理后的图像的步骤包括:
    根据所述目标图像的图像大小以及预设的图像大小标准对所述目标图像进行缩放,以及根据所述目标图像的图像角度以及预设的图像角度标准对所述目标图像进行角度调节,得到处理后的图像。
  5. 根据权利要求1~3任一项所述的方法,其特征在于,所述将所述处理后的图像发送给所述接收终端标识对应的接收终端之后,所述方法还包括:
    接收所述接收终端发送的视频播放请求,所述视频播放请求携带有视频选择信息;
    根据所述视频选择信息获取所述视频数据中对应的视频选择内容;及
    将所述视频选择内容发送给所述接收终端。
  6. 一种信息处理装置,包括:
    发送请求接收模块,用于接收发送终端发送的视频发送请求,所述视频发送请求携带视频数据以及接收终端标识;
    目标图像获取模块,用于获取所述视频数据中的目标图像;
    图像角度获取模块,用于获取所述目标图像的图像角度;
    处理模块,用于根据所述目标图像的图像角度以及预设的图像角度标准对所述目标图像进行角度调节,得到处理后的图像;及
    图像发送模块,用于将所述处理后的图像发送给所述接收终端标识对应的接收终端。
  7. 根据权利要求6所述的装置,其特征在于,包括:
    选择信息接收模块,用于接收所述发送终端发送的图像选择信息;及
    所述目标图像获取模块用于:根据所述图像选择信息获取所述视频数据中的目标图像。
  8. 根据权利要求6所述的装置,其特征在于,当所述目标图像包括人脸时,所述图像角度获取模块包括:
    人脸角度获取单元,用于获取所述目标图像中的人脸角度以及所述目标图像的参考图像中的人脸角度,所述参考图像包括所述视频数据中所述目标图像的在先图像和/或所述目标图像的在后图像;
    差异值计算单元,用于计算所述目标图像的人脸角度以及所述参考图像的人脸角度的差异值;及
    图像角度获取单元,用于当所述差异值在预设阈值内时,根据所述目标图像的人脸角度获取所述目标图像的图像角度。
  9. 根据权利要求6~8任一项所述的装置,其特征在于,包括:
    图像大小获取模块,用于获取所述目标图像的图像大小;及
    所述处理模块用于:
    根据所述目标图像的图像大小以及预设的图像大小标准对所述目标图像进行缩放,以及根据所述目标图像的图像角度以及预设的图像角度标准对所述目标图像进行角度调节,得到 处理后的图像。
  10. 根据权利要求6~8任一项所述所述的装置,其特征在于,所述将所述处理后的图像发送给所述接收终端标识对应的接收终端之后,所述装置还包括:
    播放请求接收模块,用于接收所述接收终端发送的视频播放请求,所述视频播放请求携带有视频选择信息;
    视频选择模块,用于根据所述视频选择信息获取所述视频数据中对应的视频选择内容;及
    视频内容发送模块,用于将所述视频选择内容发送给所述接收终端。
  11. 一种计算机设备,包括存储器及一个或多个处理器,所述存储器中储存有计算机可读指令,所述计算机可读指令被所述一个或多个处理器执行时,使得所述一个或多个处理器执行以下步骤:
    接收发送终端发送的视频发送请求,所述视频发送请求携带视频数据以及接收终端标识;
    获取所述视频数据中的目标图像;
    获取所述目标图像的图像角度;
    根据所述目标图像的图像角度以及预设的图像角度标准对所述目标图像进行角度调节,得到处理后的图像;及
    将所述处理后的图像发送给所述接收终端标识对应的接收终端。
  12. 根据权利要求11所述的计算机设备,其特征在于,所述处理器执行所述计算机可读指令时还执行以下步骤:
    接收所述发送终端发送的图像选择信息;及
    所述处理器所执行的所述获取所述视频数据中的目标图像的步骤包括:
    根据所述图像选择信息获取所述视频数据中的目标图像。
  13. 根据权利要求11所述的计算机设备,其特征在于,当所述目标图像包括人脸时,所述处理器所执行的所述获取所述目标图像的图像角度包括:
    获取所述目标图像中的人脸角度以及所述目标图像的参考图像中的人脸角度,所述参考图像包括所述视频数据中所述目标图像的在先图像和/或所述目标图像的在后图像;
    计算所述目标图像的人脸角度以及所述参考图像的人脸角度的差异值;及
    当所述差异值在预设阈值内时,根据所述目标图像的人脸角度获取所述目标图像的图像 角度。
  14. 根据权利要求11~13任一项所述的计算机设备,其特征在于,所述处理器执行所述计算机可读指令时还执行以下步骤:
    获取所述目标图像的图像大小;及
    所述处理器所执行的所述根据所述目标图像的图像角度以及预设的图像角度标准对所述目标图像进行角度调节,得到处理后的图像的步骤包括:
    根据所述目标图像的图像大小以及预设的图像大小标准对所述目标图像进行缩放,以及根据所述目标图像的图像角度以及预设的图像角度标准对所述目标图像进行角度调节,得到处理后的图像。
  15. 根据权利要求11~13所述的计算机设备,其特征在于,所述将所述处理后的图像发送给所述接收终端标识对应的接收终端之后,所述处理器执行所述计算机可读指令时还执行以下步骤:
    接收所述接收终端发送的视频播放请求,所述视频播放请求携带有视频选择信息;
    根据所述视频选择信息获取所述视频数据中对应的视频选择内容;及
    将所述视频选择内容发送给所述接收终端。
  16. 一个或多个存储有计算机可读指令的非易失性计算机可读存储介质,所述计算机可读指令被一个或多个处理器执行时,使得所述一个或多个处理器执行以下步骤:
    接收发送终端发送的视频发送请求,所述视频发送请求携带视频数据以及接收终端标识;
    获取所述视频数据中的目标图像;
    获取所述目标图像的图像角度;
    根据所述目标图像的图像角度以及预设的图像角度标准对所述目标图像进行角度调节,得到处理后的图像;及
    将所述处理后的图像发送给所述接收终端标识对应的接收终端。
  17. 根据权利要求16所述的存储介质,其特征在于,所述处理器执行所述计算机可读指令时还执行以下步骤:
    接收所述发送终端发送的图像选择信息;及
    所述处理器所执行的所述获取所述视频数据中的目标图像的步骤包括:
    根据所述图像选择信息获取所述视频数据中的目标图像。
  18. 根据权利要求16所述的存储介质,其特征在于,当所述目标图像包括人脸时,所述处理器所执行的所述获取所述目标图像的图像角度包括:
    获取所述目标图像中的人脸角度以及所述目标图像的参考图像中的人脸角度,所述参考图像包括所述视频数据中所述目标图像的在先图像和/或所述目标图像的在后图像;
    计算所述目标图像的人脸角度以及所述参考图像的人脸角度的差异值;及
    当所述差异值在预设阈值内时,根据所述目标图像的人脸角度获取所述目标图像的图像角度。
  19. 根据权利要求16~18任一项所述的存储介质,其特征在于,所述处理器执行所述计算机可读指令时还执行以下步骤:
    获取所述目标图像的图像大小;及
    所述处理器所执行的所述根据所述目标图像的图像角度以及预设的图像角度标准对所述目标图像进行角度调节,得到处理后的图像的步骤包括:
    根据所述目标图像的图像大小以及预设的图像大小标准对所述目标图像进行缩放,以及根据所述目标图像的图像角度以及预设的图像角度标准对所述目标图像进行角度调节,得到处理后的图像。
  20. 根据权利要求16~18任一项所述的存储介质,其特征在于,所述将所述处理后的图像发送给所述接收终端标识对应的接收终端之后,所述处理器执行所述计算机可读指令时还执行以下步骤:
    接收所述接收终端发送的视频播放请求,所述视频播放请求携带有视频选择信息;
    根据所述视频选择信息获取所述视频数据中对应的视频选择内容;及
    将所述视频选择内容发送给所述接收终端。
PCT/CN2018/077157 2017-09-20 2018-02-24 信息处理方法、装置、计算机设备和存储介质 WO2019056701A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710850125.7A CN107733874B (zh) 2017-09-20 2017-09-20 信息处理方法、装置、计算机设备和存储介质
CN201710850125.7 2017-09-20

Publications (1)

Publication Number Publication Date
WO2019056701A1 true WO2019056701A1 (zh) 2019-03-28

Family

ID=61207522

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/077157 WO2019056701A1 (zh) 2017-09-20 2018-02-24 信息处理方法、装置、计算机设备和存储介质

Country Status (2)

Country Link
CN (1) CN107733874B (zh)
WO (1) WO2019056701A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111368777A (zh) * 2020-03-13 2020-07-03 深圳市元征科技股份有限公司 一种车辆特征获取方法,一种服务器和客户端

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107733874B (zh) * 2017-09-20 2021-03-30 平安科技(深圳)有限公司 信息处理方法、装置、计算机设备和存储介质
CN108734690B (zh) * 2018-03-02 2021-12-14 苏州汉特士视觉科技有限公司 一种视觉缺陷检测设备及其检测方法

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090147141A1 (en) * 2007-12-11 2009-06-11 Hae Sun Lee Method and apparatus for video telephony in mobile terminal
CN104144313A (zh) * 2013-05-10 2014-11-12 中国电信股份有限公司 视频通信方法、***与云端图像服务器
US8957943B2 (en) * 2012-07-02 2015-02-17 Bby Solutions, Inc. Gaze direction adjustment for video calls and meetings
CN105787884A (zh) * 2014-12-18 2016-07-20 联想(北京)有限公司 一种图像处理方法及电子设备
CN106303029A (zh) * 2016-08-15 2017-01-04 广东欧珀移动通信有限公司 一种画面的旋转控制方法、装置及移动终端
CN107733874A (zh) * 2017-09-20 2018-02-23 平安科技(深圳)有限公司 信息处理方法、装置、计算机设备和存储介质

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101240261B1 (ko) * 2006-02-07 2013-03-07 엘지전자 주식회사 이동통신 단말기의 영상 통화 장치 및 방법
US20070250898A1 (en) * 2006-03-28 2007-10-25 Object Video, Inc. Automatic extraction of secondary video streams
CN101917548A (zh) * 2010-08-11 2010-12-15 无锡中星微电子有限公司 自适应调整画面的摄像装置及方法
CN102695034A (zh) * 2012-05-30 2012-09-26 青岛海信移动通信技术股份有限公司 在可视通话中调整视频图像在对端显示的方法及装置
EP2860702A4 (en) * 2012-06-12 2016-02-10 Sony Corp INFORMATION PROCESSING DEVICE, INFORMATION PROCESSING PROCESS AND PROGRAM
US9762848B2 (en) * 2013-03-15 2017-09-12 Google Inc. Automatic adjustment of video orientation
GB2528319A (en) * 2014-07-18 2016-01-20 Ibm Device display perspective adjustment
CN104484858B (zh) * 2014-12-31 2018-05-08 小米科技有限责任公司 人物图像处理方法及装置
CN104936039B (zh) * 2015-06-19 2018-09-04 小米科技有限责任公司 图像处理方法及装置

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090147141A1 (en) * 2007-12-11 2009-06-11 Hae Sun Lee Method and apparatus for video telephony in mobile terminal
US8957943B2 (en) * 2012-07-02 2015-02-17 Bby Solutions, Inc. Gaze direction adjustment for video calls and meetings
CN104144313A (zh) * 2013-05-10 2014-11-12 中国电信股份有限公司 视频通信方法、***与云端图像服务器
CN105787884A (zh) * 2014-12-18 2016-07-20 联想(北京)有限公司 一种图像处理方法及电子设备
CN106303029A (zh) * 2016-08-15 2017-01-04 广东欧珀移动通信有限公司 一种画面的旋转控制方法、装置及移动终端
CN107733874A (zh) * 2017-09-20 2018-02-23 平安科技(深圳)有限公司 信息处理方法、装置、计算机设备和存储介质

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111368777A (zh) * 2020-03-13 2020-07-03 深圳市元征科技股份有限公司 一种车辆特征获取方法,一种服务器和客户端
CN111368777B (zh) * 2020-03-13 2023-10-13 深圳市元征科技股份有限公司 一种车辆特征获取方法,一种服务器和客户端

Also Published As

Publication number Publication date
CN107733874A (zh) 2018-02-23
CN107733874B (zh) 2021-03-30

Similar Documents

Publication Publication Date Title
US10304407B2 (en) Photo selection for mobile devices
EP3713159B1 (en) Gallery of messages with a shared interest
US10938725B2 (en) Load balancing multimedia conferencing system, device, and methods
WO2020052476A1 (zh) 特征点定位方法、存储介质和计算机设备
US9584694B2 (en) Predetermined-area management system, communication method, and computer program product
US11593920B2 (en) Systems and methods for media privacy
CN111788572A (zh) 用于面部识别的方法和***
TW201719502A (zh) 動態影像之物件辨識方法及自動截取目標圖像的互動式影片建立方法
US20130335594A1 (en) Enhancing captured data
WO2019056701A1 (zh) 信息处理方法、装置、计算机设备和存储介质
CN117678196A (zh) 隐私安全联合标识协议
US20170192965A1 (en) Method and apparatus for smart album generation
CN115769260A (zh) 基于光度测量的3d对象建模
WO2023169283A1 (zh) 双目立体全景图像的生成方法、装置、设备、存储介质和产品
CN110415293B (zh) 交互处理方法、装置、***和计算机设备
CN111225293B (zh) 一种视频数据处理方法、装置以及计算机存储介质
KR20120080379A (ko) 디지털 카메라의 이미지 어노테이션 처리 방법 및 장치
WO2020258499A1 (zh) 物体检测方法、装置、计算机设备和存储介质
US20190116214A1 (en) Method and system for taking pictures on real time dynamic basis
US9058674B1 (en) Enhancing resolution of single images
KR20190100629A (ko) 위치 기반 영상 제공 방법 및 그 장치
WO2023164084A1 (en) Systems and methods for generating dimensionally coherent training data
CN115336304A (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: 18859721

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 1205A DATED 25/09/2020)

122 Ep: pct application non-entry in european phase

Ref document number: 18859721

Country of ref document: EP

Kind code of ref document: A1