CN113642453A - Obstacle detection method, device and system - Google Patents

Obstacle detection method, device and system Download PDF

Info

Publication number
CN113642453A
CN113642453A CN202110917893.6A CN202110917893A CN113642453A CN 113642453 A CN113642453 A CN 113642453A CN 202110917893 A CN202110917893 A CN 202110917893A CN 113642453 A CN113642453 A CN 113642453A
Authority
CN
China
Prior art keywords
image
obstacle
real
detected
detection
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
Application number
CN202110917893.6A
Other languages
Chinese (zh)
Inventor
邵国富
胡奇
万昭良
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Jingdong Qianshi Technology Co Ltd
Original Assignee
Beijing Jingdong Qianshi Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Beijing Jingdong Qianshi Technology Co Ltd filed Critical Beijing Jingdong Qianshi Technology Co Ltd
Priority to CN202110917893.6A priority Critical patent/CN113642453A/en
Publication of CN113642453A publication Critical patent/CN113642453A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Image Analysis (AREA)

Abstract

本公开涉及一种障碍物的检测方法、装置和系统,涉及计算机技术领域。该障碍物的检测方法包括:根据待检测场地的实时影像数据,确定待识别图像;计算待识别图像与标准背景图像之间的图像差异,标准背景图像为不存在障碍物的待检测场地的图像;根据图像差异,检测待识别图像中是否存在障碍物。

Figure 202110917893

The present disclosure relates to an obstacle detection method, device and system, and relates to the field of computer technology. The obstacle detection method includes: determining an image to be recognized according to real-time image data of a site to be detected; calculating an image difference between the image to be recognized and a standard background image, where the standard background image is an image of the site to be detected without obstacles ; According to the image difference, detect whether there are obstacles in the image to be recognized.

Figure 202110917893

Description

Obstacle detection method, device and system
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a method and an apparatus for detecting an obstacle, a system for detecting an obstacle, and a non-volatile computer-readable storage medium.
Background
At present, Automated Guided Vehicles (AGVs) are used in a wide variety of fields. Particularly, two-dimensional codes are adopted as a navigation mode, and the application in the market is the most common. In the goods-to-person picking mode, a common approach is to place the items on custom shelves.
For example, the shelf types are various, and the shelf can be tall or short, and large or small. The number of layers of the shelf, the number of the shelf grids and the sizes of the grids can be flexibly set according to actual operation needs.
The vast majority of the goods shelves are marked as the surfaces A or B, are designed to be open and are used as goods shelves for putting on or picking off; the other two sides are completely covered by the baffle plates to prevent the goods from falling off the shelf. There are also shelf designs that are open on four sides, especially in the operating scenario where there are many small items of merchandise.
However, in the process of unloading and carrying the racks with two or four open sides, the racks are inevitably subjected to the situation that the commodities fall off the racks, so that obstacles are formed in the AGV driving area.
In the related technology, the AGV stays in front of the obstacle until reaching the preset alarm time of the system, and gives an alarm that the AGV cannot normally reach; after the system gives an alarm, an operator determines which AGV sends an alarm and the current position on the system; when the obstacle is disposed at the position, the AGV can normally continue to travel.
Disclosure of Invention
The inventors of the present disclosure found that the following problems exist in the above-described related art: obstacles cannot be found in time, resulting in low service processing efficiency.
In view of this, the present disclosure provides a technical solution for detecting an obstacle, which can find the obstacle in time, thereby improving the service processing efficiency.
According to some embodiments of the present disclosure, there is provided a method of detecting an obstacle, including: determining an image to be identified according to real-time image data of a field to be detected; calculating the image difference between the image to be identified and a standard background image, wherein the standard background image is the image of the field to be detected without the barrier; and detecting whether an obstacle exists in the image to be recognized according to the image difference.
In some embodiments, determining the image to be recognized according to the real-time image data of the field to be detected includes: acquiring a real-time image from a monitoring video stream of a site to be detected; detecting whether a moving object exists in the real-time image; under the condition that a moving object exists, filtering the moving object in the real-time image to generate an image to be identified; and determining the real-time image as the image to be identified in the case that no moving object exists.
In some embodiments, detecting whether a moving object is present in the real-time image comprises: detecting whether a moving object exists or not by utilizing an optical flow method according to adjacent frame images of the real-time images in the monitoring video stream; in the presence of moving objects, filtering the moving objects comprises: and filtering the moving objects in the real-time image by using an optical flow method.
In some embodiments, calculating the image difference between the image to be recognized and the standard background image comprises: and carrying out image difference processing on the image to be identified and the standard background image, and determining a difference image as an image difference.
In some embodiments, detecting whether an obstacle exists in the image to be recognized according to the image difference comprises: and performing edge detection processing on the difference image, and determining the area of the obstacle in the difference image according to the size of the image area enclosed by the edges.
In some embodiments, performing edge detection processing on the difference image, and determining the area where the obstacle is located in the difference image according to the size of the image area surrounded by the edges includes: carrying out binarization processing on the difference image; performing edge detection on a binarization processing result, and determining an image area enclosed by each edge; and determining the image area as the area where the obstacle is located when the size of the image area is larger than the first threshold and smaller than the second threshold.
In some embodiments, determining the image to be recognized according to the real-time image data of the field to be detected includes: acquiring real-time image data of different areas by using image acquisition devices arranged in different areas of a detection field, wherein the real-time image data and corresponding images to be identified of the real-time image data are in corresponding relation with the areas; the detection method further comprises the following steps: and under the condition that any image to be detected has the obstacle, determining the area where the obstacle is located according to the corresponding relation.
In some embodiments, the detecting further comprises: and under the condition that the obstacle exists in the image to be detected, reporting the related information of the obstacle to an upper control system so that the upper control system can send out an early warning signal.
According to further embodiments of the present disclosure, there is provided a detection apparatus of an obstacle, including: the determining unit is used for determining an image to be identified according to the real-time image data of the field to be detected; the calculating unit is used for calculating the image difference between the image to be identified and a standard background image, wherein the standard background image is the image of the field to be detected without the barrier; and the detection unit is used for detecting whether the obstacle exists in the image to be identified according to the image difference.
According to still further embodiments of the present disclosure, there is provided a detection system of an obstacle, including: detection means for performing the detection method in any of the above embodiments; and the image acquisition device is used for acquiring real-time image data of the field to be detected.
In some embodiments, the image capturing devices are installed in different areas of the detection field, and each image capturing device has a unique identifier for identifying the captured real-time image data and the corresponding image to be recognized.
In some embodiments, the monitoring system further comprises: and the upper control system is used for sending out an early warning signal according to the related information of the obstacles reported by the detection device.
According to still further embodiments of the present disclosure, there is provided a detection apparatus of an obstacle, including: a memory; and a processor coupled to the memory, the processor configured to perform the method of detecting an obstacle of any of the above embodiments based on instructions stored in the memory device.
According to still further embodiments of the present disclosure, there is provided a non-transitory computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the method of detecting an obstacle in any of the above embodiments.
In the embodiment, the obstacles in the field to be detected are detected in time according to the image difference between the real-time image and the standard background image of the field to be detected, so that the service processing efficiency is improved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments of the disclosure and together with the description, serve to explain the principles of the disclosure.
The present disclosure can be more clearly understood from the following detailed description with reference to the accompanying drawings, in which:
fig. 1 illustrates a flow diagram of some embodiments of a method of detecting an obstacle of the present disclosure;
fig. 2 shows a schematic diagram of some embodiments of a method of detecting an obstacle of the present disclosure;
FIG. 3 illustrates a flow diagram of further embodiments of the presently disclosed method of detecting an obstacle;
FIG. 4 illustrates a block diagram of some embodiments of an obstacle detection apparatus of the present disclosure;
FIG. 5 shows a block diagram of further embodiments of the obstacle detection apparatus of the present disclosure;
FIG. 6 illustrates a block diagram of still further embodiments of an obstacle detection apparatus of the present disclosure;
fig. 7 illustrates a block diagram of some embodiments of the obstacle detection system of the present disclosure.
Detailed Description
Various exemplary embodiments of the present disclosure will now be described in detail with reference to the accompanying drawings. It should be noted that: the relative arrangement of the components and steps, the numerical expressions, and numerical values set forth in these embodiments do not limit the scope of the present disclosure unless specifically stated otherwise.
Meanwhile, it should be understood that the sizes of the respective portions shown in the drawings are not drawn in an actual proportional relationship for the convenience of description.
The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the disclosure, its application, or uses.
Techniques, methods, and apparatus known to those of ordinary skill in the relevant art may not be discussed in detail, but are intended to be part of the specification where appropriate.
In all examples shown and discussed herein, any particular value should be construed as merely illustrative, and not limiting. Thus, other examples of the exemplary embodiments may have different values.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, further discussion thereof is not required in subsequent figures.
As mentioned above, the goods are not placed neatly on the goods shelf and easily slide off to form obstacles; some commodities are wrapped with a clinker film, and the commodities are easy to slide and form obstacles.
Some shelves are open greatly, if the fish tape on the goods shelves is not tied well, or the fish tape drops off in the driving process and other uncontrollable factors, the situation that goods and the grid baffle of the goods shelves drop on the ground from the goods shelves in the actual operation process can be caused. There are also other non-rack items, such as cleaning implements, etc., that are lost to the area where the AGV operates due to some human factor.
These conditions can cause the AGV to detect a front obstacle while traveling. In order to ensure safety and prevent the AGV from colliding with a barrier, the AGV can automatically decelerate and stop in front of the barrier, and can continue to run after manual treatment for removing the barrier. This delays normal production operation.
In addition, the situation that the operation personnel do not operate according to the operation standard and the goods on the shelf are placed beyond the vertical surface of the shelf often occurs. When other AGVs pass by the goods shelf or meet other AGVs during the transportation and driving of the goods shelf by the AGVs, the goods exceeding the goods shelf or the goods shelves on the other AGVs are easily scratched, so that the AGVs are separated from the normal driving track, and influence is brought to production.
Due to the influence of some external force, the deviation of the goods shelf from the original storage position is too large, or the AGV has deviation when putting down the goods shelf. When other AGV carrying goods shelves pass through the position, the AGV carrying goods shelves are easy to scratch with the AGV carrying goods shelves.
If the material of the shelf baffle is made of the easily deformable material such as the hard paperboard, the paperboard can be broken and deformed in long-term use, so that the paperboard exceeds the vertical surface of the shelf. And the AGV and the goods shelf are easy to scratch during the driving process.
When the AGV detects the obstacle, the AGV adopts a deceleration parking mode to prevent the collision with the obstacle, and the AGV cannot continue to run until the obstacle is manually processed. This can affect the efficiency of the manufacturing operation. Particularly, when the requirement on order processing timeliness is high, the order production is not timely, namely, the so-called 'hanging order' phenomenon is often caused.
Since a plurality of code points right in front of the obstacle may be locked by the current AGV but cannot continue to travel forward by itself, the locked code points cannot be unlocked in time. Thus, other AGVs driving to the position are prevented from running due to failure of the locking point; even large-area traffic jam can be often caused, and finally, the operation personnel are time-consuming and labor-consuming to process, and the cost is high.
The AGV pushes against a carrying goods shelf for a long time, so that great loss is caused in the aspect of self energy consumption, and the AGV cannot be charged in time. In some cases, it may even happen that the AGV is completely exhausted, and it is very difficult to process the AGV again.
The AGV is in a stop waiting state for a long time, so that the utilization rate of the AGV per se is reduced. Especially, when large-scale traffic jam is caused, the actual operation efficiency is greatly influenced.
To above-mentioned technical problem, through the technical scheme of this disclosure in the place of AGV activity, especially on the route that AGV normally traveles, there is any object that loses or the commodity that drops from the goods shelves, the system can discover rapidly to give the early warning in real time, remind work very first time to handle. For example, the technical solution of the present disclosure can be realized by the following embodiments.
Fig. 1 illustrates a flow diagram of some embodiments of a method of detecting an obstacle of the present disclosure.
As shown in fig. 1, in step 110, an image to be recognized is determined according to real-time image data of a field to be detected.
In some embodiments, a standard background image may be acquired on demand in advance. For example, a standard background image may be pre-processed into a subsequently required data format.
In some embodiments, the standard background map and the real-time image may be acquired in a synchronized process. For example, the system may obtain real-time images from a video stream in real-time; and acquiring real-time pictures from the video stream at regular time (the acquisition frequency can be determined according to actual requirements).
In some embodiments, a real-time image is obtained from a surveillance video stream of a site to be detected; detecting whether a moving object exists in the real-time image; under the condition that a moving object exists, filtering the moving object in the real-time image to generate an image to be identified; and determining the real-time image as the image to be identified in the case that no moving object exists.
For example, detecting whether a moving object exists or not by using an optical flow method according to adjacent frame images of the real-time image in the monitoring video stream; in the presence of moving objects, filtering the moving objects comprises: and filtering the moving objects in the real-time image by using an optical flow method.
For example, in a complex scene with moving objects, the moving objects can be identified and filtered out by using an optical flow method.
The video stream acquired in the field may have slight jitter, which may cause a situation that the standard background image and the real-time image are not completely consistent. Jitter displacement may be added to the image by the pixel compression process to simulate this situation for testing the technical solution of the present disclosure.
In step 120, an image difference between the image to be recognized and a standard background image is calculated, where the standard background image is an image of the field to be detected without the obstacle.
In some embodiments, the image difference processing is carried out on the image to be identified and the standard background image, and a difference image is determined as an image difference; and performing edge detection processing on the difference image, and determining the area of the obstacle in the difference image according to the size of the image area enclosed by the edges.
For example, firstly, the image to be recognized and the standard background image are subjected to gray processing (for example, an RGB component averaging mode is adopted); then, after Gaussian smoothing, median filtering and the like are adopted for processing, normalization processing is carried out; finally, image difference processing is performed.
For example, the image difference processing may be subtracting pixel values of pixel points at corresponding positions of two pictures to obtain a difference image.
In some embodiments, the difference image is subjected to binarization processing; and carrying out edge detection on the binarization processing result, and determining an image area enclosed by each edge.
For example, a gray threshold may be set, and two portions of the difference image with gray values greater than and less than the gray threshold may be determined; and processing the pixel points smaller than the gray threshold value into black, and not processing the pixel points larger than the gray threshold value. The binaryzation processing can filter out the whole position deviation caused by the shake during image acquisition, thereby improving the detection accuracy. For example, the grayscale threshold may be between 85 and 120.
In step 130, whether an obstacle exists in the image to be recognized is detected according to the image difference.
In some embodiments, in the case where the size of the image area is greater than the first threshold and less than the second threshold, the image area is determined to be the area where the obstacle is located.
For example, the boundaries in the binarized image may be found first; the boundaries are filtered, i.e. regions that are too small or too large, which may be noise-forming, are filtered out according to the size of the region enclosed by the boundaries.
If the outline of the obstacle is not identified in the area threshold range, the obstacle is not considered to appear, and the process is ended; if a plurality of goods fall off or the goods shelf moves on site, the area enclosed by the identified boundary can be a plurality of areas, and identification can be performed on the image by using the identification frame according to the position of the identified obstacle.
In some embodiments, real-time image data of different areas are acquired by using image acquisition devices installed in different areas of a detection field, and a corresponding relation is established between each real-time image data and a corresponding image to be identified and each area; and under the condition that any image to be detected has the obstacle, determining the area where the obstacle is located according to the corresponding relation.
For example, when the image to be detected has an obstacle, the information related to the obstacle is reported to the upper control system, so that the upper control system sends out an early warning signal.
Fig. 2 shows a schematic diagram of some embodiments of the method of detecting an obstacle of the present disclosure.
As shown in FIG. 2, the camera is installed above the AGV activity field, so that image data in the AGV activity field are collected in real time, and the image data are uploaded to an intelligent image identification system comprising a detection device.
Therefore, as long as any object is left in the range visible by the camera, the intelligent picture identification system can quickly give out positioning and immediately report the area where the object is located to the upper control system. For example, the upper level control system may include an AGV console system.
The upper control system can immediately give a very obvious early warning; operators can immediately know which region has the obstacle object to drop, and the manual treatment is only needed. If the obstacle clearing robot is arranged on site, the obstacle clearing robot can be directly called to a destination point to clear obstacles.
In some embodiments, a camera device may be installed above the AGV arena, and each camera is assigned a unique number; and setting a unique number for the fixed position where each camera is installed.
In some embodiments, a camera may be turned on to record live operation pictures in real time. For example, the image collector can decompose the video data into a picture according to frames and upload the picture to the image intelligent identification system in real time; the image recognition system can adopt a target recognition method based on a single frame to locate the position of the obstacle.
When the image intelligent recognition system finds that the obstacle is left in the field, the obstacle is reported to the upper control system according to the number of the current camera and the position of the current camera. And the upper control system gives real-time early warning.
For example, a large screen may be installed at a prominent position of the field to be detected, and a picture with an obstacle captured by the camera may be displayed on the large screen in real time. The operator can timely handle the left-over object or directly schedule the obstacle clearing robot to immediately clear.
Fig. 3 shows a flow chart of further embodiments of the obstacle detection method of the present disclosure.
As shown in fig. 3, in step 310, a standard background image may be acquired in advance as required. For example, a standard background image may be pre-processed into a subsequently required data format. The standard background image and the real-time image can be acquired in a synchronous processing mode. For example, the system may obtain real-time images from a video stream in real-time; and acquiring real-time pictures from the video stream at regular time (the acquisition frequency can be determined according to actual requirements).
In step 320, it may be determined whether a moving object exists in the image by using an optical flow method. Under the complex scene with moving objects, the moving objects can be identified by using an optical flow method, and the images to be detected are determined after the moving objects are filtered; in the case where there is no moving object, the image may be taken as an image to be detected.
In step 330, the image to be recognized and the standard background image are subjected to a gray scale process (e.g., an RGB component averaging process). For example, RGB (red green blue) component data may be read in accordance with image information to perform gradation processing.
In step 340, a picture morphology process is performed. For example, the normalization process may be performed after the process such as gaussian smoothing or median filtering is performed.
In step 350, image difference processing is performed. The image difference processing may be subtracting pixel values of pixel points at corresponding positions of the two pictures to obtain a difference image.
In step 360, the contour of the obstacle is detected. For example, a gray threshold may be set, and two portions of the difference image with gray values greater than and less than the gray threshold may be determined; and processing the pixel points smaller than the gray threshold value into black, and not processing the pixel points larger than the gray threshold value. The binaryzation processing can filter out the whole position deviation caused by the shake during image acquisition, thereby improving the detection accuracy. For example, the grayscale threshold may be between 85 and 120.
In step 370, it is determined whether the difference is greater than a threshold. For example, if no contour of an obstacle is identified within the area threshold range, no obstacle is considered to be present, and step 310 is repeatedly performed; if there are more than one item dropped or shelf moved in the field, the identified area bounded by the boundaries can be more than one and step 380 can be performed.
In step 380, an image is identified using an identification frame based on the location of the identified obstacle.
In the embodiment, the image recognition technology is combined with an AGV operation scene, the obstacle is positioned through the image recognition technology, and an alarm is sent out, so that the obstacle can be removed by a manual or obstacle clearing robot at the first time.
Thus, the technical problem that the falling problem of the article is difficult to find can be solved; the problem that the AGV stays in a certain area for a long time due to the fault of the AGV is solved; the problem of overlarge offset of the goods shelf and the storage position is found in time; the problem that the articles on the goods shelf are not placed orderly or exceed the vertical surface of the goods shelf is found in time; the problem that the hard paperboard of the goods shelf deforms and is damaged and exceeds the vertical surface of the goods shelf is found in time.
Fig. 4 illustrates a block diagram of some embodiments of an obstacle detection apparatus of the present disclosure.
As shown in fig. 4, the obstacle detection device 4 includes a determination unit 41, a calculation unit 42, and a detection unit 43.
The determining unit 41 determines an image to be identified according to the real-time image data of the field to be detected; the calculating unit 42 calculates the image difference between the image to be recognized and a standard background image, wherein the standard background image is an image of a to-be-detected field without an obstacle; the detection unit 43 detects whether an obstacle exists in the image to be recognized based on the image difference.
In some embodiments, the determining unit 41 obtains a real-time image from a surveillance video stream of the site to be detected; the detection unit 43 detects whether or not a moving object exists in the real-time image; the determining unit 41 filters the moving object in the real-time image to generate an image to be identified in the presence of the moving object; the determination unit 41 determines the real-time image as an image to be recognized in the absence of a moving object.
In some embodiments, the detection unit 43 detects whether there is a moving object by using an optical flow method based on the adjacent frame images of the real-time image in the monitoring video stream; the determination unit 41 filters the moving object in the real-time image using the optical flow method.
In some embodiments, the calculating unit 42 performs image difference processing on the image to be recognized and the standard background image, and determines a difference image as the image difference.
In some embodiments, the detecting unit 43 performs edge detection processing on the difference image, and determines the area where the obstacle is located in the difference image according to the size of the image area surrounded by the edges.
The detection unit 43 performs binarization processing on the difference image in some embodiments; performing edge detection on a binarization processing result, and determining an image area enclosed by each edge; and determining the image area as the area where the obstacle is located when the size of the image area is larger than the first threshold and smaller than the second threshold.
In some embodiments, the determining unit 41 obtains real-time image data of different areas by using image capturing devices installed in different areas of the detection site, where each real-time image data and its corresponding image to be identified establish a corresponding relationship with each area; when detecting that an obstacle exists in any one of the images to be detected, the determination unit 41 determines the area where the obstacle exists, based on the correspondence relationship.
In some embodiments, in the case that the detection unit 43 detects that there is an obstacle in the image to be detected, it reports the information about the obstacle to the upper control system, so that the upper control system sends out an early warning signal.
Fig. 5 shows a block diagram of further embodiments of the obstacle detection apparatus of the present disclosure.
As shown in fig. 5, the obstacle detection device 5 of this embodiment includes: a memory 51 and a processor 52 coupled to the memory 51, the processor 52 being configured to execute a method of detecting an obstacle in any one of the embodiments of the present disclosure based on instructions stored in the memory 51.
The memory 51 may include, for example, a system memory, a fixed nonvolatile storage medium, and the like. The system memory stores, for example, an operating system, an application program, a Boot Loader, a database, and other programs.
Fig. 6 shows a block diagram of still further embodiments of the obstacle detection apparatus of the present disclosure.
As shown in fig. 6, the obstacle detection device 6 of this embodiment includes: a memory 610 and a processor 620 coupled to the memory 610, the processor 620 being configured to perform the method of detecting an obstacle in any of the above embodiments based on instructions stored in the memory 610.
The memory 610 may include, for example, system memory, fixed non-volatile storage media, and the like. The system memory stores, for example, an operating system, an application program, a Boot Loader, and other programs.
The obstacle detection device 6 may further include an input-output interface 630, a network interface 640, a storage interface 650, and the like. These interfaces 630, 640, 650 and the connections between the memory 610 and the processor 620 may be through a bus 660, for example. The input/output interface 630 provides a connection interface for input/output devices such as a display, a mouse, a keyboard, a touch screen, a microphone, and a sound box. The network interface 640 provides a connection interface for various networking devices. The storage interface 650 provides a connection interface for external storage devices such as an SD card and a usb disk.
Fig. 7 illustrates a block diagram of some embodiments of the obstacle detection system of the present disclosure.
As shown in fig. 7, the obstacle detection system 7 includes: a detection device 71 for performing the detection method in any of the above embodiments; and the image acquisition device 72 is used for acquiring real-time image data of the field to be detected.
In some embodiments, the image capturing devices 72 are installed in different areas of the inspection site, and each image capturing device 72 has a unique identifier for identifying the real-time image data captured by the image capturing device and the corresponding image to be recognized.
In some embodiments, the monitoring system 7 further comprises: and the upper control system 73 is used for sending out an early warning signal according to the relevant information of the obstacle reported by the detection device.
As will be appreciated by one skilled in the art, embodiments of the present disclosure may be provided as a method, system, or computer program product. Accordingly, the present disclosure may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present disclosure may take the form of a computer program product embodied on one or more computer-usable non-transitory storage media having computer-usable program code embodied therein, including but not limited to disk storage, CD-ROM, optical storage, and the like.
So far, the detection method of an obstacle, the detection apparatus of an obstacle, the detection system of an obstacle, and the nonvolatile computer-readable storage medium according to the present disclosure have been described in detail. Some details that are well known in the art have not been described in order to avoid obscuring the concepts of the present disclosure. It will be fully apparent to those skilled in the art from the foregoing description how to practice the presently disclosed embodiments.
The method and system of the present disclosure may be implemented in a number of ways. For example, the methods and systems of the present disclosure may be implemented by software, hardware, firmware, or any combination of software, hardware, and firmware. The above-described order for the steps of the method is for illustration only, and the steps of the method of the present disclosure are not limited to the order specifically described above unless specifically stated otherwise. Further, in some embodiments, the present disclosure may also be embodied as programs recorded in a recording medium, the programs including machine-readable instructions for implementing the methods according to the present disclosure. Thus, the present disclosure also covers a recording medium storing a program for executing the method according to the present disclosure.
Although some specific embodiments of the present disclosure have been described in detail by way of example, it should be understood by those skilled in the art that the foregoing examples are for purposes of illustration only and are not intended to limit the scope of the present disclosure. It will be appreciated by those skilled in the art that modifications may be made to the above embodiments without departing from the scope and spirit of the present disclosure. The scope of the present disclosure is defined by the appended claims.

Claims (14)

1.一种障碍物的检测方法,包括:1. A method for detecting obstacles, comprising: 根据待检测场地的实时影像数据,确定待识别图像;Determine the image to be recognized according to the real-time image data of the site to be detected; 计算所述待识别图像与标准背景图像之间的图像差异,所述标准背景图像为不存在障碍物的所述待检测场地的图像;calculating the image difference between the to-be-identified image and a standard background image, where the standard background image is an image of the to-be-detected site without obstacles; 根据所述图像差异,检测所述待识别图像中是否存在障碍物。According to the image difference, it is detected whether there is an obstacle in the to-be-recognized image. 2.根据权利要求1所述的检测方法,其中,所述根据待检测场地的实时影像数据,确定待识别图像包括:2. The detection method according to claim 1, wherein the determining the image to be recognized according to the real-time image data of the site to be detected comprises: 从所述待检测场地的监控视频流中,获取实时图像;Obtain a real-time image from the monitoring video stream of the site to be detected; 检测所述实时图像中是否存在移动物体;detecting whether there is a moving object in the real-time image; 在存在移动物体的情况下,过滤所述实时图像中的移动物体,生成所述待识别图像;In the presence of moving objects, filtering the moving objects in the real-time image to generate the to-be-identified image; 在不存在移动物体的情况下,将所述实时图像确定为所述待识别图像。When there is no moving object, the real-time image is determined as the to-be-recognized image. 3.根据权利要求2所述的检测方法,其中,所述检测所述实时图像中是否存在移动物体包括:3. The detection method according to claim 2, wherein the detecting whether there is a moving object in the real-time image comprises: 根据所述实时图像在所述监控视频流中的相邻帧图像,利用光流法检测是否存在移动物体;According to the adjacent frame images of the real-time image in the monitoring video stream, use the optical flow method to detect whether there is a moving object; 所述在存在移动物体的情况下,过滤所述移动物体包括:In the presence of moving objects, filtering the moving objects includes: 利用光流法,过滤所述实时图像中的移动物体。Using optical flow methods, moving objects in the live image are filtered. 4.根据权利要求1所述的检测方法,其中,所述计算所述待识别图像与标准背景图像之间的图像差异包括:4. The detection method according to claim 1, wherein the calculating the image difference between the to-be-recognized image and the standard background image comprises: 对所述待识别图像和所述标准背景图像进行图像差分处理,确定差分图像作为所述图像差异。Perform image difference processing on the to-be-recognized image and the standard background image, and determine the difference image as the image difference. 5.根据权利要求4所述的检测方法,其中,所述根据所述图像差异,检测所述待识别图像中是否存在障碍物包括:5. The detection method according to claim 4, wherein the detecting whether there is an obstacle in the to-be-recognized image according to the image difference comprises: 对所述差分图像进行边缘检测处理,根据各边缘围成的图像区域的大小,确定所述差分图像中障碍物的所在区域。Perform edge detection processing on the differential image, and determine the area where the obstacle in the differential image is located according to the size of the image area enclosed by each edge. 6.根据权利要求5所述的检测方法,其中,所述对所述差分图像进行边缘检测处理,根据各边缘围成的图像区域的大小,确定所述差分图像中障碍物的所在区域包括:6. The detection method according to claim 5, wherein, performing edge detection processing on the differential image, according to the size of the image area enclosed by each edge, determining the area where the obstacle is located in the differential image comprises: 对所述差分图像进行二值化处理;performing binarization processing on the difference image; 对二值化处理结果进行边缘检测,确定各边缘围成的图像区域;Perform edge detection on the binarization result to determine the image area enclosed by each edge; 在图像区域的大小大于第一阈值且小于第二阈值的情况下,将该图像区域确定为障碍物的所在区域。When the size of the image area is larger than the first threshold and smaller than the second threshold, the image area is determined as the area where the obstacle is located. 7.根据权利要求1-6任一项所述的检测方法,其中,所述根据待检测场地的实时影像数据,确定待识别图像包括:7. The detection method according to any one of claims 1-6, wherein the determining of the to-be-recognized image according to the real-time image data of the to-be-detected site comprises: 利用安装在所述检测场地不同区域的图像采集装置,获取不同区域的实时影像数据,各实时影像数据及其相应的待识别图像与各区域建立有对应关系;Real-time image data of different areas is acquired by using image acquisition devices installed in different areas of the detection site, and each real-time image data and its corresponding to-be-recognized image establishes a corresponding relationship with each area; 还包括:Also includes: 在检测出任一个待检测图像存在障碍物的情况下,根据所述对应关系,确定所述障碍物所在的区域。When an obstacle is detected in any of the images to be detected, the area where the obstacle is located is determined according to the corresponding relationship. 8.根据权利要求1-6任一项所述的检测方法,还包括:8. The detection method according to any one of claims 1-6, further comprising: 在检测出所述待检测图像存在障碍物的情况下,将所述障碍物的相关信息上报给上层控制系统,以便所述上层控制系统发出预警信号。When it is detected that there is an obstacle in the to-be-detected image, the relevant information of the obstacle is reported to the upper-layer control system, so that the upper-layer control system can issue an early warning signal. 9.一种障碍物的检测装置,包括:9. An obstacle detection device, comprising: 确定单元,用于根据待检测场地的实时影像数据,确定待识别图像;a determining unit, used for determining the image to be recognized according to the real-time image data of the site to be detected; 计算单元,用于计算所述待识别图像与标准背景图像之间的图像差异,所述标准背景图像为不存在障碍物的所述待检测场地的图像;a calculation unit, configured to calculate the image difference between the to-be-recognized image and a standard background image, where the standard background image is an image of the to-be-detected site without obstacles; 检测单元,用于根据所述图像差异,检测所述待识别图像中是否存在障碍物。A detection unit, configured to detect whether there is an obstacle in the to-be-identified image according to the image difference. 10.一种障碍物的检测系统,包括:10. An obstacle detection system, comprising: 检测装置,用于执行权利要求1-8任一项所述的检测方法;A detection device for performing the detection method according to any one of claims 1-8; 图像采集装置,用于获取待检测场地的实时影像数据。The image acquisition device is used to acquire real-time image data of the site to be detected. 11.根据权利要求10所述的检测系统,其中,所述图像采集装置为多个,分别安装在所述检测场地不同区域,各图像采集装置具有唯一标识用于标识其采集的实时影像数据及其相应的待识别图像。11. The detection system according to claim 10, wherein there are multiple image acquisition devices, which are respectively installed in different areas of the detection site, and each image acquisition device has a unique identifier for identifying the real-time image data and its corresponding image to be recognized. 12.根据权利要求10所述的检测系统,还包括:12. The detection system of claim 10, further comprising: 上层控制系统,用于根据所述检测装置上报的所述障碍物的相关信息发出预警信号。The upper layer control system is configured to issue an early warning signal according to the relevant information of the obstacle reported by the detection device. 13.一种障碍物的检测装置,包括:13. An obstacle detection device, comprising: 存储器;和memory; and 耦接至所述存储器的处理器,所述处理器被配置为基于存储在所述存储器中的指令,执行权利要求1-8任一项所述的障碍物的检测方法。A processor coupled to the memory, the processor configured to perform the obstacle detection method of any one of claims 1-8 based on instructions stored in the memory. 14.一种非易失性计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现权利要求1-8任一项所述的障碍物的检测方法。14. A non-volatile computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, implements the obstacle detection method according to any one of claims 1-8.
CN202110917893.6A 2021-08-11 2021-08-11 Obstacle detection method, device and system Pending CN113642453A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110917893.6A CN113642453A (en) 2021-08-11 2021-08-11 Obstacle detection method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110917893.6A CN113642453A (en) 2021-08-11 2021-08-11 Obstacle detection method, device and system

Publications (1)

Publication Number Publication Date
CN113642453A true CN113642453A (en) 2021-11-12

Family

ID=78420762

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110917893.6A Pending CN113642453A (en) 2021-08-11 2021-08-11 Obstacle detection method, device and system

Country Status (1)

Country Link
CN (1) CN113642453A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114694115A (en) * 2022-03-24 2022-07-01 商汤集团有限公司 Road obstacle detection method, device, equipment and storage medium
CN117315619A (en) * 2023-09-22 2023-12-29 东风商用车有限公司 Driving blind area monitoring method, device, equipment and readable storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007188268A (en) * 2006-01-12 2007-07-26 Univ Of Tokyo Method and apparatus for tracking moving object on image
CN103366374A (en) * 2013-07-12 2013-10-23 重庆大学 Fire fighting access obstacle detection method based on image matching
CN104331910A (en) * 2014-11-24 2015-02-04 沈阳建筑大学 Track obstacle detection system based on machine vision
CN108898055A (en) * 2018-05-24 2018-11-27 长安大学 A kind of mobile robot obstacle detection method of detection information fusion
JP2019057197A (en) * 2017-09-22 2019-04-11 株式会社Subaru Moving object recognition device
CN112163446A (en) * 2020-08-12 2021-01-01 浙江吉利汽车研究院有限公司 Obstacle detection method and device, electronic equipment and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007188268A (en) * 2006-01-12 2007-07-26 Univ Of Tokyo Method and apparatus for tracking moving object on image
CN103366374A (en) * 2013-07-12 2013-10-23 重庆大学 Fire fighting access obstacle detection method based on image matching
CN104331910A (en) * 2014-11-24 2015-02-04 沈阳建筑大学 Track obstacle detection system based on machine vision
JP2019057197A (en) * 2017-09-22 2019-04-11 株式会社Subaru Moving object recognition device
CN108898055A (en) * 2018-05-24 2018-11-27 长安大学 A kind of mobile robot obstacle detection method of detection information fusion
CN112163446A (en) * 2020-08-12 2021-01-01 浙江吉利汽车研究院有限公司 Obstacle detection method and device, electronic equipment and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
肖贵平 等: "《十二五普通高等教育本科国家级规划教材 交通安全工程 第3版》", 31 January 2012, 北京:中国铁道出版社, pages: 271 - 276 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114694115A (en) * 2022-03-24 2022-07-01 商汤集团有限公司 Road obstacle detection method, device, equipment and storage medium
CN117315619A (en) * 2023-09-22 2023-12-29 东风商用车有限公司 Driving blind area monitoring method, device, equipment and readable storage medium
CN117315619B (en) * 2023-09-22 2024-12-31 东风商用车有限公司 Driving blind area monitoring method, device, equipment and readable storage medium
WO2025060413A1 (en) * 2023-09-22 2025-03-27 东风商用车有限公司 Driving blind spot monitoring method, apparatus and device, and readable storage medium

Similar Documents

Publication Publication Date Title
CN111461107B (en) Material handling method, apparatus and system for identifying a region of interest
US20220067960A1 (en) Intelligent forklift and method for detecting pose deviation of container
JP6630485B2 (en) Video tracking based method for automatically ordering vehicles in drive-through applications
JP6234063B2 (en) Detection of stationary objects on intersections of paths (methods, systems, and programs)
US10388019B1 (en) Associating an agent with an event based on multiple inputs
US10810539B1 (en) Re-establishing tracking of a user within a materials handling facility
US10512941B2 (en) Projection instruction device, parcel sorting system, and projection instruction method
US20130182114A1 (en) System and method for monitoring a retail environment using video content analysis with depth sensing
JP7531625B6 (en) CONTAINER REMOVAL METHOD, DEVICE, SYSTEM, ROBOT, AND STORAGE MEDIUM
CN105893940A (en) Method for realizing container hoisting crashproof aligning system based on edge detection
CN114132842A (en) Real-time monitoring system and monitoring method for container gantry crane yard operation status
CN113642453A (en) Obstacle detection method, device and system
JP6549400B2 (en) System and method for video-based detection of drive and pedestrian walk-offs in trains of vehicles and pedestrians
US20190042847A1 (en) Instruction projecting device, package sorting system and instruction projecting method
CN114372991B (en) Method and device for collecting and matching X-ray pictures of articles in security inspection process
WO2021129608A1 (en) Pickup robot, pickup method, and computer-readable storage medium
US10471474B2 (en) Projection indicator, cargo assortment system, and projection indicating method
AU2011290557A1 (en) Sensor data processing
CN114170252A (en) Truck head anti-smashing protection system and method based on machine vision
US11205270B1 (en) Collecting user pattern descriptors for use in tracking a movement of a user within a materials handling facility
US20130027550A1 (en) Method and device for video surveillance
CN115474441A (en) Obstacle detection method, apparatus, device, and computer storage medium
WO2018110377A1 (en) Video monitoring device
CN116342832A (en) A Container Feature Extraction Method Based on Dense Point Cloud
JP6616093B2 (en) Method and system for automatic ranking of vehicles in adjacent drive-through structures by appearance-based classification

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20211112