Object tracking device, object tracking method and storage medium

Through fisheye image processing without plane expansion, the positional relationship of the fisheye camera is used to store and determine the position and size of the search area in advance, realizing high-speed and high-precision object tracking of fisheye camera images, and solving the processing problems in the existing technology. Problems of high cost and object deformation.

CN113508420BActive Publication Date: 2024-09-06OMRON CORP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202080017837.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2019-03-11
Filing Date
2020-02-27
Publication Date
2024-09-06
Estimated Expiration
2040-02-27

AI Technical Summary

Technical Problem

In the existing technology, the plane expansion processing of fisheye camera images results in high processing costs and difficulty in achieving real-time tracking. Moreover, objects directly below the fisheye camera are easily deformed or truncated during plane expansion, making it impossible to accurately detect or track.

Method used

Tracking processing is directly applied to fisheye images without plane expansion. The movement amount and size reference of the object are stored in advance through the storage and determination unit. The position and size of the search area are determined based on the positional relationship of the fisheye image to achieve high precision and high speed. object tracking.

Benefits of technology

It achieves high-speed and high-precision tracking of objects from fisheye images, avoids delays and deformation problems in plane expansion processing, and improves the accuracy of detection and control.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113508420B_ABST
    Figure CN113508420B_ABST
Patent Text Reader

Abstract

An object tracking device comprises: a storage unit for pre-storing a benchmark related to the amount of movement of an object between frames for each position or area on a fisheye image; a determination unit for determining the position of a search area in a second frame image, which is an image subsequent to the first frame image, based on the position of the object in the first frame image and a benchmark related to the amount of movement corresponding to the position of the object in the first frame image; and a search unit for determining the position of the object in the second frame image by searching for the object in the search area of ​​the second frame image.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to techniques for tracking objects using images from a fisheye camera. Background Art

[0002] In the fields of building automation (BA) and factory automation (FA), image sensors are needed to automatically measure the "number", "position", "movement route" and other information of people in order to optimally control lighting, air conditioning and other equipment. In such applications, in order to obtain image information over the widest range possible, most cameras use ultra-wide-angle cameras equipped with fisheye lenses (fisheye lenses, etc., but they all have the same meaning. In this manual, the term "fisheye camera" is used.).

[0003] The images captured by a fisheye camera are distorted to a great extent. Therefore, when detecting or tracking a human body or face based on an image captured by a fisheye camera (hereinafter referred to as a "fisheye image"), a general method is to flatten the fisheye image in advance to correct it into an image with less distortion and then perform detection or tracking processing (see Patent Document 1).

[0004] Prior art literature

[0005] Patent Literature

[0006] Patent Document 1: Japanese Patent Application Publication No. 2016-39539 Summary of the invention

[0007] Problems to be solved by the invention

[0008] However, the prior art has the following problems. One is that the overall processing cost increases due to the pre-processing of flattening the fisheye image. This makes it difficult to perform real-time processing and may cause delays in device control, which is not preferred. The second problem is that there is a concern that the image of a person or object that is located at the boundary (image seam) when the plane is unfolded, such as directly below the fisheye camera, may be greatly deformed or the image may be cut off due to the flattening process, making it impossible to accurately detect or track it.

[0009] In order to avoid these problems, the inventors of the present invention are studying a solution of applying tracking processing directly to fisheye images (meaning "without plane expansion"). However, compared with ordinary camera images, in the case of fisheye images, the movement amount varies in each area of ​​the image, making tracking difficult.

[0010] The present invention has been made in view of the above-mentioned circumstances, and an object of the present invention is to provide a technology for tracking an object from a fisheye image at high speed and with high accuracy.

[0011] Means for solving problems

[0012] In order to achieve the above-mentioned object, the present invention adopts the following structure.

[0013] A first aspect of the present invention provides an object tracking device that uses a fisheye image obtained by a fisheye camera arranged above a tracking object area to track an object existing in the tracking object area, and is characterized in that it has: a storage unit that pre-stores a benchmark related to the movement amount of the object between frames for each position or area on the fisheye image; a determination unit that determines the position of a search area in a second frame image that is an image after the first frame image based on the position of the object in the first frame image and a benchmark related to the movement amount corresponding to the position of the object in the first frame image; and a search unit that determines the position of the object in the second frame image by searching for the object from the search area of ​​the second frame image.

[0014] A "fisheye camera" is a camera equipped with a fisheye lens, and is capable of taking photos at an ultra-wide angle compared to ordinary cameras. Omnidirectional cameras and spherical cameras are also a type of fisheye camera. A fisheye camera is set to look down at the tracking target area from above the tracking target area. Typically, the optical axis of a fisheye camera is set to point vertically downward, but the optical axis of a fisheye camera can also be tilted relative to the vertical direction.

[0015] In the present invention, by considering the movement amount corresponding to the position of the object in the fisheye image to determine the position of the search area, it is possible to perform tracking (tracking) processing with high accuracy and high speed. When a fisheye camera is used to photograph the tracking object area in a manner of looking down, the appearance (shooting method) of the object changes greatly depending on the positional relationship with the fisheye camera. Therefore, when tracking a tracking object moving at a fixed speed, there is also a characteristic that the movement amount of the tracking object in the fisheye image is different depending on the positional relationship with the fisheye camera. That is, the movement amount at the center of the fisheye image is large, and the movement amount becomes smaller as it goes to the end of the fisheye image. The object tracking device considers such characteristics of the fisheye image and determines the search area to be an appropriate position when tracking the tracking object in the subsequent frame. In addition, since pre-processing such as plane expansion of the fisheye image is not required, faster processing can be achieved.

[0016] Alternatively, the storage unit may pre-store a reference related to the size of the search area for each position or area on the fisheye image, and the determination unit may determine the size of the search area in the second frame image based on the position of the object in the first frame image and the reference related to the size corresponding to the position of the object in the first frame image. In the fisheye image, there is a characteristic that the size of the object varies depending on the positional relationship with the fisheye camera. The object tracking device considers such a characteristic of the fisheye image and determines a search area of ​​an appropriate size when tracking the tracking object in the subsequent frame.

[0017] A second aspect of the present invention provides an object tracking device that uses a fisheye image obtained by a fisheye camera arranged above the tracking object area to track an object existing in the tracking object area, and is characterized in that it has: a storage unit that pre-stores a benchmark related to the size of a search area for each position or area on the fisheye image; a determination unit that determines the size of the search area in a second frame image that is an image after the first frame image based on the position of the object in the first frame image and a benchmark related to the size corresponding to the position of the object in the first frame image; and a search unit that determines the position of the object in the second frame image by searching for the object in the search area of ​​the second frame image.

[0018] In the present invention, by considering the appearance (e.g., area) of the object corresponding to the position of the object in the fisheye image to determine the size of the search area, it is possible to perform tracking (tracking) processing with high accuracy and high speed. When the fisheye camera is used to photograph the tracking target area in a manner of looking down, the appearance (photographing method) of the object changes greatly depending on the positional relationship with the fisheye camera. Regarding the size of the object being photographed, the center of the fisheye image is the largest and becomes smaller as it moves toward the end. That is, the fisheye image has the characteristic that the size (e.g., area) of the object changes depending on the distance based on the center of the image (the size becomes smaller as the distance becomes longer). The area of ​​the object at each position or area on the fisheye image can also be geometrically calculated (predicted) based on the optical characteristics of the fisheye camera, the positional relationship between the fisheye camera 10 and the tracking target area, etc. The object tracking device considers such characteristics of the fisheye image and determines the search area to be of an appropriate size when tracking the tracking object of the subsequent frame. In addition, since pre-processing such as plane expansion of the fisheye image is not required, higher-speed processing can be achieved.

[0019] Alternatively, the size reference may be set so that the area closer to the center of the fisheye image becomes larger. As described above, the size of the object captured in the fisheye image is the largest at the center of the fisheye image and becomes smaller toward the ends. The size reference may be set in consideration of such characteristics.

[0020] Alternatively, the reference of the movement amount may be set so that the closer the area is to the center of the fisheye image, the greater the movement amount becomes. As described above, the movement amount at the center of the fisheye image is large, and the movement amount becomes smaller as it moves toward the end of the fisheye image. The reference of the movement amount may also be set in consideration of such characteristics.

[0021] Alternatively, the determination unit determines the position of the search area in the second frame image based on the position of the object in the first frame image, a reference related to the amount of movement corresponding to the position of the object in the first frame image, and the direction of movement of the object. In addition to the position of the object in the image of the first frame and the reference related to the amount of movement corresponding to the position, the position of the search area is determined based on the direction of movement of the object, thereby enabling tracking processing to be performed with higher accuracy and at a higher speed. That is, the search range can be narrowed by considering the direction of movement, and thus, the search process can be performed at a high speed. In addition, by narrowing the search range, for example, the possibility of objects other than the tracking target being included in the search area can be reduced, and thus, the search process can be performed with high accuracy.

[0022] Alternatively, the storage unit may pre-store a reference related to the degree of distortion of the image for each position or region on the fisheye image, and the determination unit may determine the position of the search area in the second frame image based on the position of the object in the first frame image, the reference related to the amount of movement corresponding to the position of the object in the first frame image, the moving direction of the object, and the reference related to the degree of distortion corresponding to the position of the object in the first frame image. As described above, since the actual fisheye image is distorted, for example, when the tracking object moves in the horizontal direction above the center of the fisheye image, the tracking object moves along a curve that draws an arc upward in the fisheye image. Conversely, when the tracking object moves in the horizontal direction below the center of the fisheye image, the tracking object moves along a curve that draws an arc downward in the fisheye image. Therefore, the object tracking device can achieve high accuracy and high speed of tracking processing by determining the search area to an appropriate position according to the distortion of the fisheye image.

[0023] Alternatively, the determination unit may determine the position of the search area in the same direction as the moving direction of the object based on the position of the object in the first frame image, the position of the object in the frame image before the first frame image, and a reference related to the movement amount; and the determination unit may determine the position of the search area in a direction orthogonal to the moving direction of the object based on the position of the search area in the same direction as the moving direction of the object and a reference related to the degree of distortion. The distortion of the fisheye image occurs in a direction orthogonal to the moving direction of the object. Therefore, by determining the position in the direction orthogonal to the moving direction of the object based on a reference of the degree of distortion, the position of the search area can be determined with high accuracy.

[0024] The third aspect of the present invention provides an object tracking method, which uses a fisheye image obtained by a fisheye camera arranged above the tracking object area to track an object existing in the tracking object area, characterized in that it has: a determination step, referring to a storage unit that pre-stores a benchmark related to the movement amount of the object between frames for each position or area on the fisheye image, and determining the position of a search area in a second frame image that is an image after the first frame image based on the position of the object in the first frame image and a benchmark related to the movement amount corresponding to the position of the object in the first frame image; and a search step, determining the position of the object in the second frame image by searching for the object from the search area of ​​the second frame image.

[0025] A fourth aspect of the present invention provides an object tracking method, which uses a fisheye image obtained by a fisheye camera arranged above the tracking object area to track an object existing in the tracking object area, and is characterized in that it has: a determination step, referring to a storage unit that pre-stores a benchmark related to the size of a search area for each position or area on the fisheye image, and determining the size of a search area in a second frame image that is an image after the first frame image based on the position of the object in the first frame image and the benchmark related to the size corresponding to the position of the object in the first frame image; and a search step, determining the position of the object in the second frame image by searching for the object from the search area of ​​the second frame image.

[0026] The present invention can be understood as an object tracking device having at least a part of the above-mentioned means, or can be understood as a device for identifying or detecting an object to be tracked, or an image processing device, or a monitoring system. In addition, the present invention can also be understood as an object tracking method, an object recognition method, an object detection method, an image processing method, and a monitoring method that include at least a part of the above-mentioned processing. In addition, the present invention can also be understood as a program for implementing the method, and a recording medium that non-temporarily records the program. In addition, each of the above-mentioned means and processing can be combined with each other as much as possible to constitute the present invention.

[0027] Effects of the Invention

[0028] According to the present invention, it is possible to track an object from a fisheye image at high speed and with high accuracy. BRIEF DESCRIPTION OF THE DRAWINGS

[0029] Figure 1 It is a diagram showing an application example of the object tracking device involved in the present invention.

[0030] Figure 2 is a diagram showing an example of a fisheye image and a bounding box.

[0031] Figure 3 This is a diagram showing the configuration of a monitoring system including an object tracking device.

[0032] Figure 4 is a flowchart of the object tracking process.

[0033] Figure 5 This is a flowchart of the search area determination process.

[0034] Figure 6 It is a diagram showing an example of a movement amount table.

[0035] Figure 7 FIG. 1 is a diagram showing an example of the position of a search area.

[0036] Figure 8 It is a figure which shows an example of a dimension table.

[0037] Fig. 9 It is a diagram showing an example of the range of the search field.

[0038] Fig.10 A~ Fig.10 F is a diagram showing an example of tracking processing based on a conventional method.

[0039] Fig.11 A~ Fig.11 F is a diagram showing an example of tracking processing based on this method.

[0040] Fig.12 It is a graph showing the degree of distortion of the fisheye image. DETAILED DESCRIPTION

[0041] <Application Examples>

[0042] Reference Figure 1 , an application example of the object tracking device involved in the present invention is described. The object tracking device 1 is a device that analyzes the fisheye image obtained by the fisheye camera 10 installed above the tracking target area 11 (for example, the ceiling 12, etc.), and tracks (traces) an object 13 (for example, a person, etc.) existing in the tracking target area 11. The object tracking device 1 detects, recognizes, tracks, etc. an object 13 passing through the tracking target area 11 in an office, a factory, etc. Figure 1 In the example, a rectangular bounding box 14 is used to represent the area of ​​the tracking object from the fisheye images 1 to 3. The bounding box 14 is a closed figure or frame line representing the area of ​​the tracking object, for example, a polygon, an ellipse, etc. that encloses the area of ​​the tracking object is used as the bounding box 14. Fisheye images 1 to 3 respectively represent the fisheye images in frame f[t-1], frame f[t] (first frame image), and frame f[t+1] (second frame image). In addition, in fisheye image 3, the area of ​​the search object in frame f[t+1], namely, the search area 15 is shown. The search area 15 is determined based on the results before frame f[t]. The tracking results of the object tracking device 1 are output to an external device, for example, used for counting the number of people, controlling various equipment such as lighting or air conditioning, monitoring suspicious persons, etc.

[0043] When the tracking target area 11 is photographed from a bird's-eye view using the fisheye camera 10, the appearance (photographing method) of the human body changes greatly depending on the positional relationship with the fisheye camera 10. Therefore, even when tracking a tracking target moving at a fixed speed, there is a characteristic that the movement amount of the tracking target in the fisheye image is different depending on the positional relationship with the fisheye camera 10. That is, the movement amount is large at the center of the fisheye image, and the movement amount becomes smaller as it goes to the end of the fisheye image. In addition, there is a characteristic that the size of the human body is different depending on the positional relationship with the fisheye camera 10. The object tracking device 1 has one of the following features, which is: considering such characteristics of the fisheye image, when tracking the tracking target of the next frame, an appropriate search area is determined, thereby achieving high speed and high accuracy of the tracking process. In addition, the object tracking device 1 has another one of the following features, which is: using the fisheye image directly (that is, without pre-processing such as plane expansion and distortion correction) for the object tracking process.

[0044] <Characteristics of fisheye images>

[0045] Figure 21 shows an example of a fisheye image captured from the fisheye camera 10. The image coordinate system has the lower left corner of the fisheye image as the origin (0, 0), the x-axis on the right side in the horizontal direction, and the y-axis on the upper side in the vertical direction.

[0046] When the fisheye camera 10 is set with the optical axis pointing vertically downward, the center of the fisheye image shows an image of a person who is directly below the fisheye camera 10 and is observed from the top of the head. Furthermore, the depression angle decreases toward the end of the fisheye image, showing an image of the person observed from diagonally above. In addition, with respect to the human body in the fisheye image, the feet are located on the center side of the image, the head is located on the end side of the image, and the image is photographed at an angle that is roughly parallel to the radial line passing through the center of the image. In addition, the distortion at the center of the fisheye image is relatively small, but the distortion of the image increases toward the end of the fisheye image. Therefore, even if the tracking object moves at a fixed speed, the movement amount of the tracking object between frames of the fisheye image varies depending on the position of the image.

[0047] Reference numerals 14a to 14f denote bounding boxes arranged so as to surround the region of the human body in the fisheye image. In the present embodiment, a rectangular bounding box consisting of four sides parallel to the x-axis or the y-axis is used for the sake of cost-effectiveness of image processing.

[0048] In addition, if Figure 2 As shown in FIG. 1 , the size of the human body is the largest at the center of the fisheye image and becomes smaller toward the ends. That is, the fisheye image has the following characteristics: the size (e.g., area) of the bounding box changes depending on the distance from the center of the image (the longer the distance, the smaller the size), and the area of ​​the bounding box for each position or area on the fisheye image can also be geometrically calculated (predicted) based on the optical characteristics of the fisheye camera 10, the positional relationship between the fisheye camera 10 and the tracking target area 11, and the average human body size.

[0049] (Implementation Method 1)

[0050] <Monitoring system>

[0051] Reference Figure 3 , describing an embodiment of the present invention. Figure 3 1 is a block diagram showing a configuration of a monitoring system to which an object tracking device according to an embodiment of the present invention is applied. Monitoring system 2 schematically includes a fisheye camera 10 and an object tracking device 1 .

[0052] The fisheye camera 10 is an imaging device having an optical system including a fisheye lens and an imaging element (an image sensor such as a CCD or CMOS). Figure 1As shown in the figure, the fisheye camera 10 can be set at the ceiling 12 of the tracking target area 11 or the like so that the optical axis is vertically downward, and an all-round (360-degree) image of the tracking target area 11 is photographed. The fisheye camera 10 is connected to the object tracking device 1 by wire (USB cable, LAN cable, etc.) or wireless (WiFi, etc.), and the image data photographed by the fisheye camera 10 is taken into the object tracking device 1. The image data can be any one of a monochrome image and a color image, and the resolution, frame rate, and format of the image data are arbitrary. In this embodiment, it is assumed that a monochrome image taken at 10fps (10 images per second) is used.

[0053] The object tracking device 1 of the present embodiment includes an image input unit 20 , a search area determination unit 21 , a search unit 22 , a human body detection unit 24 , a storage unit 26 , an output unit 27 , and the like.

[0054] The image input unit 20 has a function of taking in image data from the fisheye camera 10. The taken-in image data is handed over to the search area determination unit 21 and the human body detection unit 24. The image data may be stored in the storage unit 26.

[0055] The search area determination unit 21 determines a search area, which is an area for searching for a tracking object. The search area is used to search for and track the tracking object that has been detected once. The search unit 22 has a function of searching for the tracking object from the fisheye image using an algorithm for searching for the tracking object in the above-mentioned search area. The tracking dictionary 23 is a dictionary in which information and feature values ​​of the tracking object (tracking object) are registered.

[0056] The human body detection unit 24 has a function of detecting a human body from a fisheye image using an algorithm for detecting a human body, etc. The human body detection dictionary 25 is a dictionary in which image features of human bodies shown in fisheye images are registered in advance.

[0057] The storage unit 26 has a function of storing fisheye images, tracking results, etc. The output unit 27 has a function of outputting information such as fisheye images and tracking results to an external device. For example, the output unit 27 can display information on a display as an external device, forward information to a computer as an external device, or send information or control signals to a lighting device, air conditioner, or FA device as an external device.

[0058] The object tracking device 1 can be configured by, for example, a computer including a CPU (processor), a memory, a storage, and the like. In this case, Figure 3The structure shown in the figure can be realized by loading a program stored in storage into memory and executing the program by the CPU. The computer can be a general-purpose computer such as a personal computer, a server computer, a tablet terminal, or a smart phone, or an embedded computer such as an onboard computer. Alternatively, Figure 3 All or part of the structure shown in the figure may be formed using ASIC, FPGA, etc. Alternatively, Figure 3 All or part of the structure shown is implemented through cloud computing or distributed computing.

[0059] <Object tracking processing>

[0060] Figure 4 This is a flowchart of the object tracking process based on the monitoring system 2. Figure 4 To illustrate the overall process of object tracking processing. Figure 4 The flowchart shows the processing for a fisheye image of 1 frame. When the fisheye image is input at 10fps, Figure 4 The process is executed 10 times during 1 second.

[0061] First, the image input unit 20 inputs a fisheye image of one frame from the fisheye camera 10 (step S40 ).

[0062] As described in the background technology column, in the past, after creating a flat unfolded image obtained by correcting the distortion of the fisheye image, image processing such as tracking and recognition was performed. However, in the monitoring system 2 of this embodiment, the fisheye image is directly used (maintaining the distorted state) for tracking and recognition processing.

[0063] Next, the object tracking device 1 determines whether there is an object being tracked (referred to as a tracking object) (step S41). Here, if there is a tracking object before the current frame, it is determined that "there is a tracking object". When there is a tracking object (S41-"Yes"), the search area determination unit 21 determines the search area in the next frame (step S42). The details of the process of determining the search area are described later. Then, the search unit 22 searches for the tracking object in the above-mentioned search area, thereby tracking it (step S43).

[0064] As a tracking method, for example, a method of estimating the area of ​​the tracking object based on the similarity of color features and shape features between frames can be used. Specifically, any algorithm such as template matching, mean shift, particle filter, SURF tracking, etc. can be used. In the present embodiment, the whole body of a person is used as the tracking object, but it is not limited to this, and a part of the body such as the upper body can also be used as the object. Then, the search unit 22 determines whether the tracking object is found (step S44). In the case where the tracking object is found (S44-"Yes"), the search unit 22 saves the tracking result to the storage unit 26 (step S45). In the case where the tracking object is not found (S44-"No"), the tracking results so far are deleted (step S46). Here, the case where the tracking object is not found is, for example, the case where the tracking object moves outside the photographic range of the fisheye camera.

[0065] Next, the human body detection unit 24 detects the human body from the fisheye image (step S47). When there are multiple people in the fisheye image, multiple human bodies are detected. In addition, in most cases, there are also cases where objects that are not human bodies are detected (for example, fans, tables, chairs, coat racks, etc., objects whose shapes and colors are confused with human bodies). The detection result may also include, for example, information of a bounding box representing the area of ​​the detected human body, etc. The information of the bounding box may include, for example, the center coordinates (x, y) of the bounding box (equivalent to the detection position of the human body, etc.), height h, and width w. The detection result is saved in the storage unit 26. In addition, when there is no tracking object (S41-"No"), the processing after step S47 is performed.

[0066] In addition, any algorithm can be used in human body detection. For example, a recognizer that combines image features such as HoG and Haar-like with boosting can be used, or human body recognition based on deep learning (for example, R-CNN, Fast R-CNN, YOLO, SSD, etc.) can be used. In this embodiment, the whole body of a person is detected as a human body, but it is not limited to this, and a part of the body such as the upper body can also be used as a detection object.

[0067] Next, the object tracking device 1 merges the tracking result with the detection result (step S48). The merged result is stored in the storage unit 26, for example. The reason for performing the detection process in the object tracking device 1 is that, when an object that was not a tracking target until the previous frame reappears in the fisheye image, an identification number (ID) is added to each tracking target based on the detection process, and it is set as a tracking target in the processing of the next frame. In addition, the detection process of steps S47 and S48 may not be performed for each frame, but for each plurality of frames. Finally, the output unit 27 outputs the tracking result, etc. to an external device (step S49). At this point, the processing of the fisheye image of one frame is completed.

[0068] According to the object tracking process of this embodiment, the fisheye image is directly analyzed, and the object is tracked directly from the fisheye image. Therefore, pre-processing such as plane expansion and distortion correction of the fisheye image can be omitted, and high-speed object tracking processing can be performed. In addition, in this embodiment, by determining the search range based on the positional relationship with the fisheye camera, high-precision tracking can be achieved.

[0069] <Search area determination process (S42)>

[0070] A specific example of the process of determining the search field by the search field determination unit 21 will be described.

[0071] Figure 5 Flowchart of the search area determination process. First, the search area determination unit 21 calculates the position of the search area (step S50). The position can be, for example, the center coordinates of the search area. Then, the search area determination unit 21 calculates the size of the search area (step S51). Finally, the search area determination unit 21 determines the search area based on the above position and size (step S52). The details of the process of steps S50 and S51 are described below.

[0072] (1) Search area position calculation process (S50)

[0073] As described above, the fisheye image has a characteristic that the movement amount of the tracking object between frames changes depending on the distance from the center of the image. This characteristic can be quantified in advance by calculation. Figure 6 This is an example of dividing the fisheye image into 36 small areas of 6×6 and calculating the reference value of the movement amount of each small area. The table defining the reference value of the movement amount of each small area thus obtained can be stored in the storage unit 26, for example. Figure 6As shown in FIG. 1 , when the A axis and the B axis passing through the center of the image and being parallel to the x axis and the y axis, respectively, are considered, the movement amount changes symmetrically with respect to the A axis and the B axis. By utilizing this symmetry, for example, a 3×3 table for one quadrant can be stored in the storage unit 26. This can reduce the memory capacity.

[0074] based on Figure 6 The predicted position of the tracking object in frame f[t+1] is calculated based on the movement amount table shown, the position of the tracking object in frame f[t-1], and the position of the tracking object in frame f[t] (Formula 1). In this embodiment, the calculated predicted position of the tracking object is set as the position of the search area. In Formula 1, (x, y) represents the position of the tracking object in each frame. The position (x, y) of the tracking object can be set to the center coordinates of the bounding box, for example. In addition, in Formula 1, α is a value based on the above-mentioned movement amount table. For example, when the position (x, y) of the tracking object in frame f[t] is near the center of the fisheye image, α is 1.5.

[0075] [Mathematical formula 1]

[0076] (x t+1 ,y t+1 )=(x t ,y t )+α×(x t -x t-1 ,y t -y t-1 )···(1)

[0077] Figure 7 : is a diagram showing an example of the position of the search area (the predicted position of the tracking object) calculated using the above-mentioned formula 1. Figure 7 In the example, according to the position of frame f[t] and Figure 6 The movement amount table, α is 1.4. The movement amount of the tracking object becomes larger as it moves toward the center of the fisheye image. Therefore, Figure 7 As shown, the predicted position of the tracking target in frame f[t+1] is obtained so that the movement amount between frames f[t+1] and f[t] becomes larger than that between frames f[t-1] and f[t].

[0078] (2) Search area size calculation process (S51)

[0079] As described above, the fisheye image has a characteristic that the area (size) of the bounding box changes depending on the distance from the center of the image. This characteristic can be quantified in advance by calculation. Figure 8This is an example of dividing a fisheye image into 36 small areas of 6×6 and calculating the area (number of pixels) of each small area. The table defining the reference value of the size (for example, area) of each small area thus obtained can be stored in the storage unit 26. Figure 8 As shown, the reference value of the size changes symmetrically with respect to the center of the image. By utilizing this symmetry, for example, a 3×3 table for one quadrant can be stored in the storage unit 26. This can reduce the memory capacity.

[0080] based on Figure 8 The size table shown in FIG. 1 and the size of the bounding box in frame f[t] are used to calculate the size of the search area in frame f[t+1] (Formula 2). In Formula 2, w and h respectively represent the horizontal size and vertical size of the bounding box corresponding to the tracked object in frame f[t]. In addition, area_w and area_h respectively represent the horizontal size and vertical size of the search area in frame f[t+1]. In addition, in Formula 2, β is a value based on the above-mentioned size table. For example, when the coordinates (x, y) of frame f[t] are near the center of the fisheye image, β is 3.0. In addition, the size of the bounding box of frame f[t-1] can also be considered to obtain the size of the search area in the same way as Formula 1.

[0081] [Mathematical formula 2]

[0082] (area_w t+1 , area_h t+1 )=β×(w t ,h t )···(2)

[0083] Fig. 9 2 is a diagram showing an example of the size of the search area calculated using the above-mentioned formula 2. Fig. 9 In the example, based on the position of the frame f[t] (e.g., the center position of the bounding box) and Figure 8 The movement amount table is 2.5. The size of the tracking object becomes larger as it moves toward the center of the fisheye image, so the size of the search area of ​​frame f[t+1] is continuously increased. Alternatively, the position in frame f[t+1] obtained by the above formula 1 and Figure 8 The movement amount table is used to determine β.

[0084] <Advantageous Effects of the Present Embodiment>

[0085] In the monitoring system of the present embodiment, in the tracking process of the fisheye camera, the search area is determined based on the characteristics of the fisheye image, thereby achieving a faster and more accurate tracking process.

[0086] Regarding high precision, an example is shown. In the conventional method, the tracking object ( Fig.10 A), regardless of the increase or decrease in the amount of movement. Therefore, there is a concern that the tracking object will go out of the search area 15 in the next frame ( Fig.10 B). In this method, the tracking object near the center of the fisheye image ( Fig.11 A), taking into account the increase or decrease in the amount of movement, the size of the search area 15 is continuously increased. Therefore, the possibility of the tracked object going out of the search area 15 can be reduced, and the tracking can be performed with high accuracy ( Fig.11 B).

