Patent ID: 9514541
Filing Date: 2016-12-06
CPC Classification: G06T

Claim Text:
1. An image processing apparatus comprising: at least one processor operatively coupled to a memory, serving as: an acquisition unit that acquires images; an input unit that receives an instruction, inputted by a user, for setting an object detection line segment in an image area of a display screen, the object detection line segment being used for detecting at least a portion of an object, detected in the images acquired by the acquisition unit that has intersected with the object detection line segment; a setting unit that sets the object detection line segment, based on the instruction, in the image area of the display screen; a determination unit that determines whether at least a portion of the object detection line segment set is included in an inhibition region where the detection is inhibited, the inhibition region being set along at least one side of the image area of the display screen and lies between the at least one side of the image area of the display screen and a border spaced apart from the at least one side of the image area of the display screen by a set distance in an inward direction of the display screen; and an inhibition region setting unit that sets, as the inhibition region where the detection is inhibited, an outside of a region enclosed by (i) a border spaced apart from a top border of the display screen by a set distance in an inward direction of the display screen, (ii) a border spaced apart from a bottom border of the display screen by a set distance in an inward direction of the display screen, (iii) a border spaced apart from a left border of the display screen by a set distance in an inward direction of the display screen, and (iv) a border spaced apart from a right border of the display screen by a set distance in an inward direction of the display screen, wherein the setting unit (i) allows the object detection line segment to be set based on the instruction in a case when the determination unit determines that at least a portion of the object detection line segment to be set based on the instruction is not included in the inhibition region, (ii) prevents the object detection line segment in the image area of the display screen from being included in the inhibition region in a case when the determination unit determines that at least the portion of the object detection line segment to be set based on the instruction is included in the inhibition region, and (iii) sets the set distance in accordance with one of a size of the object and a moving speed of the object.