The content of the invention
In order to solve the above problems, the invention provides a kind of seashore outdoor bathing place visitor ascending and descending condition detection method, figure is introduced
The ascending and descending condition of each visitor is detected as collection and analytical technology, and the ascending and descending condition based on visitor is judged, it is determined that
Whether visitor is in unsafe condition, while also been scheduled sonar detection device being carried out to the visitor's target in unsafe condition
Search, saves rescue period, improves the monitoring effect at seashore outdoor bathing place.
According to an aspect of the present invention, there is provided a kind of seashore outdoor bathing place visitor ascending and descending condition detection method, the method includes:
1) a kind of seashore outdoor bathing place visitor ascending and descending condition detecting system is provided;And 2) detected using the detecting system, the detection
System includes sonar detector, ascending and descending condition detector, master controller and audible-visual annunciator, and the ascending and descending condition detector is based on
Graphical analysis presets the ascending and descending condition of each visitor in marine site to detect seashore outdoor bathing place, and the sonar detector is used to detect sea
Submarine target in the default marine site in side outdoor bathing place, the audible-visual annunciator is used to providing sound and light alarm signal, the master controller with
The sonar detector, the ascending and descending condition detector and the audible-visual annunciator are connected respectively, based on ascending and descending condition inspection
The testing result for surveying device determines whether to start the sonar detector and the audible-visual annunciator.
More specifically, in the seashore outdoor bathing place visitor ascending and descending condition detecting system, also including, user input equipment, use
In the operation according to user, the default marine site at the seashore outdoor bathing place that the ascending and descending condition detector is detected is pre-adjusted;Memory,
It is connected with the user input equipment, for storing the default marine site, is additionally operable to storage visitor's gray feature and first and makes a reservation for
Time threshold and the second scheduled time threshold value, visitor's gray feature are used for the visitor in image and background separation, described
First scheduled time threshold value is less than second scheduled time threshold value;The ascending and descending condition detector include high-definition camera equipment and
Image processing equipment, high-definition camera equipment is made up of electric platform, driving structure and high-definition camera, the high-definition camera
Resolution ratio is 1920 × 1080, is fixed on the electric platform, the driving structure and the memory and described electronic
Head is connected respectively, and drive signal is sent according to the default marine site, to drive the motor of the electric platform, so as to control
The shooting direction of the high-definition camera, the marine site image in default marine site described in captured in real-time;Image processing equipment is by self adaptation
Recursive filtering equipment, gray proces equipment, visitor's target identification equipment, visitor's target following equipment and ascending and descending condition statistics equipment
Composition, the self adaptation recursive filtering equipment is connected with the high-definition camera, and self adaptation recurrence is performed to the marine site image
Filtering process, to export filtering image, the gray proces equipment is connected with the self adaptation recursive filtering equipment, with to described
Filtering image gray processing, with output gray level image, visitor's target identification equipment and the gray proces equipment and described
Memory is connected respectively, and the gray value of each pixel of the gray level image is compared with visitor's gray feature, with
It is determined that whether the pixel for being compared belongs to visitor's pixel, multiple visitor's subgraphs are thus partitioned into from the gray level image,
Visitor's target following equipment is connected with visitor's target identification equipment, to the visitor's target in each visitor's subgraph
Real-time tracking is carried out, when the visitor's target in visitor's subgraph disappears, visitor's target is judged to avale, in visitor's subgraph
In visitor's target when occurring, judge visitor's target on floating, the ascending and descending condition statistics equipment and visitor's target with
Track equipment is connected, and the sink-float of the visitor's target in each visitor's subgraph is judged based on visitor's target following equipment,
The current sinking time and current floating time of visitor's target in real-time statistics each visitor's subgraphs;The sonar detector
It is arranged under the bank waters at the seashore outdoor bathing place, including transmitting transducing devices, for launching sound wave under water, transmitting sound wave is met
During to submarine target, sound wave is reflected;Transducing devices are received, the sound for receiving the submarine target reflection under water
Ripple;Micro-control control equipment, with it is described transmitting transducing devices and the reception transducing devices be connected respectively, based on transmitting acoustic wave character and
Receive the relative position that acoustic wave character calculates the submarine target;The master controller is ARM11 embedded processing chips, with institute
State memory, the sonar detector, the ascending and descending condition detector and the audible-visual annunciator to connect respectively, receive the trip
The statistics of objective target following equipment, the current sinking time of visitor's target is predetermined more than first in it there is visitor's subgraph
During time threshold, visitor's sinking early warning signal is sent, the current sinking time of visitor's target exceedes in it there is visitor's subgraph
During the second scheduled time threshold value, visitor's sinking alarm signal is sent, and start the sonar detector;The audible-visual annunciator bag
Voice playing equipment is included, for playing voice corresponding with visitor sinking early warning signal or visitor sinking alarm signal
Warning file;Alarm lamp, is flashed when visitor's sinking early warning signal is received with the first flicker frequency, described receiving
Flashed with the second flicker frequency during visitor's sinking alarm signal, first flicker frequency is less than the second flicker frequency;Wherein, institute
State user input equipment, the memory, the master controller and the audible-visual annunciator and be all disposed within the seashore outdoor bathing place
In instrument board below the cross bar of bank, the ascending and descending condition detector is arranged on the bank cross bar at the seashore outdoor bathing place;It is described
Self adaptation recursive filtering equipment, the gray proces equipment, visitor's target identification equipment, visitor's target following equipment
Fpga chip is all respectively adopted with ascending and descending condition statistics equipment to realize, the fpga chip for being used is XILINX companies
XC3S1000FT256。
More specifically, in the seashore outdoor bathing place visitor ascending and descending condition detecting system, also including display device, positioned at described
On instrument board below the bank cross bar at seashore outdoor bathing place, it is connected with described image processing equipment and the sonar detector, is used for
The marine site image is shown in real time, is additionally operable to when currently avaling of visitor's target in described each the visitor's subgraph of display in real time
Between and current floating time, and the testing result for showing the sonar detector.
More specifically, in the seashore outdoor bathing place visitor ascending and descending condition detecting system, the display device is liquid crystal display
Screen.
More specifically, in the seashore outdoor bathing place visitor ascending and descending condition detecting system, also including power supply unit, positioned at described
In instrument board below the bank cross bar at seashore outdoor bathing place, for being powered in real time for the detecting system.
More specifically, in the seashore outdoor bathing place visitor ascending and descending condition detecting system, the self adaptation recursive filtering is set
Standby, described gray proces equipment, visitor's target identification equipment, visitor's target following equipment and the ascending and descending condition system
Meter equipment is concentrated on one piece of surface-mounted integrated circuit.
Specific embodiment
The embodiment to seashore outdoor bathing place visitor ascending and descending condition detecting system of the invention is carried out in detail below with reference to accompanying drawings
Describe in detail bright.
With expanding economy and the improvement of people's living standards, the easiness that people have been not content with outside work is raw
It is living, it is ready that putting into more funds goes to farther tourist attractions to go to play, to obtain more seeing and hearing enjoyments, so as to loosen body and mind.
Tourist attractions can be divided into eight kinds of classifications:Lake round scenic spot, Mountainous scenic spot, forest scenic spot, scenery with hills and waters scenic spot,
Seabeach scenic spot, summer resort, religion temple Scenic Area, the place of history memory scenic spot of recuperating of lying fallow, wherein, seabeach scenic spot is
One of tourist attractions that people favor the most, because scenic spot has many seashore outdoor bathing places can to provide the sea that visitor wants by the sea
The activities such as side surfing, snorkeling, diving, swimming, play sand, sunbath.
But visitor is by the sea in the marine site at outdoor bathing place during activity, although seashore outdoor bathing place is cleaned to the environment in marine site
With arrange, due to that close to coastal waters, still easily can be attacked by sea beat and marine organisms, accordingly, it would be desirable to for visitor builds
A set of detection of unsafe condition warning system is found, conventional artificial mode of looking around excessively falls behind.
Seashore outdoor bathing place visitor ascending and descending condition detecting system of the invention, by the way of electronic monitoring, induce one whole process image
Treatment technology and sinkage time are counted, and critical condition is sent to the security department of locality by way of sound and light alarm in time,
Starting sonar system immediately simultaneously carries out target homing, greatly reduces the rescue reaction time.
Fig. 1 is the structure square frame of the seashore outdoor bathing place visitor's ascending and descending condition detecting system according to embodiment of the present invention
Figure, the detecting system includes sonar detector 2, ascending and descending condition detector 3, master controller 1 and audible-visual annunciator 4, described heavy
Floating state detector 3 is based on graphical analysis to detect the ascending and descending condition of each visitor in the default marine site in seashore outdoor bathing place, the sound
Detector 2 is used to detect the submarine target in the default marine site in seashore outdoor bathing place that the audible-visual annunciator 4 to be used to provide sound and light alarm
Signal, the master controller 1 is distinguished with the sonar detector 2, the ascending and descending condition detector 3 and the audible-visual annunciator 4
Connection, the testing result based on the ascending and descending condition detector 3 determines whether to start the sonar detector 2 and the acousto-optic report
Alert device 4.
Then, continue to carry out further the concrete structure of seashore outdoor bathing place visitor ascending and descending condition detecting system of the invention
Explanation.
The detecting system also includes that user input equipment, for the operation according to user, pre-adjusts the sink-float shape
The default marine site at the seashore outdoor bathing place that state detector is detected.
The detecting system also includes memory, is connected with the user input equipment, for storing the default marine site,
It is additionally operable to store visitor's gray feature and the first scheduled time threshold value and the second scheduled time threshold value, visitor's gray feature is used
In by the visitor in image and background separation, first scheduled time threshold value is less than second scheduled time threshold value.
The ascending and descending condition detector 3 includes high-definition camera equipment, by electric platform, driving structure and high-definition camera group
Resolution ratio into, the high-definition camera is 1920 × 1080, is fixed on the electric platform, the driving structure and institute
State memory and the electric platform is connected respectively, drive signal is sent according to the default marine site, to drive the electronic cloud
The motor of platform, so as to control the shooting direction of the high-definition camera, presets the marine site image in marine site described in captured in real-time.
The ascending and descending condition detector 3 includes image processing equipment, is set by self adaptation recursive filtering equipment, gray proces
Standby, visitor's target identification equipment, visitor's target following equipment and ascending and descending condition statistics equipment composition.
The self adaptation recursive filtering equipment is connected with the high-definition camera, and performing self adaptation to the marine site image passs
Return filtering process, to export filtering image, the gray proces equipment is connected with the self adaptation recursive filtering equipment, with to institute
Filtering image gray processing is stated, with output gray level image, visitor's target identification equipment and the gray proces equipment and institute
State memory to connect respectively, the gray value of each pixel of the gray level image compared with visitor's gray feature,
To determine whether the pixel for being compared belongs to visitor's pixel, multiple visitor's subgraphs are thus partitioned into from the gray level image
Picture.
Visitor's target following equipment is connected with visitor's target identification equipment, in each visitor's subgraph
Visitor's target carries out real-time tracking, when the visitor's target in visitor's subgraph disappears, judges visitor's target to avale, in trip
When visitor's target in objective subgraph occurs, judge visitor's target on floating, the ascending and descending condition counts equipment and the trip
Objective target following equipment connection, based on visitor's target following equipment to the heavy of the visitor's target in each visitor's subgraph
It is floating to judge, the current sinking time and current floating time of visitor's target in real-time statistics each visitor's subgraphs.
The sonar detector 2 is arranged under the bank waters at the seashore outdoor bathing place, as shown in Fig. 2 the sonar is detected
Device 2 includes transmitting transducing devices 22, for launching sound wave under water, when transmitting sound wave runs into submarine target, sound wave is reflected back
Come;Transducing devices 23 are received, the sound wave for receiving the submarine target reflection under water;Micro-control control equipment 21, with the hair
Penetrate transducing devices 22 and the reception transducing devices 23 are connected respectively, institute is calculated based on transmitting acoustic wave character and reception acoustic wave character
State the relative position of submarine target.
The master controller is ARM11 embedded processing chips, with the memory, the sonar detector 2, described heavy
Floating state detector 3 and the audible-visual annunciator 4 are connected respectively, receive the statistics of visitor's target following equipment, when
When there is the current sinking time of visitor's target in visitor's subgraph more than the first scheduled time threshold value, visitor's sinking early warning is sent
Signal, when the current sinking time of visitor's target in there is visitor's subgraph is more than the second scheduled time threshold value, sends visitor
Sinking alarm signal, and start the sonar detector.
The audible-visual annunciator 4 includes, voice playing equipment, for playing and visitor sinking early warning signal or described
The corresponding phonetic warning file of visitor's sinking alarm signal;Alarm lamp, when visitor sinking early warning signal is received with the
One flicker frequency flashes, and is flashed with the second flicker frequency when visitor's sinking alarm signal is received, first flicker
Frequency is less than the second flicker frequency.
Wherein, the user input equipment, the memory, the master controller 1 and the audible-visual annunciator 4 are all set
In instrument board below the bank cross bar at the seashore outdoor bathing place, the ascending and descending condition detector 3 is arranged on the seashore outdoor bathing place
Bank cross bar on;The self adaptation recursive filtering equipment, the gray proces equipment, visitor's target identification equipment, institute
State visitor's target following equipment and ascending and descending condition statistics equipment is all respectively adopted fpga chip realization, the FPGA cores for being used
Piece is the XC3S1000FT256 of XILINX companies.
Wherein, in the detecting system, display device can also be included, under the bank cross bar at the seashore outdoor bathing place
On the instrument board of side, it is connected respectively with described image processing equipment and the sonar detector 2, for showing the marine site in real time
Image, when being additionally operable to the current sinking time of visitor's target in described each the visitor's subgraph of real-time display and currently floating upper
Between, and the testing result for showing the sonar detector 2.The display device is chosen as LCDs, in the detection
Power supply unit can also be included in system, in the instrument board below the bank cross bar at the seashore outdoor bathing place, for for described in
Detecting system is powered in real time, while can select the self adaptation recursive filtering equipment, the gray proces equipment, the trip
Objective target identification equipment, visitor's target following equipment and the ascending and descending condition statistics equipment concentrate on one piece of surface-mounted integrated circuit
On.
In addition, adaptive-filtering is present in many different fields such as signal transacting, control, image procossing, he be it is a kind of more
The more targeted filtering method of intelligence, is generally used for denoising.In image procossing, adaptive-filtering refers in an image
When different zones have respective picture characteristics, optimal, different parameter, filter are chosen for these different qualities respectively
Ripple device or filtering method are filtered.In the other fields such as Signals & Systems, he can under conditions of without priori,
By self study, adapt to or track the non-stationary change at random of external environment condition, and finally approach Wiener filter or Kalman's filter
The optimal filter performance of ripple device.
The multiple fields such as adaptive-filtering is applicable to communicate, controls, radar, sonar, earthquake, biology.Adaptive-filtering
Device adjusts filter coefficient and frequency response using expecting and feeding back.Conventional auto-adaptive filtering technique has:Adaptive LMS
(lowest mean square) wave filter, adaptive lattice filter, auto-adaptive recursive filter, frequency domain and Subband adaptive filters, from
Adapt to infinite impulse response filter, blind adaptive filtering device, Neural Network Based Nonlinear sef-adapting filter etc..
In addition, sonar is the transliteration of english abbreviation " SONAR ", its Chinese full name is:Sound navigation and range finding, i.e. Sound
Navigation And Ranging, are a kind of using the underwater propagation characteristic of sound wave, by electroacoustic conversion and information processing,
Complete the electronic equipment of undersea detection and communication task.
Sonar has active and passive type two types, belongs to the category of acoustics positioning.Sonar is using underwater acoustic wave pair
The electronic equipment that submarine target is detected, positioned and communicated, is most widely used, most important a kind of device in marine acoustics.
Used as a kind of acoustic sounding equipment, active sonar comes into operation first in Britain.Decay in water due to electromagnetic wave
Speed is very high, it is impossible to is originated as the signal of detecting, is turned into most extensive with the culture of acoustic detection underwater
Means.Sonar technology is usually used in the object under the detection bottom, or using it as the foundation of navigation.
Using seashore outdoor bathing place visitor ascending and descending condition detecting system of the invention, relied primarily on manually for existing detecting system
Monitoring and the monitoring face that exists is complete, monitoring efficiency is not high and the discrepant technical problem of monitoring level, using IMAQ,
, to obtain each the visitor's target on marine site, reasonable analysis visitor's target ascending and descending condition is deciding whether for identification and tracking technique
Start acoustic sweep and sound and light alarm, so as to improve the reaction speed and monitoring efficiency of seashore outdoor bathing place security department.
Although it is understood that the present invention is disclosed as above with preferred embodiment, but above-described embodiment and being not used to
Limit the present invention.For any those of ordinary skill in the art, in the case where technical solution of the present invention ambit is not departed from,
Many possible variations and modification are all made to technical solution of the present invention using the technology contents of the disclosure above, or is revised as
With the Equivalent embodiments of change.Therefore, every content without departing from technical solution of the present invention, according to technical spirit pair of the invention
Any simple modification, equivalent variation and modification made for any of the above embodiments, still fall within the scope of technical solution of the present invention protection
It is interior.