The aspect of the embodiments relates to an information processing apparatus, an information processing method, and a program which are capable of being desirably used to support mounting of a camera.
Methods have heretofore been known which detect human bodies from images. It is desirable to reduce obstacles that shield human bodies and to detect the human bodies from angles at which the human bodies are easily detected in the detection of the human bodies. Accordingly, the positions where cameras are mounted are important factors for the detection of the human bodies. Japanese Patent No. 5325251 discloses a mounting support method of appropriately detecting a monitoring target according to a guidance using an captured image in mounting of a camera.
A wide variety of object detection functions have been used in recent years. For example, various detection functions including a function to recognize an object from directly above and a function to detect an object from a side are adopted. However, the efficiency of detection is reduced if a camera is mounted so as to capture an image of an object from a side in an algorithm in which the object is desirably detected from directly above or a camera is mounted so as to capture an image of an object from directly above in an algorithm in which the object is desirably detected from a side. In addition, monitoring systems using network cameras are increased in size and efficient mounting of appropriate cameras is requested.
The aspect of the embodiments provides an information processing apparatus including a display control unit that displays in a display unit a range in which a camera is capable of being arranged with respect to a position or a range where the camera captures an image based on an imaging condition input with an input unit. The imaging condition at least includes information about the position or the range where the camera captures an image and about an angle in a vertical direction at which the camera captures an image. The input unit is used to input the imaging condition.
Further features of the present disclosure will become apparent from the following description of exemplary embodiments with reference to the attached drawings.
A first embodiment of the disclosure will herein be described with reference to the drawings.
Referring to
The CPU 110 performs a variety of processing and various arithmetic operations.
The primary storage device 120 is a writable high-speed storage device, such as a random access memory (RAM). An operating system (OS), various programs, and a variety of data are loaded in the primary storage device 120. The primary storage device 120 is also used as a working area for the OS and the various programs.
The secondary storage device 130 is a non-volatile storage device, such as a hard disk drive (HDD), a flash memory, or a compact disc read only memory (CD-ROM). The secondary storage device 130 is used as a permanent storage area for the OS, the various programs, and the variety of data. The secondary storage device 130 is also used as a short-term storage area for the variety of data.
The input I/F 140 is an interface used to connect to an input device 150, such a keyboard and/or a mouse. An instruction is input into the camera mounting support apparatus 100 with the input device 150.
The display 160 is an output device that displays an image or the like.
The network I/F 190 is an interface used to connect to a network 195 for a variety of communication.
Referring to
The display control unit 200 displays a variety of information on the display 160 in accordance with the setup data 290 stored in the secondary storage device 130. In the first embodiment, the display control unit 200 displays the display screen with which mounting of a camera is supported on the display 160.
As illustrated in the example in
In addition, the display control unit 200 displays a detection position 32 indicating the position of the human body, which will be detected in accordance with control by the control unit 210 described below, on the layout guide 31. For example, a user is capable of determining the detection position 32 by dragging a detection position object 36 in the operation area 34 with a pointer 35 using the input device 150.
Furthermore, the display control unit 200 displays mounting position guides 33 on the layout guide 31 in order to indicate a mounting condition of the camera to be mounted. The mounting position guides 33 are indicated as, for example, an area apart from the detection position 32 by a predetermined distance. In the first embodiment, the mounting position guides 33 are indicated as a circle having a certain radius around the detection position 32 and the camera is guided to be desirably mounted in the area outside the circle. The mounting position guides 33 are displayed in response to a notification of display from the determination unit 220 described below. As described above, the display control unit 200 displays guide information used to mount the camera in response to instructions from the control unit 210 and the determination unit 220.
The control unit 210 controls the camera mounting support apparatus 100 in accordance with an operation by the user with the input device 150 or an event based on the display screen 30. Upon input of values or the likes in the “Scale”, the “Height of ceiling”, and the “Algorithm” in the operation area 34 with the input device 150 and instruction of the detection position 32 with the input device 150, the control unit 210 indicates input information (an imaging condition) to the display control unit 200 and the determination unit 220. The determination unit 220 performs calculation based on the input information and instructs the display control unit 200 to display the mounting position guides 33. Since the indication of the input information (the image capturing condition) and the instruction to display the mounting position guides 33 are processes corresponding to general operations or events, a detailed description of them is omitted herein.
Referring to
If an event has occurred in Step S602 (YES in Step S602), in Step S603, the control unit 210 determines whether the “Human body detection 1” is selected in the “Algorithm” in the operation area 34. If the control unit 210 determines that the “Human body detection 1” is not selected (NO in Step S603), the process goes to Step S606. If the control unit 210 determines that the “Human body detection 1” is selected (YES in Step S603), in Step S604, the determination unit 220 reads out the restriction data 280 from the secondary storage device 130. Here, the restriction data 280 is, for example, data in which a function or the like to calculate an output x for an input is registered.
The restriction data 280 to be read out in Step S604 will now be described. Since a human body is detected at a depression angle of 60 degrees or less from the ceiling in the “Human body detection 1”, the restriction data 280 is used to calculate a distance x illustrated in
In Step S605, the determination unit 220 calculates the distance x by substituting the height of ceiling h based on the input information supplied from the control unit 210 in the restriction data 280. Then, the display control unit 200 displays the mounting position guides 33 on the layout guide 31 based on the distance x, which is an output. Then, the process goes back to Step S602.
In Step S606, the control unit 210 determines whether the “Human body detection 2” is selected in the “Algorithm” in the operation area 34. If the control unit 210 determines that the “Human body detection 2” is not selected (NO in Step S606), the process goes to Step S609. If the control unit 210 determines that the “Human body detection 2” is selected (YES in Step S606), in Step S607, the determination unit 220 reads out the restriction data 280 from the secondary storage device 130.
The restriction data 280 to be read out in Step S607 will now be described. Since the “Human body detection 2” is an algorithm in which a human body is detected from directly above, the distance x, which is an output, is calculated as “x=0” from the restriction data 280. In Step S608, the display control unit 200 displays a small circle concentric with the detection position 32 on the layout guide 31 as the mounting position guides 33. Then, the process goes back to Step S602.
In Step S609, the control unit 210 determines whether the “Human body detection 3” is selected in the “Algorithm” in the operation area 34. If the control unit 210 determines that the “Human body detection 3” is not selected (NO in Step S609), the process goes to Step S612. If the control unit 210 determines that the “Human body detection 3” is selected (YES in Step S609), in Step S610, the determination unit 220 reads out the restriction data 280 from the secondary storage device 130.
The restriction data 280 to be read out in Step S610 will now be described. Since the “Human body detection 3” is an algorithm in which a human body is detected from a side, the height x, which is an output, is calculated as “the height x=if (j<1.50) then j else 150” from the restriction data 280. Specifically, the height x is set to the height of ceiling that is input in the case of a ceiling (for example, a loft or an attic) lower than the height 1.50 m of the human body and the height x is otherwise set to a fixed value of 1.50 meter. In Step S611, the display control unit 200 displays the mounting position guides 33, such as “mounting height of x meter”, on the layout guide 31 using a text or the like. Then, the process goes back to Step S602.
In Step S612, the control unit 210 determines whether termination of the event is instructed through an operation by the user with the input device 150. If the control unit 210 determines that termination of the event is not instructed (NO in Step S612), the process goes back to Step S602. If the control unit 210 determines that termination of the event is instructed (YES in Step S612), the process illustrated in
As described above, according to the first embodiment, the camera mounting support apparatus 100 is capable of displaying the mounting condition corresponding to the restriction of each algorithm in response to an input of the detection position 32 or an input in the operation area 34. The mounting position guides 33 may be a schematic view or a text. It is sufficient for the mounting position guides 33 to explicitly indicate the mounting position.
Although the mounting position guides corresponding to the detection position are displayed in the first embodiment, an example will be described in a second embodiment in which the mounting position guides are indicated with a detection area being specified, instead of the detection position. Since the internal configuration of the camera mounting support apparatus 100 according to the second embodiment is the same as the ones illustrated in
For example, when an area where a single operation is to be detected is monitored, it is necessary to capture an image of a human body from a front-back direction of the human body. In this case, the camera is mounted with the restriction of the “Human body detection 1” being added. More specifically, the display control unit 200 displays a detection area 40 and a detection direction 41 on the display screen 30 on which the layout guide 31 has been displayed, as illustrated in
In response to the above operations by the user, the mounting position guides 33 are displayed based on the detection area 40 and the detection direction 41. The mounting position guides 33 are indicated as areas that pass through the center of the detection area 40, that are on a line segment parallel to the detection direction 41, and that are apart from the center of the detection area 40 by a predetermined distance. In the second embodiment, line segments from positions that are apart from the center of the detection area 40 along the detection direction 41 by a certain distance or more are displayed as the mounting position guides 33. Accordingly, the two mounting position guides 33 on the left and right sides of the detection area are displayed in accordance with the restriction to capture an image of the human body from the front-back direction of the human body.
Referring to
In Step S702, the determination unit 220 reads out the restriction data 280 from the secondary storage device 130. The restriction data 280 to be read out in Step S702 will now be described. In the “Single operation detection”, a human body is detected at a depression angle of 60 degrees or less from the ceiling and the single operation is detected. Accordingly, the distance x, which is an output, is greater than or equal to h× tan 30° or more (x≧h× tan 30° or more) and is on a line segment that passes through the center of the rectangular detection area 40 and that is parallel to the detection direction 41. In Step S703, the display control unit 200 displays arrows illustrated in
As described above, according to the second embodiment, the camera mounting support apparatus 100 is capable of displaying the mounting condition corresponding to the restriction of each algorithm as the mounting position guides 33 by specifying the detection area 40 and the detection direction 41.
Although the mounting position guides corresponding to the detection area and the detection direction are displayed in the second embodiment, an example will be described in a third embodiment in which a camera to be mounted is specified and the mounting position of the camera is displayed. Since the internal configuration of the camera mounting support apparatus 100 according to the third embodiment is the same as the ones illustrated in
The kind of the camera to be mounted is capable of being input in the operation area 34 illustrated in
Although the process according to the third embodiment is basically the same as the one illustrated in
As illustrated in
Referring to
From the above points, a midpoint E of the width AB is defined if the width AB of the detection area 40 is defined. A minimum distance PE from the midpoint E is calculated from the above conditions in a space in which a perpendicular PJ is the x axis. In the case of a camera having a telephoto lens, the minimum distance PE may be longer than that in the second embodiment. Accordingly, when the camera having the above characteristics is selected, the line segment ZQ indicating the position where the camera is desirably arranged is displayed as the mounting position guide 33 in accordance with the characteristics of the camera.
Next, inclusion of a maximum distance QE within a distance at which the human body is capable of being detected is considered as a second condition. A specific example is illustrated in
In order for the camera to detect the human body in
For example, in the case of a camera with a wide angle lens having a low resolution, the maximum distance may be smaller than that in the second embodiment. Consequently, when the camera having the above characteristics is selected, the line segment ZQ indicating the position where the camera is desirably arranged is displayed as the mounting position guide 33 in accordance with the characteristics of the camera.
As described above, according to the third embodiment, the camera mounting support apparatus 100 is capable of displaying the mounting position of each camera, which corresponds to the conditions of the camera, in accordance with an input of the kind of the camera in the operation area 34.
The mounting position guide 33 is varied depending on the kind of the camera that is to be mounted in the third embodiment. An example will be described in a fourth embodiment in which the mounting condition of the camera of each kind, among multiple cameras that are selected or all the cameras without specifying a camera to be mounted, is displayed and selection of the camera is also supported. Since the internal configuration of the camera mounting support apparatus 100 according to the fourth embodiment is the same as the ones illustrated in
In the fourth embodiment, it is not necessary to individually input the kinds of the cameras in the operation area 34 and multiple cameras or all the cameras are capable of being selected, instead of the input of the kinds of the cameras in the operation area 34. For example, multiple cameras, such as the camera model names of the “Camera A” and the “Camera B”, may be selected or selection may not be performed. When selection is not performed, all the cameras are selected. In the display of the mounting position guides in Step S703, multiple line segments corresponding to multiple camera candidates are displayed.
Candidates for the multiple mounting positions are displayed on the layout guide 31 in the manner illustrated in
As described above, according to the fourth embodiment, the camera mounting support apparatus 100 is capable of displaying the multiple mounting positions of the cameras corresponding to the cameras of the respective kinds. Accordingly, the user is capable of selecting a desired camera from the displayed cameras and mounting the selected camera.
The multiple mounting position guides corresponding to the multiple kinds of cameras are displayed in the fourth embodiment. An example will be described in a fifth embodiment in which priorities are given to multiple cameras in advance and a desired camera is selected based on the priorities without specifying a camera to be mounted to display the mounting condition of the selected camera. Since the internal configuration of the camera mounting support apparatus 100 according to the fifth embodiment is the same as the ones illustrated in
The mounting position guides 33 are displayed in the manner illustrated in
The restriction data 280 to be read out in Step S702 also includes information about, for example, the priority of the camera of each kind. The information about the priority is, for example, sort information depending on the price, attribute information indicating whether the camera of the indoor model or the outdoor model is used, distinction of a flagship version and a less-expensive version, or information indicating whether the camera has a function. Here, the priority information may be selected from the operation area 34. In this case, refinement of the priorities or change of the orders may be performed using information about sorting or filtering of the cameras, such as a “price order” or an “outdoor model” that is specified.
As described above, according to the fifth embodiment, the camera mounting support apparatus 100 is capable of displaying a desired camera based on the information about the priority or the like to support mounting of the camera.
The disclosure may be realized by supplying a program realizing one or more functions of the above embodiments to a system or an apparatus via a network or a storage medium and reading out and executing the program by one or more processors in the computer in the system or the apparatus. Alternatively, the disclosure may be realized by a circuit (for example, an application specific integrated circuit (ASIC)) realizing one or more functions.
Embodiment(s) of the present disclosure can also be realized by a computer of a system or apparatus that reads out and executes computer executable instructions (e.g., one or more programs) recorded on a storage medium (which may also be referred to more fully as a ‘non-transitory computer-readable storage medium’) to perform the functions of one or more of the above-described embodiment(s) and/or that includes one or more circuits (e.g., application specific integrated circuit (ASIC)) for performing the functions of one or more of the above-described embodiment(s), and by a method performed by the computer of the system or apparatus by, for example, reading out and executing the computer executable instructions from the storage medium to perform the functions of one or more of the above-described embodiment(s) and/or controlling the one or more circuits to perform the functions of one or more of the above-described embodiment(s). The computer may comprise one or more processors (e.g., central processing unit (CPU), micro processing unit (MPU)) and may include a network of separate computers or separate processors to read out and execute the computer executable instructions. The computer executable instructions may be provided to the computer, for example, from a network or the storage medium. The storage medium may include, for example, one or more of a hard disk, a random-access memory (RAM), a read only memory (ROM), a storage of distributed computing systems, an optical disk (such as a compact disc (CD), digital versatile disc (DVD), or Blu-ray Disc (BD)™), a flash memory device, a memory card, and the like.
While the present disclosure has been described with reference to exemplary embodiments, the scope of the following claims are to be accorded the broadest interpretation so as to encompass all such modifications and equivalent structures and functions.
This application claims the benefit of Japanese Patent Application No. 2016-141290 filed Jul. 19, 2016, which is hereby incorporated by reference herein in its entirety.
Number | Date | Country | Kind |
---|---|---|---|
2016-141290 | Jul 2016 | JP | national |