Image processing apparatus and image processing method

By integrating tracker and detector outputs with a hierarchical neural network, the method adapts lost state determination to each image's conditions, enhancing tracking reliability and stability by addressing the limitations of fixed criteria in DNN-based tracking systems.

JP2024152431APending Publication Date: 2024-10-25CANON KK
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
JP2023066618
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-04-14
Publication Date
2024-10-25

AI Technical Summary

Technical Problem

Existing tracking methods using deep neural networks (DNNs) struggle with maintaining tracking reliability when the target changes posture or moves rapidly, often leading to incorrect determination of a lost state due to fixed criteria that do not account for object similarity or movement patterns, resulting in excessive template updates and tracking failure.

Method used

A method that combines tracker and detector outputs to generate a dynamic lost state criterion by integrating likelihood and movement penalty maps, using a hierarchical neural network to determine the tracking target's state, incorporating objectness detection and motion estimation to adapt the lost determination to each image's unique conditions.

Benefits of technology

This approach allows for robust tracking by accurately determining the lost state, reducing false positives and negatives, and enabling timely template updates, thereby improving tracking stability and accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024152431000001_ABST
    Figure 2024152431000001_ABST
Patent Text Reader

Abstract

To provide a technique for generating an appropriate criterion as a determination criterion for determining whether or not a tracking target is in a lost state in which the tracking target cannot be identified.SOLUTION: An image processing apparatus is configured to: acquire first information including a likelihood of a tracking target among a plurality of first candidates of the tracking target in a target image using a tracking technique for tracking an object in the image; acquire second information including the likelihood of the tracking target among a plurality of second candidates of the tracking target in the target image using a detection technique for detecting the object in the image; generate a determination criterion for determining whether or not it is in a lost state based on the first information and the second information; and determine whether or not it is in the lost state for the target image using the determination criterion.SELECTED DRAWING: Figure 2
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a technique for tracking a tracking target within an image. [Background technology]

[0002] In recent years, technology using Deep Neural Network (hereinafter abbreviated as DNN) has been attracting attention as a technology for tracking specific objects in an image with high accuracy. For example, the Siam method, as represented by Non-Patent Document 1, detects the tracking target from the search range image by performing correlation calculation between the DNN features of a reference image, which is a template of the tracking target, and the search range image. In addition, it is difficult to extract a template that represents an object whose appearance changes in a variety of ways, so we aim to achieve robust tracking by combining it with a prediction of the movement of the tracking target.

[0003] However, when the target changes its posture or moves rapidly, the tracker may lose sight of the target, i.e., it may fall into a lost state. A lost state is a state in which the output of a tracking method that combines template-based tracking and motion prediction is unreliable.

[0004] As one of the solutions, there is a method of switching between a tracker and a detector when a lost state is determined, as in Patent Document 1. Specifically, when a lost state is determined during tracking, the tracking target is detected (instead of the tracking method) by an objectness detection method that detects an object-like (high objectness) area, as in Non-Patent Document 2, and the template is acquired again. This method aims to perform stable tracking by using the output of the detector as the tracking result when a lost state is determined. However, since the objectness detector only detects object-like areas, other information such as a motion prediction result is required to distinguish which of multiple detection results is the tracking target. Therefore, it is considered desirable to perform tracking using only the tracker, if possible, and to use the detector only as an auxiliary.

[0005] However, the current criteria for determining whether an object is lost use a fixed standard that is not dependent on the subject or surrounding conditions, and there are cases where the tracker is determined to be lost even though it has been successfully tracked. For example, it can be said that the reliability of the tracker is lower when there is a similar object than when there is no similar object, but the current lost judgment does not take into account the presence or absence of similar objects. In addition, the way an object moves and how easily it can be predicted differs depending on the object, and it is thought that the reliability of the prediction of the movement should be estimated for each object, but the current lost judgment does not take into account the differences between objects. [Prior art documents] [Patent documents]

[0006] [Patent Document 1] JP 2020-149641 A [Non-patent literature]

[0007] [Non-Patent Document 1] High Performance Visual Tracking with Siamese Region Proposal Network, Li et al.,CVPR2018 [Non-Patent Document 2] FCOS: Fully Convolutional One-Stage Object Detection, Tien et al.,ICCV2019 [Non-Patent Document 3] Categorical reparameterization with gumbel-softmax. Jang et al.,arXiv 2016 [Non-Patent Document 4] Unitbox: An advanced object detection network.Yu et al.,ACMMM2019 [Non-Patent Document 5] Generalized intersection over union: A metric and a loss for bounding box regression, Rezatofighi et al. ,CVPR2019 [Non-Patent Document 6] Long short term memory, Sepp Hochreiter and Jurgen Schmidhuber.Neural computation, 9:1735?80, 12 1997 Summary of the Invention [Problem to be solved by the invention]

[0008] As a method of continuing tracking when the reliability of the tracker is reduced and it is determined that the target is lost, there is a method of performing tracking by combining a tracker and a detector, such as using the detection result of the detector as the tracking result and updating the template. In the conventional method, a common criterion is used as the criterion for determining whether the target is lost, regardless of the tracking target or the surrounding situation. Therefore, it cannot be said that the criterion is appropriate for each frame, and the target may be determined as lost even when it is tracked. This may cause excessive template updates, which may cause tracking failure. In the present invention, a technology is provided for generating an appropriate criterion as a criterion for determining whether the target is lost, which is a state in which the tracking target cannot be identified. [Means for solving the problem]

[0009] One aspect of the present invention is characterized in that it comprises a first acquisition means for acquiring first information including a likelihood of the tracking target among a plurality of first candidates for the tracking target in a target image using a tracking technique for tracking an object in an image, a second acquisition means for acquiring second information including a likelihood of the tracking target among a plurality of second candidates for the tracking target in the target image using a detection technique for detecting an object in an image, a generation means for generating a judgment criterion for judging whether or not the tracking target is in a lost state, in which it is impossible to identify the tracking target, based on the first information and the second information, and a judgment means for judging whether or not the target image is in a lost state using the judgment criterion. Effect of the Invention

[0010] According to the configuration of the present invention, it is possible to provide a technology for generating appropriate criteria as criteria for determining whether or not a tracking target is in a lost state, in which it is impossible to identify the tracking target. [Brief description of the drawings]

[0011] [Figure 1] FIG. 1 is a block diagram showing an example of the hardware configuration of an image processing apparatus. [Diagram 2] FIG. 2 is a block diagram showing an example of a functional configuration related to a process for inferring a tracking target in an image. [Diagram 3] 4 is a flowchart of a process performed by the image processing device to infer a tracking target in an image. [Figure 4] FIG. 4 is a diagram showing an example of a reference image. [Diagram 5] (a) is a diagram showing an example of a search image, (b) is a diagram showing an example of a likelihood map, (c) is a diagram showing an example of a BB, (d) is a diagram showing an example of a movement penalty map, and (e) is a diagram showing an example of a map showing the result of the element-wise product of the likelihood map and the movement penalty map. [Figure 6] FIG. [Figure 7] FIG. 1 is a diagram showing an example of the configuration of a hierarchical neural network. [Figure 8] 11 is a flowchart showing details of the process in step S307. [Figure 9] FIG. 2 is a diagram showing an example of a functional configuration of an image processing device related to learning. [Figure 10] 11 is a flowchart of a process performed by the image processing device to learn parameters of a neural network used during inference. [Figure 11] FIG. 4 is a diagram showing an example of a reference image. [Figure 12] FIG. 13 is a diagram showing an example of a search image. [Figure 13] FIG. 4A is a diagram showing an example of a template feature, and FIG. 4B is a diagram showing an example of an image feature of a search range image. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0012] Hereinafter, the embodiments will be described in detail with reference to the attached drawings. Note that the following embodiments do not limit the invention according to the claims. Although the embodiments describe a number of features, not all of these features are essential to the invention, and the features may be combined in any manner. Furthermore, in the attached drawings, the same reference numbers are used for the same or similar configurations, and duplicated descriptions are omitted.

[0013] [First embodiment] In this embodiment, a technology for inferring a tracking target in an image using a technology that uses the Siam method as a tracking technology for tracking an object in an image and an arbitrary object detection technology as a detection technology for detecting an object in an image will be described.

[0014] First, a hardware configuration example of an image processing device according to this embodiment will be described with reference to the block diagram of Fig. 1. Computer devices such as PCs (personal computers), tablet terminal devices, and smartphones can be applied to the image processing device according to this embodiment.

[0015] The CPU 101 executes various processes using computer programs and data stored in the RAM 103. As a result, the CPU 101 controls the operation of the entire image processing device, and executes or controls various processes that will be described as processes performed by the image processing device.

[0016] The ROM 102 stores setting data for the image processing device, computer programs and data relating to the startup of the image processing device, computer programs and data relating to the basic operations of the image processing device, and the like.

[0017] The RAM 103 has an area for storing computer programs and data loaded from the ROM 102 or the storage unit 104, and an area for storing computer programs and data received from the outside via the communication unit 107. The RAM 103 further has a work area used when the CPU 101 executes various processes. In this way, the RAM 103 can provide various areas as needed.

[0018] The storage unit 104 is a non-volatile memory device such as a hard disk drive device. The storage unit 104 stores an OS (operating system), computer programs and data for causing the CPU 101 to execute or control various processes described as processes performed by the image processing device, etc. Note that the storage unit 104 may also use a flash memory, various optical media, etc.

[0019] The input unit 105 is a user interface such as a keyboard, a mouse, a touch panel, or a dial, and can be operated by a user to input various instructions and information to the image processing apparatus.

[0020] Display unit 106 has a liquid crystal screen or a touch panel screen, and can display the processing results by CPU 101 as images, characters, etc. If display unit 106 has a touch panel screen, it can accept various user operations such as touch operations from the user. Display unit 106 may be a projection device such as a projector that projects images and characters.

[0021] The communication unit 107 functions as a communication interface for performing data communication with the outside via a wired and / or wireless network such as a LAN or the Internet, etc. The communication unit 107 also has an interface to which an image acquisition device, such as an imaging device capable of capturing moving images and / or still images, can be connected.

[0022] The CPU 101, ROM 102, RAM 103, storage unit 104, input unit 105, display unit 106, and communication unit 107 are all connected to a system bus 108. Note that the hardware configuration of the image processing device according to this embodiment is not limited to the configuration shown in Fig. 1 and can be changed / modified as appropriate.

[0023] Next, a functional configuration example of the image processing device according to this embodiment for inferring a tracking target in an image is shown in the block diagram of FIG. 2. In the following, a case will be described in which the functional units (excluding the storage unit 104) shown in FIG. 2 are implemented by software (computer program). In the following, the functional units (excluding the storage unit 104) shown in FIG. 2 may be described as the subject of processing, but in reality, the functions of the functional units are performed by the CPU 101 executing a computer program corresponding to the functional units. Note that one or more of the functional units shown in FIG. 2 may be implemented by hardware. The processing performed by the image processing device for inferring a tracking target in an image will be described with reference to the flowchart of FIG. 3.

[0024] In step S301, the acquisition unit 201 acquires an image including a tracking target (object) as a reference image. The method of acquiring the reference image is not limited to a specific acquisition method. For example, the acquisition unit 201 may acquire an image of the tracking target captured by an imaging device as a reference image via the communication unit 107, or may acquire an "image of the tracking target" stored in the storage unit 104 as a reference image.

[0025] In step S302, the setting unit 202 sets a bounding box (hereinafter referred to as BB) surrounding the tracking target in the reference image acquired in step S301. For example, when the reference image is displayed on the display unit 106 and a user who views the reference image displayed on the display unit 106 operates the input unit 105 to specify an object to be used as a tracking target, the setting unit 202 sets a BB surrounding the specified object.

[0026] Then, the setting unit 202 sets a surrounding area including the BB based on the position and size of the set BB, and acquires a resized image obtained by resizing the image in the surrounding area to a specified size as a template image. For example, the setting unit 202 sets an area obtained by enlarging the BB by a constant multiple of the size of the BB around the center position of the BB as the surrounding area, and acquires a resized image obtained by resizing the image in the surrounding area to a specified size as a template image.

[0027] 4, a tracking target 402 in a reference image 401 is specified in response to a user operation, and an area 404 that is a constant multiple of the vertical and horizontal sizes of a BB 403 of the tracking target 402 is set as the surrounding area. In this case, the setting unit 202 acquires a resized image obtained by resizing the image in the surrounding area 404 to a specified size as a template image.

[0028] In step S303, the acquisition unit 203 acquires an image (target image) to be searched for the tracking target as a search image. The search image may be, for example, an image of each frame in a video that does not include the above-mentioned reference image, an image of the second frame or later in a video in which the reference image is the first frame, or a still image different from the reference image. The method of acquiring the search image is not limited to a specific acquisition method. For example, the acquisition unit 203 may acquire an image of the tracking target captured by the imaging device as the search image via the communication unit 107, or may acquire an "image of the tracking target" stored in the storage unit 104 as the search image.

[0029] The acquisition unit 203 then specifies an extraction region for extracting an image within the search range from the search image based on the position (past position) and size (past size) of the tracking target inferred by the previous process according to the flowchart of Fig. 3 for a search image previously acquired from the search image. For example, the acquisition unit 203 sets a region having a past size at a past position in the search image, and specifies an area obtained by enlarging the region by a constant multiple of the size of the region around the center position of the region as the extraction region. In the example of Fig. 5(a), a region having a past size is set at a past position in the search image 501 including the tracking target 502, and specifies an area 503 obtained by enlarging the region by a constant multiple of the size of the region around the center position of the region as the extraction region.

[0030] If there is no search image acquired before the search image, for example, if the search image is the first frame in a video or the search image is the second frame (the first frame in the video is the reference image), the acquisition unit 203 specifies the extraction region based on the position (past position) and size (past size) of the tracking target in the reference image in the same manner as above. The acquisition unit 203 then acquires a resized image obtained by resizing the image in the extraction region to a specified size as a search range image.

[0031] In step S304, the tracker 204 inputs the template image and the search range image to a tracker and performs various calculation processes. The tracker may use a method such as the Siam method (Non-Patent Document 1).

[0032] For example, the tracking unit 204 inputs a template image into a convolutional neural network (CNN) and performs arithmetic processing of the CNN to obtain image features of the template image (template features). The tracking unit 204 also inputs a search range image into the CNN and performs arithmetic processing of the CNN to obtain image features of the search range image. The tracking unit 204 then performs correlation calculation between the template features and the image features of the search range image. That is, the tracking unit 204 performs template matching with the template image for each position in the search range image to generate a likelihood map (a likelihood map that strongly reacts to the position of the tracking target in the search range image) that indicates a likelihood that indicates the "likelihood of the tracking target" corresponding to each position in the search range image, and a size map that indicates the "size of the tracking target" corresponding to each position in the search range image.

[0033] FIG. 5(b) shows an example of a likelihood map obtained from the image features of the template image corresponding to the surrounding area 404 and the image features of the search range image corresponding to the area 503. Each rectangle in FIG. 5(b) represents a pixel of the likelihood map 505. Each pixel of the likelihood map takes a real value of 0 to 1, and this value represents the degree of certainty (likelihood) of the tracking target. If the value of a pixel at the position where the tracking target exists, such as pixel 506, is relatively large compared to the values ​​of other pixels in the likelihood map 505, tracking can be performed correctly. In addition, the value of a pixel where an analog 504 exists, such as pixel 507, tends to be large. In addition, the width and height of the likelihood map according to this embodiment are Wc and Hc, respectively, similar to the likelihood map 505 in FIG. 5(b), and are determined by the size of the search image and the configuration of the CNN.

[0034] Then, the tracking unit 204 selects, as selected likelihoods, a plurality of likelihoods in descending order from among the likelihoods registered at each position of the likelihood map. In this embodiment, the "plurality of likelihoods in descending order from among the likelihoods registered at each position of the likelihood map" refers to the top M (M is an integer of 2 or more) likelihoods in descending order from among the likelihoods registered at each position of the likelihood map. However, the definition of the "plurality of likelihoods in descending order from among the likelihoods registered at each position of the likelihood map" is not limited to this, and may be, for example, likelihoods equal to or greater than a threshold value from among the likelihoods registered at each position of the likelihood map.

[0035] Then, for each selection likelihood, the tracking unit 204 acquires a set of the selection likelihood, the position where the selection likelihood is registered in the likelihood map, and the size corresponding to the position in the size map. More specifically, the tracking unit 204 acquires M five-dimensional vectors whose elements are [selection likelihood, x-coordinate and y-coordinate of the position where the selection likelihood is registered in the likelihood map, and width and height registered at the position in the size map].

[0036] Here, the x and y coordinates respectively represent the x and y coordinates of the center position of the tracking target candidate on the likelihood map. Here, the coordinate system is set to (0,0) at the top left of the likelihood map, with the x axis in the width direction (positive pointing to the right) and the y axis in the height direction (positive pointing downward). When there are many similar objects, there will be many BBs with high likelihood, and when the likelihood of the tracking target has decreased due to posture change or when there are few similar objects, there will be many BBs with low likelihood.

[0037] The rectangular regions (BB) defined by the respective vectors for M=2 are shown in Figure 5(c). BB 508 is a BB located at the position of pixel 507, with a width and height corresponding to the position of pixel 507 in the size map. Rectangular region 509 is a BB located at the position of pixel 506, with a width and height corresponding to the position of pixel 506 in the size map.

[0038] In step S305, the detection unit 205 inputs the above-mentioned search range image to the arbitrary object detector and performs calculation processing of the arbitrary object detector. As a result, the detection unit 205 outputs an objectness map and a size map that strongly react to areas with high objectness (likelihood) (object-likely) in the search range image.

[0039] Then, the detection unit 205 selects a plurality of likelihoods in descending order from the likelihoods registered at each position of the objectness map as selected likelihoods. In this embodiment, the "plurality of likelihoods in descending order from the likelihoods registered at each position of the objectness map" refers to the top M likelihoods in descending order from the likelihoods registered at each position of the objectness map. However, the definition of the "plurality of likelihoods in descending order from the likelihoods registered at each position of the objectness map" is not limited to this, and may be, for example, a likelihood equal to or greater than a threshold value from the likelihoods registered at each position of the objectness map.

[0040] Then, for each selection likelihood, the detection unit 205 obtains a set of the selection likelihood, the position where the selection likelihood is registered in the objectness map, and the size corresponding to the position in the size map. More specifically, the detection unit 205 obtains M five-dimensional vectors whose elements are [selection likelihood, x-coordinate and y-coordinate where the selection likelihood is registered in the objectness map, and width and height corresponding to the position in the size map].

[0041] The arbitrary object detector may be FCOS (Non-Patent Document 2) or the like. The aim of this step is to more robustly detect the presence or absence of a similar object in the estimation of the lost determination criterion in step S306. By taking into consideration the output of the detection unit 205 in addition to the output of the tracking unit 204 obtained in step S304, it becomes possible to detect a similar object whose tracking likelihood has temporarily decreased due to a change in posture.

[0042] 6 shows rectangular regions (BB) defined by the respective vectors when M=2. BB604 has a width and height corresponding to the position of pixel 507 in the size map, and is a BB located at the position of pixel 507. BB602 has a width and height corresponding to the position of pixel 506 in the size map, and is a BB located at the position of pixel 506. The process of step S304 and the process of step S305 may be performed one after the other, or may be performed in parallel.

[0043] Next, in step S306, the estimation unit 206 generates a (10Mx1)-dimensional integrated vector by integrating the M vectors generated by the tracking unit 204 and the M vectors generated by the detection unit 205. The estimation unit 206 then inputs the integrated vector to a lost determination criterion estimator and performs calculation processing of the lost determination criterion estimator to estimate a lost determination criterion, and obtains a motion estimation parameter σ and a likelihood threshold θ as parameters of the lost determination criterion. The motion estimation parameter σ is a one-dimensional parameter, and the likelihood threshold θ is a one-dimensional parameter that takes a real value between 0 and 1.

[0044] The lost criterion estimator is, for example, a hierarchical neural network, and has fully connected layers 703, 704, and 707 and nonlinear functions 705 and 708 as illustrated in FIG. 7. A tracking unit output 701, which is M vectors generated by the tracking unit 204, and a detection unit output 702, which is M vectors generated by the detection unit 205, are input to the fully connected layer 703. The output from the fully connected layer 703 is input to the fully connected layer 704 and the fully connected layer 707. The output of the fully connected layer 704 is nonlinearly transformed by the nonlinear function 705 and output as a motion estimation parameter 706, and the output of the fully connected layer 707 is nonlinearly transformed by the nonlinear function 708 and output as a likelihood threshold 709. Note that the configuration of the hierarchical neural network applicable to the lost criterion estimator, for example, the type of nonlinear function and the number of fully connected layers, are not limited to the configuration illustrated in FIG. 7.

[0045] In step S307, the determination unit 207 determines whether or not the target is lost in the search image by using the parameters of the lost determination criterion (motion estimation parameter σ and likelihood threshold θ) acquired by the estimation in step S306. Here, "the target is lost in the search image" refers to a state in which the tracking target cannot be identified from the output of the tracking unit 204 for the search image (search range image).

[0046] Details of the process of step S307 will be described with reference to the flowchart in Fig. 8. In step S801, for each of the M vectors generated by the tracking unit 204, the determination unit 207 obtains, as a movement penalty, a value corresponding to the elements "x coordinate and y coordinate" of the vector in a movement penalty map p defined by the following formula (1).

[0047] The movement penalty map p is a map that represents the penalty (movement penalty) for the amount of movement of the tracking target. The movement penalty map p has a meaning similar to the probability of the amount of movement of the tracking target, and is designed to take a smaller value, for example, as the distance from the center position of the search range image increases. For example, a Hanning window or the like may be used, and in that case, the movement penalty map p is defined by the following formula (1).

[0048]

number

[0049] p(x, y) indicates the motion penalty corresponding to the position (x, y) in the likelihood map. As mentioned above, the coordinate system has the upper left corner of the likelihood map as (0,0), the x-axis in the width direction (positive pointing to the right), and the y-axis in the height direction (positive pointing downward). An example of a motion penalty map p corresponding to the likelihood map in Fig. 5(b) is shown in Fig. 5(d). In this example, the motion estimation parameter σ is set to a certain value, and the motion penalty is calculated for each pixel of the likelihood map of the search range image and visualized. The motion penalty in the motion penalty map p takes a value of "1" at the center of the search range image, and the greater the distance from the center position of the search range image, the smaller the value. Also, the smaller the value of the motion estimation parameter σ, the steeper the decrease in the motion penalty value becomes.

[0050] Then, for each of the M vectors generated by the tracking unit 204, the determination unit 207 calculates an index value that is the product of the movement penalty calculated for that vector and the element "selection likelihood" of that vector. Figure 5(e) shows a map 513 that represents the product of the likelihood map 505 illustrated in Figure 5(b) and the movement penalty map P illustrated in Figure 5(d) for each element.

[0051] The value (index value) of pixel 514 in map 513 is the product of the value (likelihood) of pixel 506 in likelihood map 505 of Figure 5(b) and the value (movement penalty) of pixel 511 at the corresponding position in movement penalty map 510 of Figure 5(d).

[0052] The value (index value) of pixel 515 in map 513 is the product of the value (likelihood) of pixel 507 in likelihood map 505 of Figure 5(b) and the value (movement penalty) of pixel 512 at the corresponding position in movement penalty map 510 of Figure 5(d).

[0053] In step S802, the determination unit 207 specifies, as the target vector, a vector corresponding to the maximum index value among the index values ​​calculated in step S801. In the example of Fig. 5, the vector corresponding to BB509 of the object located at pixel 514 is specified as the target vector.

[0054] By applying a movement penalty to the likelihood and then selecting the vector of the tracked target, the tracked target can be estimated by combining the estimation result of the tracker 204 with the movement penalty that represents the prediction of the movement of the tracked target. Also, the smaller σ is, the narrower the allowable range of movement of the tracked target is, and the weight of the prediction of the movement is increased compared to the estimation result of the tracker 204.

[0055] In step S803, the determination unit 207 inputs the likelihood threshold θ acquired in step S306 and the element "selection likelihood pmax" of the target vector identified in step S802 to a lost probability estimator such as a hierarchical neural network. Then, the determination unit 207 performs calculation processing of the lost probability estimator to obtain the lost probability π. Here, a case will be described in which the lost probability estimator is a hierarchical neural network. The determination unit 207 obtains a vector Plost defined by the lost probability π according to, for example, the following formula (2).

[0056]

number

[0057] Here, [θ, pmax] represents a two-dimensional vector that arranges the likelihood threshold θ and the selection likelihood pmax, and FC represents a fully connected layer. gumbel_sоftmax (Non-Patent Document 3) is a function that replaces the sampling of one-hot vectors from a categorical distribution with a differentiable process, and is defined, for example, by the following formula (3).

[0058]

number

[0059] Here, τ is a positive constant and represents the temperature parameter of the softmax function. The closer τ is to 0, the closer the generated vector is to a one-hot vector. By using gumbel_sоftmax, the sampling process from a categorical distribution using the loss probability π becomes differentiable. This makes it possible to learn the parameters of the loss criterion estimator in the estimation unit 206 and the parameters of the loss probability estimator in the judgment unit 207 end-to-end using the backpropagation method.

[0060] In step S804, the determination unit 207 performs the calculation shown in the following equation (4) using the vector Plost obtained in step S803 to obtain a vector ylost[y1, y2] that is a loss determination criterion.

[0061]

number

[0062] Round() is a function that returns the result of rounding. In the case of equation (4), the result of rounding π is assigned to y1, the first element of vector ylost, and the result of rounding (1-π) is assigned to y2, the second element of vector ylost.

[0063] Then, the determination unit 207 determines that the state is lost when ylоst[y1,y2]=[1,0], and determines that the state is not lost when ylоst[y1,y2]=[0,1].

[0064] Returning to Fig. 3, next, in step S308, the determination unit 208 outputs a tracking result of the tracking target according to the result of the lost determination in step S307. If the determination unit 207 determines that the target is not in a lost state, the determination unit 208 outputs the target vector identified in step S802 or information derivable from the target vector as the tracking result of the tracking target. If the determination unit 207 determines that the target is in a lost state, the determination unit 208 outputs the vector having the highest selection likelihood among the M five-dimensional vectors acquired by the detection unit 205 in step S305 or information derivable from the vector as the tracking result of the tracking target.

[0065] For example, the determination unit 208 may output the vector elements "x coordinate and y coordinate" (the position of the tracking target) and the vector elements "width and height" (the size of the tracking target) as the tracking result of the tracking target.

[0066] In step S309, the determination unit 208 judges whether or not a termination condition is satisfied for terminating the inference process according to the flowchart in Fig. 3. Examples of the "termination condition for terminating the inference process" include "the search image acquired in step S303 is the end frame in the video", "the user inputs a termination command by operating the input unit 105", etc.

[0067] If it is determined that the end condition is satisfied, the process according to the flowchart in FIG. 3 ends, and if the end condition is not satisfied, the process proceeds to step S303.

[0068] In this embodiment, the parameters of the tracker used by the tracking unit 204, the arbitrary object detector used by the detection unit 205, the lost determination criterion estimator used by the estimation unit 206, and the hierarchical neural network used by the determination unit 207 are learned in advance and stored in the storage unit 209. Then, the CPU 101 reads out parameters from the storage unit 104 as necessary and sets them in the tracker, the arbitrary object detector, the lost determination criterion estimator, the hierarchical neural network, and the like.

