CN116453278A - Intrusion monitoring method combining deep learning intelligent detection and optical fiber vibration sensing - Google Patents
Intrusion monitoring method combining deep learning intelligent detection and optical fiber vibration sensing Download PDFInfo
- Publication number
- CN116453278A CN116453278A CN202310331155.2A CN202310331155A CN116453278A CN 116453278 A CN116453278 A CN 116453278A CN 202310331155 A CN202310331155 A CN 202310331155A CN 116453278 A CN116453278 A CN 116453278A
- Authority
- CN
- China
- Prior art keywords
- intrusion
- deep learning
- optical fiber
- image
- fiber vibration
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G08—SIGNALLING
- G08B—SIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
- G08B13/00—Burglar, theft or intruder alarms
- G08B13/16—Actuation by interference with mechanical vibrations in air or other fluid
- G08B13/1654—Actuation by interference with mechanical vibrations in air or other fluid using passive vibration detection systems
-
- G—PHYSICS
- G08—SIGNALLING
- G08B—SIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
- G08B13/00—Burglar, theft or intruder alarms
- G08B13/18—Actuation by interference with heat, light, or radiation of shorter wavelength; Actuation by intruding sources of heat, light, or radiation of shorter wavelength
- G08B13/189—Actuation by interference with heat, light, or radiation of shorter wavelength; Actuation by intruding sources of heat, light, or radiation of shorter wavelength using passive radiation detection systems
- G08B13/194—Actuation by interference with heat, light, or radiation of shorter wavelength; Actuation by intruding sources of heat, light, or radiation of shorter wavelength using passive radiation detection systems using image scanning and comparing systems
- G08B13/196—Actuation by interference with heat, light, or radiation of shorter wavelength; Actuation by intruding sources of heat, light, or radiation of shorter wavelength using passive radiation detection systems using image scanning and comparing systems using television cameras
- G08B13/19602—Image analysis to detect motion of the intruder, e.g. by frame subtraction
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02A—TECHNOLOGIES FOR ADAPTATION TO CLIMATE CHANGE
- Y02A90/00—Technologies having an indirect contribution to adaptation to climate change
- Y02A90/10—Information and communication technologies [ICT] supporting adaptation to climate change, e.g. for weather forecasting or climate simulation
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Burglar Alarm Systems (AREA)
Abstract
本发明公开了一种深度学习智能检测与光纤振动传感结合的入侵监测方法,包括如下步骤:(1)接收光纤振动传感装置上报的预警信息,同时获取光纤振动处的图像;(2)对入侵现场的环境场景和应用场景进行区分,基于区分后的多场景构建深度学习模型库;(3)综合所述光纤振动传感装置当前所处的环境场景和应用场景,根据风力、光照和视角信息,从所述深度学习模型库匹配相应的深度学习模型对所述图像进行目标检测,以确定最终的入侵告警。本发明中经训练后的深度学习模型库可更加准确地分场景智能监测、识别入侵行为。
The invention discloses an intrusion monitoring method combining deep learning intelligent detection and optical fiber vibration sensing, comprising the following steps: (1) receiving early warning information reported by an optical fiber vibration sensing device, and simultaneously acquiring an image of an optical fiber vibration; (2) Distinguish the environmental scene and application scene of the intrusion site, and construct a deep learning model library based on the differentiated multi-scenario; (3) synthesize the current environmental scene and application scene of the optical fiber vibration sensing device, according to wind force, illumination and For viewing angle information, match the corresponding deep learning model from the deep learning model library to perform target detection on the image to determine the final intrusion alarm. The trained deep learning model library in the present invention can intelligently monitor and identify intrusion behaviors by scene more accurately.
Description
技术领域technical field
本发明属于安防领域,具体涉及一种深度学习智能检测与光纤振动传感结合的入侵监测方法。The invention belongs to the field of security protection, and in particular relates to an intrusion monitoring method combining deep learning intelligent detection and optical fiber vibration sensing.
背景技术Background technique
近年来,分布式光纤传感技术发展迅猛,具有精度高、响应速度快及动态范围广等优点。采用光缆作为传感器和信号传输媒介,无需现场供电,具有本征安全及防腐蚀防爆等特点,可以有效进行高压电缆防盗监测、海底电缆扰动监测、石化管道防盗监测、铁路沿线分布式光纤入侵安防及其他分布式光纤周界安防等,将安全事故消除在萌芽状态,防患于未然。In recent years, distributed optical fiber sensing technology has developed rapidly, which has the advantages of high precision, fast response speed and wide dynamic range. Optical cable is used as the sensor and signal transmission medium, no on-site power supply is required, and it has the characteristics of intrinsic safety, anti-corrosion and explosion-proof, etc. It can effectively monitor high-voltage cable anti-theft, submarine cable disturbance monitoring, petrochemical pipeline anti-theft monitoring, and distributed optical fiber intrusion security along the railway. Other distributed optical fiber perimeter security, etc., eliminate security accidents in the bud and prevent problems before they happen.
基于分布式光纤的传感技术现已广泛应用于周界安防、地震勘探、轨道交通和管道运输等领域。分布式光纤传感器主要有埋地和栅栏两种部署应用方式。栅栏部署方式主要用于厂区、机场、军事基地和监狱等周界安防监测。埋地部署方式主要用于防止地下敷设的电线、输油管线及输气管线等受到人工或机械的挖掘破坏。Sensing technology based on distributed optical fiber has been widely used in perimeter security, seismic exploration, rail transit and pipeline transportation and other fields. Distributed optical fiber sensors mainly have two deployment methods: buried and fence. The fence deployment method is mainly used for perimeter security monitoring of factories, airports, military bases and prisons. The buried deployment method is mainly used to prevent the underground wires, oil pipelines and gas pipelines from being damaged by manual or mechanical excavation.
同时,智能摄像技术在国防以及重大民生工程领域发挥着越来越重要的作用。如,在电力领域,挖掘机的外力会破坏地下输电线路,严重威胁工业生产和人民生活的供电安全。目前很多输电走廊项目已经采用远程摄像头进行监控,但需要运维人员长期在岗监视,效率很低。在油气输送管线领域,挖掘机施工引起的管道事故时有发生。At the same time, smart camera technology is playing an increasingly important role in national defense and major livelihood projects. For example, in the field of electric power, the external force of excavators will damage underground transmission lines, seriously threatening the safety of power supply for industrial production and people's lives. At present, many transmission corridor projects have been monitored by remote cameras, but operation and maintenance personnel are required to monitor on the job for a long time, and the efficiency is very low. In the field of oil and gas pipelines, pipeline accidents caused by excavator construction occur from time to time.
单独使用光纤传感技术进行入侵监测存在较高的误报率,如,大风天光缆栅栏的晃动会被误认为入侵,靠近马路埋地的光缆会在大型车辆通过时振动而产生误报警。单独使用摄像技术进行入侵监测也存在较高的误报率,如,在大风等恶劣天气情况下的摄像头抖动、光照不足情况下的摄像模糊等,都会产生误报警。如何高效、准确地全天候监测破坏性入侵行为成为一个亟待解决的难题。Using optical fiber sensing technology alone for intrusion monitoring has a high false alarm rate. For example, the shaking of the optical cable fence in a windy day will be mistaken for intrusion, and the optical cable buried near the road will vibrate when large vehicles pass by, causing false alarms. Using camera technology alone for intrusion monitoring also has a high rate of false alarms. For example, camera shake in severe weather conditions such as strong winds, and camera blur in insufficient light conditions will all generate false alarms. How to efficiently and accurately monitor destructive intrusions around the clock has become an urgent problem to be solved.
发明内容Contents of the invention
本发明的目的在于克服上述现有技术中存在的不足,区分现场的环境场景和应用场景,考虑多个环境场景多维度构造覆盖不同应用场景每种破坏性入侵行为的深度学习模型库,采用分布式光缆的入侵探测信号触发摄像头采集入侵现场的图像,建立图像样本库用作训练数据集,将训练数据集输入深度学习模型库进行训练,经训练后的深度学习模型库可更加准确地分场景智能监测、识别入侵行为。The purpose of the present invention is to overcome the deficiencies in the above-mentioned prior art, to distinguish the environmental scene and the application scene on the spot, to consider multiple environmental scenes and multi-dimensional constructions to cover the deep learning model library of each destructive intrusion behavior in different application scenes, and to adopt distributed The intrusion detection signal of the optical fiber cable triggers the camera to collect images of the intrusion site, establishes an image sample library as a training data set, and inputs the training data set into the deep learning model library for training. The trained deep learning model library can more accurately classify the scene Intelligent monitoring and identification of intrusion behavior.
为实现上述发明目的,本发明提供一种深度学习智能检测与光纤振动传感结合的入侵监测方法,包括如下步骤:(1)接收光纤振动传感装置上报的入侵预警信息,同时获取光纤振动处的图像;所述入侵预警信息至少包括位置、风力因子、宽度、持续时间和强度;(2)对入侵现场的环境场景和应用场景进行区分,基于区分后的多场景构建深度学习模型库;(3)综合所述光纤振动传感装置当前所处的环境场景和应用场景,根据风力、光照和视角信息,从所述深度学习模型库匹配相应的深度学习模型对所述图像进行目标检测,以确定最终的入侵告警。In order to achieve the purpose of the above invention, the present invention provides an intrusion monitoring method combining deep learning intelligent detection and optical fiber vibration sensing, including the following steps: (1) receiving the intrusion warning information reported by the optical fiber vibration sensing device, and simultaneously obtaining the optical fiber vibration location The image of the intrusion warning information includes at least position, wind factor, width, duration and intensity; (2) distinguish the environmental scene and the application scene of the intrusion site, and build a deep learning model library based on the differentiated multi-scenario; ( 3) Integrating the current environmental scene and application scene of the optical fiber vibration sensing device, according to the wind force, illumination and viewing angle information, matching the corresponding deep learning model from the deep learning model library to perform target detection on the image, to Determine the final intrusion alert.
进一步地,步骤(2)中所述环境场景包括天气情况、光照条件和图像采样视角位置;所述应用场景包括栅栏应用防区和埋地应用防区。Further, the environmental scene in step (2) includes weather conditions, lighting conditions, and image sampling angle positions; the application scene includes fence application defense areas and buried application defense areas.
进一步地,所述步骤(1)中,获取图像的方式为定时采集在所述光纤振动监测区域预设的固定摄像装置所拍摄的监测图像并缓存,在所述光纤振动传感装置告警时调用上报的入侵告警位置处最新的缓存图像。Further, in the step (1), the way to acquire images is to regularly collect and cache the monitoring images taken by the fixed camera device preset in the optical fiber vibration monitoring area, and call when the optical fiber vibration sensing device alarms The latest cached image at the reported intrusion alarm location.
进一步地,所述步骤(1)中,获取图像的方式为调度在所述光纤振动监测区域预设的可活动摄像装置对准所述光纤振动传感装置上报的入侵告警位置处拍摄图像。Further, in the step (1), the way of acquiring images is to schedule a movable camera device preset in the optical fiber vibration monitoring area to shoot images at the intrusion alarm position reported by the optical fiber vibration sensing device.
进一步地,所述可活动摄像装置包括空中巡逻的无人机、巡检机器人和旋转式摄像机。Further, the movable camera device includes an aerial patrol drone, a patrol robot and a rotating camera.
进一步地,在通过深度学习模型进行目标检测前,先使用背景差分法检测图像中是否存在活动目标,如存在活动目标,则通过深度学习模型进行目标检测;如不存在活动目标,则无需继续进行目标检测。Further, before performing target detection through the deep learning model, first use the background difference method to detect whether there is an active target in the image, if there is an active target, then perform target detection through the deep learning model; if there is no active target, there is no need to continue Target Detection.
进一步地,对所述栅栏应用防区,至少分别构建防攀爬、防剪网和防敲打撞击的深度学习模型库。Further, the defense zone is applied to the fence, and at least deep learning model libraries for anti-climbing, anti-shearing and anti-knocking are respectively constructed.
进一步地,对所述埋地应用防区,至少分别构建防挖掘和防顶管的深度学习模型库。Further, for the buried application defense zone, at least deep learning model libraries for anti-excavation and anti-pipe jacking are respectively constructed.
进一步地,所述深度学习模型库从天气情况、光照条件和图像采样视角位置三个维度构建,其中天气情况包括正常天气和大风天气,光照条件包括包括光照正常和光照差的场景,图像采样视角位置包括高空视角和地面视角;所述深度学习模型库包括多个深度学习模型,三个维度的不同取值组合对应一个深度学习模型。Further, the deep learning model library is constructed from three dimensions of weather conditions, lighting conditions, and image sampling perspective positions, wherein the weather conditions include normal weather and windy weather, the lighting conditions include scenes including normal lighting and poor lighting, and the image sampling perspective The location includes a high-altitude perspective and a ground perspective; the deep learning model library includes multiple deep learning models, and different value combinations of the three dimensions correspond to a deep learning model.
进一步地,所述深度学习模型库的训练方法包括如下步骤:(a)根据光纤振动传感装置检测的入侵预警信息,对采集的入侵现场图像进行自动标注,据此建立图像样本库用作训练数据集;(b)基于深度学习目标检测算法对所述训练数据集进行训练;(c)根据应用场景以及风力、光照、视角信息更新到相应的深度学习模型库中。Further, the training method of the deep learning model library includes the following steps: (a) according to the intrusion warning information detected by the optical fiber vibration sensing device, the collected intrusion site images are automatically marked, and an image sample library is established accordingly for training Data set; (b) training the training data set based on the deep learning target detection algorithm; (c) updating the corresponding deep learning model library according to the application scene, wind force, illumination, and viewing angle information.
进一步地,其特征在于,步骤(a)中所述图像样本库包括正样本库和负样本库,所述正样本库为存在破坏性入侵行为的图像集,所述负样本库为不存在破坏性入侵行为的图像集。Further, it is characterized in that the image sample library in step (a) includes a positive sample library and a negative sample library, the positive sample library is an image set with destructive intrusion behavior, and the negative sample library is an image set without damage Collection of images of sexual assault.
进一步地,判断所述入侵现场图像中是否存在活动目标,如是,则将所述入侵现场图像纳入所述正样本库,如否,则将所述入侵现场图像纳入所述负样本库。Further, it is judged whether there is an active target in the intrusion scene image, if yes, the intrusion scene image is included in the positive sample library, and if not, the intrusion scene image is included in the negative sample library.
进一步地,采用背景差分法判断所述入侵现场图像中是否存在活动目标。Further, a background difference method is used to judge whether there is an active target in the intrusion scene image.
进一步地,存在活动目标的所述入侵现场图像还需同时满足光纤振动告警阈值才被纳入所述正样本库,否则纳入所述负样本库。Further, the intrusion scene images with active targets must also meet the optical fiber vibration alarm threshold before being included in the positive sample library, otherwise included in the negative sample library.
进一步地,对入侵现场图像中的活动目标添加标注信息,所述标注信息包括标注框和标签,所述标注框为活动目标的最大连通区域的最大外接矩形,所述标签用于标记该活动目标所属的入侵现场图像为正样本或负样本。Further, adding labeling information to the active target in the intrusion scene image, the labeling information includes a labeling frame and a label, the labeling frame is the largest bounding rectangle of the largest connected area of the active target, and the label is used to mark the active target The belonging intrusion scene image is a positive sample or a negative sample.
进一步地,将所述入侵现场图像及其标注信息分场景分类进行保存,以用于所述深度学习模型库中不同的深度学习模型。Further, the intrusion site image and its annotation information are stored by scene classification, so as to be used for different deep learning models in the deep learning model library.
进一步地,所述步骤(b)中采用YOLOv5目标检测算法进行训练,经训练后的深度学习模型适于以加权非极大值的方式对输入的入侵现场图像的标注框进行筛选,最终输出活动目标是否存在破坏性入侵行为的分类结论和边框回归。Further, in the step (b), the YOLOv5 target detection algorithm is used for training, and the trained deep learning model is suitable for screening the annotation frame of the input intrusion scene image in a weighted non-maximum manner, and finally outputs the activity Classification conclusion and bounding box regression of whether the target has destructive intrusion behavior.
进一步地,步骤(1)中所述光纤振动传感装置检测振动的灵敏度可调。Further, the vibration detection sensitivity of the optical fiber vibration sensing device in step (1) is adjustable.
与现有技术相比,本发明的有益效果为:Compared with prior art, the beneficial effect of the present invention is:
1、采用分布式振动光缆作为触发装置,减少摄像头对夜间或者视线不清楚的误报。对于管道附近农田、道路等的正常施工挖掘不进行报警,减少了埋地管线应用的误报。采用智能摄像技术,对于大风等引起的栅栏晃动产生的告警,进一步进行识别确认,减少周界安防的误报。1. The distributed vibration optical cable is used as the trigger device to reduce the false alarm of the camera at night or when the line of sight is unclear. No alarm will be issued for normal construction and excavation of farmland and roads near the pipeline, which reduces false alarms in the application of buried pipelines. Intelligent camera technology is used to further identify and confirm the alarms caused by the shaking of the fence caused by strong winds, so as to reduce false alarms of perimeter security.
2、从光照、视角、天气三个维度,针对每种破坏行为,构造一个深度学习的模型库,可以更加精细的分场景来识别入侵行为。区分场景的训练数据,训练模型更有针对性,识别效果更好。2. Construct a deep learning model library for each sabotage behavior from the three dimensions of illumination, viewing angle, and weather, which can identify intrusion behaviors in a more precise and sub-scene. Differentiate the training data of the scene, the training model is more targeted, and the recognition effect is better.
3、采用光纤传感振动检测技术,触发摄像头采集真实环境真实的入侵图像,建立样本库,摄像角度、图像质量等更符合现场的环境,训练的模型针对性更强,性能更加优异。3. Using fiber optic sensor vibration detection technology, the camera is triggered to collect real intrusion images in the real environment, and a sample library is established. The camera angle and image quality are more in line with the on-site environment. The trained model is more targeted and has better performance.
4、采用背景差分技术来预先确定移动的目标,进行自动标注,提高了标注的效率以及准确率。4. The background difference technology is used to predetermine the moving target for automatic labeling, which improves the efficiency and accuracy of labeling.
附图说明Description of drawings
图1为本发明一个实施例的流程图。Fig. 1 is a flowchart of an embodiment of the present invention.
图2为本发明一个实施例中的深度学习模型库示意图。Fig. 2 is a schematic diagram of a deep learning model library in an embodiment of the present invention.
图3为本发明一个实施例中以背景差分法检测图像中挖掘机挖掘动作(活动目标)的示意图。Fig. 3 is a schematic diagram of detecting an excavator's digging action (moving target) in an image by background subtraction method in an embodiment of the present invention.
图4为本发明一个实施例中真实入侵行为与扰动的对比示意图。Fig. 4 is a schematic diagram of a comparison between real intrusion behavior and disturbance in an embodiment of the present invention.
具体实施方式Detailed ways
下面结合附图和具体实施例,对本发明的技术方案做进一步说明。The technical solutions of the present invention will be further described below in conjunction with the accompanying drawings and specific embodiments.
如图1所示,本发明深度学习智能检测与光纤振动传感结合的入侵监测方法的一个实施例,包括如下步骤:(1)接收光纤振动传感装置上报的入侵预警信息,同时获取光纤振动处的图像;所述入侵预警信息至少包括位置、风力因子、宽度、持续时间和强度;(2)对入侵现场的环境场景和应用场景进行区分,基于区分后的多场景构建深度学习模型库;(3)综合所述光纤振动传感装置当前所处的环境场景和应用场景,根据风力、光照和视角信息,从所述深度学习模型库匹配相应的深度学习模型对所述图像进行目标检测,以确定最终的入侵告警。As shown in Figure 1, an embodiment of the intrusion monitoring method combined with deep learning intelligent detection and optical fiber vibration sensing of the present invention includes the following steps: (1) receiving the intrusion warning information reported by the optical fiber vibration sensing device, and simultaneously obtaining the optical fiber vibration The image at the location; the intrusion warning information includes at least position, wind factor, width, duration and intensity; (2) distinguish the environmental scene and the application scene of the intrusion site, and build a deep learning model library based on the differentiated multi-scenario; (3) Synthesizing the current environmental scene and application scene of the optical fiber vibration sensing device, according to the wind force, illumination and viewing angle information, matching the corresponding deep learning model from the deep learning model library to perform target detection on the image, To determine the final intrusion alarm.
在一个实施例中,步骤(2)中所述环境场景包括天气情况、光照条件和图像采样视角位置;所述应用场景包括栅栏应用防区和埋地应用防区。In one embodiment, the environmental scene in step (2) includes weather conditions, lighting conditions, and image sampling angle positions; the application scene includes fence application defense areas and buried application defense areas.
在一个实施例中,所述步骤(1)中,获取图像的方式为定时采集在所述光纤振动监测区域预设的固定摄像装置所拍摄的监测图像并缓存,在所述光纤振动传感装置告警时调用上报的入侵告警位置处最新的缓存图像。In one embodiment, in the step (1), the way of acquiring images is to regularly collect and cache the monitoring images taken by the fixed camera device preset in the optical fiber vibration monitoring area. Call the latest cached image at the reported intrusion alarm position when an alarm is issued.
在一个实施例中,所述步骤(1)中,获取图像的方式为调度在所述光纤振动监测区域预设的可活动摄像装置对准所述光纤振动传感装置上报的入侵告警位置处拍摄图像。In one embodiment, in the step (1), the way of acquiring images is to schedule shooting at the intrusion alarm position reported by the optical fiber vibration sensing device with the movable camera device preset in the optical fiber vibration monitoring area image.
在一个实施例中,所述可活动摄像装置包括空中巡逻的无人机、巡检机器人和旋转式摄像机。In one embodiment, the movable camera device includes an aerial patrol drone, a patrol robot and a rotating camera.
在一个实施例中,在通过深度学习模型进行目标检测前,先使用背景差分法检测图像中是否存在活动目标,如存在活动目标,则通过深度学习模型进行目标检测;如不存在活动目标,则无需继续进行目标检测。In one embodiment, before performing target detection by the deep learning model, first use the background difference method to detect whether there is an active target in the image, if there is an active target, then perform target detection by the deep learning model; if there is no active target, then No further object detection is required.
在一个实施例中,对所述栅栏应用防区,至少分别构建防攀爬、防剪网和防敲打撞击的深度学习模型库。In one embodiment, a defense zone is applied to the fence, and at least deep learning model libraries for anti-climbing, anti-shearing and anti-knocking are respectively constructed.
在一个实施例中,对所述埋地应用防区,至少分别构建防挖掘和防顶管的深度学习模型库。In one embodiment, for the buried application defense zone, at least deep learning model libraries for anti-excavation and anti-pipe jacking are respectively constructed.
在一个实施例中,所述深度学习模型库从天气情况、光照条件和图像采样视角位置三个维度构建,其中天气情况包括正常天气和大风天气,光照条件包括光照正常和光照差的场景,图像采样视角位置包括高空视角和地面视角;所述深度学习模型库包括多个深度学习模型,三个维度的不同取值组合对应一个深度学习模型。In one embodiment, the deep learning model library is constructed from three dimensions of weather conditions, lighting conditions, and image sampling perspective positions, wherein the weather conditions include normal weather and windy weather, and the lighting conditions include scenes with normal lighting and poor lighting. The sampling perspective positions include high-altitude perspectives and ground perspectives; the deep learning model library includes multiple deep learning models, and different value combinations of the three dimensions correspond to one deep learning model.
在一个实施例中,所述深度学习模型库的训练方法包括如下步骤:(a)根据光纤振动传感装置检测的入侵预警信息,对采集的入侵现场图像进行自动标注,据此建立图像样本库用作训练数据集;(b)基于深度学习目标检测算法对所述训练数据集进行训练;(c)根据应用场景以及风力、光照、视角信息更新到相应的深度学习模型库中。In one embodiment, the training method of the deep learning model library includes the following steps: (a) according to the intrusion warning information detected by the optical fiber vibration sensing device, automatically label the images of the intrusion site collected, and establish an image sample library accordingly Used as a training data set; (b) training the training data set based on a deep learning target detection algorithm; (c) updating the corresponding deep learning model library according to the application scene and wind, illumination, and viewing angle information.
在一个实施例中,其特征在于,步骤(a)中所述图像样本库包括正样本库和负样本库,所述正样本库为存在破坏性入侵行为的图像集,所述负样本库为不存在破坏性入侵行为的图像集。In one embodiment, it is characterized in that the image sample library in step (a) includes a positive sample library and a negative sample library, the positive sample library is an image set with destructive intrusion behavior, and the negative sample library is A collection of images in which destructive intrusions do not exist.
在一个实施例中,判断所述入侵现场图像中是否存在活动目标,如是,则将所述入侵现场图像纳入所述正样本库,如否,则将所述入侵现场图像纳入所述负样本库。In one embodiment, it is judged whether there is an active target in the image of the intrusion scene, if yes, the image of the intrusion scene is included in the positive sample library, if not, the image of the intrusion scene is included in the negative sample library .
在一个实施例中,采用背景差分法判断所述入侵现场图像中是否存在活动目标。In one embodiment, a background difference method is used to judge whether there is an active target in the intrusion scene image.
在一个实施例中,存在活动目标的所述入侵现场图像还需同时满足光纤振动告警阈值才被纳入所述正样本库,否则纳入所述负样本库。In one embodiment, the intrusion scene images with active targets must also meet the optical fiber vibration alarm threshold before being included in the positive sample library, otherwise included in the negative sample library.
在一个实施例中,对入侵现场图像中的活动目标添加标注信息,所述标注信息包括标注框和标签,所述标注框为活动目标的最大连通区域的最大外接矩形,所述标签用于标记该活动目标所属的入侵现场图像为正样本或负样本。In one embodiment, annotation information is added to the active target in the intrusion scene image, the annotation information includes an annotation frame and a label, the annotation frame is the largest bounding rectangle of the largest connected area of the active object, and the label is used to mark The intrusion scene image to which the active target belongs is a positive sample or a negative sample.
在一个实施例中,将所述入侵现场图像及其标注信息分场景分类进行保存,以用于所述深度学习模型库中不同的深度学习模型。In one embodiment, the intrusion scene image and its annotation information are stored by scene classification, so as to be used for different deep learning models in the deep learning model library.
在一个实施例中,所述步骤(b)中采用YOLOv5目标检测算法进行训练,经训练后的深度学习模型适于以加权非极大值的方式对输入的入侵现场图像的标注框进行筛选,最终输出活动目标是否存在破坏性入侵行为的分类结论和边框回归。In one embodiment, in the step (b), the YOLOv5 target detection algorithm is used for training, and the trained deep learning model is suitable for screening the label frame of the input intrusion scene image in a weighted non-maximum manner, The final output is the classification conclusion and border regression of whether there is destructive intrusion behavior in the active target.
在一个实施例中,步骤(1)中所述光纤振动传感装置检测振动的灵敏度可调。In one embodiment, the vibration detection sensitivity of the optical fiber vibration sensing device in step (1) is adjustable.
本发明涉及的硬件模块有光纤传感振动检测装置、摄像单元和入侵目标检测和综合判决模块,其中光纤传感振动检测装置负责采用光纤检测振动信号,通过内置的识别算法,将检测到的入侵告警信号传递给入侵目标检测和综合判决模块。入侵目标检测和综合判决模块负责调度摄像单元拍摄现场的入侵图像,并对入侵图像进行入侵识别,最后综合光纤的入侵告警和图像入侵目标检测结果,确定最终的入侵告警,并将告警上报给用户。The hardware modules involved in the present invention include an optical fiber sensing vibration detection device, a camera unit, and an intrusion target detection and comprehensive judgment module. The alarm signal is transmitted to the intrusion target detection and comprehensive judgment module. The intrusion target detection and comprehensive judgment module is responsible for dispatching the camera unit to capture intrusion images on the scene, and for intrusion recognition on the intrusion images, and finally integrates the optical fiber intrusion alarm and image intrusion target detection results to determine the final intrusion alarm and report the alarm to the user .
入侵检测的基本流程如下:The basic process of intrusion detection is as follows:
步骤1:根据光纤振动检测出入侵信号Step 1: Detect intrusion signals based on optical fiber vibration
可以采用专利CN201610476700.7提供的一种基于图像识别的光纤周界入侵监测方法,该监测方法由光纤振动传感系统完成,该系统包括有连接在一起的探测光缆,监测主机和上位机;该监测方法包括:外界入侵引起的振动由探测光缆探知并将光信号传输至监测主机;监测主机将接收的光信号先转为电信号,再对电信号采样并模数转换,得到离散的数字信号,该数字信号传输至上位机;由上位机对采集的数字信号进行处理,获得处理后信号的特征量,以形成一个或多个瀑布图,根据瀑布图的形态,进行图像的模式识别,若判别为入侵事件则触发入侵报警。A fiber optic perimeter intrusion monitoring method based on image recognition provided by patent CN201610476700.7 can be used. The monitoring method is completed by a fiber optic vibration sensing system. The system includes a detection cable connected together, a monitoring host and a host computer; The monitoring method includes: the vibration caused by external intrusion is detected by the detection optical cable and the optical signal is transmitted to the monitoring host; the monitoring host first converts the received optical signal into an electrical signal, and then samples the electrical signal and converts it to analog to digital to obtain a discrete digital signal , the digital signal is transmitted to the host computer; the host computer processes the collected digital signal to obtain the characteristic quantity of the processed signal to form one or more waterfall diagrams, and perform image pattern recognition according to the shape of the waterfall diagram. If it is judged as an intrusion event, an intrusion alarm will be triggered.
步骤2:对入侵图像进行入侵识别,最后综合光纤的入侵告警和图像入侵目标检测结果,确定最终的入侵告警并将告警上报给用户。Step 2: Carry out intrusion recognition on the intrusion image, and finally integrate the intrusion alarm of the optical fiber and the image intrusion target detection result to determine the final intrusion alarm and report the alarm to the user.
从摄像的视角来看,高空巡检视角、普通地面摄像视角是不一样的,所以会导致训练的结果与实际部署的效果有较大差异。From the perspective of camera, the angle of view of high-altitude inspection is different from that of ordinary ground camera, so there will be a big difference between the training result and the actual deployment effect.
高空无人机巡检的覆盖范围更广,不需要在很广的范围内大量铺设摄像头。所以,从工程角度上,高空和地面普通视角都存在应用场景。The coverage of high-altitude drone inspections is wider, and there is no need to lay a large number of cameras in a wide range. Therefore, from an engineering point of view, there are application scenarios for both high-altitude and ordinary ground perspectives.
高空巡检由于摄像头从高空中拍摄,摄像头的高度越高,地面物体和目标对象的图像越小。复杂的图像背景对挖掘机的识别也存在一定的影响,因此,高空巡检下准确检测挖掘机对象的难度更大。High-altitude inspection Since the camera shoots from high altitude, the higher the height of the camera, the smaller the images of ground objects and target objects. The complex image background also has a certain impact on the recognition of excavators. Therefore, it is more difficult to accurately detect excavator objects under high-altitude inspections.
从图像质量来看,白天和晚上的图像对于目标识别有较大的影响,白天阳光充足,视线清晰,所以目标检测相对容易。晚上特别是周界、偏远管道管廊区域,往往只有部分灯光照明,这加大了目标识别的难度。From the perspective of image quality, images during the day and night have a greater impact on target recognition. During the day, the sun is sufficient and the line of sight is clear, so target detection is relatively easy. At night, especially in the perimeter and remote pipeline corridor areas, there are often only partial lights, which increases the difficulty of target identification.
当摄像装置安装在稍高的云台之上,风力比较大的时候,比如5-6级以上,云台会有一定的抖动,路面巡检机器人或者无人机也会产生抖动,这增加了入侵目标检测的难度。When the camera device is installed on a slightly higher gimbal and the wind force is relatively strong, such as above level 5-6, the gimbal will vibrate to a certain extent, and road inspection robots or drones will also vibrate, which increases the The difficulty of intrusion target detection.
本发明从光照、视角、天气三个维度,构造一个深度学习模型库,如图2所示,可以更加精细的分场景来识别入侵行为。该深度学习模型库中至少包括8个深度学习模型,即为图2中的8个小正方体,分别是A.光照正常+高空视角+正常天气;B.光照差+高空视角+正常天气;C.光照正常+地面视角+正常天气;D.光照差+地面视角+正常天气;E.光照正常+高空视角+大风天气;F.光照差+高空视角+大风天气;G.光照正常+地面视角+大风天气;H.光照差+地面视角+大风天气。The present invention constructs a deep learning model library from the three dimensions of illumination, viewing angle, and weather, as shown in Figure 2, which can identify intrusion behaviors in a more refined and sub-scene. The deep learning model library includes at least 8 deep learning models, which are the 8 small cubes in Figure 2, which are A. Normal lighting + high-altitude viewing angle + normal weather; B. Poor lighting + high-altitude viewing angle + normal weather; C. .Normal lighting + ground viewing angle + normal weather; D. Poor lighting + ground viewing angle + normal weather; E. Normal lighting + high-altitude viewing angle + windy weather; F. Poor lighting + high-altitude viewing angle + windy weather; G. Normal lighting + ground viewing angle + windy weather; H. Poor lighting + ground perspective + windy weather.
步骤1:接收光纤振动传感装置上报的位置、风力因子、宽度、持续时间、强度等告警信息。Step 1: Receive alarm information such as location, wind factor, width, duration, and intensity reported by the optical fiber vibration sensing device.
光纤振动传感装置上报的风力因子计算方式如下:The calculation method of the wind force factor reported by the optical fiber vibration sensing device is as follows:
可以采用专利CN201610476700.7公开的瀑布图为0~255之间的灰度图,可以计算一个大风广域范围内图像灰度值的平均值,作为风力因子的表征。The waterfall image disclosed in the patent CN201610476700.7 can be used as a grayscale image between 0 and 255, and the average value of image grayscale values in a large windy wide area can be calculated as a representation of the wind force factor.
fn为灰度值,d0为大风区域的光纤起始计算位置,d1为大风区域的光纤结束计算位置。f n is the gray value, d0 is the starting calculation position of the optical fiber in the windy area, and d1 is the end calculation position of the optical fiber in the windy area.
瀑布图采用专利CN201610476700.7的技术方案,每个像素可以是直接的信号差值、信号方差、相关度值、FFT变换后某个频段的功率或能量特征、小波分解后的各尺度的细节能量特征。The waterfall diagram adopts the technical scheme of the patent CN201610476700.7. Each pixel can be the direct signal difference, signal variance, correlation value, power or energy characteristics of a certain frequency band after FFT transformation, and detailed energy of each scale after wavelet decomposition. feature.
步骤2:综合当前环境的场景信息。包括:Step 2: Synthesize the scene information of the current environment. include:
根据光缆施工铺设阶段防区的位置信息确定,该位置是栅栏还是埋地应用,According to the position information of the defense area during the laying stage of the optical cable construction, whether the position is a fence or buried application,
根据光纤振动传感上报的大风因子判断是否为大风场景,Judging whether it is a windy scene according to the windy factor reported by the fiber optic vibration sensor,
根据摄像头调试阶段当地日照强度配置的时间确定光照正常和光照差的场景,比如早7点至晚5点为白天光照正常场景,其余时间为晚上光照差的场景;According to the time of local sunlight intensity configuration in the camera debugging stage, determine the scenes with normal lighting and poor lighting. For example, from 7:00 a.m. to 5:00 p.m., it is a scene with normal lighting during the day, and the rest of the time is a scene with poor lighting at night;
根据摄像头安装施工阶段的配置确定,该位置的摄像头是高空视角还是普通视角。According to the configuration of the camera installation and construction stage, whether the camera at this position is a high-altitude view or a normal view.
大风场景判断方法是如果大风因子Factorwind超过大风阈值Thrwind则判定为大风场景,不满足阈值条件则为正常天气The judgment method of the windy scene is that if the factor wind of the strong wind exceeds the threshold Thr wind of the strong wind, it is judged as a windy scene, and if the threshold condition is not met, it is normal weather
步骤3:根据应用场景选择不同的深度学习模型Step 3: Select different deep learning models according to application scenarios
对于栅栏应用的区域,可以从防攀爬、防剪网和防敲打撞击的三种深度学习模型库中选择,每种深度学习模型库均为图2所示结构。For the area where the fence is applied, you can choose from three deep learning model libraries of anti-climbing, anti-shear net and anti-knock impact, and each deep learning model library has the structure shown in Figure 2.
对于埋地的区域,可以从防挖掘和防顶管两种深度学习模型库中选择,每种深度学习模型库均为图2所示结构。For the buried area, you can choose from two deep learning model libraries of anti-excavation and anti-pipe jacking, and each deep learning model library has the structure shown in Figure 2.
步骤4:根据大风、光照、视角信息从深度学习模型库选择相应的模型进行智能检测。确定最终的入侵告警。Step 4: Select the corresponding model from the deep learning model library for intelligent detection according to the wind, light, and viewing angle information. Determine the final intrusion alert.
目前使用摄像头监测的装置类型较多,有传统的固定式或者旋转式的摄像机,有地面或高空移动的巡检机器人配置的摄像头,也有专门空中巡逻的无人机的摄像头。对于这些非固定式的摄像装置,需要根据光纤振动检测的告警信息的位置信息,调度摄像头对准入侵现场。At present, there are many types of devices that use cameras to monitor, including traditional fixed or rotating cameras, cameras configured by patrol robots that move on the ground or at high altitudes, and cameras that specialize in aerial patrol drones. For these non-fixed camera devices, it is necessary to schedule the camera to aim at the intrusion site according to the position information of the alarm information detected by the optical fiber vibration.
调度摄像装置到入侵区域包括:Deploying cameras to intrusion areas involves:
1)调度可转动摄像头对准入侵的位置区域1) Schedule the rotatable camera to aim at the intruded location area
2)调度无人机到现场位置区域。2) Dispatch the UAV to the site location area.
3)调度巡检机器人到现场位置区域3) Dispatch inspection robots to the on-site location area
对于固定的摄像头或者已经在预设位置的摄像头,可以一直缓存一段时间的图像,如果触发了振动传感的告警,可以直接调用这些缓存的图像进行深度学习目标检测,这大大节省了调度摄像头的时间。For a fixed camera or a camera that is already at a preset position, images can be cached for a period of time. If an alarm from the vibration sensor is triggered, these cached images can be directly called for deep learning target detection, which greatly saves the cost of scheduling cameras. time.
使用背景差分法,对拍摄的图像先检测出活动的目标,这样后续的入侵目标检测更加准确。该方法可以避免挖掘机没有挖掘动作时候的误报。Using the background subtraction method, the active target is detected first in the captured image, so that the subsequent intrusion target detection is more accurate. This method can avoid false alarms when the excavator does not excavate.
以背景差分技术检测挖掘机挖掘动作的示意图如图3所示。The schematic diagram of detecting excavator digging action by background difference technique is shown in Fig.3.
背景差分法,常用于检测视频图像中的运动目标,是目前运动目标检测的主流方法之一。其基本原理就是将图像序列中的当前帧和已经确定好或实时获取的背景参考模型(背景图像)做减法,计算出与背景图像像素差异超过一定阀值的区域作为运动区域,从而来确定运动物体位置、轮廓、大小等特征。背景差分法的难点在于如何通过一定数量的图像确定出背景模型。The background subtraction method is commonly used to detect moving objects in video images, and is one of the mainstream methods for moving object detection at present. The basic principle is to subtract the current frame in the image sequence from the background reference model (background image) that has been determined or acquired in real time, and calculate the area where the pixel difference from the background image exceeds a certain threshold as the motion area, so as to determine the motion. Features such as object position, contour, size, etc. The difficulty of the background subtraction method is how to determine the background model through a certain number of images.
步骤1:获取一定数量的图像进行背景建模,得到背景图像帧B。Step 1: Obtain a certain number of images for background modeling to obtain background image frame B.
本发明采用的的背景建模方法包括中值法背景建模、均值法背景建模、单高斯分布模型、混合高斯分布模型、卡尔曼滤波器模型以及高级背景模型等等。The background modeling methods adopted in the present invention include median method background modeling, mean value method background modeling, single Gaussian distribution model, mixed Gaussian distribution model, Kalman filter model, advanced background model and the like.
步骤2:将当前帧图像和背景帧像对应像素点的灰度值进行相减,并取其绝对值,得到差分图像Step 2: Subtract the gray value of the corresponding pixel of the current frame image and the background frame image, and take its absolute value to obtain the difference image
Dn(x,y)=|fn(x,y)-B(x,y)|D n (x,y)=|f n (x,y)-B(x,y)|
当前视频图像帧为fn,背景帧和当前帧对应像素点的灰度值分别记为B(x,y)和fn(x,y),The current video image frame is fn, and the gray values of the corresponding pixels in the background frame and the current frame are respectively recorded as B(x, y) and fn(x, y),
步骤3:设定阈值T,逐个对像素点进行二值化处理,得到二值化图像R。其中,灰度值为255的点即为前景(运动目标)点,灰度值为0的点即为背景点;Step 3: Set the threshold T, and perform binarization processing on the pixels one by one to obtain a binarized image R. Among them, the point with a gray value of 255 is the foreground (moving target) point, and the point with a gray value of 0 is the background point;
步骤4:对图像R进行连通性分析,如果连通的轮廓区域大于设定的阈值,认为有大型的活动目标,需要进行入侵检测判决。Step 4: Perform connectivity analysis on the image R. If the connected contour area is greater than the set threshold, it is considered that there is a large-scale moving target, and an intrusion detection judgment is required.
训练数据集training dataset
本发明采用光纤传感振动检测技术,触发摄像头采集真实环境真实的入侵图像,建立样本库,摄像角度、图像质量等更符合现场的环境,训练的模型针对性更强,性能更加优异。The invention adopts the optical fiber sensor vibration detection technology, triggers the camera to collect real intrusion images in the real environment, and establishes a sample library. The camera angle and image quality are more in line with the on-site environment, the training model is more targeted, and the performance is more excellent.
本发明采用背景差分技术来预先确定移动的目标,进行自动标注,提高了标注的效率以及准确率。The invention adopts the background difference technology to predetermine the moving target and perform automatic labeling, thereby improving the efficiency and accuracy of labeling.
步骤1:根据光纤振动检测出入侵告警Step 1: Detect intrusion alarm based on optical fiber vibration
当深度学习模型训练初期,图像数据量较少时候,考虑设置光纤振动传感为相对灵敏的参数,尽可能的收集现场的数据。In the early stage of deep learning model training, when the amount of image data is small, consider setting the fiber optic vibration sensor as a relatively sensitive parameter to collect on-site data as much as possible.
步骤2:利用背景差分法判断是否有活动对象。Step 2: Use the background subtraction method to judge whether there is an active object.
步骤3:对活动对象进行标注,包括:Step 3: Label the active object, including:
步骤3.1:标注对象的标注框Step 3.1: Annotate the callout box of the object
根据步骤2背景差分法获得的活动目标的最大连通区域,确定该区域的最大外接矩形,该最大外接矩形标记为标注框。对图像R进行连通性分析,如果连通的轮廓区域大于设定的阈值,认为有大型的活动目标,需要进行入侵检测判决。”According to the maximum connected region of the active target obtained by the background difference method in step 2, determine the largest circumscribing rectangle of the region, and mark the largest circumscribing rectangle as a label box. Carry out connectivity analysis on the image R, if the connected outline area is greater than the set threshold, it is considered that there is a large-scale moving target, and an intrusion detection judgment is required. "
步骤3.2:根据步骤1中的振动光纤告警的宽度、强度和步骤3.1最大外接矩形确定是正样本还是负样本。Step 3.2: Determine whether it is a positive sample or a negative sample according to the width and intensity of the vibrating optical fiber alarm in step 1 and the largest circumscribing rectangle in step 3.1.
步骤1告警的宽度大于宽度阈值ThrWidth并且强度大于阈值Thrintensity并且步骤3.1最大外接矩形大于面积阈值,认为摄像头拍摄的入侵的图像,标记为正样本,否则判定为负样本。In step 1, if the width of the alarm is greater than the width threshold Thr Width and the intensity is greater than the threshold Thr intensity , and in step 3.1 the largest circumscribed rectangle is greater than the area threshold, the intrusion image captured by the camera is considered as a positive sample, otherwise it is judged as a negative sample.
如图4所示,真实的敲击破坏告警的瀑布图的宽度更宽,而路上车辆的扰动是间断的相对窄的信号。宽的信号触发摄像头拍摄的图像为正样本入侵图像,而窄信号触发摄像头拍摄的图像为负样本(车辆)图像。As shown in FIG. 4 , the width of the waterfall diagram of the real tap damage alarm is wider, while the disturbance of the vehicle on the road is a discontinuous and relatively narrow signal. The image captured by the camera triggered by a wide signal is a positive intrusion image, while the image captured by a camera triggered by a narrow signal is a negative sample (vehicle) image.
步骤4:根据场景不同,保存图像、标注信息。Step 4: According to different scenes, save the image and label information.
步骤4.1:确定当前环境的场景信息。包括:Step 4.1: Determine the scene information of the current environment. include:
根据光缆施工铺设阶段防区的位置信息确定,该位置是栅栏还是埋地应用,According to the position information of the defense area during the laying stage of the optical cable construction, whether the position is a fence or buried application,
根据光纤振动传感上报的大风因子判断是否为大风场景,Judging whether it is a windy scene according to the windy factor reported by the fiber optic vibration sensor,
根据摄像头调试阶段当地日照强度配置的时间确定光照正常和光照差的场景,比如早7点至晚5点为白天光照正常场景,其余时间为晚上照差的场景;According to the time of local sunlight intensity configuration in the camera debugging stage, determine the scenes with normal lighting and poor lighting. For example, from 7:00 a.m. to 5:00 p.m., it is a scene with normal lighting during the day, and the rest of the time is a scene with poor lighting at night;
根据摄像头安装施工阶段的配置确定,该位置的摄像头是高空视角还是普通视角。According to the configuration of the camera installation and construction stage, whether the camera at this position is a high-altitude view or a normal view.
大风场景判断方法是如果大风因子Factorwind超过大风阈值Thrwind则判定为大风场景。The judging method of the windy scene is that if the windy factor Factor wind exceeds the windy threshold Thr wind , it is judged as a windy scene.
步骤4.2:将步骤3中的图像、标注信息根据4.1的场景分类进行保存。Step 4.2: Save the image and annotation information in step 3 according to the scene classification in 4.1.
标注信息包括:目标对象的标注框、目标对象为正样本还是负样本的标签信息。The annotation information includes: the label frame of the target object, and the label information of whether the target object is a positive sample or a negative sample.
训练train
前述自动标注建立的训练数据集,对图像标注信息进行人工的审核和矫正,提高训练数据的质量。The training data set established by the aforementioned automatic labeling is manually reviewed and corrected for the image labeling information to improve the quality of the training data.
主流的目标检测算法大致分为one-stage与two-stage两种。two-stage算法代表有R-CNN系列,one-stage算法代表有YOLO系列。two-stage算法将输入图像先经过候选框生成网络(例如faster rcnn中的RPN网络),再经过分类网络,对候选框的内容进行分类;one-stage算法将输入图像只经过一个网络,生成的结果中同时包含位置与类别信息。two-stage与one-stage相比,精度高,但是计算量更大,所以运算较慢。The mainstream target detection algorithms are roughly divided into two types: one-stage and two-stage. The two-stage algorithm represents the R-CNN series, and the one-stage algorithm represents the YOLO series. The two-stage algorithm first passes the input image through the candidate frame generation network (such as the RPN network in faster rcnn), and then passes through the classification network to classify the content of the candidate frame; the one-stage algorithm passes the input image through only one network, and the generated Results include both location and category information. Compared with one-stage, two-stage has high precision, but the calculation amount is larger, so the operation is slower.
步骤2:利用深度学习技术进行训练Step 2: Train with deep learning techniques
本发明采用YOLOV5目标检测算法进行模型训练。The present invention uses the YOLOV5 target detection algorithm for model training.
YOLO算法一直在不停的更新改进中,从开始的YOLOV1逐渐演进到YOLOV5。The YOLO algorithm has been continuously updated and improved, gradually evolving from the initial YOLOV1 to YOLOV5.
YOLOv5模型是Ultralytics公司于2020年6月9日公开发布的。YOLOv5模型是基于YOLOv3模型基础上改进而来的,有YOLOv5s、YOLOv5m、YOLOv5l、YOLOv5x四个模型。YOLOv5s网络是YOLOv5系列中深度最小,特征图的宽度最小的网络,运行速度最快,AP精度最低。其他的三种网络,在此基础上,不断加深加宽网络,AP精度也不断提升,但运算量也在加大。The YOLOv5 model was released publicly by Ultralytics on June 9, 2020. The YOLOv5 model is improved based on the YOLOv3 model. There are four models: YOLOv5s, YOLOv5m, YOLOv5l, and YOLOv5x. The YOLOv5s network is the network with the smallest depth and the smallest width of the feature map in the YOLOv5 series, with the fastest running speed and the lowest AP accuracy. The other three networks, on this basis, continue to deepen and widen the network, and the AP accuracy is also continuously improved, but the amount of calculation is also increasing.
YOLOv5模型主要由骨干网络,头部网络模块组成。The YOLOv5 model is mainly composed of a backbone network and a head network module.
YOLOv5模型的输入端采用了Mosaic数据增强、自适应锚框计算、自适应图片缩放技术来提高性能。The input of the YOLOv5 model uses Mosaic data enhancement, adaptive anchor frame calculation, and adaptive image scaling technology to improve performance.
YOLOv5模型的骨干网络主要包括Conv卷积块、C3结构和SPPF等模块。C3结构应用于Backbone主干网络,也用于Head网络中。YOLOv5使用的C3结构能在保证准确的同时,提高网络速度。The backbone network of the YOLOv5 model mainly includes modules such as Conv convolution block, C3 structure and SPPF. The C3 structure is applied to the Backbone backbone network and is also used in the Head network. The C3 structure used by YOLOv5 can improve the network speed while ensuring accuracy.
YOLOv5m的头部采用多尺度特征图用于检测,用大图像检测小目标,小图像检测大目标。对颈部三种不同尺度特征图,通过Conv、C3、Upsample和Concat操作,最终得到三个大小分别为80*80*255、40*40*255、20*20*255的特征图。The head of YOLOv5m uses multi-scale feature maps for detection, using large images to detect small targets, and small images to detect large targets. For the three different scale feature maps of the neck, through Conv, C3, Upsample and Concat operations, three feature maps with sizes of 80*80*255, 40*40*255, and 20*20*255 are finally obtained.
本发明的实施例中采用640*640的图片,YOLOv5m模型。本发明的实施例中对入侵破坏的检测结果有两类,比如,有挖掘行为、没有挖掘行为,对3个尺度特征图使用3种大小不同的候选框进行预测。最后输出采用加权非极大值的方式对目标框进行筛选,输出目标分类和边框回归。In the embodiment of the present invention, a 640*640 picture and a YOLOv5m model are used. In the embodiment of the present invention, there are two types of detection results for intrusion and destruction, for example, with mining behavior and without mining behavior, and three types of candidate frames with different sizes are used to predict the three scale feature maps. Finally, the target box is screened by weighted non-maximum value, and the target classification and frame regression are output.
最后应当说明的是,以上实施例仅用以说明本发明的技术方案而非对其限制,尽管参照上述实施例对本发明进行了详细的说明,所属领域的普通技术人员应当理解:依然可以对本发明的具体实施方式进行修改或者等同替换,而未脱离本发明精神和范围的任何修改或者等同替换,其均应涵盖在本发明的权利要求保护范围之内。Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and not to limit them. Although the present invention has been described in detail with reference to the above embodiments, those of ordinary skill in the art should understand that the present invention can still be Any modification or equivalent replacement that does not depart from the spirit and scope of the present invention shall fall within the protection scope of the claims of the present invention.
Claims (18)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310331155.2A CN116453278A (en) | 2023-03-30 | 2023-03-30 | Intrusion monitoring method combining deep learning intelligent detection and optical fiber vibration sensing |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310331155.2A CN116453278A (en) | 2023-03-30 | 2023-03-30 | Intrusion monitoring method combining deep learning intelligent detection and optical fiber vibration sensing |
Publications (1)
Publication Number | Publication Date |
---|---|
CN116453278A true CN116453278A (en) | 2023-07-18 |
Family
ID=87123176
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310331155.2A Pending CN116453278A (en) | 2023-03-30 | 2023-03-30 | Intrusion monitoring method combining deep learning intelligent detection and optical fiber vibration sensing |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116453278A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116704734A (en) * | 2023-08-08 | 2023-09-05 | 广东力创信息技术有限公司 | Monitoring and early warning method and system for preventing underground pipeline from being excavated based on Internet of things technology |
CN117132601A (en) * | 2023-10-27 | 2023-11-28 | 山东飞博赛斯光电科技有限公司 | Pipeline mode identification method and system based on distributed optical fiber sensing |
CN118536010A (en) * | 2024-07-12 | 2024-08-23 | 浙江大华技术股份有限公司 | Method, device and storage medium for processing perception data based on scene estimation |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102982639A (en) * | 2012-10-31 | 2013-03-20 | 中国电子科技集团公司第三十四研究所 | Video monitoring optical fiber fence system and using method thereof |
WO2017036363A1 (en) * | 2015-09-02 | 2017-03-09 | 同方威视技术股份有限公司 | Optical fiber perimeter intrusion signal identification method and device, and perimeter intrusion alarm system |
CN113176776A (en) * | 2021-03-03 | 2021-07-27 | 上海大学 | Unmanned ship weather self-adaptive obstacle avoidance method based on deep reinforcement learning |
CN114821154A (en) * | 2022-03-28 | 2022-07-29 | 浙江大学 | A deep learning-based detection algorithm for the state of ventilation windows in grain depots |
US20220343752A1 (en) * | 2021-04-23 | 2022-10-27 | Wistron Neweb Corporation | Method and system of detecting dynamic status of a space |
CN115471966A (en) * | 2022-08-02 | 2022-12-13 | 上海微波技术研究所(中国电子科技集团公司第五十研究所) | Self-learning intrusion alarm method, system, medium and equipment based on vibration optical fiber detection |
CN115691018A (en) * | 2022-10-26 | 2023-02-03 | 哈尔滨市科佳通用机电股份有限公司 | Method and system for railway perimeter intrusion monitoring and early warning based on multi-sensor fusion |
-
2023
- 2023-03-30 CN CN202310331155.2A patent/CN116453278A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102982639A (en) * | 2012-10-31 | 2013-03-20 | 中国电子科技集团公司第三十四研究所 | Video monitoring optical fiber fence system and using method thereof |
WO2017036363A1 (en) * | 2015-09-02 | 2017-03-09 | 同方威视技术股份有限公司 | Optical fiber perimeter intrusion signal identification method and device, and perimeter intrusion alarm system |
CN113176776A (en) * | 2021-03-03 | 2021-07-27 | 上海大学 | Unmanned ship weather self-adaptive obstacle avoidance method based on deep reinforcement learning |
US20220343752A1 (en) * | 2021-04-23 | 2022-10-27 | Wistron Neweb Corporation | Method and system of detecting dynamic status of a space |
CN114821154A (en) * | 2022-03-28 | 2022-07-29 | 浙江大学 | A deep learning-based detection algorithm for the state of ventilation windows in grain depots |
CN115471966A (en) * | 2022-08-02 | 2022-12-13 | 上海微波技术研究所(中国电子科技集团公司第五十研究所) | Self-learning intrusion alarm method, system, medium and equipment based on vibration optical fiber detection |
CN115691018A (en) * | 2022-10-26 | 2023-02-03 | 哈尔滨市科佳通用机电股份有限公司 | Method and system for railway perimeter intrusion monitoring and early warning based on multi-sensor fusion |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116704734A (en) * | 2023-08-08 | 2023-09-05 | 广东力创信息技术有限公司 | Monitoring and early warning method and system for preventing underground pipeline from being excavated based on Internet of things technology |
CN116704734B (en) * | 2023-08-08 | 2023-11-24 | 广东力创信息技术有限公司 | Monitoring and early warning method and system for preventing underground pipeline from being excavated based on Internet of things technology |
CN117132601A (en) * | 2023-10-27 | 2023-11-28 | 山东飞博赛斯光电科技有限公司 | Pipeline mode identification method and system based on distributed optical fiber sensing |
CN117132601B (en) * | 2023-10-27 | 2024-01-23 | 山东飞博赛斯光电科技有限公司 | Pipeline mode identification method and system based on distributed optical fiber sensing |
CN118536010A (en) * | 2024-07-12 | 2024-08-23 | 浙江大华技术股份有限公司 | Method, device and storage medium for processing perception data based on scene estimation |
CN118536010B (en) * | 2024-07-12 | 2024-10-15 | 浙江大华技术股份有限公司 | Method, device and storage medium for processing perception data based on scene estimation |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108037770B (en) | UAV transmission line inspection system and method based on artificial intelligence | |
CN101872526B (en) | Smoke and fire intelligent identification method based on programmable photographing technology | |
CN116453278A (en) | Intrusion monitoring method combining deep learning intelligent detection and optical fiber vibration sensing | |
CN109164443A (en) | Rail track foreign matter detecting method and system based on radar and image analysis | |
CN102013147B (en) | High voltage power transmission tower intelligent anti-theft method for supervising and device | |
JP7505609B2 (en) | Optical fiber sensing system and behavior identification method | |
CN104394361A (en) | Pedestrian crossing intelligent monitoring device and detection method | |
CN105809679A (en) | Mountain railway side slope rockfall detection method based on visual analysis | |
CN103106766A (en) | Forest fire identification method and forest fire identification system | |
CN105678730A (en) | Camera movement self-detecting method on the basis of image identification | |
CN105574468B (en) | Video flame detection method, device and system | |
CN116846059A (en) | Edge detection system for power grid inspection and monitoring | |
Zhang et al. | Transmission line abnormal target detection based on machine learning yolo v3 | |
CN107360394A (en) | More preset point dynamic and intelligent monitoring methods applied to frontier defense video monitoring system | |
CN110703760B (en) | A newly added suspicious object detection method for security inspection robots | |
CN117292318B (en) | A computer vision-based transmission line safety monitoring and early warning method and system | |
CN116485799B (en) | Method and system for detecting foreign matter coverage of railway track | |
CN112349055A (en) | Target monitoring device and method based on radar and video linkage | |
CN117726968A (en) | Pipeline inspection method and device, electronic equipment and storage medium | |
CN116597394A (en) | Railway foreign matter intrusion detection system and method based on deep learning | |
CN112257683A (en) | Cross-mirror tracking method for vehicle running track monitoring | |
CN116434142A (en) | Airport runway foreign matter detection method and system | |
CN115880231A (en) | Power transmission line hidden danger detection method and system based on deep learning | |
CN111079642B (en) | Line removable monitoring method and device and computer-readable medium | |
CN111915848B (en) | Railway engineering flood control and disaster reduction monitoring and alarming device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |