CN111383376A - Device control method and apparatus, storage medium, and electronic apparatus - Google Patents

Device control method and apparatus, storage medium, and electronic apparatus Download PDF

Info

Publication number
CN111383376A
CN111383376A CN202010231567.5A CN202010231567A CN111383376A CN 111383376 A CN111383376 A CN 111383376A CN 202010231567 A CN202010231567 A CN 202010231567A CN 111383376 A CN111383376 A CN 111383376A
Authority
CN
China
Prior art keywords
target
tracking object
tracking
signal
target area
Prior art date
Legal status (The legal status 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 status listed.)
Granted
Application number
CN202010231567.5A
Other languages
Chinese (zh)
Other versions
CN111383376B (en
Inventor
张英达
方勇军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhejiang Dahua Technology Co Ltd
Original Assignee
Zhejiang Dahua Technology Co Ltd
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 Zhejiang Dahua Technology Co Ltd filed Critical Zhejiang Dahua Technology Co Ltd
Priority to CN202010231567.5A priority Critical patent/CN111383376B/en
Publication of CN111383376A publication Critical patent/CN111383376A/en
Application granted granted Critical
Publication of CN111383376B publication Critical patent/CN111383376B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/20Analysis of motion
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/18Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10016Video; Image sequence
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/30Subject of image; Context of image processing
    • G06T2207/30248Vehicle exterior or interior

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Traffic Control Systems (AREA)

Abstract

The invention provides a device control method and device, a storage medium and an electronic device, wherein the method comprises the following steps: sending a first signal to target equipment under the condition that a first tracking object is determined to be located in a first target area in a target image obtained by video monitoring of the first target area, wherein the first signal is used for triggering the target equipment to execute a first operation; tracking the first tracking object and the second tracking object under the condition that the second tracking object is determined to appear in the first target area; and sending a second signal to the target equipment under the condition that the first tracking object and the second tracking object both exit the first target area, wherein the second signal is used for triggering the target equipment to execute a second operation. By the method and the device, the problem of inaccurate control of the equipment is solved, and the effect of accurately controlling the equipment is achieved.

Description

Device control method and apparatus, storage medium, and electronic apparatus
Technical Field
The invention relates to the field of computers, in particular to a device control method and device, a storage medium and an electronic device.
Background
At present, a commonly used entrance and exit barrier gate system in the market mainly uses a ground induction coil to perform an anti-smashing function, and also uses a laser radar, an ultrasonic radar and the like, and the applied scenes comprise a garden entrance and exit, a parking lot, a community and the like. The barrier gate system does not distinguish the passenger car, so that the phenomenon of mistaken smashing is easily caused in some practical use scenes. For example, when the barrier gate is opened, a person enters the detection area before the vehicle and leaves the detection area, and the barrier gate may mistakenly think that the vehicle has driven away, so that the barrier gate rod falls down in advance, or the vehicle entering behind is hit.
In view of the above technical problems, no effective solution has been proposed in the related art.
Disclosure of Invention
The embodiment of the invention provides a device control method and device, a storage medium and an electronic device, which are used for at least solving the problem of inaccurate control of devices in the related art.
According to an embodiment of the present invention, there is provided an apparatus control method including: sending a first signal to target equipment under the condition that a first tracking object is determined to be located in a first target area in a target image obtained by video monitoring of the first target area, wherein the first signal is used for triggering the target equipment to execute a first operation; under the condition that a second tracking object is determined to appear in the first target area, tracking the first tracking object and the second tracking object, wherein the object types of the first tracking object and the second tracking object are different; and sending a second signal to the target device when the first tracking object and the second tracking object both exit the first target area, wherein the second signal is used for triggering the target device to execute a second operation.
According to another embodiment of the present invention, there is provided an apparatus control device including:
the device comprises a first sending module, a second sending module and a control module, wherein the first sending module is used for sending a first signal to target equipment under the condition that a first tracking object is located in a first target area in a target image obtained by video monitoring of the first target area, and the first signal is used for triggering the target equipment to execute a first operation;
a first tracking module, configured to track the first tracking object and the second tracking object when it is determined that a second tracking object occurs in the first target area, where object types of the first tracking object and the second tracking object are different;
and a second sending module, configured to send a second signal to the target device when the first tracked object and the second tracked object both exit the first target area, where the second signal is used to trigger the target device to perform a second operation.
Optionally, the first sending module includes:
a first recognition unit configured to recognize, in a target image obtained by video-monitoring the first target area by using an imaging apparatus, identification information of the first tracking object when it is recognized that the identification information of the first tracking object is located in the first target area;
a first transmitting unit configured to transmit the first signal to the target device when the first tracking target is identified as a target vehicle from the identification information of the first tracking target.
Optionally, the first tracking module includes:
a second identification unit configured to identify an object type of the second tracking object when the radar device identifies that the second tracking object is present in the first target area;
a first determining unit, configured to mark the second tracked object to obtain identification information of the second tracked object when an object type of the second tracked object belongs to a preset object type;
a first tracking unit configured to track the second tracking target based on identification information of the second tracking target;
the first tracking module includes:
a third recognition unit configured to recognize, in a target image obtained by video-monitoring the first target area by using the image pickup apparatus, the identification information of the first tracking object when recognizing that the identification information of the first tracking object is located in the first target area;
and a second tracking unit configured to track the first tracking object based on the identification information of the first tracking object.
Optionally, the second sending module includes:
and a second transmitting unit configured to transmit a second signal to the target device when the first tracked object and the second tracked object both exit the first target area and the second tracked object is located within a second target area.
Optionally, the apparatus further comprises:
and a third transmitting module, configured to transmit a second signal to the target device after the target device transmits a second signal to the target device when the first tracking object and the second tracking object both exit the first target area, and transmit a third signal to the target device when the target device detects that a third tracking object is present in the first target area during the second operation, where the third signal is used to trigger the target device to stop performing the second operation and to perform the first operation.
Optionally, the apparatus further comprises:
and the control module is used for controlling the target equipment to execute the first operation or the second operation through the terminal equipment under the condition that the target equipment has an abnormality when executing the first signal or the second signal.
According to still another embodiment of the present invention, there is also provided an appliance control system including: the camera equipment is used for carrying out video monitoring on the first target area to obtain a target image; a barrier control board connected to the image pickup apparatus, for sending a first signal to a barrier bar when it is determined from the target image that a first tracking object is located within the first target area, wherein the first signal is used for triggering the barrier bar to perform a first operation; a radar device connected to the barrier control panel, for tracking the first tracking object and the second tracking object when it is determined that a second tracking object is present in the first target area, wherein object types of the first tracking object and the second tracking object are different; the barrier control board is further configured to send a second signal to the barrier bar when the first tracked object and the second tracked object both exit the first target area, where the second signal is used to trigger the barrier bar to perform a second operation.
According to a further embodiment of the present invention, there is also provided a storage medium having a computer program stored therein, wherein the computer program is arranged to perform the steps of any of the above method embodiments when executed.
According to yet another embodiment of the present invention, there is also provided an electronic device, including a memory in which a computer program is stored and a processor configured to execute the computer program to perform the steps in any of the above method embodiments.
According to the invention, under the condition that the first tracking object is determined to be positioned in the first target area in the target image obtained by video monitoring of the first target area, the first signal is sent to the target equipment, wherein the first signal is used for triggering the target equipment to execute the first operation; tracking the first tracking object and the second tracking object under the condition that the second tracking object is determined to appear in the first target area; and sending a second signal to the target equipment under the condition that the first tracking object and the second tracking object both exit the first target area, wherein the second signal is used for triggering the target equipment to execute a second operation. The control of the target device may be determined by a condition that the first tracking object and the second tracking object are in the target area. So as to prevent the damage to the first tracking object and the second tracking object caused by misoperation. Therefore, the problem of inaccurate control of the equipment in the related art can be solved, and the effect of accurately controlling the equipment is achieved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
fig. 1 is a block diagram of a hardware configuration of a mobile terminal of an apparatus control method according to an embodiment of the present invention;
FIG. 2 is a flow chart of a device control method according to an embodiment of the present invention;
FIG. 3 is a block diagram of a barrier device according to an embodiment of the present invention;
FIG. 4 is a schematic illustration of a radar installation according to an embodiment of the present invention;
FIG. 5 is a flow chart of radar control according to an alternative embodiment of the present invention;
fig. 6 is a block diagram of the configuration of the device control apparatus according to the embodiment of the present invention.
Detailed Description
The invention will be described in detail hereinafter with reference to the accompanying drawings in conjunction with embodiments. It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order.
The method provided by the embodiment of the application can be executed in a mobile terminal, a computer terminal or a similar operation device. Taking an example of the present invention running on a mobile terminal, fig. 1 is a block diagram of a hardware structure of the mobile terminal of an apparatus control method according to an embodiment of the present invention. As shown in fig. 1, the mobile terminal may include one or more (only one shown in fig. 1) processors 102 (the processor 102 may include, but is not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA) and a memory 104 for storing data, and optionally may also include a transmission device 106 for communication functions and an input-output device 108. It will be understood by those skilled in the art that the structure shown in fig. 1 is only an illustration, and does not limit the structure of the mobile terminal. For example, the mobile terminal may also include more or fewer components than shown in FIG. 1, or have a different configuration than shown in FIG. 1.
The memory 104 may be used to store computer programs, for example, software programs and modules of application software, such as computer programs corresponding to the device control method in the embodiment of the present invention, and the processor 102 executes various functional applications and data processing by running the computer programs stored in the memory 104, so as to implement the method described above. The memory 104 may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include memory located remotely from the processor 102, which may be connected to the mobile terminal over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission device 106 is used for receiving or transmitting data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider of the mobile terminal. In one example, the transmission device 106 includes a Network adapter (NIC), which can be connected to other Network devices through a base station so as to communicate with the internet. In one example, the transmission device 106 may be a Radio Frequency (RF) module, which is used for communicating with the internet in a wireless manner.
In the present embodiment, a device control method is provided, and fig. 2 is a flowchart of the device control method according to the embodiment of the present invention, as shown in fig. 2, the flowchart includes the following steps:
step S202, under the condition that a first tracking object is determined to be located in a first target area in a target image obtained by video monitoring of the first target area, sending a first signal to target equipment, wherein the first signal is used for triggering the target equipment to execute a first operation;
optionally, the apparatus control method in this embodiment includes, but is not limited to, being applied to a scene of controlling an entrance/exit barrier, for example, a scene entrance/exit, a parking lot, and an entrance/exit barrier at a cell doorway.
Optionally, in this embodiment, the first tracking object includes, but is not limited to, a target vehicle. The first target area includes, but is not limited to, an area around the target device, for example, an area around a doorway gateway of a cell. Identification information of the first tracking object is acquired by an image pickup apparatus (e.g., a camera). For example, when a vehicle is detected to enter, the camera recognizes a license plate, the access judgment is carried out, if the vehicle enters, the barrier gate rod is lifted, and if the vehicle does not enter, the barrier gate is opened after the vehicle is confirmed by a manager.
Step S204, under the condition that a second tracking object appears in the first target area, tracking the first tracking object and the second tracking object, wherein the object types of the first tracking object and the second tracking object are different;
optionally, in this embodiment, the second tracking object includes, but is not limited to, a human, an animal, and the like. For example, when the target vehicle approaches the target device, the target device is turned on, and at this time, if a person passes through the first target area, the person needs to be tracked.
Step S206, when both the first tracking object and the second tracking object exit the first target area, sending a second signal to the target device, where the second signal is used to trigger the target device to perform a second operation.
Optionally, in this embodiment, the second signal includes, but is not limited to, a signal for turning off the target device, for example, when both the target vehicle and the person exit the first target area, the signal for turning off the target device is sent.
Alternatively, the execution subject of the above steps may be a terminal or the like, but is not limited thereto.
Alternatively, for example, in the case where the target device is a barrier, the apparatus for controlling the barrier, as shown in fig. 3, includes the following:
a power supply module: the power supply conversion module is composed of an input power module and a power supply conversion module, converts commercial power into voltage required by each module, and ensures stable work of each module.
A camera: in the embodiment, the camera is used for triggering the barrier gate, when a vehicle is detected to enter, the camera identifies the license plate, the access judgment is carried out, if the vehicle enters, the barrier gate rod is lifted, and if the vehicle does not enter, the barrier gate is opened after the vehicle is confirmed by a manager.
A millimeter wave radar module: this module passes through the millimeter wave radar and discerns in to the detection area, carries out type judgement (people or car) when gathering the target for the first time, and follow-up marks this target, gives a banister control panel a signal of falling down again until leaving the detection area, stops to detect when the banister pole falls down completely. The detection data can be transmitted to the handheld terminal through the built-in WIFI from time to time.
The handheld terminal: and receiving real-time image data from the radar, and when an abnormal condition occurs, operating the radar to provide a gate falling or lifting control signal for the gate control board.
Barrier gate control panel: the controller is responsible for receiving control signals from the camera and the millimeter wave radar and making the response of lifting and falling the gate.
A barrier gate rod: controlled by the barrier control board to perform falling or lifting operation.
Through the steps, under the condition that the first tracking object is determined to be located in the first target area in the target image obtained by video monitoring of the first target area, a first signal is sent to the target equipment, wherein the first signal is used for triggering the target equipment to execute a first operation; tracking the first tracking object and the second tracking object under the condition that the second tracking object is determined to appear in the first target area; and sending a second signal to the target equipment under the condition that the first tracking object and the second tracking object both exit the first target area, wherein the second signal is used for triggering the target equipment to execute a second operation. The control of the target device may be determined by a condition that the first tracking object and the second tracking object are in the target area. So as to prevent the damage to the first tracking object and the second tracking object caused by misoperation. Therefore, the problem of inaccurate control of the equipment in the related art can be solved, and the effect of accurately controlling the equipment is achieved.
In an optional embodiment, in a case that it is determined that the first tracking object is located in the first target region in a target image obtained by video monitoring of the first target region, sending a first signal to the target device includes:
s1, identifying the identification information of the first tracking object when the identification information of the first tracking object is identified to be located in the first target area in the target image obtained by video monitoring of the first target area by the camera equipment;
s2, in a case where it is recognized from the identification information of the first tracked object that the first tracked object is the target vehicle, a first signal is transmitted to the target device.
Alternatively, in the present embodiment, the image pickup apparatus includes, but is not limited to, a camera, and the identification information of the first tracking object includes, but is not limited to, information for identifying the first tracking object, for example, in a case where the first tracking object is a target vehicle, the identification information may be a license plate number of the target vehicle.
By the embodiment, the identification information of the first tracking object is acquired by the camera device, and the operation of the target device can be accurately controlled by using the identification information.
In an alternative embodiment, tracking the first tracked object in the event that it is determined that the second tracked object is present within the first target region comprises:
s1, identifying the object type of a second tracking object when the radar equipment is used for identifying the second tracking object in the first target area;
s2, under the condition that the object type of the second tracking object belongs to the preset object type, marking the second tracking object to obtain the identification information of the second tracking object;
s3, tracking the second tracked object based on the identification information of the second tracked object;
optionally, in this embodiment, the radar device includes, but is not limited to, a millimeter wave radar, an installation schematic diagram of the radar device is shown in fig. 4, and a control manner of the radar device is shown in fig. 5, and the method includes the following steps:
s501: controlling the system of the barrier gate to be electrified and start working;
s502: the camera captures that a vehicle enters and starts to recognize the license plate;
s503: the camera judges whether the vehicle is allowed to drive in;
s504: if the license plate passes the identification, a brake opening signal is output to the barrier control panel; otherwise, not opening the brake;
s505: if the manual confirmation is passed, the barrier gate can be opened through the handheld terminal;
s506: after the barrier gate system is started, the millimeter wave radar starts to work to distinguish people from vehicles for the target object in front of the surface, and marks and tracks the target object;
s507: after the first marking, the marking is not carried out again, so that errors in subsequent people and vehicles are prevented;
s508: after the gate is opened, if the fact that a person passes through the gate is detected, the millimeter wave radar does not send out a gate falling signal after the person leaves, and when the fact that a vehicle enters a smashing prevention area is detected, the gate rod is kept lifted;
s509: when the fact that the vehicle completely drives away is detected, a gate falling signal is given to the barrier gate control panel, when a barrier gate rod falls, the radar continuously detects whether an object passes through an anti-smashing area, and a rod lifting signal is given to the barrier gate control panel when a target is detected;
s510: and after the barrier gate rod is completely dropped, stopping the radar and waiting for next lifting of the barrier gate.
In the event that it is determined that a second tracked object is present within the first target region, tracking the second tracked object, including:
s1, identifying the identification information of the first tracking object when the identification information of the first tracking object is identified to be located in the first target area in the target image obtained by video monitoring of the first target area by the camera equipment;
s2, the first tracked object is tracked based on the identification information of the first tracked object.
Through the embodiment, the first tracking object and the second tracking object are tracked, so that the target device can be accurately controlled to be turned on and off, and the safety of the tracking object is ensured.
In an optional embodiment, in a case where both the first tracking object and the second tracking object exit the first target area, sending a second signal to the target device includes:
s1, when both the first tracking object and the second tracking object exit the first target area and the second tracking object is located within the second target area, a second signal is sent to the target device.
Optionally, in this embodiment, the second target area includes, but is not limited to, an area in which the target device does not fall.
In an optional embodiment, after the sending the second signal to the target device in a case where both the first tracking object and the second tracking object exit the first target area, the method further includes:
and S1, in the process that the target device executes the second operation, sending a third signal to the target device when the radar device detects that a third tracking object appears in the first target area, wherein the third signal is used for triggering the target device to stop executing the second operation and executing the first operation.
Optionally, in this embodiment, for example, in a scene of a cell, after a barrier gate is opened, a target vehicle drives away, at this time, a person passes through the barrier gate, if the barrier gate continues to fall, the person may be hit, and at this time, a third signal needs to be given to the target device, that is, the barrier gate is triggered to be lifted again.
Through this embodiment, carry out real-time detection through radar equipment to first target area, can effectual protection tracking object's safety.
In an optional embodiment, in the case that an abnormality occurs while the target device executes the first signal or the second signal, the target device is controlled by the terminal device to execute the first operation or the second operation.
Optionally, in this embodiment, as shown in fig. 3, the apparatus for controlling the target device further includes a terminal device (handheld terminal), so that the accuracy of controlling the target device can be further increased.
In summary, compared with the millimeter wave radar barrier gate which cannot be separated by people and vehicles in the related art, the present embodiment can greatly improve the flexibility of the radar barrier gate when in use, and can deal with more special situations, for example, after a vehicle triggers to open the gate, people pass through and leave the barrier gate area, and then the radar which cannot be distinguished by people and vehicles considers that the vehicle has left, and then the gate falling operation is performed, so that the risk of vehicle crashing is caused. The proposal can be distinguished by people and vehicles, and the occurrence of the situation can be well avoided.
Compared with the prior art that people and vehicles are distinguished when the target enters, the method and the device distinguish the target once, and mark and track the target after distinguishing. Because the present people and vehicles distinguishing algorithm mainly distinguishes through the characteristic quantity to radar echo signal, when the vehicle just got into the detection area, people and vehicles distinguishing accuracy is the highest, but when the vehicle stopped moving, because the radar is to the characteristics of static object discernment, people and vehicles distinguishing accuracy can greatly reduced, easily with static car mistake discernment people. Therefore, in order to increase the identification accuracy of the target in the whole detection area, people and vehicles are distinguished only once when the target just enters the detection area, and then the target is marked and tracked in the whole detection area.
The WIFI module and the handheld terminal which are also used in the embodiment can detect the working condition of the radar at any time, and if the using environment is greatly changed, the configuration of the radar module can be directly modified through corresponding software in the handheld terminal, so that the reliability and the flexibility are greatly improved.
Through the above description of the embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but the former is a better implementation mode in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
In this embodiment, an apparatus control device is further provided, and the apparatus control device is used to implement the foregoing embodiments and preferred embodiments, and the description of the apparatus control device is omitted. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. Although the means described in the embodiments below are preferably implemented in software, an implementation in hardware, or a combination of software and hardware is also possible and contemplated.
Fig. 6 is a block diagram of a configuration of an apparatus control device according to an embodiment of the present invention, as shown in fig. 6, the device including:
the first sending module 62 is configured to send a first signal to the target device when it is determined that the first tracking object is located in the first target area in a target image obtained by video monitoring of the first target area, where the first signal is used to trigger the target device to perform a first operation;
a first tracking module 64 for tracking the first tracking object and the second tracking object in case it is determined that the second tracking object is present within the first target area;
and a second sending module 66, configured to send a second signal to the target device when both the first tracking object and the second tracking object exit the first target area, where the second signal is used to trigger the target device to perform a second operation.
Optionally, the first sending module includes:
a first recognition unit configured to recognize, in a target image obtained by video-monitoring the first target area by using an imaging apparatus, identification information of the first tracking object when it is recognized that the identification information of the first tracking object is located in the first target area;
a first transmitting unit configured to transmit the first signal to the target device when the first tracking target is identified as a target vehicle from the identification information of the first tracking target.
Optionally, the first tracking module includes:
a second identification unit configured to identify an object type of the second tracking object when the radar device identifies that the second tracking object is present in the first target area;
a first determining unit, configured to mark the second tracked object to obtain identification information of the second tracked object when an object type of the second tracked object belongs to a preset object type;
a first tracking unit configured to track the second tracking target based on identification information of the second tracking target;
the first tracking module includes:
a third recognition unit configured to recognize, in a target image obtained by video-monitoring the first target area by using the image pickup apparatus, the identification information of the first tracking object when recognizing that the identification information of the first tracking object is located in the first target area;
and a second tracking unit configured to track the first tracking object based on the identification information of the first tracking object.
Optionally, the second sending module includes:
and a second transmitting unit configured to transmit a second signal to the target device when the first tracked object and the second tracked object both exit the first target area and the second tracked object is located within a second target area.
Optionally, the apparatus further comprises:
and a third transmitting module, configured to transmit a second signal to the target device after the target device transmits a second signal to the target device when the first tracking object and the second tracking object both exit the first target area, and transmit a third signal to the target device when the target device detects that a third tracking object is present in the first target area during the second operation, where the third signal is used to trigger the target device to stop performing the second operation and to perform the first operation.
Optionally, the apparatus further comprises:
and the control module is used for controlling the target equipment to execute the first operation or the second operation through the terminal equipment under the condition that the target equipment has an abnormality when executing the first signal or the second signal.
It should be noted that, the above modules may be implemented by software or hardware, and for the latter, the following may be implemented, but not limited to: the modules are all positioned in the same processor; alternatively, the modules are respectively located in different processors in any combination.
An embodiment of the present invention further provides an apparatus control system, including:
the camera equipment is used for carrying out video monitoring on the first target area to obtain a target image;
the barrier control board is connected with the camera equipment and used for sending a first signal to the barrier bar under the condition that the first tracking object is determined to be located in the first target area from the target image, wherein the first signal is used for triggering the barrier bar to execute a first operation;
the radar equipment is connected with the barrier gate control board and used for tracking a first tracking object and a second tracking object under the condition that the second tracking object appears in the first target area, wherein the object types of the first tracking object and the second tracking object are different;
and the barrier control board is also used for sending a second signal to the barrier bar under the condition that the first tracking object and the second tracking object both exit the first target area, wherein the second signal is used for triggering the barrier bar to execute a second operation.
Optionally, in this embodiment, as shown in fig. 3, the image capturing device in the system includes, but is not limited to, a camera, and the radar device includes, but is not limited to, a millimeter wave radar.
Optionally, the system further comprises a power module: the power supply conversion module is composed of an input power module and a power supply conversion module, converts commercial power into voltage required by each module, and ensures stable work of each module.
The camera is used for triggering the barrier gate, when the fact that a vehicle enters is detected, the camera recognizes a license plate, admission judgment is conducted, if the vehicle enters, the barrier gate rod is lifted, and if the vehicle does not enter, a manager confirms that the barrier gate is opened.
The millimeter wave radar is used for identifying the detection area through the millimeter wave radar, judging the type (people or vehicles) when the target is collected for the first time, subsequently marking the target until the target leaves the detection area, then giving a gate falling signal to the gate control panel, and stopping detection after the gate rod completely falls down. The detection data can be transmitted to the handheld terminal through the built-in WIFI from time to time.
The handheld terminal receives real-time image data from the radar and can operate the radar to give a gate falling or lifting control signal to the gate control board when abnormal conditions occur.
And the barrier gate control board is used for receiving control signals from the camera and the millimeter wave radar and making the response of lifting and falling the gate.
And the barrier gate rod is controlled by the barrier gate control plate to perform falling or lifting operation.
According to the system, under the condition that the first tracking object is determined to be located in the first target area in the target image obtained by video monitoring of the first target area, the first signal is sent to the target equipment, wherein the first signal is used for triggering the target equipment to execute the first operation; tracking the first tracking object and the second tracking object under the condition that the second tracking object is determined to appear in the first target area; and sending a second signal to the target equipment under the condition that the first tracking object and the second tracking object both exit the first target area, wherein the second signal is used for triggering the target equipment to execute a second operation. The control of the target device may be determined by a condition that the first tracking object and the second tracking object are in the target area. So as to prevent the damage to the first tracking object and the second tracking object caused by misoperation. Therefore, the problem of inaccurate control of the equipment in the related art can be solved, and the effect of accurately controlling the equipment is achieved.
Embodiments of the present invention also provide a storage medium having a computer program stored therein, wherein the computer program is arranged to perform the steps of any of the above method embodiments when executed.
Alternatively, in the present embodiment, the storage medium may be configured to store a computer program for executing the steps of:
s1, sending a first signal to the target equipment under the condition that the first tracking object is determined to be located in the first target area in a target image obtained by video monitoring of the first target area, wherein the first signal is used for triggering the target equipment to execute a first operation;
s2, tracking the first tracked object and the second tracked object in a case where it is determined that the second tracked object is present within the first target area;
and S3, sending a second signal to the target device under the condition that the first tracking object and the second tracking object both move out of the first target area, wherein the second signal is used for triggering the target device to execute a second operation.
Optionally, in this embodiment, the storage medium may include, but is not limited to: various media capable of storing computer programs, such as a usb disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk.
Embodiments of the present invention also provide an electronic device comprising a memory having a computer program stored therein and a processor arranged to run the computer program to perform the steps of any of the above method embodiments.
Optionally, the electronic apparatus may further include a transmission device and an input/output device, wherein the transmission device is connected to the processor, and the input/output device is connected to the processor.
Optionally, in this embodiment, the processor may be configured to execute the following steps by a computer program:
s1, sending a first signal to the target equipment under the condition that the first tracking object is determined to be located in the first target area in a target image obtained by video monitoring of the first target area, wherein the first signal is used for triggering the target equipment to execute a first operation;
s2, tracking the first tracked object and the second tracked object in a case where it is determined that the second tracked object is present within the first target area;
and S3, sending a second signal to the target device under the condition that the first tracking object and the second tracking object both move out of the first target area, wherein the second signal is used for triggering the target device to execute a second operation.
Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments and optional implementation manners, and this embodiment is not described herein again.
It will be apparent to those skilled in the art that the modules or steps of the present invention described above may be implemented by a general purpose computing device, they may be centralized on a single computing device or distributed across a network of multiple computing devices, and alternatively, they may be implemented by program code executable by a computing device, such that they may be stored in a storage device and executed by a computing device, and in some cases, the steps shown or described may be performed in an order different than that described herein, or they may be separately fabricated into individual integrated circuit modules, or multiple ones of them may be fabricated into a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the principle of the present invention should be included in the protection scope of the present invention.

Claims (10)

1. An apparatus control method characterized by comprising:
sending a first signal to target equipment under the condition that a first tracking object is determined to be located in a first target area in a target image obtained by video monitoring of the first target area, wherein the first signal is used for triggering the target equipment to execute a first operation;
under the condition that a second tracking object is determined to appear in the first target area, tracking the first tracking object and the second tracking object, wherein the object types of the first tracking object and the second tracking object are different;
and sending a second signal to the target device under the condition that the first tracking object and the second tracking object both exit the first target area, wherein the second signal is used for triggering the target device to execute a second operation.
2. The method of claim 1, wherein sending a first signal to a target device if a first tracking object is determined to be located within a first target area in a target image obtained by video-monitoring the first target area comprises:
identifying the identification information of the first tracking object when the identification information of the first tracking object is identified to be located in the first target area in a target image obtained by video monitoring of the first target area by using camera equipment;
transmitting the first signal to the target device in a case where it is recognized from the identification information of the first tracking object that the first tracking object is a target vehicle.
3. The method of claim 1,
in the event that it is determined that a second tracked object is present within the first target region, tracking the first tracked object, including:
identifying the object type of the second tracking object under the condition that the radar equipment identifies that the second tracking object appears in the first target area;
under the condition that the object type of the second tracking object belongs to a preset object type, marking the second tracking object to obtain the identification information of the second tracking object;
tracking the second tracking object based on the identification information of the second tracking object;
in the event that it is determined that a second tracked object is present within the first target region, tracking the second tracked object, including:
identifying the identification information of the first tracking object when the identification information of the first tracking object is identified to be located in the first target area in a target image obtained by video monitoring of the first target area by using camera equipment;
tracking the first tracking object based on the identification information of the first tracking object.
4. The method of claim 1, wherein sending a second signal to the target device in the event that both the first tracked object and the second tracked object exit the first target region comprises:
and sending a second signal to the target device under the condition that the first tracking object and the second tracking object both move out of the first target area and the second tracking object is located in a second target area.
5. The method according to claim 1, wherein after transmitting a second signal to the target device in a case where both the first tracking object and the second tracking object exit the first target area, the method further comprises:
and in the process that the target device executes the second operation, sending a third signal to the target device when the radar device detects that a third tracking object appears in the first target area, wherein the third signal is used for triggering the target device to stop executing the second operation and executing the first operation.
6. The method of claim 1, further comprising:
and under the condition that abnormality occurs when the target equipment executes the first signal or the second signal, controlling the target equipment to execute the first operation or the second operation through terminal equipment.
7. An apparatus control device, characterized by comprising:
the device comprises a first sending module, a second sending module and a first tracking module, wherein the first sending module is used for sending a first signal to target equipment under the condition that a first tracking object is located in a first target area in a target image obtained by video monitoring of the first target area, and the first signal is used for triggering the target equipment to execute a first operation;
a first tracking module, configured to track a first tracking object and a second tracking object when it is determined that the second tracking object appears in the first target region, where object types of the first tracking object and the second tracking object are different;
and a second sending module, configured to send a second signal to the target device when both the first tracking object and the second tracking object exit the first target area, where the second signal is used to trigger the target device to perform a second operation.
8. An appliance control system, comprising:
the camera equipment is used for carrying out video monitoring on the first target area to obtain a target image;
the barrier control board is connected with the camera equipment and used for sending a first signal to a barrier rod under the condition that a first tracking object is determined to be located in the first target area from the target image, wherein the first signal is used for triggering the barrier rod to execute a first operation;
the radar equipment is connected with the barrier gate control board and used for tracking the first tracking object and the second tracking object under the condition that the second tracking object appears in the first target area, wherein the object types of the first tracking object and the second tracking object are different;
the barrier control board is further configured to send a second signal to the barrier bar when the first tracked object and the second tracked object both exit the first target area, where the second signal is used to trigger the barrier bar to perform a second operation.
9. A storage medium, in which a computer program is stored, wherein the computer program is arranged to perform the method of any of claims 1 to 6 when executed.
10. An electronic device comprising a memory and a processor, wherein the memory has stored therein a computer program, and wherein the processor is arranged to execute the computer program to perform the method of any of claims 1 to 6.
CN202010231567.5A 2020-03-27 2020-03-27 Device control method and apparatus, storage medium, and electronic apparatus Active CN111383376B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010231567.5A CN111383376B (en) 2020-03-27 2020-03-27 Device control method and apparatus, storage medium, and electronic apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010231567.5A CN111383376B (en) 2020-03-27 2020-03-27 Device control method and apparatus, storage medium, and electronic apparatus

Publications (2)

Publication Number Publication Date
CN111383376A true CN111383376A (en) 2020-07-07
CN111383376B CN111383376B (en) 2022-06-14

Family

ID=71220057

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010231567.5A Active CN111383376B (en) 2020-03-27 2020-03-27 Device control method and apparatus, storage medium, and electronic apparatus

Country Status (1)

Country Link
CN (1) CN111383376B (en)

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008217690A (en) * 2007-03-07 2008-09-18 Nippon Signal Co Ltd:The Moving object detection method
CN202041836U (en) * 2011-04-14 2011-11-16 深圳市锐为视通科技有限公司 Security robot and system
CN103544753A (en) * 2013-10-11 2014-01-29 深圳市捷顺科技实业股份有限公司 Method and system for barrier gate control
CN104809764A (en) * 2015-05-20 2015-07-29 南京仁通信息技术有限公司 Parking lot management system based on mobile application for identification
CN105469475A (en) * 2015-10-26 2016-04-06 深圳市便易通科技有限公司 Parking lot barrier gate, and monitoring method and system thereof
CN106199589A (en) * 2016-06-24 2016-12-07 芜湖森思泰克智能科技有限公司 The millimetre-wave radar controlled for banister and control method thereof
CN108221758A (en) * 2018-02-05 2018-06-29 北京信息科技大学 It is a kind of based on the anti-intelligent barrier gate system for pounding radar
EP3365698A1 (en) * 2015-10-19 2018-08-29 Valeo Comfort and Driving Assistance Method for evaluating the distance between an identifier and a vehicle, associated electronic unit and identifier
CN109633571A (en) * 2018-12-18 2019-04-16 长沙莫之比智能科技有限公司 A kind of 77GHz millimeter wave gate cracking protection radar signal processing device
CN109932702A (en) * 2019-04-03 2019-06-25 森思泰克河北科技有限公司 Banister control method and banister radar
CN209508933U (en) * 2018-12-10 2019-10-18 佛山市合众诚智能科技有限公司 A kind of banister remote control apparatus
CN209690995U (en) * 2019-01-01 2019-11-26 广东顺安万城物联技术有限公司 A kind of visitor's vehicle management linkage access control system
CN110847087A (en) * 2019-10-22 2020-02-28 北醒(北京)光子科技有限公司 Intelligent barrier gate system

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008217690A (en) * 2007-03-07 2008-09-18 Nippon Signal Co Ltd:The Moving object detection method
CN202041836U (en) * 2011-04-14 2011-11-16 深圳市锐为视通科技有限公司 Security robot and system
CN103544753A (en) * 2013-10-11 2014-01-29 深圳市捷顺科技实业股份有限公司 Method and system for barrier gate control
CN104809764A (en) * 2015-05-20 2015-07-29 南京仁通信息技术有限公司 Parking lot management system based on mobile application for identification
EP3365698A1 (en) * 2015-10-19 2018-08-29 Valeo Comfort and Driving Assistance Method for evaluating the distance between an identifier and a vehicle, associated electronic unit and identifier
CN105469475A (en) * 2015-10-26 2016-04-06 深圳市便易通科技有限公司 Parking lot barrier gate, and monitoring method and system thereof
CN106199589A (en) * 2016-06-24 2016-12-07 芜湖森思泰克智能科技有限公司 The millimetre-wave radar controlled for banister and control method thereof
CN108221758A (en) * 2018-02-05 2018-06-29 北京信息科技大学 It is a kind of based on the anti-intelligent barrier gate system for pounding radar
CN209508933U (en) * 2018-12-10 2019-10-18 佛山市合众诚智能科技有限公司 A kind of banister remote control apparatus
CN109633571A (en) * 2018-12-18 2019-04-16 长沙莫之比智能科技有限公司 A kind of 77GHz millimeter wave gate cracking protection radar signal processing device
CN209690995U (en) * 2019-01-01 2019-11-26 广东顺安万城物联技术有限公司 A kind of visitor's vehicle management linkage access control system
CN109932702A (en) * 2019-04-03 2019-06-25 森思泰克河北科技有限公司 Banister control method and banister radar
CN110847087A (en) * 2019-10-22 2020-02-28 北醒(北京)光子科技有限公司 Intelligent barrier gate system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
杨冠群: "道路收费站车辆检测与道闸控制系统", 《传感器技术》 *

Also Published As

Publication number Publication date
CN111383376B (en) 2022-06-14

Similar Documents

Publication Publication Date Title
US20180291574A1 (en) Vehicle barrier system
EP3296929A1 (en) Method and device for calculating customer traffic volume
WO2007063970A1 (en) Monitor camera system and face image trace recording method
CN107578627A (en) A kind of Roadside Parking management method and system based on RFID
KR101876239B1 (en) Parking system
CN111508235B (en) Invalid vehicle monitoring method, device, equipment and storage medium
CN113038084B (en) State identification method, device and system
CN111882879B (en) Method and system for detecting vehicles in power exchange station, medium and power exchange station
CN111485514A (en) Anti-smashing control method applied to barrier gate, storage medium and detector
US9569646B2 (en) Smart card reader
CN108320359A (en) A kind of city Internet of Things wisdom gate inhibition and safety-protection system
CN111383376B (en) Device control method and apparatus, storage medium, and electronic apparatus
CN112163500A (en) Control device and method, storage medium and electronic device
CN114973573A (en) Target intrusion determination method and device, storage medium and electronic device
EP3232408A1 (en) Dynamic entrance controlling system and dynamic entrance controlling method
CN113450483A (en) Gate control system
WO2023116250A1 (en) Vehicle maintenance method and system
CN114701934B (en) Security control method, device and system for elevator, cloud platform and storage medium
CN111341133B (en) Control method and device for automatic driving vehicle, storage medium and processor
CN116740874A (en) Intrusion detection method and related device
CN113611022A (en) Method for confirming opening of brake in parking lot and related device
CN105791745A (en) Remote image monitoring terminal
CN205247190U (en) Intelligent building control system
CN112580482A (en) Animal monitoring method, terminal and storage medium
CN208421930U (en) vehicle parking management system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant