Summary of the invention
The objective of the invention is:, provide a kind of method that realizes the video communication simple, that transmission speed is fast, vivid at the deficiencies in the prior art.
In order to solve the problems of the technologies described above, the technical solution used in the present invention is: a kind of method of video communication comprises the steps:
Step 1), the chat initial setting up;
Step 2), adopts camera head that chat person is taken, obtain view data, and import in the described communication terminal;
Step 3) is analyzed the gained view data, identification chat person's facial expression or limb action;
Step 4), facial expression or limb action that the facial expression that obtained or limb action are used to be provided with cartoon character;
Step 5) sends to the chat object with the cartoon character that sets.
Described step 1 is specifically as follows: at first, in communication terminal, set up an action expression cartoon picture library in advance, described action expression cartoon picture library internal memory contains some cartoon characters, facial key element picture and limb action key element picture when every kind of cartoon character all has different facial expressions of some width of cloth and limb action; Then, by chat person's selected a kind of cartoon character from described action expression cartoon picture library; At last, the communication between foundation and the chat object.
Described step 2 is specifically as follows: start camera head and begin continuous shooting, described communication terminal receives the view data from camera head in real time.
Described step 3 is specifically as follows: described communication terminal is chosen an auxiliary image data every certain frame number from the view data that is received, and analyzes this width of cloth view data then, obtains chat person's facial expression or limb action.
Described step 4 is specifically as follows: according to current facial expression or current limb action and the selected cartoon character of chat person, in described action expression cartoon picture library, search corresponding facial expression key element picture or limb action key element picture, and replace the corresponding facial expression key element or the limb action key element of the cartoon character that chat person selectes.
Described step 1 is specifically as follows: at first, in communication terminal, set up an action expression cartoon picture library in advance, described action expression cartoon picture library internal memory contains some cartoon characters, and every kind of cartoon character all has some width of cloth to represent people's the different facial expressions and the cartoon character picture of limb action respectively; Then, by chat person's selected a kind of cartoon character from described action expression cartoon picture library; At last, the communication between foundation and the chat object.
Described step 2 is specifically as follows: chat person needs send expression or limb action image to the chat object in, start described camera head and carry out image and autodyne, after described camera head is taken and is finished with image data transmission in described communication terminal.
Described step 4 is specifically as follows: according to facial expression that is obtained or limb action, read corresponding cartoon character picture from described action expression cartoon picture library.
Described camera head can be the camera that communicates with one another with communication terminal.
Described communication terminal can be computer, mobile phone or PDA.
In technique scheme, the present invention is owing to utilize camera head to take chat person's the facial expression or the image of limb action, and with the image data transmission that obtained in communication terminal, communication terminal is by the analysis to view data, obtain current facial expression of chat person and limb action, thereby identical or akin facial expression and limb action are reflected by the cartoon picture, and this cartoon picture is sent to chat object place, thereby realized converting video image to process that the cartoon picture sends.Because the relative video image of cartoon picture, the data volume that needs to transmit is much smaller, even therefore both sides' bandwidth of chat is not enough, also can very smoothly the cartoon picture be sent to fast, glibly chat object place.And, therefore can reflect chat person's current state more exactly because the facial expression and the limb action of cartoon character all are to determine according to captured view data.Chat effect of the present invention not only is equivalent to original Video chat, and compares chat more vivid and interesting, transfer of data of original frequency and play smooth more.
Embodiment
With reference to figure 1, the method for a kind of video communication provided by the present invention specifically comprises the steps:
Step 1), the chat initial setting up;
Step 2), adopts camera head that chat person is taken, obtain view data, and import in the described communication terminal;
Step 3) is analyzed the gained view data, identification chat person's facial expression or limb action;
Step 4), facial expression or limb action that the facial expression that obtained or limb action are used to be provided with cartoon character;
Step 5) sends to the chat object with the cartoon character that sets.
Below in conjunction with Figure of description and two kinds of preferred embodiments the present invention is described in further detail.
Embodiment 1:
The method of the video communication that present embodiment provided is each facial expression key element and the limb action key element that a kind of image according to shooting is determined cartoon character, these key elements is made up the cartoon character that acquisition can accurately reflect chat person's current state again.It specifically comprises the steps:
Step 1), the chat initial setting up.Be specially:
At first, in communication terminal, set up an action expression cartoon picture library in advance, described action expression cartoon picture library internal memory contains some cartoon characters, facial key element picture and limb action key element picture when every kind of cartoon character all has different facial expressions of some width of cloth and limb action.As, can comprise Micky Mouse, MashiMaro, Kitty cat, Garfield, Winnie the Pooh or the like cartoon character in this action expression cartoon picture library.And each cartoon character, as MashiMaro, its facial key element comprises left and right eyes, left and right eyebrow, nose, lip etc., its limbs key element comprises front, rear, left and right four limbs, head, health etc.And every kind of key element all has its picture under different conditions, as for left eyebrow, then exist on the left eyebrow lift, left eyebrow in state diagram such as gather, lift on the interior angle of left eyebrow.
Then, by chat person's selected a kind of cartoon character from described action expression cartoon picture library.
At last, the communication between foundation and the chat object.
Step 2), adopts camera head that chat person is taken, obtain view data, and import in the described communication terminal.Be specially: start camera head and begin continuous shooting, described communication terminal receives the view data from camera head in real time.
Step 3) is analyzed the gained view data, identification chat person's facial expression or limb action.Be specially:
Described communication terminal can be analyzed the view data that every frame receives, also can guarantee under the continuous prerequisite of image, from the view data that is received, choose an auxiliary image data, analyze this width of cloth view data then, obtain chat person's facial expression or limb action every certain frame number.Present further developing along with science and technology, utilize captured view data, the technology of reference object being carried out face recognition and limb action identification is full-fledged, this technology is widely used in applications such as Film Animation shooting, virtual image design, security monitoring, therefore this technology is the prior art in this area, is not described in detail here.
Step 4), facial expression or limb action that the facial expression that obtained or limb action are used to be provided with cartoon character.Be specially:
According to current facial expression or current limb action and the selected cartoon character of chat person, in described action expression cartoon picture library, search corresponding facial expression key element picture or limb action key element picture, and replace the corresponding facial expression key element or the limb action key element of the cartoon character that chat person selectes.Still selecting MashiMaro with chat person is example.Chat person laughs heartily when chat is glad, and both hands fill the span of a man's arms in the front, and then camera head takes the process of its laugh, and is transferred in the communication terminal.Communication starts its inner facial expression and limb action identification software of installing, and analyzes the view data that is obtained.Obtaining chat person's lip as analysis opens, the corners of the mouth raises up, left and right eyes have been narrowed, key elements such as the tail of the eye raises up, then in described action expression cartoon picture library, access corresponding key element picture respectively, then these key element pictures are loaded on the cartoon character of MashiMaro, thereby acquisition has the cartoon picture of the MashiMaro of the facial expression of laughing heartily.And this software also can be analyzed acquisition chat person both hands and fill the span of a man's arms in the limb action of front, obtains picture accordingly, thereby further this limb action picture is loaded on the cartoon picture of the MashiMaro with the facial expression of laughing heartily.Final acquisition can reflect the cartoon character picture of chat person's current state.
Step 5) sends to the chat object with the cartoon character that sets.
Present embodiment is drawn the facial expression and the limb action of cartoon picture owing to be according to captured view data, and therefore more identical with chat person's current state, the emulation degree is than higher.And can accomplish the cartoon character picture of real-time acquisition reflection chat person's facial expression or limb action, and formation figure laminar flow also sends to the chat object with higher rate, and the chat object receives and shows behind this figure laminar flow and can obtain continuous images.
Embodiment 2:
The method of a kind of video communication that present embodiment provides, be a kind of under chat person's control photographic images, and draw chat person's facial expression or limb action according to analysis of image data, thereby obtain chat person's current state, obtain identical with chat person's current state or akin cartoon character picture thereby search, re-send to the method for chat object.
The concrete steps of this embodiment are as follows:
Step 1), the chat initial setting up.Be specially:
At first, in communication terminal, set up an action expression cartoon picture library in advance, described action expression cartoon picture library internal memory contains some cartoon characters, and every kind of cartoon character all has some width of cloth to represent people's the different facial expressions and the cartoon character picture of limb action respectively.As, can comprise Micky Mouse, MashiMaro, Kitty cat, Garfield, Winnie the Pooh or the like cartoon character in this action expression cartoon picture library.Further, all has its picture when having different expressions and action for each cartoon character.As MashiMaro, the MashiMaro sitting posture and the picture of smiling, MashiMaro sitting posture and angry picture are arranged then, the MashiMaro both hands are filled the span of a man's arms in the front and adorn cruel picture or the like.
Then, by chat person's selected a kind of cartoon character from described action expression cartoon picture library.
At last, the communication between foundation and the chat object.
Step 2), adopts camera head that chat person is taken, obtain view data, and import in the described communication terminal.It is specially:
Chat person needs send expression or limb action image to the chat object in, start described camera head and carry out image and autodyne, after described camera head is taken and is finished with image data transmission in described communication terminal.
Step 3) is analyzed the gained view data, identification chat person's facial expression or limb action.Its concrete grammar and embodiment 1 are same, then no longer auspicious stating.
Step 4), facial expression or limb action that the facial expression that obtained or limb action are used to be provided with cartoon character.Be specially:
According to facial expression that is obtained or limb action, from described action expression cartoon picture library, read corresponding cartoon character picture.Still selecting MashiMaro with chat person is example.Image when camera head shooting acquisition chat person both hands are encircled in the front and laughed at, communication terminal obtains this information by identification software, and according to the previously selected MashiMaro of chat person, from described action expression cartoon picture library, choose corresponding MashiMaro both hands and encircle in the front and the picture of laughing at, as the cartoon character picture of the current state that reflects chat person.
Step 5) sends to the chat object with the cartoon character that sets.The described cartoon character picture that is about to step 4 acquisition sends to chat object place and shows.
The method of this video communication that present embodiment provides, owing to be just to take under chat person's control, shooting process only is the continuous of a period of time, even can be discontinuous shooting.Therefore at the chat object, only be that the video of a period of time shows, or even single image show.But relative prior art, its volume of transmitted data is little, and vivid, interesting strong characteristics still can be subjected to chat person's welcome.
In the present invention, described camera head can be the camera that communicates with one another with communication terminal.Described communication terminal can be communication apparatus such as computer, mobile phone or PDA.