[0069] Next, an image processing device that learns the parameters of the above neural network used during inference will be described. An example of the functional configuration of an image processing device related to learning is shown in the block diagram of FIG. 9. Below, a case will be described in which the functional units (excluding the storage unit 104) shown in FIG. 9 are implemented by software (computer program). Below, the functional units (excluding the storage unit 104) shown in FIG. 9 may be described as the subject of processing, but in reality, the functions of the functional units are performed by the CPU 101 executing a computer program corresponding to the functional units. Note that one or more of the functional units shown in FIG. 9 may be implemented by hardware.

[0070] The tracking unit 903, the detection unit 904, the estimation unit 905, the judgment unit 906, and the decision unit 907 are functional units having the same functions as the tracking unit 204, the detection unit 205, the estimation unit 206, the judgment unit 207, and the decision unit 208, respectively.

[0071] The process performed by the image processing device to learn the parameters of the neural network used during inference will be described with reference to the flowchart in FIG. 10. In step S1001, the acquisition unit 902 acquires learning data from the storage unit 104. The learning data includes one reference image and one search image containing the same tracking target, and N (N is an integer equal to or greater than 1) sets of ground truth data indicating the position (x coordinate and y coordinate) and size (width and height) of the tracking target in each of the reference image and the search image. Hereinafter, the ground truth data will be referred to as GT (short for Ground Truth). The following description will be given taking the case of N=1 as an example. The definitions of the reference image and the search image are as described above.

[0072] In step S1002, the acquisition unit 902, like the setting unit 202, acquires a template image from the reference image based on a BB having a size indicated by a GT at a position indicated by the GT of the reference image.

[0073] An example of a reference image is shown in Fig. 11. The acquisition unit 902 sets an area obtained by enlarging the BB 1103 by a constant multiple of the size of the BB 1103 around the center position of the "BB 1103 of the tracking target 1102" defined by the GT of the reference image 1101, as the surrounding area 1104. The acquisition unit 902 then resizes the image in the surrounding area 1104 to a specified size, and acquires the resized image as a template image.

[0074] In step S1003, the acquisition unit 902 acquires a search range image from the search image based on a region having a size indicated by the GT at a position indicated by the GT of the search image, in the same manner as the acquisition unit 203. In the example of Fig. 12, a region 1203 is specified by enlarging a region having a size indicated by the GT at a position indicated by the GT of a search image 1201 including a tracking target 1202 by a constant multiple of the size of the region, with the center being the center of the region. The acquisition unit 902 then acquires a resized image obtained by resizing the image in the region 1203 to a specified size as the search range image.

[0075] In step S1004, the tracking unit 903 inputs the template image and the search range image to the tracking unit and performs various calculation processes in the same manner as the tracking unit 204. As a result, the tracking unit 903 acquires M five-dimensional vectors whose elements are [selection likelihood, x-coordinate and y-coordinate of the position where the selection likelihood is registered in the likelihood map, and width and height corresponding to the position in the size map].

[0076] In step S1005, the detection unit 904 inputs the search range image to the arbitrary object detector and performs calculation processing of the arbitrary object detector in the same manner as the detection unit 205. As a result, the detection unit 904 acquires M five-dimensional vectors whose elements are [selection likelihood, x-coordinate and y-coordinate where the selection likelihood is registered in the objectness map, and width and height corresponding to the position in the size map].

[0077] In step S1006, the estimation unit 905 generates a (10Mx1) dimensional integrated vector by integrating the M vectors generated by the tracking unit 903 and the M vectors generated by the detection unit 904 in the same manner as the estimation unit 206. Then, the estimation unit 905 inputs the integrated vector to a lost determination criterion estimator and performs calculation processing of the lost determination criterion estimator, thereby acquiring a motion estimation parameter σ and a likelihood threshold θ as parameters of the lost determination criterion.

[0078] In step S1007, the determination unit 906 generates a lost determination criterion using the motion estimation parameter σ and the likelihood threshold θ, in the same manner as the determination unit 207, and determines whether or not the target is in a lost state in the search image using the generated lost determination criterion. In step S1008, the determination unit 907 outputs a tracking result of the tracking target according to the result of the lost determination in step S1007, in the same manner as the determination unit 208.

[0079] In step S1009, the calculation unit 908 calculates a loss value for the tracking result of the tracking target output in step S1008. For example, the calculation unit 908 calculates a loss value Loss for the overlap between a BB (referred to as a first BB) defined by the elements "x coordinate and y coordinate, width and height" of the target vector and a BB (referred to as a second BB) of the tracking target defined by the GT of the search image.

[0080] The calculation unit 908 calculates the overlap between the first BB and the second BB as the IOU of the two BBs as shown in the following formula (5). Here, IOU is an index representing the overlap between the two BBs. Also, BBinf represents the first BB, and BBgt represents the second BB.

[0081]

number

[0082] Next, the calculation unit 908 calculates a loss value Loss by performing a calculation according to Equation (6) using the IOU calculated by Equation (5). The loss value Loss is a loss value that increases as the overlap between the two BBs decreases.

[0083]

number

[0084] Here, N represents the number of pairs of BBinf and BBgt. When the overlap between BBinf and BBgt is small, the IOU value calculated by formula (5) becomes small, and the loss value Loss calculated by formula (6) becomes large. By proceeding with learning so as to reduce the loss value, the overlap between BBinf and BBgt becomes large, and the estimated BB approaches GT. Here, the loss value is described in the form of IOU loss (Non-Patent Document 4), but the loss value is not limited to this, and may be generalized IOU loss (Non-Patent Document 5), etc. In other words, the calculation formula for the loss value is not limited.

[0085] In step S1010, the update unit 909 performs learning processing of the neural network by the backpropagation method based on the loss value Loss calculated in step S1009, and updates the parameters of the neural network. This learning processing updates weight parameters of the fully connected layers of each neural network, such as the hierarchical neural network shown in Fig. 7 and the hierarchical neural network that performs the calculation shown in formula (2). In addition, weight parameters of the convolutional layers of the neural networks in the tracking unit 903 and the detection unit 904 may be fixed.

[0086] In step S1011, the update unit 909 stores the parameters of the neural network updated in step S1010 in the storage unit 104. After that, the estimation unit 905 reads the parameters of the hierarchical neural network as a lost judgment criterion estimator from the storage unit 104 and sets them in the hierarchical neural network. Also, the judgment unit 906 reads the parameters of the hierarchical neural network as a lost probability estimator from the storage unit 104 and sets them in the hierarchical neural network. In this way, the functional unit that uses the neural network reads the parameters corresponding to the neural network from the storage unit 104 and sets them in the neural network. The flow up to this point is one iteration of learning.

[0087] In step S1012, the update unit 909 determines whether a learning end condition is satisfied. The learning end condition is not limited to a specific end condition. For example, the learning end condition may be that the number of learning times is equal to or greater than a threshold, that the learning error value (e.g., the loss value Loss in equation (6)) is equal to or less than a threshold, that the rate of change of the error is equal to or less than a threshold, that the time elapsed since the start of learning is equal to or greater than a specified time, etc.

[0088] If the result of this determination is that the learning end condition is satisfied, the process according to the flowchart in Fig. 10 ends. On the other hand, if the learning end condition is not satisfied, the process proceeds to step S1001.

[0089] In this manner, according to the present embodiment, the reliability standard of the tracker output, i.e., the lost determination standard, is estimated for each image, so that the lost determination is performed at an appropriate timing, improving the tracking performance of the combination of the tracker and the detector.

[0090] Factors that may cause a tracking target to be lost include the presence or absence of similar objects and the intensity of the tracking target's movement. By learning the relationship between these factors and the loss determination criteria, it is possible to adapt the loss criteria for each image.

[0091] By estimating the loss determination criteria using the output of the tracker and detector as inputs to determine whether or not there is a similar object, it is possible to robustly determine whether or not there is a similar object, even if there are large attitude changes in the tracked target or similar object used to estimate the loss determination criteria.

[0092] <Modification 1 of the First Embodiment> In the first embodiment, when the first frame in a video sequence is used as a reference image, the template image acquired for the first frame by the processes in steps S301 and S302 is used in the processes for the subsequent frames.

[0093] In contrast, in this modified example, when it is determined that the image is lost, the template image is updated to a new template image (the template image to be used next by the tracker is updated to the new template image).

[0094] If the result of the lost determination in step S307 indicates that the image is in a lost state, the setting unit 202 acquires a resized image obtained by resizing the image in the corresponding area in the search image that corresponds to the surrounding area set in step S302 to a specified size as a template image.

[0095] When a tracker continues tracking using the same template image, once a tracking target becomes lost due to a change in its posture, etc., there is a high possibility that the lost state will continue at a later time. In this modified example, by updating the template image when the target becomes lost, it is possible to make it easier for the tracker to recover from a lost state to a non-lost state.

[0096] [Second embodiment] In the following embodiments including this embodiment, the difference from the first embodiment will be described, and unless otherwise specified, it is assumed that the embodiment is the same as the first embodiment. In this embodiment, a method for estimating a lost determination criterion in a tracking task that combines a detector and a tracker similar to those in the first embodiment will be described. The difference from the first embodiment is that the image features of the tracking target are included as input to the lost determination criterion estimator.

[0097] The tracker used in the tracker 204 employs a method of performing template matching between image features of a template image and a search image. In the following, as in the first embodiment, the Siam method of Non-Patent Document 1 will be assumed for explanation, but the present invention is not limited to this.

[0098] In this embodiment, as in the first embodiment, the process performed by the image processing device to infer a tracking target in an image is the process according to the flowchart in Fig. 3, but the process in step S304 is different from that in the first embodiment. Therefore, the process in step S304 according to this embodiment will be described below.

[0099] In step S304, the tracking unit 204 uses a tracker in the same manner as in the first embodiment to obtain a (5M+1) vector whose elements are [the selection likelihood, the x and y coordinates of the position where the selection likelihood is registered in the likelihood map, and the width and height registered at that position in the size map].

[0100] Then, the tracker 204 acquires a feature vector corresponding to the central pixel in the template feature. Here, if the size of the template feature is WT(width)×HT(height)×C(number of channels) (C is a positive constant), the size of the feature vector is 1×1×C. FIG. 13(a) shows an example of a template feature 1401 having a size of WT(width)×HT(height)×C(number of channels), and as described above, the size of the feature vector 1402 corresponding to the central pixel in the template feature 1401 is 1×1×C. WT, HT, and C are values ​​determined by the structure of the neural network used by the tracker.

[0101] The tracking unit 204 then transforms the feature vector having a size of 1x1xC into a feature vector having a size of Cx1. The tracking unit 204 then combines the transformed feature vector with a (5Mx1) vector to obtain a vector having a size of (5M+C)x1 as the output of the tracking unit 204 in step S304. This vector having a size of (5M+C)x1 is used as an input to the estimation unit 206 in step S306.

[0102] In this embodiment, the image processing device also performs processing according to the flowchart in Fig. 10 to learn the parameters of the neural network used during inference. However, step S1004 is different from the first embodiment in that the same processing as step S304 in this embodiment is performed.

[0103] In this manner, according to this embodiment, by using information on the appearance of the tracking target to predict the amount of movement when estimating the lost determination criterion, it is possible to capture the intensity of the movement of each tracking target.

[0104] <Modification 1 of the second embodiment> In this modification, the image features of the tracking target candidate detected by the tracking unit and the detection unit are included as inputs to the lost determination criterion estimator. This enables prediction of the amount of movement of the tracking target according to its appearance, and enables lost determination according to the degree of similarity in appearance.

[0105] In this modification, in step S304, the tracking unit 204 acquires a (5Mx1) vector as in the first embodiment, and further combines feature vectors of M regions likely to be the tracking target with the vector. The feature vector is a feature vector of pixels in a region likely to be the tracking target (a region defined by the position and size included in the (5Mx1) vector) in the image features of the search range image.

[0106] The size (width, height, number of channels) of the image feature of the search range image is assumed to be the same as the size of the likelihood map, and when WCxHCxC (C is a positive constant), the size of the feature vector is 1x1xC. FIG. 13(b) shows an example of an image feature 1403 of the search range image having a size of WC (width) x HC (height) x C (number of channels) when the likelihood map is the likelihood map 505 of FIG. 5(b) and the pixels of the likelihood peak are pixels 506 and 507. The size of each of the feature vector 1404 corresponding to pixel 506 in the region likely to be a tracking target in the image feature 1403 and the feature vector 1405 corresponding to pixel 507 in the region likely to be a tracking target in the image feature 1403 is 1x1xC. Note that WC, HC, and C are values ​​determined by the structure of the neural network used by the tracker.

[0107] The tracking unit 204 then transforms the feature vector having a size of 1x1xC into a feature vector having a size of Cx1. The tracking unit 204 then combines the transformed feature vector with a (5Mx1) vector to obtain a vector having a size of (5M+C)x1 as the output of the tracking unit 204 in step S304. This vector having a size of (5M+5C)x1 is used as an input to the estimation unit 206 in step S306.

[0108] In this modification, the image processing device also performs processing according to the flowchart in Fig. 10 to learn the parameters and weighting coefficient vectors of the neural network used during inference. However, step S1004 differs from the first embodiment in that the same processing as step S304 in this modification is performed.

[0109] In this way, according to this modification, when estimating the lost determination criterion, the image features of the tracking target candidate detected by the tracking unit and the detection unit are included. This makes it possible to perform lost determination according to the degree of similarity in appearance, such as making it easier to determine lost if the tracking target that changes with time and the similar object look very similar.

[0110] [Third embodiment] In this embodiment, a method for estimating a lost determination criterion in a tracking task that combines a detector and a tracker similar to those in the first embodiment will be described. The difference from the first embodiment is that in the tracking unit, the output of the tracker such as the Siam method is further processed using a time series model such as LSTM, and information to be input to the lost determination criterion estimator is estimated based on information of the past time of the tracking unit.

[0111] In this embodiment, as in the first embodiment, the process performed by the image processing device to infer a tracking target in an image is the process according to the flowchart in Fig. 3, but the process in step S304 is different from that in the first embodiment. Therefore, the process in step S304 according to this embodiment will be described below.

[0112] In this embodiment, in step S304, the tracking unit 204 acquires a (5Mx1) vector as in the first embodiment, and further inputs the vector to a time series model such as LSTM, and the vector obtained is output from the tracking unit 204. Here, a case where the LSTM of Non-Patent Document 6 is used will be described.

[0113] In this embodiment, the image processing device also performs processing according to the flowchart in Fig. 10 to learn the parameters of the neural network used during inference. However, step S1004 is different from the first embodiment in that the same processing as step S304 in this embodiment is performed.

[0114] From here, the learning method of LSTM will be explained in detail. The acquisition unit 902 acquires a time-continuous video sequence in which one subject appears as learning data. Here, it is assumed that the video sequence includes K (K is an integer equal to or greater than 2) images (K frames). Then, a loss value is calculated for the images at each time in the same manner as in the first embodiment, and the sum of the calculated loss values ​​is calculated as the "loss value for one video sequence."

[0115] The update unit 909 updates the parameters based on the loss value for one video sequence. The parameters to be updated are the parameters of the LSTM, the weights of the fully connected layers of the hierarchical neural network as the loss criterion estimator shown in Fig. 7, and the hierarchical neural network as the loss probability estimator that performs the calculation shown in Equation (2).

[0116] The updating method may be Back Propagation Through Time (BPTT), etc. In BPTT, a series of sequence data is input to LSTM, and outputs are obtained in sequence. Then, an error is calculated for the output at each time point, and the error is propagated back through the sequence to update the parameters. In this way, parameters that take into account the dependency of data within the sequence are learned. Alternatively, a method called truncated BPTT may be used, but is not limited to this. In addition, parameters of the tracker in the tracking unit 903 and the convolution layer included in the neural network that constitutes the detector in the detection unit 904 may be fixed.

[0117] Thereafter, the update unit 909 stores the updated neural network parameters in the storage unit 104. Thereafter, the estimation unit 905 reads the parameters of the hierarchical neural network as a lost judgment criterion estimator from the storage unit 104 and sets them in the hierarchical neural network. Also, the determination unit 906 reads the parameters of the hierarchical neural network as a lost probability estimator from the storage unit 104 and sets them in the hierarchical neural network. In this way, the functional unit that uses the neural network reads the parameters corresponding to the neural network from the storage unit 104 and sets them in the neural network. The flow up to this point is one iteration of learning.

[0118] In this way, according to the present embodiment, the time series change of the feature amount used to estimate the lost determination criterion is predicted using the tracking result of the past frame, so that the intensity of the movement of the tracked target can be captured for each tracked target and for each frame. Also, the movement information specific to the tracked target and the way in which the likelihood changes can be reflected in the lost determination criterion.

[0119] In addition, the numerical values, processing timing, processing order, processing subject, data (information) acquisition method / destination / source / storage location, etc. used in each of the above embodiments are given as examples to provide a concrete explanation, and are not intended to be limited to such examples.

[0120] In addition, a part or all of the embodiments described above may be used in appropriate combination. In addition, a part or all of the embodiments described above may be used selectively.

[0121] (Other embodiments) The present invention can also be realized by a process in which a program for implementing one or more of the functions of the above-described embodiments is supplied to a system or device via a network or a storage medium, and one or more processors in a computer of the system or device read and execute the program. The present invention can also be realized by a circuit (e.g., ASIC) that implements one or more of the functions.

[0122] The invention of this specification includes the following image processing device, image processing method, and computer program. (Item 1) A first acquisition means for acquiring first information including a likelihood of a tracking target among a plurality of first candidates of the tracking target in a target image by using a tracking technique for tracking an object in an image; A second acquisition means for acquiring second information including a likelihood of the tracking target among a plurality of second candidates of the tracking target in the target image by using a detection technique for detecting an object in an image; A generation means for generating a determination criterion for determining whether or not the tracking target is in a lost state, which is a state in which the tracking target cannot be identified, based on the first information and the second information; a determination means for determining whether or not the target image is in a lost state using the determination criterion; An image processing device comprising: (Item 2) 2. The image processing device according to item 1, wherein the first acquisition means acquires the first information based on a template image of a tracking target and an estimated area of ​​the tracking target in the target image. (Item 3) moreover, 3. The image processing device according to item 2, further comprising a means for updating the template image based on the target image when the determining means determines that the target image is in a lost state. (Item 4) 3. The image processing device according to item 2, wherein the first information further includes image features of the template image. (Item 5) 2. The image processing device according to item 1, wherein the first information further includes image features of a plurality of first candidates for the region of the tracking target in the target image. (Item 6) 2. The image processing device according to item 1, wherein the first acquisition means acquires, as the first information, information obtained by inputting the first information into a time series model. (Item 7) The image processing device described in any one of items 1 to 6, characterized in that the second acquisition means acquires second information including a likelihood of the tracking target among a plurality of second candidates for the tracking target in the target image based on the target image. (Item 8) The image processing device described in any one of items 1 to 7, characterized in that the generation means identifies a penalty corresponding to each of the multiple first candidates based on information obtained by integrating the first information and the second information and a map of penalties with respect to the amount of movement of the tracking target, calculates a product of the penalty corresponding to each of the multiple first candidates and the likelihood of the tracking target in the first candidate for each of the multiple first candidates, and generates the judgment criterion based on the likelihood of the tracking target in the first candidate for which the value of the product is maximum. (Item 9) A first acquisition means for acquiring first information including a likelihood of a tracking target among a plurality of first candidates of the tracking target in a target image by using a tracking technique for tracking an object in an image; A second acquisition means for acquiring second information including a likelihood of the tracking target among a plurality of second candidates of the tracking target in the target image by using a detection technique for detecting an object in an image; A generation means for generating a determination criterion for determining whether or not the tracking target is in a lost state, which is a state in which the tracking target cannot be identified, based on the first information and the second information; a determination means for determining whether or not the target image is in a lost state using the determination criterion; a learning means for outputting a tracking result according to a result of the judgment by the judgment means as a tracking result of the tracking target in the target image, and for learning a tracker for acquiring the first information, a detector for acquiring the second information, an estimator for generating the judgment criterion, and an estimator for making the judgment, based on the tracking result and ground truth data of the area of ​​the tracking target in the target image; An image processing device comprising: (Item 10) An image processing method performed by an image processing device, comprising: A first acquisition step in which a first acquisition means of the image processing device acquires first information including a likelihood of a tracking target among a plurality of first candidates of the tracking target in the target image by using a tracking technique for tracking an object in the image; A second acquisition step in which a second acquisition means of the image processing device acquires second information including a likelihood of the tracking target among a plurality of second candidates of the tracking target in the target image by using a detection technique for detecting an object in an image; A generation step in which a generation means of the image processing device generates a determination criterion for determining whether or not the tracking target is in a lost state, which is a state in which the tracking target cannot be identified, based on the first information and the second information; a determination step in which a determination means of the image processing device determines whether or not the target image is in a lost state by using the determination criterion; An image processing method comprising: (Item 11) An image processing method performed by an image processing device, comprising: A first acquisition step in which a first acquisition means of the image processing device acquires first information including a likelihood of a tracking target among a plurality of first candidates of the tracking target in the target image by using a tracking technique for tracking an object in the image; A second acquisition step in which a second acquisition means of the image processing device acquires second information including a likelihood of the tracking target among a plurality of second candidates of the tracking target in the target image by using a detection technique for detecting an object in an image; A generation step in which a generation means of the image processing device generates a determination criterion for determining whether or not the tracking target is in a lost state, which is a state in which the tracking target cannot be identified, based on the first information and the second information; a determination step in which a determination means of the image processing device determines whether or not the target image is in a lost state by using the determination criterion; a learning step in which a learning means of the image processing device outputs a tracking result corresponding to the result of the judgment in the judgment step as a tracking result of the tracking target in the target image, and learns a tracker for acquiring the first information, a detector for acquiring the second information, an estimator for generating the judgment criterion, and an estimator for making the judgment based on the tracking result and ground truth data of the area of ​​the tracking target in the target image; An image processing method comprising: (Item 12) A computer program for causing a computer to function as each of the means of the image processing device according to any one of items 1 to 9.

[0123] The invention is not limited to the above-described embodiments, and various modifications and variations are possible without departing from the spirit and scope of the invention. Accordingly, the following claims are appended to apprise the public of the scope of the invention. [Explanation of symbols]

[0124] 201: Acquisition unit 202: Setting unit 203: Acquisition unit 204: Tracking unit 205: Detection unit 206: Estimation unit 207: Determination unit 208: Decision unit

Claims

1. A first acquisition means for acquiring first information including a likelihood of a tracking target among a plurality of first candidates of the tracking target in a target image by using a tracking technique for tracking an object in an image; A second acquisition means for acquiring second information including a likelihood of the tracking target among a plurality of second candidates of the tracking target in the target image by using a detection technique for detecting an object in an image; A generation means for generating a determination criterion for determining whether or not the tracking target is in a lost state, which is a state in which the tracking target cannot be identified, based on the first information and the second information; a determination means for determining whether or not the target image is in a lost state using the determination criterion; An image processing device comprising:

2. The image processing device according to claim 1 , wherein the first acquisition means acquires the first information based on a template image of the tracking target and a region of the tracking target estimated in the target image.

3. moreover, 3. The image processing apparatus according to claim 2, further comprising: a means for updating the template image based on the target image when the determining means determines that the image is in a lost state.

4. The image processing apparatus according to claim 2 , wherein the first information further includes image features of the template image.

5. The image processing device according to claim 1 , wherein the first information further includes image features of a plurality of first candidates for the region of the tracking target in the target image.

6. 2 . The image processing apparatus according to claim 1 , wherein the first acquisition means acquires, as the first information, information obtained by inputting the first information into a time series model.

7. The image processing device according to claim 1 , wherein the second acquisition means acquires, based on the target image, second information including a likelihood of the tracking target among a plurality of second candidates for the tracking target in the target image.

8. The image processing device described in claim 1, characterized in that the generation means identifies a penalty corresponding to each of the multiple first candidates based on information obtained by integrating the first information and the second information and a map of penalties with respect to the amount of movement of the tracking target, calculates a product of the penalty corresponding to each of the multiple first candidates and the likelihood of the tracking target in the first candidate for which the value of the product is maximum, and generates the judgment criterion based on the likelihood of the tracking target in the first candidate for which the product value is maximum.

9. A first acquisition means for acquiring first information including a likelihood of a tracking target among a plurality of first candidates of the tracking target in a target image using a tracking technique for tracking an object in an image; A second acquisition means for acquiring second information including a likelihood of the tracking target among a plurality of second candidates of the tracking target in the target image by using a detection technique for detecting an object in an image; A generation means for generating a determination criterion for determining whether or not the tracking target is in a lost state, which is a state in which the tracking target cannot be identified, based on the first information and the second information; a determination means for determining whether or not the target image is in a lost state using the determination criterion; a learning means for outputting a tracking result according to a result of the judgment by the judgment means as a tracking result of the tracking target in the target image, and for learning a tracker for acquiring the first information, a detector for acquiring the second information, an estimator for generating the judgment criterion, and an estimator for making the judgment, based on the tracking result and ground truth data of the area of ​​the tracking target in the target image; An image processing device comprising:

10. An image processing method performed by an image processing device, comprising: a first acquisition step in which a first acquisition means of the image processing device acquires first information including a likelihood of a tracking target among a plurality of first candidates of the tracking target in the target image by using a tracking technique for tracking an object in the image; a second acquisition step in which a second acquisition means of the image processing device acquires second information including a likelihood of the tracking target among a plurality of second candidates of the tracking target in the target image by using a detection technique for detecting an object in an image; A generation step in which a generation means of the image processing device generates a determination criterion for determining whether or not the tracking target is in a lost state in which the tracking target cannot be identified, based on the first information and the second information; a determination step in which a determination means of the image processing device determines whether or not the target image is in a lost state by using the determination criterion; An image processing method comprising:

11. An image processing method performed by an image processing device, comprising: a first acquisition step in which a first acquisition means of the image processing device acquires first information including a likelihood of a tracking target among a plurality of first candidates of the tracking target in the target image by using a tracking technique for tracking an object in the image; a second acquisition step in which a second acquisition means of the image processing device acquires second information including a likelihood of the tracking target among a plurality of second candidates of the tracking target in the target image by using a detection technique for detecting an object in an image; A generation step in which a generation means of the image processing device generates a determination criterion for determining whether or not the tracking target is in a lost state in which the tracking target cannot be identified, based on the first information and the second information; a determination step in which a determination means of the image processing device determines whether or not the target image is in a lost state by using the determination criterion; a learning step in which a learning means of the image processing device outputs a tracking result corresponding to the result of the judgment in the judgment step as a tracking result of the tracking target in the target image, and learns a tracker for acquiring the first information, a detector for acquiring the second information, an estimator for generating the judgment criterion, and an estimator for making the judgment based on the tracking result and ground truth data of the area of ​​the tracking target in the target image; An image processing method comprising:

12. A computer program for causing a computer to function as each of the means of the image processing apparatus according to any one of claims 1 to 9.

Citation Information

Patent Citations

  • Object tracking device and object tracking method

    JP2020149641A