Summary of the invention
In order to solve the problem, the invention provides a kind of roller-coaster passenger status real-time detection method, introduce image recognition technology and blood pressure detecting technology, for passenger provides feedback mechanism in roller-coaster driving process, control with the travel speed of carrying out roller-coaster according to the state of passenger, simultaneously, can also when there is large quantities of passenger status exception, braking roller-coaster is out of service, and opens nearest passage of fleeing from immediately and leave fast for passenger, thus improves rescue efficiency.
According to an aspect of the present invention, provide a kind of roller-coaster passenger status real-time detection method, the method comprises: 1) provide a kind of roller-coaster passenger status real-time detecting system, and 2) use described detection system to detect, described detection system comprises master controller, multiple image recognizer and multiple instrument for measuring blood pressure, an image recognizer and an instrument for measuring blood pressure are installed in each seat of roller-coaster, described image recognizer is for identifying the passenger's action in the passenger image of the superior visitor in corresponding seat, described instrument for measuring blood pressure is for detecting the heart rate of the superior visitor in corresponding seat, described master controller is connected respectively with described multiple image recognizer and described multiple instrument for measuring blood pressure, the speed of service of roller-coaster is controlled based on the recognition result of described multiple image recognizer and the testing result of described multiple instrument for measuring blood pressure.
More specifically, in described roller-coaster passenger status real-time detecting system, also comprise: memory, prestore action template, also prestore predetermined maximal blood pressure, First bit quantity threshold value, second seat amount threshold, passenger's upper limit gray threshold and passenger's lower limit gray threshold, described First bit quantity threshold value is less than described second seat amount threshold, described passenger's upper limit gray threshold and passenger's lower limit gray threshold are used for the passenger in image and background separation, described action template stores with the form of image file, include the predetermined action that administrative staff notified before roller-coaster on passenger, speed control apparatus, comprise speed detector and brake, described speed detector is used for detecting in real time and exports the speed of service of roller-coaster, the speed control signal that described brake sends for receiving described master controller, and based on described speed control signal, different brake force is applied to roller-coaster, to realize the control of the speed of service to roller-coaster, described image recognizer comprises camera, for taking the passenger image of the superior visitor in corresponding seat, image processor, be connected respectively with described camera and described memory, comprise contrast strengthen unit, gray proces unit, wavelet filtering unit, passenger's recognition unit and action matching unit, described contrast strengthen unit is connected with described camera, to perform contrast enhancement processing to described passenger image, export and strengthen image, described gray proces unit is connected with described contrast strengthen unit, to perform gray processing process to described enhancing image, output gray level image, described wavelet filtering unit is connected with described gray proces unit, to perform wavelet filtering to described gray level image, output filtering image, described passenger's recognition unit is connected respectively with described wavelet filtering unit and described memory, so that the pixel identification of gray value in filtering image between passenger's upper limit gray threshold and passenger's lower limit gray threshold is formed passenger's subgraph, described action matching unit is connected respectively with described passenger's recognition unit and described memory, passenger's action in passenger's subgraph is mated with described action template, output matching result, described matching result comprises action coupling and action is not mated, RS-232 serial communication interface, is connected with described image processor, to be sent by RS-232 serial by described matching result, described instrument for measuring blood pressure is the Woundless blood pressure sleeve sheath shape that can tie up on passenger's arm, for detecting and exporting the blood pressure of the superior visitor in corresponding seat, described master controller and described memory, described speed detector, described brake, described RS-232 serial communication interface is connected respectively with described instrument for measuring blood pressure, receive the speed of service that described speed detector exports, receive the matching result that described RS-232 serial communication interface exports, receive the blood pressure that described instrument for measuring blood pressure exports, described blood pressure is carried out blood pressure with described predetermined maximal blood pressure compare, find the seat corresponding to image recognizer that described matching result mates for action to form the first seat set, find blood pressure comparative result for be greater than described predetermined maximal blood pressure instrument for measuring blood pressure corresponding to seat to form second seat set, determine the seat overlapped between described first seat set and described second seat set, calculate the quantity at described coincidence seat, when the quantity at described coincidence seat is more than or equal to described First bit quantity threshold value, different speed control signals is sent according to the speed of service that quantity and the described speed detector at described coincidence seat export, 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, the positional information of described coincidence seat in described roller-coaster to be wirelessly sent to the management control center of far-end, emergency access gauge tap, by described wireless transmitting-receiving equipments and described master controller wireless connections, for controlling the opening and closing of multiple emergency access, when receiving described passenger status alarm signal, according to the current location of the roller-coaster that described master controller forwards, open the emergency access that the current location of distance roller-coaster is nearest, positioning equipment, is connected with described master controller, in real time the current location of roller-coaster is sent to described master controller, voice playing equipment, is connected with described master controller, to play the phonetic warning file corresponding with described passenger status alarm signal in real time, wherein, described brake is when receiving passenger status alarm signal, brake hard roller-coaster is in halted state, described contrast strengthen unit, gray proces unit, wavelet filtering unit, passenger's recognition unit and action matching unit adopt fpga chip to realize all respectively, and the fpga chip adopted is the XC3S1000FT256 of XILINX company.
More specifically, in described roller-coaster passenger status real-time detecting system, also comprise power supply equipment, be connected with described master controller, for the operation of 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 roller-coaster, reverse roller-coaster, be turned over roller coaster, one in hanging and swinging roller-coaster.
More specifically, in described roller-coaster passenger status real-time detecting system, described speed control apparatus is arranged on roller-coaster vehicle bottom, described memory, described master controller, described voice playing equipment, described wireless transmitting-receiving equipments and described positioning equipment are arranged on roller-coaster car body front end, and described emergency access gauge tap is arranged on the side of the passage of roller-coaster.
More specifically, in described roller-coaster passenger status real-time detecting system, described memory is synchronous DRAM Synchronous Dynamic Random Access Memory.
Detailed description of the invention
Below with reference to accompanying drawings the embodiment of roller-coaster passenger status real-time detecting system of the present invention is described in detail.
Roller-coaster, English Roller coaster by name, or be also called roller coaster, be a kind of motor-driven recreation facility, be common in amusement park and theme park.La Makusiadenatang general gloomy (LaMarcusAdna Thompson) is people's (on January 20th, 1885) of first injection volume roller-coaster Patents technology, and once manufactured several 10 roller-coaster facilities, be therefore called " father of gravity " (Fatherof Gravity) by reputation.Although the terrible terror of roller-coaster, be very safe facility substantially.
But, although roller-coaster is comparatively safe, due to plant maintenance be not good at, the not first-class reason of passenger status, still there is certain danger.In prior art, roller-coaster administrative department is in order to ensure that the safety of roller-coaster is carried out, often safety measure is placed on before passenger takes roller-coaster, such as inform which passenger is not suitable for sitting roller-coaster by notice, by Security Personnel, the facility of roller-coaster and passenger's Ride Style are checked and supervised, even if there is monitoring, also for roller-coaster car body itself, and not to the monitoring state of passenger, more lack the passenger's feedback channel in roller-coaster running.
Roller-coaster passenger status real-time detecting system of the present invention, for roller-coaster passenger provides the passenger status testing mechanism based on image recognition and the passenger status testing mechanism based on blood pressure detecting, two cover mechanism are organically combined, to ensure the accuracy detecting data, and the operation of roller-coaster can be controlled according to passenger status, occur to avoid danger.
Fig. 1 is the block diagram of the roller-coaster passenger status real-time detecting system illustrated according to an embodiment of the present invention, described detection system comprises memory 1, speed control apparatus 2, wireless transmitting-receiving equipments 3, emergency access gauge tap 4, positioning equipment 5, multiple image recognizer 6, multiple instrument for measuring blood pressure 7, voice playing equipment 8 and master controller 9, the number of described multiple image recognizer 6 is n, the number of described multiple instrument for measuring blood pressure 7 is m, n equals m, for being greater than the natural number of 1, described master controller 9 and memory 1, speed control apparatus 2, wireless transmitting-receiving equipments 3, emergency access gauge tap 4, positioning equipment 5, multiple image recognizer 6, multiple instrument for measuring blood pressure 7 is connected respectively with voice playing equipment 8.
In Fig. 1, an image recognizer 6 and an instrument for measuring blood pressure 7 are installed in each seat of roller-coaster, described image recognizer 6 is for identifying the passenger's action in the passenger image of the superior visitor in corresponding seat, described instrument for measuring blood pressure 7 is for detecting the heart rate of the superior visitor in corresponding seat, described master controller 9 is connected respectively with described multiple image recognizer 6 and described multiple instrument for measuring blood pressure 7, controls the speed of service of roller-coaster based on the recognition result of described multiple image recognizer 6 and the testing result of described multiple instrument for measuring blood pressure 7.
Then, continue to be further detailed the concrete structure of roller-coaster passenger status real-time detecting system of the present invention.
Described memory 1, for prestoring action template, predetermined maximal blood pressure, First bit quantity threshold value, second seat amount threshold, passenger's upper limit gray threshold and passenger's lower limit gray threshold are also prestored, described First bit quantity threshold value is less than described second seat amount threshold, described passenger's upper limit gray threshold and passenger's lower limit gray threshold are used for the passenger in image and background separation, described action template stores with the form of image file, includes the predetermined action that administrative staff notified before roller-coaster on passenger.
Described speed control apparatus 2 comprises speed detector and brake, described speed detector is used for detecting in real time and exports the speed of service of roller-coaster, the speed control signal that described brake sends for receiving described master controller 9, and based on described speed control signal, different brake force is applied to roller-coaster, to realize the control of the speed of service to roller-coaster.
Described image recognizer 6 comprises camera, for taking the passenger image of the superior visitor in corresponding seat.
Described image recognizer 6 also comprises image processor 6, is connected respectively with described camera and described memory 1, comprises contrast strengthen unit, gray proces unit, wavelet filtering unit, passenger's recognition unit and action matching unit.
Described contrast strengthen unit is connected with described camera, to perform contrast enhancement processing to described passenger image, export and strengthen image, described gray proces unit is connected with described contrast strengthen unit, to perform gray processing process to described enhancing image, output gray level image, described wavelet filtering unit is connected with described gray proces unit, to perform wavelet filtering to described gray level image, output filtering image, described passenger's recognition unit is connected respectively with described wavelet filtering unit and described memory 1, so that the pixel identification of gray value in filtering image between passenger's upper limit gray threshold and passenger's lower limit gray threshold is formed passenger's subgraph, described action matching unit is connected respectively with described passenger's recognition unit and described memory 1, passenger's action in passenger's subgraph is mated with described action template, output matching result, described matching result comprises action coupling and action is not mated.
Described image recognizer 6 also comprises RS-232 serial communication interface, is connected with described image processor, to be sent by RS-232 serial by described matching result.
Described instrument for measuring blood pressure 7 is the Woundless blood pressure sleeve sheath shape that can tie up on passenger's arm, for detecting and exporting the blood pressure of the superior visitor in corresponding seat.
Described master controller 9 is connected respectively with described memory 1, described speed detector, described brake, described RS-232 serial communication interface and described instrument for measuring blood pressure 7, receive the speed of service that described speed detector exports, receive the matching result that described RS-232 serial communication interface exports, receive the blood pressure that described instrument for measuring blood pressure 7 exports.
Described blood pressure is carried out blood pressure with described predetermined maximal blood pressure and compares by described master controller 9, find the seat corresponding to image recognizer 6 that described matching result mates for action to form the first seat set, find blood pressure comparative result for be greater than described predetermined maximal blood pressure instrument for measuring blood pressure 7 corresponding to seat to form second seat set, determine the seat overlapped between described first seat set and described second seat set, calculate the quantity at described coincidence seat, when the quantity at described coincidence seat is more than or equal to described First bit quantity threshold value, different speed control signals is sent according to the speed of service that quantity and the described speed detector at described coincidence seat export, when the quantity at described coincidence seat is more than or equal to described second seat amount threshold, send passenger status alarm signal.
Described wireless transmitting-receiving equipments 3 is connected with described master controller 9, the positional information of described coincidence seat in described roller-coaster to be wirelessly sent to the management control center of far-end.
Described emergency access gauge tap 4 is by described wireless transmitting-receiving equipments 3 and the wireless connections of described master controller 9, for controlling the opening and closing of multiple emergency access, when receiving described passenger status alarm signal, according to the current location of the roller-coaster that described master controller 9 forwards, open the emergency access that the current location of distance roller-coaster is nearest.
Described positioning equipment 5 is connected with described master controller 9, in real time the current location of roller-coaster is sent to described master controller 9.
Described voice playing equipment 8 is connected with described master controller 9, to play the phonetic warning file corresponding with described passenger status alarm signal in real time.
Wherein, described brake is when receiving passenger status alarm signal, brake hard roller-coaster is in halted state, described contrast strengthen unit, gray proces unit, wavelet filtering unit, passenger's recognition unit and action matching unit adopt fpga chip to realize all respectively, and the fpga chip adopted is the XC3S1000FT256 of XILINX company.
Wherein, described detection system also comprises power supply equipment, be connected with described master controller 9, for the operation of roller-coaster provides supply of electric power, described master controller 9 is chosen as ARM11 embedded processing chip, described roller-coaster can be spiral roller-coaster, reverse roller-coaster, be turned over roller coaster, one in hanging and swinging 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 positioning equipment 5 can be selected to be arranged on roller-coaster car body front end, described emergency access gauge tap 4 can select the side of the passage being arranged on roller-coaster, described memory 1 can be selected as synchronous DRAM Synchronous Dynamic Random Access Memory.
In addition, arm processor is the first item risc microcontroller of Acorn computer Co., Ltd towards low budget Market Design.More early be called Acorn RISC Machine.Arm processor itself is 32 designs, but is also equipped with 16 bit instruction collection, saves in general and reaches 35%, but can retain having superiority of 32 systems than 32 codes of equal value.
The Jazelle technology of ARM makes Java accelerate to obtain the performance more much higher than the Java Virtual Machine (JVM) based on software, and equal non-Java accelerates nuclear phase than lower power consumption 80%.Cpu function increases 16 and 32 arithmetic operation capabilities that DSP instruction set provides enhancing, improve performance and flexibility.The debugging of the integrated SoC device of the height that ARM also provides two forward position characteristics to carry out the dark embedded processor of subband, they are embedded ICE-RT logic and the grand core of Embedded Trace (ETMS) series.
Three large features of arm processor are: little power consumption function is strong, 16/32 two instruction set and affiliate numerous.Specifically possesses following performance: 1, little, the low-power consumption of volume, low cost, high-performance; 2, support Thumb (16)/ARM (32) two instruction set, energy is compatible 8/16 devices well; 3, use register in a large number, instruction execution speed is faster; 4, most of data manipulation completes all in a register; 5, addressing system is simple flexibly, and execution efficiency is high; 6, command length is fixed.
In addition, image recognition, refers to and utilizes computer to process image, analyze and understand, to identify the target of various different mode and the technology to picture.
Image recognition may be based on the principal character of image.Each image has his feature, and as alphabetical A has a point, P has a circle and there is individual acute angle etc. at the center of Y.The research dynamic to eye during image recognition shows, sight line always concentrates in the principal character of image, and namely concentrate on the place of the maximum or contour direction flip-flop of image outline curvature, the information content in these places is maximum.And the scanning route of eyes also always forwards to another feature from a feature successively.As can be seen here, in image recognition processes, perceptual mechanism must get rid of the redundant information of input, extracts crucial information out, carries out characteristic matching, to obtain the target type of identification to the information of key.
Adopt roller-coaster passenger status real-time detecting system of the present invention, the technical problem of passenger's feedback mechanism is lacked in running for existing roller-coaster, have employed the mode of image recognition technology and blood pressure detecting combine with technique, the passenger status of roller-coaster is taken in accurate judgement, and determine the control strategy to roller-coaster operation conditions based on passenger status, thus provide feedback channel for the passenger be in roller-coaster running, avoid the body and mind of passenger to be subject to further infringement.
Be understandable that, although the present invention with preferred embodiment disclose as above, but above-described embodiment and be not used to limit the present invention.For any those of ordinary skill in the art, do not departing under technical solution of the present invention ambit, the technology contents of above-mentioned announcement all can be utilized to make many possible variations and modification to technical solution of the present invention, or be revised as the Equivalent embodiments of equivalent variations.Therefore, every content not departing from technical solution of the present invention, according to technical spirit of the present invention to any simple modification made for any of the above embodiments, equivalent variations and modification, all still belongs in the scope of technical solution of the present invention protection.