Detection apparatus, detection method, and detection program

The detection device uses machine learning to calculate afterimage trajectory and object rectangle information, addressing afterimage issues in dark environments for stable object detection.

JP2024114369AActive Publication Date: 2024-08-23NEC PLATFROMS LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
JP2023020095
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-02-13
Publication Date
2024-08-23
Estimated Expiration
2043-02-13

AI Technical Summary

Technical Problem

Conventional object detection methods in dark environments, such as at night, suffer from afterimage issues when signal accumulation periods are lengthened, leading to object detection failures due to overlapping frames and difficulty in extracting feature amounts.

Method used

A detection device and method that utilizes machine learning to calculate afterimage trajectory and object rectangle information from image information with afterimages, enabling stable object detection by estimating the object's position based on these learned models.

Benefits of technology

Enables stable object detection in dark environments by accurately estimating object positions despite afterimages, improving detection accuracy and reliability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024114369000001_ABST
    Figure 2024114369000001_ABST
Patent Text Reader

Abstract

To provide a detection device capable of stably detecting an object even in a dark environment such as at night.SOLUTION: A detection device (10) includes an estimation unit (12) that calculates afterimage trajectory rectangular information and object rectangle information from image information with afterimage using a first learned model, and estimates a position of an object in the image information with afterimage on the basis of the calculated afterimage trajectory rectangular information and object rectangle information, and a detection unit (13) that detects an object on the basis of a result of estimation by the estimation unit (12).SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a technique for detecting an object. [Background technology]

[0002] When detecting an object at night using a camera, the object must be captured in a dark environment, and so the brightness of the image signal output from the camera is adjusted to clearly capture the object.

[0003] Specifically, the method of adjusting the brightness includes increasing the gain value or lengthening the signal accumulation period, which is the period during which image information such as a plurality of frames is accumulated. Increasing the gain value increases the brightness of the image signal, but has the drawback of increasing noise and reducing visibility. On the other hand, when the signal accumulation period is long, the brightness of the image signal can be increased while the noise is set to a value below the threshold value, and compared to the case of increasing the gain value, objects can be clearly displayed in a dark environment, making it possible to detect them by image processing.

[0004] As a technique for storing a plurality of frame images, Patent Document 1 discloses a technique for switching a tracking mode for tracking a designated tracking target to a non-tracking mode when the accumulation magnification indicated by accumulation magnification information of the accumulation mode in an imaging device (camera) is equal to or greater than a predetermined threshold magnification. That is, Patent Document 1 discloses a technique for predicting that object detection will fail and stopping object detection in advance when the signal accumulation period reaches a predetermined length or longer. [Prior art documents] [Patent documents]

[0005] [Patent Document 1] JP 2007-68008 A Summary of the Invention [Problem to be solved by the invention]

[0006] However, conventional technologies such as the technology described in Patent Document 1, which are premised on extending the signal accumulation period to increase brightness, have the problem that if the signal accumulation period is too long, when the object to be detected moves, an afterimage is generated along the object's movement trajectory, making it impossible to detect the object.

[0007] The above-mentioned problem will be described in more detail below with reference to Fig. 9. Fig. 9 shows an image diagram of the afterimage phenomenon that occurs when an image of a moving subject is captured with a long signal accumulation period. The left side of Fig. 9 is an image diagram showing video information in a normal mode in which the signal accumulation period is for one frame, and the right side is an image diagram showing video information in an accumulation mode in which an image signal is accumulated with a signal accumulation period for four frames.

[0008] As shown in FIG. 9, when the signal accumulation period is one frame, the image information is updated every frame. On the other hand, when the signal accumulation period is four frames, the image information is updated every four frames. In this case, the fourth frame is output with the images of the first to third frames overlapping each other, resulting in an image with an afterimage. When such an afterimage occurs, it becomes difficult to extract features by image processing, resulting in a problem that object detection fails.

[0009] An object of one embodiment of the present invention is to provide a detection device and a related technique that can stably detect an object even in a dark environment such as at night. [Means for solving the problem]

[0010] A detection device according to one embodiment of the present invention includes an estimation means for calculating afterimage trajectory rectangle information and object rectangle information from image information with afterimage using a first trained model that outputs afterimage trajectory rectangle information and object rectangle information when image information with afterimage is input, the first trained model being machine-learned using teacher data in which learning image information with afterimage, which includes an object and an afterimage of the object, is associated with learning afterimage trajectory rectangle information including the trajectory of the object's afterimage and learning object rectangle information including the object, and for estimating a position of the object in the image information with afterimage based on the calculated afterimage trajectory rectangle information and object rectangle information; and a detection means for detecting the object based on the estimation result by the estimation means.

[0011] A detection method according to one embodiment of the present invention includes at least one processor using a first trained model that outputs afterimage trajectory rectangle information and object rectangle information when image information with an afterimage is input, the first trained model being machine-trained using teacher data in which learning image information with an afterimage, the image information including an object and an afterimage of the object, is associated with learning afterimage trajectory rectangle information including the trajectory of the afterimage of the object and learning object rectangle information including the object, calculating the afterimage trajectory rectangle information and the object rectangle information from the image information with an afterimage, estimating a position of the object in the image information with an afterimage based on the calculated afterimage trajectory rectangle information and object rectangle information, and detecting the object based on the estimation result.

[0012] A detection program according to one embodiment of the present invention causes a computer to function as an estimation means for calculating afterimage trajectory rectangle information and object rectangle information from image information with afterimage using a first trained model that outputs afterimage trajectory rectangle information and object rectangle information when image information with afterimage is input, the first trained model being machine-learned using teacher data in which learning image information with afterimage, which includes an object and an afterimage of the object, is associated with learning afterimage trajectory rectangle information including the trajectory of the object's afterimage and learning object rectangle information including the object, and for estimating a position of the object in the image information with afterimage based on the calculated afterimage trajectory rectangle information and object rectangle information, and for detecting the object based on the estimation result by the estimation means. Effect of the Invention

[0013] According to one aspect of the present invention, it is possible to provide a detection device and related techniques that are capable of stably detecting an object even in a dark environment such as at night. [Brief description of the drawings]

[0014] [Figure 1] FIG. 1 is a block diagram showing a configuration of a detection device according to a first exemplary embodiment. [Diagram 2] 1 is a flow chart showing the flow of a detection method according to the first exemplary embodiment. [Diagram 3] FIG. 13 is a conceptual diagram of image information and rectangle information. [Figure 4] FIG. 11 is a block diagram showing a configuration of a detection device according to a second exemplary embodiment. [Diagram 5] 11 is a flow chart showing the flow of a detection method according to the second exemplary embodiment. [Figure 6] 10A and 10B are diagrams illustrating calculation and estimation of the moving speed of an object in the horizontal direction. [Figure 7] 11 is an explanatory diagram for calculating and estimating the moving speed of an object in the vertical direction; [Figure 8] FIG. 8 is an enlarged view of a portion of FIG. 7; [Figure 9] This is an illustration of the afterimage phenomenon. [Figure 10] FIG. 1 is a diagram illustrating an example of a computer that executes instructions of a program, which is software that realizes the functions of each device according to each exemplary embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0015] Example Embodiment 1 A first exemplary embodiment of the present invention will be described in detail with reference to the drawings. This embodiment is the basic form of the embodiments described later.

[0016] (Configuration of detection device 10) The configuration of a detection device 10 according to this embodiment will be described with reference to FIG. 1. FIG. 1 is a block diagram showing the configuration of the detection device 10. The detection device 10 detects an object. The object is not particularly limited as long as it is an object that can be captured as a moving subject and included in image information, and examples of the object include people and cars. Examples of the image information include video information including one or more frames. As shown in FIG. 1, the detection device 10 includes an estimation unit (estimation means) 12 and a detection unit (detection means) 13.

[0017] The estimation unit 12 uses the first trained model to calculate afterimage trajectory rectangle information including the trajectory of the object's afterimage and object rectangle information including the object from afterimage-containing image information including the object and the afterimage of the object. The estimation unit 12 also estimates the position of the object in the afterimage-containing image information based on the calculated afterimage trajectory rectangle information and object rectangle information. Here, the first trained model is machine-learned using teacher data in which learning afterimage-containing image information including the object and the afterimage of the object is associated with learning afterimage trajectory rectangle information including the trajectory of the object's afterimage and learning object rectangle information including the object. The first trained model also outputs afterimage trajectory rectangle information and object rectangle information when afterimage-containing image information is input. The detection unit 13 detects the object based on the estimation result by the estimation unit 12.

[0018] (Flow of detection method S1) The flow of the detection method S1 according to this exemplary embodiment will be described with reference to Fig. 2. Fig. 2 is a flow diagram showing the flow of the detection method S1. The detection method is a method for detecting an object. As shown in Fig. 2, the detection method S1 includes steps S11 and S12.

[0019] Hereinafter, detection method S1 will be described taking as an example a case where it is executed by each unit of detection device 10, but detection method S1 may be executed by at least one processor. The at least one processor may be provided in detection device 10, may be provided in another device, or may be provided in multiple devices.

[0020] (Step S11) In step S11, the estimation unit 12 uses the first trained model to calculate afterimage trajectory rectangular information including the trajectory of the afterimage of the object and object rectangle information including the object from afterimage-containing image information including the object and the afterimage of the object. The estimation unit 12 also estimates the position of the object in the afterimage-containing image information based on the calculated afterimage trajectory rectangular information and object rectangle information. For example, the estimation unit 12 inputs one or more pieces of afterimage-containing image information to the first trained model, and estimates the position of the object in the afterimage-containing image information based on the positions of the afterimage trajectory rectangular information and object rectangle information calculated using the first trained model. In this case, the estimation unit 12 may estimate that the position of the area where the afterimage trajectory rectangular information and the object rectangle information overlap is the position of the object.

[0021] The first trained model is not particularly limited as long as it can machine-learn the image information and rectangle information. Examples of the first trained model include a model that performs deep learning, a model using classification methods such as logistic regression, support vector machine, random forest, and neighborhood method, and a model using a Bayesian network. The afterimage trajectory rectangle information and the afterimage of an object in the afterimage trajectory rectangle information are usually located at the start or end point of the afterimage of the object in the object rectangle information, and occur when the signal accumulation period, which is the time for accumulating image signals of multiple frames, is equal to or greater than a threshold value. Therefore, it can be said that the afterimage trajectory rectangle information and the object rectangle information include an afterimage of an object that usually occurs when the signal accumulation period, which is the time for accumulating image signals of multiple frames, is equal to or greater than a threshold value.

[0022] The objects included in the learning afterimage trajectory rectangle information and the learning object rectangle information, which are teacher data for machine learning the first trained model, are not particularly limited, but since the height and width of each object are different, the rectangle information changes, so it is better to have a large number of object types. For example, even if the object is a car, the outer shape differs depending on the model, so the rectangle information also differs greatly. In this case, the learning afterimage trajectory information and the learning object rectangle information may include an image of each car as an object for each of a predetermined or more types of cars.

[0023] (An example of step S11) An example of step S11 will be described below with reference to Fig. 3. Fig. 3 shows an image diagram of image information and rectangle information.

[0024] First, as shown in the horizontal direction in FIG. 3, a case where an afterimage occurs due to the object M moving in the horizontal direction will be described. The "horizontal direction" means a horizontal direction when viewed from the direction facing FIG. 3, and a direction horizontal to the optical axis of the lens of the camera that acquires the afterimage-containing image information I1. In the example shown in FIG. 3, the object rectangle information i1b to i3b are the end points of the trajectory of the afterimage of the object M, and the object M is an automobile. Here, a case will be described where the afterimage-containing image information I1 is the afterimage-containing image information input to the first trained model, and the afterimage trajectory rectangle information i1a and the object rectangle information i1b including the object M are the afterimage trajectory rectangle information and the object rectangle information output from the first trained model. In this case, the estimation unit 12 inputs the afterimage-containing image information I1 to the first trained model. The estimation unit 12 calculates the afterimage trajectory rectangle information i1a and the object rectangle information i1b from the afterimage-containing image information I1 using the first trained model. Furthermore, based on at least one of the coordinates and sizes of the calculated afterimage locus rectangular information i1a and object rectangle information i1b, the estimation unit 12 estimates that the position corresponding to the area where these pieces of information overlap is the position of the object M in the afterimage-containing image information I1. The coordinates of the afterimage locus rectangular information i1a and object rectangle information i1b refer to, for example, the coordinates of the dotted line position corresponding to the outer frame of these pieces of information shown in FIG.

[0025] Next, as shown in the vertical direction in FIG. 3, a case where an afterimage occurs due to the object M moving in the vertical direction will be described. The "vertical direction" means a vertical direction when viewed from the direction facing FIG. 3, and a direction perpendicular to the optical axis of the lens of the camera that acquires the afterimage-containing image information I2. Here, a case will be described in which the afterimage-containing image information I2 is the afterimage-containing image information input to the first trained model, and the afterimage trajectory rectangle information i2a and the object rectangle information i2b including the object M are the afterimage trajectory rectangle information and the object rectangle information output from the first trained model. In this case, the estimation unit 12 inputs the afterimage-containing image information I2 to the first trained model. The estimation unit 12 uses the first trained model to calculate the afterimage trajectory rectangle information i2a and the object rectangle information i2b from the afterimage-containing image information I2. In addition, based on at least one of the coordinates and size of the calculated afterimage trajectory rectangle information i2a and object rectangle information i2b, the estimation unit 12 estimates that the position corresponding to the area where these pieces of information overlap is the position of the object M in the afterimage-containing image information I2.

[0026] Next, as shown in the oblique direction in FIG. 3, a case where an afterimage occurs due to the object M moving in an oblique direction will be described. The "oblique direction" means a direction that is oblique when viewed from the direction facing FIG. 3 and perpendicular to the optical axis of the lens of the camera that acquires the afterimage-containing image information I3. Here, it is assumed that the afterimage-containing image information I3 is the afterimage-containing image information input to the first trained model, and the afterimage trajectory rectangle information i3a is the afterimage-containing image information input to the first trained model. It is also assumed that the afterimage trajectory rectangle information i3a and the object rectangle information i3b including the object M are the afterimage trajectory information and the object rectangle information output from the first trained model. In this case, the estimation unit 12 inputs the afterimage-containing image information I3 to the first trained model. Then, the estimation unit 12 uses the first trained model to calculate the afterimage trajectory rectangle information i3a and the object rectangle information i3b from the afterimage-containing image information I3. In addition, based on at least one of the coordinates and size of the calculated afterimage trajectory rectangle information i3a and object rectangle information i3b, the estimation unit 12 estimates that the position corresponding to the area where these pieces of information overlap is the position of the object M in the afterimage-containing image information I3.

[0027] (Step S12) In step S12 , the detection unit 13 detects an object based on the estimation result by the estimation unit 12 .

[0028] (An example of step S12) An example of step S12 will be described below with reference to FIG.

[0029] First, a case will be described in which an afterimage occurs due to the horizontal movement of object M, as shown in the horizontal view of Fig. 3. The detection unit 13 detects object M from an estimated position of object M that corresponds to an area where afterimage trajectory rectangle information i1a and object rectangle information i1b overlap.

[0030] Next, a case will be described in which an afterimage occurs due to the object M moving in the vertical direction as shown in the vertical direction in Fig. 3. The detection unit 13 detects the object M from the estimated position of the object M that corresponds to the area where the afterimage trajectory rectangle information i2a and the object rectangle information i2b overlap.

[0031] Next, a case will be described in which an afterimage occurs due to an object M moving in a diagonal direction as shown in the diagonal view of Fig. 3. The detection unit 13 detects the object M from an estimated position of the object M that corresponds to an area where the afterimage trajectory rectangle information i3a and the object rectangle information i3b overlap.

[0032] (Detection program) When the detection device 10 is configured by a computer, the functions of the detection device 10 can also be realized by the following detection program stored in a memory referenced by the computer. The detection program causes the computer to function as an estimation unit 12 and a detection unit 13.

[0033] (Effects of the First Exemplary Embodiment) In this exemplary embodiment, the estimation unit 12 estimates the position of an object based on the afterimage trajectory rectangle information and object rectangle information calculated using the first learned model, and the detection unit 13 detects the object based on the estimation result by the estimation unit 12.

[0034] According to this configuration, even if the signal accumulation time is long in a dark environment such as at night and an afterimage occurs in the image information, the estimation unit 12 can estimate the position of an object in the image information with an afterimage based on the afterimage trajectory rectangle information and the object rectangle information calculated using the first trained model. Also, the detection unit 13 can detect an object based on the object position estimated by the estimation unit 12. Therefore, according to this exemplary embodiment, it is possible to provide a detection device 10 and related techniques capable of stably detecting an object even in a dark environment such as at night.

[0035] In addition, this configuration does not use an infrared cut filter depending on the darkness of the surroundings. Therefore, in this exemplary embodiment, in order to detect an object in a dark environment, the infrared cut filter is repeatedly inserted and removed, and switching occurs between black and white image information and color image information, making the image difficult to see. In addition, in this exemplary embodiment, it is difficult to adjust the brightness so that object detection is possible by simply switching the infrared cut filter, and there is no problem that object detection may become difficult when it becomes dark. From the above, according to this exemplary embodiment, it is possible to use color image information, and it is possible to obtain the effect of being able to detect an object even in a dark environment.

[0036] Exemplary embodiment 2 A second exemplary embodiment of the present invention will be described in detail with reference to the drawings. Components having the same functions as those described in the first exemplary embodiment are denoted by the same reference numerals, and the description thereof will be omitted as appropriate.

[0037] (Configuration of detection device 10X) The configuration of a detection device 10X according to this exemplary embodiment will be described with reference to Fig. 4. Fig. 4 is a block diagram showing the configuration of the detection device 10X. The detection device 10X detects an object. As shown in Fig. 4, the detection device 10X includes a camera (imaging means) 14, a control unit (control means) 15, a storage unit (storage means) 17, and a display unit (display means) 18.

[0038] (1) Camera 14 Configuration The camera 14 captures an image of a detection target object, which is a subject. An example of the camera 14 is a swivel camera that includes a lens unit and an imaging unit (imaging means).

[0039] (2) Configuration of control unit 15 The control unit 15 controls each unit of the detection device 10X, such as the camera 14, the memory unit 17, and the display unit 18. As shown in FIG. 4, the control unit 15 includes a learning unit (learning means) 11X, an estimation unit (estimation means) 12X, a detection unit (detection means) 13, and a calculation unit (calculation means) 16.

[0040] The learning unit 11X uses training data in which learning image information with afterimage including an object is associated with learning afterimage trajectory rectangle information and learning object rectangle information to machine-train a first trained model. The learning unit 11X also uses training data in which learning image information without afterimage including an object is associated with learning object rectangle information to machine-train a second trained model. The second trained model outputs object rectangle information when image information without afterimage is input from the camera 14.

[0041] In this way, when image information is input to the second trained model, the output rectangle information is different from the case where image information is input to the first trained model, and only one rectangle information called object rectangle information is output, and afterimage trajectory rectangle information is not output. The learning unit 11X may also function as an image information input unit that accepts input of image information and a rectangle information input unit that accepts input of rectangle information, and generate teacher data by associating the input learning image information and the rectangle information. In the above example, the single learning unit 11X trains two trained models, the first trained model and the second trained model, by machine learning, but the learning unit that trains the first trained model by machine learning and the learning unit that trains the second trained model by machine learning may be separate.

[0042] The estimation unit 12X further uses the second trained model to calculate object rectangle information from the afterimage-free image information, and estimates the position of the object in the afterimage-free image information based on the calculated object rectangle information. The control unit 15 determines whether to change the orientation of the camera 14 that captures the object based on whether the estimation unit 12X can estimate the position of the object using the second trained model, and controls the orientation of the camera 14. The calculation unit 16 calculates the moving speed of the object based on the afterimage trajectory rectangle information and the object rectangle information. The calculation unit 16 can be various types such as a CPU, a GPU, or digital parallel processing, but any type may be used as the calculation unit 16 as long as it can execute the above-mentioned calculation process, and is not particularly limited.

[0043] Each process performed by the control unit 15 can be executed by calculation using a CPU, a GPF, a digital sequential circuit, or the like, but the means of each process is not particularly limited as long as each process can be executed. In the above example, the control unit 15 controls the orientation of the camera 14, but may control the lens of the camera 14 to enlarge or reduce the size of an object by zooming, or to keep it constant. In the above example, the camera 14 exists outside the control unit 15, but may be incorporated in the control unit 15 and included inside the control unit 15. Also, in the above example, the learning unit 11X is included inside the control unit 15, but may exist outside the control unit 15.

[0044] (3) Configuration of the storage unit 17 The storage unit 17 stores various data such as information on the settings of the camera 14, such as the orientation of the camera 14, noise, and a signal accumulation period, a first trained model, and a second trained model. The trained models stored in the storage unit 17 may be two or more of these, and the storage unit 17 may store further trained models in addition to these trained models. That is, the detection device 10X may detect an object using the further trained model.

[0045] (4) Configuration of display unit 18 The display unit 18 displays the above-mentioned various types of image information as image information for monitoring.

[0046] (Detection method S1X flow) The flow of detection method S1X according to this exemplary embodiment will be described with reference to FIG. 5. FIG. 5 is a flow diagram showing the flow of detection method S1X. As shown in FIG. 5, detection method S1X includes steps S101 to S115. In the example shown in FIG. 5, a case will be described in which detection method S1X is executed for each frame. Steps S107 and S110 are similar to step S13 in exemplary embodiment 1.

[0047] The following description focuses on the case where the detection method S1X is executed by each unit of the detection device 10X. However, the detection method S1X may be executed by at least one processor. The at least one processor may be provided in the detection device 10X, in another device, or in multiple devices.

[0048] (Step S101) In step S101, the learning unit 11X uses training data in which the learning image with afterimage is associated with learning afterimage trajectory rectangle information and learning object rectangle information to perform machine learning of a first trained model. After the learning phase is completed, the learning unit 11X may store the first trained model in the storage unit 17.

[0049] (Step S102) In step S102, the learning unit 11X uses training data in which the learning image without afterimage and the learning object rectangle information are associated with each other to machine-train the second trained model. After the learning phase is completed, the learning unit 11X may store the second trained model in the storage unit 17.

[0050] (Step S103) In step S103, the camera 14 captures an image of an object, and inputs image information including the object to the control unit 15. In this case, the control unit 15 also functions as an image information input unit.

[0051] (Step S104) In step S104, the estimation unit 12X estimates the position of the object by using the second trained model in addition to the first trained model. For example, the estimation unit 12X first inputs one or more pieces of image information without afterimages to the second trained model, and estimates the position of the object in the image information without afterimages based on the object rectangle information calculated by outputting the object rectangle information from the second trained model. In this case, the estimation unit 12X may estimate that the position of the area represented by the object rectangle information is the position of the object in the image information without afterimages based on at least one of the coordinates and size of the object rectangle information. Next, the estimation unit 12X inputs one or more pieces of image information with afterimages to the first trained model, and estimates the position of the object based on the afterimage trajectory rectangle information and object rectangle information calculated by outputting the object rectangle information from the first trained model. In this case, the estimation unit 12X may estimate that the position corresponding to the area where the afterimage trajectory rectangle information and the object rectangle information overlap is the position of the object in the image information without afterimages based on at least one of the coordinates and size of the afterimage trajectory rectangle information and the object rectangle information.

[0052] (Step S105) In step S105, the estimation unit 12X determines whether or not the object position can be estimated. If the estimation unit 12X determines that the object position can be estimated (Y in step S105), the process proceeds to step S106. If the estimation unit 12X determines that the object position cannot be estimated (N in step S105), the process proceeds to step S114.

[0053] For example, the estimation unit 12X first uses the second trained model to match an object shown in one or more pieces of image information without afterimages input to the second trained model, such as an input frame, and determines whether or not the position of the object can be estimated based on the object rectangle information. The estimation unit 12X stores the determination result including the object rectangle information in the storage unit 17. Next, the estimation unit 12X uses the first trained model to match an object shown in one or more pieces of image information with afterimages input to the first trained model, such as an input frame, and determines whether or not the position of the object can be estimated based on the afterimage trajectory rectangle information and the object rectangle information. The estimation unit 12X stores the determination result including the afterimage trajectory rectangle information and the object rectangle information in the storage unit 17.

[0054] If the estimation unit 12X can estimate the position of the object using either the second trained model or the first trained model, i.e., if the detection unit 13 can detect the object (Y in step S105), proceed to step S106. If the estimation unit 12X cannot estimate the position of the object using either the second trained model or the first trained model, i.e., if the detection unit 13 cannot detect the object (N in step S105), proceed to step S114.

[0055] (Step S106) In step S106, the estimation unit 12X calculates object rectangle information from the image information without afterimage using the second trained model, and determines whether or not the position of the object in the image information without afterimage can be estimated based on the calculated object rectangle information. If the estimation unit 12X can estimate the position of the object using the second trained model (Y in step S106), that is, if the detection unit 13 can detect the object in this case, proceed to step S107. If the estimation unit 12X cannot estimate the position of the object using the second trained model (N in step S106), that is, if the detection unit 13 cannot detect the object in this case and can detect the object using the first trained model, proceed to step S110.

[0056] (Step S108) In step S108, since estimation unit 12X estimates the position of the object using the second trained model and detection unit 13 can detect the object, control unit 15 continues to control camera 14 while maintaining the current orientation of camera 14. That is, control unit 15 does not pan camera 14 from side to side or tilt it up and down.

[0057] (Step S109) In step S109, the camera 14 captures the next frame to obtain the next image information, and executes each process for detecting an object again.

[0058] (Step S111) In step S111, when the position of the object cannot be estimated using the second trained model, the estimation unit 12X estimates the moving direction of the object based on the afterimage trajectory rectangle information and the object rectangle information. For example, when image information with an afterimage is input to the first trained model, the estimation unit 12X estimates the moving direction of the object based on the coordinates of the afterimage trajectory rectangle information and the object rectangle information output from the first trained model.

[0059] (An example of step S111) An example of step S111 will be described below with reference to Fig. 3. In the following, a case will be described in which image information I1 to I3 is input to the first trained model, and afterimage trajectory rectangle information i1a, i2a, and i3a and object rectangle information i1b, i2b, and i3b are output from the first trained model. Also, a case will be described in which object M is an automobile.

[0060] First, a case will be described in which an afterimage occurs due to the object M moving in the horizontal direction, as shown in the horizontal direction diagram in Fig. 3. The estimation unit 12X estimates that the moving direction of the object M is the horizontal direction, since the coordinates of the object rectangle information i1b are generally larger in the X-axis direction indicating the horizontal direction than the coordinates of the afterimage trajectory rectangle information i1a.

[0061] Next, a case will be described in which an afterimage occurs due to the object M moving in the vertical direction, as shown in the vertical direction diagram in Fig. 3. The estimation unit 12X estimates that the moving direction of the object M is the vertical direction, since the coordinates of the object rectangle information i2b are generally smaller in the Y-axis direction, which indicates the vertical direction, than the coordinates of the afterimage trajectory rectangle information i2a.

[0062] Next, a case will be described in which an afterimage occurs due to the object M moving in a diagonal direction, as shown in the diagonal view of Fig. 3. The estimation unit 12X estimates that the moving direction of the object M is a diagonal direction because the coordinates of the object rectangle information i3b are generally larger in the Z-axis direction, which indicates the diagonal direction, than the coordinates of the afterimage trajectory rectangle information i3a.

[0063] (Step S112) In step S112, the estimation unit 12X estimates the moving speed of the object based on the afterimage trajectory rectangle information and the object rectangle information. For example, the estimation unit 12X estimates that the moving speed of the object calculated by the calculation unit 16 based on at least one of the coordinates and the size of the afterimage trajectory rectangle information and the object rectangle information is the moving speed of the object.

[0064] (An example of step S112) An example of step S112 will be described below.

[0065] (1) An example of calculating and estimating the moving speed of object M in the horizontal direction First, as shown in the horizontal direction diagram in FIG. 3, an object M is moving in the horizontal direction. Let us use FIG. 6 to calculate the moving speed V of the object M in the horizontal direction. H An example of calculation and estimation of the moving speed V of an object M in the horizontal direction will be described. H 6 is an explanatory diagram of calculation and estimation of. The contents of various parameters displayed in Fig. 6 are as follows. In addition, the following will describe a case where the camera 14 includes a lens and an image sensor. L: Distance between object M and camera 14 f: focal length of lens a H : The size of the imaging surface of the image sensor in the horizontal direction A H : The range in the horizontal direction in which the camera 14 can capture an image of the subject b H : The amount of movement of object M on the imaging surface of the image sensor in the horizontal direction B H : The amount of movement of the object M captured by the camera 14 in the horizontal direction Here, A H is also the imageable range of the subject on a plane horizontal to the optical axis of the camera 14. H is also the amount of movement of the object M projected on a plane horizontal to the optical axis of the lens of the camera 14. As shown in FIG.H can be expressed by the following formula (1). H and O H is obtained by the calculation unit 16 based on the coordinates of the afterimage trajectory rectangle information i1a and the object rectangle information i1b output from the first learned model, which are referred to by the estimation unit 12X when estimating the position of the object M.

[0066]

number

[0067] Here, if the ratio of the amount of movement of the object M to the size of the imaging surface of the image sensor in the horizontal direction is x, then x can be expressed as in the following equation (2).

[0068]

number

[0069] In addition, the size of the imaging surface of the image sensor in the horizontal direction is a H and the range A in which the camera 14 can capture the subject in the horizontal direction. H The relationship between them can be expressed as in the following formula (3): From the following formula (3), the following formula (4) can be obtained.

[0070]

number

[0071] The calculation unit 16 substitutes the above-mentioned formula (2) into the above-mentioned formula (4) to derive the following formula (5).

[0072]

number

[0073] Also, the horizontal speed of movement of object M in the horizontal direction is V Hcan be expressed as the following equation (6) using the signal accumulation period t of the camera 14.

[0074]

number

[0075] Therefore, the calculation unit 16 derives the following equation (7) by substituting the above equation (6) into the above equation (5).

[0076]

number

[0077] a H Since all of L, f, x, and t are known, the calculation unit 16 uses the above-mentioned equation (7) to calculate the moving speed V of the object M in the horizontal direction. H Here, the distance L between the object M and the camera 14 may be measured in advance using a laser range finder or the like. In addition, when position information indicating the positions of the object M and the camera 14, such as map information, and the setting values ​​of the rotation angle and elevation angle of the camera 14 are stored in advance in the storage unit 17, the calculation unit 16 may calculate the above-mentioned distance L based on this information.

[0078] The estimation unit 12X estimates the moving speed V of the object M in the horizontal direction calculated by the calculation unit 16. H is the horizontal velocity of object M, V H It is estimated that.

[0079] (2) An example of calculating and estimating the moving speed of object M in the vertical direction Next, as shown in the vertical direction diagram in FIG. 3, an example is taken in which an object M is moving in the vertical direction. Using FIGS. 7 and 8, the moving speed V V An example of calculation and estimation of the moving speed V of an object M in the vertical direction will be described. VFIG. 8 is an explanatory diagram of the calculation and estimation of . FIG. 8 is an enlarged view of a part of region R in FIG. 7. The contents of various parameters displayed in FIG. 7 are as follows. In addition, the following description will be given of the case where camera 14 includes a lens and an image sensor. L: Distance between object M and camera 14 f: focal length of lens a V : The size of the imaging surface of the image sensor in the vertical direction A V : The range in which the camera 14 can capture an image of a subject in the vertical direction b V : The amount of movement of object M on the imaging surface of the image sensor in the vertical direction B V : The amount of movement of the object M captured by the camera 14 in the vertical direction ω: The angle of view of the afterimage trajectory of object M in the vertical direction θ: inclination of the camera 14 in the vertical direction Here, A V is also the imageable range of the subject on a plane perpendicular to the optical axis of the lens of the camera 14. V is also the amount of movement of the object M projected on a plane perpendicular to the optical axis of the lens of the camera 14. As shown in FIG. V can be expressed by the following formula (8). V and O V is obtained by the calculation unit 16 based on the coordinates of the afterimage trajectory rectangle information i2a and the object rectangle information i2b output from the first learned model, which the estimation unit 12X refers to when estimating the position of the object M.

[0080]

number

[0081] The amount of movement of object M actually corresponds to the length e on ground G in Figure 8, but when object M is imaged by camera 14, it is projected onto the vertical plane where the optical axis of the lens of camera 14 and object M intersect, as the length Bv in Figure 7.

[0082] Here, if the ratio of the amount of movement of the object M to the size of the imaging surface of the image sensor of the camera 14 is x, then x can be expressed as the following equation (9), similarly to the above equation (2).

[0083]

number

[0084] Therefore, the calculation unit 16 calculates the vertical movement amount B of the object M captured by the camera 14. V can be derived as in the horizontal direction using the following equation (10).

[0085]

number

[0086] Next, the calculation unit 16 calculates the movement amount B of the object M captured by the camera 14. V A method for calculating the actual movement amount e of the object M based on the above will be described below. As shown in Fig. 8, the actual movement amount e of the object M can be expressed by the following formula (11).

[0087]

number

[0088] Now, using the sine theorem, e 1 and e 2 can be expressed as the following equations (12) and (13), respectively.

[0089]

number

[0090] The angles shown in FIG. 8 can be expressed by the following equations (14) to (20), respectively.

[0091]

number

[0092] The calculation unit 16 derives the following expressions (21) and (22) by substituting the above expressions (14) to (20) into the above expression (13).

[0093]

number

[0094] The calculation unit 16 derives the equation for e shown in the following equation (23) by substituting the above equations (21) and (22) into the above equation (11).

[0095]

number

[0096] Also, from FIG. 7, ω can be expressed by the following equation:

[0097]

number

[0098] Also, the vertical speed of object M is V V can be expressed as follows using the signal accumulation time t of the camera 14:

[0099]

number

[0100] B V , b V Since all of f, t, and θ are known, the calculation unit 16 uses the above-mentioned equations (10) and (23) to (25) to calculate the moving speed V of the object M in the vertical direction. V can be calculated.

[0101] The estimation unit 12X estimates the moving speed V of the object M in the vertical direction calculated by the calculation unit 16. V is the vertical speed V of object M V It is estimated that.

[0102] (3) An example of calculating and estimating the moving speed of object M in a diagonal direction Next, as shown in the diagonal view of FIG. 3, an example is taken in which an object M is moving in a diagonal direction. Using FIG. 3, the moving speed V of the object M in the diagonal direction is calculated. D An example of the calculation and estimation of will be described.

[0103] As shown in the diagonal diagram in FIG. 3, the diagonal velocity component is made up of a horizontal velocity component and a vertical velocity component, and this relationship can be expressed by the following equation (26).

[0104]

number

[0105] From the above equation (26), V D is expressed as the following equation (27).

[0106]

number

[0107] The calculation unit 16 calculates V based on the size of the rectangular information and the signal accumulation time in the same manner as described above. H and V V By calculating and using these values, V D Calculate.

[0108] The estimation unit 12X estimates the moving speed V of the object M in the diagonal direction calculated by the calculation unit 16. D is the moving speed V of object M in the diagonal direction. D It is estimated that.

[0109] (Step S113) In step S113, control unit 15 changes the orientation of camera 14 according to the moving direction and moving speed of the object estimated by estimation unit 12X. In this case, control unit 15 may change the orientation of camera 14 by performing at least one of panning and tilting.

[0110] Also, as in steps S106, S108, and S113, the control unit 15 may determine whether to change the orientation of the camera 14 based on whether the estimation unit 12X can estimate the position of the object using the second trained model, and control the orientation of the camera 14. Specifically, when the estimation unit 12X can estimate the position of the object using the second trained model as in Y of step S106, the control unit 15 may maintain the orientation of the camera 14 as in step S108. Also, when the estimation unit 12X cannot estimate the position of the object using the second trained model as in N of step S106, the control unit 15 may change the orientation of the camera 14 according to the moving direction and moving speed of the object, similar to the above example of step S113.

[0111] As described above, when the control unit 15 changes the orientation of the camera 14 in accordance with the moving direction and moving speed of the object, the estimation unit 12X may estimate the position of the object using image information of the object captured by the camera 14 whose orientation has been changed, and the second learned model.

[0112] (Step S114) In step S114, if the estimation unit 12X cannot estimate the position of the object using either the first trained model or the second trained model, and the detection unit 13 cannot detect the object, the control unit 15 determines whether the gain value of the camera 14 is equal to or greater than a threshold. The threshold is not particularly limited as long as it is a luminance value that theoretically allows detection of an object at night. The threshold may be a value that is set in advance.

[0113] Control unit 15 determines whether the gain value of camera 14 is equal to or greater than the threshold value by reading the gain value set in camera 14 from camera 14. If control unit 15 determines that the gain value of camera 14 is equal to or greater than the threshold value (Y in step S114), the process proceeds to step S115. If control unit 15 determines that the gain value of camera 14 is not equal to or greater than the threshold value (N in step S114), that is, if control unit 15 determines that the gain value of camera 14 is less than the threshold value, the process proceeds to step S109.

[0114] In this way, when the estimation unit 12X cannot estimate the position of the object and determines that the gain value is less than the threshold value, the estimation unit 12X may estimate that the object is not captured in the image information with afterimage and the image information without afterimage. Also, the control unit 15 may cause the camera 14 to capture the next frame to obtain the next image information.

[0115] (Step S115) In step S115, if the estimation unit 12X cannot estimate the position of the object and the gain value of the camera 14 is equal to or greater than the threshold value, the control unit 15 may set the gain value to equal to or less than the threshold value and change the signal accumulation period so that the signal accumulation period corresponds to the gain value set to equal to or less than the threshold value. In this way, the control unit 15 may control the gain value and the signal accumulation period, which is a period during which a plurality of pieces of image information with or without an afterimage are accumulated, by determining whether or not to change the gain value and the signal accumulation period based on the gain value of the camera 14.

[0116] (Effects of Exemplary Embodiment 2) In this exemplary embodiment, the estimation unit 12X is configured to further use a second learned model to calculate object rectangle information from the afterimage-free image information, and to estimate the position of the object in the afterimage-free image information based on the calculated object rectangle information.

[0117] According to this configuration, the estimation unit 12X estimates the position of an object using two types of trained models, namely, the first trained model and the second trained model. Therefore, according to this exemplary embodiment, compared to the exemplary embodiment 1, it is possible to obtain an effect that the detection unit 13 can easily detect an object stably even in a dark environment such as at night.

[0118] In this exemplary embodiment, a configuration is adopted that further includes a control unit 15 that decides whether or not to change the orientation of the camera 14 that captures an image of the object based on whether the estimation unit 12X can estimate the position of the object using the second learned model.

[0119] According to this configuration, when the estimation unit 12X can estimate the position of the object using the second trained model because the image information does not include an afterimage, the control unit 15 maintains the orientation of the camera 14. Also, when the image information includes an afterimage and the estimation unit 12X cannot estimate the position of the object using the second trained model, the control unit 15 changes the orientation of the camera 14. Therefore, according to this exemplary embodiment, in addition to the effects of the first exemplary embodiment, an effect is obtained in that the orientation of the camera 14 can be changed to track the object even when the estimation unit 12X cannot estimate the position of the object using the second trained model.

[0120] In this exemplary embodiment, the estimation unit 12X estimates the moving direction and moving speed of the object based on the afterimage trajectory rectangle information and the object rectangle information, and the control unit 15 is configured to change the orientation of the camera 14 depending on the moving direction and moving speed of the object.

[0121] According to this configuration, even if the image information includes an afterimage and the estimation unit 12X cannot estimate the position of the object using the second trained model, the control unit 15 can change the orientation of the camera 14 in the same moving direction and at the same moving speed as the object, in accordance with the moving direction and moving speed of the object. Therefore, according to this exemplary embodiment, in addition to the effect of the exemplary embodiment 1, the effect of being able to make the camera 14 track the object can be obtained even in the above-mentioned case.

[0122] In this exemplary embodiment, the estimation unit 12X is configured to estimate the position of an object using image information of the object captured by a camera 14 whose orientation is changed according to the object's movement direction and movement speed, and a second trained model.

[0123] According to this configuration, since the object is imaged by the camera 14 that tracks the object, image information that is less likely to cause an afterimage can be easily obtained, and the estimation unit 12X estimates the position of the object using the rectangular information output by inputting the image information that is less likely to cause an afterimage into the second trained model. Therefore, according to this exemplary embodiment, in addition to the effects of the first exemplary embodiment, the effect of facilitating the estimation of the position of the object using the second trained model can be obtained.

[0124] In this exemplary embodiment, the control unit 15 is configured to determine whether or not to change the gain value and the signal accumulation period, which is the period during which multiple pieces of image information with or without afterimages are accumulated, based on the gain value of the camera 14.

[0125] According to this configuration, when the gain value is large and the noise in the image information is large, the gain value is lowered to reduce the noise, and the signal accumulation period is changed to maintain the luminance. Therefore, according to this exemplary embodiment, in addition to the effect of the exemplary embodiment 1, even when the gain value is large, the estimation unit 12X can estimate the position of the object using image information suitable for detecting the object, in which the luminance is maintained and the noise is reduced.

[0126] In this exemplary embodiment, when the estimation unit 12X cannot estimate the position of the object and the gain value of the camera 14 is equal to or greater than a threshold value, the control unit 15 sets the gain value to a value equal to or less than the threshold value and changes the signal accumulation period so that the signal accumulation period corresponds to the gain value set to a value equal to or less than the threshold value.

[0127] According to this configuration, when the gain value is equal to or greater than the threshold value and the noise in the image information is large, the gain value is lowered to reduce the noise, and the signal accumulation period is changed according to the lowered gain value to maintain the luminance. Therefore, according to this exemplary embodiment, in addition to the effect of the exemplary embodiment 1, even if the gain value is equal to or greater than the threshold value, the estimation unit 12X can estimate the position of the object using image information suitable for object detection, in which the luminance is maintained and the noise is reduced.

[0128] In this exemplary embodiment, if the estimation unit 12X cannot estimate the position of the object and the gain value is less than a threshold value, the estimation unit 12X estimates that no object is captured in the image information with afterimage and the image information without afterimage, and the control unit 15 is configured to cause the camera 14 to acquire the next image information.

[0129] According to this configuration, when the estimation unit 12X cannot estimate the position of the object and the noise in the image information is small such that the gain value is less than the threshold value, the estimation unit 12X estimates that the cause of the detection unit 13 not being able to detect the object is not due to noise, and that the object is not captured in the image information. Therefore, according to this exemplary embodiment, in addition to the effect of the exemplary embodiment 1, the estimation unit 12X can estimate whether or not the object is captured in the image information depending on whether or not the gain value is less than the threshold value at night or the like when the gain value tends to be increased. Also, the control unit 15 can determine whether or not to proceed to the next image capture by the camera 14 depending on whether or not the gain value is less than the threshold value.

[0130] [Software implementation example] The control blocks of the detection devices 10 and 10X may be realized by a logic circuit (hardware) formed in an integrated circuit (IC chip) or the like, or may be realized by software.

[0131] In the latter case, the detection devices 10 and 10X are provided with a computer that executes instructions of a program, which is software that realizes each function. This computer is provided with, for example, at least one processor (control device) and at least one computer-readable recording medium that stores the program. The object of the present invention is achieved by the processor reading the program from the recording medium and executing it in the computer. The processor can be, for example, a CPU (Central Processing Unit). The recording medium can be a "non-transient tangible medium", for example, a ROM (Read Only Memory), as well as a tape, a disk, a card, a semiconductor memory, a programmable logic circuit, etc. The device may further include a RAM (Random Access Memory) that expands the program. The program may be supplied to the computer via any transmission medium (such as a communication network or a broadcast wave) that can transmit the program. One aspect of the present invention can also be realized in the form of a data signal embedded in a carrier wave, in which the program is embodied by electronic transmission.

[0132] [Additional Note 1] The present invention is not limited to the above-described embodiment, and various modifications are possible within the scope of the claims. For example, embodiments obtained by appropriately combining the technical means disclosed in the above-described embodiment are also included in the technical scope of the present invention.

[0133] [Additional Note 2] Some or all of the above-described embodiments can be described as follows. However, the present invention is not limited to the following described aspects.

[0134] (Appendix 1) an estimation means for calculating the afterimage trajectory rectangular information and the object rectangle information from the image information with afterimage using a first trained model that outputs afterimage trajectory rectangular information and object rectangle information when image information with afterimage is input, the first trained model being machine-learned using teacher data in which learning image information with afterimage, which includes an object and an afterimage of the object, is associated with learning afterimage trajectory rectangular information including the trajectory of the object's afterimage and learning object rectangle information including the object, and estimating a position of the object in the image information with afterimage based on the calculated afterimage trajectory rectangular information and object rectangle information; a detection means for detecting the object based on an estimation result by the estimation means; A detection device comprising:

[0135] (Appendix 2) The detection device described in Appendix 1, wherein the estimation means further uses a second trained model that is machine-learned using teacher data in which learning image information without afterimages including the object is associated with the learning object rectangle information and that outputs the object rectangle information when image information without afterimages is input, to calculate the object rectangle information from the image information without afterimages, and estimates the position of the object in the image information without afterimages based on the calculated object rectangle information.

[0136] (Appendix 3) The detection device described in Appendix 2, further comprising a control means for determining whether to change an orientation of an imaging means for imaging the object based on whether the estimation means is able to estimate the position of the object using the second trained model.

[0137] (Appendix 4) The estimation means estimates a moving direction and a moving speed of the object based on the afterimage trajectory rectangle information and the object rectangle information, The detection device according to claim 3, wherein the control means changes the orientation of the imaging means depending on a moving direction and a moving speed of the object.

[0138] (Appendix 5) The detection device described in Appendix 4, wherein the estimation means estimates the position of the object using image information of the object captured by the imaging means, the orientation of which is changed according to the moving direction and moving speed of the object, and the second trained model.

[0139] (Appendix 6) The detection device described in any one of Appendices 1 to 5, wherein the control means determines whether or not to change the gain value of the imaging means and the signal accumulation period, which is a period for accumulating a plurality of the image information with residual images or the image information without residual images, based on the gain value of the imaging means.

[0140] (Appendix 7) The detection device described in Appendix 6, wherein, when the estimation means is unable to estimate the position of the object and the gain value of the imaging means is equal to or greater than a threshold, the control means sets the gain value to a value equal to or less than the threshold, and changes the signal accumulation period so that the signal accumulation period corresponds to the gain value set to a value equal to or less than the threshold.

[0141] (Appendix 8) The detection device described in Appendix 7, wherein, when the estimation means is unable to estimate the position of the object and the gain is less than a threshold value, the estimation means estimates that the object is not captured in the image information with afterimage and the image information without afterimage, and the control means causes the imaging means to acquire the next image information.

[0142] (Appendix 9) At least one processor calculating the afterimage trajectory rectangle information and the object rectangle information from the image information with afterimage using a first trained model that outputs afterimage trajectory rectangle information and object rectangle information when image information with afterimage is input, the first trained model being machine-learned using teacher data in which learning image information with afterimage, which includes an object and an afterimage of the object, is associated with learning afterimage trajectory rectangle information including the trajectory of the object's afterimage and learning object rectangle information including the object, and estimating a position of the object in the image information with afterimage based on the calculated afterimage trajectory rectangle information and object rectangle information; Detecting the object based on an estimation result of the estimation; A detection method comprising:

[0143] (Appendix 10) Computer, an estimation means for calculating the afterimage trajectory rectangular information and the object rectangle information from the image information with afterimage using a first trained model that outputs afterimage trajectory rectangular information and object rectangle information when image information with afterimage is input, the first trained model being machine-learned using teacher data in which learning image information with afterimage, which includes an object and an afterimage of the object, is associated with learning afterimage trajectory rectangular information including the trajectory of the object's afterimage and learning object rectangle information including the object, and estimating a position of the object in the image information with afterimage based on the calculated afterimage trajectory rectangular information and object rectangle information; a detection means for detecting the object based on an estimation result by the estimation means; This is a detection program that functions as a

[0144] [Additional Note 3] A detection device comprising at least one processor, the processor uses a first trained model that outputs afterimage trajectory rectangle information and object rectangle information when image information with an afterimage is input, the first trained model being machine-learned using teacher data in which learning image information with an afterimage, which includes an object and an afterimage of the object, is associated with learning afterimage trajectory rectangle information including the trajectory of the object's afterimage and learning object rectangle information including the object, to calculate the afterimage trajectory rectangle information and the object rectangle information from the image information with an afterimage, estimate a position of the object in the image information with an afterimage based on the calculated afterimage trajectory rectangle information and object rectangle information, and detect the object based on the estimation result.

[0145] The detection device may further include a memory, and the memory may store a detection program for causing the processor to execute the following operations: calculating the afterimage trajectory rectangle information and the object rectangle information from the afterimage-containing image information using a first trained model that outputs afterimage trajectory rectangle information and object rectangle information when afterimage-containing image information is input, the first trained model being machine-learned using teacher data in which learning afterimage-containing image information including an object and an afterimage of the object is associated with learning afterimage trajectory rectangle information including the trajectory of the object's afterimage and learning object rectangle information including the object; estimating the position of the object in the afterimage-containing image information based on the calculated afterimage trajectory rectangle information and object rectangle information; and detecting the object based on the estimation result. The detection program may be recorded on a computer-readable, non-transitory, tangible recording medium.

[0146] [Additional Note 4] The present invention can provide a detection device and related technology that can stably detect objects even in dark environments such as at night, etc. Therefore, the present invention can contribute to achieving Goal 9 of the Sustainable Development Goals (SDGs), "Build resilient infrastructure and promote industrial, technological and technological innovation." [Explanation of symbols]

[0147] 10, 10X detector 12, 12X Estimation part (estimation means) 13 Detection unit (detection means) 14 Camera (imaging means) 15 Control section (control means) I1, I2, I3 Image Information i1a, i2a, i3a Afterimage trajectory rectangle information i1b, i2b, i3b Object rectangle information S1, S1X detection method

Claims

1. an estimation means for calculating the afterimage trajectory rectangular information and the object rectangle information from the image information with afterimage using a first trained model that outputs afterimage trajectory rectangular information and object rectangle information when image information with afterimage is input, the first trained model being machine-learned using teacher data in which learning image information with afterimage, which includes an object and an afterimage of the object, is associated with learning afterimage trajectory rectangular information including the trajectory of the object's afterimage and learning object rectangle information including the object, and estimating a position of the object in the image information with afterimage based on the calculated afterimage trajectory rectangular information and object rectangle information; a detection means for detecting the object based on an estimation result by the estimation means; A detection device comprising:

2. The detection device of claim 1, wherein the estimation means further uses a second trained model that is machine-learned using teacher data in which learning image information without afterimages including the object is associated with the learning object rectangle information, and that outputs the object rectangle information when image information without afterimages is input, to calculate the object rectangle information from the image information without afterimages, and estimates the position of the object in the image information without afterimages based on the calculated object rectangle information.

3. 3. The detection device according to claim 2, further comprising a control means for determining whether to change an orientation of an imaging means for imaging the object based on whether the estimation means is able to estimate the position of the object using the second learned model.

4. The estimation means estimates a moving direction and a moving speed of the object based on the afterimage trajectory rectangle information and the object rectangle information, The detection device according to claim 3 , wherein the control means changes the orientation of the imaging means in accordance with a moving direction and a moving speed of the object.

5. 5. The detection device according to claim 4, wherein the estimation means estimates the position of the object using image information of the object captured by the imaging means, the orientation of which is changed according to a moving direction and a moving speed of the object, and the second trained model.

6. The detection device according to claim 5, wherein the control means determines whether or not to change the gain value of the imaging means and a signal accumulation period, which is a period for accumulating a plurality of the image information with residual images or the image information without residual images, based on the gain value of the imaging means.

7. 7. The detection device according to claim 6, wherein, when the estimation means is unable to estimate the position of the object and the gain value of the imaging means is equal to or greater than a threshold value, the control means sets the value of the gain to equal to or less than the threshold value and changes the signal accumulation period so that the signal accumulation period corresponds to the value of the gain that has been set to equal to or less than the threshold value.

8. 8. The detection device according to claim 7, wherein, when the estimation means is unable to estimate the position of the object and the gain is less than a threshold value, the estimation means estimates that the object is not captured in the image information with afterimage and the image information without afterimage, and the control means causes the imaging means to acquire the next image information.

9. At least one processor calculating the afterimage trajectory rectangle information and the object rectangle information from the image information with afterimage using a first trained model that outputs afterimage trajectory rectangle information and object rectangle information when image information with afterimage is input, the first trained model being machine-learned using teacher data in which learning image information with afterimage, which includes an object and an afterimage of the object, is associated with learning afterimage trajectory rectangle information including the trajectory of the object's afterimage and learning object rectangle information including the object, and estimating a position of the object in the image information with afterimage based on the calculated afterimage trajectory rectangle information and object rectangle information; Detecting the object based on an estimation result of the estimation; A detection method comprising:

10. Computer, an estimation means for calculating the afterimage trajectory rectangular information and the object rectangle information from the image information with afterimage using a first trained model that outputs afterimage trajectory rectangular information and object rectangle information when image information with afterimage is input, the first trained model being machine-learned using teacher data in which learning image information with afterimage, which includes an object and an afterimage of the object, is associated with learning afterimage trajectory rectangular information including the trajectory of the object's afterimage and learning object rectangle information including the object, and estimating a position of the object in the image information with afterimage based on the calculated afterimage trajectory rectangular information and object rectangle information; a detection means for detecting the object based on an estimation result by the estimation means; This is a detection program that functions as a

Citation Information

Patent Citations

  • Position detection method and position detection apparatus of work object

    JP2010133718A

  • Control device, control method, program, and storage medium

    JP2021052231A

  • Information processing device, control method thereof, and program

    JP2022086194A

  • Imaging apparatus, control method of imaging apparatus, and program

    JP2022086311A

  • Moving body recognition device

    JP2023017447A