Inspection method, device and equipment based on instant positioning and map construction

文档序号:1658056 发布日期:2019-12-27 浏览:23次 中文

阅读说明:本技术 基于即时定位与地图构建的巡检方法、装置及设备 (Inspection method, device and equipment based on instant positioning and map construction ) 是由 连远锋 董盟 于 2019-04-04 设计创作,主要内容包括:本发明实施例提供一种基于即时定位与地图构建的巡检方法、装置及设备,该方法包括:在机器人按照巡检路径对预设区域进行巡检时,采集所述机器人周围的环境图像;根据所述环境图像确定仪表图像,并确定所述仪表图像中的仪表的仪表类型和仪表数值;根据预设的仪表类型与安全阈值之间的对应关系,确定与所述仪表类型对应的安全阈值;在所述仪表数值不在与所述仪表类型对应的安全阈值范围时,发送第一告警消息。本发明实施例能够在石油场站存在安全隐患时,及时发出告警消息以提醒工作人员进行相应处理,能够降低巡检成本,减少漏检和错检情况,提高巡检效率。(The embodiment of the invention provides a routing inspection method, a device and equipment based on instant positioning and map construction, wherein the method comprises the following steps: when the robot patrols a preset area according to a patrol route, acquiring an environment image around the robot; determining a meter image according to the environment image, and determining a meter type and a meter value of a meter in the meter image; determining a safety threshold corresponding to the type of the instrument according to a preset corresponding relation between the type of the instrument and the safety threshold; and sending a first warning message when the meter value is not in a safety threshold range corresponding to the meter type. According to the embodiment of the invention, when potential safety hazards exist in the oil field station, the alarm message can be sent out in time to remind workers to carry out corresponding processing, so that the inspection cost can be reduced, the conditions of missed inspection and wrong inspection are reduced, and the inspection efficiency is improved.)

1. A routing inspection method based on instant positioning and map construction is characterized by comprising the following steps:

when the robot patrols a preset area according to a patrol route, acquiring an environment image around the robot;

determining a meter image according to the environment image, and determining a meter type and a meter value of a meter in the meter image;

determining a safety threshold corresponding to the type of the instrument according to a preset corresponding relation between the type of the instrument and the safety threshold;

and sending a first warning message when the meter value is not in a safety threshold range corresponding to the meter type.

2. The method of claim 1, further comprising:

acquiring first position information of the robot positioned in a Global Positioning System (GPS) positioning mode and second position information of the robot positioned in a SLAM (simultaneous localization and mapping) mode;

and determining the actual position information of the robot according to the first position information and the second position information.

3. The method of claim 1, further comprising:

collecting sound information around the robot through a sound sensor;

extracting sound information corresponding to the target equipment from the sound information;

and comparing the sound information corresponding to the target equipment with the voiceprint of the target equipment in a normal operation state, and judging whether the target equipment operates normally.

4. The method of any of claims 1 to 3, further comprising:

extracting a person image including a person from the environment image;

identifying whether a person in the person image wears a helmet;

and if the person in the person image does not wear the helmet, sending second warning information.

5. The method of claim 4, wherein the helmet outer surface is provided with a first identification pattern and the person garment outer surface is provided with a second identification pattern, and wherein identifying whether the person in the image of the person is wearing the helmet comprises:

identifying whether the person image contains the first identification pattern;

if the character image contains the first identification pattern, determining the position information of the helmet in the character image according to the first identification pattern;

identifying a second identification pattern in the character image, and determining position information of a character in the character image;

and determining whether the person in the person image wears the helmet or not according to the position information of the helmet in the person image and the position information of the person.

6. The utility model provides a patrol and examine device based on instant location and map are found which characterized in that includes:

the robot system comprises an acquisition module, a processing module and a control module, wherein the acquisition module is used for acquiring an environment image around the robot when the robot inspects a preset area according to an inspection path;

the first identification module is used for determining a meter image according to the environment image and determining the meter type and the meter value of a meter in the meter image;

the system comprises a first processing module, a second processing module and a control module, wherein the first processing module is used for determining a safety threshold corresponding to the type of an instrument according to the corresponding relation between the type of the instrument and the safety threshold;

and the second processing module is used for sending a first warning message when the meter value is not in a safety threshold range corresponding to the meter type.

7. The apparatus of claim 6, further comprising a positioning module to:

acquiring first position information of the robot positioned in a GPS (global positioning system) positioning mode and second position information of the robot positioned in an SLAM (SLAM) mode;

and determining the actual position information of the robot according to the first position information and the second position information.

8. The apparatus of claim 6, further comprising a sound detection module to:

collecting sound information around the robot through a sound sensor;

extracting sound information corresponding to the target equipment from the sound information;

and comparing the sound information corresponding to the target equipment with the voiceprint of the target equipment in a normal operation state, and judging whether the target equipment operates normally.

9. The utility model provides an equipment of patrolling and examining based on instant location and map are founded which characterized in that includes: at least one processor and memory;

the memory stores computer-executable instructions;

the at least one processor executes computer-executable instructions stored by the memory to cause the at least one processor to perform the inspection method according to any one of claims 1 to 5.

10. A computer-readable storage medium having computer-executable instructions stored thereon which, when executed by a processor, implement the inspection method according to any one of claims 1 to 5.

Technical Field

The embodiment of the invention relates to the technical field of oil exploitation, in particular to a routing inspection method, a device and equipment based on instant positioning and map construction.

Background

The environment of the oil field station is complex, and the number of devices, pipelines and the like is large, so that sudden catastrophic accidents easily occur, and a large number of instruments and meters are needed for detecting the oil field station.

At present, inspection is mainly carried out on an oil field station manually, inspection personnel are required to observe a detection instrument in the oil field station, and the running state of equipment, related parameters of an oil pipeline, environmental data in a petrochemical field station and the like are recorded, so that potential dangers can be found in time, and accidents are avoided.

However, manually inspecting the oil field needs a lot of manpower and material resources, the inspection cost is high, and the conditions of missed inspection and wrong inspection easily occur in manual inspection.

Disclosure of Invention

The embodiment of the invention provides a routing inspection method, a device and equipment based on instant positioning and map construction, and aims to solve the problem that missing inspection and wrong inspection are easy to occur when manual routing inspection is carried out on an oil field station at present.

In a first aspect, an embodiment of the present invention provides a tour inspection method based on instant positioning and map construction, including:

when the robot patrols a preset area according to a patrol route, acquiring an environment image around the robot;

determining a meter image according to the environment image, and determining a meter type and a meter value of a meter in the meter image;

determining a safety threshold corresponding to the type of the instrument according to a preset corresponding relation between the type of the instrument and the safety threshold;

sending a first warning message when the meter value is not within a safety threshold range corresponding to the meter type.

In one possible embodiment, the method further comprises:

acquiring first position information of the robot positioned in a GPS (global positioning system) positioning mode and second position information of the robot positioned in an SLAM (SLAM) mode;

and determining the actual position information of the robot according to the first position information and the second position information.

In one possible embodiment, the method further comprises:

collecting sound information around the robot through a sound sensor;

extracting sound information corresponding to the target equipment from the sound information;

and comparing the sound information corresponding to the target equipment with the voiceprint of the target equipment in a normal operation state, and judging whether the target equipment operates normally.

In one possible embodiment, the method further comprises:

extracting a person image including a person from the environment image;

identifying whether a person in the person image wears a helmet;

and if the person in the person image does not wear the helmet, sending second warning information.

In one possible embodiment, the helmet outer surface is provided with a first identification pattern, the person garment outer surface is provided with a second identification pattern, and the identifying whether the person in the person image wears the helmet comprises:

identifying whether the person image contains the first identification pattern;

if the character image contains the first identification pattern, determining the position information of the helmet in the character image according to the first identification pattern;

identifying a second identification pattern in the character image, and determining position information of a character in the character image;

and determining whether the person in the person image wears the helmet or not according to the position information of the helmet in the person image and the position information of the person.

In a second aspect, an embodiment of the present invention provides an inspection device based on instant positioning and map construction, including:

the robot system comprises an acquisition module, a processing module and a control module, wherein the acquisition module is used for acquiring an environment image around the robot when the robot inspects a preset area according to an inspection path;

the first identification module is used for determining a meter image according to the environment image and determining the meter type and the meter value of a meter in the meter image;

the system comprises a first processing module, a second processing module and a control module, wherein the first processing module is used for determining a safety threshold corresponding to the type of an instrument according to the corresponding relation between the type of the instrument and the safety threshold;

and the second processing module is used for sending a first warning message when the meter value is not in a safety threshold range corresponding to the meter type.

In a possible implementation, the positioning module is further configured to:

acquiring first position information of the robot positioned in a GPS (global positioning system) positioning mode and second position information of the robot positioned in an SLAM (SLAM) mode;

and determining the actual position information of the robot according to the first position information and the second position information.

In a possible implementation, the system further includes a sound detection module, and the sound detection module is configured to:

collecting sound information around the robot through a sound sensor;

extracting sound information corresponding to the target equipment from the sound information;

and comparing the sound information corresponding to the target equipment with the voiceprint of the target equipment in a normal operation state, and judging whether the target equipment operates normally.

In a third aspect, an embodiment of the present invention provides an inspection apparatus based on instant positioning and map construction, including: at least one processor and memory;

the memory stores computer-executable instructions;

the at least one processor executes the computer-executable instructions stored by the memory to cause the at least one processor to perform the inspection method as described above in the first aspect and various possible implementations of the first aspect.

In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, where computer-executable instructions are stored, and when a processor executes the computer-executable instructions, the inspection method according to the first aspect and various possible implementations of the first aspect is implemented.

According to the inspection method, the inspection device and the inspection equipment based on the instant positioning and the map construction, when a robot inspects a preset area according to an inspection path, an environment image around the robot is collected; determining a meter image according to the environment image, and determining the meter type and the meter value of the meter in the meter image; determining a safety threshold corresponding to the type of the instrument according to the corresponding relation between the type of the instrument and the safety threshold; a first warning message is sent when the meter value is not within a safety threshold range corresponding to the meter type. According to the embodiment of the invention, through automatic robot inspection and image recognition of the instrument value, and by comparing the instrument value with the corresponding safety threshold range, when potential safety hazards exist in the oil field station, an alarm message can be sent out in time to remind workers to perform corresponding processing, so that inspection cost can be reduced, the conditions of missed inspection and wrong inspection are reduced, and inspection efficiency is improved.

Drawings

In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.

Fig. 1 is a schematic structural diagram of an inspection robot according to an embodiment of the present invention;

fig. 2 is a schematic flow chart of a routing inspection method based on instant positioning and map construction according to an embodiment of the present invention;

fig. 3 is a schematic flow chart illustrating positioning of a robot in an inspection method based on instant positioning and map construction according to another embodiment of the present invention;

fig. 4 is a schematic flow chart illustrating sound detection in a tour inspection method based on instant positioning and map construction according to another embodiment of the present invention;

fig. 5 is a schematic flow chart illustrating helmet wearing detection in an inspection method based on instant positioning and map construction according to yet another embodiment of the present invention;

fig. 6 is a schematic flow chart illustrating a process of identifying whether a person in a person image wears a helmet in the inspection method based on instant positioning and map construction according to the next embodiment of the present invention;

fig. 7 is a schematic structural diagram of an inspection device based on instant positioning and map construction according to an embodiment of the present invention;

fig. 8 is a schematic structural diagram of an inspection device based on instant positioning and map construction according to yet another embodiment of the present invention;

fig. 9 is a schematic diagram of a hardware structure of the inspection device based on the instant positioning and the map building according to an embodiment of the present invention.

Detailed Description

In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.

Fig. 1 is a schematic structural diagram of an inspection robot according to an embodiment of the present invention. As shown in fig. 1, the inspection robot provided in this embodiment includes a processor 11, a panoramic camera 12, a binocular camera 13, a positioning device 14, a sound sensor 15, an alarm 16, an electric drive crawler wheel 17, and an image display module 18.

The panoramic camera 12 and the binocular camera 13 can be fixed at the front end of the body of the robot through a body fixing metal support, the processor 11, the positioning device 14, the sound sensor 15 and the alarm 16 can be fixed at the middle end of the body of the robot through the body fixing metal support, and the image display module 18 can be fixed at the rear end of the robot through the body fixing metal support. The electric driving crawler wheels 17 are located at the bottom of the robot, connected with the vehicle body fixing metal support and used for bearing the vehicle body and walking, and provide a stable operation foundation for the robot to move forward and backward.

Wherein, look around camera 12 can be 360 degrees cloud platform look around camera. The 360-degree pan-tilt head all-round camera module can be a double-camera, the all-round camera 12 is used for acquiring image data in a 360-degree range around the oil field station robot in real time, the visual range is wide, image distortion is small, and resolution ratio is high. The two cameras of the binocular camera 13 are respectively provided with a windshield wiper, the weather condition of the petroleum field is adaptable, and the binocular camera 13 is used for acquiring the depth information and the size information of a shooting object in real time. The combination of the panoramic camera 12 and the binocular camera 13 can realize high-precision target identification and position control, and is favorable for the instant selection and obstacle avoidance of paths.

The Positioning device 14 may be a GPS (Global Positioning System) Positioning device for Positioning the position coordinates of the robot. The sound sensor 15 may be a sensor for collecting sound data during the robot inspection process. The alarm 16 is used to alarm when an alarm condition is met. The image display module 18 is used for displaying the collected images, the instrument numerical values, the routing inspection path and the like.

Optionally, in order to adapt to the complex ground of the oil field station, the moving chassis of the inspection robot can be a differential moving chassis, and the chassis track can be made of rubber so as to provide better moving performance. To fulfill the navigation requirements, the chassis may be equipped with a wheeled odometer. For example, the chassis may be a finished tracked chassis of model Komodo-02 from minimally invasive robotics, Inc. In order to meet the navigation requirement, the inspection robot can also be provided with a laser radar used outdoors.

The software bottom layer of the inspection robot can use an ROS system. The system is an open source operating system facing to a robot, and can provide a plurality of functions similar to the traditional operating system, such as hardware abstraction, bottom layer equipment control, interprocess message transmission, program package management and the like. In addition, the tool provides a tool for running programs among a plurality of computers to finish distributed computation. The ROS is a distributed processing framework, each process is regarded as a node, and 4 communication modes among the nodes are provided by encapsulating the socket. This allows the executable file to be designed separately and the runs are loosely coupled.

Fig. 2 is a schematic flow chart of a routing inspection method based on instant positioning and map building according to an embodiment of the present invention. The execution subject of this embodiment may be the robot in the embodiment shown in fig. 1, or may be other terminal equipment or a server, which is not limited herein. For convenience of description, the execution subject of the present embodiment will be referred to as an inspection apparatus hereinafter, but is not limited thereto. As shown in fig. 2, the method includes:

s201, when the robot patrols a preset area according to a patrol route, acquiring an environment image around the robot.

In this embodiment, taking the inspection of the oil field station as an example, the preset area may be an area of the whole oil field station, or may be a designated area divided from the oil field station, and is not limited herein. The inspection path can be a preset path or a path obtained by automatic planning in the inspection process of the robot. In the process that the robot patrols and examines the preset area according to the route of patrolling and examining, the environmental image of the surrounding environment of the robot can be collected through the image collecting device. For example, an environment image around the robot may be collected by a panoramic camera or a binocular camera mounted on the robot.

S202, determining a meter image according to the environment image, and determining the meter type and the meter value of the meter in the meter image.

In the present embodiment, the meter image is an image including a meter. The meter image can be recognized from the environment image through image processing, and the meter type and the meter value of the meter included in the meter image can be recognized from the meter image.

Optionally, the instrument image in the environment image may be identified through a first convolutional neural network, and the instrument image is extracted from the environment image; the instrument type and the instrument value of the instrument in the instrument image are identified by a second convolutional neural network. The first convolution neural network is used for identifying a meter image containing a meter from an input environment image and extracting the meter image from the environment image. The first convolutional neural network can be obtained by training in advance through a training image set containing labeled instrument images and non-instrument images. For example, the first convolutional neural network may be a Mask RCNN network. The second convolutional neural network is used for identifying the instrument type and the instrument value of the instrument in the instrument image from the input instrument image. Wherein the meter value is a reading of the meter. For example, the meter types may include a temperature detection meter, a humidity detection meter, a pressure detection meter, and the like.

S203, determining a safety threshold corresponding to the type of the instrument according to the corresponding relation between the preset type of the instrument and the safety threshold.

In this embodiment, different instrument types correspond to different safety threshold ranges, for example, a temperature detection instrument corresponds to a temperature safety threshold range, a pipeline pressure detection instrument corresponds to a pressure safety threshold range, and the like. The preset corresponding relationship between the type of the instrument and the safety threshold may be preset according to actual requirements, and is not limited herein.

And S204, when the meter value is not in the safety threshold range corresponding to the meter type, sending a first warning message.

In this embodiment, the first warning information may include, but is not limited to, at least one of a meter type and a meter value.

In this embodiment, each extracted meter image may contain only one meter. For a meter contained in a meter image, a meter value of the meter can be compared with a safety threshold range corresponding to the meter type of the meter, and if the meter value of the meter is judged not to be in the safety threshold range corresponding to the meter type of the meter, a first warning message is sent. For example, a first warning message may be broadcast by a voice player installed on the robot to notify nearby staff; or the staff corresponding to the instrument can be searched, the first warning message is sent to the corresponding staff in a short message or mail mode, and the corresponding staff is prompted to process the first warning message.

According to the embodiment of the invention, when the robot patrols the preset area according to the patrol route, the environment image around the robot is collected; determining a meter image according to the environment image, and determining the meter type and the meter value of the meter in the meter image; determining a safety threshold corresponding to the type of the instrument according to the corresponding relation between the type of the instrument and the safety threshold; a first warning message is sent when the meter value is not within a safety threshold range corresponding to the meter type. According to the embodiment of the invention, through automatic robot inspection and image recognition of the instrument value, and by comparing the instrument value with the corresponding safety threshold range, when potential safety hazards exist in the oil field station, an alarm message can be sent out in time to remind workers to perform corresponding processing, so that inspection cost can be reduced, the conditions of missed inspection and wrong inspection are reduced, and inspection efficiency is improved.

Fig. 3 is a schematic flow chart illustrating positioning of a robot in an inspection method based on instant positioning and map building according to another embodiment of the present invention. In this embodiment, on the basis of the embodiment in fig. 1, a detailed description is given to a process of implementing robot positioning in the inspection method. As shown in fig. 3, the method may further include:

s301, acquiring first position information of the robot positioned in a GPS (global positioning system) positioning mode, And acquiring second position information of the robot positioned by an SLAM (Simultaneous Localization And Mapping).

In this embodiment, the robot is provided with a GPS positioning module, and the first position information of the robot can be located in a GPS positioning manner. The robot is also positioned in an SLAM mode in the inspection process. The SLAM positioning mode can enable the robot to make reasonable path planning according to information such as sensors, road conditions and the like under the condition of no human intervention, and the robot can reach a preset destination and establish a map.

S302, determining the actual position information of the robot according to the first position information and the second position information.

In this embodiment, since the map created by the SLAM positioning method usually cannot cover all areas of the oil field, and the robot position information obtained by SLAM positioning in the area that is not covered is not accurate, the robot can be positioned by combining with the GPS positioning method. For example, for the first position information and the second position information obtained by positioning at the same time, a position point corresponding to the first position information may be used as a center of a circle, a circular area with a preset radius value as a radius may be used as a reference area, and if the position point corresponding to the second position information is located in the reference area, the second position information may be used as actual position information of the robot; and if the position point corresponding to the second position information is not located in the reference area, the first position information is used as the actual position information of the robot.

In the embodiment, by combining the GPS positioning mode and the SLAM positioning mode, the robot can accurately position the position in the area which cannot be covered by the SLAM map, so that the path navigation of the robot is more accurate.

Optionally, because the automatic robot that patrols and examines in oil field station will solve mark inspection point, at two tasks of the point information acquisition of patrolling and examining, need realize the location of centimetre level precision to the robot in the part position of field station, consequently this embodiment is based on traditional SLAM, combines the degree of depth study to carry out the loop and detects, and to the special environment of oil field station, has collected a special training data set and has trained the network, has realized higher positioning accuracy.

Fig. 4 is a schematic flow chart of sound detection in a tour inspection method based on instant positioning and map construction according to another embodiment of the present invention. In this embodiment, on the basis of the embodiment in fig. 1, a detailed description is given to an implementation process of sound detection in the inspection method. As shown in fig. 4, the method may further include:

s401, sound information around the robot is collected through a sound sensor.

In this embodiment, the sound sensor may be installed on the robot, and collects sound information in the environment around the robot during the inspection process of the robot.

S402, extracting the sound information corresponding to the target device from the sound information.

In this embodiment, the processing such as filtering and amplifying the sound information may be used to filter the interference noise of the sound information and extract the sound information corresponding to the target device. The target device can be determined according to the position of the robot when the sound information is collected.

S403, comparing the sound information corresponding to the target device with the voiceprint of the target device in a normal operation state, and judging whether the target device operates normally.

In this embodiment, the patrol device stores location information of each device, and may determine the target device identifier according to the location of the robot, and obtain a voiceprint corresponding to the target device identifier from the local storage or the server. And the voiceprint of the target equipment is the sound information of the target equipment in a normal running state. The routing inspection equipment compares the extracted sound information corresponding to the target equipment with the voiceprint of the target equipment in a normal operation state, and if the extracted sound information is consistent with the voiceprint of the target equipment in the normal operation state, the target equipment is judged to be normally operated; and if the operation states are not consistent, judging that the target equipment is abnormal in operation. Optionally, if the target device is judged to be abnormally operated, alarm information is sent.

In this embodiment, whether the target device normally operates can be accurately determined by comparing the sound information corresponding to the target device with the voiceprint of the target device in the normal operation state, and automatic inspection of the operation state of the device is realized through sound detection.

Optionally, install infrared sensor on patrolling and examining the robot, can obtain the temperature distribution information of equipment such as pipeline, oil storage tank through this infrared sensor, estimate the temperature of wherein material simultaneously, realize temperature detection.

Fig. 5 is a schematic flow chart illustrating helmet wearing detection in an inspection method based on instant positioning and map construction according to still another embodiment of the present invention. In this embodiment, on the basis of the embodiment in fig. 1, a process of implementing helmet wearing detection in the inspection method is described in detail. As shown in fig. 5, the method may further include:

s501, extracting a person image containing a person from the environment image.

In this embodiment, the patrol inspection apparatus may extract a person image including a person from the environment image. Taking an oil field station as an example, a person image containing oil field station staff can be extracted from the environment image.

S502, identifying whether the person in the person image wears a helmet or not.

In this embodiment, the person image may be identified, and it is identified that the person is wearing the helmet. Wherein, the helmet can be a safety helmet or a safety helmet, etc. For example, whether a person wears a helmet in a person image can be recognized by the Mask RCNN network.

And S503, if the person in the person image does not wear the helmet, sending second warning information.

In the embodiment, after determining that the person in the person image does not wear the helmet, second warning information may be sent to prompt the relevant staff to perform processing.

The embodiment can automatically identify the person who does not wear the helmet through image identification, and alarm through the second alarm information, so that accidents caused by the fact that the person does not wear the helmet can be reduced.

Fig. 6 is a schematic flow chart illustrating a process of identifying whether a person in a person image wears a helmet in an inspection method based on instant positioning and map construction according to a next embodiment of the present invention. In this embodiment, on the basis of the embodiment in fig. 5, a specific implementation process of identifying whether a person in a person image wears a helmet in an inspection method is described in detail. The outer surface of the helmet is provided with a first identification pattern, the outer surface of the character garment is provided with a second identification pattern, as shown in fig. 6, and the method can comprise the following steps:

s601, identifying whether the person image contains the first identification pattern.

In this embodiment, the first identification pattern is disposed on the outer surface of the helmet, for example, the first identification pattern may be a triangular pattern, a circular pattern, and the like, which is not limited herein. When the image is detected by the helmet, only the first identification pattern can be detected, and the outline, the color and the like of the helmet do not need to be detected, so that the image detection of the helmet is simpler and more accurate. The second identification pattern is disposed on an outer surface of a person garment, such as a work garment unified by a worker, for example, the second identification pattern may be a rectangular pattern, a pentagonal pattern, and the like, which is not limited herein. When the person is detected in the image, only the second identification pattern can be detected, and the contour, the color and the like of the person are not required to be detected, so that the image detection of the person is simpler and more accurate. In identifying whether a person in the personal image wears the helmet, it may be first identified whether the personal image contains the first identification pattern.

S602, if the character image contains the first identification pattern, determining the position information of the helmet in the character image according to the first identification pattern.

In this embodiment, if it is recognized that the person image does not include the first identification pattern, it indicates that the person image does not include the helmet, and thus it is determined that the person in the person image does not wear the helmet. And if the person image is identified to contain the first identification pattern, determining the position information of the helmet according to the first identification pattern. The position information of the helmet is the position information of the helmet in the character image.

S603, identifying the second identification pattern in the character image, and determining the position information of the character in the character image.

In this embodiment, after the person image is recognized to include the first identification pattern, the second identification pattern in the person image is recognized, and the position information of the person in the person image can be determined according to the second identification pattern. The position information of the person is the position information of the person in the person image.

S604, determining whether the person in the person image wears the helmet or not according to the position information of the helmet in the person image and the position information of the person.

In this embodiment, the extracted person image may be an image including only one person. The positional relationship between the image of the person and the position information of the helmet can be determined based on the position information of the helmet and the position information of the person, and it can be determined whether the person wears the helmet or not based on the positional relationship. For example, if the distance between the position of the helmet in the person image and the position of the person in the person image is smaller than a preset distance threshold, it is determined that the helmet is worn by the person in the person image, otherwise, it is determined that the helmet is not worn by the person in the person image.

The first identification pattern on the identification helmet and the second identification pattern on the person garment can reduce the difficulty of image identification, and whether the person in the person image wears the helmet or not can be accurately and quickly identified, so that the identification speed and accuracy are improved.

According to the embodiment of the invention, when the robot patrols the preset area according to the patrol route, the environment image around the robot is collected; determining a meter image according to the environment image, and determining the meter type and the meter value of the meter in the meter image; determining a safety threshold corresponding to the type of the instrument according to the corresponding relation between the type of the instrument and the safety threshold; a first warning message is sent when the meter value is not within a safety threshold range corresponding to the meter type. According to the embodiment of the invention, through automatic robot inspection and image recognition of the instrument value, and by comparing the instrument value with the corresponding safety threshold range, when potential safety hazards exist in the oil field station, an alarm message can be sent out in time to remind workers to perform corresponding processing, so that inspection cost can be reduced, the conditions of missed inspection and wrong inspection are reduced, and inspection efficiency is improved.

Fig. 7 is a schematic structural diagram of an inspection device based on instant positioning and map construction according to an embodiment of the present invention. As shown in fig. 7, the inspection device 70 based on instant positioning and mapping includes: an acquisition module 701, a first identification module 702, a first processing module 703 and a second processing module 704.

The acquisition module 701 is used for acquiring an environment image around the robot when the robot inspects a preset area according to an inspection path.

A first identifying module 702, configured to determine a meter image according to the environment image, and determine a meter type and a meter value of a meter in the meter image.

The first processing module 703 is configured to determine a safety threshold corresponding to the instrument type according to a preset correspondence between the instrument type and the safety threshold.

A second processing module 704 for sending a first warning message when the meter value is not within a safety threshold range corresponding to the meter type.

According to the embodiment of the invention, when the robot patrols the preset area according to the patrol route, the environment image around the robot is collected; determining a meter image according to the environment image, and determining the meter type and the meter value of the meter in the meter image; determining a safety threshold corresponding to the type of the instrument according to the corresponding relation between the type of the instrument and the safety threshold; a first warning message is sent when the meter value is not within a safety threshold range corresponding to the meter type. According to the embodiment of the invention, through automatic robot inspection and image recognition of the instrument value, and by comparing the instrument value with the corresponding safety threshold range, when potential safety hazards exist in the oil field station, an alarm message can be sent out in time to remind workers to perform corresponding processing, so that inspection cost can be reduced, the conditions of missed inspection and wrong inspection are reduced, and inspection efficiency is improved.

Fig. 8 is a schematic structural diagram of an inspection device based on instant positioning and map construction according to another embodiment of the present invention. As shown in fig. 8, the inspection device 70 based on instant positioning and mapping provided in this embodiment may further include, on the basis of the inspection device based on instant positioning and mapping provided in the embodiment shown in fig. 7: a positioning module 705, a sound detection module 706, and a second identification module 707.

Optionally, the positioning module 705 is configured to:

acquiring first position information of the robot positioned in a GPS (global positioning system) positioning mode and second position information of the robot positioned in an SLAM (SLAM) mode;

and determining the actual position information of the robot according to the first position information and the second position information.

Optionally, the sound detection module 706 is configured to:

collecting sound information around the robot through a sound sensor;

extracting sound information corresponding to the target equipment from the sound information;

and comparing the sound information corresponding to the target equipment with the voiceprint of the target equipment in a normal operation state, and judging whether the target equipment operates normally.

Optionally, the second identifying module 707 is configured to:

extracting a person image including a person from the environment image;

identifying whether a person in the person image wears a helmet;

and if the person in the person image does not wear the helmet, sending second warning information.

Optionally, the helmet outer surface is provided with a first identification pattern, the person garment outer surface is provided with a second identification pattern, and the second identification module 707 is configured to:

identifying whether the person image contains the first identification pattern;

if the character image contains the first identification pattern, determining the position information of the helmet in the character image according to the first identification pattern;

identifying a second identification pattern in the character image, and determining position information of a character in the character image;

and determining whether the person in the person image wears the helmet or not according to the position information of the helmet in the person image and the position information of the person.

The inspection device provided by the embodiment of the invention can be used for executing the method embodiment, the realization principle and the technical effect are similar, and the embodiment is not repeated herein.

Fig. 9 is a schematic diagram of a hardware structure of the inspection device based on the instant positioning and the map building according to an embodiment of the present invention. As shown in fig. 9, the inspection equipment 90 based on instant positioning and map construction according to the present embodiment includes: at least one processor 901 and memory 902. The inspection equipment 90 based on instant positioning and mapping further includes a communication component 903. The processor 901, the memory 902, and the communication section 903 are connected by a bus 904.

In a specific implementation process, the at least one processor 901 executes the computer-executable instructions stored in the memory 902, so that the at least one processor 901 performs the inspection method based on instant positioning and mapping.

For a specific implementation process of the processor 901, reference may be made to the above method embodiments, which implement principles and technical effects are similar, and details of this embodiment are not described herein again.

In the embodiment shown in fig. 9, it should be understood that the Processor may be a Central Processing Unit (CPU), other general-purpose processors, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of a method disclosed in connection with the present invention may be embodied directly in a hardware processor, or in a combination of the hardware and software modules within the processor.

The memory may comprise high speed RAM memory and may also include non-volatile storage NVM, such as at least one disk memory.

The bus may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, an Extended ISA (EISA) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, the buses in the figures of the present application are not limited to only one bus or one type of bus.

The application also provides a computer-readable storage medium, wherein computer-executable instructions are stored in the computer-readable storage medium, and when a processor executes the computer-executable instructions, the inspection method based on instant positioning and map construction is realized.

The computer-readable storage medium may be implemented by any type of volatile or non-volatile memory device or combination thereof, such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disk. Readable storage media can be any available media that can be accessed by a general purpose or special purpose computer.

An exemplary readable storage medium is coupled to the processor such the processor can read information from, and write information to, the readable storage medium. Of course, the readable storage medium may also be an integral part of the processor. The processor and the readable storage medium may reside in an Application Specific Integrated Circuits (ASIC). Of course, the processor and the readable storage medium may also reside as discrete components in the apparatus.

Those of ordinary skill in the art will understand that: all or a portion of the steps of implementing the above-described method embodiments may be performed by hardware associated with program instructions. The program may be stored in a computer-readable storage medium. When executed, the program performs steps comprising the method embodiments described above; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.

Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.

17页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种车辆驾驶员酒后驾驶检测系统及其检测方法

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类