Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
OBJECT DETECTION USING A COMBINATION OF DEEP LEARNING AND NON-DEEP LEARNING TECHNIQUES
Document Type and Number:
WIPO Patent Application WO/2020/091749
Kind Code:
A1
Abstract:
An object detection system includes at least one memory storing instructions, and at least one processor that, upon executing instructions stored in the memory, controls the object detection system to perform functions including inputting a first video frame and a second video frame from a camera; generating a first set of predicted object locations using only one of the first video frame and the second video frame; generating a second set of predicted object locations based on pixel differences between the first video frame and the second video frame; and determining a final set of object locations based on the first set of predicted object locations and the second set of predicted object locations.

Inventors:
LEI HOWARD (US)
HEREDIA EDWIN (US)
Application Number:
PCT/US2018/058318
Publication Date:
May 07, 2020
Filing Date:
October 31, 2018
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
ARCUS HOLDING AS (DK)
ARCULES INC (US)
International Classes:
G06T7/254; G06V10/25
Foreign References:
US20160171311A12016-06-16
US20110142283A12011-06-16
US5434617A1995-07-18
US9442485B12016-09-13
US8896441B22014-11-25
US20090041297A12009-02-12
Other References:
KAI KANG ET AL: "T-CNN: Tubelets with Convolutional Neural Networks for Object Detection from Videos", ARXIV:1604.02532V3, 23 August 2016 (2016-08-23), XP055405912, Retrieved from the Internet
ZHOU YUQIAN ET AL: "Survey of Face Detection on Low-Quality Images", 2018 13TH IEEE INTERNATIONAL CONFERENCE ON AUTOMATIC FACE & GESTURE RECOGNITION (FG 2018), IEEE, 15 May 2018 (2018-05-15), pages 769 - 773, XP033354783, DOI: 10.1109/FG.2018.00121
WEI LIU ET AL., SSD: SINGLE SHOT MULTIBOX DETECTOR, 29 December 2016 (2016-12-29)
Attorney, Agent or Firm:
KOTEV, Amichai (US)
Download PDF:
Claims:
WE CLAIM:

1. An object detection system comprising: at least one memory storing instructions; and at least one processor that, upon executing instructions stored in the memory, controls the object detection system to perform the functions of: inputting a first video frame and a second video frame from a camera; generating a first set of predicted object locations using only one of the first video frame and the second video frame; generating a second set of predicted object locations based on pixel differences between the first video frame and the second video frame; and determining a final set of object locations based on the first set of predicted object locations and the second set of predicted object locations.

2. The object detection system according to claim 1, wherein each predicted object location in the first set is indicated by a bounding box and has an associated confidence value, and each predicted object location in the second set is indicated by a bounding box.

3. The object detection system according to Claim 2, wherein, for each predicted object location in the first set, the determining includes the respective predicted object location in the final set of object locations if

(i) the confidence value associated with the respective predicted object location is greater than or equal to a first threshold; or

(ii) the confidence value associated with the respective predicted object location is greater than or equal to a second threshold that is lower than the first threshold, and the bounding box corresponding to the respective predicted object location has an Intersection over Union (IoU) that is greater than or equal to a third threshold with a bounding box corresponding to one of the predicted object locations in the second set.

4. The object detection system according to Claim 3, wherein the first set of predicted object locations is generated using a Single-Shot Multibox Detector (SSD) convolutional neural network.

5. The object detection system according to Claim 4, wherein the first threshold is 0.4.

6. The object detection system according to Claim 5, wherein the second threshold is 0.2 and the third threshold is 0.15.

7. The object detection system according to Claim 1, wherein the first video frame and the second video frame are successive frames.

8. An object detection system comprising: an interface for inputting a first video frame and a second video frame; a convolutional neural network that generates a first set of predicted object locations using only one of the first video frame and the second video frame; and a controller that (a) generates a second set of predicted object locations based on pixel differences between the first video frame and the second video frame, and (b) determines a final set of object locations based on the first set of predicted object locations and the second set of predicted object locations.

9. The object detection system according to Claim 8, wherein the convolutional neural network is a Single-Shot Multibox Detector (SSD).

10. The object detection system according to Claim 9, wherein each predicted object location in the first set is indicated by a bounding box and has an associated confidence value, and each predicted object location in the second set is indicated by a bounding box, and wherein, for each predicted object location in the first set, the controller includes the respective predicted object location in the final set of object locations if (i) the confidence value associated with the respective predicted object location is greater than or equal to a first threshold; or

(ii) the confidence value associated with the respective predicted object location is greater than or equal to a second threshold that is lower than the first threshold, and the bounding box corresponding to the respective predicted object location has an Intersection over Union that is greater than or equal to a third threshold with a bounding box corresponding to one of the predicted object locations in the second set.

11. The object detection system according to Claim 10, wherein the first threshold is 0.4.

12. The object detection system according to Claim 11, wherein the second threshold is 0.2 and the third threshold is 0.15.

13. A method for detecting objects, comprising: inputting a first video frame and a second video frame from a camera; generating a first set of predicted object locations using only one of the first video frame and the second video frame; generating a second set of predicted object locations based on pixel differences between the first video frame and the second video frame; and determining a final set of object locations based on the first set of predicted object locations and the second set of predicted object locations.

14. The method according to claim 13, wherein the generating of the first set of predicted object locations comprises generating a bounding box indicating each predicted object location and an associated confidence value, and the generating of the second set of predicted object locations comprises generating a bounding box indicating each predicted object location.

15. The object detection system according to Claim 14, wherein, for each predicted object location in the first set, the determining includes the respective predicted object location in the final set of object locations if

(i) the confidence value associated with the respective predicted object location is greater than or equal to a first threshold; or

(ii) the confidence value associated with the respective predicted object location is greater than or equal to a second threshold that is lower than the first threshold, and the bounding box corresponding to the respective predicted object location has an Intersection over Union that is greater than or equal to a third threshold with a bounding box corresponding to one of the predicted object locations in the second set.

16. The method according to Claim 15, wherein the generating of the first set of predicted object locations uses a Single-Shot Multibox Detector (SSD) convolutional neural network.

17. The method according to Claim 16, wherein the first threshold is 0.4.

18. The method according to Claim 17, wherein the second threshold is 0.2 and the third threshold is 0.15.

19. A non- transitory computer readable medium storing a program for causing one or more processors to perform an object detection method

comprising: inputting a first video frame and a second video frame from a camera; generating a first set of predicted object locations using only one of the first video frame and the second video frame; generating a second set of predicted object locations based on pixel differences between the first video frame and the second video frame; and determining a final set of object locations based on the first set of predicted object locations and the second set of predicted object locations.

20. The non-transitory computer readable medium according to claim 19, wherein the generating of the first set of predicted object locations comprises generating a bounding box indicating each predicted object location and an associated confidence value, and the generating of the second set of predicted object locations comprises generating a bounding box indicating each predicted object location.

21. The non-transitory computer readable medium according to Claim 20, wherein, for each predicted object location in the first set, the determining includes the respective predicted object location in the final set of object locations if

(i) the confidence value associated with the respective predicted object location is greater than or equal to a first threshold; or

(ii) the confidence value associated with the respective predicted object location is greater than or equal to a second threshold that is lower than the first threshold, and the bounding box corresponding to the respective predicted object location has an Intersection over Union that is greater than or equal to a third threshold with a bounding box corresponding to one of the predicted object locations in the second set.

Description:

TITLE

OBJECT DETECTION USING A COMBINATION OF DEEP LEARNING AND NON-DEEP LEARNING TECHNIQUES

BACKGROUND OF THE INVENTION

Field of the Invention

[0001] The present disclosure is directed to a system for detecting objects, and more specifically to detecting objects in video frames from a camera.

DESCRIPTION OF RELATED ART

[0002] Several types of systems are known for detecting the position of objects, which may include detecting people or vehicles, for example.

[0003] One such system is disclosed in U.S. Patent No. 5,434,617, entitled“Automatic Tracking Camera Control System.” The system described in that patent determines the position of a person in a video camera frame by examining pixel differences between the current and previous camera frames. The positions of pixels with greater differences are used to infer object presence and movement within the video frames, and bounding boxes around the objects are obtained. The camera position is adjusted to track objects based on their positions.

[0004] Another system is disclosed in U.S. Patent No. 9,442,485, entitled“Pixel based image tracking system for unmanned aerial vehicle (UAV) action camera system.” The system disclosed in that patent uses an approach for tracking and following a person in a camera feed, where the camera is mounted on a UAV. Pixel differences between the current frame and reference frames are used to determine the movement of the person. Based on information obtained from the pixel differences, the UAV can be re-positioned to track or follow the person.

[0005] Yet another system is disclosed in U.S. Patent No. 8,896,441, entitled“System and method for tracking people.” That patent discloses a person-tracking approach using the location signal transmitted from the mobile device of the person of interest.

[0006] Still another system is disclosed in U.S. Patent Publication No. 2009/0041297 Al, entitled“Human detection and tracking for security applications.” That patent discloses an approach using image- processing features ( e.g Scale Invariant Feature Transform (SIFT)) for human detection and tracking in video signals.

[0007] As seen from the above-mentioned prior art, a common image processing approach to detecting objects is to compare the pixel differences between one video frame and the previous one. Areas of higher pixel difference are likely due to object movement, providing an indication of the possible position of an object in the video frame.

However, systems based on a pixel difference framework may not provide a level of detection accuracy that is desirable, especially if the objects are not moving or if they are moving slowly. Furthermore, such systems suffer from reduced ability to detect objects in a wide range of conditions, such as blurry images, inadequate light exposure, rainy weather, etc.

[0008] In the past five years, Deep Learning methods have been developed that can perform object detection. Research suggests that, over time, systems based on a Deep Learning framework can surpass traditional methods (such as pixel difference methods) in terms of recognition/detection performance, both in terms of accuracy and the range of conditions in which objects are successfully identified. Such detection systems based on a Deep Learning framework involve increased computational complexity and, in some cases, reduced algorithm speed. These may be justified if the system exhibits better performance (for example, in terms of accuracy over a wider range of conditions) relative to pixel difference methods. Moreover, such systems need only a single frame to generate predicted object positions. However, those systems still fail to provide the desired level of accuracy due to false alarm detections (detecting an object in an image where none is actually present) or missed detections (failing to detect an object that actually is present in an image).

SUMMARY OF THE 1NVENT10N

[0009] The approach to object detection described herein uses a combination of detection utilizing a Deep Learning framework and detection based on a pixel difference framework.

[0010] According to one preferred embodiment, the present invention is directed to an object detection system including at least one memory storing instructions, and at least one processor that, upon executing instructions stored in the memory, controls the object detection system to perform the functions of: inputting a first video frame and a second video frame from a camera; generating a first set of predicted object locations using only one of the first video frame and the second video frame; generating a second set of predicted object locations based on pixel differences between the first video frame and the second video frame; and determining a final set of object locations based on the first set of predicted object locations and the second set of predicted object locations.

[0011] According to another preferred embodiment, the present invention is directed to an object detection system including an interface for inputting a first video frame and a second video frame; a convolutional neural network that generates a first set of predicted object locations using only one of the first video frame and the second video frame; and a controller that (a) generates a second set of predicted object locations based on pixel differences between the first video frame and the second video frame, and (b) determines a final set of object locations based on the first set of predicted object locations and the second set of predicted object locations.

[0012] According to yet another preferred embodiment, the present invention is directed to a method for detecting objects that includes inputting a first video frame and a second video frame from a camera; generating a first set of predicted object locations using only one of the first video frame and the second video frame; generating a second set of predicted object locations based on pixel differences between the first video frame and the second video frame; and determining a final set of object locations based on the first set of predicted object locations and the second set of predicted object locations.

[0013] According to still another preferred embodiment, the present invention is directed to a non-transitory computer readable storage medium storing a program for causing one or more processors to perform an object detection method that includes inputting a first video frame and a second video frame from a camera; generating a first set of predicted object locations using only one of the first video frame and the second video frame; generating a second set of predicted object locations based on pixel differences between the first video frame and the second video frame; and determining a final set of object locations based on the first set of predicted object locations and the second set of predicted object.

[0014] These and other aspects of the present invention will be explained below with respect to the preferred embodiments.

BRIEF DESCRIPTION OF THE DRAWINGS

[0015] Fig. 1 shows a block diagram of an arrangement of hardware components of a detection system according to one preferred

embodiment of the invention.

[0016] Fig. 2 shows a flow chart of one preferred embodiment of a process for detecting objects in accordance with the present invention.

[0017] Fig. 3 shows a flow chart of one preferred embodiment of a process for determining a final set of object locations using a first set of predicted object locations generated using only one of a first video frame and a second frame and a second set of predicted object locations generated using pixel differences between the first video frame and the second video frame.

[0018] Fig. 4 shows a block diagram of an alternative arrangement of hardware components in accordance with a preferred embodiment of the invention.

[0019] Fig. 5 shows an example of an image including bounding boxes surrounding predicted locations of a person. DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0020] Preferred embodiments of the invention are described below with reference to the figures. Those skilled in the art will recognize various modifications and substitutions that could be made to the preferred embodiment, and the invention should not be deemed limited to the specific details of the preferred embodiments described herein but rather the metes and bounds of the invention should be understood with reference to the appended claims.

[0021] In the preferred embodiment, object detection based on a Deep Learning framework is implemented using a neural network. A pixel difference framework is then used to reduce errors in the detection results provided by the neural network. The preferred embodiment described below is discussed in the context of detecting a person in camera images, but those skilled in the art will appreciate that it can be applied to detect other objects including, for example, vehicles.

[0022] Fig. 1 shows an overview of a detection system 100 according to one preferred embodiment. The detection system 100 includes an input/output interface 110 to receive image data and, when desired, output final detection results to another device, a neural network 120, a controller 130, and a memory 140. The input interface 110 receives video frames from a camera 150. In this preferred embodiment, the camera 150 is positioned in a fixed location, and the video frames are transmitted to the input/output interface 110 via a network 160. The network 160 may be a local area network (LAN) or an internet-based network, and it may be a wired or wireless network. Hence, the detection system 100 need not be located in close proximity to the camera 150, but instead they can be located remote from each other. For example, the images from the camera 150 can be transmitted to a remote location for processing as an instance of cloud-based computing. On the other hand, if desired, the network 160 can be eliminated and the camera 150 can be integrated into, or directly connected via cable to, the detection system 100.

[0023] In this preferred embodiment, a Deep Learning approach called a Single-Shot Multibox Detector (SSD) is used for detecting the position of person(s) in video frames from a fixed camera. The SSD uses a convolutional neural network (CNN) and is designed to

automatically recognize the locations of object(s) within an image using only the original image itself. More specifically, the SSD can predict the position of person(s) from a single video frame, provided that it has been trained using a large set of images containing annotations for the positions of person(s) within those images or using a different set of images. The SSD can be used to detect different types of objects depending on the way the neural network has been trained. (Training will be discussed further below in the context of a specific example.)

[0024] The SSD object detection network is known to those skilled in the art and is described, for example, in the article“SSD: Single Shot MultiBox Detector” by Wei Liu, et al., arXiv: 1512.02325v5 [cs.CV], December 29, 2016, which is herein incorporated by reference. The SSD outputs results indicating the predicted positions of person(s) in the form of bounding boxes enclosing the detected object. The SSD Deep

Learning framework for detection of person(s) allows for more accurate detection compared to non-Deep Learning frameworks, such as classical approaches based on pixel differences. One reason is that approaches based on pixel differences are only effective for detecting person(s) who are in motion (that is, without motion there would be no pixel differences between two frames to allow the detection), whereas the SSD Deep Learning framework can detect person(s) regardless of their motion.

[0025] The SSD object detection network (as well as other Deep Learning frameworks), will invariably produce false alarm predictions (i.e. , false positives) and missed predictions ( /. e. , false negatives). As mentioned above, a false alarm prediction is when the network predicts the presence of a person in a video frame, at a position where no actual person exists. A missed prediction is when the network fails to predict the position of a person in a video frame, where a person does exist. For purposes of evaluating whether a bounding box prediction is an accurate result, the Intersection over Union (IoU) of the bounding box with bounding boxes surrounding actual objects is analyzed. A bounding box is determined to be a false alarm prediction if there is no ground-truth bounding box that has an IoU of 0.5 or more with the predicted bounding box. A missed prediction occurs when a ground-truth bounding box does not have an IoU of 0.5 or more with any predicted bounding box. (In other words, the accuracy of predictions can be checked by manually inspecting an image to determine where bounding boxes surrounding actual objects should be located and comparing those locations to the bounding boxes predicted by the system.)

[0026] In operation, the SSD framework uses a confidence threshold to determine whether to retain a particular predicted bounding box in the results. Each predicted object location (i.e., each predicted bounding box) has an associated confidence value indicating the probability that the object enclosed by the predicted bounding box is a person. The SSD framework generates these probabilities or confidence values. If the confidence value corresponding to a predicted bounding box exceeds the confidence threshold, then the bounding box prediction is retained. However, this threshold must be selected appropriately. If the threshold is too high, fewer bounding-box predictions will be retained, likely resulting in more missed predictions. If the threshold is too low, more bounding-box predictions will likely be made, including predictions at locations where no person(s) exist. This results in more false alarm predictions.

[0027] In this preferred embodiment, a pixel difference framework is used in conjunction with the SSD framework to reduce the number of inaccurate results. The pixel difference framework can predict the position of an object that moved during the time between one video frame and the next video frame from a fixed camera, and is

computationally inexpensive. For example, if a walking person is captured in a sequence of video frames with a fixed background, the pixel-difference framework can identify the position of the moving person in each video frame. By combining the pixel-difference framework with the SSD framework, a framework with greater accuracy for predicting the positions of persons(s) in a sequence of video frames can be obtained. Moreover, the combined approach is not significantly more computationally expensive compared to the

standalone SSD framework.

[0028] The pixel difference framework first converts the current video frame and the previous video frame to grayscale. (Those skilled in the art will recognize that it is possible to use video frames that are separated by one or more other frames in the pixel detection framework. That is, those skilled in the art will recognize that it is possible to select two consecutive video frames or two non-consecutive frames separated by some time interval. In most common video capture scenarios (using standard cameras), consecutive video frames have such a short time interval that it may be difficult to detect motion of objects such as humans. However, a large time interval between selected frames can also miss objects that move through the scene relatively fast.) The pixel difference framework then computes the difference between the pixels of the two frames. Pixel differences exceeding a certain contrasting threshold are considered to be due to the movement of object(s) across the two frames. In this preferred embodiment, the pixel difference framework is implemented using programming functions from the OpenCV (Open Source Computer Vision) library, and the contrasting threshold is automatically generated by the OpenCV software. The positions of the pixels exceeding the contrasting threshold are assumed to correspond to the position of a moving object, and a bounding box is drawn around the object using the pixel differences. The time required by the pixel difference framework to produce the bounding boxes is only a small fraction of the time required by the SSD to produce bounding boxes, so the use of the pixel difference framework does not add significantly to the overall complexity or speed of the object detection system.

[0029] A method for object detection according to this preferred embodiment will be described with respect to Fig. 2. In block 200, first and second video frames are input into the object detection system. In block 210, a first set of predicted object locations is generated using only one of the first video frame and the second video frame. In the preferred embodiment, the second (i.e., later) of the two frames is used. Note that it is possible for a set of predicted object locations to be an empty set. In block 220, a second set of predicted object locations is generated using the pixel difference framework. In block 230, a final set of object positions is determined based on the first set of predicted object locations and the second set of predicted object locations.

[0030] The final set of object positions can be output to another device, output to a display device, or further analyzed by the object detection system. For example, in a security monitoring environment, detection of one or more person(s) in the final set of object positions can be used for a variety of purposes such as tracking a person, triggering an alert, triggering further analysis of found objects, causing the video frames to be stored with associated information such as time and/or location, or sending control commands to a camera to cause it to capture higher resolution images, to zoom in on the region where a person is located, or to change its angle to track a person. In a traffic monitoring environment, for example, the detection of one or more vehicle(s) in the final set of object positions can be used for a variety of purposes (with additional processing, as needed) such as tracking a vehicle, detecting the speed of a moving vehicle, causing the video frames to be stored with associated information such as time, location, and/or speed, or sending control commands to a camera to cause it to capture higher resolution images or to zoom in on the region where a vehicle is located or on a particular portion of a vehicle (for example, to capture an image of a vehicle license plate region when a vehicle is detected in an image).

[0031] The method according to the preferred embodiment will next be described in further detail with respect to Fig. 3. In particular, a preferred embodiment for combining the results from the two

frameworks (that is, determining the final set of object locations based on the set of predicted object locations generated using each

framework) will be explained with respect to Fig. 3. As mentioned above, the SSD framework generates a confidence value associated with each predicted object location (i.e., each predicted bounding box). If the confidence value is high, the respective predicted object location can be deemed an actual object location (and therefore retained in the final set of object locations) with high confidence. On the other hand, if the confidence value is relatively low, then the predicted object location is unlikely to be an actual object location and can be excluded from the final set of object locations. However, when the confidence value falls within a certain range, there is a reasonable likelihood that the predicted object location corresponds to an actual object, but the results of the pixel difference framework are used to further evaluate such predicted object locations.

[0032] Accordingly, the preferred embodiment uses multiple thresholds to evaluate predicted object locations and determine the final set of object locations. More specifically, the combination of the SSD framework with the pixel difference framework according to this preferred embodiment uses three parameters that can be set for the object detection system:

(i) A first threshold (i.e., first SSD confidence threshold) above which a predicted object location from the SSD is counted as an actual object location (that is, is included in the final set of object locations), regardless of the results of the pixel difference framework. This first threshold is referred to herein as a hard threshold or

(SSD HARD CONF).

(ii) A second threshold (i.e., second SSD confidence threshold) above which a predicted object location from the SSD is counted as an actual object location only if the results of the pixel difference framework confirm that the predicted object location corresponds to an object. This second threshold is referred to herein as a soft threshold or (SSD SOFT CONF). The second threshold is lower than the first threshold.

(iii) A third threshold used in conjunction with the second threshold to determine whether the results of the pixel difference framework confirm that a predicted object location generated by the SSD

corresponds to an object. In this preferred embodiment, the IoU between a predicted bounding box generated by the SSD and a predicted bounding box generated by the pixel difference framework is used to make that determination. In particular, the results of the pixel difference framework are deemed to confirm that a particular predicted object location generated by the SSD corresponds to an object if the bounding box corresponding to the particular predicted object location generated by the SSD has an IoU greater than or equal to the third threshold with any bounding box corresponding to a predicted object location generated by the pixel difference framework. The third threshold is referred to herein as an IoU threshold.

[0033] Hence, in this preferred embodiment, a predicted object location generated by the SSD is included in the final set of object locations if (i) it has a confidence value that is greater than or equal to the first threshold (that is, the hard threshold) or if (ii) it has a confidence value that is greater than or equal to the second threshold (but less than the first threshold) and the bounding box corresponding to the predicted object location has an IoU greater than or equal to the third threshold with a bounding box corresponding to a predicted object location generated by the pixel difference framework.

[0034] Turning to Fig. 3, further details regarding the preferred embodiment of block 230 in Fig. 2 will be described. In block 300 it is determined whether there are any predicted object locations in the first set of object locations (that is, the predicted object locations generated by the SSD) that have not been evaluated. If yes, then the process proceeds to block 310. If no, then the process ends.

[0035] In block 310, the confidence value of the predicted object location being evaluated is compared to the first threshold (i.e. the hard threshold). If the confidence value is greater than or equal to the first threshold, then the process proceeds to block 320 to include the predicted object location in the final set of object locations, and then flow returns to block 300 to determine whether there are any more predicted object locations from the SSD results to be evaluated.

[0036] If it is determined in block 310 that the confidence value of the predicted object location being evaluated is not greater than or equal to the first threshold, then flow proceeds to block 330. In block 330, the confidence value of the predicted object location being evaluated is compared to the second threshold. If the confidence value is greater than or equal to the second threshold (i.e. the soft threshold), then flow proceeds to block 340. If it is determined in block 330 that the confidence value of the predicted object location being evaluated is not greater than or equal to the second threshold, then flow returns to block 300 to determine whether there are any more predicted object locations from the SSD results to be evaluated.

[0037] In block 340, it is determined whether the bounding box corresponding to the predicted object location being evaluated has an IoU greater than or equal to the third threshold with a bounding box generated by the pixel difference framework i.e., a bounding box corresponding to a predicted object location in the second set). If it is determined that this is the case, then flow proceeds to block 320 to include the predicted object location in the final set of object locations, and then flow returns to block 300 to determine whether there are any more predicted object locations from the SSD results to be evaluated. If it is determined that the bounding box does not have an IoU greater than or equal to the third threshold with a bounding box generated by the pixel difference framework, then flow returns to block 300 to determine whether there are any more predicted object locations from the SSD results to be evaluated. (In other words, evaluation moves on to the next predicted object location without including the current one in the final set of object locations.) In this manner, each predicted object location from the set of predicted object locations generated by the SSD is evaluated based on the first threshold and, if appropriate, based on the second and third thresholds, and a determination is made as to whether that predicted object location should be included in the final set of object locations.

[0038] In the preferred embodiment, the SSD outputs an entire set of predicted object locations and then each of those predicted object locations is evaluated (by comparing the corresponding confidence value to the first and second thresholds and, if appropriate, determining the IoU with predicted bounding boxes generated by the pixel difference framework and comparing the IoU values to the third threshold).

[0039] As described above, an alternative framework (that is, the pixel difference framework) is combined with the results of a Deep Learning framework (that is, the SSD framework) to improve detection accuracy. There are other alternative frameworks that might be considered for combination with the SSD framework. However, using more complex approaches alongside the SSD deep learning approach could result in significantly decreased speeds. For example, another detection approach that obtains the positions of person(s) in an image is the semantic segmentation approach. Some implementations of semantic segmentation use, for example, a Deep Learning approach with high computational complexity, which requires significantly greater computation time compared to the pixel difference approach. The extra computation time required by the semantic segmentation approach would contribute to a significant decrease in computational speed if the semantic segmentation approach were combined with the SSD Deep Learning approach. In contrast, adding the pixel-difference approach to the SSD approach does not significantly decrease the speed of the detection system, compared to using the SSD approach alone.

[0040] Apart from the semantic segmentation approach, there are other Deep Learning methods - besides SSD - that can advantageously be used together with a simple motion estimation approach such as the pixel difference framework. Examples of other person detection methods are Faster- RCNN (Region-based Convolutional Neural

Network) and YOLO (You Only Look Once).

[0041] Fig. 4 is an alternative block diagram illustrating

components of a detection system. (A camera and network are not shown in Fig. 4.) Those skilled in the art will appreciate that, like the configuration shown in Fig. 1, the configuration shown in Fig. 4 is merely an example embodiment. The configuration shown in Fig. 1 depicts an interface integrated with the detection system, and a camera is connected to the interface via a network. On the other hand, Fig. 4 shows an interface integrated with the detection system, and the interface can receive images from various types of sources, not necessarily requiring a network. However, it is all possible for all the components to be in separate computers connected by one or more networks. In other words, the interface that receives images could have a network connection with the neural networks (or processors).

Similarly, the controller and/or memory could also connect with the other components over a network. Furthermore, some components could be in a local-area network, other components could in the cloud, and other components could be in the edge (boundary of a local network and the cloud).

[0042] As shown in Fig. 4, the detection system 400 includes an input/output interface 410 for receiving images and, where desired, outputting the detection results. The detection system 400 further includes a processor 420, and one skilled in the art would understand that a neural network can be implemented using one or more

processors. Furthermore, although a single processor 420 is illustrated, one skilled in the art would understand that functions can be shared by more than one processor. Also, one skilled in the art would understand that processor 420 (or additional processors, if used) can implement the functions of a controller 130 as used in detection system 100 shown in Fig. 1, if necessary. Alternatively, a separate controller or processor 430 can be used for system control functions. The detection system also includes memory 440 for storing control programs and/or for data storage. Memory 440 may be a combination of multiple memories of the same or different types, as appropriate for the way in which the memory will be used.

[0043] While the IoU can be evaluated for every bounding box from the SSD framework with respect to every bounding box from the pixel difference framework, in the preferred embodiment some of the bounding boxes from the pixel difference framework are not used if they are below a certain size. Thus, the IoU is evaluated for every bounding box from the SSD framework with respect to every bounding box from the pixel difference framework that exceeds a particular size.

[0044] A specific example of results obtained by a preferred embodiment will now be explained. As mentioned above, the SSD object detection network (as with other neural networks) must be trained. According to this example, the SSD network was trained for detecting the positions of person(s) within images using an image database. Over 20,000 images containing person(s) were used for training. More specifically, the images were annotated with bounding boxes encompassing person(s) appearing in the training images, so that the SSD network could be trained to recognize person(s) appearing in an image.

[0045] After training, the detection system was then applied to a sequence of 1148 images from a fixed camera, where many of the images contained the presence of person(s). (Not all of the 1148 images have a person appearing in the image, but several of them have multiple persons appearing in the image.) When an image was presented to the network during inference, the network produced bounding box prediction(s) to indicate the position of person(s) in the image. Images used for training and images used for detection were first re-sized to 448 x 448 pixels prior to being processed by the SSD network.

[0046] Table 1 shows the results of multiple experiments that were performed using the preferred embodiment of the detection system, in which the value of the first threshold (SSD HARD CONF) was set to 0.4 and the values of the other thresholds were varied. The output of the detection system was compared to the actual person(s) contained in the respective images to determine whether false alarms and/or missed predictions occurred for each image. The results in Table 1 indicate the false alarms and missed predictions, along with their sums. The results were computed across the 1148 images, and Table 1 shows the resulting totals for False alarms (FA), Missed detections, i.e. ,“Miss” (M), and combined FA + M for various different combinations of values for SSD HARD CONF, SSD SOFT CONF, and IoU threshold, when the combined SSD and pixel difference frameworks were used, as well as the results when the SSD framework was operated as a standalone system without using the results of the pixel difference framework.

