WO2018214693A1 - Video communication system detection method and apparatus, storage medium and computer device - Google Patents

Video communication system detection method and apparatus, storage medium and computer device Download PDF

Info

Publication number
WO2018214693A1
WO2018214693A1 PCT/CN2018/084619 CN2018084619W WO2018214693A1 WO 2018214693 A1 WO2018214693 A1 WO 2018214693A1 CN 2018084619 W CN2018084619 W CN 2018084619W WO 2018214693 A1 WO2018214693 A1 WO 2018214693A1
Authority
WO
WIPO (PCT)
Prior art keywords
picture
video
tested
sample
communication system
Prior art date
Application number
PCT/CN2018/084619
Other languages
French (fr)
Chinese (zh)
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 WO2018214693A1 publication Critical patent/WO2018214693A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N17/00Diagnosis, testing or measuring for television systems or their details
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/40Extraction of image or video features

Definitions

  • the present disclosure relates to the field of multimedia technologies, and in particular, to a method, an apparatus, a storage medium, and a computer device for detecting a video communication system.
  • video communication technology has been widely used in video telephony, interactive television, video conferencing, electronic surveillance and remote video education.
  • the video processed by the video communication system is detected, and the image is processed according to the detected video, such as low color reproduction degree of the video image.
  • the video communication system is perfected by freezing, image flower screen, black screen and blue screen.
  • the detection of the traditional video communication system is to observe and subjectively judge the video to be tested by the professional, and the video processing problem existing in the video communication system is obtained.
  • This method consumes a lot of manpower and time, and is prone to missed or Problems such as nuances are not detected, resulting in low detection efficiency of video communication systems.
  • Embodiments of the present disclosure provide a method, an apparatus, a storage medium, and a computer device for detecting a video processing application.
  • a method for detecting a video communication system comprising:
  • a detecting device for a video communication system comprising:
  • the video acquisition module to be tested is configured to acquire a video to be tested generated by the video communication system according to the sample video;
  • the picture extraction module to be tested is configured to extract a plurality of pictures to be tested from the video to be tested;
  • a frame number identification module configured to identify a frame number included in each picture to be tested
  • a sample picture obtaining module configured to acquire a sample picture corresponding to each frame serial number, where the sample picture is a frame picture extracted from the sample video;
  • a similarity calculation module configured to calculate a first similarity between each picture to be tested and a corresponding sample picture
  • the video processing problem determining module is configured to determine whether the video communication system has a video processing problem according to the first similarity between each picture to be tested and the corresponding sample picture.
  • a computer readable storage medium having stored thereon a computer program, wherein the program is implemented by a processor to implement a method of detecting the video communication system.
  • a computer device comprising a memory, a processor, and a computer program stored on the memory and operable on the processor, wherein the processor performs the detection method of the video communication system when the program is executed.
  • the device, the storage medium, and the computer device of the video communication system After extracting a plurality of pictures to be tested from the video to be tested, and identifying the frame number included in each picture to be tested, according to the picture to be tested
  • the frame number in the frame obtains the sample picture corresponding to the picture to be tested, and the picture to be tested and the sample picture are associated by the frame number, which improves the accuracy of finding the corresponding sample picture, and saves the time for finding the picture.
  • Determining whether there is a video processing problem in the video communication system by calculating a first similarity between each picture to be tested and a corresponding sample picture, avoiding missing the picture to be tested with quality problems, and calculating the similarity of the picture, The accuracy of the quality detection of the video image to be tested is improved, and the detection efficiency of the video communication system is improved.
  • FIG. 1 is an application scenario diagram of a detection method of a video communication system in an embodiment
  • FIG. 2 is a diagram showing the internal structure of a video communication system detecting device in an embodiment
  • FIG. 3 is a flow chart of a method for detecting a video communication system in an embodiment
  • FIG. 4 is a flow chart of a method for detecting a video communication system in another embodiment
  • FIG. 5 is a flowchart of a method for detecting a video communication system in still another embodiment
  • FIG. 6 is a flow chart of a method for detecting a video communication system in still another embodiment
  • Figure 7 is a block diagram showing the structure of a detecting apparatus of a video communication system in an embodiment
  • Figure 8 is a block diagram showing the structure of a detecting apparatus of a video communication system in another embodiment.
  • the detection method of the video communication system provided by the embodiment of the present disclosure can be applied to an application environment as shown in FIG. 1.
  • the video communication system detecting device 110 is connected to the video communication system 120.
  • the video communication system 120 includes a first terminal 122 and a second terminal 124.
  • the video communication system 120 can be a videophone, an interactive television, or a video.
  • Video communication systems used in application scenarios such as conferences, electronic surveillance, and remote video education.
  • the first terminal 122 and the second terminal 124 can perform data transmission via the network.
  • the first terminal 122 can serve as a transmitting terminal for sample video
  • the second video 124 can serve as a receiving terminal for sample video.
  • the first terminal 122 After receiving the sample video sent by the video communication system detecting device 110 for detecting the video communication system, the first terminal 122 encodes the sample video and transmits the encoded sample video to the second terminal 124.
  • the second terminal 124 may decode and generate a corresponding video to be tested according to a corresponding decoding manner.
  • codec standards include but are not limited to H264, H264HP, H265, and the like.
  • the video communication system detecting device 110 can acquire the detected video and detect it.
  • the first terminal 122 can also serve as the receiving terminal of the sample video
  • the second terminal 124 serves as the transmitting terminal of the sample video
  • the second terminal 124 encodes the sample video and sends the sample video to the first terminal 122. Decoding is performed to generate a corresponding video to be tested.
  • video communication system detection device 110 and video communication system 120 may be on the same terminal.
  • the terminal may acquire a sample piece source to generate a sample video, and through the built-in video communication application of the terminal, the sample video may be encoded, transmitted, and decoded to generate a video to be tested.
  • the videophone software to be detected can be downloaded on the terminal, and two accounts are logged in. One of the accounts is used as the first terminal 122, and the other account is used as the second terminal 124.
  • the terminal can obtain the first terminal 122.
  • the sample video sent and the video to be tested received by the second terminal 124 analyze the sample video and the video to be tested, thereby detecting the videophone software.
  • the communication system detecting device 110 includes a processor connected through a system bus, a nonvolatile storage medium, an internal memory, and a display screen.
  • the processor of the video communication system detecting device is used to provide calculation and control capabilities to support the operation of the entire server.
  • the non-volatile storage medium of the video communication system detecting device stores an operating system and computer executable instructions executable by the processor for implementing a video communication system provided by the following embodiments Detection method.
  • the internal memory provides a cached operating environment for operating systems and computer executable instructions in a non-volatile storage medium.
  • the network interface is configured to communicate with an external terminal to implement data transmission, such as sending sample video to the first terminal and acquiring the video to be tested from the second terminal.
  • the display can be used to display video images.
  • FIG. 2 is only a block diagram of a partial structure related to the solution of the present disclosure, and does not constitute a limitation of a mobile terminal to which the present disclosure is applied, and a specific video communication system.
  • the detection device may include more or fewer components than shown in the figures, or some components may be combined, or have different component arrangements.
  • the video communication system detecting device may further include a camera for scanning the visible area to generate a sample slice source.
  • a method for detecting a video communication system is provided.
  • the method is applicable to the application environment shown in FIG. 1, and includes:
  • Step S302 Acquire a video to be tested generated by the video communication system according to the sample video.
  • the video communication system is a communication system for transmitting video information, and through the support of multimedia technology and network communication technology, provides a face-to-face communication mode for people in different regions.
  • the communication system may be a wireless communication system that transmits electromagnetic waves in free space, or a wired communication system that transmits information in a guiding medium.
  • the video communication system may be, but is not limited to, a video telephone system, an interactive television system, a video conference system, an electronic monitoring system, and a remote video education system.
  • the sample video refers to the video used to detect the video communication system.
  • each frame picture of the sample video includes a frame number
  • each frame picture of the video to be tested generated by the video communication system according to the sample video also includes a frame number.
  • the transmitting end of the video communication system may transmit the sample video to one or more receiving ends by using a network transmission, and the one or more receiving ends may encode the encoded according to a corresponding decoding manner.
  • the sample video is decoded to generate a corresponding video to be tested, and the video to be tested can be obtained for the next detection.
  • the video communication system may be a video conference system, where the video conference system refers to individuals or groups of two or more different places, and transmits voice, video, and file data through transmission lines and multimedia devices.
  • a system device that enables instant and interactive communication to achieve the purpose of the meeting.
  • the conference video of the first conference scene is sent to the display screen of the second conference scene for display by the video conference system, and the next step is detected by acquiring the video displayed on the display screen of the second conference scene.
  • Step S304 extracting a plurality of pictures to be tested from the video to be tested.
  • the picture to be tested is a frame picture in the video to be tested.
  • Each frame image may be extracted from the video to be tested as a picture to be tested, or a part of the frame picture may be extracted from the video to be tested as a picture to be tested, for example, a frame picture is extracted from the video to be tested according to a preset time interval.
  • Measure the picture For example, the preset time interval is in the order of seconds.
  • the frame picture is extracted from the video to be tested as the picture to be tested every 1 or 2 seconds. It is also possible to preset the number of pictures to be tested to avoid missing image problems that occur in a short period of time, including but not limited to instantaneous blooming. For example, if the number of pictures to be tested obtained at intervals of 2 seconds is smaller than the number of preset pictures to be tested, the time interval can be shortened to 1 second to obtain more pictures to be tested.
  • the resource is saved as a picture to be tested, and the preset time interval is a second level to prevent the occurrence of the missing video, and the preset picture to be tested is preset.
  • the number is increased to improve the accuracy of the video analysis.
  • Step S306 identifying a frame number included in each picture to be tested.
  • the frame number refers to the number of the video picture used to identify the frame picture, and the frame number may be a combination of one or more of numbers, letters, and punctuation.
  • the frame number is not repeatable, and each frame number corresponds to a unique frame picture.
  • the corresponding frame picture in the video to be tested generated by the video communication system also includes the same frame number.
  • the frame picture in the sample video and the frame picture in the video to be tested have a one-to-one correspondence, and each frame number may correspond to a frame picture in the video and one to be tested.
  • the frame picture in the video, the frame number can be used to associate the sample video with the frame picture in the video to be tested, and can identify the frame picture in the corresponding sample video by identifying the frame number included in the picture to be tested.
  • the frame number included in the picture to be tested can be directly identified by image recognition technology.
  • the frame number in the picture to be tested may be segmented by a threshold segmentation method, a region extraction method, a texture image segmentation method, etc., and the characters in the frame number are identified one by one.
  • the frame number included in all the frame pictures in the sample video may be stored as a frame number library, and after the frame number included in the picture to be tested is segmented, the frame number of the divided frame is matched with the frame number in the frame number library to determine The frame number contained in the picture to be tested.
  • the time taken to identify the frame number in the picture to be tested may be on the order of milliseconds.
  • the frame number recognition model can also be trained through the neural network to increase the recognition accuracy rate to over 99%, thereby improving the accuracy of the detection of the video communication system and reducing the time required for the detection.
  • Step S308 acquiring a sample picture corresponding to each frame serial number, where the sample picture is a frame picture extracted from the sample video.
  • the sample picture is a frame picture in the sample video
  • each sample picture is converted by the video communication system to generate a corresponding picture to be tested, and the frame number included in the sample picture and the frame number included in the picture to be tested are also corresponding.
  • a sample picture uniquely corresponding to the frame number can be queried according to the frame number of the video to be tested. For example, if the frame number in the picture to be tested is 12345, the sample picture with the frame number 12345 in the sample video is obtained.
  • Step S310 calculating a first similarity between each picture to be tested and a corresponding sample picture.
  • the first similarity is the similarity between each picture to be tested and the corresponding sample picture calculated by the picture comparison algorithm.
  • the image comparison algorithm may be to compare the feature values of each corresponding pixel of the two images, for example, RGB (Red, Green, Blue, three primary colors, by which the value of the pixel can be expressed), thereby obtaining two Image similarity algorithm. It is also possible to obtain an algorithm of two picture similarities by matching one or more combinations of contents, features, structures, relationships, textures, and gradations of two pictures. For example, a histogram improvement algorithm for two picture similarities is obtained by a gray histogram.
  • the first threshold is a similarity threshold for determining whether the picture to be tested has a quality problem, for example, 90% or 95%. If so, it is determined that there is a quality problem with the image to be tested. For example, when the first similarity between the picture to be tested and the corresponding sample picture is 89%, and the first threshold is 90%, it is determined that the picture to be tested has a quality problem.
  • a plurality of image comparison algorithms may be preset, and a first similarity between each of the to-be-tested pictures and the sample pictures is calculated by a plurality of image comparison algorithms. For example, after the first similarity calculated by the first image comparison algorithm is lower than the first threshold, the similarity between each picture to be tested and the sample picture is calculated by the second image comparison algorithm to perform verification. If the similarity calculated by the second image comparison algorithm is still lower than the first threshold, determining that the picture to be tested has a quality problem; if the similarity calculated by the second image comparison algorithm is higher than the first threshold, determining The two pictures are identical, and there is no quality problem in the picture to be tested, and the similarity higher than the first threshold is taken as the first similarity.
  • Step S312 determining whether there is a video processing problem in the video communication system according to the first similarity between each picture to be tested and the corresponding sample picture.
  • a first similarity may be calculated between each picture to be tested and a corresponding sample picture, and the first similarity between each picture to be tested and the corresponding sample picture is summarized to be analyzed and determined.
  • the video processing problem includes a combination of one or more of a blue screen, a black screen, a flower screen, a color cast, and the like.
  • an image problem existing in the picture to be tested may be obtained, and all image problems existing in the picture to be tested are summarized. It is determined whether the video communication system has a problem of a combination of one or more of a blue screen, a black screen, a flower screen, a color cast, and the like.
  • the above-mentioned detection method of the video communication system by extracting a plurality of pictures to be tested from the video to be tested, identifying the frame number included in each picture to be tested, and acquiring the sample picture corresponding to the picture to be tested according to the frame number, and passing the frame number Correlating the to-be-tested picture and the sample picture improves the accuracy of finding the corresponding sample picture, and determining whether the video communication system has a video processing problem by calculating the first similarity between each picture to be tested and the corresponding sample picture, and avoiding The missing picture with quality problems is omitted, which saves the detection time of the video communication system and improves the detection efficiency of the video communication system.
  • the method before acquiring the video to be tested generated by the video communication system according to the sample video, the method further includes:
  • Step S402 acquiring a sample slice source for detecting a video communication system.
  • the sample slice source is the most original video for detecting a video communication system
  • the sample slice source may be an existing video, may also be a video generated by a camera scan, and may also be displayed on a desktop window. Picture.
  • the sample slice source of the corresponding category may be selected according to the application scenario of the video communication system. For example, when the detected video communication system is a video conference system, the video with the scene state of the conference may be selected as a sample source. For another example, when the detected video communication system is an electronic surveillance video, in addition to selecting a sample source of the daytime scene, a sample source in the night scene may also be selected.
  • the camera can be invoked to scan the viewable area, generate a video at a predetermined frame rate, and present it on the display in real time.
  • the frame picture may be collected according to a sampling frequency less than or equal to the frame rate, and the collected frame picture set is used as the sample piece source to be processed.
  • Step S404 generating a sample video by adding a frame number to each frame picture of the sample piece source.
  • the sample video refers to a video used for importing into a video communication system for detection
  • the sample video can be generated by adding a frame number to each frame picture of the sample slice source.
  • the method of adding the frame number may be to superimpose a frame number on each frame picture of the sample piece source to identify the frame picture.
  • Step S406 extracting a frame picture in the sample video to generate a sample picture.
  • extracting a frame picture in the sample video and generating a sample picture includes: saving each frame picture of the sample video as a sample picture, acquiring a frame number included in each sample picture, and naming the corresponding frame number according to the frame number Sample image.
  • the frame number included in the sample picture can be identified by the image recognition technology, and the corresponding sample picture is named as the serial number.
  • step S404 and step S406 can be performed simultaneously.
  • the frame picture is saved, and the frame picture is named as the corresponding frame number, and the frame number is omitted.
  • the step of identifying the frame number contained in the sample picture can save time in generating the sample picture.
  • the time for finding the sample picture is reduced, and the accuracy of finding the sample picture is improved.
  • determining, according to the first similarity between each picture to be tested and the corresponding sample picture, whether the video communication system has a video processing problem comprising: waiting according to the first similarity lower than the first threshold
  • the number of pictures is determined to determine if there is a video processing problem in the video communication system.
  • a quantity threshold may be preset to determine whether the number of pictures to be tested corresponding to the first similarity lower than the first threshold is higher than the quantity threshold. If yes, it is determined that the video communication system has a video processing problem.
  • the quantity threshold may be a fixed value, or a dynamic quantity threshold may be obtained by calculating a percentage of the total number of pictures to be tested.
  • step S502 determining whether the video communication system has video processing according to the number of pictures to be tested corresponding to the first similarity lower than the first threshold. After the problem, it also includes:
  • Step S504 when it is determined that there is a video processing problem in the video communication system, calculating a second similarity between each deviation of the to-be-tested picture and the preset deviation picture, and the deviation of the to-be-tested picture is a first similarity lower than the first threshold. Corresponding picture to be tested.
  • the deviation picture to be tested refers to the picture to be tested corresponding to the first similarity lower than the first threshold, and the specific video processing problem existing in the video system to be tested can be determined according to the deviation picture to be tested.
  • a deviation picture refers to a picture with quality problems, including but not limited to a blue screen picture and a black screen picture, which can be used to detect whether the deviation of the picture to be tested has the same problem, such as a blue screen or a black screen.
  • the second similarity is the similarity between each of the deviation test images calculated by the picture comparison algorithm and the preset deviation picture. Among them, the picture comparison algorithm can be the same as the way of calculating the first similarity.
  • the deviation picture may be multiple, and the order of calculating the deviation of the picture to be tested and each of the deviation pictures is not limited, and when the second similarity between the deviation of the picture to be tested and one of the deviation pictures is detected is higher than When the second threshold is used, the second similarity between the deviation test picture and other deviation pictures is not calculated.
  • the deviation picture is a black screen picture and a blue screen picture. If it is detected that the second similarity between the deviation picture to be tested and the black screen picture is higher than the second threshold, it is not necessary to calculate the second similarity between the deviation picture to be tested and the blue screen picture. If the second similarity between the deviation of the to-be-tested picture and the black-screen picture is lower than the second threshold, the second similarity between the deviation of the picture to be tested and the blue-screen picture is calculated.
  • Step S506 determining whether the second similarity is higher than the second threshold.
  • the second threshold is a similarity threshold for determining whether the deviation of the picture to be tested has a deviation picture quality problem.
  • step S508 is performed, and when the second similarity is lower than the second threshold, step S510 is performed.
  • Step S508 determining that the video processing problem existing in the video communication system includes a blue screen or a black screen.
  • the deviation picture includes, but is not limited to, a blue screen and a black screen.
  • the second similarity is higher than the second threshold, it is determined that the deviation of the picture to be tested has the same quality problem as the deviation picture.
  • the similarity between the deviation picture to be tested and the blue screen picture or the black screen picture is higher than the second threshold, it is determined that the deviation picture has a corresponding deviation picture. For example, if the second similarity between the deviation picture to be tested and the black screen picture is higher than the second threshold, it is determined that the deviation similar picture is consistent with the black screen picture, and the video processing problem includes a black screen.
  • step S510 it is determined that the video processing problem existing in the video communication system includes a problem of blooming or color cast.
  • the video processing problem includes, but is not limited to, a combination of one or more of a flower screen or a color cast.
  • the method further includes: classifying and storing the deviation to-be-measured image. For example, all the deviations to be tested can be classified according to categories such as black screen, blue screen, flower screen, color cast, and the like, and all the deviations to be tested are saved according to the corresponding categories.
  • the deviation of the to-be-tested picture is classified and saved, and the method further includes: obtaining a positioning identifier of the deviation of the to-be-tested picture in the video to be tested, and naming all the deviation-to-measure pictures as the corresponding positioning identifier.
  • the location identifier is an identifier that can locate the position of the to-be-measured picture in the video to be tested, and the location identifier includes, but is not limited to, a progress time or a percentage of progress of the deviation of the to-be-tested picture in the video to be tested.
  • the method includes: determining, corresponding to the first similarity that is higher than the first threshold, corresponding to the first similarity Whether the frame number included in the picture to be tested is consistent with the frame number included in the adjacent picture to be tested, and if so, it is determined that the video processing problem existing in the video communication system includes the problem of image freezing or image jamming.
  • the image freeze refers to that the frame numbers of all the pictures to be tested in the video to be tested are consistent
  • the image card is that the frame numbers of the pictures to be tested corresponding to a video in the video to be tested are consistent.
  • the frame numbers of the pictures to be tested corresponding to the subsequent videos are inconsistent.
  • the image to be tested corresponding to the first similarity that is higher than the first threshold does not have an image quality problem. If it is detected that the frame to be tested is consistent with the frame number of the adjacent picture to be tested, the video processing of the video communication system is determined. Problems include image freeze or image jams. It is also possible to detect whether the frame number of the picture to be tested corresponding to the first similarity lower than the first threshold is consistent with the frame number included in the adjacent picture to be tested, and if so, the video processing problem existing in the video communication system includes image quality. Problems as well as image freeze or image jams.
  • the frame number of the sample picture in the sample video is a non-repeating character string, if the same picture number is detected, the picture to be tested is detected. Then, it is determined that the video processing problems existing in the video communication system include image freeze or image jamming.
  • all the frame numbers may be summarized in the order of extraction time. Compare whether all the frame numbers of the video to be tested are consistent with all the frame numbers of the corresponding sample videos summarized in the same manner. If not, it is determined that the video processing problems existing in the video communication system include image freeze or image jamming.
  • acquiring the sample picture corresponding to each frame sequence includes: searching for a sample picture having the same resolution according to a resolution of the picture to be tested, and acquiring each picture to be tested in the sample picture having the same resolution.
  • the resolution is a value used to represent the image precision, including but not limited to 4K, 2K, 1080K, 720P, and the like.
  • the resolution of a video is the number of pixels contained in a unit of an inch of a video image. The more pixels, the finer the picture.
  • the resolution of the sample video refers to the resolution of the sample picture in the sample video
  • the resolution of the video to be tested refers to the resolution of the picture to be tested in the video to be tested.
  • the resolution of the sample video used to detect the video communication system is the same as the resolution of the video to be tested generated by the video communication system. After finding the sample picture corresponding to the same resolution according to the resolution of the picture to be tested in the video to be tested, the sample picture corresponding to the frame number of each picture to be tested is obtained in the found sample picture. In this embodiment, by searching the sample picture corresponding to the frame number of each picture to be tested in the sample picture of the corresponding resolution, the difficulty of finding the sample picture is reduced, and the efficiency of acquiring the corresponding sample picture is improved.
  • the sample slice source may generate a plurality of corresponding sample videos to detect different video communication systems.
  • the original sample video can be converted to sample video of different resolutions by means of codec.
  • high-resolution sample video can be converted to low-resolution sample video
  • high-resolution sample video is used to detect video communication systems with corresponding high output resolution
  • low-resolution sample video is used to detect A video communication system with a correspondingly low output resolution.
  • Each sample video can also be converted to sample video having multiple preset resolutions to enable detection of multiple video communication systems having different output resolutions.
  • the sample pictures with the same resolution are saved as one path according to the resolution of the sample picture, and the sample pictures of different resolutions are stored in the corresponding different paths to form a sample library, and the resolution of the video to be tested can be found correspondingly.
  • the sample picture is stored in the corresponding path according to the resolution of the sample picture, thereby searching for the corresponding sample picture according to the resolution of the video to be tested, thereby improving the convenience of managing the sample picture and reducing the search sample.
  • the difficulty of the photo improves the efficiency of obtaining the corresponding sample image.
  • FIG. 6 another video communication system detection method is provided.
  • the method can be applied to an application environment as shown in FIG. 1, including:
  • Step S601 Acquire a sample slice source for detecting a video communication system, and generate a sample video by adding a frame sequence number to each frame picture of the sample slice source.
  • a sample slice source of a corresponding category may be selected according to an application scenario of the video communication system. For example, when the detected video communication system is a video conference system, since the application scenario of the video conference is usually a conference room, and more face images appear, the selected sample source may be in a closed scene. , including more face images, etc.
  • a frame number may be superimposed on the bottom edge of each frame picture, or a black border may be formed on the bottom edge of each frame picture of the sample source by editing the sample source, and the frame number may be superimposed on the black side. To reduce the interference on the frame picture itself.
  • Step S602 extracting a frame picture in the sample video to generate a sample picture.
  • the frame number included in the sample picture can be identified by the image recognition technology, and the sample picture is saved and named as the corresponding serial number.
  • Step S603 acquiring a video to be tested generated by the video communication system according to the sample video.
  • the transmitting end of the video communication system may transmit the sample video to one or more receiving ends after the sample video is encoded, and the one or more receiving ends may follow the corresponding decoding manner. Decoding the encoded sample video to generate a corresponding video to be tested, and acquiring the video to be tested for the next detection.
  • Step S604 extracting a plurality of pictures to be tested from the video to be tested.
  • the frame image is extracted from the video to be tested as the image to be tested according to the preset time interval.
  • the frame image is extracted from the video to be tested every 1 second as the image to be tested.
  • the method further includes determining whether the number of the extracted pictures to be tested is higher than a preset number. For example, if the number of extracted pictures to be tested is higher than the preset number, the next step of detecting is performed; if the number of extracted pictures to be tested is lower than the preset number, repeating this step to extract more pictures to be tested, such as Said to extract more pictures to be tested from the video to be tested according to a higher extraction frequency.
  • Step S605 identifying a frame number included in each picture to be tested.
  • the frame number may be a string that is not repeated continuously.
  • the frame number can be from 10001 to 11500 in the order of the frame picture.
  • the frame number of the frame picture may not be in the order of the frame number, but an arbitrarily ordered non-repeating character string.
  • the frame number can be in the form of binary coding, and only two numbers of 0 and 1 are used to identify the frame picture, which reduces the difficulty of identifying the frame number and improves the accuracy of identifying the frame number.
  • Step S606 Find a sample picture having the same resolution according to the resolution of the picture to be tested, and obtain a sample picture corresponding to the frame number of each picture to be tested in the sample picture having the same resolution.
  • the resolution of the video to be tested generated by the video communication system may be the highest output resolution of the video communication system, and correspondingly, the resolution of the sample video used for the detection video communication system is also compatible with the video communication system.
  • the highest output resolution is the same.
  • the sample picture having the corresponding resolution may be searched according to the resolution of the video to be tested or the resolution of the picture to be tested, and the sample picture corresponding to the frame number of the picture to be tested is searched for in the sample picture that is found.
  • Step S607 calculating a first similarity between each picture to be tested and a corresponding sample picture.
  • the first similarity may be calculated by comparing each pair of corresponding pixels RGB of the to-be-measured picture and the sample picture, and determining whether the first similarity is lower than the first threshold, and if yes, the picture to be tested and the sample
  • the image is verified by a histogram improvement algorithm. If the similarity is still lower than the first threshold by the histogram improvement algorithm, it is determined that there is a quality problem in the picture to be tested; if the similarity is higher than the first threshold by the histogram improvement algorithm, the two pictures are determined to be consistent. The picture to be tested does not have a quality problem, and the similarity higher than the first threshold is taken as the first similarity.
  • Step S608 determining whether there is a video processing problem in the video communication system according to the number of pictures to be tested corresponding to the first similarity lower than the first threshold.
  • the preset number threshold is 1. If there is a picture to be tested corresponding to the first similarity lower than the first threshold, it is determined that the video communication system has a video processing problem. For example, the preset number threshold is 0.1% of the total number of pictures to be tested, and for the total number of 5000 pictures to be tested, the number of pictures to be tested corresponding to the first similarity lower than the first threshold is greater than 5. It is determined that there is a video processing problem in the video communication system. For example, when it is determined that there is a video processing problem in the video communication system, step S609 is performed, and if not, step S613 is performed.
  • Step S609 calculating a second similarity between each deviation of the to-be-tested picture and the preset deviation picture, where the deviation of the to-be-tested picture is a picture to be tested corresponding to the first similarity lower than the first threshold.
  • Step S610 determining whether the second similarity is higher than the second threshold.
  • the second threshold is a similarity threshold for determining whether the deviation of the picture to be tested has a deviation picture quality problem. For example, when the second similarity is higher than the second threshold, step S611 is performed, and when the second similarity is lower than the second threshold, step S612 is performed.
  • step S611 it is determined that the video processing problem existing in the video communication system includes a blue screen or a black screen.
  • step S612 it is determined that the video processing problem existing in the video communication system includes a problem of blooming or color cast.
  • step S613 it is determined whether the frame number included in the picture to be tested corresponding to the first similarity that is higher than the first threshold is consistent with the frame number included in the adjacent picture to be tested.
  • step S614 when the frame number of the to-be-tested picture corresponding to the first similarity that is higher than the first threshold is consistent with the frame number of the adjacent picture to be tested, step S614 is performed, and if no, step S615 is performed. .
  • step S614 it is determined that the video processing problem existing in the video communication system includes an image freeze or an image jam.
  • step S615 it is determined that the video communication system does not have a black screen, a blue screen, a flower screen or a color cast.
  • the method further includes: saving the deviation to-be-tested picture according to the corresponding category according to the determination result.
  • categories include, but are not limited to, black screen, blue screen, flower screen, color cast, and the like.
  • the detection report of the video communication system refers to the information of the number, category, and the like of the picture to be measured by the aggregation deviation, and is not limited thereto, and generates a report reflecting the video processing problem existing in the video communication system.
  • the deviation test picture may also be named as the progress time of the deviation test picture in the video to be tested, and the sample picture of the corresponding progress time in the sample video may be searched according to the progress time for the next analysis and confirmation.
  • the video processing problem existing in the video communication system is gradually refined, and the accuracy of the detection of the video to be tested system is improved.
  • the frame number of the to-be-tested picture corresponding to the first similarity higher than the first threshold is consistent with the frame number included in the adjacent picture to be tested, image freezing or image jamming other than ignoring the image quality problem is avoided. The problem is to improve the accuracy of detecting the video to be tested, thereby improving the detection efficiency of the video communication system.
  • a detection apparatus for a video communication system including:
  • the to-be-tested video acquisition module 702 is configured to acquire a video to be tested generated by the video communication system according to the sample video.
  • the picture to be tested module 704 is configured to extract a plurality of pictures to be tested from the video to be tested.
  • the frame number identification module 706 is configured to identify the frame number included in each picture to be tested.
  • the sample picture obtaining module 708 is configured to acquire a sample picture corresponding to each frame number, and the sample picture is a frame picture extracted from the sample video.
  • the similarity calculation module 710 is configured to calculate a first similarity between each picture to be tested and a corresponding sample picture.
  • the video processing problem determining module 712 is configured to determine whether the video communication system has a video processing problem according to the first similarity between each picture to be tested and the corresponding sample picture.
  • the apparatus further includes:
  • the sample video generation module 714 is configured to acquire a sample slice source for detecting the video communication system, and generate a sample video by adding a frame number to each frame picture of the sample slice source.
  • the sample picture generating module 716 is configured to extract a frame picture in the sample video to generate a sample picture.
  • the sample picture generating module 716 is further configured to save each frame picture of the sample video as a sample picture; acquire a frame number included in each sample picture; and name a corresponding sample picture according to the frame number.
  • the video processing problem determining module 712 is further configured to determine whether the video communication system has a video processing problem according to the number of pictures to be tested corresponding to the first similarity lower than the first threshold.
  • the similarity calculation module 710 is further configured to: when determining that the video communication system has a video processing problem, calculate a second similarity between each deviation of the to-be-tested picture and the preset deviation picture, and deviation the picture to be tested
  • the video processing problem determining module 712 is further configured to: when the second similarity is higher than the second threshold, determine that the video processing problem existing in the video communication system includes a blue screen. Or a black screen problem, when the second similarity is lower than the second threshold, it is determined that the video processing problem existing in the video communication system includes a problem of blooming or color cast.
  • the video processing problem determining module 712 is further configured to determine whether the frame number of the to-be-tested picture corresponding to the first similarity that is higher than the first threshold is consistent with the frame number included in the adjacent picture to be tested; Then, it is determined that the video processing problems existing in the video communication system include image freeze or image jamming.
  • the sample picture obtaining module 708 is further configured to: search for a sample picture having the same resolution according to a resolution of the picture to be tested; and acquire a frame number of each picture to be tested in the sample picture having the same resolution. Corresponding sample image.
  • the detecting device of the video communication system by extracting a plurality of pictures to be tested from the video to be tested, identifying the frame number included in each picture to be tested, and acquiring the sample picture corresponding to the picture to be tested according to the frame number, and passing the frame number Correlating the to-be-tested picture and the sample picture improves the accuracy of finding the corresponding sample picture, and determining whether the video communication system has a video processing problem by calculating the first similarity between each picture to be tested and the corresponding sample picture, and avoiding The missing picture with quality problems is omitted, which saves the detection time of the video communication system and improves the detection efficiency of the video communication system.
  • a computer readable storage medium having stored thereon a computer program, wherein the program, when executed by the processor, implements the steps of: acquiring a video to be tested generated by the video communication system according to the sample video; Extracting a plurality of pictures to be tested in the video to be tested; identifying a frame number included in each picture to be tested; acquiring a sample picture corresponding to each frame number, the sample picture is a frame picture extracted from the sample video; calculating each to be tested A first similarity between the picture and the corresponding sample picture; determining whether the video communication system has a video processing problem according to the first similarity between each picture to be tested and the corresponding sample picture.
  • the following steps are further implemented: acquiring a sample slice source for detecting the video communication system; Adding a frame number to each frame picture of the sample piece source to generate a sample video; extracting a frame picture in the sample video to generate a sample picture.
  • the program when executed by the processor, when the step of extracting the frame picture in the sample video and generating the sample picture is performed, the following steps are implemented: saving each frame picture of the sample video as a sample picture; The frame number included in each sample picture; the corresponding sample picture is named according to the frame number.
  • the program when executed by the processor, when the step of acquiring the sample picture corresponding to each frame serial number is implemented, the following steps are implemented: searching for a sample picture having the same resolution according to the resolution of the picture to be tested; A sample picture corresponding to the frame number of each picture to be tested is acquired in the sample picture having the same resolution.
  • a computer apparatus comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor executes the program to: obtain the video communication system according to the following steps: a video to be tested generated by the sample video; extracting a plurality of pictures to be tested from the video to be tested; identifying a frame number included in each picture to be tested; acquiring a sample picture corresponding to each frame number, the sample picture is extracted from the sample video a frame image; calculating a first similarity between each picture to be tested and a corresponding sample picture; determining whether the video communication system has a video processing problem according to the first similarity between each picture to be tested and the corresponding sample picture .
  • the processor executes the program, before the step of acquiring the video to be tested generated by the video communication system according to the sample video, the following steps are further implemented: acquiring a sample slice source for detecting the video communication system; Adding a frame number to each frame picture of the sample piece source to generate a sample video; extracting a frame picture in the sample video to generate a sample picture.
  • the foregoing processor executes the program
  • the step of extracting the frame picture in the sample video and generating the sample picture is performed, the following steps are implemented: saving each frame picture of the sample video as a sample picture; The frame number included in each sample picture; the corresponding sample picture is named according to the frame number.
  • the foregoing processor executes the program
  • the step of acquiring the sample picture corresponding to each frame serial number when the step of acquiring the sample picture corresponding to each frame serial number is implemented, the following steps are implemented: searching for a sample picture having the same resolution according to the resolution of the picture to be tested; A sample picture corresponding to the frame number of each picture to be tested is acquired in the sample picture having the same resolution.
  • computer storage medium includes volatile and nonvolatile, implemented in any method or technology for storing information, such as computer readable instructions, data structures, program modules or other data. Sex, removable and non-removable media.
  • Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disc (DVD) or other optical disc storage, magnetic cartridge, magnetic tape, magnetic disk storage or other magnetic storage device, or may Any other medium used to store the desired information and that can be accessed by the computer.
  • communication media typically includes computer readable instructions, data structures, program modules, or other data in a modulated data signal, such as a carrier wave or other transport mechanism, and can include any information delivery media. .
  • the device, the storage medium, and the computer device of the video communication system After extracting a plurality of pictures to be tested from the video to be tested, and identifying the frame number included in each picture to be tested, according to the picture to be tested
  • the frame number in the frame obtains the sample picture corresponding to the picture to be tested, and the picture to be tested and the sample picture are associated by the frame number, which improves the accuracy of finding the corresponding sample picture, and saves the time for finding the picture.
  • Determining whether there is a video processing problem in the video communication system by calculating a first similarity between each picture to be tested and a corresponding sample picture, avoiding missing the picture to be tested with quality problems, and calculating the similarity of the picture, The accuracy of the quality detection of the video image to be tested is improved, and the detection efficiency of the video communication system is improved.