[0087] Regarding speeding up, an example is shown. In the conventional method, for the tracking object ( Fig.10 Therefore, even though the size of the bounding box corresponding to the tracked object in the next frame is small, the processing cost becomes more than necessary when a large search area 15 is set ( Fig.10 D). In this method, for the tracking object far away from the center of the fisheye image ( Fig.11 C), the search area 15 of the size corresponding to the position is used as the object for search processing (tracking processing). Therefore, the search processing can be performed efficiently, and the processing speed can be increased ( Fig.11 D).

[0088] In addition, an example is shown in which there are multiple tracking targets. In the conventional method, when there are multiple tracking targets in the vicinity of the fisheye image ( Fig.10 E), in the next frame, the search areas 15a and 15b of multiple tracking objects overlap, so there is a concern that the tracking objects may be replaced ( Fig.10 F). In this method, even when there are multiple tracking objects in close proximity in the fisheye image ( Fig.11 E), and also considers the predicted position and size of the tracking object in the next frame to appropriately determine the search area. Therefore, it is possible to reduce the possibility of overlapping search areas in the tracking object and achieve high accuracy ( Fig.11 F).

[0089] (Implementation Method 2)

[0090] In the first embodiment described above, a method of determining the position of a search area that moves linearly in the fisheye image when the tracking target moves linearly has been described. Figure 2As described, the actual fisheye image is distorted. Therefore, for example, when the tracking object moves in the horizontal direction at a position higher than the center of the fisheye image, the tracking object moves along a curve that arcs upward in the fisheye image. Conversely, when the tracking object moves in the horizontal direction at a position lower than the center of the fisheye image, the tracking object moves along a curve that arcs downward in the fisheye image. Therefore, in embodiment 2, in the process (S50) of calculating the position of the above-mentioned search area, the position is calculated based on the distortion of the fisheye image. In addition, the structure of the monitoring system in embodiment 2 is the same as that in embodiment 1, so the description is omitted. In addition, regarding the processing of the monitoring system in embodiment 2, only the processing that is different from embodiment 1 is described, and the description of the same processing is omitted.

[0091] As described above, the fisheye image has a characteristic that the degree of distortion changes depending on the distance from the center of the image. This characteristic can be quantified in advance by calculation. Fig.12 The solid line is an example of dividing the fisheye image into 36 small areas of 6×6 and expressing the degree of distortion in the vertical direction of each small area with a quadratic function. Fig.12 The dotted line is an example of expressing the degree of distortion in the horizontal direction of each small area using a quadratic function.

[0092] like Fig.12 As shown, regarding the degree of distortion, the farther away in the direction orthogonal to the moving direction, the greater the degree of distortion becomes. A vertical distortion table and a horizontal distortion table that define the benchmark of the degree of distortion of each small area thus obtained can be saved, for example, in the storage unit 26. The table can also be understood as a table that defines the degree of distortion in a direction orthogonal to the moving direction of the tracked object. In fact, the values ​​of p and q corresponding to each small area (for example, p1, q1) can be saved in the table. In addition, as in embodiment 1, the above table shows changes that are symmetrical with respect to each axis. Using this symmetry, for example, a 3×3 table for one quadrant can be saved in the storage unit 26. In this way, the memory capacity can be reduced.

[0093] In addition, the degree of distortion in the present embodiment can be understood as the degree of distortion in a direction orthogonal to the moving direction. Specifically, the position of the search area in the same direction as the moving direction is obtained in the same manner as in Embodiment 1. Furthermore, the position of the search area in a direction orthogonal to the moving direction can also be determined based on the position of the search area in the moving direction and a reference value related to the degree of distortion. In addition, by using a reference value for the degree of distortion in a direction orthogonal to a specified direction, the reference value can be used to determine the position of the search area regardless of the direction in which the object moves.

[0094] Based on the above-mentioned distortion table, the position of the tracking object in frame f[t-1], and the position of the tracking object in frame f[t], the predicted position of the tracking object in frame f[t+1] is calculated. When the tracking object moves in the horizontal direction, the horizontal position x[t+1] of the search area in frame f[t+1] is obtained in the same manner as in Embodiment 1. Furthermore, the vertical position y[t+1] of the search area in frame f[t+1] is obtained based on a function corresponding to a small area (Formula 3). Furthermore, when the tracking object moves in the vertical direction, the vertical position y[t+1] of the search area in frame f[t+1] is obtained in the same manner as in Embodiment 1. Furthermore, the horizontal position x[t+1] of the search area in frame f[t+1] is obtained based on a function corresponding to a small area (Formula 4). In this process, a quadratic function is used as an example, but any function that can take into account the degree of distortion of the fisheye image may be used.

[0095] [Mathematical formula 3]

[0096]

[0097] [Formula 4]

[0098]

[0099] (other)

[0100] The above embodiments are merely illustrative of the structural examples of the present invention. The present invention is not limited to the above specific embodiments, and various modifications can be made within the scope of its technical concept. For example, Figure 6 , Figure 8 The values ​​in the table shown in the above embodiment, the threshold values ​​shown in the above embodiment, etc. are all examples for explanation. In addition, in the above embodiment, a rectangular bounding box is illustrated, but a bounding box in a form other than a rectangle (polygon, ellipse, free shape, etc.) can also be used.

[0101] In addition, the position of the search area may be obtained based on the position of the object in the current frame, the reference value of the movement amount, and the moving direction of the object. In addition, in the above-mentioned embodiment, an example of obtaining the moving direction based on the position of the object in the current frame and the position of the object in the frame before the current frame is described, but the method of obtaining the moving direction is not particularly limited.

[0102] The position of the search area can also be determined based on the position of the object in the current frame and the reference value of the movement amount. As described above, the movement amount is large at the center of the fisheye image, and the movement amount becomes smaller as it goes to the end of the fisheye image. This is because the search area can be determined taking into account the characteristics of such a fisheye image so that it is at an appropriate position (also understood as a range) when tracking the tracking object in the subsequent frame.

[0103] In addition, in the above-mentioned embodiment, an example of using a reference value related to the amount of movement corresponding to the position of an object and a reference value related to the size in determining the search area is described, however, it is also possible to use only one of the reference value of the amount of movement and the reference value of the size to determine the search area. For example, when the size of the search area is fixed, only the above-mentioned reference value of the amount of movement is used to determine the search area. In addition, for example, when the amount of movement is fixed, only the above-mentioned reference value of the size is used to determine the search area. Various methods can be used to determine the position of the search area when only the reference value of the size is used to determine the search area. For example, it can be obtained based on the amount of movement and the direction of movement of the tracking object between frames f[t-1] and f[t], or the position of the tracking object in frame f[t] can be used as the position of the search area.

[0104] In addition, the shape of the search area can also be made variable based on the aspect ratio benchmark. This is because the aspect ratio of the object changes due to the change in the depression angle and azimuth angle when observing the object from the fisheye camera according to the position on the fisheye image. For example, the aspect ratio benchmark can also be set so that the shape of the search area becomes roughly square in the central area of ​​the fisheye image and in the area inclined 45 degrees relative to the central area; the shape of the search area becomes a vertically long rectangle in the areas above and below the central area; and the search area becomes a horizontally long rectangle in the areas on the left and right sides of the central area.

[0105] (Note 1)

[0106] (1) An object tracking device (1) uses a fisheye image obtained by a fisheye camera (10) disposed above a tracking target area (11) to track an object (13) existing in the tracking target area (11), characterized in that:

[0107] A storage unit (26) pre-stores a reference related to the movement amount of the object (13) between frames for each position or area on the fisheye image;

[0108] A determination unit (21) determines the position of a search area (15) in a second frame image which is an image subsequent to the first frame image, based on the position of the object (13) in the first frame image and a reference related to the movement amount corresponding to the position of the object (13) in the first frame image; and

[0109] The search unit (22) determines the position of the object (13) in the second frame image by searching for the object (13) in the search area (15) of the second frame image.

[0110] (2) An object tracking device (1) that tracks an object (13) existing in a tracking target area (11) using a fisheye image obtained by a fisheye camera (10) disposed above the tracking target area (11), characterized in that:

[0111] A storage unit (26) pre-stores a reference related to the size of the search area (15) for each position or area on the fisheye image;

[0112] A determination unit (21) determines the size of a search area (15) in a second frame image that is an image subsequent to the first frame image, based on the position of the object (13) in the first frame image and a reference related to the size corresponding to the position of the object (13) in the first frame image; and

[0113] The search unit (22) determines the position of the object (13) in the second frame image by searching for the object (13) in the search area (15) of the second frame image.

[0114] (3) An object tracking method, using a fisheye image obtained by a fisheye camera (10) disposed above a tracking target area (11) to track an object (13) existing in the tracking target area (11), characterized by comprising:

[0115] A determination step (S42) of determining the position of the search area (15) in a second frame image, which is an image subsequent to the first frame image, based on the position of the object (13) in the first frame image and the reference related to the movement amount corresponding to the position of the object (13) in the first frame image, with reference to a storage unit (26) in which a reference related to the movement amount of the object (13) between frames is pre-stored for each position or area on the fisheye image; and

[0116] The searching step (S43) determines the position of the object (13) in the second frame image by searching for the object (13) in the search area (15) of the second frame image.

[0117] (4) An object tracking method, using a fisheye image obtained by a fisheye camera (10) disposed above a tracking target area (11), to track an object (13) existing in the tracking target area (11), characterized in that:

[0118] A determination step (S42) of determining the size of the search area (15) in a second frame image, which is an image subsequent to the first frame image, based on the position of the object (13) in the first frame image and the size-related reference corresponding to the position of the object (13) in the first frame image, with reference to a storage unit (26) in which a reference related to the size of the search area (15) is pre-stored for each position or area on the fisheye image; and

[0119] The searching step (S43) determines the position of the object (13) in the second frame image by searching for the object (13) in the search area (15) of the second frame image.

[0120] Explanation of symbols

[0121] 1: Object tracking device

[0122] 2: Monitoring system

[0123] 10: Fisheye Camera

[0124] 11: Tracking target area

[0125] 12: Ceiling

[0126] 13: Objects

Claims

1. An object tracking device, using a fisheye image obtained by a fisheye camera disposed above a tracking target area to track an object existing in the tracking target area, It is characterized in that have: A storage unit that pre-stores a reference related to the movement amount of the object between frames for each position or area on the fisheye image; a determination unit that determines a position of a search area in a second frame image that is an image subsequent to the first frame image, based on a position of the object in the first frame image and a reference related to the movement amount corresponding to the position of the object in the first frame image; as well as A search unit determines the position of the object in the second frame image by searching for the object in the search area of ​​the second frame image. The storage unit stores a reference related to the degree of image distortion in advance for each position or area on the fisheye image. The determination unit determines the position of the search area in the second frame image based on the position of the object in the first frame image, a reference related to the movement amount corresponding to the position of the object in the first frame image, the moving direction of the object, and a reference related to the distortion degree corresponding to the position of the object in the first frame image. The determination unit further determines the position of the search area in the same direction as the moving direction of the object based on the position of the object in the first frame image, the position of the object in the frame image before the first frame image, and a reference related to the movement amount. The determination unit further determines a position of the search area in a direction orthogonal to the moving direction of the object based on the position of the search area in the same direction as the moving direction of the object and a reference related to the degree of distortion.

2. The object tracking device according to claim 1, It is characterized in that The storage unit stores in advance a reference related to the size of the search area for each position or area on the fisheye image. The determination unit determines the size of the search area in the second frame image based on the position of the object in the first frame image and a reference related to the size corresponding to the position of the object in the first frame image.

3. The object tracking device according to claim 2, It is characterized in that The reference of the size is set so that the area closer to the center of the fisheye image becomes larger in size.

4. The object tracking device according to claim 1 or 2, It is characterized in that The reference of the movement amount is set so that the movement amount becomes larger in a region closer to the center of the fisheye image.

5. An object tracking method, using a fisheye image obtained by a fisheye camera disposed above a tracking target area to track an object existing in the tracking target area, It is characterized in that have: A determination step of determining a position of a search area in a second frame image that is an image subsequent to the first frame image based on the position of the object in the first frame image and the reference related to the movement amount corresponding to the position of the object in the first frame image, with reference to a storage unit that pre-stores a reference related to the movement amount of the object between frames for each position or area on the fisheye image; as well as a searching step of determining the position of the object in the second frame image by searching the object in the search area of ​​the second frame image, The storage unit stores a reference related to the degree of image distortion in advance for each position or area on the fisheye image. The determining step determines the position of the search area in the second frame image based on the position of the object in the first frame image, a reference related to the movement amount corresponding to the position of the object in the first frame image, the moving direction of the object, and a reference related to the distortion degree corresponding to the position of the object in the first frame image, The determining step further determines the position of the search area in the same direction as the moving direction of the object based on the position of the object in the first frame image, the position of the object in the frame image before the first frame image, and a reference related to the movement amount. The determining step further determines the position of the search area in a direction orthogonal to the moving direction of the object based on the position of the search area in the same direction as the moving direction of the object and a reference related to the degree of distortion.

6. A computer-readable storage medium, It is characterized in that A program for causing a computer to execute each step of the object tracking method described in claim 5 is stored.