Image processing apparatus and image processing method
First Claim
Patent Images
1. An image processing apparatus comprising:
- a holding unit that holds, for each event which may occur in an image, a type of an object to be determined whether or not to come in contact with another object in a physical space, wherein the holding unit is configured to hold in advance, for each event, an object type which is preset in advance as a type of an object to be determined whether or not to come in contact with another object in the physical space;
a unit that sequentially acquires an image of each frame output from an image sensing device;
a first detection unit that detects, before performing an object detection on an image of interest, an event which occurs in the image of interest;
a specifying unit that specifies, from object types each of which is held in advance in the holding unit and is preset in advance as a type of an object to be determined whether or not to come in contact with another object in the physical space, the object type which corresponds to the event detected by the first detection unit;
a second detection unit that detects an object of the object type specified by the specifying unit from the image of interest; and
a determination unit that determines whether objects detected by the second detection unit come in contact with each other in the physical space,wherein the first detection unit detects a first event, and the specifying unit specifies, from the holding unit, a first object type and a second object type as the object types which correspond to the first event, andthe determination unit;
sets an image, among the images of the frames, in which a distance between respective detection positions, in the image, of a first object corresponding to the first object type and a second object corresponding to the second object type is equal to or less than a threshold, as a target image, anddetermines that the first object and the second object come in contact with each other in the physical space, if a magnitude of acceleration, in the target image, of the first object is greater than or equal to a threshold, and an angle formed by a vector representing the acceleration and a vector representing velocity, in the target image, of the second object is less than a threshold.
1 Assignment
0 Petitions
Accused Products
Abstract
An image of each frame output from an image sensing device is sequentially acquired. A situation appearing in the image is recognized through recognition processing performed on the image, and, if the recognized situation is a prescribed situation, an object of a type related to the prescribed situation is detected from the image and from an image of each frame containing the image. A detection position, in the image, of each object is used to determine whether the objects come in contact with each other in a physical space.
16 Citations
15 Claims
-
1. An image processing apparatus comprising:
-
a holding unit that holds, for each event which may occur in an image, a type of an object to be determined whether or not to come in contact with another object in a physical space, wherein the holding unit is configured to hold in advance, for each event, an object type which is preset in advance as a type of an object to be determined whether or not to come in contact with another object in the physical space; a unit that sequentially acquires an image of each frame output from an image sensing device; a first detection unit that detects, before performing an object detection on an image of interest, an event which occurs in the image of interest; a specifying unit that specifies, from object types each of which is held in advance in the holding unit and is preset in advance as a type of an object to be determined whether or not to come in contact with another object in the physical space, the object type which corresponds to the event detected by the first detection unit; a second detection unit that detects an object of the object type specified by the specifying unit from the image of interest; and a determination unit that determines whether objects detected by the second detection unit come in contact with each other in the physical space, wherein the first detection unit detects a first event, and the specifying unit specifies, from the holding unit, a first object type and a second object type as the object types which correspond to the first event, and the determination unit; sets an image, among the images of the frames, in which a distance between respective detection positions, in the image, of a first object corresponding to the first object type and a second object corresponding to the second object type is equal to or less than a threshold, as a target image, and determines that the first object and the second object come in contact with each other in the physical space, if a magnitude of acceleration, in the target image, of the first object is greater than or equal to a threshold, and an angle formed by a vector representing the acceleration and a vector representing velocity, in the target image, of the second object is less than a threshold. - View Dependent Claims (2, 3, 4, 5, 8, 9)
-
-
6. An image processing method that is performed by an image processing apparatus, comprising:
-
holding, for each event which may occur in an image, a type of an object to be determined whether or not to come in contact with another object in a physical space, wherein the holding holds in advance, for each event, an object type which is preset in advance as a type of an object to be determined whether or not to come in contact with another object in the physical space; sequentially acquiring an image of each frame output from an image sensing device; detecting, before performing an object detection on an image of interest, an event which occurs in the image of interest; specifying, from object types each of which is held in advance in the holding step and is preset in advance as a type of an object to be determined whether or not to come in contact with another object in the physical space, the object type which corresponds to the event detected by the first detection step; detecting an object of the object type specified by the specifying step from the image of interest; and determining whether objects come in contact with each other in the physical space, based on a result of the detection, wherein the first detection step detects a first event, and the specifying step specifies, from the holding step, a first object type and a second object type as the object types which correspond to the first event, and the determining step; sets an image, among the images of the frames, in which a distance between respective detection positions, in the image, of a first object corresponding to the first object type and a second object corresponding to the second object type is equal to or less than a threshold, as a target image, and determines that the first object and the second object come in contact with each other in the physical space, if a magnitude of acceleration, in the target image, of the first object is greater than or equal to a threshold, and an angle formed by a vector representing the acceleration and a vector representing velocity, in the target image, of the second object is less than a threshold.
-
-
7. A non-transitory computer-readable storage medium storing a computer program for a computer having a holding unit that holds, for each event which may occur in an image, a type of an object to be determined whether or not to come in contact with another object in a physical space, wherein the holding unit is configured to hold in advance, for each event, an object type which is preset in advance as a type of an object to be determined whether or not to come in contact with another object in the physical space, the program for causing the computer to function as:
-
an acquisition unit that sequentially acquires an image of each frame output from an image sensing device; a first detection unit that detects, before performing an object detection on an image of interest, an event which occurs in the image of interest; a specifying unit that specifies, from object types of each of which is held in advance in the holding unit and is preset in advance as a type of an object to be determined whether or not to come in contact with another object in the physical space, the object type which corresponds to the event detected by the first detection unit; a second detection unit that detects an object of the object type specified by the specifying unit from the image of interest; and a determination unit that determines whether objects detected by the second detection step come in contact with each other in the physical space, wherein the first detection unit detects a first event, and the specifying unit specifies, from the holding unit, a first object type and a second object type as the object types which correspond to the first event, and the determination unit; sets an image, among the images of the frames, in which a distance between respective detection positions, in the image, of a first object corresponding to the first object type and a second object corresponding to the second object type is equal to or less than a threshold, as a target image, and determines that the first object and the second object come in contact with each other in the physical space, if a magnitude of acceleration, in the target image, of the first object is greater than or equal to a threshold, and an angle formed by a vector representing the acceleration and a vector representing velocity, in the target image, of the second object is less than a threshold.
-
-
10. An image processing apparatus, comprising:
-
an acquisition unit that acquires a target frame image which includes a first object and a second object; a first calculation unit that calculates a distance between the first object and the second object on the acquired target frame image; a second calculation unit that calculates acceleration of the first object and velocity of the second object on the acquired target frame image; and a determination unit that determines, in a case where on the target frame image (A) the calculated distance is not more than a first threshold, (B) the calculated acceleration is not less than a second threshold, and (C) an angle formed by a vector representing the calculated acceleration and a vector representing the calculated velocity is less than a third threshold, that the first object comes in contact with the second object. - View Dependent Claims (11, 12, 13)
-
-
14. An image processing method, comprising:
-
acquiring a target frame image which includes a first object and a second object; calculating a distance between the first object and the second object on the acquired target frame image; calculating acceleration of the first object and velocity of the second object on the acquired target frame image; and determining, in a case where on the target frame image (A) the calculated distance is not more than a first threshold, (B) the calculated acceleration is not less than a second threshold, and (C) an angle formed by a vector representing the calculated acceleration and a vector representing the calculated velocity is less than a third threshold, that the first object comes in contact with the second object.
-
-
15. A non-transitory computer-readable storage medium storing a computer program for causing a computer to execute an image processing method, the method comprising:
-
acquiring a target frame image which includes a first object and a second object; calculating a distance between the first object and the second object on the acquired target frame image; calculating acceleration of the first object and velocity of the second object on the acquired target frame image; and determining, in a case where on the target frame image (A) the calculated distance is not more than a first threshold, (B) the calculated acceleration is not less than a second threshold, and (C) an angle formed by a vector representing the calculated acceleration and a vector representing the calculated velocity is less than a third threshold, that the first object comes in contact with the second object.
-
Specification