Abstract

The present disclosure relates to a video communication system detection method and apparatus, a storage medium and a computer device. The method comprises: acquiring a video to be detected generated by a video communication system according to a sample video; extracting a plurality of pictures to be detected from the video to be detected; identifying frame numbers comprised in each of the pictures to be detected; acquiring a sample picture corresponding to each of the frame numbers, wherein the sample picture is a frame picture extracted from the sample video; calculating a first similarity between each of the pictures to be detected and the corresponding sample picture; and determining, according to the first similarity between each of the pictures to be detected and the corresponding sample picture, whether the video communication system has a video processing problem.

Description

视频通信系统的检测方法、装置、存储介质和计算机设备Method, device, storage medium and computer device for detecting video communication system 技术领域Technical field
本公开涉及多媒体技术领域,特别是涉及一种视频通信系统的检测方法、装置、存储介质和计算机设备。The present disclosure relates to the field of multimedia technologies, and in particular, to a method, an apparatus, a storage medium, and a computer device for detecting a video communication system.
背景技术Background technique
随着互联网技术的发展,视频通信技术在视频电话、互动电视、视频会议、电子监控及远程视频教育等领域有着广泛的应用。在视频通信系统的研发生产及质量评估等各个阶段,要对通过视频通信系统编解码处理后的视频进行检测,根据检测到的处理后的视频存在的问题,比如视频图像色彩还原度低、图像冻结、图像花屏、黑屏及蓝屏等,对视频通信系统进行完善。With the development of Internet technology, video communication technology has been widely used in video telephony, interactive television, video conferencing, electronic surveillance and remote video education. In each stage of research and development, production and quality evaluation of the video communication system, the video processed by the video communication system is detected, and the image is processed according to the detected video, such as low color reproduction degree of the video image. The video communication system is perfected by freezing, image flower screen, black screen and blue screen.
然而,传统的视频通信系统的检测是通过专业人员对待测视频进行观测并进行主观判断,得出视频通信系统存在的视频处理问题,这种方式耗费大量的人力和时间,而且容易出现漏看或察觉不到细微差别等问题,导致视频通信系统的检测效率较低。However, the detection of the traditional video communication system is to observe and subjectively judge the video to be tested by the professional, and the video processing problem existing in the video communication system is obtained. This method consumes a lot of manpower and time, and is prone to missed or Problems such as nuances are not detected, resulting in low detection efficiency of video communication systems.
发明内容Summary of the invention
以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求的保护范围。The following is an overview of the topics detailed in this document. This Summary is not intended to limit the scope of the claims.
本公开实施例提供了一种视频处理应用的检测方法、装置、存储介质和计算机设备。Embodiments of the present disclosure provide a method, an apparatus, a storage medium, and a computer device for detecting a video processing application.
一种视频通信系统的检测方法,包括:A method for detecting a video communication system, comprising:
获取视频通信系统根据样本视频生成的待测视频;Obtaining a video to be tested generated by the video communication system according to the sample video;
从所述待测视频中提取多个待测图片;Extracting a plurality of pictures to be tested from the video to be tested;
识别每个待测图片中包含的帧序号;Identifying a frame number included in each picture to be tested;
获取每个帧序号对应的样本图片,所述样本图片是从所述样本视频中提取的帧图片;Obtaining a sample picture corresponding to each frame number, where the sample picture is a frame picture extracted from the sample video;
计算每个待测图片和对应的样本图片之间的第一相似度;Calculating a first similarity between each picture to be tested and a corresponding sample picture;
根据每个待测图片和对应的样本图片之间的第一相似度确定视频通信系统是否存在视频处理问题。Determining whether the video communication system has a video processing problem according to the first similarity between each picture to be tested and the corresponding sample picture.
一种视频通信系统的检测装置,包括:A detecting device for a video communication system, comprising:
待测视频获取模块,设置为获取视频通信系统根据样本视频生成的待测视频;The video acquisition module to be tested is configured to acquire a video to be tested generated by the video communication system according to the sample video;
待测图片提取模块,设置为从所述待测视频中提取多个待测图片;The picture extraction module to be tested is configured to extract a plurality of pictures to be tested from the video to be tested;
帧序号识别模块,设置为识别每个待测图片中包含的帧序号;a frame number identification module configured to identify a frame number included in each picture to be tested;
样本图片获取模块,设置为获取每个帧序号对应的样本图片,所述样本图片是从所述样本视频中提取的帧图片;a sample picture obtaining module, configured to acquire a sample picture corresponding to each frame serial number, where the sample picture is a frame picture extracted from the sample video;
相似度计算模块,设置为计算每个待测图片和对应的样本图片之间的第一相似度;a similarity calculation module, configured to calculate a first similarity between each picture to be tested and a corresponding sample picture;
视频处理问题确定模块,设置为根据每个待测图片和对应的样本图片之间的第一相似度确定视频通信系统是否存在视频处理问题。The video processing problem determining module is configured to determine whether the video communication system has a video processing problem according to the first similarity between each picture to be tested and the corresponding sample picture.
一种计算机可读存储介质,其上存储有计算机程序,其中,该程序被处理器执行时实现所述视频通信系统的检测方法。A computer readable storage medium having stored thereon a computer program, wherein the program is implemented by a processor to implement a method of detecting the video communication system.
一种计算机设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,其中,所述处理器执行所述程序时实现所述视频通信系统的检测方法。A computer device comprising a memory, a processor, and a computer program stored on the memory and operable on the processor, wherein the processor performs the detection method of the video communication system when the program is executed.
利用上述的视频通信系统的检测方法、装置、存储介质和计算机设备,通过从所述待测视频中提取多个待测图片,识别每个待测图片中包含的帧序号之后,根据待测图片中的帧序号获取待测图片对应的样本图片,通过帧序号关联待测图片和样本图片,提高了查找相应的样本图片的准确性,节约了查找赝本图片的时间。通过计算每个待测图片和对应的样本图片之间的第一相似度来确定视频通信系统是否存在视频处理问题,避免了遗漏有质量问题的待测图片,并且通过计算图片相似度的方式,提高了对待测视频图像质量检测的精确度,提高了视频通信系统的检测效率。By using the detection method, the device, the storage medium, and the computer device of the video communication system, after extracting a plurality of pictures to be tested from the video to be tested, and identifying the frame number included in each picture to be tested, according to the picture to be tested The frame number in the frame obtains the sample picture corresponding to the picture to be tested, and the picture to be tested and the sample picture are associated by the frame number, which improves the accuracy of finding the corresponding sample picture, and saves the time for finding the picture. Determining whether there is a video processing problem in the video communication system by calculating a first similarity between each picture to be tested and a corresponding sample picture, avoiding missing the picture to be tested with quality problems, and calculating the similarity of the picture, The accuracy of the quality detection of the video image to be tested is improved, and the detection efficiency of the video communication system is improved.
在阅读并理解了附图和详细描述后,可以明白其他方面。Other aspects will be apparent upon reading and understanding the drawings and detailed description.
附图说明DRAWINGS
图1为一个实施例中视频通信系统的检测方法的应用场景图;1 is an application scenario diagram of a detection method of a video communication system in an embodiment;
图2为一个实施例中视频通信系统检测设备的内部结构图;2 is a diagram showing the internal structure of a video communication system detecting device in an embodiment;
图3为一个实施例中视频通信系统的检测方法的流程图;3 is a flow chart of a method for detecting a video communication system in an embodiment;
图4为另一个实施例中视频通信系统的检测方法的流程图;4 is a flow chart of a method for detecting a video communication system in another embodiment;
图5为又一个实施例中视频通信系统的检测方法的流程图;FIG. 5 is a flowchart of a method for detecting a video communication system in still another embodiment; FIG.
图6为再一个实施例中视频通信系统的检测方法的流程图;6 is a flow chart of a method for detecting a video communication system in still another embodiment;
图7为一个实施例中视频通信系统的检测装置的结构框图;Figure 7 is a block diagram showing the structure of a detecting apparatus of a video communication system in an embodiment;
图8为另一个实施例中视频通信系统的检测装置的结构框图。Figure 8 is a block diagram showing the structure of a detecting apparatus of a video communication system in another embodiment.
具体实施方式detailed description
以下结合附图及实施例,对本公开进行进一步详细说明。此处所描述的具体实施例仅仅用以解释本公开,并不用于限定本公开。The present disclosure will be further described in detail below in conjunction with the accompanying drawings and embodiments. The specific embodiments described herein are merely illustrative of the disclosure and are not intended to limit the disclosure.
本公开实施例所提供的视频通信系统的检测方法,可应用于如图1所示的应用环境中。如图1所示,视频通信系统检测设备110和视频通信系统120连接,其中,视频通信系统120中包括第一终端122和第二终端124,视频通信系统120可为视频电话、互动电视、视频会议、电子监控及远程视频教育等应用场景所采用的视频通信系统。第一终端122和第二终端124可通过网络进行数据传输。在视频通信系统120中,第一终端122可作为样本视频的发送终端,第二视频124可作为样本视频的接收终端。第一终端122在接收视频通信系统检测设备110发送的用于检测视频通信系统的样本视频之后,对样本视频进行编码,并将编码后的样本视频发送至第二终端124。第二终端124在接收到编码后的样本视频时,可按照对应的解码方式,解码生成相应的待测视频。其中,编解码标准包括但不限于H264、H264HP、H265等。视频通信系统检测设备110可获取该待测视频并检测。可以理解的是,在其他场景下,第一终端122也可以作为样本视频的接收终端,第二终端124则作为样本视频的发送终端,第二终端124将样本视频编码后发送到第一终端122进行解码生成相应的待测视频。The detection method of the video communication system provided by the embodiment of the present disclosure can be applied to an application environment as shown in FIG. 1. As shown in FIG. 1, the video communication system detecting device 110 is connected to the video communication system 120. The video communication system 120 includes a first terminal 122 and a second terminal 124. The video communication system 120 can be a videophone, an interactive television, or a video. Video communication systems used in application scenarios such as conferences, electronic surveillance, and remote video education. The first terminal 122 and the second terminal 124 can perform data transmission via the network. In the video communication system 120, the first terminal 122 can serve as a transmitting terminal for sample video, and the second video 124 can serve as a receiving terminal for sample video. After receiving the sample video sent by the video communication system detecting device 110 for detecting the video communication system, the first terminal 122 encodes the sample video and transmits the encoded sample video to the second terminal 124. When receiving the encoded sample video, the second terminal 124 may decode and generate a corresponding video to be tested according to a corresponding decoding manner. Among them, codec standards include but are not limited to H264, H264HP, H265, and the like. The video communication system detecting device 110 can acquire the detected video and detect it. It can be understood that, in other scenarios, the first terminal 122 can also serve as the receiving terminal of the sample video, the second terminal 124 serves as the transmitting terminal of the sample video, and the second terminal 124 encodes the sample video and sends the sample video to the first terminal 122. Decoding is performed to generate a corresponding video to be tested.
在一个实施例中,视频通信系统检测设备110和视频通信系统120可在同一个终端上。例如,该终端可以获取样本片源生成样本视频,通过该终端内置的视频通信应用,可以将样本视频编码、传输、解码,生成待测视频。比如说,可以在终端上下载要被检测的视频电话软件,同时登陆两个账号,将其中一个账号作为第一终端122,另一个账号作为第二终端124,该终端可以通过获取第一终端122发送的样本视频和第二终端124接收的待测视频,对该样本视频和待测视频进行分析,从而对该视频电话软件进行检测。In one embodiment, video communication system detection device 110 and video communication system 120 may be on the same terminal. For example, the terminal may acquire a sample piece source to generate a sample video, and through the built-in video communication application of the terminal, the sample video may be encoded, transmitted, and decoded to generate a video to be tested. For example, the videophone software to be detected can be downloaded on the terminal, and two accounts are logged in. One of the accounts is used as the first terminal 122, and the other account is used as the second terminal 124. The terminal can obtain the first terminal 122. The sample video sent and the video to be tested received by the second terminal 124 analyze the sample video and the video to be tested, thereby detecting the videophone software.
在一个实施例中,如图2所示,为一个实施例中视频通信系统检测设备的内部结构图。该通信系统检测设备110包括通过系统总线连接的处理器、非易失性存储介质、内存储器、和显示屏。其中,该视频通信系统检测设备的处理器用于提供计算和控制能力,支撑整个服务器的运行。该视频通信系统检测设备的非易失性存储介质存储有操作系统和计算机可执行指令,该计算机可执行指令可被处理器所执行,以用于实现以下各实施例提供的一种视频通信系统检测方法。该内存储器为非易失性存储介质中的操作系统、计算机可执行指令提供高速缓存的运行环境。该网络接口用于和外部的终端进行通信,实现数据的传输,比如发送样本视频至第一终端和从第二终端获取待测视频。显示屏可用于显示视频画面。In one embodiment, as shown in FIG. 2, an internal structure diagram of a video communication system detection device in one embodiment. The communication system detecting device 110 includes a processor connected through a system bus, a nonvolatile storage medium, an internal memory, and a display screen. The processor of the video communication system detecting device is used to provide calculation and control capabilities to support the operation of the entire server. The non-volatile storage medium of the video communication system detecting device stores an operating system and computer executable instructions executable by the processor for implementing a video communication system provided by the following embodiments Detection method. The internal memory provides a cached operating environment for operating systems and computer executable instructions in a non-volatile storage medium. The network interface is configured to communicate with an external terminal to implement data transmission, such as sending sample video to the first terminal and acquiring the video to be tested from the second terminal. The display can be used to display video images.
本领域技术人员可以理解,图2中示出的结构,仅仅是与本公开方案相关的部分结构的框图,并不构成对本公开方案所应用于其上的移动终端的限定,具体的视频通信系统检测设备可以包括比图中所示更多或更少的部件,或者组合某些部件,或者具有不同的部件布置。比如,该视频通信系统检测设备还可包括摄像头,用于对可视区域进行扫描,生成样本片源。It will be understood by those skilled in the art that the structure shown in FIG. 2 is only a block diagram of a partial structure related to the solution of the present disclosure, and does not constitute a limitation of a mobile terminal to which the present disclosure is applied, and a specific video communication system. The detection device may include more or fewer components than shown in the figures, or some components may be combined, or have different component arrangements. For example, the video communication system detecting device may further include a camera for scanning the visible area to generate a sample slice source.
在一个实施例中,如图3所示,提供了一种视频通信系统的检测方法,该方法可应用于如图1所示的应用环境中,包括:In an embodiment, as shown in FIG. 3, a method for detecting a video communication system is provided. The method is applicable to the application environment shown in FIG. 1, and includes:
步骤S302,获取视频通信系统根据样本视频生成的待测视频。Step S302: Acquire a video to be tested generated by the video communication system according to the sample video.
本实施例中,视频通信系统是一种传递视频信息的通信系统,通过多媒体技术和网络通信技术的支持,为不同地域的人们提供了类似面对面的交流方式。其中,通信系统可为借助电磁波在自由空间的传播的无线通信系统,或者在导引媒体中来传输信息的有线通信系统。比如,视频通信系统可为视 频电话系统、互动电视系统、视频会议系统、电子监控系统及远程视频教育系统等,但不限于此。样本视频是指用于检测视频通信系统的视频。例如,样本视频的每个帧图片上都含有帧序号,相应的,通过视频通信系统根据样本视频生成的待测视频的每个帧图片上也都含有帧序号。视频通信系统中的发送端在对样本视频进行编码之后,可通过网络传输将该样本视频发送至一个或多个接收端,该一个或多个接收端可按照对应的解码方式,将编码后的样本视频解码生成相应的待测视频,可获取该待测视频以进行下一步的检测。In this embodiment, the video communication system is a communication system for transmitting video information, and through the support of multimedia technology and network communication technology, provides a face-to-face communication mode for people in different regions. The communication system may be a wireless communication system that transmits electromagnetic waves in free space, or a wired communication system that transmits information in a guiding medium. For example, the video communication system may be, but is not limited to, a video telephone system, an interactive television system, a video conference system, an electronic monitoring system, and a remote video education system. The sample video refers to the video used to detect the video communication system. For example, each frame picture of the sample video includes a frame number, and correspondingly, each frame picture of the video to be tested generated by the video communication system according to the sample video also includes a frame number. After the sample video is encoded, the transmitting end of the video communication system may transmit the sample video to one or more receiving ends by using a network transmission, and the one or more receiving ends may encode the encoded according to a corresponding decoding manner. The sample video is decoded to generate a corresponding video to be tested, and the video to be tested can be obtained for the next detection.
在一个实施例中,视频通信系统可为视频会议系统,视频会议系统是指两个或两个以上不同地方的个人或群体,通过传输线路及多媒体设备,将声音、影像及文件资料互传,实现即时且互动的沟通,以实现会议目的的系统设备。可以通过视频会议系统将第一会议场景的会议视频发送到第二会议场景的显示屏进行展示,通过获取在第二会议场景的显示屏上展示的视频进行下一步的检测。In one embodiment, the video communication system may be a video conference system, where the video conference system refers to individuals or groups of two or more different places, and transmits voice, video, and file data through transmission lines and multimedia devices. A system device that enables instant and interactive communication to achieve the purpose of the meeting. The conference video of the first conference scene is sent to the display screen of the second conference scene for display by the video conference system, and the next step is detected by acquiring the video displayed on the display screen of the second conference scene.
步骤S304,从待测视频中提取多个待测图片。Step S304, extracting a plurality of pictures to be tested from the video to be tested.
本实施例中,待测图片为待测视频中的帧图片。可以从待测视频中提取每个帧图片作为待测图片,也可以从待测视频中提取部分帧图片作为待测图片,比如,按照预设的时间间隔从待测视频中提取帧图片作为待测图片。例如,预设的时间间隔为秒级,比如,每1秒或2秒从待测视频中提取帧图片作为待测图片。还可以预设待测图片的数量,以避免遗漏短时间内出现的图像问题,包括但不限于瞬时花屏。举例来说,若按照每2秒的时间间隔所获得的待测图片的数量小于预设待测图片的数量,则可以将时间间隔缩短至1秒以获得更多的待测图片。In this embodiment, the picture to be tested is a frame picture in the video to be tested. Each frame image may be extracted from the video to be tested as a picture to be tested, or a part of the frame picture may be extracted from the video to be tested as a picture to be tested, for example, a frame picture is extracted from the video to be tested according to a preset time interval. Measure the picture. For example, the preset time interval is in the order of seconds. For example, the frame picture is extracted from the video to be tested as the picture to be tested every 1 or 2 seconds. It is also possible to preset the number of pictures to be tested to avoid missing image problems that occur in a short period of time, including but not limited to instantaneous blooming. For example, if the number of pictures to be tested obtained at intervals of 2 seconds is smaller than the number of preset pictures to be tested, the time interval can be shortened to 1 second to obtain more pictures to be tested.
本实施例中通过按照预设的时间间隔从待测视频中提取帧图片作为待测图片节约了资源,通过预设的时间间隔为秒级可以防止遗漏视频出现的问题,通过预设待测图片的数量以提高对待测视频分析的精准度。In this embodiment, by extracting a frame picture from the video to be tested according to the preset time interval, the resource is saved as a picture to be tested, and the preset time interval is a second level to prevent the occurrence of the missing video, and the preset picture to be tested is preset. The number is increased to improve the accuracy of the video analysis.
步骤S306,识别每个待测图片中包含的帧序号。Step S306, identifying a frame number included in each picture to be tested.
本实施例中,帧序号是指用于标识帧图片的视频图片的编号,帧序号可为数字、字母和标点符号等其中一种或多种的组合。帧序号不可重复,每个 帧序号都对应唯一一个帧图片。In this embodiment, the frame number refers to the number of the video picture used to identify the frame picture, and the frame number may be a combination of one or more of numbers, letters, and punctuation. The frame number is not repeatable, and each frame number corresponds to a unique frame picture.
例如,若样本视频中的帧图片包含帧序号,则通过视频通信系统生成的待测视频中的相应帧图片也会包含相同的帧序号。在视频通信系统不存在视频处理问题的情况下,则样本视频中的帧图片和待测视频中的帧图片为一一对应,每个帧序号可对应一个本视频中的帧图片和一个待测视频中的帧图片,帧序号可用来关联样本视频和待测视频中的帧图片,可通过识别待测图片中包含的帧序号查询到相应的样本视频中的帧图片。For example, if the frame picture in the sample video includes the frame number, the corresponding frame picture in the video to be tested generated by the video communication system also includes the same frame number. In the case that the video communication system does not have a video processing problem, the frame picture in the sample video and the frame picture in the video to be tested have a one-to-one correspondence, and each frame number may correspond to a frame picture in the video and one to be tested. The frame picture in the video, the frame number can be used to associate the sample video with the frame picture in the video to be tested, and can identify the frame picture in the corresponding sample video by identifying the frame number included in the picture to be tested.
可通过图像识别技术直接识别待测图片中包含的帧序号。比如说,可通过阈值分割方法、区域提取方法、纹理图像分割法等方法将待测图片中的帧序号分割出来,对帧序号中的字符一个一个进行识别。还可存储样本视频中所有帧图片包含的帧序号作为帧序号库,将待测图片中包含的帧序号分割出来之后,将分割后的帧序号整体与帧序号库中的帧序号进行匹配来确定待测图片中包含的帧序号。The frame number included in the picture to be tested can be directly identified by image recognition technology. For example, the frame number in the picture to be tested may be segmented by a threshold segmentation method, a region extraction method, a texture image segmentation method, etc., and the characters in the frame number are identified one by one. The frame number included in all the frame pictures in the sample video may be stored as a frame number library, and after the frame number included in the picture to be tested is segmented, the frame number of the divided frame is matched with the frame number in the frame number library to determine The frame number contained in the picture to be tested.
在一个实施例中,识别待测图片中帧序号所耗费的时间可为毫秒级。还可以通过神经网络训练帧序号识别模型,将识别准确率提高至99%以上,以此来提高视频通信系统检测的准确性,减少检测所需的时间。In one embodiment, the time taken to identify the frame number in the picture to be tested may be on the order of milliseconds. The frame number recognition model can also be trained through the neural network to increase the recognition accuracy rate to over 99%, thereby improving the accuracy of the detection of the video communication system and reducing the time required for the detection.
步骤S308,获取每个帧序号对应的样本图片,样本图片是从样本视频中提取的帧图片。Step S308, acquiring a sample picture corresponding to each frame serial number, where the sample picture is a frame picture extracted from the sample video.
本实施例中,样本图片为样本视频中的帧图片,每个样本图片经过视频通信系统的转化可生成一个相应的待测图片,且样本图片包含的帧序号与待测图片包含的帧序号也是相应的。可根据待测视频的帧序号查询到与该帧序号唯一对应的样本图片。举例来说,若识别到待测图片中的帧序号为12345,则获取样本视频中帧序号为12345的样本图片。In this embodiment, the sample picture is a frame picture in the sample video, and each sample picture is converted by the video communication system to generate a corresponding picture to be tested, and the frame number included in the sample picture and the frame number included in the picture to be tested are also corresponding. A sample picture uniquely corresponding to the frame number can be queried according to the frame number of the video to be tested. For example, if the frame number in the picture to be tested is 12345, the sample picture with the frame number 12345 in the sample video is obtained.
步骤S310,计算每个待测图片和对应的样本图片之间的第一相似度。Step S310, calculating a first similarity between each picture to be tested and a corresponding sample picture.
本实施例中,第一相似度为通过图片对比算法计算得到的每个待测图片和对应的样本图片之间的相似度。其中,图像对比算法可为通过比较两个图片的每个对应像素点的特征值,比如,RGB(Red、Green、Blue,三原色,通过其取值可表达像素点的颜色),从而得到两个图片相似度的算法。也可 为通过匹配两个图片的内容、特征、结构、关系、纹理及灰度等其中一种或多种的组合,从而得到两个图片相似度的算法。比如,通过灰度直方图得出两个图片相似度的直方图改进算法。In this embodiment, the first similarity is the similarity between each picture to be tested and the corresponding sample picture calculated by the picture comparison algorithm. The image comparison algorithm may be to compare the feature values of each corresponding pixel of the two images, for example, RGB (Red, Green, Blue, three primary colors, by which the value of the pixel can be expressed), thereby obtaining two Image similarity algorithm. It is also possible to obtain an algorithm of two picture similarities by matching one or more combinations of contents, features, structures, relationships, textures, and gradations of two pictures. For example, a histogram improvement algorithm for two picture similarities is obtained by a gray histogram.
在一个实施例中,计算每个待测图片和对应的样本图片之间的第一相似度之后,判断该第一相似度是否低于第一阈值。其中,第一阈值为判定待测图片是否存在质量问题的相似度阈值,比如,90%或95%。若是,则判定待测图像存在质量问题。比如说,当待测图片和对应的样本图片之间的第一相似度为89%,而第一阈值为90%时,判定该待测图片存在质量问题。In an embodiment, after calculating a first similarity between each picture to be tested and a corresponding sample picture, determining whether the first similarity is lower than a first threshold. The first threshold is a similarity threshold for determining whether the picture to be tested has a quality problem, for example, 90% or 95%. If so, it is determined that there is a quality problem with the image to be tested. For example, when the first similarity between the picture to be tested and the corresponding sample picture is 89%, and the first threshold is 90%, it is determined that the picture to be tested has a quality problem.
在一个实施例中,可以预设多个图像对比算法,通过多个图像对比算法计算每个待测图片和样本图片之间的第一相似度。例如,当通过第一图像对比算法计算得出的第一相似度低于第一阈值之后,再通过第二图像对比算法计算每个待测图片与样本图片之间的相似度来进行检验。若通过第二图像对比算法计算得出的相似度仍低于第一阈值,则判定待测图片存在质量问题;若通过第二图像对比算法计算得出的相似度高于第一阈值,则判定两张图片一致,待测图片不存在质量问题,并将该高于第一阈值的相似度作为第一相似度。In one embodiment, a plurality of image comparison algorithms may be preset, and a first similarity between each of the to-be-tested pictures and the sample pictures is calculated by a plurality of image comparison algorithms. For example, after the first similarity calculated by the first image comparison algorithm is lower than the first threshold, the similarity between each picture to be tested and the sample picture is calculated by the second image comparison algorithm to perform verification. If the similarity calculated by the second image comparison algorithm is still lower than the first threshold, determining that the picture to be tested has a quality problem; if the similarity calculated by the second image comparison algorithm is higher than the first threshold, determining The two pictures are identical, and there is no quality problem in the picture to be tested, and the similarity higher than the first threshold is taken as the first similarity.
步骤S312,根据每个待测图片和对应的样本图片之间的第一相似度确定视频通信系统是否存在视频处理问题。Step S312, determining whether there is a video processing problem in the video communication system according to the first similarity between each picture to be tested and the corresponding sample picture.
本实施例中,每个待测图片和对应的样本图片之间都可以计算的得出第一相似度,通过汇总每个待测图片和对应的样本图片之间的第一相似度来分析确定视频通信系统是否存在视频处理问题。其中,视频处理问题包括蓝屏、黑屏、花屏、偏色等其中一种或多种的组合。例如,通过预设的分析算法分析低于第一阈值的第一相似度所对应的待测图片,可以得出待测图片所存在的图像问题,将所有的待测图片存在的图像问题进行汇总来确定视频通信系统是否存在蓝屏、黑屏、花屏、偏色等其中一种或多种的组合的问题。In this embodiment, a first similarity may be calculated between each picture to be tested and a corresponding sample picture, and the first similarity between each picture to be tested and the corresponding sample picture is summarized to be analyzed and determined. Whether there is a video processing problem in the video communication system. Among them, the video processing problem includes a combination of one or more of a blue screen, a black screen, a flower screen, a color cast, and the like. For example, by analyzing a picture to be tested corresponding to the first similarity lower than the first threshold by using a preset analysis algorithm, an image problem existing in the picture to be tested may be obtained, and all image problems existing in the picture to be tested are summarized. It is determined whether the video communication system has a problem of a combination of one or more of a blue screen, a black screen, a flower screen, a color cast, and the like.
上述的视频通信系统的检测方法,通过从待测视频中提取多个待测图片,识别每个待测图片中包含的帧序号,再根据帧序号获取待测图片对应的样本图片,通过帧序号关联待测图片和样本图片,提高了查找相应的样本图片的准确性,通过计算每个待测图片和对应的样本图片之间的第一相似度来 确定视频通信系统是否存在视频处理问题,避免了遗漏有质量问题的待测图片,节约了视频通信系统的检测时间,提高了视频通信系统的检测效率。The above-mentioned detection method of the video communication system, by extracting a plurality of pictures to be tested from the video to be tested, identifying the frame number included in each picture to be tested, and acquiring the sample picture corresponding to the picture to be tested according to the frame number, and passing the frame number Correlating the to-be-tested picture and the sample picture improves the accuracy of finding the corresponding sample picture, and determining whether the video communication system has a video processing problem by calculating the first similarity between each picture to be tested and the corresponding sample picture, and avoiding The missing picture with quality problems is omitted, which saves the detection time of the video communication system and improves the detection efficiency of the video communication system.
在一个实施例中,如图4所示,获取视频通信系统根据样本视频生成的待测视频之前,还包括:In an embodiment, as shown in FIG. 4, before acquiring the video to be tested generated by the video communication system according to the sample video, the method further includes:
步骤S402,获取用于检测视频通信系统的样本片源。Step S402, acquiring a sample slice source for detecting a video communication system.
本实施例中,样本片源是最原始的用于检测视频通信系统的视频,该样本片源可为已存在的视频,还可为通过摄像头扫描生成的视频,还可为桌面窗口上显示的画面。可根据视频通信系统的应用场景选取相应类别的样本片源。举例来说,当被检测的视频通信系统为视频会议系统时,则可选取场景为会议状态的视频作为样本片源。再比如,当被检测的视频通信系统为电子监控视频时,除了选取白天场景的样本片源,还可以选取处于夜晚场景的样本片源。In this embodiment, the sample slice source is the most original video for detecting a video communication system, and the sample slice source may be an existing video, may also be a video generated by a camera scan, and may also be displayed on a desktop window. Picture. The sample slice source of the corresponding category may be selected according to the application scenario of the video communication system. For example, when the detected video communication system is a video conference system, the video with the scene state of the conference may be selected as a sample source. For another example, when the detected video communication system is an electronic surveillance video, in addition to selecting a sample source of the daytime scene, a sample source in the night scene may also be selected.
在一个实施例中,可调用摄像头对可视区域进行扫描,按照预设的帧率生成视频,并实时地呈现在显示屏上。针对该实时呈现的原始视频,可按照小于或等于该帧率的采样频率进行帧图片的采集,将所采集的帧图片的集合作为待处理的样本片源。In one embodiment, the camera can be invoked to scan the viewable area, generate a video at a predetermined frame rate, and present it on the display in real time. For the original video that is presented in real time, the frame picture may be collected according to a sampling frequency less than or equal to the frame rate, and the collected frame picture set is used as the sample piece source to be processed.
步骤S404,通过在样本片源的每个帧图片上添加帧序号生成样本视频。Step S404, generating a sample video by adding a frame number to each frame picture of the sample piece source.
本实施例中,样本视频是指用于导入视频通信系统以进行检测的视频,可通过在样本片源的每个帧图片上添加帧序号生成该样本视频。其中,添加帧序号的方式可为在样本片源的每个帧图片上叠加一个帧序号用来标识这个帧图片。In this embodiment, the sample video refers to a video used for importing into a video communication system for detection, and the sample video can be generated by adding a frame number to each frame picture of the sample slice source. The method of adding the frame number may be to superimpose a frame number on each frame picture of the sample piece source to identify the frame picture.
步骤S406,提取样本视频中的帧图片,生成样本图片。Step S406, extracting a frame picture in the sample video to generate a sample picture.
在一个实施例中,提取样本视频中的帧图片,生成样本图片,包括:将样本视频的每个帧图片保存为样本图片,获取每个样本图片中包含的帧序号,根据帧序号命名对应的样本图片。其中,可以通过图像识别技术识别样本图片中包含的帧序号,将对应的样本图片命名为该序号。In one embodiment, extracting a frame picture in the sample video and generating a sample picture includes: saving each frame picture of the sample video as a sample picture, acquiring a frame number included in each sample picture, and naming the corresponding frame number according to the frame number Sample image. Wherein, the frame number included in the sample picture can be identified by the image recognition technology, and the corresponding sample picture is named as the serial number.
在一个实施例中,步骤S404和步骤S406可同时进行,在将帧序号添加到样本片源每个帧图片的同时,保存该帧图片,并将帧图片命名为对应的帧 序号,省去再去识别样本图片中包含的帧序号的步骤,可以节约生成样本图片的时间。In an embodiment, step S404 and step S406 can be performed simultaneously. When the frame number is added to each frame picture of the sample slice source, the frame picture is saved, and the frame picture is named as the corresponding frame number, and the frame number is omitted. The step of identifying the frame number contained in the sample picture can save time in generating the sample picture.
本实施例中,通过将样本图片命名为对应的帧序号,减少了查找样本图片的时间,提高了查找样本图片的准确性。In this embodiment, by naming the sample picture as the corresponding frame number, the time for finding the sample picture is reduced, and the accuracy of finding the sample picture is improved.
在一个实施例中,根据每个待测图片和对应的样本图片之间的第一相似度确定视频通信系统是否存在视频处理问题,包括:根据低于第一阈值的第一相似度对应的待测图片的数量确定视频通信系统是否存在视频处理问题。例如,可以预设一个数量阈值,判断低于第一阈值的第一相似度对应的待测图片的数量是否高于该数量阈值,若是,则判定该视频通信系统存在视频处理问题。其中,该数量阈值可以为一个固定的值,也可以通过计算待测图片总数量值的百分比得出动态的数量阈值。In an embodiment, determining, according to the first similarity between each picture to be tested and the corresponding sample picture, whether the video communication system has a video processing problem, comprising: waiting according to the first similarity lower than the first threshold The number of pictures is determined to determine if there is a video processing problem in the video communication system. For example, a quantity threshold may be preset to determine whether the number of pictures to be tested corresponding to the first similarity lower than the first threshold is higher than the quantity threshold. If yes, it is determined that the video communication system has a video processing problem. The quantity threshold may be a fixed value, or a dynamic quantity threshold may be obtained by calculating a percentage of the total number of pictures to be tested.
在确定视频通信系统是否存在视频处理问题一个实施例中,如图5所示,步骤S502,根据低于第一阈值的第一相似度对应的待测图片的数量确定视频通信系统是否存在视频处理问题之后,还包括:In an embodiment of determining whether there is a video processing problem in the video communication system, as shown in FIG. 5, in step S502, determining whether the video communication system has video processing according to the number of pictures to be tested corresponding to the first similarity lower than the first threshold. After the problem, it also includes:
步骤S504,当确定视频通信系统存在视频处理问题时,计算每个偏差待测图片和预设的偏差图片之间的第二相似度,偏差待测图片是低于第一阈值的第一相似度对应的待测图片。Step S504, when it is determined that there is a video processing problem in the video communication system, calculating a second similarity between each deviation of the to-be-tested picture and the preset deviation picture, and the deviation of the to-be-tested picture is a first similarity lower than the first threshold. Corresponding picture to be tested.
本实施例中,偏差待测图片是指低于第一阈值的第一相似度对应的待测图片,根据偏差待测图片可确定视频待测系统存在的具体的视频处理问题。偏差图片是指存在质量问题的图片,包括但不限于蓝屏图片和黑屏图片,可用于检测偏差待测图片是否存在相同的问题,如蓝屏或黑屏的问题。第二相似度为通过图片对比算法计算得到的每个偏差待测图片和预设的偏差图片之间相似度。其中,图片对比算法可与计算第一相似度的方式相同。In this embodiment, the deviation picture to be tested refers to the picture to be tested corresponding to the first similarity lower than the first threshold, and the specific video processing problem existing in the video system to be tested can be determined according to the deviation picture to be tested. A deviation picture refers to a picture with quality problems, including but not limited to a blue screen picture and a black screen picture, which can be used to detect whether the deviation of the picture to be tested has the same problem, such as a blue screen or a black screen. The second similarity is the similarity between each of the deviation test images calculated by the picture comparison algorithm and the preset deviation picture. Among them, the picture comparison algorithm can be the same as the way of calculating the first similarity.
在一个实施例中,偏差图片可为多个,计算偏差待测图片与每个偏差图片的顺序不做限定,当检测到偏差待测图片与其中一个偏差图片之间的第二相似度高于第二阈值时,不用再计算该偏差待测图片与其他偏差图片之间的第二相似度。举例来说,偏差图片为黑屏图片和蓝屏图片,若检测到偏差待测图片与黑屏图片的第二相似度高于第二阈值时,无须再计算该偏差待测图片与蓝屏图片的第二相似度;若检测到偏差待测图片与黑屏图片的第二相似 度低于第二阈值,则计算该偏差待测图片与蓝屏图片的第二相似度。In one embodiment, the deviation picture may be multiple, and the order of calculating the deviation of the picture to be tested and each of the deviation pictures is not limited, and when the second similarity between the deviation of the picture to be tested and one of the deviation pictures is detected is higher than When the second threshold is used, the second similarity between the deviation test picture and other deviation pictures is not calculated. For example, the deviation picture is a black screen picture and a blue screen picture. If it is detected that the second similarity between the deviation picture to be tested and the black screen picture is higher than the second threshold, it is not necessary to calculate the second similarity between the deviation picture to be tested and the blue screen picture. If the second similarity between the deviation of the to-be-tested picture and the black-screen picture is lower than the second threshold, the second similarity between the deviation of the picture to be tested and the blue-screen picture is calculated.
步骤S506,判断第二相似度是否高于第二阈值。Step S506, determining whether the second similarity is higher than the second threshold.
本实施例中,第二阈值为判定偏差待测图片是否存在偏差图片质量问题的相似度阈值。当第二相似度高于第二阈值时,则执行步骤S508,当第二相似度低于第二阈值时,则执行步骤S510。In this embodiment, the second threshold is a similarity threshold for determining whether the deviation of the picture to be tested has a deviation picture quality problem. When the second similarity is higher than the second threshold, step S508 is performed, and when the second similarity is lower than the second threshold, step S510 is performed.
步骤S508,判定视频通信系统存在的视频处理问题包括蓝屏或黑屏的问题。Step S508, determining that the video processing problem existing in the video communication system includes a blue screen or a black screen.
本实施例中,偏差图片包括但不限于蓝屏和黑屏,当第二相似度高于第二阈值时,则判定偏差待测图片存在与偏差图片相同的质量问题。其中,只要偏差待测图片和蓝屏图片或者黑屏图片等其中一种偏差图片的相似度高于第二阈值,则判定该偏差待测图片存在相应的偏差图片的问题。比如,若偏差待测图片与黑屏图片的第二相似度高于第二阈值,则判定该偏差相似图片与黑屏图片一致,视频处理问题包括黑屏。In this embodiment, the deviation picture includes, but is not limited to, a blue screen and a black screen. When the second similarity is higher than the second threshold, it is determined that the deviation of the picture to be tested has the same quality problem as the deviation picture. Wherein, as long as the similarity between the deviation picture to be tested and the blue screen picture or the black screen picture is higher than the second threshold, it is determined that the deviation picture has a corresponding deviation picture. For example, if the second similarity between the deviation picture to be tested and the black screen picture is higher than the second threshold, it is determined that the deviation similar picture is consistent with the black screen picture, and the video processing problem includes a black screen.
步骤S510,判定视频通信系统存在的视频处理问题包括花屏或偏色的问题。In step S510, it is determined that the video processing problem existing in the video communication system includes a problem of blooming or color cast.
本实施例中,当第二相似度低于第二阈值时,判定偏差待测图片和偏差图片不一致,则视频处理问题包括但不限于花屏或偏色等其中一种或多种的组合。In this embodiment, when the second similarity is lower than the second threshold, it is determined that the deviation of the to-be-tested picture and the deviation picture are inconsistent, and the video processing problem includes, but is not limited to, a combination of one or more of a flower screen or a color cast.
在一个实施例中,通过上述方法判定偏差待测图片存在的图像质量问题之后,还包括:将偏差待测图片进行分类保存。举例来说,可以将所有的偏差待测图片按照黑屏、蓝屏、花屏、偏色等类别进行分类,并按照相应类别保存所有的偏差待测图片。In an embodiment, after determining the image quality problem of the deviation of the to-be-tested image by the foregoing method, the method further includes: classifying and storing the deviation to-be-measured image. For example, all the deviations to be tested can be classified according to categories such as black screen, blue screen, flower screen, color cast, and the like, and all the deviations to be tested are saved according to the corresponding categories.
在一个实施例中,将偏差待测图片进行分类保存,还包括:获取偏差待测图片在待测视频中的定位标识,将所有的偏差待测图片命名为对应的定位标识。其中,定位标识是指能够定位偏差待测图片在待测视频中的位置的标识,定位标识包括但不限于偏差待测图片在待测视频中的进度时间或进度百分比等。本实施例中,通过将偏差待测图片命名为定位标识,提高了查找样本视频对应位置的样本图片的准确性,从而提高了进一步分析和确认偏差待 测图片所存在问题的效率。In one embodiment, the deviation of the to-be-tested picture is classified and saved, and the method further includes: obtaining a positioning identifier of the deviation of the to-be-tested picture in the video to be tested, and naming all the deviation-to-measure pictures as the corresponding positioning identifier. The location identifier is an identifier that can locate the position of the to-be-measured picture in the video to be tested, and the location identifier includes, but is not limited to, a progress time or a percentage of progress of the deviation of the to-be-tested picture in the video to be tested. In this embodiment, by naming the deviation picture to be detected as the positioning identifier, the accuracy of finding the sample picture corresponding to the position of the sample video is improved, thereby improving the efficiency of further analyzing and confirming the problem of the deviation of the picture to be tested.
在一个实施例中,根据每个待测图片和对应的样本图片之间的第一相似度确定视频通信系统是否存在视频处理问题之后,包括:判断高于第一阈值的第一相似度对应的待测图片包含的帧序号与相邻的待测图片包含的帧序号是否一致,若是,则判定视频通信系统存在的视频处理问题包括图像冻结或图像卡顿的问题。本实施例中,图像冻结是指待测视频中所有的待测图片的帧序号是一致的,图像卡顿是指待测视频中有一段视频所对应的待测图片的帧序号是一致的,而后续视频所对应的待测图片的帧序号不一致。高于第一阈值的第一相似度对应的待测图片本身不存在图像质量问题,若检测到该待测图片与相邻的待测图片的帧序号一致,则判定视频通信系统存在的视频处理问题包括图像冻结或图像卡顿的问题。还可以检测低于第一阈值的第一相似度对应的待测图片包含的帧序号与相邻的待测图片包含的帧序号是否一致,若是,则视频通信系统存在的视频处理问题包括图像质量问题以及图像冻结或图像卡顿问题。In an embodiment, after determining whether the video communication system has a video processing problem according to the first similarity between each picture to be tested and the corresponding sample picture, the method includes: determining, corresponding to the first similarity that is higher than the first threshold, corresponding to the first similarity Whether the frame number included in the picture to be tested is consistent with the frame number included in the adjacent picture to be tested, and if so, it is determined that the video processing problem existing in the video communication system includes the problem of image freezing or image jamming. In this embodiment, the image freeze refers to that the frame numbers of all the pictures to be tested in the video to be tested are consistent, and the image card is that the frame numbers of the pictures to be tested corresponding to a video in the video to be tested are consistent. The frame numbers of the pictures to be tested corresponding to the subsequent videos are inconsistent. The image to be tested corresponding to the first similarity that is higher than the first threshold does not have an image quality problem. If it is detected that the frame to be tested is consistent with the frame number of the adjacent picture to be tested, the video processing of the video communication system is determined. Problems include image freeze or image jams. It is also possible to detect whether the frame number of the picture to be tested corresponding to the first similarity lower than the first threshold is consistent with the frame number included in the adjacent picture to be tested, and if so, the video processing problem existing in the video communication system includes image quality. Problems as well as image freeze or image jams.
在一个实施例中,可以检测所有的待测图片中是否存在帧序号相同的待测图片,由于样本视频中样本图片的帧序号是不重复的字符串,若检测到相同帧序号的待测图片,则判定视频通信系统存在的视频处理问题包括图像冻结或图像卡顿的问题。In an embodiment, it is possible to detect whether there are any pictures to be tested with the same frame number in all the pictures to be tested. Since the frame number of the sample picture in the sample video is a non-repeating character string, if the same picture number is detected, the picture to be tested is detected. Then, it is determined that the video processing problems existing in the video communication system include image freeze or image jamming.
在一个实施例中,还可以在识别每个待测图片的帧序号之后,将所有的帧序号按照提取时间顺序进行汇总。比较待测视频所有的帧序号与相应的按照相同方式汇总的样本视频所有的帧序号是否一致,若否,则判定视频通信系统存在的视频处理问题包括图像冻结或图像卡顿的问题。In an embodiment, after identifying the frame number of each picture to be tested, all the frame numbers may be summarized in the order of extraction time. Compare whether all the frame numbers of the video to be tested are consistent with all the frame numbers of the corresponding sample videos summarized in the same manner. If not, it is determined that the video processing problems existing in the video communication system include image freeze or image jamming.
在一个实施例中,获取每个帧序号对应的样本图片,包括:根据待测图片的分辨率查找具有相同分辨率的样本图片,在具有相同分辨率的样本图片中获取与每个待测图片的帧序号所对应的样本图片。其中,分辨率是用来表示图像精密度的值,包括但不限于4K、2K、1080K、720P等。视频的分辨率是指视频图像的单位英寸中所包含的像素点数,像素点越多,画面就越精细。样本视频的分辨率是指样本视频中样本图片的分辨率,待测视频的分辨率是指待测视频中待测图片的分辨率。In an embodiment, acquiring the sample picture corresponding to each frame sequence includes: searching for a sample picture having the same resolution according to a resolution of the picture to be tested, and acquiring each picture to be tested in the sample picture having the same resolution. The sample picture corresponding to the frame number. Among them, the resolution is a value used to represent the image precision, including but not limited to 4K, 2K, 1080K, 720P, and the like. The resolution of a video is the number of pixels contained in a unit of an inch of a video image. The more pixels, the finer the picture. The resolution of the sample video refers to the resolution of the sample picture in the sample video, and the resolution of the video to be tested refers to the resolution of the picture to be tested in the video to be tested.
例如,用于检测视频通信系统的样本视频的分辨率与视频通信系统生成的待测视频的分辨率相同。根据待测视频中待测图片的分辨率查找到相同分辨率所对应的样本图片之后,在所查找到的样本图片中获取每个待测图片的帧序号所对应的样本图片。本实施例中,通过在相应分辨率的样本图片中查找每个待测图片的帧序号所对应的样本图片,降低了查找样本照片的难度,提高了获取相应的样本图片的效率。For example, the resolution of the sample video used to detect the video communication system is the same as the resolution of the video to be tested generated by the video communication system. After finding the sample picture corresponding to the same resolution according to the resolution of the picture to be tested in the video to be tested, the sample picture corresponding to the frame number of each picture to be tested is obtained in the found sample picture. In this embodiment, by searching the sample picture corresponding to the frame number of each picture to be tested in the sample picture of the corresponding resolution, the difficulty of finding the sample picture is reduced, and the efficiency of acquiring the corresponding sample picture is improved.
在一个实施例中,可以将样本片源生成多个相应的样本视频对不同的视频通信系统进行检测。例如,可以通过编解码的方式,将原始样本视频转换成不同分辨率的样本视频。比如说,可以将高分辨率的样本视频转换为低分辨率的样本视频,高分辨率的样本视频用来检测具有相应的高输出分辨率的视频通信系统,低分辨率的样本视频用来检测具有相应的低输出分辨率的视频通信系统。还可以将每个样本视频转换成具有多个预设分辨率的样本视频,以实现对多个具有不同输出分辨率的视频通信系统的检测。例如,根据样本图片的分辨率将具有相同分辨率的样本图片保存为一个路径,不同分辨率的样本图片存放在对应的不同路径下构成样本库,通过待测视频的分辨率可以查找到相应的具有该分辨率的样本图片所在的路径,通过该路径可以查找到具有相应分辨率的样本图片。本实施例中,根据样本图片的分辨率将样本图片存储在相应的路径下,由此可以根据待测视频的分辨率查找相应的样本图片,提高了管理样本图片的便利性,降低了查找样本照片的难度,提高了获取相应的样本图片的效率。In one embodiment, the sample slice source may generate a plurality of corresponding sample videos to detect different video communication systems. For example, the original sample video can be converted to sample video of different resolutions by means of codec. For example, high-resolution sample video can be converted to low-resolution sample video, high-resolution sample video is used to detect video communication systems with corresponding high output resolution, and low-resolution sample video is used to detect A video communication system with a correspondingly low output resolution. Each sample video can also be converted to sample video having multiple preset resolutions to enable detection of multiple video communication systems having different output resolutions. For example, the sample pictures with the same resolution are saved as one path according to the resolution of the sample picture, and the sample pictures of different resolutions are stored in the corresponding different paths to form a sample library, and the resolution of the video to be tested can be found correspondingly. The path of the sample picture with the resolution, through which the sample picture with the corresponding resolution can be found. In this embodiment, the sample picture is stored in the corresponding path according to the resolution of the sample picture, thereby searching for the corresponding sample picture according to the resolution of the video to be tested, thereby improving the convenience of managing the sample picture and reducing the search sample. The difficulty of the photo improves the efficiency of obtaining the corresponding sample image.
在一个实施例中,如图6所示,提供了另一种视频通信系统检测方法。该方法可应用于如图1所示的应用环境中,包括:In one embodiment, as shown in Figure 6, another video communication system detection method is provided. The method can be applied to an application environment as shown in FIG. 1, including:
步骤S601,获取用于检测视频通信系统的样本片源,通过在样本片源的每个帧图片上添加帧序号生成样本视频。Step S601: Acquire a sample slice source for detecting a video communication system, and generate a sample video by adding a frame sequence number to each frame picture of the sample slice source.
本实施例中,可根据视频通信系统的应用场景选取相应类别的样本片源。比如,当被检测的视频通信系统为视频会议系统时,由于视频会议的应用场景通常是会议室,且会出现较多的人脸图像,则选取的样本片源的特征可以是处于封闭的场景、包含较多人脸图像等。可以在每个帧图片的底部边缘叠加一个帧序号,或者,还可在通过编辑样本片源,延伸样本片源的每个 帧图片的底部边缘形成一个黑边,在黑边上叠加帧序号,以降低对帧图片本身的干扰。In this embodiment, a sample slice source of a corresponding category may be selected according to an application scenario of the video communication system. For example, when the detected video communication system is a video conference system, since the application scenario of the video conference is usually a conference room, and more face images appear, the selected sample source may be in a closed scene. , including more face images, etc. A frame number may be superimposed on the bottom edge of each frame picture, or a black border may be formed on the bottom edge of each frame picture of the sample source by editing the sample source, and the frame number may be superimposed on the black side. To reduce the interference on the frame picture itself.
步骤S602,提取样本视频中的帧图片,生成样本图片。Step S602, extracting a frame picture in the sample video to generate a sample picture.
本实施例中,可以通过图像识别技术识别样本图片中包含的帧序号,将样本图片保存,并命名为对应的序号。In this embodiment, the frame number included in the sample picture can be identified by the image recognition technology, and the sample picture is saved and named as the corresponding serial number.
步骤S603,获取视频通信系统根据样本视频生成的待测视频。Step S603, acquiring a video to be tested generated by the video communication system according to the sample video.
本实施例中,视频通信系统中的发送端在对样本视频进行编码之后,可通过网络传输将该样本视频发送至一个或多个接收端,该一个或多个接收端可按照对应的解码方式,将编码后的样本视频解码生成相应的待测视频,获取该待测视频以进行下一步的检测。In this embodiment, the transmitting end of the video communication system may transmit the sample video to one or more receiving ends after the sample video is encoded, and the one or more receiving ends may follow the corresponding decoding manner. Decoding the encoded sample video to generate a corresponding video to be tested, and acquiring the video to be tested for the next detection.
步骤S604,从待测视频中提取多个待测图片。Step S604, extracting a plurality of pictures to be tested from the video to be tested.
本实施例中,按照预设的时间间隔从待测视频中提取帧图片作为待测图片,比如,每隔1秒从待测视频中提取帧图片作为待测图片。In this embodiment, the frame image is extracted from the video to be tested as the image to be tested according to the preset time interval. For example, the frame image is extracted from the video to be tested every 1 second as the image to be tested.
在一个实施例中,从待测视频中提取多个待测图片之后,还包括判断提取的待测图片的数量是否高于预设数量。例如,若提取的待测图片的数量高于预设数量,则进行下一步的检测;若提取的待测图片的数量低于预设数量,则重复本步骤提取更多的待测图片,比如说,通过按照更高的提取频率从待测视频中提取更多待测图片。In an embodiment, after extracting a plurality of pictures to be tested from the video to be tested, the method further includes determining whether the number of the extracted pictures to be tested is higher than a preset number. For example, if the number of extracted pictures to be tested is higher than the preset number, the next step of detecting is performed; if the number of extracted pictures to be tested is lower than the preset number, repeating this step to extract more pictures to be tested, such as Said to extract more pictures to be tested from the video to be tested according to a higher extraction frequency.
步骤S605,识别每个待测图片中包含的帧序号。Step S605, identifying a frame number included in each picture to be tested.
本实施例中,帧序号可为连续不重复的字符串。比如,对于一个包含1500个帧图片的视频,帧序号可按照帧图片的顺序从10001到11500。或者,帧图片的帧序号可不按照帧序号的顺序,而是任意排序的不重复的字符串。再比如,帧序号可采取二进制编码的形式,只用0和1两个数字标识帧图片,降低识别帧序号的难度,提高识别帧序号的准确率。In this embodiment, the frame number may be a string that is not repeated continuously. For example, for a video containing 1500 frame pictures, the frame number can be from 10001 to 11500 in the order of the frame picture. Alternatively, the frame number of the frame picture may not be in the order of the frame number, but an arbitrarily ordered non-repeating character string. For example, the frame number can be in the form of binary coding, and only two numbers of 0 and 1 are used to identify the frame picture, which reduces the difficulty of identifying the frame number and improves the accuracy of identifying the frame number.
步骤S606,根据待测图片的分辨率查找具有相同分辨率的样本图片,在具有相同分辨率的样本图片中获取与每个待测图片的帧序号所对应的样本图片。Step S606: Find a sample picture having the same resolution according to the resolution of the picture to be tested, and obtain a sample picture corresponding to the frame number of each picture to be tested in the sample picture having the same resolution.
本实施例中,通过视频通信系统生成的待测视频的分辨率可为该视频通 信系统的最高输出分辨率,相应的,用于该检测视频通信系统的样本视频的分辨率也与视频通信系统的最高输出分辨率相同。可在根据待测视频的分辨率或者待测图片的分辨率,查找具有相应分辨率的样本图片,在所查找到的样本图片中查找与待测图片的帧序号所对应的样本图片。In this embodiment, the resolution of the video to be tested generated by the video communication system may be the highest output resolution of the video communication system, and correspondingly, the resolution of the sample video used for the detection video communication system is also compatible with the video communication system. The highest output resolution is the same. The sample picture having the corresponding resolution may be searched according to the resolution of the video to be tested or the resolution of the picture to be tested, and the sample picture corresponding to the frame number of the picture to be tested is searched for in the sample picture that is found.
步骤S607,计算每个待测图片和对应的样本图片之间的第一相似度。Step S607, calculating a first similarity between each picture to be tested and a corresponding sample picture.
本实施例中,可以通过对比待测图片和样本图片的每对相应像素RGB计算得出第一相似度,判定该第一相似度是否低于第一阈值,若是,将该待测图片和样本图片通过直方图改进算法进行检验。若通过直方图改进算法计算得出相似度仍低于第一阈值,则判定待测图片存在质量问题;若通过直方图改进算法计算得出相似度高于第一阈值,则判定两张图片一致,待测图片不存在质量问题,并将高于第一阈值的相似度作为第一相似度。In this embodiment, the first similarity may be calculated by comparing each pair of corresponding pixels RGB of the to-be-measured picture and the sample picture, and determining whether the first similarity is lower than the first threshold, and if yes, the picture to be tested and the sample The image is verified by a histogram improvement algorithm. If the similarity is still lower than the first threshold by the histogram improvement algorithm, it is determined that there is a quality problem in the picture to be tested; if the similarity is higher than the first threshold by the histogram improvement algorithm, the two pictures are determined to be consistent. The picture to be tested does not have a quality problem, and the similarity higher than the first threshold is taken as the first similarity.
步骤S608,根据低于第一阈值的第一相似度对应的待测图片的数量确定视频通信系统是否存在视频处理问题。Step S608, determining whether there is a video processing problem in the video communication system according to the number of pictures to be tested corresponding to the first similarity lower than the first threshold.
本实施例中,可以预设数量阈值为1,则只要存在低于第一阈值的第一相似度对应的待测图片,就判定该视频通信系统存在视频处理问题。再比如,可以预设数量阈值为待测图片总数量的0.1%,对于总数量为5000个的待测图片,则当低于第一阈值的第一相似度对应的待测图片的数量大于5个,判定该视频通信系统存在视频处理问题。例如,当确定视频通信系统存在视频处理问题时,则执行步骤S609,若否,则执行步骤S613。In this embodiment, the preset number threshold is 1. If there is a picture to be tested corresponding to the first similarity lower than the first threshold, it is determined that the video communication system has a video processing problem. For example, the preset number threshold is 0.1% of the total number of pictures to be tested, and for the total number of 5000 pictures to be tested, the number of pictures to be tested corresponding to the first similarity lower than the first threshold is greater than 5. It is determined that there is a video processing problem in the video communication system. For example, when it is determined that there is a video processing problem in the video communication system, step S609 is performed, and if not, step S613 is performed.
步骤S609,计算每个偏差待测图片和预设的偏差图片之间的第二相似度,偏差待测图片是低于第一阈值的第一相似度对应的待测图片。Step S609, calculating a second similarity between each deviation of the to-be-tested picture and the preset deviation picture, where the deviation of the to-be-tested picture is a picture to be tested corresponding to the first similarity lower than the first threshold.
步骤S610,判断第二相似度是否高于第二阈值。Step S610, determining whether the second similarity is higher than the second threshold.
本实施例中,第二阈值为判定偏差待测图片是否存在偏差图片质量问题的相似度阈值。例如,当第二相似度高于第二阈值时,则执行步骤S611,当第二相似度低于第二阈值时,则执行步骤S612。In this embodiment, the second threshold is a similarity threshold for determining whether the deviation of the picture to be tested has a deviation picture quality problem. For example, when the second similarity is higher than the second threshold, step S611 is performed, and when the second similarity is lower than the second threshold, step S612 is performed.
步骤S611,判定视频通信系统存在的视频处理问题包括蓝屏或黑屏的问题。In step S611, it is determined that the video processing problem existing in the video communication system includes a blue screen or a black screen.
步骤S612,判定视频通信系统存在的视频处理问题包括花屏或偏色的 问题。In step S612, it is determined that the video processing problem existing in the video communication system includes a problem of blooming or color cast.
步骤S613,判断高于第一阈值的第一相似度对应的待测图片包含的帧序号与相邻的待测图片包含的帧序号是否一致。In step S613, it is determined whether the frame number included in the picture to be tested corresponding to the first similarity that is higher than the first threshold is consistent with the frame number included in the adjacent picture to be tested.
本实施例中,当高于第一阈值的第一相似度对应的待测图片包含的帧序号与相邻的待测图片包含的帧序号一致时,执行步骤S614,若否,则执行步骤S615。In this embodiment, when the frame number of the to-be-tested picture corresponding to the first similarity that is higher than the first threshold is consistent with the frame number of the adjacent picture to be tested, step S614 is performed, and if no, step S615 is performed. .
步骤S614,判定视频通信系统存在的视频处理问题包括图像冻结或图像卡顿的问题。In step S614, it is determined that the video processing problem existing in the video communication system includes an image freeze or an image jam.
步骤S615,判定视频通信系统不存在黑屏、蓝屏、花屏或偏色的问题。In step S615, it is determined that the video communication system does not have a black screen, a blue screen, a flower screen or a color cast.
在一个实施例中,步骤S611、步骤S612、步骤S614和步骤S615之后,还包括:根据判定结果,将偏差待测图片按照对应的类别进行保存。其中,类别包括但不限于黑屏、蓝屏、花屏、偏色等。视频通信系统的检测报告是指通过汇总偏差待测图片的数量、类别等信息,不限于此,生成的反映视频通信系统存在的视频处理问题的报告。还可以将偏差待测图片命名为该偏差待测图片在待测视频中的进度时间,可以根据该进度时间查找样本视频中相应进度时间的样本图片,以进行下一步的分析和确认。In an embodiment, after step S611, step S612, step S614, and step S615, the method further includes: saving the deviation to-be-tested picture according to the corresponding category according to the determination result. Among them, categories include, but are not limited to, black screen, blue screen, flower screen, color cast, and the like. The detection report of the video communication system refers to the information of the number, category, and the like of the picture to be measured by the aggregation deviation, and is not limited thereto, and generates a report reflecting the video processing problem existing in the video communication system. The deviation test picture may also be named as the progress time of the deviation test picture in the video to be tested, and the sample picture of the corresponding progress time in the sample video may be searched according to the progress time for the next analysis and confirmation.
本实施例中,通过计算第一相似度并判断第一相似度是否低于第一阈值,从而确认待测图片是否存在图像质量问题,计算第二相似度并判断第二相似度是否高于阈值,从而确认待测图片存在的具体问题,将视频通信系统存在的视频处理问题逐步细化,提高了视频待测系统检测的精确度。通过判断高于第一阈值的第一相似度对应的待测图片包含的帧序号与相邻的待测图片包含的帧序号是否一致,避免了忽略图像质量问题之外的图像冻结或图像卡顿的问题,提高了检测待测视频的准确度,从而提高了视频通信系统的检测效率。In this embodiment, by calculating the first similarity and determining whether the first similarity is lower than the first threshold, thereby confirming whether the image to be tested has an image quality problem, calculating the second similarity, and determining whether the second similarity is higher than the threshold. In order to confirm the specific problem of the picture to be tested, the video processing problem existing in the video communication system is gradually refined, and the accuracy of the detection of the video to be tested system is improved. By judging whether the frame number of the to-be-tested picture corresponding to the first similarity higher than the first threshold is consistent with the frame number included in the adjacent picture to be tested, image freezing or image jamming other than ignoring the image quality problem is avoided. The problem is to improve the accuracy of detecting the video to be tested, thereby improving the detection efficiency of the video communication system.
在一个实施例中,如图7所示,提供了一种视频通信系统的检测装置,包括:In one embodiment, as shown in FIG. 7, a detection apparatus for a video communication system is provided, including:
待测视频获取模块702,设置为获取视频通信系统根据样本视频生成的待测视频。The to-be-tested video acquisition module 702 is configured to acquire a video to be tested generated by the video communication system according to the sample video.
待测图片提取模块704,设置为从待测视频中提取多个待测图片。The picture to be tested module 704 is configured to extract a plurality of pictures to be tested from the video to be tested.
帧序号识别模块706,设置为识别每个待测图片中包含的帧序号。The frame number identification module 706 is configured to identify the frame number included in each picture to be tested.
样本图片获取模块708,设置为获取每个帧序号对应的样本图片,样本图片是从样本视频中提取的帧图片。The sample picture obtaining module 708 is configured to acquire a sample picture corresponding to each frame number, and the sample picture is a frame picture extracted from the sample video.
相似度计算模块710,设置为计算每个待测图片和对应的样本图片之间的第一相似度。The similarity calculation module 710 is configured to calculate a first similarity between each picture to be tested and a corresponding sample picture.
视频处理问题确定模块712,设置为根据每个待测图片和对应的样本图片之间的第一相似度确定视频通信系统是否存在视频处理问题。The video processing problem determining module 712 is configured to determine whether the video communication system has a video processing problem according to the first similarity between each picture to be tested and the corresponding sample picture.
在一个实施例中,如图8所示,该装置还包括:In one embodiment, as shown in FIG. 8, the apparatus further includes:
样本视频生成模块714,设置为获取用于检测视频通信系统的样本片源,通过在样本片源的每个帧图片上添加帧序号生成样本视频。The sample video generation module 714 is configured to acquire a sample slice source for detecting the video communication system, and generate a sample video by adding a frame number to each frame picture of the sample slice source.
样本图片生成模块716,设置为提取样本视频中的帧图片,生成样本图片。The sample picture generating module 716 is configured to extract a frame picture in the sample video to generate a sample picture.
在一个实施例中,样本图片生成模块716还用于将样本视频的每个帧图片保存为样本图片;获取每个样本图片中包含的帧序号;根据帧序号命名对应的样本图片。In one embodiment, the sample picture generating module 716 is further configured to save each frame picture of the sample video as a sample picture; acquire a frame number included in each sample picture; and name a corresponding sample picture according to the frame number.
在一个实施例中,视频处理问题确定模块712还用于根据低于第一阈值的第一相似度对应的待测图片的数量确定视频通信系统是否存在视频处理问题。In one embodiment, the video processing problem determining module 712 is further configured to determine whether the video communication system has a video processing problem according to the number of pictures to be tested corresponding to the first similarity lower than the first threshold.
在一个实施例中,相似度计算模块710还用于当确定视频通信系统存在视频处理问题时,计算每个偏差待测图片和预设的偏差图片之间的第二相似度,偏差待测图片是低于第一阈值的第一相似度对应的待测图片;视频处理问题确定模块712还用于当第二相似度高于第二阈值时,则判定视频通信系统存在的视频处理问题包括蓝屏或黑屏的问题,当第二相似度低于第二阈值时,则判定视频通信系统存在的视频处理问题包括花屏或偏色的问题。In an embodiment, the similarity calculation module 710 is further configured to: when determining that the video communication system has a video processing problem, calculate a second similarity between each deviation of the to-be-tested picture and the preset deviation picture, and deviation the picture to be tested The video processing problem determining module 712 is further configured to: when the second similarity is higher than the second threshold, determine that the video processing problem existing in the video communication system includes a blue screen. Or a black screen problem, when the second similarity is lower than the second threshold, it is determined that the video processing problem existing in the video communication system includes a problem of blooming or color cast.
在一个实施例中,视频处理问题确定模块712还用于判断高于第一阈值的第一相似度对应的待测图片包含的帧序号与相邻的待测图片包含的帧序号是否一致;若是,则判定视频通信系统存在的视频处理问题包括图像冻结 或图像卡顿的问题。In an embodiment, the video processing problem determining module 712 is further configured to determine whether the frame number of the to-be-tested picture corresponding to the first similarity that is higher than the first threshold is consistent with the frame number included in the adjacent picture to be tested; Then, it is determined that the video processing problems existing in the video communication system include image freeze or image jamming.
在一个实施例中,样本图片获取模块708还用于根据待测图片的分辨率查找具有相同分辨率的样本图片;在具有相同分辨率的样本图片中获取与每个待测图片的帧序号所对应的样本图片。In one embodiment, the sample picture obtaining module 708 is further configured to: search for a sample picture having the same resolution according to a resolution of the picture to be tested; and acquire a frame number of each picture to be tested in the sample picture having the same resolution. Corresponding sample image.
上述的视频通信系统的检测装置,通过从待测视频中提取多个待测图片,识别每个待测图片中包含的帧序号,再根据帧序号获取待测图片对应的样本图片,通过帧序号关联待测图片和样本图片,提高了查找相应的样本图片的准确性,通过计算每个待测图片和对应的样本图片之间的第一相似度来确定视频通信系统是否存在视频处理问题,避免了遗漏有质量问题的待测图片,节约了视频通信系统的检测时间,提高了视频通信系统的检测效率。The detecting device of the video communication system, by extracting a plurality of pictures to be tested from the video to be tested, identifying the frame number included in each picture to be tested, and acquiring the sample picture corresponding to the picture to be tested according to the frame number, and passing the frame number Correlating the to-be-tested picture and the sample picture improves the accuracy of finding the corresponding sample picture, and determining whether the video communication system has a video processing problem by calculating the first similarity between each picture to be tested and the corresponding sample picture, and avoiding The missing picture with quality problems is omitted, which saves the detection time of the video communication system and improves the detection efficiency of the video communication system.
在一个实施例中,提供了一种计算机可读存储介质,其上存储有计算机程序,其中,该程序被处理器执行时实现以下步骤:获取视频通信系统根据样本视频生成的待测视频;从待测视频中提取多个待测图片;识别每个待测图片中包含的帧序号;获取每个帧序号对应的样本图片,样本图片是从样本视频中提取的帧图片;计算每个待测图片和对应的样本图片之间的第一相似度;根据每个待测图片和对应的样本图片之间的第一相似度确定视频通信系统是否存在视频处理问题。In one embodiment, a computer readable storage medium is provided having stored thereon a computer program, wherein the program, when executed by the processor, implements the steps of: acquiring a video to be tested generated by the video communication system according to the sample video; Extracting a plurality of pictures to be tested in the video to be tested; identifying a frame number included in each picture to be tested; acquiring a sample picture corresponding to each frame number, the sample picture is a frame picture extracted from the sample video; calculating each to be tested A first similarity between the picture and the corresponding sample picture; determining whether the video communication system has a video processing problem according to the first similarity between each picture to be tested and the corresponding sample picture.
在一个实施例中,该程序被处理器执行时,在实现获取视频通信系统根据样本视频生成的待测视频的步骤之前,还实现以下步骤:获取用于检测视频通信系统的样本片源;通过在样本片源的每个帧图片上添加帧序号生成样本视频;提取样本视频中的帧图片,生成样本图片。In an embodiment, when the program is executed by the processor, before the step of acquiring the video to be tested generated by the video communication system according to the sample video, the following steps are further implemented: acquiring a sample slice source for detecting the video communication system; Adding a frame number to each frame picture of the sample piece source to generate a sample video; extracting a frame picture in the sample video to generate a sample picture.
在一个实施例中,该程序被处理器执行时,在实现提取样本视频中的帧图片,生成样本图片的步骤时,包括实现以下步骤:将样本视频的每个帧图片保存为样本图片;获取每个样本图片中包含的帧序号;根据帧序号命名对应的样本图片。In an embodiment, when the program is executed by the processor, when the step of extracting the frame picture in the sample video and generating the sample picture is performed, the following steps are implemented: saving each frame picture of the sample video as a sample picture; The frame number included in each sample picture; the corresponding sample picture is named according to the frame number.
在一个实施例中,该程序被处理器执行时,在实现根据每个待测图片和对应的样本图片之间的第一相似度确定视频通信系统是否存在视频处理问题的步骤时,包括实现以下步骤:根据低于第一阈值的第一相似度对应的待测图片的数量确定视频通信系统是否存在视频处理问题。In an embodiment, when the program is executed by the processor, when the step of determining whether the video communication system has a video processing problem according to the first similarity between each picture to be tested and the corresponding sample picture, the following is implemented. Step: Determine whether the video communication system has a video processing problem according to the number of pictures to be tested corresponding to the first similarity lower than the first threshold.
在一个实施例中,该程序被处理器执行时,在实现根据低于第一阈值的第一相似度对应的待测图片的数量确定视频通信系统是否存在视频处理问题的步骤之后,还实现以下步骤:当确定视频通信系统存在视频处理问题时,计算每个偏差待测图片和预设的偏差图片之间的第二相似度,偏差待测图片是低于第一阈值的第一相似度对应的待测图片;当第二相似度高于第二阈值时,则判定视频通信系统存在的视频处理问题包括蓝屏或黑屏的问题;当第二相似度低于第二阈值时,则判定视频通信系统存在的视频处理问题包括花屏或偏色的问题。In one embodiment, when the program is executed by the processor, after the step of determining whether the video communication system has a video processing problem according to the number of pictures to be tested corresponding to the first similarity lower than the first threshold, the following is also implemented. Step: when it is determined that there is a video processing problem in the video communication system, calculating a second similarity between each deviation of the to-be-tested picture and the preset deviation picture, and the deviation of the to-be-tested picture is corresponding to the first similarity of the first threshold The picture to be tested; when the second similarity is higher than the second threshold, determining that the video processing problem existing in the video communication system includes a blue screen or a black screen; when the second similarity is lower than the second threshold, determining the video communication Video processing problems that exist in the system include problems with flower screens or color casts.
在一个实施例中,该程序被处理器执行时,在实现根据每个待测图片和对应的样本图片之间的第一相似度确定视频通信系统是否存在视频处理问题的步骤之后,还实现以下步骤:判断高于第一阈值的第一相似度对应的待测图片包含的帧序号与相邻的待测图片包含的帧序号是否一致;若是,则判定视频通信系统存在的视频处理问题包括图像冻结或图像卡顿的问题。In one embodiment, when the program is executed by the processor, after implementing the step of determining whether the video communication system has a video processing problem according to the first similarity between each picture to be tested and the corresponding sample picture, the following is also implemented. Step: determining whether the frame number of the to-be-tested picture corresponding to the first similarity higher than the first threshold is consistent with the frame number included in the adjacent picture to be tested; if yes, determining that the video processing problem existing in the video communication system includes an image Freeze or image stuck.
在一个实施例中,该程序被处理器执行时,在实现获取每个帧序号对应的样本图片的步骤时,包括实现以下步骤:根据待测图片的分辨率查找具有相同分辨率的样本图片;在具有相同分辨率的样本图片中获取与每个待测图片的帧序号所对应的样本图片。In an embodiment, when the program is executed by the processor, when the step of acquiring the sample picture corresponding to each frame serial number is implemented, the following steps are implemented: searching for a sample picture having the same resolution according to the resolution of the picture to be tested; A sample picture corresponding to the frame number of each picture to be tested is acquired in the sample picture having the same resolution.
在一个实施例中,提供了一种计算机设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,其中,处理器执行程序时实现以下步骤:获取视频通信系统根据样本视频生成的待测视频;从待测视频中提取多个待测图片;识别每个待测图片中包含的帧序号;获取每个帧序号对应的样本图片,样本图片是从样本视频中提取的帧图片;计算每个待测图片和对应的样本图片之间的第一相似度;根据每个待测图片和对应的样本图片之间的第一相似度确定视频通信系统是否存在视频处理问题。In one embodiment, a computer apparatus is provided, comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor executes the program to: obtain the video communication system according to the following steps: a video to be tested generated by the sample video; extracting a plurality of pictures to be tested from the video to be tested; identifying a frame number included in each picture to be tested; acquiring a sample picture corresponding to each frame number, the sample picture is extracted from the sample video a frame image; calculating a first similarity between each picture to be tested and a corresponding sample picture; determining whether the video communication system has a video processing problem according to the first similarity between each picture to be tested and the corresponding sample picture .
在一个实施例中,上述的处理器执行程序时,在实现获取视频通信系统根据样本视频生成的待测视频的步骤之前,还实现以下步骤:获取用于检测视频通信系统的样本片源;通过在样本片源的每个帧图片上添加帧序号生成样本视频;提取样本视频中的帧图片,生成样本图片。In an embodiment, when the processor executes the program, before the step of acquiring the video to be tested generated by the video communication system according to the sample video, the following steps are further implemented: acquiring a sample slice source for detecting the video communication system; Adding a frame number to each frame picture of the sample piece source to generate a sample video; extracting a frame picture in the sample video to generate a sample picture.
在一个实施例中,上述的处理器执行程序时,在实现提取样本视频中的 帧图片,生成样本图片的步骤时,包括实现以下步骤:将样本视频的每个帧图片保存为样本图片;获取每个样本图片中包含的帧序号;根据帧序号命名对应的样本图片。In an embodiment, when the foregoing processor executes the program, when the step of extracting the frame picture in the sample video and generating the sample picture is performed, the following steps are implemented: saving each frame picture of the sample video as a sample picture; The frame number included in each sample picture; the corresponding sample picture is named according to the frame number.
在一个实施例中,上述的处理器执行程序时,在实现根据每个待测图片和对应的样本图片之间的第一相似度确定视频通信系统是否存在视频处理问题的步骤时,包括实现以下步骤:根据低于第一阈值的第一相似度对应的待测图片的数量确定视频通信系统是否存在视频处理问题。In an embodiment, when the processor executes the program, when the step of determining whether the video communication system has a video processing problem according to the first similarity between each picture to be tested and the corresponding sample picture, the following is implemented. Step: Determine whether the video communication system has a video processing problem according to the number of pictures to be tested corresponding to the first similarity lower than the first threshold.
在一个实施例中,上述的处理器执行程序时,在实现根据低于第一阈值的第一相似度对应的待测图片的数量确定视频通信系统是否存在视频处理问题的步骤之后,还实现以下步骤:当确定视频通信系统存在视频处理问题时,计算每个偏差待测图片和预设的偏差图片之间的第二相似度,偏差待测图片是低于第一阈值的第一相似度对应的待测图片;当第二相似度高于第二阈值时,则判定视频通信系统存在的视频处理问题包括蓝屏或黑屏的问题;当第二相似度低于第二阈值时,则判定视频通信系统存在的视频处理问题包括花屏或偏色的问题。In an embodiment, when the processor executes the program, after determining the step of determining whether the video communication system has a video processing problem according to the number of pictures to be tested corresponding to the first similarity lower than the first threshold, the following is also implemented. Step: when it is determined that there is a video processing problem in the video communication system, calculating a second similarity between each deviation of the to-be-tested picture and the preset deviation picture, and the deviation of the to-be-tested picture is corresponding to the first similarity of the first threshold The picture to be tested; when the second similarity is higher than the second threshold, determining that the video processing problem existing in the video communication system includes a blue screen or a black screen; when the second similarity is lower than the second threshold, determining the video communication Video processing problems that exist in the system include problems with flower screens or color casts.
在一个实施例中,上述的处理器执行程序时,在实现根据每个待测图片和对应的样本图片之间的第一相似度确定视频通信系统是否存在视频处理问题的步骤之后,还实现以下步骤:判断高于第一阈值的第一相似度对应的待测图片包含的帧序号与相邻的待测图片包含的帧序号是否一致;若是,则判定视频通信系统存在的视频处理问题包括图像冻结或图像卡顿的问题。In an embodiment, when the processor executes the program, after implementing the step of determining whether the video communication system has a video processing problem according to the first similarity between each picture to be tested and the corresponding sample picture, the following is also implemented. Step: determining whether the frame number of the to-be-tested picture corresponding to the first similarity higher than the first threshold is consistent with the frame number included in the adjacent picture to be tested; if yes, determining that the video processing problem existing in the video communication system includes an image Freeze or image stuck.
在一个实施例中,上述的处理器执行程序时,在实现获取每个帧序号对应的样本图片的步骤时,包括实现以下步骤:根据待测图片的分辨率查找具有相同分辨率的样本图片;在具有相同分辨率的样本图片中获取与每个待测图片的帧序号所对应的样本图片。In an embodiment, when the foregoing processor executes the program, when the step of acquiring the sample picture corresponding to each frame serial number is implemented, the following steps are implemented: searching for a sample picture having the same resolution according to the resolution of the picture to be tested; A sample picture corresponding to the frame number of each picture to be tested is acquired in the sample picture having the same resolution.
本领域普通技术人员可以理解,上文中所公开方法中的全部或某些步骤、系统、装置中的功能模块/单元可以被实施为软件、固件、硬件及其适当的组合。在硬件实施方式中,在以上描述中提及的功能模块/单元之间的划分不一定对应于物理组件的划分;例如,一个物理组件可以具有多个功能,或者一个功能或步骤可以由若干物理组件合作执行。某些组件或所有组件可 以被实施为由处理器,如数字信号处理器或微处理器执行的软件,或者被实施为硬件,或者被实施为集成电路,如专用集成电路。这样的软件可以分布在计算机可读介质上,计算机可读介质可以包括计算机存储介质(或非暂时性介质)和通信介质(或暂时性介质)。如本领域普通技术人员公知的,术语计算机存储介质包括在用于存储信息(诸如计算机可读指令、数据结构、程序模块或其他数据)的任何方法或技术中实施的易失性和非易失性、可移除和不可移除介质。计算机存储介质包括但不限于RAM、ROM、EEPROM、闪存或其他存储器技术、CD-ROM、数字多功能盘(DVD)或其他光盘存储、磁盒、磁带、磁盘存储或其他磁存储装置、或者可以用于存储期望的信息并且可以被计算机访问的任何其他的介质。此外,本领域普通技术人员公知的是,通信介质通常包含计算机可读指令、数据结构、程序模块或者诸如载波或其他传输机制之类的调制数据信号中的其他数据,并且可包括任何信息递送介质。Those of ordinary skill in the art will appreciate that all or some of the steps, systems, and functional blocks/units of the methods disclosed above may be implemented as software, firmware, hardware, and suitable combinations thereof. In a hardware implementation, the division between functional modules/units mentioned in the above description does not necessarily correspond to the division of physical components; for example, one physical component may have multiple functions, or one function or step may be composed of several physical The components work together. Some or all of the components may be implemented as software executed by a processor, such as a digital signal processor or microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on a computer readable medium, which may include computer storage media (or non-transitory media) and communication media (or transitory media). As is well known to those of ordinary skill in the art, the term computer storage medium includes volatile and nonvolatile, implemented in any method or technology for storing information, such as computer readable instructions, data structures, program modules or other data. Sex, removable and non-removable media. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disc (DVD) or other optical disc storage, magnetic cartridge, magnetic tape, magnetic disk storage or other magnetic storage device, or may Any other medium used to store the desired information and that can be accessed by the computer. Moreover, it is well known to those skilled in the art that communication media typically includes computer readable instructions, data structures, program modules, or other data in a modulated data signal, such as a carrier wave or other transport mechanism, and can include any information delivery media. .
以上所述实施例仅表达了本公开的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对发明专利范围的限制。对于本领域的普通技术人员来说,在不脱离本公开构思的前提下,还可以做出若干变形和改进,这些都属于本公开的保护范围。因此,本公开专利的保护范围应以所附权利要求为准。The above-mentioned embodiments are merely illustrative of several embodiments of the present disclosure, and the description thereof is more specific and detailed, but is not to be construed as limiting the scope of the invention. It will be apparent to those skilled in the art that various changes and modifications may be made without departing from the scope of the present disclosure. Therefore, the scope of the invention should be determined by the appended claims.
工业实用性Industrial applicability
利用上述的视频通信系统的检测方法、装置、存储介质和计算机设备,通过从所述待测视频中提取多个待测图片,识别每个待测图片中包含的帧序号之后,根据待测图片中的帧序号获取待测图片对应的样本图片,通过帧序号关联待测图片和样本图片,提高了查找相应的样本图片的准确性,节约了查找赝本图片的时间。通过计算每个待测图片和对应的样本图片之间的第一相似度来确定视频通信系统是否存在视频处理问题,避免了遗漏有质量问题的待测图片,并且通过计算图片相似度的方式,提高了对待测视频图像质量检测的精确度,提高了视频通信系统的检测效率。By using the detection method, the device, the storage medium, and the computer device of the video communication system, after extracting a plurality of pictures to be tested from the video to be tested, and identifying the frame number included in each picture to be tested, according to the picture to be tested The frame number in the frame obtains the sample picture corresponding to the picture to be tested, and the picture to be tested and the sample picture are associated by the frame number, which improves the accuracy of finding the corresponding sample picture, and saves the time for finding the picture. Determining whether there is a video processing problem in the video communication system by calculating a first similarity between each picture to be tested and a corresponding sample picture, avoiding missing the picture to be tested with quality problems, and calculating the similarity of the picture, The accuracy of the quality detection of the video image to be tested is improved, and the detection efficiency of the video communication system is improved.

Claims (10)

  1. 一种视频通信系统的检测方法,所述方法包括:A method for detecting a video communication system, the method comprising:
    获取视频通信系统根据样本视频生成的待测视频;Obtaining a video to be tested generated by the video communication system according to the sample video;
    从所述待测视频中提取多个待测图片;Extracting a plurality of pictures to be tested from the video to be tested;
    识别每个待测图片中包含的帧序号;Identifying a frame number included in each picture to be tested;
    获取每个帧序号对应的样本图片,所述样本图片是从所述样本视频中提取的帧图片;Obtaining a sample picture corresponding to each frame number, where the sample picture is a frame picture extracted from the sample video;
    计算每个待测图片和对应的样本图片之间的第一相似度;Calculating a first similarity between each picture to be tested and a corresponding sample picture;
    根据每个待测图片和对应的样本图片之间的第一相似度确定视频通信系统是否存在视频处理问题。Determining whether the video communication system has a video processing problem according to the first similarity between each picture to be tested and the corresponding sample picture.
  2. 根据权利要求1所述的视频通信系统的检测方法,其中,在所述获取视频通信系统根据样本视频生成的待测视频之前,所述方法还包括:The method of detecting a video communication system according to claim 1, wherein before the acquiring the video to be tested generated by the video communication system according to the sample video, the method further comprises:
    获取用于检测视频通信系统的样本片源;Obtaining a sample slice source for detecting a video communication system;
    通过在样本片源的每个帧图片上添加帧序号生成样本视频;Generating a sample video by adding a frame number to each frame picture of the sample piece source;
    提取所述样本视频中的帧图片,生成样本图片。A frame picture in the sample video is extracted to generate a sample picture.
  3. 根据权利要求2所述的视频通信系统的检测方法,其中,所述提取所述样本视频中的帧图片,生成样本图片,包括:The method for detecting a video communication system according to claim 2, wherein the extracting a frame picture in the sample video to generate a sample picture comprises:
    将所述样本视频的每个帧图片保存为样本图片;Saving each frame picture of the sample video as a sample picture;
    获取每个样本图片中包含的帧序号;Obtain the frame number included in each sample picture;
    根据所述帧序号命名对应的样本图片。Name the corresponding sample picture according to the frame number.
  4. 根据权利要求1所述的视频通信系统的检测方法,其中,所述根据每个待测图片和对应的样本图片之间的第一相似度确定视频通信系统是否存在视频处理问题,包括:The method for detecting a video communication system according to claim 1, wherein the determining whether the video communication system has a video processing problem according to the first similarity between each picture to be tested and the corresponding sample picture comprises:
    根据低于第一阈值的第一相似度对应的待测图片的数量确定视频通信系统是否存在视频处理问题。Determining whether there is a video processing problem in the video communication system according to the number of pictures to be tested corresponding to the first similarity lower than the first threshold.
  5. 根据权利要求4所述的视频通信系统的检测方法,其中,所述根据 低于第一阈值的第一相似度对应的待测图片的数量确定视频通信系统是否存在视频处理问题之后,所述方法还包括:The detecting method of the video communication system according to claim 4, wherein after determining whether the video communication system has a video processing problem according to the number of pictures to be tested corresponding to the first similarity lower than the first threshold, the method Also includes:
    当确定视频通信系统存在视频处理问题时,计算每个偏差待测图片和预设的偏差图片之间的第二相似度,所述偏差待测图片是低于第一阈值的第一相似度对应的待测图片;When it is determined that the video communication system has a video processing problem, calculating a second similarity between each of the deviation to-be-tested pictures and the preset deviation picture, the deviation of the to-be-tested picture being a first similarity lower than the first threshold The picture to be tested;
    当所述第二相似度高于第二阈值时,则判定所述视频通信系统存在的视频处理问题包括蓝屏或黑屏的问题;When the second similarity is higher than the second threshold, determining that the video processing problem existing in the video communication system includes a blue screen or a black screen;
    当所述第二相似度低于第二阈值时,则判定所述视频通信系统存在的视频处理问题包括花屏或偏色的问题。When the second similarity is lower than the second threshold, it is determined that the video processing problem existing in the video communication system includes a problem of blooming or color cast.
  6. 根据权利要求1所述的视频通信系统的检测方法,其中,所述根据每个待测图片和对应的样本图片之间的第一相似度确定视频通信系统是否存在视频处理问题之后,所述方法还包括:The detecting method of the video communication system according to claim 1, wherein the method determines whether a video processing system has a video processing problem according to a first similarity between each picture to be tested and a corresponding sample picture, the method Also includes:
    判断高于第一阈值的第一相似度对应的待测图片包含的帧序号与相邻的待测图片包含的帧序号是否一致;Determining whether the frame number of the to-be-tested picture corresponding to the first similarity that is higher than the first threshold is consistent with the frame number included in the adjacent picture to be tested;
    当高于第一阈值的第一相似度对应的待测图片包含的帧序号与相邻的待测图片包含的帧序号一致时,则判定所述视频通信系统存在的视频处理问题包括图像冻结或图像卡顿的问题。When the frame number of the to-be-tested picture corresponding to the first similarity that is higher than the first threshold is consistent with the frame number of the adjacent picture to be tested, it is determined that the video processing problem existing in the video communication system includes image freezing or Image stuck in the problem.
  7. 根据权利要求1所述的视频通信系统的检测方法,其中,所述获取每个帧序号对应的样本图片,包括:The method for detecting a video communication system according to claim 1, wherein the acquiring a sample picture corresponding to each frame number comprises:
    根据所述待测图片的分辨率查找具有相同分辨率的样本图片;Finding sample pictures having the same resolution according to the resolution of the picture to be tested;
    在所述具有相同分辨率的样本图片中获取与每个待测图片的帧序号所对应的样本图片。A sample picture corresponding to a frame number of each picture to be tested is acquired in the sample picture having the same resolution.
  8. 一种视频通信系统的检测装置,所述装置包括:A detecting device for a video communication system, the device comprising:
    待测视频获取模块,设置为获取视频通信系统根据样本视频生成的待测视频;The video acquisition module to be tested is configured to acquire a video to be tested generated by the video communication system according to the sample video;
    待测图片提取模块,设置为从所述待测视频中提取多个待测图片;The picture extraction module to be tested is configured to extract a plurality of pictures to be tested from the video to be tested;
    帧序号识别模块,设置为识别每个待测图片中包含的帧序号;a frame number identification module configured to identify a frame number included in each picture to be tested;
    样本图片获取模块,设置为获取每个帧序号对应的样本图片,所述样本图片是从所述样本视频中提取的帧图片;a sample picture obtaining module, configured to acquire a sample picture corresponding to each frame serial number, where the sample picture is a frame picture extracted from the sample video;
    相似度计算模块,设置为计算每个待测图片和对应的样本图片之间的第一相似度;a similarity calculation module, configured to calculate a first similarity between each picture to be tested and a corresponding sample picture;
    视频处理问题确定模块,设置为根据每个待测图片和对应的样本图片之间的第一相似度确定视频通信系统是否存在视频处理问题。The video processing problem determining module is configured to determine whether the video communication system has a video processing problem according to the first similarity between each picture to be tested and the corresponding sample picture.
  9. 一种计算机可读存储介质,其上存储有计算机程序,其中,该程序被处理器执行时实现权利要求1至7中任意一项所述方法的步骤。A computer readable storage medium having stored thereon a computer program, wherein the program is executed by a processor to perform the steps of the method of any one of claims 1 to 7.
  10. 一种计算机设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,其中,所述处理器执行所述程序时实现权利要求1至7中任意一项所述方法的步骤。A computer apparatus comprising a memory, a processor, and a computer program stored on the memory and operable on the processor, wherein the processor executes the program to implement the method of any one of claims 1 to 7. A step of.
