# Patent

## Title
Monitoring apparatus, monitoring system, and monitoring method

## Abstract

A monitoring apparatus according to embodiments of the invention generates and outputs an output moving image obtained by changing an image area of a person detected from an imaged moving image of a monitoring area to a mask image. The monitoring apparatus includes a person image analyzer including a person detector which detects a person from the imaged moving image and acquires area information regarding each person and an attribute determinator which determines attributes for each person detected from the imaged moving image, a mask image setter which sets the mask image by the attribute, and a moving image output controller which generates and outputs the output moving image obtained by changing the image area for each person to the mask image by the attribute, based on the area information and the attribute for each person output from the person image analyzer.

## Background
TECHNICAL FIELD
The present invention relates to a monitoring apparatus, a monitoring system, and a monitoring method that generate and output an output moving image obtained by changing an image area of a person detected from an imaged moving image of a monitoring area to a mask image.
BACKGROUND OF THE INVENTION
A monitoring system of installing a camera which images the inside of the store and monitoring a person in the store through a moving image of the camera is widely used in a store such as a convenience store, but in a case of using the imaged moving image for a purpose other than the monitoring, that is, for a purpose of marketing analysis or service improvement, it is necessary to protect privacy of customers.
Meanwhile, Japanese Patent Unexamined Publication No. 2013-186838 discloses a technology of displaying feature points on an image obtained by changing the entire person area in each image of a moving image captured by a camera to an image covered with a predetermined color, and grasping how the person moves. Japanese Patent No. 5159381 discloses a technology of generating a background image having no foreground image of a person, performing mask processing or filter processing with partial or entire translucency to foreground image, and generating an image where a face or a figure of a person is hardly specified.
In order to grasp the action of the person from the moving image, to watching the person while distinguishing the person from the background is unavoidable, but as the technologies in the related art, the image area of the person is replaced with the specific image to easily discriminate between the background and the person, and accordingly, it is easy to grasp the action of the person.
Meanwhile, it is desired to grasp what kind of tendency the action of the person has by attribute of a person (gender, age, and the like), but in the technologies in the related art, there are no concerns about such a demand, and it is difficult to efficiently perform an operation of grasping the action tendency of the person by attribute of a person. Particularly, in a case where a lot of persons are shown in a moving image, it is necessary to watch the actions of the persons while differentiating each person and determining customer base of each person, and accordingly, a burden of a user is large when the playback time of the moving image is long, and a technology of efficiently performing the operation of grasping the action tendency of the person by attribute of a person is desired.
It is desired to grasp what kind of tendency the action of the person has by date and time (day or time zone), but in the technologies in the related art, there is no concerns about such a demand, and it is difficult to efficiently perform an operation of grasping the action tendency of the person by date and time. Particularly, in order to grasp the action tendency of the person by date and time, it is necessary to watch the action of the person while comparing the moving images having different date and time from each other, and accordingly, a burden of a user is large when the playback time of the moving image is long, and a technology of efficiently performing the operation of grasping the action tendency of the person by date and time is desired.
It is desired to grasp how products change with the action of the person, but in the technologies in the related art, there is no concerns about such a demand, and it is difficult to efficiently performing an operation of grasping a changing situation of the product. Particularly, it is difficult to grasp the state of the products, in a moving image where the action of the person can be grasped, and accordingly, a burden of a user is large when the playback time of the moving image is long, and a technology of efficiently perform the operation of grasping the changing situation of the product with the action of the person is desired.
SUMMARY OF THE INVENTION
A monitoring apparatus according to an embodiment of the invention generates and outputs an output moving image obtained by changing an image area of a person detected from an imaged moving image of a monitoring area to a mask image. The monitoring apparatus includes a person image analyzer including a person detector which detects a person from the imaged moving image and acquires area information regarding each person and an attribute determinator which determines attributes for each person detected from the imaged moving image, a mask image setter which sets the mask image by the attribute, and a moving image output controller which generates and outputs the output moving image obtained by changing the image area for each person to the mask image by the attribute, based on the area information and the attribute for each person output from the person image analyzer.



BRIEF DESCRIPTION OF DRAWINGS
FIG. 1 is an overall configuration diagram of a monitoring system according to a first exemplary embodiment;
FIG. 2 is a plan view of a store illustrating a layout of the store and an installation situation of cameras 1;
FIG. 3 is a functional block diagram showing a schematic configuration of PC 3;
FIG. 4 is an explanatory diagram showing a monitoring screen displayed on monitor 4;
FIG. 5 is an explanatory diagram showing a mask image setting screen displayed on monitor 4;
FIGS. 6A and 6B are explanatory diagrams showing main parts of moving images displayed on moving image display part 48 of a monitoring screen;
FIG. 7 is a functional block diagram showing a schematic configuration of PC 3 of a monitoring system according to a second exemplary embodiment;
FIG. 8 is an explanatory diagram showing a monitoring screen displayed on monitor 4;
FIG. 9 is an explanatory diagram showing a mask image setting screen displayed on monitor 4;
FIGS. 10A and 10B are explanatory diagrams showing moving images on two imaging dates and times;
FIGS. 11A and 11B are explanatory diagrams showing main parts of moving image display part 48 of a monitoring screen;
FIG. 12 is a functional block diagram showing a schematic configuration of PC 3 of a monitoring system according to a third exemplary embodiment;
FIG. 13 is an explanatory diagram showing a monitoring screen displayed on monitor 4;
FIG. 14 is an explanatory diagram showing a mask image setting screen displayed on monitor 4;
FIGS. 15A and 15B are explanatory diagrams showing main parts of moving image display part 48 of a monitoring screen;
FIGS. 16A, 16B, and 16C are explanatory diagrams showing main parts of moving image display part 48 of a monitoring screen; and
FIG. 17 is an explanatory diagram showing another example of a monitoring screen displayed on monitor 4.



DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
The invention is proposed to solve problems of technologies in the related art, and a main object thereof is to provide a monitoring apparatus, a monitoring system, and a monitoring method which can make a user efficiently perform an operation of grasping an action tendency of a person by attribute of a person.
The invention is proposed to solve problems of technologies in the related art, and a main object thereof is to provide a monitoring apparatus, a monitoring system, and a monitoring method which can make a user efficiently perform an operation of grasping an action tendency of a person by date and time.
The invention is proposed to solve problems of technologies in the related art, and a main object thereof is to provide a monitoring apparatus, a monitoring system, and a monitoring method which can make a user efficiently perform an operation of grasping a changing situation of a product with the action of the person.
According to a first aspect of the invention, there is provided a monitoring apparatus which generates and outputs an output moving image obtained by changing an image area of a person detected from an imaged moving image of a monitoring area to a mask image, the apparatus including: a person image analyzer including a person detector which detects a person from the imaged moving image and acquires area information regarding each person and an attribute determinator which determines attributes for each person detected from the imaged moving image; a mask image setter which sets the mask image by the attribute; and a moving image output controller which generates and outputs the output moving image obtained by changing the image area for each person to the mask image by the attribute, based on the area information and the attribute for each person output from the person image analyzer.
In this case, since the mask images are displayed by attributes, it is possible to simply grasp the attribute of the person appearing on the moving image, and therefore, it is possible to efficiently perform the operation of grasping the action tendency of the person for each attribute of the person.
According to a second aspect of the invention, the mask image setter may set the mask image by the attribute, according to an input operation by a user of selecting the mask image by the attribute.
In this case, since it is possible for a user to freely set the mask image, it is possible to improve convenience to a user.
According to a third aspect of the invention, the mask image may be set to discriminate the attribute, by changing at least any of display elements such as a color, shading, a pattern, and an outline, according to the attribute.
In this case, it is possible to simply discriminate the persons having different attributes, by differences of the mask images.
According to a fourth aspect of the invention, the monitoring apparatus may further include a background image generator which generates a background image from the imaged moving image, and the moving image output controller generates the output moving image where the translucent mask image is superposed on the background image.
In this case, since the mask image has translucency, the background image is visible through the mask image, and therefore, it is possible to observe the action of the person while watching the situation of the monitoring area shown on the background image.
According to a fifth aspect of the invention, there is provided a monitoring system which generates and outputs an output moving image obtained by changing an image area of a person detected from an imaged moving image of a monitoring area to a mask image, the system including: cameras which image the monitoring area; a plurality of information processing apparatuses; a person image analyzer including a person detector which detects a person from the imaged moving image and acquires area information regarding each person and an attribute determinator which determines attributes for each person detected from the imaged moving image; a mask image setter which sets the mask image by the attribute; and a moving image output controller which generates and outputs the output moving image obtained by changing the image area for each person to the mask image by the attribute, based on the area information and the attribute for each person output from the person image analyzer.
In this case, in the same manner as in the first aspect, it is possible for a user to efficiently perform the operation of grasping the action tendencies of the persons by the attributes of the persons.
According to a sixth aspect of the invention, there is provided a monitoring method which causes an information processing apparatus to perform a process of generating and outputting an output moving image obtained by changing an image area of a person detected from an imaged moving image of a monitoring area to a mask image, the method including: a step including a step of detecting a person from the imaged moving image and acquiring area information regarding each person and a step of determining attributes for each person detected from the imaged moving image; a step of setting the mask image by the attribute; and a step of generating and outputting the output moving image obtained by changing the image area for each person to the mask image by the attribute, based on the area information and the attribute for each person.
In this case, in the same manner as in the first aspect, it is possible for a user to efficiently perform the operation of grasping the action tendencies of the persons by the attributes of the persons.
Hereinafter, the embodiments of the invention will be described with reference to the drawings.
First Exemplary Embodiment
FIG. 1 is an overall configuration diagram of a monitoring system according to a first exemplary embodiment. This monitoring system is built for a chain of retail stores such as convenience stores, and includes camera (imaging apparatus) 1, recorder (image recording apparatus) 2, PC (monitoring apparatus) 3, monitor (display apparatus) 4, which are provided in a plurality of stores, and PC 11 and monitor 12 which are provided in a head office which generally manages the plurality of stores.
Cameras 1 are installed in appropriate places in the store, the inside of the store is imaged by cameras 1, and image information obtained is recorded in recorder 2. In PC 3 installed in the store or PC 11 installed in the head office, it is possible to browse the image of the inside of the store imaged by cameras 1 in real time, it is possible to browse the image of the inside of the store in the past recorded in recorder 2, and therefore, it is possible to check the situation in the store, in the store or in the head office.
PC 3 installed in the store is configured as a monitoring apparatus which monitors the state of the person or the product in the store. It is possible to browse monitoring information generated by PC 3 in PC 3, and it is also possible to browse the monitoring information in PC 11 by transmitting the monitoring information to PC 11 installed in the head office. PC 3 and PC 11 are configured as a browsing apparatus which browses monitoring information. PC 3 and PC 11 include a processor (CPU) and a program memory. The CPU of PC 3 is realized by executing programs (instructions) for monitoring. The programs may be introduced to PC 3 as an information processing apparatus in advance to configure the PC as a dedicated apparatus, or may be supplied to a user by being recorded in a suitable program recording medium as an application program to be operated on a general-use OS, or through a network.
Next, a layout of the store and an installation state of cameras 1 will be described using a convenience store as an example. FIG. 2 is a plan view of a store illustrating the layout of the store and the installation state of cameras 1.
In the store, an entrance, display shelves (display areas), and cash registers are provided. The display shelves are installed to be divided into types of products such as a lunch box, a PET bottle, onigiri, and the like. A display shelf for fast food is installed next to the cash registers.
A customer enters the store from the entrance, moves in the store through passages between the display shelves, heads for the cash register with a product when a desired product is found, makes a payment at the cash register, and exits the store from the entrance.
The plurality of cameras 1 which image the inside of the store (monitoring area) are installed in the store. Particularly, in the example shown in FIG. 2, an omnidirectional camera including an imaging range at 360 degrees using a fisheye lens is employed as camera 1, and it is possible to image the products displayed on the display shelves and to image the person staying in front of the display shelves or the cash registers by camera 1.
Next, the process performed by PC 3 shown in FIG. 1 will be described with based on a functional block diagram. FIG. 3 is a functional block diagram showing a schematic configuration of PC 3.
PC 3 includes a monitoring unit 31. Monitoring unit 31 causes PC 3 to function as a monitoring system which monitors the inside of the store. Monitoring unit 31 can control the operations of cameras 1 and recorder 2, can browse the image of the inside of the store imaged by cameras 1 in real time, and can browse the image of the inside of the store recorded by recorder 2.
PC 3 includes person image analyzer 32, background image generator 33, moving image output controller 34, and mask image setter 35.
Person image analyzer 32 analyzes a moving image imaged by camera 1 and acquires information regarding the person, and includes person detector 37 and attribute determinator 38.
Person detector 37 performs a process of detecting the person from the imaged moving image and acquiring area information for each person (positional information regarding an image area of a person). Attribute determinator 38 performs a process of determining attribute (gender, age, and the like) for each person detected from the imaged moving image. For the processes performed by person detector 37 and attribute determinator 38, a well-known image recognition technology may be used. It is desired to perform a person tracking process of correlating person detection results for each frame of the imaged moving image by person image analyzer 32, and therefore, it is possible to perform attribute determination with high accuracy.
Mask image setter 35 performs a process of setting a mask image by attribute. Particularly, in the embodiment, a process of setting a mask image by attribute is performed according to an input operation by a user for selecting a mask image for each attribute of the person. The mask image by attribute may be set in advance.
Background image generator 33 performs a process of generating a background image from the imaged moving image. This background image is obtained by removing the image of the person (foreground image) from the imaged moving image. Each image of the person from the plurality of moving images recently imaged may be removed and the background image may be synthesized from the plurality of images. The imaged moving image when there are no persons, for example, the moving image imaged before opening the store, may be prepared in advance as the background image.
Moving image output controller 34 performs a process of generating and outputting an output moving image obtained by changing the image area of the person to a mask image, based on the area information and attribute for each person output by person image analyzer 32. In the embodiment, a process of generating a mask image having an outline corresponding to the image area of the person in the imaged moving image and superposing the mask image on the background image generated by background image generator 33 is performed.
The mask image is set for a user to discriminate the attribute by changing at least any of display elements such as a color, shading, a pattern (design), and an outline, according to the attribute. Particularly, in the embodiment, the outline of the image area of the person is generated from the area information regarding each person (positional information regarding the image area of the person) and the inside of the outline is covered with a translucent image. The outline may be set not to be displayed or the outline may be displayed to be discriminated from the covered area by changing a color or shading.
Next, a monitoring screen displayed on monitor 4 shown in FIG. 1 will be described. FIG. 4 is an explanatory diagram showing the monitoring screen displayed on monitor 4.
This monitoring screen is provided for a user to check the situation in the store for a purpose of marketing analysis or service improvement, and the monitoring screen is provided with store selection part 41, start button 42, setting button 43, operation mode selection part 44, date and time display part 45, date and time setting button 46, explanatory note display part 47, moving image display part 48, and display time point operation part 49.
A user selects the store from a pull-down menu in store selection part 41. Start button 42 starts the monitoring process by the PC. Setting button 43 sets various conditions in the monitoring process, and in the embodiment, when setting button 43 is operated, a mask image setting screen (see FIG. 5) is displayed as a pop-up. Operation mode selection part 44 selects an operation mode. Operation modes such as selling area monitoring, product monitoring, display alert, and stockout alert are prepared, and the selling area monitoring is selected herein.
Date and time display part 45 displays date and time. Date and time setting button 46 sets the date and time. When date and time setting button 46 is operated, a date and time setting screen (not shown) is displayed, and by selecting the date and time herein, the selected date and time is displayed on date and time display part 45, and the moving image on the selected date and time is displayed on moving image display part 48.
Explanatory note display part 47 explains the mask image displayed on moving image display part 48. In the embodiment, the mask image set by the attribute of the person (gender, age, and the like) is displayed on explanatory note display part 47. In the example shown in FIG. 4, the age is set as all generations, but in a case where the mask image is set for each generation of the teenagers to sixties, for example, the mask image of each generation is displayed on explanatory note display part 47.
The moving image (video) of the store is displayed on moving image display part 48. Particularly, in the example shown in FIG. 4, two panoramic moving images of the moving image imaged by camera 1 which is the omnidirectional camera, are displayed. The entire store is shown in the two moving images, and it is possible to check the situation of the entire store. In moving image display part 48, the moving image imaged by camera 1 is displayed as it is in a normal playback mode, and the moving image obtained by changing the image area of the person to the mask image is displayed in a mask playback mode. The moving image displayed on moving image display part 48 will be described later in detail.
Display time point operation part 49 adjusts the time point of the moving image displayed on moving image display part 48. By operating display time point operation part 49, it is possible to replace the moving image with a moving image on the desired time point. Specifically, when slider 50 is moved using input device 6 such as a mouse, the moving image at the time point indicated by slider 50 is displayed on moving image display part 48. Accordingly, it is possible to check the situation of the store on the desired time point with the moving image on moving image display part 48. When playing the moving image of moving image display part 48, it is possible to set normal playback, fast-forward playback, or rewind playback by using operation button 51. In this case, even when playing the moving image recorded for a long time in the mask playback mode, it is possible to efficiently check the moving image.
Next, the operation of setting the mask image by attribute will be described. FIG. 5 is an explanatory diagram showing a mask image setting screen displayed on monitor 4.
The mask image setting screen is provided for a user to designate the mask image for each attribute of the person, and the mask image setting screen is provided with person attribute selection part 61, mask image selection part 62, setting button 63, and set contents display part 64.
A user selects the attribute of the person (gender, age, and the like) from a pull-down menu in person attribute selection part 61. It is possible to select any one of generations from teenagers to sixties and all generations, for example, in person attribute selection part 61. The attribute of the person may be set as adults and children. A user selects from a title menu the mask image corresponding to the attribute selected in person attribute selection part 61, in mask image selection part 62.
When the attribute of the person and the mask image corresponding thereto are selected in person attribute selection part 61 and mask image selection part 62, and setting button 63 is operated, the set contents, that is, the mask images by attribute, are displayed in set contents display part 64. In the example shown in FIG. 5, the mask images for male and female are set by setting the age as all generations.
Next, the moving image displayed on moving image display part 48 of the monitoring screen shown in FIG. 4 will be described. FIGS. 6A and 6B are explanatory diagrams showing main parts of the moving image displayed on moving image display part 48 of the monitoring screen shown in FIG. 4.
As shown in FIG. 6A, the moving image imaged by camera 1 is displayed as it is in the normal playback mode. In contrast, as shown in FIG. 6B, the moving image obtained by changing the image area of the person to the mask image is displayed in the mask playback mode after performing the mask image setting. In this moving image, the image area of the person in the imaged moving image of FIG. 6A is replaced with the mask image by attributes (male and female, herein). Since the mask image has translucency, the background image is visible through the mask image.
When playing the imaged moving image, it is preferable to display an icon for play mode discrimination to be superposed with the moving image, so that a user can discriminate in which playback mode the moving image is played. It is also possible to discriminate the playback mode by displaying a color of the moving image display frame in the mask playback mode and a color of the moving image display frame in the normal playback mode, with different colors.
In the first exemplary embodiment as described above, since the mask images by attribute, for example, male and female, are displayed, it is possible to simply grasp the attribute of the person appearing on the moving image, and therefore, it is possible to efficiently perform the operation of grasping the action tendency of the person for each attribute of the person.
The gender and the age have been described as the examples of the attribute of the person, but various attributes such as a direction of a person, the race, adults/children, and a type (female office worker or male office worker) can be set as the attributes obtained by using a well-known person recognition technology. Particularly, when using the attribute of the direction of the person, it is possible to grasp a taste of each person with respect to the product in the mask playback mode.
Second Exemplary Embodiment
Next, a second exemplary embodiment will be described. The points not particularly stated herein are the same as in the first exemplary embodiment.
FIG. 7 is a functional block diagram showing a schematic configuration of PC 3 of the monitoring system according to the second exemplary embodiment. In the second exemplary embodiment, in the same manner as in the first exemplary embodiment, PC 3 includes monitoring unit 31, person image analyzer 32, background image generator 33, moving image output controller 34, and mask image setter 35, and PC 3 in the second exemplary embodiment further includes date and time setter 71.
In the second exemplary embodiment, in the same manner as in the first exemplary embodiment, it is possible to display the mask image by the attribute of the person (gender, age, and the like), but it is also possible to display the mask image by date and time. It is also possible to have a configuration of displaying only the mask image by date and time, without displaying the mask image by the attribute of the person.
Date and time setter 71 performs a process of setting the plurality of dates and times according to the input operation by a user of designating the imaging date and time. Mask image setter 35 performs a process of setting a mask image by the imaging date and time and by the attribute of the person, according to the input operation by a user of selecting the mask image by the imaging date and time and by the attribute of the person. Person image analyzer 32 performs a process of acquiring the imaged moving image on the plurality of dates and times set by date and time setter 71 and acquiring the person area information for each person (positional information regarding the image area of the person) by the imaging date and time.
Moving image output controller 34 performs a process of generating and outputting an output moving image obtained by changing the image area of the person by the plurality of imaging dates and times to a mask image by the imaging date and time and by the attribute of the person, based on the area information regarding each person output from person image analyzer 32, and the output images are the mask images for each person on the plurality of dates and times which are displayed so as to discriminate the imaging dates and times and the attribute of the person on one background image.
In the second exemplary embodiment, the mask image is set for a user to discriminate the attribute and the imaging dates and times by changing at least any of display elements such as a color, shading, a pattern, and an outline, according to the attribute and the imaging date and time. Particularly, in the embodiment, the inside of the outline of the image area of the person is covered with a translucent image.
Next, a monitoring screen displayed on monitor 4 will be described. FIG. 8 is an explanatory diagram showing the monitoring screen displayed on monitor 4.
Even in the second exemplary embodiment, a monitoring screen having a configuration approximately similar to that of the first exemplary embodiment (see FIG. 4) is displayed on monitor 4, and in the monitoring screen, a mask image set by the plurality of imaging dates and times and by the attribute of the person is displayed on explanatory note display part 47.
Next, the operation of setting the mask image by the attribute and the imaging dates and times will be described. FIG. 9 is an explanatory diagram showing a mask image setting screen displayed on monitor 4.
The mask image setting screen is provided for a user to designate the mask image for each attribute of the person and for each imaging dates and times, and the mask image setting screen is provided with person attribute selection part 81, date and time selection part 82, mask image selection part 83, setting button 84, and setting contents display part 85.
A user selects the attribute of the person (gender, age, and the like) from a pull-down menu in person attribute selection part 81. A user selects the date and time (year, month, date, and time zone) from a pull-down menu in date and time selection part 82. A user selects the order of priority from a pull-down menu in date and time selection part 82. A user selects the mask image corresponding to the attribute selected in person attribute selection part 81 and the imaging date and time selected in date and time selection part 82, from a title menu in mask image selection part 83.
When the attribute of the person, the imaging date and time, and the mask image corresponding thereto are selected in person attribute selection part 81, date and time selection part 82, and mask image selection part 83, and setting button 84 is operated, the set contents, that is, the mask images by attribute and by imaging date and time are displayed in set contents display part 85. This setting operation is at least performed twice, and the mask images are set on the plurality of imaging dates and times. In the example shown in FIG. 9, the same time zones on different dates are set as two imaging dates and times.
Next, the outline of the process performed by moving image output controller 34 and the moving image displayed on moving image display part 48 of the monitoring screen will be described. FIGS. 10A and 10B are explanatory diagrams showing a moving image on two imaging dates and times. FIGS. 11A and 11B are explanatory diagrams showing main parts of moving image display part 48 of the monitoring screen shown in FIG. 8.
FIG. 10A shows an imaged moving image on a first imaging date and time. FIG. 10B shows imaged moving image on a second imaging date and time. Moving image output controller 34 performs a process of generating a mask image having an outline corresponding to an image area of a person in the imaged moving image on the first imaging date and time, generating a mask image having an outline corresponding to an image area of a person in the imaged moving image on the second imaging date and time, and superposing the mask image in a position corresponding to the background image generated by background image generator 33. Accordingly, as shown in FIG. 11, the mask image is displayed on moving image display part 48 of the monitoring screen.
Herein, in the second exemplary embodiment, the mask images on different imaging dates and times are displayed at the same time, and the mask images on different imaging dates and times are superposed with each other, in some cases. In the second exemplary embodiment, as a display method of the mask images on different imaging dates and times, as shown in FIG. 11A, a normal display mode where the display is not performed based on the order of priority can be selected, and as shown in FIG. 11B, a priority display mode where the display is performed based on the order of priority can be selected.
As shown in FIG. 11A, in the normal display mode where the display is not performed based on the order of priority can be selected, the superposed part of the mask images on different dates and times are displayed to be discriminated from the part other than the mask images, that is, the parts not superposed with the mask images of the other persons. In the example shown in FIG. 11A, the superposed part of the mask image is displayed with an image obtained by synthesizing each mask image. For example, the part where a red mask image and a blue mask image are superposed with each other is displayed in purple, and the superposed parts of the mask images are displayed at transmittance obtained by adding transmittance of each mask image.
As shown in FIG. 11B, in the priority display mode in which the display is performed based on the order of priority, the parts where the mask images on different dates and times are superposed are displayed so that the mask image on the date and time having higher order of priority covers the mask image on the date and time having lower order of priority.
In the second exemplary embodiment as described above, since the mask images by the plurality of imaging dates and times, for example, today and yesterday are displayed, it is possible to simply grasp the imaging date and time of the person appearing on the moving image, and therefore, it is possible to efficiently perform the operation of grasping the action tendency of the person by the date and time. Herein, when the plurality of imaging dates and times are set as the same time points on different dates, it is possible to compare the action tendencies of the persons for each date, and when the plurality of imaging dates and times are set as the time zones in the morning and the evening of the same date, it is possible to compare the action tendencies of the persons for each time zone in morning and evening.
Third Exemplary Embodiment
Next, a third exemplary embodiment will be described. The points not particularly stated herein are the same as in the first exemplary embodiment.
FIG. 12 is a functional block diagram showing a schematic configuration of PC 3 of a monitoring system according to the third exemplary embodiment. In the third exemplary embodiment, in the same manner as in the first exemplary embodiment, PC 3 includes monitoring unit 31, person image analyzer 32, background image generator 33, moving image output controller 34, and mask image setter 35, and PC 3 in the third exemplary embodiment further includes background image analyzer 91.
Background image analyzer 91 performs a process of acquiring goods changing information regarding appearance and disappearance of the product in the image area of the background in the imaged moving image. In this background image analysis process, by comparing the plurality of background images obtained by removing the images of the persons (foreground images) from the imaged moving image, the changed states (appearance and disappearance) of the products are detected, and area information of the changed products (positional information regarding image area of product) is acquired.
Moving image output controller 34 performs a process of generating and outputting an output moving image displayed so as to discriminate the changes (appearance and disappearance) of the products in the image area of the background, based on the goods changing information output from background image analyzer 91. Herein, when the product disappears, the image area where the product has been present in the moving image before the disappearance may be changed to a translucent mask image, and when the product appears, the image area of the product may be highlighted.
Various appropriate methods may be used for highlighting when the product appears. For example, the outline of the image area of the product may be displayed, or when the product is small and it is difficult to recognize the product, an animation display such as blinking may be performed. When the product appears, the image area of the product may be changed to the translucent mask image, in the same manner as when the product disappears. Appropriate mark images, for example, images of signals such as O or X, may be displayed in the position of the changed (appearance or disappearance) product.
In the third exemplary embodiment, the changed situations (appearance and disappearance) of the products are displayed to be discriminated. Also, in the same manner as in the first exemplary embodiment, it is possible to display the mask image of the person by attribute, mask image setter 35 performs a process of setting a mask image according to an input operation by a user for selecting a mask image for each attribute of the person, attribute determinator 38 performs a process of determining attribute (gender, age, and the like) for each person detected from the imaged moving image, and moving image output controller 34 performs a process of generating and outputting an output moving image obtained by changing the image area of the person to a mask image by attribute.
Next, a monitoring screen displayed on monitor 4 will be described. FIG. 13 is an explanatory diagram showing the monitoring screen displayed on monitor 4.
Even in the third exemplary embodiment, a monitoring screen having a configuration approximately similar to that of the first exemplary embodiment (see FIG. 4) is displayed on monitor 4, and in the monitoring screen, the mask image set by the attribute of the person and the mask image showing the disappeared product are displayed on explanatory note display part 47.
Next, the operation of setting the mask images by the attribute of the person and the mask image of the changed states (appearance and disappearance) of the product will be described. FIG. 14 is an explanatory diagram showing a mask image setting screen displayed on monitor 4.
This mask image setting screen sets the mask images by the attributes of the person and sets the mask images of the changed states (appearance and disappearance) of the product. This mask image setting screen includes person setting part 101, product setting part 102, and set contents display part 103.
In the same manner as in the first exemplary embodiment (see FIG. 5), person setting part 101 includes person attribute selection part 104, mask image selection part 105, and setting button 106. When the attribute of the person (gender, age, and the like) is selected in person attribute selection part 104, the mask image corresponding to the attribute of the person is selected in mask image selection part 105, and setting button 106 is operated, the set contents, that is, the mask image by attributes, are displayed on set contents display part 103.
Product setting part 102 is provided with changed state selection part 107, mask image selection part 108, and setting button 109. A user selects the changed states (appearance and disappearance) from a pull-down menu in changed state selection part 107. A user selects the mask image corresponding to the changed state selected in changed state selection part 107 from a title menu in mask image selection part 108. When the changed state and the mask image corresponding thereto are selected in changed state selection part 107 and mask image selection part 108, and setting button 109 is operated, the set contents, that is, the mask image of the changed state of the product, are displayed in set contents display part 103.
Next, the outline of the process performed by moving image output controller 34 and the moving image displayed on moving image display part 48 of the monitoring screen shown in FIG. 13 will be described. FIGS. 15A, 15B, 16A, 16B, and 16C are explanatory diagrams showing main parts of moving image display part 48 of the monitoring screen shown in FIG. 13.
In the third exemplary embodiment, in the same manner as in the first exemplary embodiment (see FIG. 6A), the moving image imaged by camera 1 is displayed as it is in moving image display part 48 in the normal playback mode, and as shown in FIGS. 15A and 15B, the output moving image obtained by changing the image area of the person to the mask image is displayed in the mask playback mode after performing the mask image setting.
Herein, as shown in FIG. 16A, the customer in front of the display shelf carries the product away. As shown in FIG. 16B, when the product disappears from the display shelf, the disappearance of the product is detected by background image analyzer 91, and moving image output controller 34 performs a process of changing the image area of the disappeared product on the background image to the mask image. Accordingly, as shown in FIG. 16C, the mask image is displayed in a position where the product has been present, in the mask playback mode.
The display of the mask image or the highlighting showing the changed state (appearance and disappearance) of the product may be completed when the predetermined time has elapsed from the time point of the change (appearance and disappearance) of the product. In the same manner as that of the mask image of the person, the mask image of the product is obtained by generating the outline of the image area of the product from the area information of the product (positional information regarding image area of product) and covering the inside of the outline with a translucent image.
In the third exemplary embodiment as described above, since the mask images are displayed by the attributes, it is possible to simply grasp the attribute of the person appearing on the moving image, and therefore, it is possible to efficiently perform the operation of grasping the action tendency of the person for each attribute of the person. Since the display is performed so as to discriminate the change of the product (at least any one of appearance and disappearance), it is possible for a user to discriminate the changing products, and therefore, it is possible for a user to efficiently perform the operation of grasping the changed state of the product with the action of the person.
In the third exemplary embodiment, both the appearance and the disappearance of the product is detected and the output image displayed so as to discriminate both the appearance and the disappearance is generated, but at least any one of the appearance and the disappearance of the product may only be a target.
FIG. 17 is an explanatory diagram showing another example of the monitoring screen displayed on monitor 4. In the examples described above, panoramic moving images imaged by camera 1 which is the omnidirectional camera, are displayed on moving image display part 48, but in an example shown in FIG. 17, the moving images imaged by camera 1 which is the omnidirectional camera, are displayed as they are.
Hereinabove, the invention has been described based on the specific embodiments, but the embodiments are merely examples, and the invention is not limited to the embodiments. Not all of constituent elements of the monitoring apparatus, the monitoring system, and the monitoring method according to the invention shown in the embodiments are necessary, and it is possible to appropriately remove and delete the constituent elements in a range of not departing from the scope of the invention.
For example, in the first to third exemplary embodiments, the example of a retail store such as a convenience store has been described, but there is no limitation to the retail store, and the invention can also be applied to a store with an operation format other than that of the retail store. In addition, it is possible to set a monitoring area other than the store as a target.
In the first to third exemplary embodiments, as shown in FIG. 2, camera 1 is set as the omnidirectional camera including an imaging range at 360 degrees using a fisheye lens, but a camera including a predetermined angle of view that is a so-called box camera can also be used.
In the first to third exemplary embodiments, the output moving image where the mask images for each person are superposed on the background image is generated, but the mask image can only be displayed without displaying the background image.
In the first to third exemplary embodiments, the necessary setting matters are input by selection from a pull-down menu or a title menu, but there is no limitation, and an appropriate input unit may be provided on the screen, and the selection may be performed with a radio button or a numerical value may be directly input.
In the first to third exemplary embodiments, various configurations having respective characteristics are described, but these configurations are not limited to the combination shown in each of the first to third exemplary embodiments, and the configurations shown in each of the first to third exemplary embodiments can be appropriately combined with each other.
In the first to third exemplary embodiments, the process necessary for the monitoring is performed by PC 3 provided in the store, but as shown in FIG. 1, the necessary process may be performed by PC 11 provided in the head office, or cloud computer 21 configuring a cloud computing system. The necessary process may be shared by a plurality of information processing apparatuses, and information may be transmitted to and received from the plurality of information processing apparatuses through a communication medium such as an IP network or a LAN. In this case, the monitoring system is configured with the plurality of information processing apparatuses sharing the necessary process.
In the configurations described above, among the processes necessary for the monitoring, at least a process having a large operation amount, for example, the person detection process, may be performed by PC3 provided in the store. By configuring as described above, since the amount of data of necessary information in the remaining processes is small, even when the remaining processes are caused to perform by an information processing apparatus installed in another place different from the store, for example, PC 11 installed in the head office, it is possible to decrease a communication load, and therefore, it is easy to operate the system by broad area network connection configuration.
Among the processes necessary for the monitoring, at least a process having a large operation amount, for example, the person detection process, may be performed by cloud computer 21. By configuring as described above, since an operation amount of the remaining process is small, a high-speed information processing apparatus is not necessary on the user side such as a store, and it is possible to reduce cost shouldered by a user.
Cloud computer 21 may perform all of the necessary processes or at least the moving image output control process among the necessary processes may be shared by the cloud computer 21. By configuring as described above, in addition to PC 3 and PC 11 provided in the store or the head office, it is also possible to display the moving image on a portable terminal such as smart phone 22 or tablet terminal 23, and therefore, it is possible to check the situations of the inside of the store in an arbitrary place such as places other than the store or the head office.
In the embodiment, PC 3 installed in the store performs the process necessary for the monitoring, and the monitoring screen or the mask image setting screen are displayed on monitor 4 of PC 3 to perform necessary input and output by PC 3, but the necessary input and output may be performed by an information processing apparatus other than the information processing apparatus which performs the process necessary for the monitoring, for example, PC 11 installed in the head office or a portable terminal such as tablet terminal 23.
Recently, a 4K television for achieving high image quality as a monitor has been developed, and by employing a camera corresponding to such a 4K television, it is possible to improve discrimination performance of a person. Even in an environment where there are a lot of persons, it is possible for a user to simply grasp the action tendencies of the person from a mask playback moving image.
The monitoring apparatus, the monitoring system, and the monitoring method according to the invention have an effect of allowing a user to efficiently perform the operation of grasping the action tendencies of the person by the attribute of the person, and are useful as a monitoring apparatus, a monitoring system, and a monitoring method which generate and output an output moving image obtained by changing an image area of a person detected from an imaged moving image of a monitoring area to a mask image.

## Claims

1. A monitoring apparatus which generates and outputs an output moving image obtained by changing an image area of a person detected from an imaged moving image of a monitoring area to a mask image, the apparatus comprising:
a processor; and
a memory which stores instructions,
wherein the monitoring apparatus further includes, as a configuration when the processor executes the instructions stored in the memory,
a person image analyzer including a person detector which detects a person from the imaged moving image and acquires area information regarding each person and an attribute determinator which determines attributes for each person detected from the imaged moving image,
a mask image setter which sets the mask image by the attribute, and
a moving image output controller which generates and outputs the output moving image obtained by changing the image area for each person to the mask image by the attribute, based on the area information and the attribute for each person output from the person image analyzer.

2. The monitoring apparatus of claim 1,
wherein the mask image setter sets the mask image by the attribute, according to an input operation by a user of selecting the mask image by the attribute.

3. The monitoring apparatus of claim 1,
wherein the mask image is set to discriminate the attribute, by changing at least any of display elements such as a color, shading, a pattern, and an outline, according to the attribute.

4. The monitoring apparatus of claim 1, further comprising:
a background image generator which generates a background image from the imaged moving image,
wherein the moving image output controller generates the output moving image where the translucent mask image is superposed on the background image.

5. A monitoring system which generates and outputs an output moving image obtained by changing an image area of a person detected from an imaged moving image of a monitoring area to a mask image, the system comprising:
cameras which image the monitoring area; and
a plurality of information processing apparatuses,
wherein any one of the plurality of information processing apparatuses includes a processor, and a memory which stores instructions, and
the monitoring system further includes, as a configuration when the processor executes the instructions stored in the memory,
a person image analyzer including a person detector which detects a person from the imaged moving image and acquires area information regarding each person and an attribute determinator which determines attributes for each person detected from the imaged moving image,
a mask image setter which sets the mask image by the attribute, and
a moving image output controller which generates and outputs the output moving image obtained by changing the image area for each person to the mask image by the attribute, based on the area information and the attribute for each person output from the person image analyzer.

6. A monitoring method which causes an information processing apparatus to perform a process of generating and outputting an output moving image obtained by changing an image area of a person detected from an imaged moving image of a monitoring area to a mask image, the method, when a processer of the information processing apparatus executes instructions stored in a memory, comprising:
a step including a step of detecting a person from the imaged moving image and acquiring area information regarding each person and a step of determining attributes for each person detected from the imaged moving image;
a step of setting the mask image by the attribute; and
a step of generating and outputting the output moving image obtained by changing the image area for each person to the mask image by the attribute, based on the area information and the attribute for each person.

7. A monitoring apparatus which generates and outputs an output moving image obtained by changing an image area of a person detected from an imaged moving image of a monitoring area to a mask image, the apparatus comprising:
a processor; and
a memory which stores instructions,
wherein the monitoring apparatus further includes, as a configuration when the processor executes the instructions stored in the memory,
a date and time setter which sets a plurality of imaging dates and times, according to an input operation by a user of designating the imaging date and time;

a person image analyzer including a person detector which detects a person from the imaged moving image and acquires area information regarding each person;
a mask image setter which sets the mask image by the imaging date and time; and
a moving image output controller which generates and outputs the output moving image obtained by changing the image area of the person to the mask image by the imaging date and time, based on the area information regarding each person output from the person image analyzer.

8. The monitoring apparatus of claim 7,
wherein the person image analyzer includes an attribute determinator which determines the attribute for each person detected from the imaged moving image, and
the mask image setter sets the mask image by the imaging date and time and by the attribute, according to an input operation by a user of selecting the mask image by the imaging date and time and by the attribute.

9. The monitoring apparatus of claim 7,
wherein the moving image output controller displays so as to discriminate a superposed part from a part other than the mask image, when the mask images of the plurality of persons are superposed with each other.

10. The monitoring apparatus of claim 7,
wherein the date and time setter applies the order of priority to the plurality of dates and times, and
the moving image output controller displays a superposed part so that the mask image on the imaging date and time having higher order of priority covers over the mask image on the imaging date and time having lower order of priority, when the mask images of the plurality of persons are superposed with each other.

11. The monitoring apparatus of claim 7,
wherein the mask image is set to discriminate imaging date and time, by changing at least any of display elements such as a color, shading, a pattern, and an outline, according to the imaging date and time.

12. The monitoring apparatus of claim 7, further comprising:
a background image generator which generates a background image from the imaged moving image,
wherein the moving image output controller generates the output moving image where the translucent mask image is superposed on the background image.

13. A monitoring system which generates and outputs an output moving image obtained by changing an image area of a person detected from an imaged moving image of a monitoring area to a mask image, the system comprising:
cameras which image the monitoring area; and
a plurality of information processing apparatuses,
wherein any one of the plurality of information processing apparatuses includes a processor, and a memory which stores instructions, and
the monitoring system further includes, as a configuration when the processor executes the instructions stored in the memory,
a date and time setter which sets a plurality of imaging dates and times, according to an input operation by a user of designating the imaging date and time,
a person image analyzer including a person detector which detects a person from the imaged moving image and acquires area information regarding each person,

a mask image setter which sets the mask image by the imaging date and time, and
a moving image output controller which generates and outputs the output moving image obtained by changing the image area of the person to the mask image by the imaging date and time, based on the area information regarding each person output from the person image analyzer.

14. A monitoring method which causes an information processing apparatus to perform a process of generating and outputting an output moving image obtained by changing an image area of a person detected from an imaged moving image of a monitoring area to a mask image, the method, when a processer of the image processing apparatus executes instructions stored in a memory, comprising:
a step of setting a plurality of imaging dates and times, according to an input operation by a user of designating the imaging date and time;
a step of detecting a person from the imaged moving image and acquiring area information regarding each person;
a step of setting the mask image by the imaging date and time; and
a step of generating and outputting the output moving image obtained by changing the image area of the person to the mask image by the imaging date and time, based on the area information regarding each person.

15. A monitoring apparatus which generates and outputs an output moving image obtained by changing an image area of a person detected from an imaged moving image of a monitoring area to a mask image, the apparatus comprising:
a processor; and
a memory which stores instructions,
wherein the monitoring apparatus further includes, as a configuration when the processor executes the instructions stored in the memory,
a person image analyzer including a person detector which detects a person from the imaged moving image and acquires area information regarding each person and an attribute determinator which determines attributes for each person detected from the imaged moving image,
a background image analyzer which acquires goods changing information regarding a changed situation of goods in an image area of a background in the imaged moving image,
a mask image setter which sets the mask image by the attribute, and
a moving image output controller which generates and outputs the output moving image obtained by changing the image area for each person to the mask image by the attribute, based on the area information and the attribute for each person output from the person image analyzer, and displayed so as to discriminate the changed situation of the goods in the image area of the background, based on the goods changing information output from the background image analyzer.

16. The monitoring apparatus of claim 15,
wherein the moving image output controller displays at least any one of appearance and disappearance of the goods to be discriminated, as the changed situation of the goods.

17. The monitoring apparatus of claim 15,
wherein the mask image setter sets the mask image by the attribute, according to an input operation by a user of selecting the mask image by the attribute.

18. The monitoring apparatus of claim 15,
wherein the mask image is set to discriminate the attribute, by changing at least any of display elements such as a color, shading, a pattern, and an outline, according to the attribute.

19. The monitoring apparatus of claim 15,
wherein the moving image output controller generates the output moving image obtained by changing the image area of the changed goods to the translucent mask image, in order to display the changed situation of the goods in the image area of the background to be discriminated.

20. The monitoring apparatus of claim 15, further comprising:
a background image generator which generates a background image from the imaged moving image,
wherein the moving image output controller generates the output moving image where the translucent mask image is superposed on the background image.

21. A monitoring system which generates and outputs an output moving image obtained by changing an image area of a person detected from an imaged moving image of a monitoring area to a mask image, the system comprising:
cameras which image the monitoring area; and
a plurality of information processing apparatuses,
wherein any one of the plurality of information processing apparatuses includes a processor, and a memory which stores instructions, and
the monitoring system further includes, as a configuration when the processor executes the instructions stored in the memory,
a person image analyzer including a person detector which detects a person from the imaged moving image and acquires area information regarding each person and an attribute determinator which determines attributes for each person detected from the imaged moving image,
a background image analyzer which acquires goods changing information regarding a changed situation of goods in an image area of a background in the imaged moving image,
a mask image setter which sets the mask image by the attribute, and
a moving image output controller which generates and outputs the output moving image obtained by changing the image area for each person to the mask image by the attribute, based on the area information and the attribute for each person output from the person image analyzer, and displayed so as to discriminate the changed situation of the goods in the image area of the background, based on the goods changing information output from the background image analyzer.

22. A monitoring method which causes an information processing apparatus to perform a process of generating and outputting an output moving image obtained by changing an image area of a person detected from an imaged moving image of a monitoring area to a mask image, the method, when a processer of the image processing apparatus executes instructions stored in a memory, comprising:
a step including a step of detecting a person from the imaged moving image and acquiring area information regarding each person and a step of determining attributes for each person detected from the imaged moving image;
a step of acquiring goods changing information regarding a changed situation of goods in an image area of a background in the imaged moving image;
a step of setting the mask image by the attribute; and
a step of generating and outputting the output moving image obtained by changing the image area for each person to the mask image by the attribute, based on the area information and the attribute for each person, and displayed so as to discriminate the changed situation of the goods in the image area of the background based on the goods changing information.