Search

EP-4738861-A1 - SETTING METHOD, SETTING APPARATUS, AND COMPUTER PROGRAM

EP4738861A1EP 4738861 A1EP4738861 A1EP 4738861A1EP-4738861-A1

Abstract

A method det the image capture region of the camera that accurately generates movement paths. A setting method is to be executed in a setting device that is connected to a plurality of cameras that captures different regions in one space and sets regions of videos to be used for generating a flow line of a target using videos obtained from the plurality of cameras. The setting method includes: acquiring, by a setting device, videos each including a plurality of frames captured by the plurality of cameras; extracting, by the setting device, a first region from each frame of a first video captured by a first camera; extracting, by the setting device, a second region different from the first region from each frame of a second video captured by a second camera that captures a region adjacent to a region captured by the first camera, detecting, by the setting device, a first flow line of a target from the first region for each frame of the first video, detecting, by the setting device, a second flow line of the target from the second region for each frame of the second video, and if the first flow line and the second flow line cannot be coupled to be one flow line, resetting, by the setting device, an interval between the first region and the second region.

Inventors

  • MIZUKOSHI, Kosuke

Assignees

  • Panasonic Intellectual Property Management Co., Ltd.

Dates

Publication Date
20260506
Application Date
20240516

Claims (12)

  1. A setting method to be executed in a setting device that is connected to a plurality of cameras that captures different regions in one space and sets regions of videos to be used for generating a flow line of a target using videos obtained from the plurality of cameras, the setting method comprising: acquiring, by the setting device, the videos each including a plurality of frames captured by the plurality of cameras; extracting, by the setting device, a first region from each frame of a first video captured by a first camera; extracting, by the setting device, a second region different from the first region from each frame of a second video captured by a second camera that captures a region adjacent to a region captured by the first camera; detecting, by the setting device, a first flow line of the target from the first region for each frame of the first video; detecting, by the setting device, a second flow line of the target from the second region for each frame of the second video; and if the first flow line and the second flow line cannot be coupled to be one flow line, resetting, by the setting device, an interval between the first region and the second region.
  2. The setting method according to claim 1, wherein if the first flow line and the second flow line cannot be coupled to be one flow line, the setting device sets the interval between the first region and the second region to be narrower.
  3. The setting method according to claim 1, wherein if the first flow line overlaps with the second flow line, the setting device sets the interval between the first region and the second region to be wider.
  4. The setting method according to claim 1 or 2, wherein if the first flow line and the second flow line are coupled, the setting device newly determines the first region determined in previous processing as the first region, and newly sets the second region determined in the previous processing as the second region.
  5. The setting method according to claim 2, wherein if the setting device sets the interval between the first region and the second region to be narrower, a size of at least one of the first region or the second region is increased.
  6. The setting method according to claim 3, wherein if the setting device sets the interval between the first region and the second region to be wider, a size of at least one of the first region or the second region is reduced.
  7. The setting method according to claim 2, wherein if the setting device sets the interval between the first region and the second region to be narrower, at least one of the first region or the second region is slid so as to be closer to or partially overlap with the other region.
  8. The setting method according to claim 3, wherein if the setting device sets the interval between the first region and the second region to be wider, at least one of the first region or the second region is set to be slid so as to be closer to the other region.
  9. The setting method according to claim 1, wherein the target is a person.
  10. The setting method according to claim 1, wherein the video is a video obtained by an omnidirectional camera.
  11. A setting device that is connected to a plurality of cameras that captures different regions in one space, and sets regions of videos to be used for generating a flow line of a target using videos obtained from the plurality of cameras, the setting device comprising an arithmetic circuit, the arithmetic circuit being configured to: acquire the videos each including a plurality of frames captured by the plurality of cameras; cut out a first region from each frame of a first video captured by a first camera; cut out a second region different from the first region from each frame of a second video captured by a second camera that captures a region adjacent to a region captured by the first camera; detect a first flow line of the target from the first region for each frame of the first video; detect a second flow line of the target from the second region for each frame of the second video; and if the first flow line and the second flow line cannot be coupled to be one flow line, reset an interval between the first region and the second region.
  12. A computer program to be executed by a setting device that is connected to a plurality of cameras that captures different regions in one space, and sets regions of videos to be used for generating a flow line of a target using videos obtained from the plurality of cameras, the computer program causing the setting device to execute the setting method according to claim 1.

Description

TECHNICAL FIELD The present disclosure relates to a setting method, a setting device, and a computer program for setting regions of videos to be used for generating a flow line of a target using videos captured by a plurality of cameras. BACKGROUND ART A monitoring device that monitors a target moving in a specific space is known (see, for example, Patent Document 1). In a monitoring camera, it is important to accurately grasp a target space. Patent Document 1 discloses correspondence between a map and a camera image. In addition, a technique for extracting a flow line of a target moving in a specific space is also known (see, for example, Non-patent Documents 1 and 2). PRIOR ART DOCUMENT PATENT DOCUMENT Patent Document 1: JP-A-2015-32069 Non-patent Document Non-patent Document 1: "On-site Cyber Physical System Technology for B2B", Hidehiko Shin, and three others, Panasonic Technical Journal, Vol. 65, No. 1, May 2019Non-patent Document 2: "Multi-Camera People Tracking with a Probabilistic Occupancy Map", Francois Fleuret, et al., March 2007 SUMMARY OF THE INVENTION PROBLEMS TO BE SOLVED BY THE INVENTION In flow line extraction using only a video captured by one camera, a space in which the flow line can be generated is narrow. Further, it is not easy to combine videos captured by a plurality of cameras. Specifically, setting of regions of videos captured by the plurality of cameras is affected by various conditions such as a size of a target, a moving speed of the target, an environment in which the target moves, installation positions of the cameras, and performance of the cameras. The present disclosure provides a setting method, a setting device, and a computer program for setting regions of videos to be used for generating a flow line of a target using videos captured by a plurality of cameras. SOLUTIONS TO THE PROBLEMS A setting method of the present disclosure is to be executed in a setting device that is connected to a plurality of cameras that captures different regions in one space and sets regions of videos to be used for generating a flow line of a target using videos obtained from the plurality of cameras. The setting method includes: acquiring, by a setting device, videos each including a plurality of frames captured by the plurality of cameras; extracting, by the setting device, a first region from each frame of a first video captured by a first camera; extracting, by the setting device, a second region different from the first region from each frame of a second video captured by a second camera that captures a region adjacent to a region captured by the first camera, detecting, by the setting device, a first flow line of a target from the first region for each frame of the first video, detecting, by the setting device, a second flow line of the target from the second region for each frame of the second video, and if the first flow line and the second flow line cannot be coupled to be one flow line, resetting, by the setting device, an interval between the first region and the second region. Such a general and specific aspect may be implemented by a system, a method, a computer program, and a combination thereof. EFFECTS OF THE INVENTION The setting method, the setting device, and the computer program of the present disclosure can set regions of videos to be used for generating a flow line of a target using videos captured by a plurality of cameras. BRIEF DESCRIPTION OF THE DRAWINGS Fig. 1A illustrates an example of a first flow line and a second flow line obtained from videos captured by two cameras.Fig. 1B illustrates an example in which the first flow line and the second flow line illustrated in Fig. 1A are coupled.Fig. 1C illustrates an example in which the first flow line overlaps with the second flow line.Fig. 1D illustrates an example in which a partial region is cut out from frames obtained from the videos captured by the two cameras.Fig. 2 is a schematic view for describing the videos captured by the two cameras and regions to be cut out from the videos.Fig. 3 is a block diagram illustrating a configuration of a setting device according to a first embodiment.Fig. 4A is a schematic view illustrating an example of region data to be used by the setting device.Fig. 4B is a schematic view illustrating an example of region data to be used by the setting device.Fig. 5A is a schematic view illustrating regions to be set for two different cameras.Fig. 5B is a schematic view illustrating an example in which the regions of Fig. 5A are changed.Fig. 5C is a schematic view illustrating an example in which the regions of Fig. 5A are changed.Fig. 5D is a schematic view illustrating an example in which the regions of Fig. 5A are changed.Fig. 5E is a schematic view illustrating an example in which the regions of Fig. 5A are changed.Fig. 6A is a schematic view illustrating an example of order of region setting by the setting device.Fig. 6B is a schematic view illustrating another example of the order of