Person recognition device, learning data generation device, and program
The person recognition device uses multiple cameras to link individuals across images based on position, motion, and similarity, addressing inefficiencies in existing systems by automating the linking process and improving work efficiency in generating learning data.
Patent Information
- Application Number
- JP2023061968
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-04-06
- Publication Date
- 2024-10-18
AI Technical Summary
Existing class evaluation systems struggle with inefficient generation of learning data due to the inability to link individuals across multiple camera images, requiring manual assignment of evaluation values for the same person in each image, leading to poor work efficiency.
A person recognition device that uses multiple cameras positioned differently to detect and link individuals across images, employing methods such as position matching, motion analysis, and similarity comparison to determine if persons in different images are the same, thereby automating the linking process.
This approach allows for automatic determination of identical individuals across multiple images, eliminating the need for manual evaluation value assignment, thus enhancing work efficiency in generating learning data.
Smart Images

Figure 2024148645000001_ABST
Abstract
Description
[Technical field]
[0001] The present invention relates to a person recognition device, a learning data generation device, and a program. [Background technology]
[0002] Conventionally, there is a known class evaluation system that uses multiple cameras to capture students in class and evaluate their level of concentration. In this type of system, it is conceivable that a person can be detected from images captured by multiple cameras, and the person's posture, attitude, and behavior can be judged by AI to evaluate the level of concentration in the class. In order to improve the accuracy of the evaluation by AI judgment, it is necessary to prepare a large amount of learning data and to subject the learning data to machine learning.
[0003] Currently, when generating learning data, an operator assigns an evaluation value to each person as correct answer data while checking the images of people detected from the captured images. As described above, when a classroom scene is captured by multiple cameras, even if a person is detected from each of the multiple captured images, the operator does not know whether the person detected from the multiple captured images is the same person or not, so the operator must assign an evaluation value to each person appearing in each of the multiple captured images, making it difficult to generate learning data efficiently.
[0004] Conventionally, a method has been proposed in which multiple images taken by multiple cameras and parameters defining the shooting range of each camera are used as input data, and learning data is generated using labels indicating the group relationships of multiple people appearing in each captured image as teacher data (e.g., Patent Document 1). [Prior art documents] [Patent documents]
[0005] [Patent Document 1] JP 2022-90793 A Summary of the Invention [Problem to be solved by the invention]
[0006] However, even if the above-mentioned conventional technology is applied, it is not possible to link the same person appearing in multiple captured images, and therefore the worker must assign evaluation values to each person detected in each of the multiple captured images, even if the person is the same person, which results in poor work efficiency.
[0007] Therefore, in order to solve the conventional problems, the present invention aims to provide a person recognition device, a learning data generation device, and a program that are capable of determining whether a person appearing in each of multiple captured images is the same person. [Means for solving the problem]
[0008] In order to achieve the above object, the invention of claim 1 is a person recognition device comprising a first photographing unit that photographs a plurality of people, a second photographing unit that photographs the plurality of people from a position different from that of the first photographing unit, a person detection unit that detects a person from a first photographed image photographed by the first photographing unit and detects a person from a second photographed image photographed by the second photographing unit, and a same person determination unit that determines whether the person detected from the first photographed image and the person detected from the second photographed image are the same person and, if they are the same person, links and manages the same person.
[0009] The invention of claim 2 is characterized in that, in the person recognition device of claim 1, the first photographing unit photographs the multiple people from the front, and the second photographing unit photographs the multiple people from behind.
[0010] The invention according to claim 3 is the person recognition device according to claim 1, characterized in that the first image capturing unit and the second image capturing unit capture moving images of the plurality of people.
[0011] The invention of claim 4 is characterized in that in the person recognition device of claim 1, the same person determination unit identifies the positions of the multiple people from the first captured image and identifies the positions of the multiple people from the second captured image, and determines that the people are the same person if the position of the person identified from the first captured image and the position of the person identified from the second captured image are the same position in the shooting space.
[0012] The invention of claim 5 is characterized in that, in the person recognition device of claim 1, the person detection unit assigns first identification information to the person detected from the first captured image and assigns second identification information to the person detected from the second captured image, and the same person determination unit links the first identification information and the second identification information assigned to people determined to be the same person to each other.
[0013] The invention of claim 6 is characterized in that in the person recognition device of claim 5, the person detection unit adds a frame surrounding a person detected from the first captured image to the first captured image, and adds a frame surrounding a person detected from the second captured image to the second captured image.
[0014] The invention of claim 7 is characterized in that in the person recognition device of claim 1, the same person determination unit determines whether the person detected from the first captured image and the person detected from the second captured image are the same person based on the similarity between them.
[0015] The invention of claim 8 is characterized in that in the person recognition device of claim 1, the same person determination unit determines that the person detected from the first captured image and the person detected from the second captured image are the same person when their movements are the same.
[0016] The invention of claim 9 is a learning data generation device equipped with the person recognition device of any of claims 1 to 8, characterized in that it comprises an evaluation value assignment unit that assigns the same evaluation value to persons determined to be the same person by the same person determination unit, and a learning data generation unit that generates learning data including the first captured image, the second captured image, and the evaluation value.
[0017] The invention of claim 10 is a program executed on a computer connected to a first photographing unit that photographs a plurality of persons and a second photographing unit that photographs the plurality of persons from a position different from that of the first photographing unit, characterized in that the computer is configured to execute a person detection step of detecting a person from a first photographed image photographed by the first photographing unit and detecting a person from a second photographed image photographed by the second photographing unit, and a same person determination step of determining whether the person detected from the first photographed image and the person detected from the second photographed image are the same person, and if they are the same person, linking and managing the same person. Effect of the Invention
[0018] According to the present invention, it is possible to automatically determine whether or not a person appearing in each of a plurality of captured images is the same person. Therefore, there is no need for a person to determine whether or not a person appearing in each of a plurality of captured images is the same person, and work efficiency is improved. [Brief description of the drawings]
[0019] [Figure 1] FIG. 1 is a diagram illustrating an example of the configuration of a lesson evaluation system. [Diagram 2] FIG. 1 is a block diagram showing a configuration example of a learning data generating device. [Diagram 3] 3A to 3C are diagrams illustrating examples of a first captured image and a second captured image obtained from each of a plurality of imaging units. [Figure 4] 11A and 11B are diagrams illustrating examples of a first captured image and a second captured image in which a person detection result is reflected. [Diagram 5]FIG. 13 is a diagram illustrating a method for determining whether or not a person is the same person based on the position of the person. [Figure 6] 11A and 11B are diagrams showing results of identifying the position of a person from the first captured image and the second captured image. [Figure 7] FIG. 11 is a diagram illustrating an example of linking information. [Figure 8] FIG. 13 is a diagram illustrating a method for determining whether or not a person is the same person based on the person's movements. [Figure 9] 11 is a flowchart showing an example of a processing procedure performed by the learning data generating device. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0020] DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the drawings. In the following embodiments, elements common to each other are designated by the same reference numerals, and redundant description thereof will be omitted.
[0021] Fig. 1 is a diagram showing an example of a conceptual configuration of a lesson evaluation system 1 to which an embodiment of the present invention is applied. As shown in Fig. 1, the lesson evaluation system 1 is a system that uses multiple camera units 3a, 3b to capture a lesson scene held in a classroom 2 with multiple people (students) present, and evaluates the quality of the lesson. This lesson evaluation system 1 includes the multiple camera units 3a, 3b, a learning data generation device 10, and a lesson evaluation device 20.
[0022] The multiple image capturing units 3a, 3b are composed of, for example, cameras capable of capturing moving images. The image capturing unit 3a is a first image capturing unit and is arranged, for example, at the front side of the classroom 2. The image capturing unit 3b is a second image capturing unit and is arranged, for example, at the rear side of the classroom 2. The multiple image capturing units 3a, 3b adjust the angle of view so that all of the multiple people attending classes in the classroom 2 are within the capturing range. In addition, the multiple image capturing units 3a, 3b capture moving images in which the multiple people are captured at the same frame rate. The captured images (moving images) generated by the multiple image capturing units 3a, 3b are output to the learning data generation device 10 and the class evaluation device 20.
[0023] The lesson evaluation device 20 analyzes a plurality of captured images output from a plurality of image capturing units 3a and 3b, assigns an evaluation value to each of a plurality of people attending the lesson, and evaluates the quality of the lesson. The lesson evaluation device 20 includes a person recognition device 21 and an evaluation value assigning unit 22.
[0024] The person recognition device 21 detects people from each of the multiple captured images. All of the multiple people attending the class are captured in each of the multiple captured images. Therefore, the person recognition device 21 detects the multiple people attending the class from each of the multiple captured images. This person recognition device 21 may be configured similarly to the person recognition device 11 mounted on the learning data generation device 10 described later.
[0025] The evaluation value assigning unit 22 analyzes the posture, attitude, movement, etc. of the people detected by the person recognition device 21, and assigns an evaluation value that evaluates the concentration level during class, etc., of each person. When analyzing the posture, attitude, movement, etc. of the people, the evaluation value assigning unit 22 performs AI judgment using artificial intelligence. However, in order to improve the accuracy of the evaluation by AI judgment, it is necessary to perform machine learning using learning data in advance. For this reason, the evaluation value assigning unit 22 has a machine learning unit 23.
[0026] The machine learning unit 23 performs machine learning such as deep learning using the learning data output from the learning data generation device 10 to construct a neural network model for evaluating the concentration level during class based on a person's posture, attitude, movement, etc. The machine learning unit 23 can gradually improve the evaluation accuracy by AI judgment by repeatedly performing machine learning using various learning data.
[0027] The learning data generating device 10 is a device that outputs learning data to the lesson evaluation device 20. The learning data generating device 10 is connected to a plurality of image capturing units 3a, 3b. The learning data generating device 10 assigns an evaluation value to each of a plurality of people appearing in a plurality of captured images output from the plurality of image capturing units 3a, 3b, and generates learning data. The learning data generating device 10 includes a person recognition device 11, an evaluation value assigning unit 12, a learning data generating unit 13, an input unit 14, and a display unit 15. For example, the input unit 14 is configured with a keyboard, a mouse, etc., and accepts input operations by a user. The display unit 15 is configured with a color liquid crystal display, etc., and displays various images.
[0028] 2 is a block diagram showing an example of a hardware configuration and a functional configuration of the learning data generation device 10. The learning data generation device 10 includes a hardware processor 16 and a storage unit 17. The hardware processor 16 executes a program 18 stored in the storage unit 17. The hardware processor 16 is connected to a plurality of image capture units 3a, 3b, an input unit 14, a display unit 15, and a storage unit 17. The storage unit 17 is a non-volatile storage device configured by a hard disk drive (HDD) or a solid state drive (SSD). The hardware processor 16 executes the program 18 to function as the person recognition device 11, the evaluation value assignment unit 12, and the learning data generation unit 13.
[0029] The person recognition device 11 acquires a first captured image G10 output from the first imaging unit 3a and a second captured image G20 output from the second imaging unit 3b, and recognizes a plurality of people appearing in each of the first captured image G10 and the second captured image G20. The person recognition device 11 includes a person detection unit 31 and a same person determination unit 32.
[0030] The human detection unit 31 acquires a first captured image G10 and a second captured image G20 from each of the multiple imaging units 3a, 3b, and detects a human being from each of the first captured image G10 and the second captured image G20.
[0031] FIG. 3 is a diagram illustrating a first captured image G10 and a second captured image G20 obtained from each of the multiple capture units 3a and 3b. FIG. 3(a) shows a first captured image G10 captured by the first capture unit 3a. The first capture unit 3a captures a plurality of people attending a class from the front of the classroom 2. Therefore, the first captured image G10 is an image capturing the front side of the plurality of people as shown in FIG. 3(a). FIG. 3(b) shows a second captured image G20 captured by the second capture unit 3b. The second capture unit 3b captures a plurality of people attending a class from the rear of the classroom 2. Therefore, the second captured image G20 is an image capturing the back side of the plurality of people as shown in FIG. 3(b).
[0032] The person detection unit 31 detects a person appearing in each of the first captured image G10 shown in FIG. 3(a) and the second captured image G20 shown in FIG. 3(b). A known method may be adopted as the method of detecting a person by the person detection unit 31. When the person detection unit 31 detects a person from each of the first captured image G10 and the second captured image G20, the person detection unit 31 adds a frame surrounding the detected person to each of the first captured image G10 and the second captured image G20. Furthermore, when the person detection unit 31 detects a person from each of the first captured image G10 and the second captured image G20, the person detection unit 31 individually adds identification information to the detected person. For example, the person detection unit 31 adds first identification information to the person detected from the first captured image G10, and adds second identification information to the person detected from the second captured image G20. The first identification information and the second identification information are information that can be distinguished from each other.
[0033] 4 is a diagram illustrating a first captured image G11 and a second captured image G21 in which a person detection result by the person detection unit 31 is reflected. As shown in FIG. 4(a), when the person detection unit 31 detects a plurality of people from the first captured image G10, the person detection unit 31 generates the first captured image G11 by superimposing a frame image 40 surrounding each of the plurality of people on the first captured image G10. In addition, when the person detection unit 31 detects a plurality of people from the first captured image G10, the person detection unit 31 assigns unique first identification information to each of the plurality of people. For example, in the example of FIG. 4(a), nine people are detected from the first captured image G10, and unique first identification information of "PA1" to "PA9" are individually assigned to the nine people.
[0034] Furthermore, as shown in Fig. 4(b), when the person detection unit 31 detects multiple people from the second captured image G20, it generates the second captured image G21 by superimposing a frame image 40 surrounding each of the multiple people on the second captured image G20. Furthermore, when the person detection unit 31 detects multiple people from the second captured image G20, it assigns unique first identification information to each of the multiple people. For example, in the example of Fig. 4(b), nine people are detected from the second captured image G20, and unique first identification information "PB1" to "PB9" are individually assigned to each of the nine people.
[0035] The person detection unit 31 outputs the first captured image G11 and the second captured image G21, which reflect the result of the person detection as shown in Figures 4(a) and (b), to the same person determination unit 32. In addition, the person detection unit 31 outputs the first captured image G11 and the second captured image G21 to the display unit 15. As a result, the first captured image G11 and the second captured image G21 are simultaneously displayed on the display unit 15.
[0036] The same person determination unit 32 acquires the first captured image G11 and the second captured image G21, and determines whether the person captured in the first captured image G11 and the person captured in the second captured image G21 are the same person. There are several methods for the same person determination unit 32 to determine whether the person is the same person. The methods for determining whether the person is the same will be described in detail below.
[0037] The first determination method is a method of identifying a person who is at the same position in the shooting space of the classroom 2 as the same person. FIG. 5 is a diagram for explaining a method of identifying the same person based on the position of the person. The same person determination unit 32 performs a Hough transform on the first captured image G11 shown in FIG. 5(a), extracts the boundary between the wall and the floor and the boundary between the walls, and detects the shape of the classroom 2. Specifically, the same person determination unit 32 detects the right wall 42, the left wall 41, and the rear wall 43 of the classroom 2 shown in the first captured image G11. At this time, the same person determination unit 32 identifies the right, left, and rear walls from the focus information of the shooting unit 3a, the vanishing point information of the boundary, and the like.
[0038] When the same person determination unit 32 detects the shape of the classroom 2 from the first captured image G11, it identifies the positions of the people within the classroom 2. For example, the same person determination unit 32 identifies that the person whose first identification information is "PA1" is in the right position of the front row of the classroom 2, that the person whose first identification information is "PA2" is in the center position of the front row of the classroom 2, and that the person whose first identification information is "PA3" is in the left position of the front row of the classroom 2. The same person determination unit 32 similarly identifies the positions of the people in the center row and the back row.
[0039] 5(b), extracts boundaries between the walls and the floor and between the walls, and detects the shape of the classroom 2. Specifically, the same person determination unit 32 detects a right wall 44, a left wall 45, and a front wall 46 of the classroom 2 that appear in the second captured image G21. At this time, the same person determination unit 32 identifies the right, left, and front walls from focus information of the imaging unit 3b, vanishing point information of the boundaries, and the like.
[0040] When the same person determination unit 32 detects the shape of the classroom 2 from the second captured image G21, it identifies the positions of the people within the classroom 2. For example, the same person determination unit 32 identifies that the person whose second identification information is "PB1" is in the left position in the back row of the classroom 2, that the person whose second identification information is "PB2" is in the center position in the back row of the classroom 2, and that the person whose second identification information is "PB3" is in the right position in the back row of the classroom 2. The same person determination unit 32 similarly identifies the positions of the people in the center row and the front row.
[0041] 6 is a diagram showing the result of identifying the positions of people from the first captured image G11 and the second captured image G21. As shown in FIG. 6(a), the positions of the nine people detected from the first captured image G11 are identified in the classroom 2 based on the positions shown in the first captured image G11. As shown in FIG. 6(b), the positions of the nine people detected from the second captured image G21 are identified in the classroom 2 based on the positions shown in the second captured image G21. Based on the position identification result shown in FIG. 6, the same person determination unit 32 determines that the person identified from the first captured image G11 and the person identified from the second captured image G21 are the same position in the capture space (classroom 2), and thus they are the same person.
[0042] 6, the same person determination unit 32 determines that the person whose first identification information is "PA1" and the person whose second identification information is "PB9" are the same person. Similarly, the same person determination unit 32 determines that the people whose first identification information is "PA2", "PA3", "PA4", "PA5", "PA6", "PA7", "PA8", and "PA9" are the same person as the people whose second identification information is "PB8", "PB7", "PB6", "PB5", "PB4", "PB3", "PB2", and "PB1", respectively.
[0043] When the same person determination unit 32 determines that the person appearing in the first captured image G11 and the second captured image G21 is the same person, the same person determination unit 32 generates linking information 33 that links the person detected in the first captured image G11 and the person detected in the second captured image G21 as the same person. The same person determination unit 32 stores the linking information 33 in the storage unit 17.
[0044] Fig. 7 is a diagram showing an example of the linking information 33. As shown in Fig. 7, the same person determination unit 32 generates linking information 33 that links the first identification information given to the person detected from the first captured image G11 and the second identification information given to the person detected from the second captured image G21. By referring to this linking information 33, it is possible to specify which person among the multiple people captured in the second captured image G21 is the same person as one of the multiple people captured in the first captured image G11, and it is also possible to specify which person among the multiple people captured in the first captured image G11 is the same person as one of the multiple people captured in the second captured image G21.
[0045] Next, the second determination method will be described. The second determination method is a method for determining whether a person is the same person based on the actions of a person captured in the first captured image G11 and the second captured image G21. For example, when a teacher calls the names of students one by one to take a roll call at the beginning of a lesson, each student may raise their hand. The second determination method is a method that can be used in such a case. That is, when the action of a person in the first captured image G11 and the action of a person in the second captured image G21 are the same, the same person determination unit 32 determines that the person who performed the same action is the same person.
[0046] FIG. 8 is a diagram for explaining a method of determining whether or not the same person is present based on the actions of the person. For example, when the person at the bottom left in the first captured image G11 raises his / her hand as shown in FIG. 8(a), the person at the top right in the second captured image G21 raises his / her hand as shown in FIG. 8(b). The same person determination unit 32 detects that when the person with the first identification information "PA1" raises his / her hand in the first captured image G11, the person with the second identification information "PB9" in the second captured image G21 performs the same action. Therefore, the same person determination unit 32 determines that the person with the first identification information "PA1" in the first captured image G11 and the person with the second identification information "PB9" in the second captured image G21 are the same person. While the teacher is making a roll call, the same person determination unit 32 repeats the same determination process to link the person appearing in the first captured image G11 and the person appearing in the second captured image G21 to each other. Then, when the teacher finishes the roll call, the same person determination unit 32 generates the linking information 33 shown in FIG.
[0047] Next, the third determination method will be described. The third determination method is a method for determining whether or not the people are the same person based on the similarity of the person images detected by the person detection unit 31. The third determination method is a method that can be used when, for example, multiple people attending a class have different skin colors, clothes (including the shape, color, pattern, etc. of clothes), hairstyles, hair colors, etc. The same person determination unit 32 identifies the characteristics of each person included in the first captured image G11, such as skin color, clothes, hairstyle, hair color, etc. The same person determination unit 32 also identifies the characteristics of each person included in the second captured image G21, such as skin color, clothes, hairstyle, hair color, etc.
[0048] The same person determination unit 32 compares the features of the person included in the first captured image G11 with the features of the person included in the second captured image G21, and determines that the people with the highest similarity in features are the same person. By repeating such a determination process, the same person determination unit 32 can link the person captured in the first captured image G11 with the person captured in the second captured image G21. Then, the same person determination unit 32 generates linking information 33 shown in FIG. 7 and stores it in the storage unit 17.
[0049] The same person determination section 32 may employ any one of the above-mentioned first to third determination methods.
[0050] Next, the evaluation value assigning unit 12 assigns an evaluation value to each of the multiple people based on the first captured image G11 and the second captured image G21 output from the person recognition device 11. For example, a worker (operator) evaluates the posture, attitude, and behavior of each person during the class while looking at the first captured image G11 and the second captured image G21 displayed on the display unit 15, and inputs an evaluation value for each person by manually operating the input unit 14. At this time, the worker inputs the evaluation value while specifying a person in either the first captured image G11 or the second captured image G21.
[0051] When the evaluation value assigning unit 12 acquires the evaluation value for each person from the input unit 14, it assigns the evaluation value to the person specified by the worker. At this time, the evaluation value assigning unit 12 reads the linking information 33 from the storage unit 17, and identifies the same person in the first captured image G11 and the second captured image G21 that are different from the captured image in which the person is specified by the worker. Then, the evaluation value assigning unit 12 assigns the same evaluation value to the identified same person.
[0052] Therefore, if the worker performs an operation of assigning an evaluation value to a person appearing in one of the first captured image G11 and the second captured image G21, there is no need for the worker to assign an evaluation value to a person appearing in the other captured image, which makes it possible to improve the efficiency of the work of assigning evaluation values.
[0053] During the lesson, the worker increases or decreases the evaluation value based on the changes in posture, attitude, movement, etc. of each person while viewing the first captured image G11 and the second captured image G21 that change successively. Therefore, the evaluation value assigned to each person by the evaluation value assigning unit 12 increases or decreases as the lesson progresses.
[0054] The evaluation value assigning unit 12 outputs the evaluation value EV for each person as described above to the learning data generating unit 13 together with the first captured image G11 and the second captured image G21.
[0055] The learning data generation unit 13 generates learning data by adding an evaluation value EV of each person, which changes over time, to the first captured image G11 and the second captured image G21. In other words, the evaluation values EV added to the first captured image G11 and the second captured image G21 by the evaluation value assignment unit 12 are correct answer data when the machine learning unit 23 performs machine learning. The learning data generation unit 13 generates learning data including such correct answer data and outputs it to the evaluation value assignment unit 22 of the lesson evaluation device 20.
[0056] FIG. 9 is a flowchart showing an example of a processing procedure by the learning data generation device 10. This processing is performed by the hardware processor 16 of the learning data generation device 10 executing the program 18. The learning data generation device 10 starts this processing when a lesson starts in the classroom 2. The learning data generation device 10 first starts a shooting operation by the shooting units 3a and 3b (step S10). As a result, the shooting units 3a and 3b start an operation of shooting a moving image at a predetermined frame rate, and start outputting a first captured image G10 and a second captured image G20 that capture a lesson scene. When the learning data generation device 10 starts the shooting operation by the shooting units 3a and 3b, it operates the person recognition device 11.
[0057] The person recognition device 11 starts an operation of acquiring the first captured image G10 and the second captured image G20 output from the photographing units 3a and 3b (step S11). The person recognition device 11 activates the person detection unit 31 and the same person determination unit 32. The person detection unit 31 performs a process of detecting a person from each of the first captured image G10 and the second captured image G20 output from the photographing units 3a and 3b, and generates the first captured image G11 and the second captured image G21 by adding a frame image 40 to the detected person (step S12). The same person determination unit 32 performs a same person determination process of determining whether the first captured image G11 and the second captured image G21 output from the person detection unit 31 are the same person (step S13). When the same person determination unit 32 determines that the person in the first captured image G11 and the person in the second captured image G21 are the same person, it generates linking information 33 linking the person in the first captured image G11 and the person in the second captured image G21 to each other, and stores the linking information in the storage unit 17 (step S14). Next, the same person determination unit 32 determines whether linking of all of the multiple people is completed (step S15). If linking of all people is not completed (NO in step S15), the process by the same person determination unit 32 returns to step S13, and the above-mentioned process is repeated. On the other hand, if linking of all people is completed (YES in step S15), the process by the same person determination unit 32 is completed.
[0058] Next, the evaluation value assigning unit 12 functions in the learning data generating device 10. The evaluation value assigning unit 12 assigns an evaluation value to each of the people included in the first captured image G11 and the second captured image G21 (step S16). For example, the evaluation value assigning unit 12 assigns the evaluation value input by the worker to the person specified by the worker. At this time, when the person in either the first captured image G11 or the second captured image G21 is specified by the worker, the evaluation value assigning unit 12 identifies the other identical person based on the linking information 33 and assigns the same evaluation value to the same person appearing in each of the first captured image G11 and the second captured image G21. Therefore, the worker only needs to specify a person in either the first captured image G11 or the second captured image G21 and input an evaluation value, and does not need to find the same person from the other captured image. Therefore, the worker can efficiently assign evaluation values to each of multiple people.
[0059] Next, the learning data generation unit 13 starts functioning in the learning data generation device 10. When the evaluation value assignment unit 12 assigns an evaluation value to any one of the multiple persons, the learning data generation unit 13 generates learning data in which the evaluation value EV is added to each of the first captured image G11 and the second captured image G21, and outputs the learning data (step S17).
[0060] Thereafter, the processing of steps S16 to S17 is repeatedly executed until the lesson in the classroom 2 ends and the photographing operation by the photographing units 3a and 3b ends (NO in step S18). Furthermore, when the photographing operation by the photographing units 3a and 3b ends (YES in step S18), the learning data generation device 10 ends the processing of outputting learning data.
[0061] As described above, the learning data generation device 10 of this embodiment includes a person recognition device 11. The person recognition device 11 includes a first image capture unit 3a that captures a plurality of people, and a second image capture unit 3b that captures a plurality of people from a position different from that of the first image capture unit 3a. The person recognition device 11 also includes a person detection unit 31 that detects a person from a first captured image G10 captured by the first image capture unit 3a and detects a person from a second captured image G20 captured by the second image capture unit 3b, and an identical person determination unit 32 that determines whether the person detected from the first captured image G10 and the person detected from the second captured image G20 are the same person, and if they are the same person, associates and manages the same person.
[0062] The person recognition device 11 having the above configuration can automatically determine whether the person appearing in each of the multiple captured images G10, G20 is the same person, and if they are the same person, manages them by linking them together, eliminating the hassle of having an operator give an evaluation value to each person individually even if the person detected in each of the multiple captured images is the same person, as in the conventional case. Therefore, the work efficiency of the operator can be improved compared to the conventional case.
[0063] Although the preferred embodiments of the present invention have been described above, the present invention is not limited to the above-described embodiments, and various modifications are possible.
[0064] For example, in the above embodiment, an example has been described in which the same person determination unit 32 generates the linking information 33 linking the first identification information given to the person in the first captured image G11 with the second identification information given to the person in the second captured image G21. However, this is not limited to this, and for example, the same person determination unit 32 may generate the linking information 33 linking the position of the person included in the first captured image G11 with the position of the person included in the second captured image G21. In this case, the position of the person may be represented as coordinate information in the image plane of each of the first captured image G11 and the second captured image G21.
[0065] Also, in the above embodiment, an example has been described in which, when the same person determination unit 32 performs linking of the same person, the linking information 33 is stored in the storage unit 17 of the learning data generation device 10. However, the storage destination of the linking information 33 is not necessarily limited to the storage unit 17. For example, the linking information 33 may be stored in storage on a network such as a LAN (Local Area Network), or may be stored in cloud storage on the cloud.
[0066] In the above embodiment, an example has been described in which an operator manually inputs the evaluation value of each person to generate learning data. However, this is not limited to this. For example, the learning data generation device 10 may automatically input the evaluation value of each person by analyzing each of the first captured image G11 and the second captured image G21 using a predetermined algorithm.
[0067] The configuration of the person recognition device 11 described in the above embodiment can also be applied to the person recognition device 21 of the lesson evaluation device 20. The above-mentioned person recognition device 11 is not necessarily limited to the one installed in the learning data generation device 10 or the lesson evaluation device 20.
[0068] In addition, in the above embodiment, two image capturing units 3a and 3b are exemplified as the multiple image capturing units 3a and 3b, but the number of image capturing units is not limited to 2. For example, the person recognition device 11 may acquire captured images from three or more image capturing units.
[0069] Also, in the above embodiment, an example has been given of a case in which the person recognition device 11 is applied to the lesson evaluation system 1. However, systems to which the above-mentioned person recognition device 11 can be applied are not limited to the lesson evaluation system 1. In other words, the above-mentioned person recognition device 11 may be applied to systems other than the lesson evaluation system 1 as long as the system requires acquiring a plurality of captured images and detecting the same person from among the plurality of captured images.
[0070] Furthermore, the program 18 described in the above embodiment is not limited to being stored in advance in the storage unit 17 of the learning data generation device 10. In other words, the program 18 executed in a computer functioning as the learning data generation device 10 or the person recognition device 11 may be a subject of trading by itself. In this case, the program 18 may be provided in a downloadable form via a network such as the Internet, or may be provided in a state recorded on a computer-readable recording medium such as a CD-ROM. [Explanation of symbols]
[0071] 1. Course evaluation system 3a,3b Photography department 10. Learning data generation device 11 Person recognition device 12 Evaluation value assignment section 13 Learning data generation unit 16 Hardware Processors 17 Memory section 18 Programs 31 Person detection section 32 Same person determination section 33 Linking Information
Claims
1. a first imaging unit that images a plurality of people; a second photographing unit that photographs the plurality of persons from a position different from that of the first photographing unit; a person detection unit that detects a person from a first captured image captured by the first imaging unit and detects a person from a second captured image captured by the second imaging unit; a same person determination unit that determines whether a person detected from the first captured image and a person detected from the second captured image are the same person, and if they are the same person, that associates and manages the same person; A person recognition device comprising:
2. the first photographing unit photographs the plurality of persons from the front, The person recognition device according to claim 1 , wherein the second image capturing unit captures images of the plurality of people from behind.
3. The person recognition device according to claim 1 , wherein the first image capturing section and the second image capturing section capture moving images of the plurality of people.
4. The person recognition device according to claim 1, characterized in that the same person determination unit identifies the positions of the multiple people from the first captured image and also identifies the positions of the multiple people from the second captured image, and determines that the people identified from the first captured image are the same person if the position of the person identified from the first captured image and the position of the person identified from the second captured image are the same position in the captured space.
5. the person detection unit assigns first identification information to a person detected from the first captured image and assigns second identification information to a person detected from the second captured image; The person recognition device according to claim 1 , wherein the same person determination unit links the first identification information and the second identification information given to a person determined to be the same person with each other.
6. The person recognition device according to claim 5, characterized in that the person detection unit adds a frame surrounding a person detected from the first captured image to the first captured image, and adds a frame surrounding a person detected from the second captured image to the second captured image.
7. The person recognition device according to claim 1 , wherein the same person determination unit determines whether the person detected from the first captured image and the person detected from the second captured image are the same person based on a similarity between the person detected from the first captured image and the person detected from the second captured image.
8. The person recognition device according to claim 1, characterized in that the same person determination unit determines that a person detected from the first captured image and a person detected from the second captured image are the same person when their movements are identical.
9. A learning data generation device comprising the person recognition device according to any one of claims 1 to 8, an evaluation value assigning unit that assigns the same evaluation value to persons determined to be the same person by the same person determination unit; a learning data generating unit that generates learning data including the first captured image, the second captured image, and the evaluation value; A learning data generating device comprising:
10. A program executed on a computer to which a first image capturing unit that captures a plurality of people and a second image capturing unit that captures the plurality of people from a position different from that of the first image capturing unit are connected, the program comprising: a person detection step of detecting a person from a first captured image captured by the first imaging unit and detecting a person from a second captured image captured by the second imaging unit; a same person determination step of determining whether or not a person detected from the first captured image and a person detected from the second captured image are the same person, and if they are the same person, linking and managing the same person; A program characterized by executing the above.
Citation Information
Patent Citations
Device, method and program for tracking person using plural cameras
JP2017068375A
Information collection system, electronic shelf label, electronic pop, and character information display device
JP2018055248A
Image processing apparatus, method thereof and program
JP2019125057A
Information processing device, information processing method, and program
JP2021117823A
Learning data generation device, person identifying device, learning data generation method, and learning data generation program
JP2022088146A
