A region management and control apparatus, comprising:
- a processor;
- a memory in communication with the processor;
- and
- at least one program stored in the memory and configured to be executed by the processor;
- wherein the at least one program is configured to implement:
- obtaining a current image in a video image and a target region graphic included in the current image;
- determining whether a person graphic in the current image and the target region graphic meet a predetermined condition;
- and
- sending alarm information in response to the person graphic in the current image and the target region graphic meeting the predetermined condition;
- wherein the predetermined condition includes at least one of:
- a space condition, a person identity condition, a time condition, a person protection condition, a person number condition or a person body temperature condition;
- wherein the processor executes the at least one program to implement:
- determining person identity information of the person graphic in the current image;
- in a case that there is an intersection between the person graphic and the target region graphic, determining, according to the person identity information corresponding to the person graphic, whether preset persons allowed to enter the target region include a person corresponding to the person graphic;
- and
- determining that the person graphic in the current image and the target region graphic meet the person identity condition, in response to that the preset persons do not include the person corresponding to the person graphic;
- wherein the processor executes the at least one program to implement:
- setting a number for the person corresponding to the person graphic appearing in the video image, and tracking the person graphic of the person in the video image according to the number of the person;
- and
- in a case that front face information appears in the person graphic in the current image, obtaining the front face information, and determining, according to the front face information, the person identity information corresponding to the person graphic in the current image, and binding the person identity information to the number of the person;
- wherein when determining, according to the person identity information corresponding to the person graphic, whether preset persons allowed to enter the target region include a person corresponding to the person graphic, the processor executes the at least one program to implement:
- in a case that the person graphic intersects with the target region graphic, according to the number of the person corresponding to the person graphic, determining the person identity information corresponding the person graphic;
- and
- according to the person identity information and identity information of the preset persons, determining whether the preset persons allowed to enter the target region include the person corresponding to the person graphic;
- wherein when determining that the person graphic in the current image and the target region graphic meet the person identity condition, in response to that the preset persons do not include the person corresponding to the person graphic, the processor executes the at least one program to implement:
- in response to that the person identity information is inconsistent with the identity information of the preset persons, determining that the person graphic in the current image and the target region graphic meet the person identity condition in the predetermined condition;
- wherein when sending alarm information in response to the person graphic in the current image and the target region graphic meeting the predetermined condition, the processor executes the at least one program to implement:
- in response to that the person graphic in the current image and the target region graphic meet the person identity condition in the predetermined condition, sending the alarm information and sending the front face information to a background server.