(The results in Table 1 indicate a proportion of the total persons appearing in all 1148 images.)

[0047] Table 1

[0048] Based on the results shown in Table 1, it can be seen that combining the SSD and pixel difference frameworks results in lower sums of the False Alarm and Miss values compared to the SSD standalone. In particular, use of the SSD framework alone (Expt 6) resulted in a combined FA + M rate of 0.63, whereas the combined rate of FA + M for every other experiment, in which the SSD framework was combined with the pixel difference framework, was lower than 0.63. The lower FA + M sums are due to the significantly lower Miss values. Although FA + M sums for Expt 1 through Expt 5 include higher False Alarm (FA) values than the SSD standalone configuration in Expt 6 (when using the SSD HARD CONF threshold of 0.4), the lower Miss values more than compensate, such that the overall totals are lower when using the combined frameworks.

[0049] The rationale behind the choice of the parameters in the experiments was as follows:

[0050] 1) At a SSD HARD CONF threshold of 0.4, there are missed predictions by the SSD framework (in Expt 5 in Table 1, the miss rate is 0.51).

[0051] 2) At a lower threshold, fewer missed predictions will occur, but more false alarm predictions will occur.

[0052] 3) Therefore, an IoU threshold is used so that, when the lower confidence threshold is used (i.e., SSD SOFT CONF rather than SSD HARD CONF), the bounding boxes from the pixel difference framework are used to“filter out” some of the false alarm predictions of the SSD framework that occur when using the lower threshold. This configuration results in more false alarm predictions (because more predictions are made when using the lower threshold), but as shown in Table 1, there are also significantly fewer missed predictions.

[0053] Note that the IoU threshold can also affect the rate of missed predictions. Based on Expt 4 and Expt 5 in Table 1, it is evident that a lower IoU threshold reduces the missed detections. This is due to the fact that correct predictions with probabilities below the

SSD HARD CONF threshold do not have to overlap as much with the bounding boxes from the pixel difference framework in order to be retained.

[0054] Figure 5 shows a sample result of the combined pixel difference and SSD frameworks, and illustrates the advantage of the combination. In Figure 5, the dashed line box is a bounding box prediction from the pixel difference framework. The solid line box is the bounding box of an incorrect prediction from the SSD framework that has a low probability (0.318), below the SSD HARD CONF threshold of 0.4 but above the SSD SOFT CONF threshold of 0.2.

The dotted line box that partially overlaps the dashed line box is the bounding box of a correct prediction from the SSD framework that also has a low probability (0.263). This correct prediction is retained because it overlaps with a bounding box from the pixel difference framework with an IoU value of 0.448 that exceeds the IoU threshold.

[0055] Overall, the experiments show that combining the SSD deep learning framework with the pixel difference framework can lead to better overall detection of person(s) in video frames from a fixed camera.

[0056] In the preferred embodiment described above, the best overall performance was obtained in Expt 4, in which the value used for the first threshold (SSD HARD CONF) was 0.4, the value used for the second threshold (SSD SOFT CONF) was 0.2 , and the value used for the third threshold (IoU threshold) was 0.15. Those skilled in the art will appreciate that these values could be varied to better tailor the object detection system for a specific application. As discussed above, the values of the thresholds impact whether the system will produce relatively more false alarms or missed predictions. Thus, if a specific application would be more tolerant of missed predictions but false alarm predictions are more strongly undesirable, then appropriate values for the thresholds can be chosen, and vice versa.

[0057] While various example embodiments have been described above, it should be understood that they have been presented by way of example, and not limitation. It is apparent to persons skilled in the relevant art(s) that various changes in form and detail can be made therein. Thus, the invention should not be limited by any of the above described example embodiments. Also, as used herein, the singular forms "a," "an," and "the," are intended to include the plural forms as well, unless the context clearly indicates otherwise.

[0058] In addition, it should be understood that the figures are presented for example purposes only. The architecture of the example embodiments presented herein is sufficiently flexible and configurable, such that it may be utilized and navigated in ways other than that shown in the accompanying figures.

[0059] Further, the purpose of the Abstract is to enable the U.S. Patent and Trademark Office and the public generally, and especially the scientists, engineers and practitioners in the art who are not familiar with patent or legal terms or phraseology, to determine quickly from a cursory inspection the nature and essence of the technical disclosure of the application. The Abstract is not intended to be limiting as to the scope of the example embodiments presented herein in any way. It is also to be understood that the procedures described herein need not be performed in the order presented.