CN108053525B - Control method based on image processing - Google Patents

Control method based on image processing Download PDF

Info

Publication number
CN108053525B
CN108053525B CN201711277386.0A CN201711277386A CN108053525B CN 108053525 B CN108053525 B CN 108053525B CN 201711277386 A CN201711277386 A CN 201711277386A CN 108053525 B CN108053525 B CN 108053525B
Authority
CN
China
Prior art keywords
signal
filtering
image
receiving
gate
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.)
Active
Application number
CN201711277386.0A
Other languages
Chinese (zh)
Other versions
CN108053525A (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.)
Leon Technology Co ltd
Original Assignee
Leon 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 Leon Technology Co ltd filed Critical Leon Technology Co ltd
Priority to CN201711277386.0A priority Critical patent/CN108053525B/en
Publication of CN108053525A publication Critical patent/CN108053525A/en
Application granted granted Critical
Publication of CN108053525B publication Critical patent/CN108053525B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/20Individual registration on entry or exit involving the use of a pass
    • EFIXED CONSTRUCTIONS
    • E01CONSTRUCTION OF ROADS, RAILWAYS, OR BRIDGES
    • E01FADDITIONAL WORK, SUCH AS EQUIPPING ROADS OR THE CONSTRUCTION OF PLATFORMS, HELICOPTER LANDING STAGES, SIGNS, SNOW FENCES, OR THE LIKE
    • E01F13/00Arrangements for obstructing or restricting traffic, e.g. gates, barricades ; Preventing passage of vehicles of selected category or dimensions
    • E01F13/04Arrangements for obstructing or restricting traffic, e.g. gates, barricades ; Preventing passage of vehicles of selected category or dimensions movable to allow or prevent passage
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V20/00Scenes; Scene-specific elements
    • G06V20/50Context or environment of the image
    • G06V20/52Surveillance or monitoring of activities, e.g. for recognising suspicious objects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/103Static body considered as a whole, e.g. static pedestrian or occupant recognition
    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B7/00Signalling systems according to more than one of groups G08B3/00 - G08B6/00; Personal calling systems according to more than one of groups G08B3/00 - G08B6/00
    • G08B7/06Signalling systems according to more than one of groups G08B3/00 - G08B6/00; Personal calling systems according to more than one of groups G08B3/00 - G08B6/00 using electric transmission, e.g. involving audible and visible signalling through the use of sound and light sources
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2218/00Aspects of pattern recognition specially adapted for signal processing
    • G06F2218/02Preprocessing

Abstract

The invention relates to a control method based on image processing, which comprises the steps of providing and operating a gate automatic control platform based on image processing, wherein the gate automatic control platform comprises a gate switch, a voice alarm device, a light-emitting device, a gate mechanism, a collision detection device and a main control device, the main control device is respectively connected with the gate switch, the voice alarm device, the light-emitting device and the collision detection device, the gate switch is connected with the gate mechanism and used for controlling the opening or closing of the gate mechanism, the collision detection device is arranged on the gate mechanism and used for detecting whether collision behavior exists on the gate mechanism or not, and sending a collision generation signal when the collision behavior exists, otherwise, sending a no-collision signal; and when receiving the collision generating signal, the main control equipment respectively sends out alarm driving signals to the voice alarm equipment and the light-emitting equipment.

Description

Control method based on image processing
The present invention is a divisional application of a patent having an application number of 201710376485.8, an application date of 2017, 5/25/month, and an invention name of "image processing-based control method".
Technical Field
The invention relates to the field of image processing, in particular to a control method based on image processing.
Background
The gate is used as a channel management device, the most essential function is to realize that only one person passes through at a time through blocking and releasing, the application objects are pedestrians (including carried luggage, bicycles and the like), and the application occasions are entrances and exits.
The most common systems matched with the existing gate are an access control system and a ticket business system.
In an access control system, the earliest blocking mode is an electric control door, but the door cannot effectively pass only one person at a time, and the use occasions are limited due to the limitation of the structure and the form; the problem can be solved by using the gate instead, and the gate is particularly suitable to be used as a blocking mechanism of an access control system in buildings or entrances and exits of closed geographic areas. Such as intelligent buildings, government agencies, enterprise parks, communities, factories, prisons and the like.
The relationship between the ticket checking part of the ticket system and the gate is more secret and inseparable, and the gate cannot be opened as long as the ticket is automatically checked in a non-manual mode. The most typical 2 types of applications are rail transit and electronic tickets. The rail transit comprises subways, high-speed railways and the like, and the gate is not considered as an independent product any more, but is classified as a part of an automatic ticket checker; the electronic entrance ticket mainly refers to an entrance automatic ticket checking device used in various occasions for paying to visit the entertainment, and comprises a scenic spot, an amusement park, a stadium, a ski resort, an entertainment venue and the like.
However, the gate control system in the prior art still has certain hidden dangers, and still leaves a ticket evasion space for some people who want to evade tickets, for example, the ticket evasion space is spanned from the upper part of the gate, quickly passes through the gate, and the like, so that certain economic losses are caused to operators corresponding to the gate.
Disclosure of Invention
In order to solve the above problems, the present invention provides a control method based on image processing, which is capable of controlling a gate mechanism to be rapidly opened when receiving a pass-allowing signal and a person passing signal and receiving a closed state sent by a switch state detection device, and is configured to control the gate mechanism to be rapidly closed when receiving an illegal user signal and a person passing signal and receiving an open state sent by the switch state detection device.
According to an aspect of the present invention, there is provided an image processing-based control method, the method including:
1) the gate automatic control platform based on image processing comprises a gate switch, a voice alarm device, a light emitting device, a gate mechanism, a collision detection device and a main control device, wherein the main control device is respectively connected with the gate switch, the voice alarm device, the light emitting device and the collision detection device, the gate switch is connected with the gate mechanism and used for controlling the opening or closing of the gate mechanism, the collision detection device is arranged on the gate mechanism and used for detecting whether a collision behavior exists on the gate mechanism or not, and sends a collision generation signal when the collision behavior exists, otherwise, sends a no-collision signal;
when receiving the collision generating signal, the main control device respectively sends an alarm driving signal to the voice alarm device and the light-emitting device;
2) and operating the automatic control platform.
More specifically, in the image processing-based gate automatic control platform: the collision detection device comprises a pressure sensor and an AT89C51 control chip, wherein the pressure sensor is arranged on the gate mechanism and is used for detecting and outputting the collision force value generated on the gate mechanism;
wherein, AT89C51 control chip with pressure sensor is connected for send the collision and generate the signal when the collision force numerical value received is greater than or equal to the predetermined dynamics threshold value, when the collision force numerical value received is less than the predetermined dynamics threshold value, send no collision signal.
More specifically, in the gate automatic control platform based on image processing, the gate automatic control platform further comprises: and the FLASH storage device is arranged in the gate mechanism, is connected with the AT89C51 control chip of the collision detection device and is used for pre-storing the preset force threshold value.
More specifically, in the gate automatic control platform based on image processing, the gate automatic control platform further comprises: the access authority control device comprises a card slot, an information reading device and an authority analysis device, wherein the card slot is used for a passer to place a passcard, the information reading device is used for reading information on the passcard to obtain passer information, and the authority analysis device is connected with the information reading device and is used for verifying the passer information and sending a passing permission signal when the information passes verification, otherwise, sending an illegal user signal.
More specifically, in the gate automatic control platform based on image processing, the gate automatic control platform further comprises:
the switch state detection device is arranged on the gate mechanism and used for detecting whether the current state of the gate mechanism is an opening state or a closing state;
the image capturing device is arranged in front of the gate switch, has the same distance to the queuing line as the gate switch, and is used for capturing image data of a scene between the queuing line and the gate switch so as to output an intermediate scene image;
the signal analysis equipment is used for receiving the intermediate scene image, and determining the mean square error of the pixel value of the intermediate scene image based on the pixel value of each pixel point of the intermediate scene image to be output as a target mean square error;
the noise analysis equipment is used for receiving the intermediate scene image, carrying out noise analysis on the intermediate scene image to obtain a main noise signal with the maximum noise amplitude and a secondary noise signal with the secondary maximum noise amplitude, and determining the signal-to-noise ratio of the intermediate scene image based on the main noise signal, the secondary noise signal and the intermediate scene image to be output as a target signal-to-noise ratio;
the filtering switching equipment is respectively connected with the signal analysis equipment and the noise analysis equipment and is used for receiving a target mean square error and a target signal-to-noise ratio, sending a first switching signal when the target signal-to-noise ratio is smaller than or equal to a preset signal-to-noise ratio threshold and the target mean square error is larger than or equal to a preset mean square error threshold, sending a second switching signal when the target signal-to-noise ratio is smaller than or equal to the preset signal-to-noise ratio threshold and the target mean square error is smaller than the preset mean square error threshold, sending a third switching signal when the target signal-to-noise ratio is larger than the preset signal-to-noise ratio threshold and the target mean square error is larger than or equal to the preset mean square error threshold, and sending a fourth switching signal;
the Kalman filtering equipment is connected with the filtering switching equipment and is used for carrying out Kalman filtering processing on the intermediate scene image to obtain a target filtering image when receiving the fourth switching signal;
the adaptive wavelet filtering device is connected with the filtering switching device and used for performing adaptive wavelet filtering processing on the intermediate scene image to obtain a wavelet filtering image when receiving the first switching signal and sending the wavelet filtering image to the adaptive median filtering device; the adaptive wavelet filtering module is also used for performing adaptive wavelet filtering processing on the intermediate scene image to directly obtain a target filtering image when receiving a third switching signal;
the self-adaptive median filtering device is connected with the filtering switching device and is used for receiving the wavelet filtering image from the self-adaptive wavelet filtering device when receiving the first switching signal and carrying out self-adaptive median filtering processing on the wavelet filtering image to obtain a target filtering image; the adaptive median filtering processing is also used for carrying out adaptive median filtering processing on the intermediate scene image when a second switching signal is received so as to directly obtain a target filtering image;
the target identification device is respectively connected with the Kalman filtering device, the adaptive wavelet filtering device and the adaptive median filtering device and is used for receiving a target filtering image, identifying a human target on the target filtering image and sending a personnel passing signal when the human target is identified;
the abnormal control equipment is respectively connected with the switch state detection equipment, the target identification equipment and the gate mechanism, is used for controlling the gate mechanism to be quickly opened when receiving the passing permission signal and the personnel passing signal and receiving the closing state sent by the switch state detection equipment, and is used for controlling the gate mechanism to be quickly closed when receiving the illegal user signal and the personnel passing signal and receiving the opening state sent by the switch state detection equipment;
wherein the adaptive median filtering process performed by the adaptive median filtering apparatus includes: aiming at each pixel of a received image, acquiring various corresponding pixel blocks of the pixel by taking the pixel as the center by adopting various filtering windows, determining the gray value variance in each pixel block, selecting the corresponding filtering window with the minimum gray value variance as a target filtering window to perform median filtering on the pixel value of the pixel to obtain the filtering pixel value of the pixel, and acquiring a filtering image output by an adaptive median filtering device based on the filtering pixel values of all the pixels of the received image;
wherein the adaptive wavelet filtering process performed by the adaptive wavelet filtering device includes: performing wavelet decomposition on a received image to obtain four sub-bands of LL, LH, HL and HH, determining the average value of the HH sub-band, calculating the optimal threshold value of wavelet shrinkage based on the average value, and performing wavelet reconstruction on the image based on the optimal threshold value of the wavelet shrinkage to obtain a filtered image output by the adaptive wavelet filtering device;
the gate switch is also connected with the passing authority control equipment and used for controlling the gate mechanism to be opened when the passing permission signal is received and controlling the gate mechanism to be closed when the illegal user signal is received.
More specifically, in the image processing-based gate automatic control platform:
the Kalman filtering equipment enters a working mode from a power saving mode when receiving a fourth switching signal, and enters the power saving mode from the working mode when receiving a first switching signal, a second switching signal or a third switching signal;
the self-adaptive wavelet filtering equipment enters a working mode from a power saving mode when receiving a first switching signal or a third switching signal, and enters the power saving mode from the working mode when receiving a second switching signal or a fourth switching signal;
the self-adaptive median filtering equipment enters the working mode from the power saving mode when receiving the first switching signal or the second switching signal, and enters the power saving mode from the working mode when receiving the third switching signal or the fourth switching signal.
More specifically, in the image processing-based gate automatic control platform: the speed of the gate switch opening the gate mechanism is slower than the speed of the abnormality control device opening the gate mechanism; the speed at which the shutter switch closes the shutter mechanism is slower than the speed at which the abnormality control device closes the shutter mechanism.
More specifically, in the image processing-based gate automatic control platform: the voice alarm equipment comprises a voice playing chip and a dual-channel loudspeaker, wherein the voice playing chip is connected with the dual-channel loudspeaker and is used for playing a corresponding voice alarm file through the dual-channel loudspeaker when the alarm driving signal is received.
More specifically, in the image processing-based gate automatic control platform: and the light-emitting equipment emits red light at a preset light-emitting frequency to alarm when receiving the alarm driving signal.
Drawings
Embodiments of the invention will now be described with reference to the accompanying drawings, in which:
fig. 1 is a block diagram illustrating a structure of a gate autonomous platform based on image processing according to an embodiment of the present invention.
Reference numerals: 1, opening and closing a gate; 2, voice alarm equipment; 3 a light emitting device; 4, a gate mechanism; 5 a collision detecting device; 6 Master control equipment
Detailed Description
Embodiments of the present invention will be described in detail below with reference to the accompanying drawings.
The basic components of the gate comprise a box body, a blocking body, a machine core, a control module and an auxiliary module.
The box body is used for protecting the inner parts such as the movement and the control module and has a supporting function.
The main material of the box body is generally 304 or 316 stainless steel, and the auxiliary material comprises organic glass, toughened glass, resin, stone or wood. The selected materials generally need to be considered firm, beautiful, difficult to deform, scratch-resistant, rust-resistant and corrosion-resistant, and easy to process and fix.
The barrier is used for blocking when the pedestrian is not allowed to pass through, and the barrier can be opened to pass through when the pedestrian is allowed to pass through. Typically in the form of a door or rail.
The material of the barrier body is generally considered to be firm and can bear certain impact force, but the self impact force cannot harm people, the weight is as small as possible, the barrier body is attractive, rust-proof and corrosion-proof, and the barrier body is easy to process and fix and cannot hurt people after being damaged.
The movement is a whole body (comprising a driving motor, a speed reducer and the like) composed of various mechanical parts, and the opening and closing actions of the blocking body are controlled by utilizing a mechanical principle.
The key factors influencing the performance and the service life of the movement comprise the processing technology and the material of mechanical parts, the most important driving motor and the matched speed reducer.
The driving motor is usually a dc brush motor or a dc brushless motor. The direct current brush motor is low in cost and simple in control technology, so that the direct current brush motor is widely adopted by domestic gate manufacturers, but carbon brushes belong to easily-worn parts and need to be regularly maintained and replaced. The brushless DC motor has no carbon brush, no loss and long service life. If the performance and the service life of the movement are expected to be improved, the adoption of the direct current brushless motor with better performance and longer service life is good choice, and particularly, the direct current brushless motor of the first-line European brand cannot achieve the reliability and the durability of the direct current brushless motor of the common motor, but has high cost and complicated control technology.
The control module realizes the control of various electric components and driving motors by utilizing the microprocessor technology.
The microprocessor generally adopts a singlechip, but if a control system is relatively complex or needs to be integrated with a plurality of other systems (including a ticketing system, an access control system and the like), and the requirement on response time is high, an ARM processor or even a Cortex processor with higher performance needs to be adopted.
The simple control circuit can be realized by a main control board, a motor control board and an auxiliary control board generally, and the complex control circuit (such as a subway ticket checker) needs to be realized by a special industrial personal computer.
The auxiliary module comprises an LED indicating module, a counting module, a pedestrian detection module, an alarm module, a permission input module, a voice prompt module and the like.
LED indication module: the gate is generally composed of an LED dot matrix or an LED display screen and used for indicating the passing state and the direction of the gate, and some of the gate also comprise prompting information such as characters or patterns and welcome information.
A counting module: the LED digital tube is used for recording the number of the passing people, can be displayed through the LED digital tube or the display screen, and can be cleared and set with the upper limit of the counting.
A pedestrian detection module: the pedestrian detection device is used for identifying the passing state of the pedestrian, judging whether the pedestrian passes legally or not, and judging whether the pedestrian is in the movement range of the blocking body or not so as to protect the personal safety of the pedestrian. The performance of the detection module is very critical, the effectiveness and the safety of the gate are influenced, and the detection module is mainly determined by two factors of hardware, namely a sensor and software, and an identification algorithm. The sensor generally adopts an infrared photoelectric switch (more common) or an infrared light curtain, and the infrared photoelectric switch is divided into a correlation type (more common) used in pairs and a reflection type used singly; the high-end gate can adopt more than 10 pairs of imported infrared photoelectric switches, and a high-performance infrared light curtain or other special sensors can be adopted in special occasions. In addition, the identification algorithm is also important, different pedestrians are different in height, step distance and speed, the size and the position of the carried luggage are various, the situation that multiple people continuously pass through the front-back space (trailing prevention) is also considered, the passing situation of riding bicycles is also considered in some occasions, a high-end gate manufacturer generally establishes a corresponding mathematical model according to a large amount of experimental data, develops the identification algorithm by itself, common passing targets such as pedestrians, luggage and bicycles can be effectively identified, the trailing prevention distance can reach within 20mm, the index depends on the identification precision and the algorithm of a sensor at the same time, and the trailing prevention distance of a common gate can only reach 100 mm.
An alarm module: the gate can trigger an alarm under various abnormal use conditions for prompting or warning pedestrians, managers and maintainers, wherein the conditions comprise illegal passing, gate abnormity, power-on self-inspection and the like, and the alarm modes comprise buzzing (relatively common), light, voice and the like (can be used comprehensively).
An authority input module: the pedestrian needs to let the gate "know" whether oneself possesses the authority of legal traffic before the traffic, and "input" authority lets the gate judge whether can let pass promptly. The input mode is various, such as non-contact IC card swiping mode, biological identification, password input, coin insertion and the like, and the simple mode is direct button passing. The module is typically integrated with an access control system or ticketing system. This module is not needed in free-passage situations.
The voice prompt module: the voice prompt is different from the voice alarm in the alarm module, and is mainly used for assisting to prompt the pedestrian related information, such as prompting the type of a passing ticket, welcoming information and the like. This module is less common and requires customization from the manufacturer by the user.
Current gate control systems are not perfect enough and in some extreme cases, people can still pass smoothly without swiping a card, which violates the wishes of gate designers. In order to overcome the defects, the invention builds a control method based on image processing, which is used for solving the technical problem.
The invention provides a control method based on image processing, which comprises the following steps: 1) providing a gate automatic control platform based on image processing; 2) and operating the automatic control platform. Fig. 1 is a block diagram illustrating a structure of an image processing-based automatic gate control platform according to an embodiment of the present invention, where the platform includes a gate switch, a voice alarm device, a light emitting device, a gate mechanism, a collision detection device, and a main control device, the main control device is respectively connected to the gate switch, the voice alarm device, the light emitting device, and the collision detection device, the gate switch is connected to the gate mechanism and configured to control opening or closing of the gate mechanism, the collision detection device is disposed on the gate mechanism and configured to detect whether there is a collision behavior on the gate mechanism, and send a collision generation signal when there is a collision behavior, otherwise, send a no-collision signal;
and when receiving the collision generating signal, the main control equipment respectively sends out alarm driving signals to the voice alarm equipment and the light-emitting equipment.
Next, a detailed structure of the image processing-based gate automation platform of the present invention will be further described.
In the gate automatic control platform based on image processing:
the collision detection device comprises a pressure sensor and an AT89C51 control chip, wherein the pressure sensor is arranged on the gate mechanism and is used for detecting and outputting the collision force value generated on the gate mechanism;
wherein, AT89C51 control chip with pressure sensor is connected for send the collision and generate the signal when the collision force numerical value received is greater than or equal to the predetermined dynamics threshold value, when the collision force numerical value received is less than the predetermined dynamics threshold value, send no collision signal.
In the gate automatic control platform based on image processing, the method further comprises the following steps:
and the FLASH storage device is arranged in the gate mechanism, is connected with the AT89C51 control chip of the collision detection device and is used for pre-storing the preset force threshold value.
In the gate automatic control platform based on image processing, the method further comprises the following steps:
the access authority control device comprises a card slot, an information reading device and an authority analysis device, wherein the card slot is used for a passer to place a passcard, the information reading device is used for reading information on the passcard to obtain passer information, and the authority analysis device is connected with the information reading device and is used for verifying the passer information and sending a passing permission signal when the information passes verification, otherwise, sending an illegal user signal.
In the gate automatic control platform based on image processing, the method further comprises the following steps:
the switch state detection device is arranged on the gate mechanism and used for detecting whether the current state of the gate mechanism is an opening state or a closing state;
the image capturing device is arranged in front of the gate switch, has the same distance to the queuing line as the gate switch, and is used for capturing image data of a scene between the queuing line and the gate switch so as to output an intermediate scene image;
the signal analysis equipment is used for receiving the intermediate scene image, and determining the mean square error of the pixel value of the intermediate scene image based on the pixel value of each pixel point of the intermediate scene image to be output as a target mean square error;
the noise analysis equipment is used for receiving the intermediate scene image, carrying out noise analysis on the intermediate scene image to obtain a main noise signal with the maximum noise amplitude and a secondary noise signal with the secondary maximum noise amplitude, and determining the signal-to-noise ratio of the intermediate scene image based on the main noise signal, the secondary noise signal and the intermediate scene image to be output as a target signal-to-noise ratio;
the filtering switching equipment is respectively connected with the signal analysis equipment and the noise analysis equipment and is used for receiving a target mean square error and a target signal-to-noise ratio, sending a first switching signal when the target signal-to-noise ratio is smaller than or equal to a preset signal-to-noise ratio threshold and the target mean square error is larger than or equal to a preset mean square error threshold, sending a second switching signal when the target signal-to-noise ratio is smaller than or equal to the preset signal-to-noise ratio threshold and the target mean square error is smaller than the preset mean square error threshold, sending a third switching signal when the target signal-to-noise ratio is larger than the preset signal-to-noise ratio threshold and the target mean square error is larger than or equal to the preset mean square error threshold, and sending a fourth switching signal;
the Kalman filtering equipment is connected with the filtering switching equipment and is used for carrying out Kalman filtering processing on the intermediate scene image to obtain a target filtering image when receiving the fourth switching signal;
the adaptive wavelet filtering device is connected with the filtering switching device and used for performing adaptive wavelet filtering processing on the intermediate scene image to obtain a wavelet filtering image when receiving the first switching signal and sending the wavelet filtering image to the adaptive median filtering device; the adaptive wavelet filtering module is also used for performing adaptive wavelet filtering processing on the intermediate scene image to directly obtain a target filtering image when receiving a third switching signal;
the self-adaptive median filtering device is connected with the filtering switching device and is used for receiving the wavelet filtering image from the self-adaptive wavelet filtering device when receiving the first switching signal and carrying out self-adaptive median filtering processing on the wavelet filtering image to obtain a target filtering image; the adaptive median filtering processing is also used for carrying out adaptive median filtering processing on the intermediate scene image when a second switching signal is received so as to directly obtain a target filtering image;
the target identification device is respectively connected with the Kalman filtering device, the adaptive wavelet filtering device and the adaptive median filtering device and is used for receiving a target filtering image, identifying a human target on the target filtering image and sending a personnel passing signal when the human target is identified;
the abnormal control equipment is respectively connected with the switch state detection equipment, the target identification equipment and the gate mechanism, is used for controlling the gate mechanism to be quickly opened when receiving the passing permission signal and the personnel passing signal and receiving the closing state sent by the switch state detection equipment, and is used for controlling the gate mechanism to be quickly closed when receiving the illegal user signal and the personnel passing signal and receiving the opening state sent by the switch state detection equipment;
wherein the adaptive median filtering process performed by the adaptive median filtering apparatus includes: aiming at each pixel of a received image, acquiring various corresponding pixel blocks of the pixel by taking the pixel as the center by adopting various filtering windows, determining the gray value variance in each pixel block, selecting the corresponding filtering window with the minimum gray value variance as a target filtering window to perform median filtering on the pixel value of the pixel to obtain the filtering pixel value of the pixel, and acquiring a filtering image output by an adaptive median filtering device based on the filtering pixel values of all the pixels of the received image;
wherein the adaptive wavelet filtering process performed by the adaptive wavelet filtering device includes: performing wavelet decomposition on a received image to obtain four sub-bands of LL, LH, HL and HH, determining the average value of the HH sub-band, calculating the optimal threshold value of wavelet shrinkage based on the average value, and performing wavelet reconstruction on the image based on the optimal threshold value of the wavelet shrinkage to obtain a filtered image output by the adaptive wavelet filtering device;
the gate switch is also connected with the passing authority control equipment and used for controlling the gate mechanism to be opened when the passing permission signal is received and controlling the gate mechanism to be closed when the illegal user signal is received.
In the gate automatic control platform based on image processing:
the Kalman filtering equipment enters a working mode from a power saving mode when receiving a fourth switching signal, and enters the power saving mode from the working mode when receiving a first switching signal, a second switching signal or a third switching signal;
the self-adaptive wavelet filtering equipment enters a working mode from a power saving mode when receiving a first switching signal or a third switching signal, and enters the power saving mode from the working mode when receiving a second switching signal or a fourth switching signal;
the self-adaptive median filtering equipment enters the working mode from the power saving mode when receiving the first switching signal or the second switching signal, and enters the power saving mode from the working mode when receiving the third switching signal or the fourth switching signal.
In the gate automatic control platform based on image processing:
the speed of the gate switch opening the gate mechanism is slower than the speed of the abnormality control device opening the gate mechanism; the speed at which the shutter switch closes the shutter mechanism is slower than the speed at which the abnormality control device closes the shutter mechanism.
In the gate automatic control platform based on image processing:
the voice alarm equipment comprises a voice playing chip and a dual-channel loudspeaker, wherein the voice playing chip is connected with the dual-channel loudspeaker and is used for playing a corresponding voice alarm file through the dual-channel loudspeaker when the alarm driving signal is received.
In the gate automatic control platform based on image processing:
and the light-emitting equipment emits red light at a preset light-emitting frequency to alarm when receiving the alarm driving signal.
In addition, the median filtering has good filtering effect on impulse noise, and particularly, the edges of signals can be protected from being blurred while the noise is filtered. These good characteristics are not available with linear filtering methods. In addition, the algorithm of median filtering is simple and is easy to be realized by hardware. Therefore, once the median filtering method is proposed, it is applied to digital signal processing.
The median filtering is a nonlinear signal processing technology which is based on the ordering statistical theory and can effectively inhibit noise, and the basic principle of the median filtering is to replace the value of one point in a digital image or a digital sequence by the median of all point values in a neighborhood of the point, so that the surrounding pixel values are close to the true values, and isolated noise points are eliminated. The method is to sort the pixels in the plate according to the size of the pixel value by using a two-dimensional sliding template with a certain structure to generate a two-dimensional data sequence which monotonously rises (or falls). The two-dimensional median filter output is g (x, y) ═ med { f (x-k, y-l), (k, l ∈ W) }, where f (x, y), g (x, y) are the original image and the processed image, respectively. W is a two-dimensional template, typically 3 × 3, 5 × 5 regions, and may also be of different shapes, such as lines, circles, crosses, circles, and the like.
By adopting the image processing-based gate automatic control platform, aiming at the technical problem that the gate control system in the prior art still has a ticket evasion space, a plurality of detection devices and customized high-precision image processing devices are added to detect the occurrence of extreme situations of ticket evasion by modifying the gate control system in the prior art, and corresponding measures are taken, so that the passage of people is standardized, and the economic benefit of a gate operator is ensured not to be violated.
It is to be understood that while the present invention has been described in conjunction with the preferred embodiments thereof, it is not intended to limit the invention to those embodiments. It will be apparent to those skilled in the art from this disclosure that many changes and modifications can be made, or equivalents modified, in the embodiments of the invention without departing from the scope of the invention. Therefore, any simple modification, equivalent change and modification made to the above embodiments according to the technical essence of the present invention are still within the scope of the protection of the technical solution of the present invention, unless the contents of the technical solution of the present invention are departed.

Claims (3)

1. A control method based on image processing, the method comprising:
1) providing a gate automatic control platform based on image processing, and 2) operating the automatic control platform;
it is characterized in that the automatic control platform comprises:
the collision detection device is arranged on the gate mechanism and used for detecting whether collision behavior exists on the gate mechanism or not, and sending a collision generation signal when the collision behavior exists, or sending a no-collision signal when the collision behavior does not exist;
when receiving the collision generating signal, the main control device respectively sends an alarm driving signal to the voice alarm device and the light-emitting device;
the collision detection device comprises a pressure sensor and an AT89C51 control chip, wherein the pressure sensor is arranged on the gate mechanism and is used for detecting and outputting the collision force value generated on the gate mechanism;
the AT89C51 control chip is connected with the pressure sensor and is used for sending a collision generation signal when the received collision force value is greater than or equal to a preset force threshold value and sending a no-collision signal when the received collision force value is smaller than the preset force threshold value;
the FLASH storage device is arranged in the gate mechanism, is connected with an AT89C51 control chip of the collision detection device and is used for pre-storing the preset force threshold value;
the access authority control device comprises a card slot, an information reading device and an authority analysis device, wherein the card slot is used for a passer to place a passcard, the information reading device is used for reading information on the passcard to obtain passer information, and the authority analysis device is connected with the information reading device and is used for verifying the passer information and sending a passing permission signal when the information passes verification, otherwise, sending an illegal user signal;
the switch state detection device is arranged on the gate mechanism and used for detecting whether the current state of the gate mechanism is an opening state or a closing state;
the image capturing device is arranged in front of the gate switch, has the same distance to the queuing line as the gate switch, and is used for capturing image data of a scene between the queuing line and the gate switch so as to output an intermediate scene image;
the signal analysis equipment is used for receiving the intermediate scene image, and determining the mean square error of the pixel value of the intermediate scene image based on the pixel value of each pixel point of the intermediate scene image to be output as a target mean square error;
the noise analysis equipment is used for receiving the intermediate scene image, carrying out noise analysis on the intermediate scene image to obtain a main noise signal with the maximum noise amplitude and a secondary noise signal with the secondary maximum noise amplitude, and determining the signal-to-noise ratio of the intermediate scene image based on the main noise signal, the secondary noise signal and the intermediate scene image to be output as a target signal-to-noise ratio;
the filtering switching equipment is respectively connected with the signal analysis equipment and the noise analysis equipment and is used for receiving a target mean square error and a target signal-to-noise ratio, sending a first switching signal when the target signal-to-noise ratio is smaller than or equal to a preset signal-to-noise ratio threshold and the target mean square error is larger than or equal to a preset mean square error threshold, sending a second switching signal when the target signal-to-noise ratio is smaller than or equal to the preset signal-to-noise ratio threshold and the target mean square error is smaller than the preset mean square error threshold, sending a third switching signal when the target signal-to-noise ratio is larger than the preset signal-to-noise ratio threshold and the target mean square error is larger than or equal to the preset mean square error threshold, and sending a fourth switching signal;
the Kalman filtering equipment is connected with the filtering switching equipment and is used for carrying out Kalman filtering processing on the intermediate scene image to obtain a target filtering image when receiving the fourth switching signal;
the adaptive wavelet filtering device is connected with the filtering switching device and used for performing adaptive wavelet filtering processing on the intermediate scene image to obtain a wavelet filtering image when receiving the first switching signal and sending the wavelet filtering image to the adaptive median filtering device; the adaptive wavelet filtering module is also used for performing adaptive wavelet filtering processing on the intermediate scene image to directly obtain a target filtering image when receiving a third switching signal;
the self-adaptive median filtering device is connected with the filtering switching device and is used for receiving the wavelet filtering image from the self-adaptive wavelet filtering device when receiving the first switching signal and carrying out self-adaptive median filtering processing on the wavelet filtering image to obtain a target filtering image; the adaptive median filtering processing is also used for carrying out adaptive median filtering processing on the intermediate scene image when a second switching signal is received so as to directly obtain a target filtering image;
the target identification device is respectively connected with the Kalman filtering device, the adaptive wavelet filtering device and the adaptive median filtering device and is used for receiving a target filtering image, identifying a human target on the target filtering image and sending a personnel passing signal when the human target is identified;
the abnormal control equipment is respectively connected with the switch state detection equipment, the target identification equipment and the gate mechanism, is used for controlling the gate mechanism to be quickly opened when receiving the passing permission signal and the personnel passing signal and receiving the closing state sent by the switch state detection equipment, and is used for controlling the gate mechanism to be quickly closed when receiving the illegal user signal and the personnel passing signal and receiving the opening state sent by the switch state detection equipment;
wherein the adaptive median filtering process performed by the adaptive median filtering apparatus includes: aiming at each pixel of a received image, acquiring various corresponding pixel blocks of the pixel by taking the pixel as the center by adopting various filtering windows, determining the gray value variance in each pixel block, selecting the corresponding filtering window with the minimum gray value variance as a target filtering window to perform median filtering on the pixel value of the pixel to obtain the filtering pixel value of the pixel, and acquiring a filtering image output by an adaptive median filtering device based on the filtering pixel values of all the pixels of the received image;
wherein the adaptive wavelet filtering process performed by the adaptive wavelet filtering device includes: performing wavelet decomposition on a received image to obtain four sub-bands of LL, LH, HL and HH, determining the average value of the HH sub-band, calculating the optimal threshold value of wavelet shrinkage based on the average value, and performing wavelet reconstruction on the image based on the optimal threshold value of the wavelet shrinkage to obtain a filtered image output by the adaptive wavelet filtering device;
the gate switch is also connected with the passing authority control equipment and is used for controlling the gate mechanism to be opened when the passing permission signal is received and controlling the gate mechanism to be closed when the illegal user signal is received;
the speed of the gate switch opening the gate mechanism is slower than the speed of the abnormality control device opening the gate mechanism;
the speed at which the shutter switch closes the shutter mechanism is slower than the speed at which the abnormality control device closes the shutter mechanism.
2. The method of claim 1, wherein:
the Kalman filtering equipment enters a working mode from a power saving mode when receiving a fourth switching signal, and enters the power saving mode from the working mode when receiving a first switching signal, a second switching signal or a third switching signal;
the self-adaptive wavelet filtering equipment enters a working mode from a power saving mode when receiving a first switching signal or a third switching signal, and enters the power saving mode from the working mode when receiving a second switching signal or a fourth switching signal;
the self-adaptive median filtering equipment enters the working mode from the power saving mode when receiving the first switching signal or the second switching signal, and enters the power saving mode from the working mode when receiving the third switching signal or the fourth switching signal.
3. The method of claim 2, wherein:
the voice alarm equipment comprises a voice playing chip and a dual-channel loudspeaker, wherein the voice playing chip is connected with the dual-channel loudspeaker and is used for playing a corresponding voice alarm file through the dual-channel loudspeaker when the alarm driving signal is received.
CN201711277386.0A 2017-05-25 2017-05-25 Control method based on image processing Active CN108053525B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711277386.0A CN108053525B (en) 2017-05-25 2017-05-25 Control method based on image processing

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201711277386.0A CN108053525B (en) 2017-05-25 2017-05-25 Control method based on image processing
CN201710376485.8A CN107119595B (en) 2017-05-25 2017-05-25 Control method based on image procossing

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CN201710376485.8A Division CN107119595B (en) 2017-05-25 2017-05-25 Control method based on image procossing

Publications (2)

Publication Number Publication Date
CN108053525A CN108053525A (en) 2018-05-18
CN108053525B true CN108053525B (en) 2020-04-03

Family

ID=59728660

Family Applications (2)

Application Number Title Priority Date Filing Date
CN201711277386.0A Active CN108053525B (en) 2017-05-25 2017-05-25 Control method based on image processing
CN201710376485.8A Active CN107119595B (en) 2017-05-25 2017-05-25 Control method based on image procossing

Family Applications After (1)

Application Number Title Priority Date Filing Date
CN201710376485.8A Active CN107119595B (en) 2017-05-25 2017-05-25 Control method based on image procossing

Country Status (1)

Country Link
CN (2) CN108053525B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108932616B (en) * 2018-06-21 2021-12-07 上海旺链信息科技有限公司 Electronic passage payment switching platform
CN109544705A (en) * 2018-08-03 2019-03-29 张恩岫 Scenic spot bill on-site verification mechanism
CN109785451A (en) * 2018-08-03 2019-05-21 张恩岫 Scenic spot bill on-site verification method
CN109377527A (en) * 2018-09-04 2019-02-22 苏州大学 A kind of man-machine interaction method and switching filtering system based on 4 points of trapezoidal calibration algorithms
CN109993866B (en) * 2019-03-14 2023-01-17 西安艾润物联网技术服务有限责任公司 Wing gate control method and system based on mobile management terminal
CN111242887B (en) * 2019-04-27 2020-11-24 合肥耀世同辉科技有限公司 Target distance measuring method
CN114708622B (en) * 2022-06-07 2022-08-16 成都点泽智能科技有限公司 Scheduling method, device and system for ski field equipment

Family Cites Families (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7109869B2 (en) * 1999-09-28 2006-09-19 Clifford Sweatte Method and system for facility security
CN102779359B (en) * 2012-07-13 2015-07-15 南京大学 Automatic ticket checking device for performing passage detection based on depth image
CN103343515B (en) * 2013-07-16 2016-03-09 东北石油大学 Anticollision intelligent barrier gate and Intelligent Recognition control method thereof
CN103414845A (en) * 2013-07-24 2013-11-27 中国航天科工集团第三研究院第八三五七研究所 Self-adaptive video image noise reducing method and noise reducing system
CN203573389U (en) * 2013-11-30 2014-04-30 四川久远新方向智能科技有限公司 Passenger passing control system for BRT (bus rapid transit) rapid bus automatic ticket checker
CN103714522A (en) * 2014-01-06 2014-04-09 海信集团有限公司 Image denoising method and image denoising system
CN203733180U (en) * 2014-02-20 2014-07-23 上海理工大学 Intelligent fare-evasion-preventing real-time detection system for subway
CN204252043U (en) * 2014-11-25 2015-04-08 泰安市大通前沿电子科技有限公司 Wisdom vehicle road gate control system
CN205318501U (en) * 2016-01-08 2016-06-15 广州地铁集团有限公司 Current system of floodgate machine
CN106200539B (en) * 2016-08-31 2019-01-08 浙江网新电气技术有限公司 A kind of current logic control system of ticket check gate and method
CN206162737U (en) * 2016-10-12 2017-05-10 深圳市因尚网络科技股份有限公司 System is met and sent off to intelligence
CN107780818B (en) * 2016-10-25 2018-06-01 深圳信息职业技术学院 The filtering selection platform of image content-based analysis
CN106480838B (en) * 2016-12-01 2019-01-22 青岛博宁福田智能交通科技发展有限公司 A kind of subway gate device and its pressure detecting system

Also Published As

Publication number Publication date
CN107119595A (en) 2017-09-01
CN108053525A (en) 2018-05-18
CN107119595B (en) 2018-04-10

Similar Documents

Publication Publication Date Title
CN108053525B (en) Control method based on image processing
US7382895B2 (en) Tailgating and reverse entry detection, alarm, recording and prevention using machine vision
CA2729193C (en) Access control system based upon behavioral patterns
JP4924607B2 (en) Suspicious behavior detection apparatus and method, program, and recording medium
CN108292363A (en) In vivo detection for anti-fraud face recognition
US20070268145A1 (en) Automated tailgating detection via fusion of video and access control
US20060225352A1 (en) Method and device for pass-through control and/or singling-out of persons
JP7186818B2 (en) Information processing device, information processing method, program, and information processing system
US20120076356A1 (en) Anomaly detection apparatus
JP2007316980A (en) Access management system and access management device
US10339802B2 (en) Method and system for managing a parking lot
CN101847276A (en) Manpower authorization system and method
CN107221056B (en) The method stopped based on human bioequivalence
WO2018037392A1 (en) System and method for access control in open restricted areas
JP4747611B2 (en) Entrance / exit management device
CN107193232A (en) The gate automatically controlled
CN107221058A (en) Intelligent channel barrier system
KR101262363B1 (en) Entrance control system
Tay et al. Application of computer vision in the construction industry
EP1306815B1 (en) Access control device
CN113537034A (en) Cash receiving loss prevention method and system
WO2021075278A1 (en) Information processing device and method, and program
CN111435439A (en) Method for recognizing a movement process and traffic recognition system
CN209993020U (en) Access control system of face identification no gate
KR101040791B1 (en) Illegal passengers detection system and mathod for the same

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
CB03 Change of inventor or designer information
CB03 Change of inventor or designer information

Inventor after: Wu Ying

Inventor after: Xiang Meiqin

Inventor before: Xiang Meiqin

TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20200306

Address after: No. 518, Yanshan street, Xinjiang Economic Development Zone, Urumqi City, Xinjiang Uygur Autonomous Region

Applicant after: LEON TECHNOLOGY Co.,Ltd.

Address before: 523000 Rd Rd, hi tech Industrial Park, Songshan Lake, Guangdong, Dongguan 1

Applicant before: Xiang Meiqin

GR01 Patent grant
GR01 Patent grant
PE01 Entry into force of the registration of the contract for pledge of patent right
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: Control method based on image processing

Effective date of registration: 20221223

Granted publication date: 20200403

Pledgee: China Construction Bank Corporation Xinjiang Uygur Autonomous Region Branch Business Department

Pledgor: LEON TECHNOLOGY Co.,Ltd.

Registration number: Y2022650000034