A kind of electrical alloy workshop minor's kind identification method
Technical field
The present invention relates to Workshop monitoring field, particularly relate to a kind of electrical alloy workshop minor's kind identification method.
Background technology
Electrician workshop is the large-scale place producing electrician's product, generally in electrician workshop, all placed a large amount of electrical equipments to set up the production line of electrician's product, some electrical equipments are due to more accurate, professional is needed to manipulate, the misoperation of layman or Migrant women all can cause these electrical equipments to produce expendable infringement, simultaneously, due to the particularity of electrical field, some electrical equipments in electrician workshop bring the parts of injury more to human body, even if professional's careless manipulation also may be injured, personnel's injury that the touching unintentionally of the even teenage personnel of Migrant women is caused may be more serious.
Prior art mainly relies on manual supervisory mode to the monitoring of teenage personnel, arranges special monitor staff in each corner of electrician workshop, to estimate each guarded region of electrician workshop, when finding that minor enters, warns.This mode too relies on manually, and monitoring efficiency is not high, and wastes huge manpower, adds a high economic expense to the operation department of electrician workshop.
Therefore, need a kind of electrical alloy workshop minor's kind identification method, rely on the mode of electronics automatically to detect pupillary type and the quantity of electrician workshop, and carry out long-range and local warning in time when there is minor, improve the monitoring efficiency of electrician workshop supervisory control system.
Summary of the invention
In order to solve the problem, the invention provides a kind of electrical alloy workshop minor's kind identification method, the location technology that induces one and wireless communication technology realize the monitoring of single equipment to all regions of electrician workshop, the high-precision acquisition technology that induces one and image recognition technology identify minor's type in guarded region and quantity intelligently, and carry out local and remote warning, thus maintain the safety of electrician workshop internal unit and personnel with cheaper cost.
According to an aspect of the present invention, provide a kind of electrical alloy workshop minor's kind identification method, the method comprises the following steps: 1) a kind of workshop minor's identification system is provided, above the guarded region being arranged on electrician workshop, 2) described system is used to identify, described recognition system comprises usb communication interface, static memory, IMAQ identifier and ARM9 processor, minor's tables of data that described usb communication interface stores to receive outside USB flash disk for connecting outside USB flash disk, described minor's tables of data comprises baby, child, every build data of juvenile and adult, described static memory is connected with described usb communication interface, to receive described minor's tables of data, described IMAQ identifier is connected with described static memory, for taking guarded region image, based on the personnel's type in described guarded region image and described minor's tables of data determination guarded region, described ARM9 processor is connected with described IMAQ identifier, determine whether to send alarm signal based on the personnel's type in described guarded region.
More specifically, in the minor's identification system of described workshop, described recognition system also comprises: driving mechanism, for driving described recognition system, comprise DC Brushless Motor, decelerator, motor driver, two power wheels and two universal wheels, described two universal wheels are two front-wheels, and described two power wheels are two trailing wheels, Wireless Telecom Equipment, two-way communication link is set up by cordless communication network with the electrician department management platform of far-end, for receiving the position drive singal that described electrician department management platform sends, described position drive singal comprises target location, described Wireless Telecom Equipment also for being there is alarm signal in baby, there is alarm signal in child or juvenile occurs that alarm signal sends to described electrician department management platform, the personnel amount of each personnel's type sent to described electrician department management platform, positioning equipment, for providing described recognition system in the locator data of described electrician workshop inside, described static memory is also for prestoring personnel's upper limit gray threshold and personnel's lower limit gray threshold, and described personnel's upper limit gray threshold and described personnel's lower limit gray threshold are used for the personnel in image to be separated with image background, described IMAQ identifier comprises high-definition camera and image processing equipment, described high-definition camera is for taking guarded region image, the resolution adopted is 1280 × 720, 1440 × 810, one in 1680 × 945 and 1920 × 1080, described image processing equipment is connected respectively with described high-definition camera and described static memory, comprise contrast strengthen unit, median filter unit, gray processing processing unit, personal identification unit and personnel's type matching unit, described contrast strengthen unit is connected with described high-definition camera receive described guarded region image and perform contrast enhancement processing to described guarded region image, image is strengthened to export, described median filter unit is connected with described contrast strengthen unit, based on median filtering algorithm, filtering process is performed with output filtering image to described enhancing image, described gray processing processing unit connects described median filter unit to carry out gray processing process to described filtering image, output gray level image, described personal identification unit is connected respectively with described gray processing processing unit and described static memory, the pixel identification of gray value in described gray level image between described personnel's upper limit gray threshold and described personnel's lower limit gray threshold is formed one or more personnel targets subgraph, described personnel's type matching unit is connected respectively with described personal identification unit and described static memory, the build data of counterpart personnel are determined based on each personnel targets subgraph, and the build data of each counterpart personnel are mated with the build data of each type personnel in described minor's tables of data, using the type that the match is successful the personnel's type as counterpart personnel's target subgraph, export personnel's type of one or more personnel targets subgraph, described ARM9 processor is connected with described image processing equipment with described driving mechanism, described Wireless Telecom Equipment, described positioning equipment, described target location being compared control described driving mechanism with described locator data drives described recognition system to arrive described target location, and after described recognition system arrives described target location, start described IMAQ identifier, display, is connected with described ARM9 processor, occurs alarm signal, alarm signal appears in child or juvenile occurs the prompting file that alarm signal is corresponding respectively, also for playing the personnel amount of each personnel's type in real time for playing in real time with baby, wherein, described ARM9 processor is after the described IMAQ identifier of startup, when personnel's type of the one or more personnel targets subgraphs received comprises baby, send baby and occur alarm signal, when personnel's type of the one or more personnel targets subgraphs received comprises child, send child and occur alarm signal, when personnel's type of the one or more personnel targets subgraphs received comprises juvenile, send juvenile and occur alarm signal, and the personnel amount of each personnel's type of personnel's type statistics based on one or more personnel targets subgraph, described target location is compared to control described driving mechanism and is driven described recognition system to arrive described target location also to comprise by described ARM9 processor with described locator data, when described target location is not mated with described locator data, close described IMAQ identifier, when described target location is mated with described locator data, start described IMAQ identifier.
More specifically, in the minor's identification system of described workshop, also comprise: power supply equipment, be connected with described ARM9 processor, with under the control of described ARM9 processor for described recognition system provides the management of power use.
More specifically, in the minor's identification system of described workshop, described contrast strengthen unit, described median filter unit, described gray processing processing unit, described personal identification unit and described personnel's type matching unit adopt independently fpga chip to realize all respectively.
More specifically, in the minor's identification system of described workshop, described ARM9 processor, when resources occupation rate is less than or equal to 20%, substitutes all operations of described image processing equipment.
More specifically, in the minor's identification system of described workshop, described ARM9 processor, when resources occupation rate is greater than 20%, terminates substituting all operations of described image processing equipment.
Accompanying drawing explanation
Below with reference to accompanying drawing, embodiment of the present invention are described, wherein:
Fig. 1 is the block diagram of the workshop minor's identification system illustrated according to an embodiment of the present invention.
Embodiment
Below with reference to accompanying drawings the embodiment of workshop of the present invention minor's identification system is described in detail.
Electrician workshop is the important place carrying out the production of electrician's product, in theory, forbids that minor enters, but, some minors, in order to reduce cost of labor, may employ to be engaged in electrician's production, simultaneously in the operation side of some electrician workshop, at the electrician workshop of mismanagement, some electrician workmans are owing to being man and wife both employed, and the unattended child of family, also can take the child of oneself to electrician workshop, while be engaged in electric work, look after the children.
But, electrician workshop is a kind of intensive place of typical equipment, the quantity possibility thousands of of loom, some looms are professional stronger, need experienced operating personnel to operate, non-professional adult's operation all may cause device damage and casualties, says nothing of minor, the cost of some electrical equipments is very high, and their damage can bring huge economic loss to the operation side of electrician workshop.As can be seen here, at electrician workshop, pupillary monitoring is necessary.
Of the prior artly mainly adopt manual type to carry out to pupillary monitoring scheme, arrange the traditional range estimation mode of multiple librarian use to monitor, both lost labor's costs, again too backwardness.
Workshop of the present invention minor's identification system, completes the identification to minor's type and quantity by the mode of electronic monitoring, and the mobility of described system reduce further again the cost of watch-dog.
Fig. 1 is the block diagram of the workshop minor's identification system illustrated according to an embodiment of the present invention, described recognition system comprises: usb communication interface 1, static memory 2, IMAQ identifier 3 and ARM9 processor 4, described ARM9 processor 4 is connected respectively with usb communication interface 1, static memory 2 and IMAQ identifier 3, and described static memory 2 is connected respectively with described usb communication interface 1 and described static memory 2.
Wherein, minor's tables of data that described usb communication interface 1 stores for receiving outside USB flash disk, described minor's tables of data comprises every build data of baby, child, juvenile and adult, described static memory 2 is for receive and to store described minor's tables of data, described IMAQ identifier 3 is for taking guarded region image, based on the personnel's type in described guarded region image and described minor's tables of data determination guarded region, described ARM9 processor 4 is for determining whether to send alarm signal based on the personnel's type in described guarded region.
Then, continue to be further detailed the concrete structure of workshop of the present invention minor's identification system.
Described recognition system also comprises: driving mechanism, for driving described recognition system, comprise DC Brushless Motor, decelerator, motor driver, two power wheels and two universal wheels, described two universal wheels are two front-wheels, and described two power wheels are two trailing wheels;
Described recognition system also comprises: Wireless Telecom Equipment, two-way communication link is set up by cordless communication network with the electrician department management platform of far-end, for receiving the position drive singal that described electrician department management platform sends, described position drive singal comprises target location, described Wireless Telecom Equipment also for being there is alarm signal in baby, there is alarm signal in child or juvenile occurs that alarm signal sends to described electrician department management platform, the personnel amount of each personnel's type sent to described electrician department management platform.
Described recognition system also comprises: positioning equipment, for providing described recognition system in the locator data of described electrician workshop inside.
Described static memory 2 is also for prestoring personnel's upper limit gray threshold and personnel's lower limit gray threshold, and described personnel's upper limit gray threshold and described personnel's lower limit gray threshold are used for the personnel in image to be separated with image background.
Described IMAQ identifier 3 comprises high-definition camera and image processing equipment, described high-definition camera is for taking guarded region image, the resolution adopted is the one in 1280 × 720,1440 × 810,1680 × 945 and 1920 × 1080, described image processing equipment is connected respectively with described high-definition camera and described static memory, comprises contrast strengthen unit, median filter unit, gray processing processing unit, personal identification unit and personnel's type matching unit.
Described contrast strengthen unit is connected with described high-definition camera receive described guarded region image and perform contrast enhancement processing to described guarded region image, image is strengthened to export, described median filter unit is connected with described contrast strengthen unit, based on median filtering algorithm, filtering process is performed with output filtering image to described enhancing image, described gray processing processing unit connects described median filter unit to carry out gray processing process to described filtering image, output gray level image, described personal identification unit is connected respectively with described gray processing processing unit and described static memory, the pixel identification of gray value in described gray level image between described personnel's upper limit gray threshold and described personnel's lower limit gray threshold is formed one or more personnel targets subgraph.
Described personnel's type matching unit is connected respectively with described personal identification unit and described static memory 2, the build data of counterpart personnel are determined based on each personnel targets subgraph, and the build data of each counterpart personnel are mated with the build data of each type personnel in described minor's tables of data, using the type that the match is successful as personnel's type of counterpart personnel's target subgraph, export personnel's type of one or more personnel targets subgraph.
Described ARM9 processor 4 is connected with described image processing equipment with described driving mechanism, described Wireless Telecom Equipment, described positioning equipment, described target location being compared control described driving mechanism with described locator data drives described recognition system to arrive described target location, and after described recognition system arrives described target location, start described IMAQ identifier.
Described recognition system also comprises: display, be connected with described ARM9 processor 4, there is alarm signal for playing in real time with baby, alarm signal appears in child or juvenile occurs the prompting file that alarm signal is corresponding respectively, also for playing the personnel amount of each personnel's type in real time.
Wherein, described ARM9 processor 4 is after the described IMAQ identifier 3 of startup, when personnel's type of the one or more personnel targets subgraphs received comprises baby, send baby and occur alarm signal, when personnel's type of the one or more personnel targets subgraphs received comprises child, send child and occur alarm signal, when personnel's type of the one or more personnel targets subgraphs received comprises juvenile, send juvenile and occur alarm signal, and the personnel amount of each personnel's type of personnel's type statistics based on one or more personnel targets subgraph, described target location is compared to control described driving mechanism and is driven described recognition system to arrive described target location also to comprise by described ARM9 processor 4 with described locator data, when described target location is not mated with described locator data, close described IMAQ identifier 3, when described target location is mated with described locator data, start described IMAQ identifier 3.
Wherein, described recognition system can also comprise: power supply equipment, be connected with described ARM9 processor 4, with under the control of described ARM9 processor 4 for described recognition system provides the management of power use, described contrast strengthen unit, described median filter unit, described gray processing processing unit, described personal identification unit and described personnel's type matching unit can adopt independently fpga chip to realize respectively, also can be integrated in one piece of fpga chip, described ARM9 processor 4 can when resources occupation rate be less than or equal to 20%, substitute all operations of described image processing equipment, described ARM9 processor 4 is when resources occupation rate is greater than 20%, end substituting all operations of described image processing equipment.
In addition, FPGA (Field-Programmable Gate Array), i.e. field programmable gate array, he is the product further developed on the basis of the programming devices such as PAL, GAL, CPLD.He occurs as a kind of semi-custom circuit in application-specific integrated circuit (ASIC) (ASIC) field, has both solved the deficiency of custom circuit, overcomes again the shortcoming that original programming device gate circuit number is limited.
With the circuit design that hardware description language (Verilog or VHDL) completes, can through simple comprehensive and layout, being burned onto fast on FPGA and testing, is the technology main flow of modern IC designs checking.These can be edited element and can be used to realize some basic logic gates (such as AND, OR, XOR, NOT) or more more complex combination function such as decoder or mathematical equation.Inside most FPGA, in these editable elements, also comprise memory cell such as trigger (Flip-flop) or other more complete block of memory.System designer can be coupled together the logical block of FPGA inside by editable connection as required, just looks like that a breadboard has been placed in a chip.One dispatch from the factory after the logical block of finished product FPGA can change according to designer with being connected, so FPGA can complete required logic function.The exploitation of FPGA has a great difference relative to the exploitation of conventional P C, single-chip microcomputer.FPGA, based on concurrent operation, realizes with hardware description language; Very large difference is had compared to the operation in tandem of PC or single-chip microcomputer (no matter being von Neumann structure or Harvard structure).
As far back as 1980 mid-nineties 90s, FPGA takes root in PLD equipment.CPLD and FPGA includes the Programmadle logic unit of some relatively large amount.The density of CPLD gate is between several thousand to several ten thousand logical blocks, and FPGA normally arrives millions of several ten thousand.
The main distinction of CPLD and FPGA is their system configuration.CPLD is a somewhat restrictive structure.This structure is arranged by the logical groups of one or more editable result sum and forms with the register of the locking of some relatively small amounts.Such result lacks editor's flexibility, but but have the time of delay and logical block that can estimate to the advantage of linkage unit height ratio.And FPGA has a lot of linkage units, although allow it edit more flexibly like this, structure is complicated many.
The difference of CPLD and FPGA another one is that most FPGA contains high-level built-in module (such as adder and multiplier) and built-in memory body.Therefore relevant important difference be much new FPGA support completely or part system in reconfigure.Allow their design along with system upgrade or dynamically reconfigure and change.Some FPGA can allow a part for equipment update and other parts continue normal operation.
Adopt workshop of the present invention minor's identification system, too high and the lower technical problem of monitoring precision for existing minor's type identification pattern cost of labor, adopt location technology and wireless communication technology to ensure that use recognition system can complete the target monitoring of all guarded regions, adopt IMAQ recognition technology to improve the identification accuracy of recognition system simultaneously, and when exception and alarm, thus effectively safeguard the normal operation circumstances of electrician workshop.
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.