PCT/CN2018/084619 2017-05-22 2018-04-26 Video communication system detection method and apparatus, storage medium and computer device WO2018214693A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710365508.5 2017-05-22
CN201710365508.5A CN108933935B (en) 2017-05-22 2017-05-22 Detection method and device of video communication system, storage medium and computer equipment

Publications (1)

Publication Number Publication Date
WO2018214693A1 true WO2018214693A1 (en) 2018-11-29

Family

ID=64396217

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/084619 WO2018214693A1 (en) 2017-05-22 2018-04-26 Video communication system detection method and apparatus, storage medium and computer device

Country Status (2)

Country Link
CN (1) CN108933935B (en)
WO (1) WO2018214693A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112055198A (en) * 2020-09-10 2020-12-08 百度在线网络技术(北京)有限公司 Video testing method and device, electronic equipment and storage medium
CN113873232A (en) * 2020-04-27 2021-12-31 峰米(北京)科技有限公司 Video jamming detection method, device, system and storage medium

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110532866A (en) * 2019-07-22 2019-12-03 平安科技(深圳)有限公司 Video data detection method, device, computer equipment and storage medium
CN110475124B (en) * 2019-09-06 2021-10-08 广州虎牙科技有限公司 Video jamming detection method and device
CN110505522A (en) * 2019-09-16 2019-11-26 腾讯科技(深圳)有限公司 Processing method, device and the electronic equipment of video data
CN110879967B (en) * 2019-10-16 2023-02-17 厦门美柚股份有限公司 Video content repetition judgment method and device
CN110830793B (en) * 2019-11-13 2021-09-03 华南理工大学 Video transmission quality time domain detection method based on deep learning frequency scale identification
CN111355950A (en) * 2020-03-13 2020-06-30 随锐科技集团股份有限公司 Video transmission quality detection method and system in real-time video communication
CN111639235B (en) * 2020-06-01 2023-08-25 重庆紫光华山智安科技有限公司 Video recording quality detection method and device, storage medium and electronic equipment
CN112738527A (en) * 2020-12-29 2021-04-30 深圳市天视通视觉有限公司 Video decoding detection method and device, electronic equipment and storage medium
CN113873226A (en) * 2021-09-13 2021-12-31 深圳市欢太科技有限公司 Encoding and decoding quality testing method and device, computer equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1622639A (en) * 2004-12-13 2005-06-01 武汉大学 A method for testing signal-to-noise ratio of digital video coding-decoding system
US20060044391A1 (en) * 2004-09-01 2006-03-02 Mauger Randy A Video timing display indicator
CN1859584A (en) * 2005-11-14 2006-11-08 华为技术有限公司 Video frequency broadcast quality detecting method for medium broadcast terminal device
CN101072374A (en) * 2007-06-20 2007-11-14 中兴通讯股份有限公司 Automatic testing method for multimedia system
CN103929637A (en) * 2014-04-23 2014-07-16 无锡天脉聚源传媒科技有限公司 Video comparing device and comparing method thereof

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20050015854A (en) * 2003-08-08 2005-02-21 삼성전자주식회사 Method of identificating a frame number
US8438449B2 (en) * 2009-11-02 2013-05-07 Lg Electronics Inc. Method and apparatus for transmitting broadcast signal in transmitter

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060044391A1 (en) * 2004-09-01 2006-03-02 Mauger Randy A Video timing display indicator
CN1622639A (en) * 2004-12-13 2005-06-01 武汉大学 A method for testing signal-to-noise ratio of digital video coding-decoding system
CN1859584A (en) * 2005-11-14 2006-11-08 华为技术有限公司 Video frequency broadcast quality detecting method for medium broadcast terminal device
CN101072374A (en) * 2007-06-20 2007-11-14 中兴通讯股份有限公司 Automatic testing method for multimedia system
CN103929637A (en) * 2014-04-23 2014-07-16 无锡天脉聚源传媒科技有限公司 Video comparing device and comparing method thereof

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113873232A (en) * 2020-04-27 2021-12-31 峰米(北京)科技有限公司 Video jamming detection method, device, system and storage medium
CN113873232B (en) * 2020-04-27 2023-05-30 峰米(北京)科技有限公司 Video clamping detection method, device and system and storage medium
CN112055198A (en) * 2020-09-10 2020-12-08 百度在线网络技术(北京)有限公司 Video testing method and device, electronic equipment and storage medium
CN112055198B (en) * 2020-09-10 2023-12-05 百度在线网络技术(北京)有限公司 Video testing method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN108933935B (en) 2021-05-07
CN108933935A (en) 2018-12-04

