CN107733874A - Information processing method, device, computer equipment and storage medium - Google Patents
Information processing method, device, computer equipment and storage medium Download PDFInfo
- Publication number
- CN107733874A CN107733874A CN201710850125.7A CN201710850125A CN107733874A CN 107733874 A CN107733874 A CN 107733874A CN 201710850125 A CN201710850125 A CN 201710850125A CN 107733874 A CN107733874 A CN 107733874A
- Authority
- CN
- China
- Prior art keywords
- image
- target image
- angle
- video
- target
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T3/00—Geometric image transformation in the plane of the image
- G06T3/40—Scaling the whole image or part thereof
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T3/00—Geometric image transformation in the plane of the image
- G06T3/60—Rotation of a whole image or part thereof
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/60—Network streaming of media packets
- H04L65/75—Media network packet handling
- H04L65/765—Media network packet handling intermediate
Abstract
The present invention relates to a kind of information processing method, device, computer equipment and storage medium, methods described includes:The video transmission request for sending terminal transmission is received, the video sends request carrying video data and receiving terminal identifies;Obtain the target image in the video data;Obtain the image angle of the target image;Angular adjustment, the image after being handled are carried out to the target image according to the image angle of the target image and default image angle standard;Image after the processing is sent to receiving terminal corresponding to the receiving terminal mark.The above method can facilitate user to check image, save user time, improve the efficiency exchanged between user.
Description
Technical field
The present invention relates to internet arena, is situated between more particularly to information processing method, device, computer equipment and storage
Matter.
Background technology
It is increasingly common by delivery of video information with the development of information technology, such as in instant messaging, it is current to use
Family can send video data by immediate communication tool such as wechat to targeted customer such as good friend, and server receives video counts
Corresponding good friend is sent to according to an image in rear acquisition video, good friend is will be seen that the content of video data, works as good friend
Request sends the video in the terminal of good friend and played out again when playing video.However, in conventional art, clapped when shooting video
The angle for taking the photograph equipment is often put not just, therefore the angle for being sent to the image of targeted customer also has rotation, is added user and is looked into
The difficulty of image is seen, reduces the efficiency exchanged between user.
The content of the invention
Based on this, it is necessary to for it is above-mentioned the problem of, there is provided a kind of information processing method, device, computer equipment and deposit
Storage media.
A kind of information processing method, methods described include:Receive and send the video transmission request that terminal is sent, the video
Send request and carry video data and receiving terminal mark;Obtain the target image in the video data;Obtain the mesh
The image angle of logo image;According to the image angle of the target image and default image angle standard to the target figure
As carrying out angular adjustment, the image after being handled;It is corresponding that image after the processing is sent to the receiving terminal mark
Receiving terminal.
In one of embodiment, methods described also includes:Receive the image selection information that the transmission terminal is sent;Institute
Stating the step of obtaining the target image in the video data includes:The video data according to described image selects acquisition of information
In target image.
In one of the embodiments, when the target image includes face, the figure for obtaining the target image
The step of image angle is spent includes:Obtain the people in the reference picture of the facial angle and the target image in the target image
Face angle, the reference picture include the first image of target image and/or the target image described in the video data
In rear image;Calculate the difference value of the facial angle of the target image and the facial angle of the reference picture;Work as institute
When stating difference value in predetermined threshold value, the image angle of the target image is obtained according to the facial angle of the target image.
In one of the embodiments, methods described also includes:Obtain the image size of the target image;The basis
The image angle of the target image and default image angle standard carry out angular adjustment to the target image, obtain everywhere
The step of image after reason, includes:According to the image size of the target image and default image size criteria to the mesh
Logo image zooms in and out, and according to the image angle of the target image and default image angle standard to the target
Image carries out angular adjustment, the image after being handled.
In one of the embodiments, the image by after the processing is sent to corresponding to the receiving terminal mark
Also include after the step of receiving terminal:Receive the video playback request that the receiving terminal is sent, the video playback request
Carry video selection information;Corresponding video selection content in the video data according to the video selects acquisition of information;
Video selection content is sent to the receiving terminal.
A kind of information processor, described device include:Request receiving module is sent, sends what terminal was sent for receiving
Video sends request, and the video sends request and carries video data and receiving terminal mark;Target image acquisition module, use
Target image in the acquisition video data;Image angle acquisition module, for obtaining the image angle of the target image
Degree;Processing module, for the image angle according to the target image and default image angle standard to the target figure
As carrying out angular adjustment, the image after being handled;Image sending module, it is described for the image after the processing to be sent to
Receiving terminal corresponding to receiving terminal mark.
In one of the embodiments, described device also includes:Information receiving module is selected, for receiving described send eventually
Hold the image selection information sent;The target image acquisition module is used for:Regarded according to described image selects acquisition of information
Target image of the frequency in.
In one of the embodiments, when the target image includes face, described image angle acquisition module includes:
Facial angle acquiring unit, in the reference picture for obtaining the facial angle and the target image in the target image
Facial angle, the reference picture include the video data described in target image first image and/or the target
Image in rear image;Difference value computing unit, for the facial angle for calculating the target image and the reference picture
Facial angle difference value;Image angle acquiring unit, for when the difference value is in predetermined threshold value, according to the mesh
The facial angle of logo image obtains the image angle of the target image.
A kind of computer equipment, including memory and processor, computer program, the meter are stored with the memory
When calculation machine program is by the computing device so that the step of the computing device above- mentioned information processing method.
A kind of computer-readable recording medium, it is characterised in that calculating is stored with the computer-readable recording medium
Machine program, when the computer program is executed by processor so that the step of the computing device above- mentioned information processing method.
Above- mentioned information processing method, device, computer equipment and storage medium, regarded in the carrying for receiving transmission terminal transmission
Frequency according to this and receiving terminal mark video send request after, obtain the target image and target image in video data
Image angle, angle tune is then carried out to target image according to the image angle of target image and default image angle standard
Section, the image after being handled, the image after processing is sent to receiving terminal corresponding to receiving terminal mark.Due to connecing
Receive when terminal sends the image of video data according to the image angle and default image angle standard of target image to target
Image carries out angular adjustment, therefore facilitates user to check image, has saved user time, has improved the efficiency exchanged between user.
Brief description of the drawings
Fig. 1 is the applied environment figure of the information processing method provided in one embodiment;
Fig. 2 is the flow chart of information processing method in one embodiment;
Fig. 3 is the flow chart of information processing method in one embodiment;
Fig. 4 is the flow chart for the image angle that target image is obtained in one embodiment;
Fig. 5 is the flow chart of information processing method in one embodiment;
Fig. 6 is the flow chart of information processing method in one embodiment;
Fig. 7 is the flow chart of information processing method in one embodiment;
Fig. 8 is the structured flowchart of information processor in one embodiment;
Fig. 9 is the structured flowchart of information processor in one embodiment;
Figure 10 is the structured flowchart of image angle acquisition module in one embodiment;
Figure 11 is the structured flowchart of information processor in one embodiment;
Figure 12 is the structured flowchart of information processor in one embodiment;
Figure 13 is the structured flowchart of information processor in one embodiment;
Figure 14 is the internal structure block diagram of one embodiment Computer equipment.
Embodiment
In order to make the purpose , technical scheme and advantage of the present invention be clearer, it is right below in conjunction with drawings and Examples
The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and
It is not used in the restriction present invention.
Fig. 1 is the applied environment figure of the information processing method provided in one embodiment, as shown in figure 1, applying ring at this
In border, including send terminal 110, computer equipment 120 and receiving terminal 130.Needed when sending terminal 110 by video data
When being sent to receiving terminal 130, send video to computer equipment 120 and send request, video sends request and carries video data
And receiving terminal mark, computer equipment 120, which receives, sends the video transmission request that terminal 110 is sent, and obtains video data
In target image and target image image angle, then according to the image angle of target image and default image angle
Scale standard carries out angular adjustment, the image after being handled to target image, and the image after processing is sent into receiving terminal
Receiving terminal 130 corresponding to mark.
Computer equipment 120 can be that independent physical server or terminal or multiple physical servers are formed
Server cluster, the cloud service of the basic cloud computing services such as Cloud Server, cloud database, cloud storage and CDN can be to provide
Device.It can be smart mobile phone, tablet personal computer, notebook computer, desktop computer, intelligence to send terminal 110 and receiving terminal 120
Energy audio amplifier, intelligent watch etc., but be not limited thereto.
As shown in Fig. 2 in one embodiment it is proposed that a kind of information processing method, the information processing method can answer
For in above-mentioned computer equipment 120, specifically may comprise steps of:
Step S202, receive send terminal send video send request, video send request carry video data and
Receiving terminal identifies.
Specifically, video data can be the video obtained in real time or the video shot in advance.Example
Such as, in wechat application, the video capture button in wechat, captured in real-time video can be clicked on.Can also be from mobile phone photo album
Obtain the video shot in advance.In social networking application, when transmission terminal needs to send information to receiving terminal, to meter
Calculate machine equipment and send video transmission request, computer equipment receives video and sends request, and video transmission request carries video data
And receiving terminal mark.
Above-mentioned social networking application can be instant messaging application, SNS (Social Network Services, community network
Service) application and mhkc application etc..Instant messaging application may include wechat, circle of friends, QQ space, MSN etc..SNS applications can
Including Renren Network and Facebook etc., but not limited to this.
Step S204, obtain the target image in video data.
Specifically, target image can be one or more, the acquisition rule of target image can according to be actually needed into
Row is set., can also such as target image can be chosen according to the image selection rule pre-set from video data
It is to be obtained according to the image selection information for sending terminal or receiving terminal transmission.Default image selection rule can be random
Select an image, or first image of acquiescence a certain image such as video data of selection.Routine interface can be passed through
Calling figure picture obtains instrument such as FFMPG instruments and obtains target image.
Step S206, obtain the image angle of target image.
Specifically, the image angle of target image can carry in sending terminal and sending video transmission request.
It can be obtained by other image angle acquisition methods, for example, neural network model can be obtained with training in advance image angle, obtained
Target image is input into image angle after to target image to obtain in neural network model, obtains the image angle of target image
Degree.
In one embodiment, the angle of target image be when shooting video according to the gravity sensor of capture apparatus for example
What gyroscope obtained.Video sends the angle information for the capture apparatus that shooting video data can be carried in request.
Step S208, angle is carried out to target image according to the image angle of target image and default image angle standard
Degree regulation, the image after being handled.
Specifically, image angle standard is pre-set, and image angle standard can be specific angle, such as 0 °.
In one embodiment, image angle standard can be that the angle of the image after processing is identical with the angle of receiving terminal.Therefore
Before angular adjustment is carried out, the current angle of receiving terminal can be obtained, then according to the current angle of receiving terminal to target
Image carries out angular adjustment, so that image angle and the angle automatching of receiving terminal.
In one embodiment, the angular metric adjusted every time when target image angle being adjusted can be preset value.
Such as the angle value adjusted every time can be 90 degree.
Step S210, the image after processing is sent to receiving terminal corresponding to receiving terminal mark.
Specifically, after image after processing is obtained, the image after processing is sent to the corresponding reception of receiving terminal mark
Terminal.In one embodiment, when target image is multiple, displaying time and the exhibition of every target image can also be set
Show order, after receiving terminal is received target image, by displaying order and displaying time displaying target image.
Above- mentioned information processing method, regarded what the carrying video data and receiving terminal for receiving transmission terminal transmission identified
Take place frequently after sending request, the image angle of the target image and target image in video data is obtained, then according to target image
Image angle and default image angle standard to target image carry out angular adjustment, the image after being handled, will locate
Image after reason is sent to receiving terminal corresponding to receiving terminal mark.Due to sending the image of video data to receiving terminal
When angular adjustment carried out to target image according to the image angle of target image and default image angle standard, therefore conveniently
User checks image, has saved user time, improves the efficiency exchanged between user.
In one embodiment, as shown in figure 3, information processing method can also include step S302:Receive and send terminal
The image selection information of transmission.The step of step S204 is and obtains the target image in video data includes:According to image selection
Target image in acquisition of information video data.
Specifically, image selection information is carried in sending video and sending request or regarded in transmission
Take place frequently and send the preceding transmission of request.Image selection information can define according to demand.Such as can be the sequence number of picture frame in video,
Reproduction time, the scene reflected are for example had a meal at least one etc. in scene graph.After receiving image selection information, according to
Image selection information obtains target image.For example, the image that sequence number is corresponded in video data, root are obtained according to the sequence number of picture frame
Image corresponding to the reproduction time is obtained according to reproduction time, image recognition, identification and place scene are carried out according to reflected scene
The image of matching is as target image etc..
In one embodiment, as shown in figure 4, when target image includes face, step S206 obtains target image
Image angle the step of include:
Step S402, the facial angle in the reference picture of the facial angle and target image in target image is obtained,
Reference picture include video data in target image first image and/or target image in rear image.
Specifically, first image refers to image of the reproduction time before target image in video data, refers in rear image and regards
The frequency image of reproduction time after target image in.First image can refer to n continuous images before target image,
The m images after rear image can refer to target image.Wherein n and m is positive integer, and concrete numerical value can be arranged as required to.
For example, 2 and 3.First image can also be randomly selected in preceding n images of target image or extracted according to predetermined interval
Image, the figure randomly selected or extracted according to predetermined interval in the rear m images that rear image can also be target image
Picture.It is appreciated that when target image has multiple, preceding n images of a target image can include other target images,
The rear n of one target image images can also include other target images.For example, if target image is in video data
6th and the 7th image, then preceding 2 images of the 7th image include the 6th image.Reference picture can include formerly figure
As or rear image, first image can also be included simultaneously and in rear image.
Step S404, calculate the difference value of the facial angle of target image and the facial angle of reference picture.
Specifically, the method for expressing of the difference value of the facial angle of target image and the facial angle of reference picture can be with
It is configured, such as can also can be represented with the difference of angle with ratio according to demand.The face angle of difference feeling the pulse with the finger-tip logo image
The difference of the facial angle of degree and reference picture.Ratio can be facial angle and the face angle of reference picture of target image
The ratio of degree, or the facial angle of the difference and target image of the facial angle of target image and the facial angle of reference picture
Ratio, or the facial angle of the difference and reference picture of the facial angle of target image and the facial angle of reference picture
Ratio.The value of difference value can calculate two-by-two including multiple, in one embodiment according to the reproduction time order of image
The difference value of angle between image.
Step S406, when difference value is in predetermined threshold value, target image is obtained according to the facial angle of target image
Image angle.
Specifically, predetermined threshold value can voluntarily be set as needed.For example, 10 degree.If difference value is outside predetermined threshold value
When, i.e., more than predetermined threshold value when, explanation be probably because people is in a certain image caused by torticollis in video, therefore, Ke Yitong
Cross other method or obtain image angle with reference to other method.If difference value is in predetermined threshold value, according to target image
Facial angle obtains the image angle of target image.Such as can be using the facial angle of target image as target image image
Angle.The image angle information of video data carrying can also be combined and the facial angle of target image obtains the figure of target image
Image angle degree, such as the figure using the average of the image angle of video data carrying and the facial angle of target image as target image
Image angle degree.In certain embodiments, when target image has multiple, the angle of capture apparatus typically will not during due to shooting image
Change, thus can be using the average angle of target image as every target image image angle.
The method of above-mentioned acquisition image angle, the image angle of target image is obtained by the facial angle of target image,
The accuracy for obtaining image angle can be improved, while further through the facial angle for calculating target image and the people of reference picture
The difference value of face angle, when difference value is in predetermined threshold value, the figure of target image is obtained according to the facial angle of target image
Image angle degree, therefore can reduce because the intentional torticollis of people in image causes the wrongheaded situation of image angle to occur, enter one
Step improves the accuracy for obtaining image angle.
In one embodiment, as shown in figure 5, information processing method can also include step S502:Obtain target image
Image size.Step S208 enters according to the image angle and default image angle standard of target image to target image
Row angular adjustment, include the step of image after being handled:It is big according to the image size of target image and default image
Small standard zooms in and out to target image, and according to the image angle of target image and default image angle standard to mesh
Logo image carries out angular adjustment, the image after being handled.
Specifically, image size criteria is pre-set, and can be specific image size, such as image size criteria
It is the pixels of 480 pixel * 320.The adjustment criteria of image size can also be referred to, for example, by image scaling to 0.5 times.When getting
When the size and angle of target image, the size and angle of target image are adjusted, the image after being handled.Can
To understand, first target image can be zoomed in and out, can also first carry out angular adjustment and zoom in and out again, the embodiment of the present invention pair
Image scaling and the order of image angle regulation are not limited.For example, it is 960*640 pixels to work as the target image got,
Image angle is 25 °, and image size criteria is the pixels of 480 pixel * 320, can be by target figure when image angle standard is 0 degree
As reducing 0.5 times, the size of obtained image is the pixels of 480 pixel * 320, and image angle then is adjusted into 0 ° again.
In one embodiment, received eventually as shown in fig. 6, the image after processing is sent to corresponding to receiving terminal mark
It can also comprise the following steps after the step of end:
Step S602, receives the video playback request that receiving terminal is sent, and video playback request carries video selection letter
Breath.
Specifically, video selection information can be specifically configured as needed.Such as can be reproduction time, can also
It is video scene, or video size, such as 22MB etc..Receiving terminal can receive the video selection letter of user's input
Breath, video playback request is received to computer equipment, computer equipment receives video playback request.
Step S604, corresponding video in acquisition of information video data is selected to select content according to video.
Specifically, after receiving video playback request, the video selection information in video playback request is obtained, according to video
Select corresponding video selection content in acquisition of information video data.For example, when video selection information include reproduction time for from
At the 0th minute to the 5th minute, the video data of the 0th minute to the 5th minute is obtained, obtains video selection content.When video selects
When selecting information includes video scene, identification video data includes the video data of the scene, obtains video selection content.When regarding
Frequency selection information include video size be 22MB when, from video data obtain 22MB sizes video data, obtain video select
Select content.
Step S606, video selection content is sent to receiving terminal.
Specifically, after getting video selection content, video selection content is sent to receiving terminal, makes receiving terminal
Video selection content can be played.
In one embodiment, the corresponding relation of receiving terminal attribute letter information and video format, terminal can also be set
Attribute for example can be the hardware equipment information or operation system information of terminal, when receiving video data, obtain and receive
The terminal attributive information of terminal, carried out according to terminal attributive information is corresponding with the corresponding relation acquisition receiving terminal of video format
Conversion so that video can preferably play in receiving terminal.If for example, electricity of the receiving terminal for installation windows systems
Brain, then video can be converted into mpeg format.
In one embodiment, as shown in fig. 7, information processing method can also comprise the following steps:
Step S702, obtains image information addition rule, and image information addition rule includes addition content and layout side
Formula.Step S208 is i.e. according to carry out angle of the image angle and default image angle standard of target image to target image
Regulation, include the step of image after being handled:Information is added on target image according to image information addition rule, and
According to the carry out angular adjustment of the image angle of target image and default image angle standard to target image, handled
Image afterwards.
Specifically, addition content refers to the information to be added on image, and layout type refers to the position of addition information in the picture
Put.Reproduction time corresponding to target image, receiving terminal can for example be included or send user corresponding to terminal by adding content
The corresponding character for identifying, being generated according to the device identification and preset characters coding rule that send terminal of information, social networking application,
One or more of information such as video capture address and video capture time.Layout type can include specific position example
Such as the lower left of image, placement rule can also be included, for example, adding information at the background of picture.In certain embodiments,
Image information addition rule also includes the style, for example, small pure and fresh style etc. of addition content.It is appreciated that can be first to target
Image add information, can also first carry out angular adjustment enter again row information addition, the embodiment of the present invention to image information add with
And the order of image angle regulation is not limited.
In one embodiment, as shown in Figure 8, there is provided a kind of information processor, the information processor can collect
Into in above-mentioned computer equipment 120, including:
Request receiving module 802 is sent, for receiving the video transmission request for sending terminal and sending, video sends request and taken
Band video data and receiving terminal identify;
Target image acquisition module 804, for obtaining the target image in video data;
Image angle acquisition module 806, for obtaining the image angle of target image;
Processing module 808, for the image angle according to target image and default image angle standard to target figure
As carrying out angular adjustment, the image after being handled;
Image sending module 810, for the image after processing to be sent into receiving terminal corresponding to receiving terminal mark.
In one embodiment, as shown in figure 9, information processor also includes:Information receiving module 902 is selected, is used for
Receive and send the image selection information that terminal is sent;
Target image acquisition module 804 is used for:Target image in video data is obtained according to image selection information.
In one embodiment, as shown in Figure 10, when target image includes face, image angle acquisition module 806 wraps
Include:
Facial angle acquiring unit 1002, for obtaining the reference chart of facial angle and target image in target image
As in facial angle, reference picture include video data in target image first image and/or target image in rear figure
Picture;
Difference value computing unit 1004, for calculating the facial angle of target image and the facial angle of reference picture
Difference value;
Image angle acquiring unit 1006, for when difference value is in predetermined threshold value, according to the face angle of target image
Degree obtains the image angle of target image.
In one embodiment, as shown in figure 11, information processor also includes:
Image acquiring size module 1102, for obtaining the image size of target image;
Processing module 808 is used for:According to the image size of target image and default image size criteria to target figure
Angle is carried out to target image as zooming in and out, and according to the image angle of target image and default image angle standard
Regulation, the image after being handled.
In one embodiment, as shown in figure 12, information processor also includes:
Playing request receiving module 1202, for receiving the video playback request of receiving terminal transmission, video playback request
Carry video selection information;
Video selecting module 1204, for being selected according to video in acquisition of information video data in corresponding video selection
Hold;
Video content sending module 1206, for video selection content to be sent into receiving terminal.
In one embodiment, as shown in figure 13, information processor can also include addition rule acquisition module 1302,
For obtaining image information addition rule, image information addition rule includes addition content and layout type.Processing module 808
Including:Information is added on target image according to image information addition rule, and according to the image angle of target image and
Carry out angular adjustment of the default image angle standard to target image, the image after being handled.
Such as Figure 14, for the cut-away view of one embodiment Computer equipment, the computer equipment is connected by system
Bus couple processor, non-volatile memory medium, built-in storage and network interface.Wherein, the computer equipment is non-volatile
Property storage medium can storage program area and computer program, when the computer program is performed, may be such that computing device one
Kind information processing method.The processor of the computer equipment is used to provide calculating and control ability, supports whole computer equipment
Operation.Computer program can be stored in the built-in storage, when the computer program is executed by processor, may be such that processor
Perform a kind of information processing method.The network interface of computer equipment is used to carry out network service, such as receives video and sends request,
Image after transmission processing etc..It will be understood by those skilled in the art that the structure shown in Figure 14, it is only and application scheme
The block diagram of related part-structure, does not form the restriction for the computer equipment being applied thereon to application scheme, specifically
Computer equipment can include than more or less parts shown in figure, either combine some parts or with difference
Part arrangement.
In one embodiment, the information processor that the application provides can be implemented as a kind of shape of computer program
Formula, computer program can be run on computer equipment as shown in figure 14, and the non-volatile memory medium of computer equipment can
Storage forms each program module of the information processor, such as transmission request receiving module 802 in Fig. 8, target image
Acquisition module 804, image angle acquisition module 806, processing module 808 and image sending module 810.Wrapped in each program module
Computer program is included, computer program is used for each embodiment of the application for making computer equipment perform described in this specification
Step in information processing method, for example, computer equipment can be asked by the transmission in information processor as shown in Figure 8
Ask receiving module 802 to receive and send the video transmission request that terminal is sent, video sends request and carries video data and reception
Terminal iidentification, the target image in video data is obtained by target image acquisition module 804, passes through image angle acquisition module
806 obtain the image angle of target image, pass through image angle of the processing module 808 according to target image and default image
Angular standard carries out angular adjustment to target image, image after handle and will processing by image sending module 810
Image afterwards is sent to receiving terminal corresponding to receiving terminal mark.
In one embodiment it is proposed that a kind of computer equipment, computer equipment include memory, processor and storage
On a memory and the computer program that can run on a processor, following steps are realized during computing device computer program:
The video transmission request for sending terminal transmission is received, video sends request carrying video data and receiving terminal identifies;Obtain
Target image in video data;Obtain the image angle of target image;According to the image angle of target image and default
Image angle standard carries out angular adjustment, the image after being handled to target image;Image after processing is sent to reception
Receiving terminal corresponding to terminal iidentification.
Following steps are also performed in one of embodiment, during computing device computer program:Receive and send terminal hair
The image selection information sent;The step of obtaining the target image in video data includes:Video is obtained according to image selection information
Target image in data.
In one of the embodiments, when target image includes face, the step of obtaining the image angle of target image
Including:The facial angle in the reference picture of the facial angle and target image in target image is obtained, reference picture includes
The first image and/or target image of target image in rear image in video data;Calculate target image facial angle with
And the difference value of the facial angle of reference picture;When difference value is in predetermined threshold value, obtained according to the facial angle of target image
Take the image angle of target image.
In one of the embodiments, following steps are also performed during computing device computer program:Obtain target image
Image size;Angle tune is carried out to target image according to the image angle of target image and default image angle standard
Section, include the step of image after being handled:According to the image size of target image and default image size criteria pair
Target image is zoomed in and out, and target image is entered according to the image angle of target image and default image angle standard
Row angular adjustment, the image after being handled.
In one of the embodiments, the image after processing is sent to the step of receiving terminal corresponding to receiving terminal mark
Also include after rapid:The video playback request that receiving terminal is sent is received, video playback request carries video selection information;Root
Corresponding video selection content in acquisition of information video data is selected according to video;Video selection content is sent to receiving terminal.
In one embodiment, there is provided a kind of computer-readable recording medium, computer-readable recording medium configuration are taking
It is engaged on device, computer program is stored with computer-readable recording medium, when computer program is executed by processor so that processing
Device performs following steps:Receive and send the video transmission request that terminal is sent, video sends request and carries video data and connect
Receive terminal iidentification;Obtain the target image in video data;Obtain the image angle of target image;According to the image of target image
Angle and default image angle standard carry out angular adjustment, the image after being handled to target image;After processing
Image is sent to receiving terminal corresponding to receiving terminal mark.
Following steps are also performed in one of embodiment, during computing device computer program:Receive and send terminal hair
The image selection information sent;The step of obtaining the target image in video data includes:Video is obtained according to image selection information
Target image in data.
In one of the embodiments, when target image includes face, the step of obtaining the image angle of target image
Including:The facial angle in the reference picture of the facial angle and target image in target image is obtained, reference picture includes
The first image and/or target image of target image in rear image in video data;Calculate target image facial angle with
And the difference value of the facial angle of reference picture;When difference value is in predetermined threshold value, obtained according to the facial angle of target image
Take the image angle of target image.
In one of the embodiments, following steps are also performed during computing device computer program:Obtain target image
Image size;Angle tune is carried out to target image according to the image angle of target image and default image angle standard
Section, include the step of image after being handled:According to the image size of target image and default image size criteria pair
Target image is zoomed in and out, and target image is entered according to the image angle of target image and default image angle standard
Row angular adjustment, the image after being handled.
In one of the embodiments, the image after processing is sent to the step of receiving terminal corresponding to receiving terminal mark
It is further comprising the steps of after rapid:The video playback request that receiving terminal is sent is received, video playback request carries video choosing
Select information;Corresponding video selection content in acquisition of information video data is selected according to video;Video selection content is sent to
Receiving terminal.
One of ordinary skill in the art will appreciate that realize all or part of flow in above-described embodiment method, being can be with
The hardware of correlation is instructed to complete by computer program, the computer program can be stored in a computer-readable storage and be situated between
In matter, the program is upon execution, it may include such as the flow of the embodiment of above-mentioned each method.Wherein, foregoing storage medium can be
The non-volatile memory mediums such as magnetic disc, CD, read-only memory (Read-Only Memory, ROM).
Each technical characteristic of embodiment described above can be combined arbitrarily, to make description succinct, not to above-mentioned reality
Apply all possible combination of each technical characteristic in example to be all described, as long as however, the combination of these technical characteristics is not deposited
In contradiction, the scope that this specification is recorded all is considered to be.
Embodiment described above only expresses the several embodiments of the present invention, and its description is more specific and detailed, but simultaneously
Therefore the limitation to the scope of the claims of the present invention can not be interpreted as.It should be pointed out that for one of ordinary skill in the art
For, without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to the guarantor of the present invention
Protect scope.Therefore, the protection domain of patent of the present invention should be determined by the appended claims.
Claims (10)
1. a kind of information processing method, it is characterised in that methods described includes:
Receive and send the video transmission request that terminal is sent, the video sends request and carries video data and receiving terminal mark
Know;
Obtain the target image in the video data;
Obtain the image angle of the target image;
Angle tune is carried out to the target image according to the image angle of the target image and default image angle standard
Section, the image after being handled;
Image after the processing is sent to receiving terminal corresponding to the receiving terminal mark.
2. according to the method for claim 1, it is characterised in that methods described also includes:
Receive the image selection information that the transmission terminal is sent;
It is described obtain in the video data target image the step of include:
Target image in the video data according to described image selects acquisition of information.
3. according to the method for claim 1, it is characterised in that when the target image includes face, the acquisition institute
The step of image angle for stating target image, includes:
Obtain the facial angle in the reference picture of the facial angle and the target image in the target image, the ginseng
Examine image include the video data described in target image first image and/or the target image in rear image;
Calculate the difference value of the facial angle of the target image and the facial angle of the reference picture;
When the difference value is in predetermined threshold value, the figure of the target image is obtained according to the facial angle of the target image
Image angle degree.
4. according to the method for claim 1, it is characterised in that methods described also includes:
Obtain the image size of the target image;
The image angle and default image angle standard according to the target image carries out angle to the target image
Degree regulation, include the step of image after being handled:
The target image is zoomed in and out according to the image size of the target image and default image size criteria, with
And angular adjustment is carried out to the target image according to the image angle of the target image and default image angle standard,
Image after being handled.
5. according to the method for claim 1, it is characterised in that the image by after the processing is sent to the reception
Also include afterwards the step of receiving terminal corresponding to terminal iidentification:
The video playback request that the receiving terminal is sent is received, the video playback request carries video selection information;
Corresponding video selection content in the video data according to the video selects acquisition of information;
Video selection content is sent to the receiving terminal.
6. a kind of information processor, it is characterised in that described device includes:
Request receiving module is sent, for receiving the video transmission request for sending terminal and sending, the video sends request and carried
Video data and receiving terminal mark;
Target image acquisition module, for obtaining the target image in the video data;
Image angle acquisition module, for obtaining the image angle of the target image;
Processing module, for the image angle according to the target image and default image angle standard to the target figure
As carrying out angular adjustment, the image after being handled;
Image sending module, for the image after the processing to be sent into receiving terminal corresponding to the receiving terminal mark.
7. device according to claim 6, it is characterised in that described device also includes:
Information receiving module is selected, the image selection information sent for receiving the transmission terminal;
The target image acquisition module is used for:Target figure in the video data according to described image selects acquisition of information
Picture.
8. device according to claim 6, it is characterised in that when the target image includes face, described image angle
Degree acquisition module includes:
Facial angle acquiring unit, for obtaining the reference chart of facial angle and the target image in the target image
Facial angle as in, the reference picture include the first image of target image described in the video data and/or described
Target image in rear image;
Difference value computing unit, for calculating the facial angle of the target image and the facial angle of the reference picture
Difference value;
Image angle acquiring unit, for when the difference value is in predetermined threshold value, according to the face angle of the target image
Degree obtains the image angle of the target image.
9. a kind of computer equipment, including memory and processor, computer program, the calculating are stored with the memory
When machine program is by the computing device so that letter described in any one of described computing device claim 1 to 5 claim
The step of ceasing processing method.
10. a kind of computer-readable recording medium, it is characterised in that be stored with computer on the computer-readable recording medium
Program, when the computer program is executed by processor so that any one of described computing device claim 1 to 5 right
It is required that the step of described information processing method.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710850125.7A CN107733874B (en) | 2017-09-20 | 2017-09-20 | Information processing method, information processing device, computer equipment and storage medium |
PCT/CN2018/077157 WO2019056701A1 (en) | 2017-09-20 | 2018-02-24 | Information processing method and apparatus, computer device and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710850125.7A CN107733874B (en) | 2017-09-20 | 2017-09-20 | Information processing method, information processing device, computer equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107733874A true CN107733874A (en) | 2018-02-23 |
CN107733874B CN107733874B (en) | 2021-03-30 |
Family
ID=61207522
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710850125.7A Active CN107733874B (en) | 2017-09-20 | 2017-09-20 | Information processing method, information processing device, computer equipment and storage medium |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN107733874B (en) |
WO (1) | WO2019056701A1 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108734690A (en) * | 2018-03-02 | 2018-11-02 | 苏州汉特士视觉科技有限公司 | A kind of defects of vision detection device and its detection method |
WO2019056701A1 (en) * | 2017-09-20 | 2019-03-28 | 平安科技(深圳)有限公司 | Information processing method and apparatus, computer device and storage medium |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111368777B (en) * | 2020-03-13 | 2023-10-13 | 深圳市元征科技股份有限公司 | Vehicle characteristic acquisition method, server and client |
Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101018314A (en) * | 2006-02-07 | 2007-08-15 | Lg电子株式会社 | The apparatus and method for image communication of mobile communication terminal |
CN101917548A (en) * | 2010-08-11 | 2010-12-15 | 无锡中星微电子有限公司 | Image pickup device and method for adaptively adjusting picture |
CN102695034A (en) * | 2012-05-30 | 2012-09-26 | 青岛海信移动通信技术股份有限公司 | Method and device for regulating end display of video image during video call |
CN104144313A (en) * | 2013-05-10 | 2014-11-12 | 中国电信股份有限公司 | Video communication method, video communication system and cloud image server |
CN104335251A (en) * | 2012-06-12 | 2015-02-04 | 索尼公司 | Information processing device, information processing method, and program |
CN104484858A (en) * | 2014-12-31 | 2015-04-01 | 小米科技有限责任公司 | Figure image processing method and device |
CN104936039A (en) * | 2015-06-19 | 2015-09-23 | 小米科技有限责任公司 | Image processing method and device |
US9210336B2 (en) * | 2006-03-28 | 2015-12-08 | Samsung Electronics Co., Ltd. | Automatic extraction of secondary video streams |
CN105247850A (en) * | 2013-03-15 | 2016-01-13 | 谷歌公司 | Automatic adjustment of video orientation |
US20160019697A1 (en) * | 2014-07-18 | 2016-01-21 | International Business Machines Corporation | Device display perspective adjustment |
CN105787884A (en) * | 2014-12-18 | 2016-07-20 | 联想(北京)有限公司 | Image processing method and electronic device |
CN106303029A (en) * | 2016-08-15 | 2017-01-04 | 广东欧珀移动通信有限公司 | The method of controlling rotation of a kind of picture, device and mobile terminal |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101460130B1 (en) * | 2007-12-11 | 2014-11-10 | 삼성전자주식회사 | A method of video communication in a portable terminal and an apparatus thereof |
US8957943B2 (en) * | 2012-07-02 | 2015-02-17 | Bby Solutions, Inc. | Gaze direction adjustment for video calls and meetings |
CN107733874B (en) * | 2017-09-20 | 2021-03-30 | 平安科技(深圳)有限公司 | Information processing method, information processing device, computer equipment and storage medium |
-
2017
- 2017-09-20 CN CN201710850125.7A patent/CN107733874B/en active Active
-
2018
- 2018-02-24 WO PCT/CN2018/077157 patent/WO2019056701A1/en active Application Filing
Patent Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101018314A (en) * | 2006-02-07 | 2007-08-15 | Lg电子株式会社 | The apparatus and method for image communication of mobile communication terminal |
US9210336B2 (en) * | 2006-03-28 | 2015-12-08 | Samsung Electronics Co., Ltd. | Automatic extraction of secondary video streams |
CN101917548A (en) * | 2010-08-11 | 2010-12-15 | 无锡中星微电子有限公司 | Image pickup device and method for adaptively adjusting picture |
CN102695034A (en) * | 2012-05-30 | 2012-09-26 | 青岛海信移动通信技术股份有限公司 | Method and device for regulating end display of video image during video call |
CN104335251A (en) * | 2012-06-12 | 2015-02-04 | 索尼公司 | Information processing device, information processing method, and program |
CN105247850A (en) * | 2013-03-15 | 2016-01-13 | 谷歌公司 | Automatic adjustment of video orientation |
CN104144313A (en) * | 2013-05-10 | 2014-11-12 | 中国电信股份有限公司 | Video communication method, video communication system and cloud image server |
US20160019697A1 (en) * | 2014-07-18 | 2016-01-21 | International Business Machines Corporation | Device display perspective adjustment |
CN105787884A (en) * | 2014-12-18 | 2016-07-20 | 联想(北京)有限公司 | Image processing method and electronic device |
CN104484858A (en) * | 2014-12-31 | 2015-04-01 | 小米科技有限责任公司 | Figure image processing method and device |
CN104936039A (en) * | 2015-06-19 | 2015-09-23 | 小米科技有限责任公司 | Image processing method and device |
CN106303029A (en) * | 2016-08-15 | 2017-01-04 | 广东欧珀移动通信有限公司 | The method of controlling rotation of a kind of picture, device and mobile terminal |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2019056701A1 (en) * | 2017-09-20 | 2019-03-28 | 平安科技(深圳)有限公司 | Information processing method and apparatus, computer device and storage medium |
CN108734690A (en) * | 2018-03-02 | 2018-11-02 | 苏州汉特士视觉科技有限公司 | A kind of defects of vision detection device and its detection method |
CN108734690B (en) * | 2018-03-02 | 2021-12-14 | 苏州汉特士视觉科技有限公司 | Visual defect detection equipment and detection method thereof |
Also Published As
Publication number | Publication date |
---|---|
CN107733874B (en) | 2021-03-30 |
WO2019056701A1 (en) | 2019-03-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11477268B2 (en) | Sharing digital media assets for presentation within an online social network | |
EP3713159B1 (en) | Gallery of messages with a shared interest | |
JP5068379B2 (en) | Method, system, computer program, and apparatus for extending media based on proximity detection | |
CN104618803B (en) | Information-pushing method, device, terminal and server | |
US11914639B2 (en) | Multimedia resource matching method and apparatus, storage medium, and electronic apparatus | |
CN108010037B (en) | Image processing method, device and storage medium | |
KR20190022662A (en) | System and method for identifying matching content | |
US20140250457A1 (en) | Video analysis system | |
JP2017507557A (en) | Process for improving the quality of experience for users who view high-definition video streams on their devices | |
WO2020044097A1 (en) | Method and apparatus for implementing location-based service | |
EP3346396A1 (en) | Multimedia resource quality assessment method and apparatus | |
CN105005599A (en) | Photograph sharing method and mobile terminal | |
WO2017166472A1 (en) | Advertisement data matching method, device, and system | |
CN107733874A (en) | Information processing method, device, computer equipment and storage medium | |
JP2020513705A (en) | Method, system and medium for detecting stereoscopic video by generating fingerprints of portions of a video frame | |
EP2793462B1 (en) | Method and apparatus for video call in communication system | |
CN107729543A (en) | Expression picture recommends method and apparatus | |
US20160249166A1 (en) | Live Content Sharing Within A Social or Non-Social Networking Environment With Rating System | |
CN109327736A (en) | A kind of program commending method based on program viewing expression and user information | |
CN112437332B (en) | Playing method and device of target multimedia information | |
CN107231361A (en) | A kind of information-pushing method, system, server and the first client | |
CN103207891B (en) | multimedia information display method and device | |
KR20120080379A (en) | Method and apparatus of annotating in a digital camera | |
CN110334663A (en) | Age recognition methods and device, storage medium and terminal based on image | |
JP5818323B2 (en) | Video viewing history analysis method, video viewing history analysis apparatus, and video viewing history analysis program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |