A control method and system for automatic switching of conference room lenses

By using the SSD algorithm and HMM for target recognition and action monitoring in video and telephone conferences, automatic lens switching solves the problem of insufficient real-time and accuracy of lens control in the existing technology, and achieves fast and accurate lens switching and video recording efficiency. improvement.

CN114727043BActive Publication Date: 2024-09-06INFORMATION COMM COMPANY STATE GRID SHANDONG ELECTRIC POWER +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210223676.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-03-07
Publication Date
2024-09-06
Estimated Expiration
2042-03-07

AI Technical Summary

Technical Problem

Existing lens control methods have poor real-time performance and accuracy in video and telephone conferences, and cannot detect and switch abnormal situations in time, such as the position of the leader and the speaker's seat shifting or abnormal behavior.

Method used

The SSD algorithm is used to identify target objects in images, combined with HMM for human action recognition, and automatic monitoring and switching of lenses improves the real-time and accuracy of lens switching.

Benefits of technology

It achieves fast and accurate lens switching, avoids the recording and transmission of abnormal images, reduces operation and maintenance costs, and improves the efficiency of video recording at the venue.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114727043B
    Figure CN114727043B
Patent Text Reader

Abstract

The present disclosure proposes a control method and system for automatic switching of lenses in a conference room, comprising the following steps: obtaining a frame image of the current lens of the conference room; using an SSD algorithm to identify the target object in the image, performing human action recognition on the identified target object based on HMM, and identifying whether there is an abnormality based on the position and action of the target object; switching the current lens when an abnormality occurs. The present disclosure can realize automatic real-time monitoring of abnormal situations of the close-up shots of leaders speaking on the rostrum of the main venue, and issue a reminder to switch lenses, thereby improving the real-time and accuracy of the venue lens switching.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the technical field related to video communication, and in particular to a control method and system for automatic switching of conference room lenses. Background Art

[0002] The statements in this section merely provide background information related to the present disclosure and do not necessarily constitute prior art.

[0003] According to the shooting and specification requirements of the main venue of the video conference, during the speech of the leader on the rostrum, the backstage director needs to cut the camera to the rostrum and ensure that the leader and the speaker are centered in the picture, and there are no abnormal situations such as people blocking the view. Regarding the layout and check-in operation requirements of the important video conference venue, the close-up shot of the rostrum needs to ensure that the speaker and the speaker are centered and have a high area share in the picture to reflect the professionalism, standardization and prominence of the close-up picture, and ensure that the content of the leader's speech is accurately and efficiently conveyed to each branch venue through the video conference. If the position of the leader and the speaker is offset, or there are abnormal situations such as the leader drinking water, the service staff pouring water, and the leader leaving the seat, it is necessary to detect and switch the camera in time to avoid recording and transmitting abnormal pictures.

[0004] The existing lens control method uses manual observation to control the switching, which has a certain delay and poor real-time performance and accuracy. Summary of the invention

[0005] In order to solve the above problems, the present invention proposes a control method and system for automatic switching of venue lenses, which can automatically monitor abnormal situations in real time for close-up shots of leaders speaking on the rostrum at the main venue, and issue a lens switching reminder, thereby improving the real-time and accuracy of venue lens switching.

[0006] In order to achieve the above objectives, the present disclosure adopts the following technical solutions:

[0007] In a first aspect of the present disclosure, a method for controlling automatic switching of conference room lenses is provided, comprising the following steps:

[0008] Get the frame image of the current lens in the venue;

[0009] The SSD algorithm is used to identify the target object in the image, and the human action recognition is performed on the identified target object based on HMM. Whether there is any abnormality is determined based on the position and action of the target object;

[0010] Switch the current lens when an abnormal situation occurs.

[0011] A second aspect of the present disclosure provides a control system for automatic switching of conference room lenses, comprising:

[0012] An acquisition module is configured to acquire a frame image of a current shot of the venue;

[0013] The abnormal situation detection module is configured to use the SSD algorithm to identify the target object in the image, perform human action recognition on the identified target object based on the HMM, and identify whether there is an abnormal situation according to the position and action of the target object;

[0014] The switching control module is configured to switch the current lens when an abnormal situation occurs.

[0015] According to a third aspect of the present disclosure, an electronic device is provided, comprising a memory and a processor, and computer instructions stored in the memory and executed on the processor, wherein when the computer instructions are executed by the processor, the steps described in the above method are completed.

[0016] According to a fourth aspect of the present disclosure, a computer-readable storage medium is provided for storing computer instructions, and when the computer instructions are executed by a processor, the steps described in the above method are completed.

[0017] Compared with the prior art, the present invention has the following beneficial effects:

[0018] In this disclosure, the SSD algorithm is integrated with the HMM-based personnel action recognition algorithm, which improves the real-time and accuracy of abnormal situation detection and can achieve fast and accurate lens switching control. It is recommended to avoid the transmission and recording of abnormal images and reduce operation and maintenance costs.

[0019] The advantages of the present disclosure and the advantages of additional aspects will be described in detail in the following specific embodiments. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] The accompanying drawings constituting a part of the present disclosure are used to provide a further understanding of the present disclosure. The exemplary embodiments of the present disclosure and the description thereof are used to explain the present disclosure but do not constitute a limitation of the present disclosure.

[0021] Figure 1 is a flow chart of the control method of Embodiment 1 of the present disclosure;

[0022] Figure 2 is a flow chart of speaker and speech seat position detection in Embodiment 1 of the present disclosure;

[0023] Figure 3 is the SSD algorithm network model of Embodiment 1 of the present disclosure;

[0024] Figure 4 Schematic diagram of a plurality of prior frames of different scales of the SSD algorithm of Embodiment 1 of the present disclosure;

[0025] Figure 5 is a flow chart of evasive behavior detection in Embodiment 1 of the present disclosure;

[0026] Figure 6 is a flowchart of atomic action recognition of Embodiment 1 of the present disclosure;

[0027] Figure 7 is a flow chart of sequential action recognition of embodiment 1 of the present disclosure;

[0028] Figure 8 This is a flow chart of the frame skipping algorithm of Embodiment 1 of the present disclosure. DETAILED DESCRIPTION

[0029] The present disclosure is further described below in conjunction with the accompanying drawings and embodiments.

[0030] It should be noted that the following detailed descriptions are exemplary and are intended to provide further explanation of the present disclosure. Unless otherwise specified, all technical and scientific terms used herein have the same meanings as those commonly understood by those skilled in the art to which the present disclosure belongs.

[0031] It should be noted that the terms used here are only for describing specific embodiments and are not intended to limit exemplary embodiments according to the present disclosure. As used herein, unless the context clearly indicates otherwise, the singular form is also intended to include the plural form. In addition, it should be understood that when the terms "comprising" and / or "including" are used in this specification, it indicates the presence of features, steps, operations, devices, components and / or combinations thereof. It should be noted that, in the absence of conflict, the various embodiments in the present disclosure and the features in the embodiments can be combined with each other. The embodiments will be described in detail below in conjunction with the accompanying drawings.

[0032] Example 1

[0033] In the technical solutions disclosed in one or more embodiments, Figure 1-8 As shown, a method for controlling automatic switching of conference room lenses comprises the following steps:

[0034] Step 1: Obtain the frame image of the current lens of the venue;

[0035] Step 2: Use the SSD algorithm to integrate the HMM-based personnel action recognition algorithm to identify whether there is an abnormal situation;

[0036] The fusion method is as follows: the SSD algorithm is used to identify the target object in the image, the human action recognition is performed on the identified target object based on the HMM, and whether there is any abnormality according to the position and action of the target object;

[0037] Step 3: Switch the current lens when an abnormal situation occurs.

[0038] In this embodiment, the SSD algorithm is integrated with the HMM-based personnel action recognition algorithm, which improves the real-time and accuracy of abnormal situation detection, can achieve fast and accurate lens switching control, avoid the recording and transmission of abnormal images, and improve the efficiency of venue video recording.

[0039] In some embodiments, abnormal situations may include abnormal speaker position, abnormal speaking seat position, and avoidance behavior.

[0040] Optionally, the picture frame image of the current lens of the venue is specifically a close-up picture frame image of the rostrum.

[0041] In step 2, the SSD algorithm is integrated with the HMM-based personnel action recognition algorithm to identify whether there are any abnormal situations. Specifically, the SSD algorithm is used to detect the speaker position and the speaking seat position in the abnormal situation to determine whether they deviate from the set position.

[0042] Among them, the SSD algorithm is a target detection algorithm that uses a single deep neural network. The recognition speed and performance have been significantly improved, and the detection effect of small targets in the scene has been effectively improved.