Similar Documents

Publication Publication Date Title
WO2018214693A1 (en) Video communication system detection method and apparatus, storage medium and computer device
CN109804622B (en) Recoloring of infrared image streams
US10368123B2 (en) Information pushing method, terminal and server
EP2326091B1 (en) Method and apparatus for synchronizing video data
US8675065B2 (en) Video monitoring system
WO2017041366A1 (en) Method and device for image recognition
US8965067B2 (en) Face data acquirer, end user video conference device, server, method, computer program and computer program product for extracting face data
US9076071B2 (en) Logo recognition
CN112954450B (en) Video processing method and device, electronic equipment and storage medium
CN110298862A (en) Method for processing video frequency, device, computer readable storage medium and computer equipment
US8072494B2 (en) Device and method for automatically testing display device
US10070175B2 (en) Method and system for synchronizing usage information between device and server
US11663824B1 (en) Document portion identification in a recorded video
US9542976B2 (en) Synchronizing videos with frame-based metadata using video content
US20190068987A1 (en) Systems and Methods for Embedding Metadata into Video Contents
WO2021225472A2 (en) Joint objects image signal processing in temporal domain
CN112435244A (en) Live video quality evaluation method and device, computer equipment and storage medium
US11611773B2 (en) System of video steganalysis and a method for the detection of covert communications
JP2012203823A (en) Image recognition device
WO2023056896A1 (en) Definition determination method and apparatus, and device
US20210092403A1 (en) Object manipulation video conference compression
US10282633B2 (en) Cross-asset media analysis and processing
Le Moan et al. Towards exploiting change blindness for image processing
US11893791B2 (en) Pre-processing image frames based on camera statistics
CN110619362A (en) Video content comparison method and device based on perception and aberration

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: 18805374

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18805374

Country of ref document: EP

Kind code of ref document: A1