Summary of the invention
In order to solve the technical problem that prior art exists, the invention provides a kind of prison monitor supervision platform based on power line communication, existing high-voltage electric power circuit on the enclosure wall of prison is utilized to carry out the transmission of monitor data, high-precision image recognition pattern is adopted to improve the recognition accuracy of convict in convict's Off Limits, thus avoid convict and prison administration person to occur directly to conflict, reduce the administrative expenses in prison.
According to an aspect of the present invention, provide a kind of prison monitor supervision platform based on power line communication, described monitor supervision platform is arranged on position, prison, comprise high-definition camera equipment, power line data transmitting apparatus, power line data receiving equipment, image recognition apparatus and digital signal processor, described high-definition camera equipment is used for taking to obtain Off Limits image to convict's Off Limits, described power line data transmitting apparatus for by described Off Limits image uploading to power circuit, described power line data receiving equipment is for downloading described Off Limits image from power circuit, described image recognition apparatus is used for carrying out image procossing to described Off Limits image, described digital signal processor is connected to determine based on processing result image to report to the police strategy in prison with described image recognition apparatus.
More specifically, also comprise: high-voltage electric power circuit, be arranged on above the enclosure wall of prison described based in the prison monitor supervision platform of power line communication, browse prison enclosure wall for preventing convict and escape prison, the voltage of described high-voltage electric power circuit is more than 35kV voltage, RS232 serial line interface, for connecting outside RS232 serial equipment, to receive the default gray threshold, presetted pixel amount threshold, preset area proportion threshold value, convict's clothes upper limit gray threshold and the convict's clothes lower limit gray threshold that store in outside RS232 serial equipment, described convict's clothes upper limit gray threshold and described convict's clothes lower limit gray threshold are used for the personnel being installed with convict's clothes in image and background separation, FLASH memory device, be connected with described RS232 serial line interface, for receiving and storing described default gray threshold, described presetted pixel amount threshold, described preset area proportion threshold value, described convict's clothes upper limit gray threshold and described convict's clothes lower limit gray threshold, described high-definition camera equipment comprises CMOS vision sensor, camera lens, red green filter, luminance sensor and secondary light source, described red green filter is arranged on described camera lens front, described camera lens is arranged on described CMOS vision sensor front, described CMOS vision sensor carries out image data acquiring to obtain Off Limits image to convict's Off Limits, the resolution of described Off Limits image is 3840 × 2160, described luminance sensor is for detecting the ambient brightness of surrounding environment, described secondary light source is connected with described luminance sensor, for based on described ambient brightness for the shooting of described high-definition camera equipment provides floor light light, intensity and the described ambient brightness of described floor light light are inversely proportional to, described power line data transmitting apparatus comprises the first coupling circuit, first transient protection circuit and the first power line communication transceiver, described first power line communication transceiver is connected to receive described Off Limits image with described CMOS vision sensor, for described Off Limits image is packaged into PLC frame format, described first coupling circuit is connected with described high-voltage electric power circuit, described first transient protection circuit is connected respectively with described first coupling circuit and the first power line communication transceiver, so that the Off Limits image of PLC frame format is loaded on described high-voltage electric power circuit through described first transient protection circuit and described first coupling circuit successively, described power line data receiving equipment comprises the second coupling circuit, second transient protection circuit and the second power line communication transceiver, described second coupling circuit connects described high-voltage electric power circuit to receive the Off Limits image of PLC frame format, described second transient protection circuit is connected respectively with described second coupling circuit and described second power line communication transceiver, so that the Off Limits image of PLC frame format is passed through described second coupling circuit successively, described second transient protection circuit downloads to described second power line communication transceiver from described high-voltage electric power circuit, described second power line communication transceiver to the Off Limits image solution frame of PLC frame format to obtain described Off Limits image, described image recognition apparatus is connected respectively with described FLASH memory device and described power line data receiving equipment, for carrying out image procossing to described Off Limits image, described image recognition apparatus comprises edge booster, gray processing processor, bianry image filter and convict's identifier, described edge booster is connected to receive described Off Limits image with described power line data receiving equipment and carries out edge to described Off Limits image and strengthens and process, obtain edge enhanced images, described gray processing processor is connected to perform gray processing process to described edge enhanced images with described edge booster, obtain gray level image, described bianry image filter and described gray processing processor and described FLASH memory device are connected with the bianry image filtering performed described gray level image based on regional connectivity respectively, obtain filtering image, described convict's identifier is connected respectively with described bianry image filter and described FLASH memory device, by the combination of pixels of gray value in described filtering image between described convict's clothes upper limit gray threshold and described convict's clothes lower limit gray threshold to obtain convict's sub pattern, described digital signal processor is connected respectively with described image recognition apparatus and described power line data receiving equipment, receive described Off Limits image and described convict's sub pattern, by the area of described convict's sub pattern divided by the area of described Off Limits image to obtain real-time area ratio, and when described real-time area ratio is more than or equal to preset area proportion threshold value, send convict and occur signal, when described real-time area ratio is less than preset area proportion threshold value, send convict and do not occur signal, described digital signal processor is also presented at highlighted for described convict's sub pattern on described Off Limits image to obtain combination picture, display device, is connected with described digital signal processor, and to show described combination picture, and with described convict, display occurs that the word warning message that signal is corresponding does not appear in signal or described convict, wherein, described the bianry image filtering that described gray level image performs based on regional connectivity specifically to be comprised: using each pixel in described gray level image as detected pixel, adopt the connected region of 3 × 3 pixel filter windows foundation centered by described detected pixel, calculate gray value in described connected region and be greater than the number of pixels of default gray threshold, if the number of pixels calculated is more than or equal to presetted pixel amount threshold, then described detected pixel is non-noise point, retain described detected pixel, if the number of pixels calculated is less than presetted pixel amount threshold, then described detected pixel is noise spot, filtering is carried out to described detected pixel.
More specifically, also comprise: two-way speaker based in the prison monitor supervision platform of power line communication described, be connected with described digital signal processor, occur that the audio alert file that signal is corresponding does not appear in signal or described convict to play with described convict.
More specifically, described based in the prison monitor supervision platform of power line communication: described edge booster, described gray processing processor, described bianry image filter and described convict's identifier adopt different fpga chips to realize respectively, and are integrated on one piece of surface-mounted integrated circuit.
More specifically, described based in the prison monitor supervision platform of power line communication: described edge booster, described gray processing processor, described bianry image filter and described convict's identifier adopt same fpga chip to realize.
More specifically, described based in the prison monitor supervision platform of power line communication: described first power line communication transceiver and described second power line communication transceiver all adopt the integrated transceiving chip INT5200 of power line to realize.
Embodiment
Below with reference to accompanying drawings the embodiment of the prison monitor supervision platform based on power line communication of the present invention is described in detail.
Prison is the place of supervision convict, regulator and convict occur directly to conflict, the ensure personal safety of regulator, a kind of mode of avoiding convict to escape from prison is avoided to be that convict's Off Limits is set, the situation of convict's Off Limits is monitored in real time, has convict to occur just reporting to the police immediately once distribution.In prior art, the monitoring of convict's Off Limits generally needs to build monitoring electronic circuit in addition, and cost is higher.
In order to overcome above-mentioned deficiency, the present invention has built a kind of prison monitor supervision platform based on power line communication, the monitoring of convict's Off Limits is integrated on the enclosure wall of prison in existing high-voltage electric power circuit, thus does not need to build new monitoring electronic circuit and can complete monitoring function.
Fig. 1 is the block diagram of the prison monitor supervision platform based on power line communication illustrated according to an embodiment of the present invention, described monitor supervision platform is arranged on position, prison, comprise high-definition camera equipment 1, power line data transmitting apparatus 2, power line data receiving equipment 3, image recognition apparatus 4 and digital signal processor 5, described high-definition camera equipment 1 is for taking to obtain Off Limits image to convict's Off Limits, described power line data transmitting apparatus 2 for by described Off Limits image uploading to power circuit, described power line data receiving equipment 3 is for downloading described Off Limits image from power circuit, described image recognition apparatus 4 is for carrying out image procossing to described Off Limits image, described digital signal processor 5 is connected to determine based on processing result image to report to the police strategy in prison with described image recognition apparatus 4.
Then, continue to be further detailed the concrete structure of the prison monitor supervision platform based on power line communication of the present invention.
Described monitor supervision platform also comprises: high-voltage electric power circuit, is arranged on above the enclosure wall of prison, and browse prison enclosure wall for preventing convict and escape prison, the voltage of described high-voltage electric power circuit is more than 35kV voltage.
Described monitor supervision platform also comprises: RS232 serial line interface, for connecting outside RS232 serial equipment, to receive the default gray threshold, presetted pixel amount threshold, preset area proportion threshold value, convict's clothes upper limit gray threshold and the convict's clothes lower limit gray threshold that store in outside RS232 serial equipment, described convict's clothes upper limit gray threshold and described convict's clothes lower limit gray threshold are used for the personnel being installed with convict's clothes in image and background separation.
Described monitor supervision platform also comprises: FLASH memory device, be connected with described RS232 serial line interface, for receiving and storing described default gray threshold, described presetted pixel amount threshold, described preset area proportion threshold value, described convict's clothes upper limit gray threshold and described convict's clothes lower limit gray threshold.
Described high-definition camera equipment 1 comprises CMOS vision sensor, camera lens, red green filter, luminance sensor and secondary light source, described red green filter is arranged on described camera lens front, described camera lens is arranged on described CMOS vision sensor front, described CMOS vision sensor carries out image data acquiring to obtain Off Limits image to convict's Off Limits, the resolution of described Off Limits image is 3840 × 2160, described luminance sensor is for detecting the ambient brightness of surrounding environment, described secondary light source is connected with described luminance sensor, for based on described ambient brightness for the shooting of described high-definition camera equipment provides floor light light, intensity and the described ambient brightness of described floor light light are inversely proportional to.
Described power line data transmitting apparatus 2 comprises the first coupling circuit, first transient protection circuit and the first power line communication transceiver, described first power line communication transceiver is connected to receive described Off Limits image with described CMOS vision sensor, for described Off Limits image is packaged into PLC frame format, described first coupling circuit is connected with described high-voltage electric power circuit, described first transient protection circuit is connected respectively with described first coupling circuit and the first power line communication transceiver, so that the Off Limits image of PLC frame format is loaded on described high-voltage electric power circuit through described first transient protection circuit and described first coupling circuit successively.
Described power line data receiving equipment 3 comprises the second coupling circuit, second transient protection circuit and the second power line communication transceiver, described second coupling circuit connects described high-voltage electric power circuit to receive the Off Limits image of PLC frame format, described second transient protection circuit is connected respectively with described second coupling circuit and described second power line communication transceiver, so that the Off Limits image of PLC frame format is passed through described second coupling circuit successively, described second transient protection circuit downloads to described second power line communication transceiver from described high-voltage electric power circuit, described second power line communication transceiver to the Off Limits image solution frame of PLC frame format to obtain described Off Limits image.
Described image recognition apparatus 4 is connected respectively with described FLASH memory device and described power line data receiving equipment 3, for carrying out image procossing to described Off Limits image, described image recognition apparatus 4 comprises edge booster, gray processing processor, bianry image filter and convict's identifier, described edge booster is connected to receive described Off Limits image with described power line data receiving equipment and carries out edge to described Off Limits image and strengthens and process, obtain edge enhanced images, described gray processing processor is connected to perform gray processing process to described edge enhanced images with described edge booster, obtain gray level image, described bianry image filter and described gray processing processor and described FLASH memory device are connected with the bianry image filtering performed described gray level image based on regional connectivity respectively, obtain filtering image, described convict's identifier is connected respectively with described bianry image filter and described FLASH memory device, by the combination of pixels of gray value in described filtering image between described convict's clothes upper limit gray threshold and described convict's clothes lower limit gray threshold to obtain convict's sub pattern.
Described digital signal processor 5 is connected respectively with described image recognition apparatus 4 and described power line data receiving equipment 3, receive described Off Limits image and described convict's sub pattern, by the area of described convict's sub pattern divided by the area of described Off Limits image to obtain real-time area ratio, and when described real-time area ratio is more than or equal to preset area proportion threshold value, send convict and occur signal, when described real-time area ratio is less than preset area proportion threshold value, send convict and do not occur signal, described digital signal processor 5 is also presented at highlighted for described convict's sub pattern on described Off Limits image to obtain combination picture.
Display device, is connected with described digital signal processor 5, and to show described combination picture, and with described convict, display occurs that the word warning message that signal is corresponding does not appear in signal or described convict.
Wherein, described the bianry image filtering that described gray level image performs based on regional connectivity specifically to be comprised: using each pixel in described gray level image as detected pixel, adopt the connected region of 3 × 3 pixel filter windows foundation centered by described detected pixel, calculate gray value in described connected region and be greater than the number of pixels of default gray threshold, if the number of pixels calculated is more than or equal to presetted pixel amount threshold, then described detected pixel is non-noise point, retain described detected pixel, if the number of pixels calculated is less than presetted pixel amount threshold, then described detected pixel is noise spot, filtering is carried out to described detected pixel.
Alternatively, also comprise in described monitor supervision platform: two-way speaker, be connected with described digital signal processor 5, occur that the audio alert file that signal is corresponding does not appear in signal or described convict to play with described convict; Described edge booster, described gray processing processor, described bianry image filter and described convict's identifier adopt different fpga chips to realize respectively, and are integrated on one piece of surface-mounted integrated circuit; Alternatively, described edge booster, described gray processing processor, described bianry image filter and described convict's identifier adopt same fpga chip to realize; And described first power line communication transceiver and described second power line communication transceiver can adopt the integrated transceiving chip INT5200 of power line to realize.
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.
FPGA is in general slow than the speed of ASIC (application-specific integrated circuit (ASIC)), realizes same function ratio ASIC circuit area and wants large.But they also have a lot of advantages such as can finished product fast, can be modified the mistake in correction program and more cheap cost.Manufacturer also may provide the FPGA of cheap still edit capability difference.Because these chips have poor can edit capability, so exploitations of these designs complete on common FPGA, then design is transferred to one and is similar on the chip of ASIC.Another method is with CPLD (Complex Programmable Logic Device, CPLD).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 him edit more flexibly like this, structure is complicated many.
Adopt the prison monitor supervision platform based on power line communication of the present invention, for the technical problem that the monitor supervision platform cost performance of convict's Off Limits in prior art is lower, existing for prison high-voltage electric power circuit is used for the efficient transmission of monitor data, introduce high-precision IMAQ and image recognition technology simultaneously, improve the precision of monitor data, meet the two kinds of demands reducing monitoring cost and improve monitoring effect.
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.