Detailed Description
The embodiment of the specific live strategy analysis system for human face of the present invention will be described in detail.
Embodiment A
An embodiment a according to the present invention shows a specific live strategy parsing system of a human face, the system comprising:
The caching processing mechanism is arranged at the live broadcast server and is used for receiving each frame of live broadcast picture sent by the set live broadcast client and caching each frame of live broadcast picture when the live broadcast picture is distributed to other live broadcast clients;
The caching mechanism is arranged at the live broadcast server and used for receiving each frame of live broadcast picture sent by the set live broadcast client and caching each frame of live broadcast picture when the live broadcast picture is distributed to other live broadcast clients, wherein the caching mechanism can be realized by adopting an SD storage device or a static storage device;
The contrast reserving device is arranged at the live broadcast server and connected with the cache processing mechanism and is used for executing the reserved processing on the junction of two parts with obvious color or light-shade contrast in the image on the live broadcast picture which is received and cached by the cache processing mechanism recently so as to obtain and output a corresponding contrast reserved image;
An image rendering device, connected to the contrast preserving device, for performing an image rendering process on the received contrast preserving image to obtain and output a corresponding current rendered image;
A gradation correction device connected to the image rendering device for performing gradation unevenness correction processing on the received current rendered image to obtain and output a corresponding gradation corrected image;
A multi-layer detection device which is arranged at a live broadcast server and is connected with the gray correction device and comprises a pixel point resolution device, a numerical analysis device and a signal output device, wherein the numerical analysis device is respectively connected with the pixel point resolution device and the signal output device, the multi-layer detection device is used for taking a single pixel point of a received gray correction image as a current pixel point, and sending out a human face extraction success signal when the number of the effective pixel points in the gray correction image is smaller than a set number threshold value when the number of the effective pixel points in the gray correction image is smaller than the set number threshold value, and sending out a human face extraction failure signal when the number of the effective pixel points in the gray correction image is smaller than the set number threshold value;
illustratively, when the red channel value, the green channel value and the blue channel value of the current pixel point in the RGB color space respectively fall in the red channel value range, the green channel value range and the blue channel range corresponding to the human face, the current pixel point is taken as an effective pixel point, wherein the value range of each value in the red channel value, the green channel value and the blue channel value of the current pixel point in the RGB color space is between 0 and 255;
The special effect processing device is connected with the multi-layer detection device and is used for transferring the special effect playing position of the live broadcast picture which is received and cached by the caching mechanism to an image area with the position of the human face of the live broadcast picture which is received and cached by the caching mechanism at the latest as the set pixel point number for playing when a successful signal of human face extraction is received;
The special effect processing device is further used for maintaining the special effect playing position of the live broadcast picture which is received and cached latest by the caching mechanism at the default playing position of the live broadcast picture which is received and cached latest by the caching mechanism when receiving the human face extraction failure signal.
B embodiment
The specific live broadcast strategy analysis system of the human face shown in the embodiment B of the invention can comprise:
The caching processing mechanism is arranged at the live broadcast server and is used for receiving each frame of live broadcast picture sent by the set live broadcast client and caching each frame of live broadcast picture when the live broadcast picture is distributed to other live broadcast clients;
The contrast reserving device is arranged at the live broadcast server and connected with the cache processing mechanism and is used for executing the reserved processing on the junction of two parts with obvious color or light-shade contrast in the image on the live broadcast picture which is received and cached by the cache processing mechanism recently so as to obtain and output a corresponding contrast reserved image;
An image rendering device, connected to the contrast preserving device, for performing an image rendering process on the received contrast preserving image to obtain and output a corresponding current rendered image;
A gradation correction device connected to the image rendering device for performing gradation unevenness correction processing on the received current rendered image to obtain and output a corresponding gradation corrected image;
A multi-layer detection device which is arranged at a live broadcast server and is connected with the gray correction device and comprises a pixel point resolution device, a numerical analysis device and a signal output device, wherein the numerical analysis device is respectively connected with the pixel point resolution device and the signal output device, the multi-layer detection device is used for taking a single pixel point of a received gray correction image as a current pixel point, and sending out a human face extraction success signal when the number of the effective pixel points in the gray correction image is smaller than a set number threshold value when the number of the effective pixel points in the gray correction image is smaller than the set number threshold value, and sending out a human face extraction failure signal when the number of the effective pixel points in the gray correction image is smaller than the set number threshold value;
The special effect processing device is connected with the multi-layer detection device and is used for transferring the special effect playing position of the live broadcast picture which is received and cached by the caching mechanism to an image area with the position of the human face of the live broadcast picture which is received and cached by the caching mechanism at the latest as the set pixel point number for playing when a successful signal of human face extraction is received;
a signal sharpening mechanism respectively connected with the contrast preserving device, the image rendering device and the gray correction device and used for respectively carrying out signal sharpening on respective output image signals of the contrast preserving device, the image rendering device and the gray correction device so as to obtain respective signal sharpened images respectively corresponding to the respective output image signals of the contrast preserving device, the image rendering device and the gray correction device;
Signal sharpening the respective output image signals of the contrast preserving device, the image rendering device and the gray correction device to obtain respective signal sharpened images corresponding to the respective output image signals of the contrast preserving device, the image rendering device and the gray correction device respectively, wherein the first-level signal sharpening horizontally sharpens the respective output image signals of the contrast preserving device, the image rendering device and the gray correction device respectively;
The method comprises the steps of respectively carrying out signal sharpening on respective output image signals of the contrast retaining device, the image rendering device and the gray correction device to obtain respective signal sharpened images corresponding to the respective output image signals of the contrast retaining device, the image rendering device and the gray correction device, and carrying out vertical sharpening on the respective output image signals of the contrast retaining device, the image rendering device and the gray correction device by a second level signal sharpening;
Wherein signal sharpening the respective output image signals of the contrast preserving device, the image rendering device and the gray correction device, respectively, to obtain respective signal sharpened images respectively corresponding to the respective output image signals of the contrast preserving device, the image rendering device and the gray correction device, further comprises: third-level signal sharpening for performing spatial differential sharpening on respective output image signals of the contrast retaining device, the image rendering device, and the gradation correction device;
The method comprises the steps of respectively carrying out signal sharpening on respective output image signals of the contrast retaining device, the image rendering device and the gray correction device to obtain respective signal sharpened images corresponding to the respective output image signals of the contrast retaining device, the image rendering device and the gray correction device, and carrying out edge sharpening on the respective output image signals of the contrast retaining device, the image rendering device and the gray correction device by fourth-level signal sharpening.
C embodiment
The specific live strategy parsing system showing a human face according to the C embodiment of the present invention may include:
The caching processing mechanism is arranged at the live broadcast server and is used for receiving each frame of live broadcast picture sent by the set live broadcast client and caching each frame of live broadcast picture when the live broadcast picture is distributed to other live broadcast clients;
The contrast reserving device is arranged at the live broadcast server and connected with the cache processing mechanism and is used for executing the reserved processing on the junction of two parts with obvious color or light-shade contrast in the image on the live broadcast picture which is received and cached by the cache processing mechanism recently so as to obtain and output a corresponding contrast reserved image;
An image rendering device, connected to the contrast preserving device, for performing an image rendering process on the received contrast preserving image to obtain and output a corresponding current rendered image;
A gradation correction device connected to the image rendering device for performing gradation unevenness correction processing on the received current rendered image to obtain and output a corresponding gradation corrected image;
A multi-layer detection device which is arranged at a live broadcast server and is connected with the gray correction device and comprises a pixel point resolution device, a numerical analysis device and a signal output device, wherein the numerical analysis device is respectively connected with the pixel point resolution device and the signal output device, the multi-layer detection device is used for taking a single pixel point of a received gray correction image as a current pixel point, and sending out a human face extraction success signal when the number of the effective pixel points in the gray correction image is smaller than a set number threshold value when the number of the effective pixel points in the gray correction image is smaller than the set number threshold value, and sending out a human face extraction failure signal when the number of the effective pixel points in the gray correction image is smaller than the set number threshold value;
The special effect processing device is connected with the multi-layer detection device and is used for transferring the special effect playing position of the live broadcast picture which is received and cached by the caching mechanism to an image area with the position of the human face of the live broadcast picture which is received and cached by the caching mechanism at the latest as the set pixel point number for playing when a successful signal of human face extraction is received;
A timing service device, respectively connected with the contrast preserving device, the image rendering device and the gray correction device, for respectively executing the timing service required by the contrast preserving device, the image rendering device and the gray correction device;
Wherein a timing service device, respectively connected to the contrast preserving device, the image rendering device, and the gradation correction device, for respectively performing respective required timing services for the contrast preserving device, the image rendering device, and the gradation correction device, includes: the timing service device is internally provided with a quartz oscillation unit which is respectively connected with the contrast retaining device, the image rendering device and the gray correction device and is used for respectively executing the timing service required by the contrast retaining device, the image rendering device and the gray correction device;
and a timing service device connected with the contrast preserving device, the image rendering device and the gray correction device respectively, for respectively executing the timing service required by the contrast preserving device, the image rendering device and the gray correction device, comprising adopting an SOC device to realize the timing service device.
In addition, in the special effect live broadcast strategy analysis system of the human face, when a human face extraction success signal is received, transferring the special effect play position of the live broadcast picture which is received and cached by the caching mechanism to an image area with the position of the human face of the live broadcast picture which is received and cached by the caching mechanism as the set number of pixels, and playing the image area, wherein the pixel point which is transferred to the image area with the position of the human face of the live broadcast picture which is received and cached by the caching mechanism as the centroid position of the image area with the set number of pixels is the first pixel point, the pixel point with the position of the centroid position of the image area with the human face of the live broadcast picture which is received and cached by the caching mechanism as the second pixel point, and the number of pixels traversed by the shortest path between the first pixel point and the second pixel point in the live broadcast picture which is received and cached by the caching mechanism is the latest is equal to the set number of pixels.
The technical key points of the embodiment of the invention are as follows:
Firstly, when a targeted detection mechanism is adopted to identify that the human face exists in the live broadcast picture which is received and cached recently, transferring the special effect playing position of the live broadcast picture which is received and cached recently to an image area which is positioned away from the position of the human face of the live broadcast picture which is received and cached recently and is the number of set pixels to play, so that the special effect is prevented from interfering the key playing area of the human face in the live broadcast picture which is received and cached recently;
Secondly, adopting a red channel numerical range, a green channel numerical range and a blue channel range which correspond to the human face to finish the targeted identification of effective pixel points forming the human face;
and determining whether the set human face exists in the gray-scale correction image based on the number of the effective pixel points in the gray-scale correction image, thereby completing the targeted and high-precision detection of the set human face.
By adopting the special effect live broadcast strategy analysis system of the human face, aiming at the technical problem that the appreciation special effect can prevent the main broadcasting from showing the key area of the talent art in the prior art, when the special effect play position of the latest received and cached live broadcast picture is transferred to the image area with the position of the human face of the latest received and cached live broadcast picture as the set pixel number for playing by adopting the targeted detection mechanism to identify the existence of the human face in the latest received and cached live broadcast picture, thereby avoiding the blocking of the special effect on the live broadcast picture effect.
The above description is only of the preferred embodiments of the present invention and is not intended to limit the present invention, but various modifications and variations can be made to the present invention by those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.