Summary of the invention
In order to solve the problems referred to above, the invention provides a kind of roller-coaster passenger status side of detection in real time
Method, introduces image recognition technology and blood pressure detecting technology, provides for passenger in roller-coaster driving process
Feedback mechanism, the travel speed carrying out roller-coaster with the state according to passenger controls, simultaneously, additionally it is possible to
In the case of occurring that large quantities of passenger status are abnormal, braking roller-coaster is out of service, and opens immediately
Near passage of fleeing from quickly leaves for passenger, thus improves rescue efficiency.
According to an aspect of the present invention, it is provided that a kind of roller-coaster passenger status real-time detection method, should
Method includes: 1) provide a kind of roller-coaster passenger status real-time detecting system, and 2) use described
Detecting system detects, and described detecting system includes master controller, multiple image recognizer and multiple
Instrument for measuring blood pressure, installs an image recognizer and a blood pressure inspection on each seat of roller-coaster
Surveying instrument, described image recognizer the passenger in the passenger image identifying the corresponding superior visitor in seat move
Making, described instrument for measuring blood pressure is for detecting the heart rate of the corresponding superior visitor in seat, described master controller and institute
State multiple image recognizer and the plurality of instrument for measuring blood pressure connects respectively, know based on the plurality of image
The recognition result of other device and the testing result of the plurality of instrument for measuring blood pressure control the operation speed of roller-coaster
Degree.
More specifically, in described roller-coaster passenger status real-time detecting system, also include: memory,
Prestore action template, also prestored predetermined maximal blood pressure, First bit quantity threshold value,
Two amount of seats threshold values, passenger's upper limit gray threshold and passenger's lower limit gray threshold, described first seat
Amount threshold is less than described second seat amount threshold, described passenger's upper limit gray threshold and passenger's lower limit
Gray threshold is for by the passenger in image and background separation, and described action template is with image file
Form stores, and includes the predetermined action that administrative staff notified before roller-coaster on passenger;Speed
Control equipment, including speed detector and brake, described speed detector detects and defeated for real-time
Going out the speed of service of roller-coaster, described brake is for receiving the speeds control that described master controller sends
Signal, and based on described speed control signal, roller-coaster is applied different brake force, to realize mistake
The control of the speed of service of roller coaster;Described image recognizer includes camera, is used for shooting corresponding seat
The passenger image of upper passenger;Image processor, is connected respectively with described camera and described memory,
Including contrast enhancement unit, gray proces unit, wavelet filtering unit, passenger's recognition unit and dynamic
Making matching unit, described contrast enhancement unit is connected with described camera, with to described passenger image
Performing contrast enhancement processing, output strengthens image, and described gray proces unit increases with described contrast
Strong unit connects, described enhancing image to be performed gray processing process, output gray level image is described little
Ripple filter unit is connected with described gray proces unit, so that described gray level image is performed wavelet filtering,
Output filtering image, described passenger's recognition unit and described wavelet filtering unit and described memory difference
Connect, with by gray value in filtering image passenger's upper limit gray threshold and passenger's lower limit gray threshold it
Between pixel identification and form passenger's subgraph, described action matching unit and described passenger's recognition unit
Connect respectively with described memory, the passenger's action in passenger's subgraph is carried out with described action template
Coupling, output matching result, described matching result includes that action coupling and action are not mated;RS-232
Serial communication interface, is connected with described image processor, so that described matching result is passed through RS-232
Serial sends;Described instrument for measuring blood pressure is to tie up to the Woundless blood pressure sleeve sheath shape on passenger's arm
Shape, for detecting and export the blood pressure of the corresponding superior visitor in seat;Described master controller and described memory,
Described speed detector, described brake, described RS-232 serial communication interface and the inspection of described blood pressure
Survey instrument to connect respectively, receive the speed of service of described speed detector output, receive described RS-232
The matching result of serial communication interface output, receives the blood pressure of described instrument for measuring blood pressure output, by described
Blood pressure carries out blood pressure with described predetermined maximal blood pressure and compares, and finding described matching result is action coupling
Blood pressure comparative result, to form the first seat set, is found for being more than in seat corresponding to image recognizer
The seat corresponding to instrument for measuring blood pressure of described predetermined maximal blood pressure, to form second seat set, determines
The seat overlapped between described first seat set and described second seat set, calculates described coincidence seat
The quantity of position, when the quantity at described coincidence seat is more than or equal to described First bit quantity threshold value, root
Different speed is sent according to the quantity at described coincidence seat and the speed of service of described speed detector output
Degree control signal, when the quantity at described coincidence seat is more than or equal to described second seat amount threshold,
Send passenger status alarm signal;Wireless transmitting-receiving equipments, is connected with described master controller, with by described
Coincidence seat positional information in described roller-coaster is wirelessly sent to the management control center of far-end;Tightly
Anxious passage controls switch, by described wireless transmitting-receiving equipments and described master controller wireless connection, is used for
Control the opening and closing of multiple emergency access, when receiving described passenger status alarm signal, root
According to the current location of the roller-coaster that described master controller forwards, open the current location of distance roller-coaster
Near emergency access;Location equipment, is connected with described master controller, in real time by the present bit of roller-coaster
Put and be sent to described master controller;Voice playing equipment, is connected with described master controller, to broadcast in real time
Put the phonetic warning file corresponding with described passenger status alarm signal;Wherein, described brake is connecing
When receiving passenger status alarm signal, brake hard roller-coaster is in halted state, and described contrast strengthens
Unit, gray proces unit, wavelet filtering unit, passenger's recognition unit and action matching unit all divide
Cai Yong not realize by fpga chip, the fpga chip used is XILINX company
XC3S1000FT256。
More specifically, in described roller-coaster passenger status real-time detecting system, also include supply of electric power
Equipment, is connected with described master controller, and the operation for roller-coaster provides supply of electric power.
More specifically, in described roller-coaster passenger status real-time detecting system, described master controller is
ARM11 embedded processing chip.
More specifically, in described roller-coaster passenger status real-time detecting system, described roller-coaster is spiral shell
It is threaded through roller coaster, reverses roller-coaster, the one being turned in roller coaster, hanging and swinging roller-coaster.
More specifically, in described roller-coaster passenger status real-time detecting system, described speeds control sets
For being arranged on roller-coaster vehicle bottom, described memory, described master controller, described speech play set
Wireless transmitting-receiving equipments standby, described and described location equipment are arranged on roller-coaster car body front end, described promptly
Passage controls the side that switch is arranged on the passage of roller-coaster.
More specifically, in described roller-coaster passenger status real-time detecting system, described memory is same
Step dynamic RAM Synchronous Dynamic Random Access Memory.
Detailed description of the invention
Embodiment party to the roller-coaster passenger status real-time detecting system of the present invention below with reference to accompanying drawings
Case is described in detail.
Roller-coaster, English entitled Roller coaster, or it is also called roller coaster, it is a kind of motor-driven trip
Happy facility, is common in amusement park and theme park.La Makusiadena thompson (LaMarcus
Adna Thompson) it is people's (January 20 in 1885 of first registered roller coaster Patents technology
Day), and once manufactured several 10 roller-coaster facilities, therefore it is referred to as " father of gravity " (Father by reputation
of Gravity).Although the terrible terror of roller-coaster, but the safest facility.
But, although roller-coaster is comparatively safe, but due to plant maintenance be not good at, passenger status the most first-class
, still there is certain danger in reason.In prior art, roller-coaster administrative department was in order to ensure
The safety of roller coaster is carried out, and often safety measure is placed on before passenger takes roller-coaster, such as by logical
Announcement informs which passenger is not suitable for sitting roller-coaster, is taken advantage of facility and the passenger of roller-coaster by Security Personnel
Seat mode checks and supervises, even if there is monitoring, also for roller-coaster car body itself, and
The not monitoring state to passenger, more lacks the passenger in roller-coaster running and feeds back logical
Road.
The roller-coaster passenger status real-time detecting system of the present invention, for roller-coaster, passenger provides based on figure
As the passenger status testing mechanism identified and passenger status testing mechanism based on blood pressure detecting, overlap two
Mechanism organically combines, and to ensure the accuracy of detection data, and can control mountain according to passenger status
The operation of car, to avoid danger to occur.
Fig. 1 is the knot according to the roller-coaster passenger status real-time detecting system shown in embodiment of the present invention
Structure block diagram, described detecting system include memory 1, speed control apparatus 2, wireless transmitting-receiving equipments 3,
Emergency access control switch 4, location equipment 5, multiple image recognizer 6, multiple instrument for measuring blood pressure 7,
Voice playing equipment 8 and master controller 9, the number of the plurality of image recognizer 6 is n, institute
Stating the number of multiple instrument for measuring blood pressure 7 is m, and n is equal to m, for the natural number more than 1, described
Master controller 9 controls with memory 1, speed control apparatus 2, wireless transmitting-receiving equipments 3, emergency access
Switch 4, location equipment 5, multiple image recognizer 6, multiple instrument for measuring blood pressure 7 and speech play set
Standby 8 connect respectively.
In Fig. 1, each seat of roller-coaster is installed an image recognizer 6 and a blood pressure
Detector 7, described image recognizer 6 taking advantage of in the passenger image identifying the corresponding superior visitor in seat
Visitor's action, described instrument for measuring blood pressure 7 is for detecting the heart rate of the corresponding superior visitor in seat, described main control
Device 9 is connected respectively with the plurality of image recognizer 6 and the plurality of instrument for measuring blood pressure 7, based on institute
The testing result of the recognition result and the plurality of instrument for measuring blood pressure 7 of stating multiple image recognizer 6 controls
The speed of service of roller-coaster.
Then, continue the concrete structure of the roller-coaster passenger status real-time detecting system of the present invention is carried out
Further instruction.
Described memory 1, is used for prestoring action template, also prestored predetermined maximal blood pressure,
First bit quantity threshold value, second seat amount threshold, passenger's upper limit gray threshold and passenger's lower limit ash
Degree threshold value, described First bit quantity threshold value is less than described second seat amount threshold, on described passenger
Limit gray threshold and passenger's lower limit gray threshold are for by the passenger in image and background separation, described dynamic
It is to store with the form of image file as template, includes administrative staff logical before roller-coaster on passenger
The predetermined action known.
Described speed control apparatus 2 includes that speed detector and brake, described speed detector are used for
Detecting and export the speed of service of roller-coaster in real time, described brake is used for receiving described master controller 9
The speed control signal sent, and based on described speed control signal, roller-coaster is applied different brakings
Power, to realize the control of the speed of service to roller-coaster.
Described image recognizer 6 includes camera, for shooting the passenger image of the corresponding superior visitor in seat.
Described image recognizer 6 also includes image processor 6, with described camera and described memory
1 connects respectively, including contrast enhancement unit, gray proces unit, wavelet filtering unit, passenger
Recognition unit and action matching unit.
Described contrast enhancement unit is connected with described camera, so that described passenger image is performed contrast
Degree enhancing processes, and output strengthens image, and described gray proces unit is with described contrast enhancement unit even
Connect, described enhancing image to be performed gray processing process, output gray level image, described wavelet filtering list
First and described gray proces unit is connected, so that described gray level image to perform wavelet filtering, output filtering
Image, described passenger's recognition unit is connected respectively with described wavelet filtering unit and described memory 1,
With by gray value in filtering image between passenger's upper limit gray threshold and passenger's lower limit gray threshold
Pixel identification also forms passenger's subgraph, described action matching unit and described passenger's recognition unit and institute
State memory 1 to connect respectively, the passenger's action in passenger's subgraph and described action template are carried out
Joining, output matching result, described matching result includes that action coupling and action are not mated.
Described image recognizer 6 also includes RS-232 serial communication interface, with described image processor
Connect, so that described matching result is sent by RS-232 serial.
Described instrument for measuring blood pressure 7 is to tie up to the Woundless blood pressure sleeve sheath shape on passenger's arm, is used for examining
Survey and export the blood pressure of the corresponding superior visitor in seat.
Described master controller 9 and described memory 1, described speed detector, described brake, institute
State RS-232 serial communication interface and described instrument for measuring blood pressure 7 connects respectively, receive the inspection of described speed
Survey the speed of service of device output, receive the matching result of described RS-232 serial communication interface output,
Receive the blood pressure of described instrument for measuring blood pressure 7 output.
Described blood pressure is carried out blood pressure with described predetermined maximal blood pressure and compares by described master controller 9, finds
Described matching result is that the seat corresponding to image recognizer 6 of action coupling is to form the first seat collection
Closing, finding blood pressure comparative result is more than corresponding to the instrument for measuring blood pressure 7 of described predetermined maximal blood pressure
Seat to form second seat set, determine described first seat set and described second seat set it
Between overlap seat, calculate the quantity at described coincidence seat, when the quantity at described coincidence seat is more than
When described First bit quantity threshold value, according to quantity and the described speed detector at described coincidence seat
The speed of service of output sends different speed control signals, when the quantity at described coincidence seat is more than
When described second seat amount threshold, send passenger status alarm signal.
Described wireless transmitting-receiving equipments 3 is connected with described master controller 9, with by described coincidence seat in institute
State the positional information in roller-coaster and be wirelessly sent to the management control center of far-end.
Described emergency access controls switch 4 by described wireless transmitting-receiving equipments 3 and described master controller 9
Wireless connection, for controlling the opening and closing of multiple emergency access, is receiving described passenger status
During alarm signal, according to the current location of the roller-coaster that described master controller 9 forwards, open distance mistake
The emergency access that the current location of roller coaster is nearest.
Described location equipment 5 is connected with described master controller 9, is sent out the current location of roller-coaster in real time
Give described master controller 9.
Described voice playing equipment 8 is connected with described master controller 9, to play and described passenger in real time
The phonetic warning file that status alert signal is corresponding.
Wherein, described brake when receiving passenger status alarm signal, brake hard roller-coaster in
Halted state, described contrast enhancement unit, gray proces unit, wavelet filtering unit, Cheng Keshi
Other unit and action matching unit are all respectively adopted fpga chip and realize, the fpga chip used
It is the XC3S1000FT256 of XILINX company.
Wherein, described detecting system also includes power supply equipment, is connected with described master controller 9,
Operation for roller-coaster provides supply of electric power, and described master controller 9 is chosen as the embedded place of ARM11
Reason chip, described roller-coaster can be spiral roller-coaster, reverse roller-coaster, be turned over roller coaster, suspension
Waving the one in roller-coaster, described speed control apparatus 2 is arranged on roller-coaster vehicle bottom, described
Memory 1, described master controller 9, described voice playing equipment 8, described wireless transmitting-receiving equipments 3 and
Described location equipment 5 is alternatively positioned in roller-coaster car body front end, and described emergency access controls switch 4
Being alternatively positioned in the side of the passage of roller-coaster, described memory 1 can be selected for as synchronous dynamic random
Memory Synchronous Dynamic Random Access Memory.
It addition, arm processor is that Acorn computer Co., Ltd is towards low budget Market Design
First item risc microcontroller.It is referred to as Acorn RISC Machine earlier.Arm processor itself
It is 32 designs, but is also equipped with 16 bit instruction collection, save than 32 codes of equal value in general and reach
35%, but can retain being had superiority of 32 systems.
The Jazelle technology of ARM makes Java accelerate to obtain than Java Virtual Machine (JVM) based on software
Much higher performance, and equal non-Java acceleration nuclear phase is than lower power consumption 80%.On cpu function
Increase DSP instruction set and 16 and 32 arithmetic operation capabilities strengthened are provided, improve performance and spirit
Activity.ARM also provides for two forward position characteristics to be carried out subband and deeply embeds the highly integrated SoC device of processor
The debugging of part, they are embedded ICE-RT logic and the grand core of Embedded Trace (ETMS) series.
The three of arm processor are big, and feature is: little power consumption function is strong, 16/32 double instruction set and conjunction
Make partner numerous.Specifically possess following performance: 1, volume is little, low-power consumption, low cost, high-performance;
2, Thumb (16)/ARM (32) double instruction set are supported, can good compatibility 8/16
Position device;3, using register in a large number, instruction execution speed is faster;4, most of data manipulations are all
Complete in a register;5, addressing system is simple flexibly, and execution efficiency is high;6, command length is fixed.
It addition, image recognition, refer to utilize computer that image is processed, analyze and understand, with
Identify the target of various different mode and the technology to picture.
Image recognition is probably based on the principal character of image.Each image has his feature,
As letter A has point, P has a circle and there is individual acute angle etc. at the center of Y.Eye during image recognition is moved
Research show, sight line always concentrates in the principal character of image, namely concentrates on image outline
The place that curvature maximum or contour direction change suddenly, the information content in these places is maximum.And eyes
Scanning route forward to another feature from a feature the most successively.As can be seen here, at image
During identification, perceptual mechanism must get rid of the redundant information of input, extracts crucial information out, to pass
The information of key carries out characteristic matching, to obtain the target type identified.
Use the roller-coaster passenger status real-time detecting system of the present invention, in running for existing roller-coaster
Lack the technical problem of passenger's feedback mechanism, have employed image recognition technology and blood pressure detecting technology combines
Mode, accurately judge to take the passenger status of roller-coaster, and determine roller-coaster based on passenger status
The control strategy of operation conditions, thus the passenger for being in roller-coaster running provides feedback logical
Road, it is to avoid the body and mind of passenger is further damaged.
Although it is understood that the present invention discloses as above with preferred embodiment, but above-mentioned enforcement
Example is not limited to the present invention.For any those of ordinary skill in the art, without departing from
Under technical solution of the present invention ambit, all may utilize the technology contents of the disclosure above to the technology of the present invention
Scheme makes many possible variations and modification, or is revised as the Equivalent embodiments of equivalent variations.Therefore,
Every content without departing from technical solution of the present invention, the technical spirit of the foundation present invention is to above example
Any simple modification, equivalent variations and the modification done, all still falls within technical solution of the present invention protection
In the range of.