[0043] Optional, such as Figure 2 As shown, the method for detecting the speaker position and the speaker seat position using the SSD algorithm includes the following steps:

[0044] Step 21, obtaining a close-up frame image of the spokesperson on the rostrum;

[0045] Step 22: Set the relevant initial parameters of the SSD algorithm and load the SSD algorithm network model;

[0046] Step 23: input the frame image into the SSD algorithm network model, execute the SSD algorithm, perform target detection on the frame image, and select target objects labeled "person" and "desk" from all detected targets, which correspond to the detected speaker and the speaking seat respectively;

[0047] Step 24: Calculate the coordinate position ratios of the speaker and the speaker's seat corresponding to the detection frame to determine whether the positions of the speaker and the speaker's seat meet the requirements.

[0048] In this embodiment, the SSD algorithm network model is as follows: Figure 3 As shown in the figure, the SSD algorithm network model includes a convolutional neural network, multiple convolutional layers of different scales, a classification module and a maximum suppression module. The convolutional neural network and multiple convolutional layers of different scales are respectively connected to the classification module. The classification module classifies and regresses the candidate boxes identified after convolution. After classifying and regressing each candidate box step by step, the maximum suppression module performs non-maximum suppression operations to obtain the target detection results.

[0049] Convolutional layers of different scales obtain feature maps of different sizes. By performing regression analysis on candidate boxes of different sizes on different feature maps, better target detection results can be obtained. Convolution operations are used for detection. The SSD algorithm directly uses convolution operations to extract detection results from feature maps of different scales. For feature maps of scale m×n×p, only a convolution kernel of size 3×3×p is needed for extraction. Figure 4 As shown in the figure, multiple prior boxes of different scales are predicted for each target unit as a benchmark for predicting the bounding box, which reduces the difficulty of training the SSD algorithm network model to a certain extent.

[0050] In step 2, the SSD algorithm is integrated with the HMM-based personnel action recognition algorithm to identify whether there are any abnormal situations. For the detection of avoidance behavior in abnormal situations, the SSD algorithm is used to detect the number of people in the shot. When the number of people is within the set range, such as there is only one speaker, the HMM-based personnel action recognition algorithm obtains the time-series action of the current person and determines whether there is avoidance behavior in the current picture.

[0051] Avoidance behaviors include the spokesperson drinking water, the spokesperson leaving the seat, people other than the spokesperson entering the camera, other people such as waiters pouring water, etc. When relevant avoidance behaviors appear in the picture, the director needs to cut away the camera in time until the avoidance behavior disappears.

[0052] It is necessary to detect the number of people in the picture and the behavior of the leaders, and then determine whether there is any evasive behavior, and use audio equipment to promptly remind the operation and maintenance personnel.

[0053] In this embodiment, the SSD algorithm is integrated with the HMM-based personnel action recognition algorithm to detect whether there is an evasive action method, such as Figure 5 As shown, the following steps are included:

[0054] Step 2-1 obtains a frame image of a close-up of a leader's speech on the rostrum obtained by a frame skipping acquisition algorithm;

[0055] To ensure smoothness of the picture, the frame rate of the video stream needs to be no less than 20 frames per second. If every frame of the video stream is detected, it will not only generate a high load on the hardware, but also affect the real-time and accuracy of the detection. Therefore, this embodiment chooses to skip frames to capture the video stream, while reducing the program calculation amount and resource usage, while meeting the real-time, reliability and accuracy of the detection results.

[0056] The specific frame skipping acquisition algorithm is as follows: for the acquired video stream, a frame of image is read at a fixed time interval, and the black edge is removed for subsequent detection algorithms. Figure 8This is the frame skipping acquisition algorithm processing flow chart.

[0057] Step 2-2 sets the relevant initial parameters of the SSD algorithm and loads the SSD algorithm network model;

[0058] Step 2-3: Input the frame image in step 2-1 into the SSD algorithm network model, execute the SSD algorithm, perform target detection on the frame image, and select the target object labeled "person" from all detected targets, corresponding to the detected person in the frame;

[0059] Step 2-4 determines whether the number of detected target objects is the set number. If so, execute the next step. Otherwise, determine that there is an abnormal situation in which the number of people in the current screen is abnormal.

[0060] In this embodiment, the number is set to 1. When it is 0 or greater than 1, it is determined that the number of people is abnormal, which may be that the speaker has left the speaking seat or that a service staff has entered the camera.

[0061] Step 2-5 obtains the time sequence action of the current person based on the HMM-based personnel action recognition algorithm. If the time sequence action belongs to the preset abnormal time sequence action set, it is determined that there is an avoidance behavior, otherwise it is determined that there is no avoidance behavior in the current picture.

[0062] In this embodiment, considering that the program needs to perform target detection and personnel behavior detection at the same time, this research scheme uses the SSD algorithm to detect the number of people and judge whether there are evasive behaviors such as leaders leaving their seats and waiters pouring water; at the same time, the personnel action recognition algorithm based on HMM (Hidden Markov Model) is selected to accurately judge evasive actions such as leaders drinking water. This improves the accuracy of detection.

[0063] Among them, HMM (Hidden Markov Model, translated as hidden Markov model).

[0064] The HMM-based personnel action recognition algorithm is a real-time single-target action recognition algorithm. It is trained using video data shot at the venue to achieve real-time detection and recognition of leadership actions in the rostrum. The algorithm includes three steps: atomic action recognition, sequential action HMM training, and sequential action recognition, as follows:

[0065] Among them, atomic action recognition, such as Figure 7 As shown, the following steps are included:

[0066] Step A1: Input the frame image into the OpenPose network, identify the human skeleton, and determine the coordinates of the joint points (x c,t ,y c,t ), calculate the joint angle Θt ;

[0067] Step A2: Perform atomic action recognition according to the judgment criteria of each atomic action to obtain the atomic action number O corresponding to the frame image. t , obtain the atomic action number sequence O of consecutive T frame images = (o1, o2, ..., o T );

[0068] Atomic actions correspond to human actions, and each atomic action corresponds to an atomic action number.

[0069] Specifically, each type of sequential action contains J sets of video data, and the corresponding atomic action number sequence is used as training data. The Baum-Welch algorithm is used to perform HMM modeling on the sequential action to obtain the HMM parameter λ of each type of sequential action. k .

[0070] Among them, the recognition of sequential actions, optionally, obtains the video frame data to be detected from the video stream to be tested, and obtains the atomic action number sequence through atomic action recognition. * =(o1, o2, ..., o T ). Reference the HMM corresponding to the trained sequential action, and calculate the atomic action number sequence o according to the forward algorithm. * The posterior probability log P{o * |λ k}, and use the maximum a posteriori probability criterion to identify the temporal actions corresponding to the video data, such as Figure 8 shown.

[0071] In step 3, when evasive behavior occurs or the above position is abnormal, the on-site camera is adjusted and switched to other cameras in the venue. It can be run in real time. When the abnormal picture ends, it will automatically identify and remind the operation and maintenance personnel to switch back to the close-up picture. When it appears, it will guide the switch, and when it does not appear, it will automatically maintain. When the abnormal picture ends, it will guide the switch back.

[0072] A specific example is that there are two cameras on site, which are connected to the video matrix. Camera 1 is responsible for close-up shooting. When the position of the speaker or speaker is abnormal, it can be fine-tuned. Camera 2 is responsible for panoramic shooting, and its position is fixed. When evasive behavior occurs, it will automatically switch from camera 1 to camera 2. When the evasive behavior disappears, it will switch back to camera 1 from camera 2. When there are multiple cameras on site, you can switch to any other non-close-up camera.

[0073] Example 2

[0074] Based on Embodiment 1, this embodiment provides a control system for automatic switching of conference room lenses, including:

[0075] An acquisition module is configured to acquire a frame image of a current shot of the venue;

[0076] The abnormal situation detection module is configured to use the SSD algorithm to identify the target object in the image, perform human action recognition on the identified target object based on the HMM, and identify whether there is an abnormal situation according to the position and action of the target object;

[0077] The switching control module is configured to switch the current lens when an abnormal situation occurs.

[0078] Example 3

[0079] This embodiment provides an electronic device, including a memory and a processor, and computer instructions stored in the memory and running on the processor. When the computer instructions are run by the processor, the steps described in the method of Embodiment 1 are completed.

[0080] Example 4

[0081] This embodiment provides a computer-readable storage medium for storing computer instructions. When the computer instructions are executed by a processor, the steps described in the method of Embodiment 1 are completed.

[0082] The above description is only a preferred embodiment of the present disclosure and is not intended to limit the present disclosure. For those skilled in the art, the present disclosure may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present disclosure shall be included in the protection scope of the present disclosure.

[0083] Although the above describes the specific implementation methods of the present disclosure in conjunction with the accompanying drawings, it is not intended to limit the scope of protection of the present disclosure. Technical personnel in the relevant field should understand that on the basis of the technical solution of the present disclosure, various modifications or variations that can be made by those skilled in the art without creative work are still within the scope of protection of the present disclosure.

Claims

1. A method for controlling automatic switching of conference room lenses, characterized in that: The steps include: Get the frame image of the current lens in the venue; The SSD algorithm is used to identify the target object in the image, and the human action recognition is performed on the identified target object based on the HMM. Whether there is any abnormality is determined based on the position and action of the target object; The SSD algorithm is used to detect the speaker position and the speaker seat position in abnormal situations to determine whether they deviate from the set position; The method for detecting the speaker position and the speaker seat position using the SSD algorithm includes the following steps: The acquired close-up frame image of the spokesperson on the rostrum; Set the relevant initial parameters of the SSD algorithm and load the SSD algorithm network model; Input the frame image into the SSD algorithm network model, execute the SSD algorithm, perform target detection on the frame image, and select the target objects with labels corresponding to the detected speakers and the speaking seats from all detected targets; Calculate the coordinate position ratio of the speaker and the speaker seat corresponding to the detection frame to determine whether the positions of the speaker and the speaker seat meet the requirements; To detect avoidance behaviors in abnormal situations, the SSD algorithm is integrated with the HMM-based personnel action recognition algorithm. Specifically, the SSD algorithm is used to detect the number of people in the shot. When the number of people is within the set range, the HMM-based personnel action recognition algorithm obtains the time sequence actions of the current person and determines whether there is avoidance behavior in the current picture. The method for detecting the number of people in a shot using the SSD algorithm includes the following steps: Acquire a frame image of a close-up of a leader's speech on the rostrum obtained through a frame skipping acquisition algorithm; Set the relevant initial parameters of the SSD algorithm and load the SSD algorithm network model; Input the frame image into the SSD algorithm network model, execute the SSD algorithm, perform target detection on the frame image, and obtain the target object corresponding to the person; Determine whether the number of detected target objects is the set number. If so, determine whether the action of the person in the shot is an evasive action based on the HMM-based personnel action recognition algorithm; otherwise, determine that there is an abnormal situation in which the number of people in the current picture is abnormal; Alternatively, the HMM-based human action recognition algorithm determines whether the human action in the shot is an evasive action, including the following steps: Obtaining the video frame data to be detected from the video stream to be detected, and obtaining the atomic action number sequence through atomic action recognition; According to the HMM corresponding to the trained sequential actions, the posterior probability of the atomic action number sequence under each HMM is calculated according to the forward algorithm; The maximum a posteriori probability criterion is used to identify the temporal action corresponding to the video data to be detected; When an abnormal situation occurs, switch the current lens.

2. A method for controlling automatic switching of conference room lenses as claimed in claim 1, characterized in that: Abnormal situations include abnormal speaker positions, abnormal speaker booth positions, and evasive behavior; Alternatively, evasive behaviors include the spokesperson drinking water, the spokesperson leaving the seat, and persons other than the spokesperson entering the camera.

3. A method for controlling automatic switching of conference room lenses as claimed in claim 1, characterized in that: The SSD algorithm network model includes a convolutional neural network, multiple convolutional layers of different scales, a classification module and a maximum suppression module; the convolutional neural network and multiple convolutional layers of different scales are respectively connected to the classification module, the classification module classifies and regresses the candidate boxes identified after convolution, and after classifying and regressing each candidate box step by step, the maximum suppression module performs non-maximum suppression operations.

4. A control system for automatic switching of conference room lenses based on the method according to any one of claims 1 to 3, characterized in that: include: An acquisition module is configured to acquire a frame image of a current shot of the venue; The abnormal situation detection module is configured to use the SSD algorithm to identify the target object in the image, perform human action recognition on the identified target object based on the HMM, and identify whether there is an abnormal situation according to the position and action of the target object; The switching control module is configured to switch the current lens when an abnormal situation occurs.

5. An electronic device, characterized in that: The method comprises a memory and a processor and computer instructions stored in the memory and executed on the processor, wherein when the computer instructions are executed by the processor, the steps described in any one of the methods of claims 1 to 3 are completed.

6. A computer-readable storage medium, characterized in that: Used to store computer instructions, which, when executed by a processor, complete the steps described in any one of the methods of claims 1 to 3.