Tracking system, tracking method, and storage medium
By introducing collaborative determination and graph database management of multiple tracking devices and server devices into the tracking system, the problems of non-expandability and difficulty in retrieval in the existing technology are solved, and an efficient tracking system is realized.
Patent Information
- Application Number
- CN202410232376.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2023-03-03
- Filing Date
- 2024-03-01
- Publication Date
- 2024-09-03
AI Technical Summary
Existing tracking systems are not scalable when built at scale, and are difficult to correctly manage and retrieve the same person over a wide range.
A system including multiple tracking devices and server devices is designed to determine the same person through collaboration between tracking devices, and uses a graph-structured database to store and retrieve tracking information, distributing the processing load and improving data retrieval speed.
The scalability of the tracking system is achieved, ensuring that even if the number of tracking devices increases, the processing load is not concentrated, the data retrieval speed is fast, and the tracking information of a specific person can be managed and retrieved at high speed.
Smart Images

Figure CN118590750A
Abstract
Description
Technical Field
[0001] The present disclosure relates to a tracking system, a tracking method and a storage medium. Background Art
[0002] The device disclosed in patent document 1 obtains multiple character images captured by multiple cameras with different camera areas and similarity information related to the similarity between the multiple character images. When the similarity between two character images is greater than a predetermined threshold, the graphic generation unit generates an edge connecting the two character images.
[0003] Prior art literature
[0004] Patent Literature
[0005] Patent Document 1: Japanese Patent Application Publication No. 2017-21753 (Japanese Patent Publication No. 6570905) Summary of the invention
[0006] An object of one aspect of the present disclosure is to provide a technology for improving the scalability of a tracking system.
[0007] One embodiment of the present disclosure is a tracking system, comprising a plurality of tracking devices and a server device, wherein each of the plurality of tracking devices comprises: a camera device; a tracking unit, which tracks an object based on a camera image obtained by the camera device; a tracking information sending unit, which sends tracking information including at least a feature and an identifier of the object to surrounding tracking devices and the server device; a determination unit, which determines whether the objects currently being tracked include an object that is consistent with the object specified by the tracking information sent from the other tracking devices when the tracking information is received from other tracking devices; and an updating unit, which replaces the identifier of the object with the identifier included in the tracking information when it is determined that the objects currently being tracked include an object that is consistent with the object specified by the tracking information sent from the other tracking devices, and sends consistency information indicating that the objects received from the surrounding tracking devices and the objects currently being tracked are consistent to the server device, wherein the server device comprises a storage unit, which stores the tracking information sent from the tracking device as a graph structure, connects nodes of the tracking information indicating mutually consistent tracking information through the consistency information, and connects nodes of the identification information of the object to the nodes of each tracking information.
[0008] According to the aspects of the present disclosure, the scalability of the tracking system can be ensured. BRIEF DESCRIPTION OF THE DRAWINGS
[0009] Figure 1The diagrams are for explaining (A) an overview of a tracking system and (B) a graph database of tracking information in a server device according to one embodiment.
[0010] Figure 2 It is a diagram showing the configuration of (A) a tracking device and (B) a server device in one embodiment.
[0011] Figure 3 This is a flowchart showing the processing performed by the tracking device in one embodiment.
[0012] Figure 4 This is a flowchart showing processing performed by a server device in one embodiment.
[0013] Figure 5 This is a diagram for explaining an update example of updating a graphic database by a server device in one embodiment.
[0014] (Explanation of symbols)
[0015] 100: tracking device; 200: server device. DETAILED DESCRIPTION
[0016] A technology for identifying the same person from images taken by multiple cameras and tracking the person in a wide range is proposed. When such a tracking system is to be built on a large scale, a distributed system with scalability needs to be built. However, as in Patent Document 1, in the prior art, all processing is performed by a server device, so it is not scalable. In addition, it is also required to correctly manage the same person in a wide range and to easily search for a specific person.
[0017] Therefore, an object of the present disclosure is to improve scalability in a tracking system having a plurality of tracking devices.
[0018] One embodiment of the present disclosure is a tracking system including a plurality of tracking devices and a server device.
[0019] Each of the plurality of tracking devices includes a camera, a tracking unit, a tracking information sending unit, a determination unit, and an updating unit. The tracking unit tracks an object based on a camera image obtained by the camera. The tracking information sending unit sends tracking information including at least a feature and an identifier of the object to surrounding tracking devices and the server device. The identifier here may be an identifier unique to the system such as a UUID (Universally Unique Identifier). When the determination unit receives the tracking information from other tracking devices, it determines whether the objects currently being tracked include objects that are consistent with the objects determined by the tracking information sent from other tracking devices. When the updating unit determines that the objects currently being tracked include objects that are consistent with the objects determined by the tracking information sent from other tracking devices, it replaces the identifier of the object with the identifier included in the tracking information, and sends consistency information indicating that the objects received from the surrounding tracking devices are consistent with the objects currently being tracked to the server device.
[0020] The server device includes a storage unit that stores the tracking information sent from the tracking device as a graph structure, connects nodes of the tracking information that are consistent with each other through the consistency information, and connects nodes of identification information of the object to each node of the tracking information.
[0021] In this way, multiple adjacent tracking devices cooperate and disperse to determine whether it is the same person, so even if the number of tracking devices increases, there will be no concentration of processing load. In addition, a database with a graph structure is used in the server device, so even if the amount of data increases, high-speed data retrieval can be performed, and each tracking information node is connected to an identification information node, so the search using the identification information is further accelerated.
[0022] In the present disclosure, the tracking information sending unit of the tracking device may also periodically send the tracking information to the tracking devices whose imaging range of the camera device overlaps among the surrounding tracking devices. In addition, the tracking information sending unit of the tracking device may also send the tracking information to the tracking devices whose imaging range of the camera device does not overlap among the surrounding tracking devices according to the exit event of the object.
[0023] When the camera ranges of the two tracking devices overlap, sometimes the subject is photographed by both tracking devices, so it is best to send information regularly. On the other hand, when the camera ranges of the two tracking devices do not overlap, after the tracking in one tracking device is completed, the tracking in the other tracking device starts, so it is sufficient to send tracking information after the exit event occurs.
[0024] In the present disclosure, the server device may also be further provided with a verification unit, which verifies the connection relationship of the tracking information in the storage unit, and when a mismatched connection relationship is found, notifies the user or corrects the mismatched connection relationship. Here, an example of a mismatched connection relationship is a situation where the tracking object is tracked by different tracking devices at the same time, in other words, a situation where a tracking information node is linked to multiple different tracking information nodes. In addition, another example of a mismatched connection relationship is a situation where the tracking object moves between tracking devices at a distance that is so far away that it cannot be moved in reality. The server device can ensure the matching of the database by making such corrections.
[0025] In the present disclosure, the server device may also include: an image acquisition unit that acquires an image of an object; an identifier determination unit that determines the identifier of the object in the image; and a retrieval unit that acquires and outputs tracking information of the object in the image from the storage unit. Here, the identification of the identifier of the object may be performed by the server device itself, or by another device and the server device only receives the result. According to the present disclosure, it is possible to retrieve tracking information of a specific object at a high speed.
[0026] Other embodiments of the present disclosure are the above-mentioned tracking device and the above-mentioned server device. In addition, other embodiments of the present disclosure are the tracking method performed by the above-mentioned tracking system, the processing method performed by the tracking device, and the processing method performed by the server device. In addition, other embodiments of the present disclosure are computer programs for causing the tracking system, the tracking device, or the server device to execute the above-mentioned processing method.
[0027] Hereinafter, embodiments of the present disclosure will be described with reference to the drawings. The structures of the following embodiments are illustrative only, and the present disclosure is not limited to the structures of the embodiments.
[0028] (System Overview)
[0029] Figure 1 (A) is a diagram illustrating an overview of a tracking system according to an embodiment. The tracking system according to this embodiment is capable of tracking a person as an object, and a plurality of tracking devices assign the same identifier to the same person, and track the movement of the person beyond the imaging range of the tracking device. Figure 1In the example shown in (A), the tracking system includes three tracking devices 100A, 100B, and 100C. The camera imaging ranges of tracking devices 100A and 100B partially overlap, while the camera imaging range of tracking device 100C does not overlap with the camera imaging ranges of other devices.
[0030] Here, it is assumed that the person P moves as shown in the figure. Each tracking device can determine the identity with the person being tracked by other devices by sharing the characteristic information of the person being tracked with surrounding tracking devices.
[0031] In addition, each tracking device sends tracking information from the start to the end of tracking of the tracking person to the server device 200. Figure 1 (B) shows a database in which tracking information is stored as a graph structure. Here, the tracking instances (a series of tracking information from the start to the end of tracking) of the person P in each tracking device 100A, 100B, 100C are respectively assigned identifiers (IDs) such as A-1, B-5, and C-3 for management. According to the movement path of the person P, the server device 200 expands the link from the node A-1 toward the node B-5, and expands the link from the node B-5 toward the node C-3. Thus, by tracing the graph, it is possible to easily retrieve the tracking information accompanying the movement of the person P. In addition, a node with a unique ID (here UUID1) is connected to each node A-1, B-5, and C-3. Thus, the server device 200 can also easily perform a search using a unique ID.
[0032] The tracking system involved in this embodiment determines the recognition of the same person only between adjacent tracking devices, so the processing load of the same person determination can be dispersed, and the scalability can be ensured. In addition, in the server device, the tracking information is stored in a database with a graphical structure as described above, so it is easy to ensure the consistency of the tracking information and to retrieve it.
[0033] (structure)
[0034] The tracking system according to the present embodiment is composed of a plurality of tracking devices 100 and a server device 200 . Figure 2 (A) is a structural diagram of the tracking device 100. Figure 2 (B) is a diagram showing the structure of the server device 200 .
[0035] The tracking device 100 is a computer (information processing device) having a CPU 101, a memory 102, a communication device 103, and a camera (camera) 104. The memory 102 stores a program executable by the CPU 101. The tracking device 100 functions as an image acquisition unit 110, a tracking unit 120, a tracking information storage unit 130, a tracking information sending unit 140, a tracking information receiving unit 150, a consistency determination unit 160, and a tracking information updating unit 170 by the CPU 101 executing the program. The camera 104, the CPU 101, the memory 102, and the communication device 103 may be arranged in the same housing or in different housings at geographically separated locations. In addition, the tracking device 100 is configured to be able to communicate with the server device 200 and at least other tracking devices 100 that are close to it.
[0036] The server device 200 is a computer (information processing device) having a CPU 201, a memory 202, and a communication device 203. The memory 202 stores a program executable by the CPU 201. By executing the program by the CPU 201, the server device 200 functions as a tracking information receiving unit 210, a tracking information updating unit 220, a matching information receiving unit 230, a tracking information storage unit 240, a verification unit 250, a search target image acquisition unit 260, a search target determination unit 270, and a search unit 280.
[0037] The details of the above-mentioned functional units will be described in detail later with reference to other drawings. In addition, part or all of the above-mentioned functional units may also be implemented by dedicated circuits or devices.
[0038] (deal with)
[0039] Hereinafter, the processing performed by the tracking device 100 and the server device 200 will be described with reference to the drawings. Figure 3 (A)~ Figure 3 (C) is a flowchart showing the flow of the tracking process, the tracking information transmission process, and the tracking information reception process performed by the tracking device 100. Figure 4 (A)~ Figure 4 (D) is a flowchart showing the flow of the tracking information receiving process, the matching information sending process, the verification process, and the search process performed by the server device 200. These processes are implemented by executing a program by the CPU of the tracking device 100 or the server device 200. Therefore, the CPU is equivalent to the control unit.
[0040] [Tracking Process (Tracking Device)]
[0041] Reference Figure 3(A) The tracking process performed by the tracking device 100 is described. The tracking process is a process of analyzing an image captured by the camera 104, detecting a person (tracking target) newly appearing in the image, and tracking the movement of the detected person.
[0042] In step S11, the tracking unit 120 obtains the captured image from the camera 104 via the image acquisition unit 110, and detects persons other than the person currently being tracked from the image. In addition, the tracking unit 120 obtains feature information of the detected person. The feature information of the person may be any information as long as it can identify the person, for example, information indicating features of the face, information indicating features of the body (contour, color, brightness gradient, etc.) may be used.
[0043] In step S12, the tracking unit 120 determines whether the person detected in step S11 is the same as the person that has been tracked in the tracking system in the past, or is a new person. This determination can be made by investigating whether the tracking system has tracked a person having a feature quantity consistent with the feature quantity obtained in step S11 in the past. As described later, the tracking device 100 receives tracking information including feature information of people tracked by surrounding tracking devices from surrounding tracking devices, and stores it in the tracking information storage unit 130. Therefore, the tracking unit 120 can make the determination of step S12 by determining whether feature information having features consistent with the feature information of the detected person is stored in the tracking information storage unit 130. In addition, even if the person has been tracked, if the tracking device 100 cannot obtain its tracking information, the tracking device 100 will determine that the detected person is a new person.
[0044] If the determination in step S12 is negative, that is, if the detected person is a person who has been tracked, in step S13, the tracking unit 120 obtains the identifier used in the past to track the person. As described later, the identifier is a globally unique identifier and is included in the tracking information.
[0045] If the determination in step S12 is affirmative, that is, if the detected person is a new person who has not been tracked in the past, in step S14 , the tracking unit 120 issues a new globally unique ID to the person.
[0046] In step S15, the tracking unit 120 tracks the target person based on the image acquired from the camera 104 via the image acquisition unit 110. The tracking unit 120 stores the feature information of the target person, the person image, the position of the bounding box (detection position), the detection time, and the identifier acquired from each frame image as tracking information in the tracking information storage unit 130. In addition, the frame image acquired from the camera 104 or information indicating the storage location of the frame image may be included in the tracking information and stored.
[0047] In addition, the tracking device 100 allocates a tracking identifier (tracking ID) for a series of tracking information (tracking instance) from the appearance to the exit in the camera shooting range of the tracking device 100. The tracking ID is an identifier that is different from the unique ID of the person and is different for each tracking instance even for the same person. The tracking ID can be an ID formed by combining the identifier of the tracking device 100 and a unique identifier in the tracking device 100. Figure 1 In (A), A-1, B-5, and C-3 are examples of tracking IDs. The tracking IDs are also included in the tracking information and stored in the tracking information storage unit 130.
[0048] [Tracking information transmission process (Tracking device)]
[0049] Reference Figure 3 (B) The tracking information transmission process performed by the tracking information transmission unit 140 is described. The tracking information transmission unit 140 transmits the tracking information to the surrounding tracking devices at a predetermined timing. Here, the transmission timing varies depending on the tracking device of the transmission destination. The following is described with reference to the drawings.
[0050] In step S21, the tracking information transmitting unit 140 determines the type of the tracking device 100 at the transmission destination. Here, it is determined whether the camera shooting range of the tracking device 100 at the transmission destination overlaps or does not overlap with the camera shooting range of the tracking device 100 itself. If the shooting ranges do not overlap, the process proceeds to step S22, and if the shooting ranges overlap, the process proceeds to step S23.
[0051] In addition, whether the camera shooting ranges overlap is stored in advance in each tracking device 100 or in the server device 200 as camera setting information, and is obtained by the tracking device 100 as needed. The camera setting information may include other information such as the installation location and the distance between two tracking devices in addition to whether the camera shooting ranges overlap.
[0052] When the tracking device and the camera shooting range of the tracking information sending destination do not overlap, step S22 is performed. In step S22, the tracking information sending unit 140 determines whether an exit event has occurred for any of the people currently being tracked. When an exit event has occurred, the process proceeds to step S24. When an exit event has not occurred, the process returns to step S22 to wait for the occurrence of an exit event. For example, when the tracking unit 120 cannot detect the person being tracked from the image for a predetermined time (or predetermined frame) continuously, an exit event of the person occurs.
[0053] If the tracking device and the camera shooting range of the tracking information transmission destination overlap, step S23 is performed. The tracking information transmission unit 140 determines whether a certain time has passed since the last tracking information transmission. The transmission cycle (certain time) can be arbitrary. If the certain time has passed, the process proceeds to step S24. If not, the process returns to step S23 and waits for the time to pass.
[0054] In step S24, the tracking information sending unit 140 sends the tracking information stored in the tracking information storage unit 130 to the surrounding tracking devices via the communication device 103. In addition, when the tracking information is sent according to the exit event, the tracking information sending unit 140 sends the tracking information of the exiting person, and when the tracking information is sent periodically, the tracking information of the person currently being tracked and the person who exited after the last sending is sent. The sent tracking information may include, for example, the globally unique ID of the person to be tracked, the tracking ID, feature information, person image, position of the bounding box, and detection time.
[0055] Furthermore, the tracking information transmitting unit 140 also transmits the tracking information to the server device 200. The timing of transmitting the tracking information to the server device 200 is not particularly limited, and the tracking information may be transmitted when a logout event occurs, for example.
[0056] [Processing when receiving tracking information (tracking device)]
[0057] Reference Figure 3 (C) describes the processing when the tracking device 100 receives tracking information from surrounding tracking devices.
[0058] In step S31, the tracking information receiving unit 150 receives tracking information from surrounding tracking devices via the communication device 103. As described above, the tracking information may include, for example, the tracking target person's global unique ID, tracking ID, feature information, person image, bounding box position, and detection time.
[0059] In step S32, the consistency determination unit 160 determines whether the person currently being tracked by the tracking unit 120 includes a person who is consistent with the person identified by the received tracking information. Specifically, the consistency determination unit 160 compares the feature information of the person currently being tracked stored in the tracking information storage unit 130 with the feature information included in the received tracking information, and determines that these persons are consistent when the similarity is greater than a threshold value.
[0060] In step S33 , if there is a matching tracking target person, the process proceeds to step S34 ; otherwise, the process proceeds to step S36 .
[0061] In step S34, the tracking information updating unit 170 updates the tracking information storage unit 130 by replacing the globally unique ID of the person determined to be consistent with the globally unique ID included in the received tracking information. In addition, the tracking information updating unit 170 may store the tracking ID included in the received tracking information as a previous tracking instance of the person currently being tracked.
[0062] In step S35, the tracking information updating unit 170 sends the consistency information indicating that the person currently being tracked and the person represented by the received tracking information are consistent to the server device 200 via the tracking information sending unit 140. The consistent information includes, for example, the tracking ID currently being tracked and the previously used global unique ID and the global unique ID included in the received tracking information. In addition, the consistent information may also include the previous tracking ID (included in the received tracking information) in addition to the tracking ID currently being tracked.
[0063] In step S36, the consistency determination unit 160 returns the consistency determination result to the tracking device of the sending source of the tracking information via the tracking information sending unit 140. The returned content may also include whether there is a person being tracked that is consistent with the person shown in the sent tracking information, and further include the tracking ID, feature information, etc. By sending the consistency determination result in this way, the tracking device 100 of the sending source can save the time of sending the tracking information again.
[0064] [Processing when receiving tracking information (server device)]
[0065] Reference Figure 4 (A) describes the processing performed by the server device 200 when receiving tracking information. This processing is performed when the tracking information receiving unit 210 receives tracking information from any tracking device 100, and the server device 200 stores the tracking information in the tracking information storage unit 240. Here, the tracking information storage unit 240 stores the tracking information as a database of a graph structure. The following describes how to update the graph database when receiving tracking information.
[0066] In step S41, the tracking information updating unit 220 adds the node of the tracking instance to the tracking information storage unit 240. Specifically, the node identified by the tracking ID is added to the graph database. The node may include other tracking information, such as feature information, person image, position of the bounding box, and detection time.
[0067] In step S42, the tracking information update unit 220 determines whether the globally unique ID included in the tracking information is an ID existing in the database or a new ID. If it is a new ID, the process proceeds to step S43, otherwise the process proceeds to step S44.
[0068] Step S43 is a process executed when the current trace instance has a new globally unique ID. In step S43, the trace information update unit 220 newly adds a node indicating the globally unique ID included in the trace information to the graph database.
[0069] Step S44 is a process executed when the current tracking instance has an existing globally unique ID. In step S44, the tracking information update unit 220 connects the node of the tracking instance identified by the previous tracking ID included in the tracking information and the node of the tracking instance added in step S41 through a link.
[0070] In step S45 , the tracking information update unit 170 connects the tracking instance node added in step S41 and the node of the global unique ID shown in the tracking information (added in step S43 or already exists) by linking.
[0071] [Processing when receiving matching information (server device)]
[0072] Reference Figure 4 (B) describes the processing when the server device 200 receives the coincidence information. This processing is executed when the coincidence information receiving unit 230 receives the coincidence information from any tracking device 100, and the tracking information updating unit 220 updates the graph database based on the coincidence information.
[0073] In step S51, the tracking information updating unit 220 updates the graph database according to the consistent information received by the consistent information receiving unit 230. The consistent information includes the meaning that the person of a certain tracking instance A is consistent with the person of another tracking instance B, and the globally unique ID to be assigned to the person. The tracking information updating unit 220 changes the node of the globally unique ID connected to the node of the tracking instance A to the node of the globally unique ID indicated by the consistent information.
[0074] In step S52 , the tracking information update unit 220 connects the nodes of the tracking instance A and the nodes of the tracking instance B through a link.
[0075] [Graphic database update example]
[0076] Reference Figure 5 (A)~ Figure 5 (D) describes an example of updating the graph database stored in the tracking information storage unit 240.
[0077] Figure 5 (A) is the tracking device 100A (refer to Figure 1(A)) A database when the tracking of a person is newly started as a tracking instance A-1 and a globally unique ID UUID1 is assigned to the person. The tracking information update unit 170 adds a node of the tracking instance A-1 (S41) and a node of the globally unique ID UUID1 (S43) based on the tracking information sent from the tracking device 100A, and connects these nodes (S45).
[0078] Figure 5 (B) shows the database when the tracking device 100B tracks the same person. In addition, it is assumed that the tracking device 100B grasps that the person of the tracking instance B-5 is the same person as the tracking instance A-1 based on the tracking information sent from the tracking device 100A. Therefore, in the tracking information sent from the tracking device 100B to the server device 200, the globally unique ID representing the tracking instance B-5 is UUID1. The tracking information update unit 170 adds a node of the tracking instance B-5 based on the tracking information sent from the tracking device 100B (S41), and connects the node of the tracking instance B-5 and the node of the previous tracking instance A-1 (S44). Furthermore, the tracking information update unit 170 connects the node of the tracking instance B-5 to the node of the globally unique ID UUID1 (S45).
[0079] Figure 5 (C) shows the database when the tracking device 100C tracks the same person. However, it is assumed that at this point in time, the tracking device 100C does not recognize that the person is the same person as the tracking instances A-1 and B-5, and assigns the globally unique ID UUID2 as a new person. The tracking information update unit 170 adds a node of the tracking instance C-3 (S41) and a node of the globally unique ID UUID2 (S43) based on the tracking information sent from the tracking device 100C, and connects these nodes (S45).
[0080] Figure 5 (D) shows the database after the tracking device 100C later recognizes that the person of the tracking instance C-3 is the same person as the tracking instances A-1 and B-5 and sends the consistency information to the server device 200. The tracking information update unit 170 changes the globally unique ID node connected to the tracking instance C-3 from the node of UUID1 to the node of UUID2 based on the consistency information sent from the tracking device 100C (S51). In addition, the tracking information update unit 170 connects the node of the tracking instance B-5 and the node of the tracking instance C-3 (S52).
[0081] In this way, by updating the graphic database of the server device 200 based on the tracking information and the matching information, even if the same person is temporarily recorded as a different person, the same person can be recorded as the same person eventually.
[0082] [Authentication Process (Server Device)]
[0083] Reference Figure 5 (C) describes the verification process of the graphic database performed by the verification unit 250 of the server device 200.
[0084] In step S61, the verification unit 250 detects mismatched connections in the graph database. An example of a mismatched connection is a situation in which a tracking instance node is linked to tracking instance nodes of multiple tracking devices whose camera shooting ranges do not overlap in the graph database. If the camera shooting ranges do not overlap, the tracking instance node should be linked to one tracking instance node. When there is a misidentification in the consistency judgment based on the feature information, the situation as described above erroneously occurs. The verification unit 250 regards such a connection as a mismatched connection.
[0085] Another example of an incompatible connection is when the person being tracked moves between tracking devices that are so far apart that the person cannot move in reality. Since such movement does not occur in reality, the verification unit 250 also regards such a connection as an incompatible connection.
[0086] In step S62, the verification unit 250 corrects the mismatched connection in the graph database. One example of correction is to delete the mismatched connection (link). Another example of correction is to replace the mismatched connection with a correct connection.
[0087] [Search Processing (Server Device)]
[0088] Figure 5 (D) is a person search process performed by the server device 200.
[0089] In step S240 , the search target image acquisition unit 260 acquires an image of the search target person. The search target image acquisition unit 260 may acquire the image from another device via a network, may read the image from a storage medium, or may acquire the image from a camera included in the server device 200 .
[0090] In step S72, the search object determination unit 270 determines the search object person and obtains the globally unique ID of the person. The person can be determined by extracting the characteristic information of the person from the image and searching for a person having the same characteristic information as the characteristic information. The server device 200 has a storage unit that associates the characteristic information of the person and the globally unique ID used in the graphic database and stores it, and obtains the globally unique ID of the search object person by referring to the storage unit. In other embodiments, the search object determination unit 270 sends an image of the search object person or the characteristic information of the person to an external device, and obtains the globally unique ID of the person as a result.
[0091] In step S73, the search unit 280 searches the graph database in the tracking information update unit 220 to search for the tracking instance connected to the global unique ID obtained in step S72. In addition, in this search, when a condition such as a geographical range or a time range of the search is specified, the search unit 280 searches only for the tracking instance that meets the condition. In the graph database, each tracking instance node is connected to a global unique ID node, so it is easy to search for the tracking instance of the person with the specified global unique ID.
[0092] In step S74, the search unit 280 presents the search results. Presentation of the search results may be output on a screen or may be transmission of the search results to another device.
[0093] [Advantageous Effects of Embodiments]
[0094] According to this embodiment, the tracking device cooperates with surrounding tracking devices to perform consistency determination of the tracking target person, and the server device does not perform consistency determination processing. Therefore, even if the number of tracking devices increases, the load of the server device related to consistency determination does not increase, so it is scalable.
[0095] In addition, the server device manages tracking information using a database with a graph structure. It is not easy to manage information related to tracking using a database with a table structure (relational database), but management becomes easy by using a graph database. For example, by connecting the nodes of the tracking instance, it is easy to sequentially obtain the tracking instances accompanying the movement of the tracking object. In addition, since the nodes of the globally unique ID are connected to each tracking instance of the tracking instance, the search process using the globally unique ID is also simplified. Therefore, it is also easy to extract the search information of a specific person from the graph database.
[0096] In addition, since the tracking device performs the matching determination of the tracking object and notifies the server device, the database is updated in such a manner that different global IDs are assigned to the same person and the same global ID is eventually assigned to the same person.
[0097] (Other embodiments)
[0098] The above-described embodiment is merely an example, and the present disclosure can be implemented with appropriate changes without departing from the gist of the disclosure.
[0099] In the above description, an example in which the search object is a person is described, but the search object in other embodiments may be other objects. Examples of the search object include vehicles, flying objects, animals, etc., but are not limited to these.
[0100] The present disclosure can also be implemented by providing a computer program installed with the functions described in the above embodiments to a computer and having one or more processors of the computer read out and execute the program. Such a computer program can be provided to the computer via a non-temporary computer-readable storage medium that can be connected to the system bus of the computer, or it can be provided to the computer via a network. Non-temporary computer-readable storage media include, for example, any type of disk (floppy disk (registered trademark), hard disk drive (HDD)), optical disk (CD-ROM, DVD disk, Blu-ray disk, etc.), read-only memory (ROM), random access memory (RAM), EPROM, EEPROM, magnetic card, flash memory, optical card, and any type of medium suitable for storing electronic commands.
Claims
1. A tracking system, comprising a plurality of tracking devices and a server device, characterized in that: Each of the plurality of tracking devices comprises: Camera device; A tracking unit that tracks an object based on the camera image acquired by the camera device; A tracking information sending unit that sends tracking information including at least a feature and an identifier of the object to surrounding tracking devices and the server device; a determination unit that, when receiving the tracking information from the other tracking device, determines whether the objects currently being tracked include an object that is consistent with the object specified by the tracking information sent from the other tracking device; as well as an updating unit that, when it is determined that the objects currently being tracked include an object that is consistent with the object identified by the tracking information sent from the other tracking device, replaces the identifier of the object with the identifier included in the tracking information, and sends consistency information indicating that the objects received from the surrounding tracking devices are consistent with the object currently being tracked to the server device, The server device includes a storage unit that stores the tracking information transmitted from the tracking device in a graph structure, connects nodes of mutually matching tracking information indicated by the matching information, and connects and stores nodes of identification information of an object to nodes of each tracking information.
2. The tracking system according to claim 1, wherein: The tracking information transmitting unit of the tracking device periodically transmits the tracking information to the tracking devices whose imaging ranges overlap with those of the imaging device among the surrounding tracking devices. The tracking information transmitting unit of the tracking device transmits the tracking information to a tracking device whose imaging range does not overlap with that of the imaging device among surrounding tracking devices, according to the exit event of the object.
3. The tracking system according to claim 1, wherein: The server device further includes a verification unit that verifies the link relationship of the tracking information in the storage unit, and when an incompatible link relationship is found, notifies a user or corrects the incompatible link relationship.
4. The tracking system according to claim 1, wherein: The server device comprises: An image acquisition unit that acquires an image of a captured object; an identifier determining unit that determines an identifier of an object in the image; and The search unit acquires the tracking information of the object in the image from the storage unit and outputs the tracking information.
5. A tracking method in a tracking system, the tracking system comprising a plurality of tracking devices and a server device, characterized in that: Each tracking device of the plurality of tracking devices performs: A tracking step of tracking the object based on the camera image obtained by the camera device; A tracking information sending step, sending tracking information including at least the characteristics and identifier of the object to surrounding tracking devices and the server device; a determination step of, when the tracking information is received from another tracking device, determining whether the objects currently being tracked include an object that is consistent with the object determined by the tracking information; as well as an updating step, in which, when it is determined that the objects currently being tracked include an object that is consistent with the object determined by the tracking information, an identifier of the object is replaced with an identifier included in the tracking information, and consistent information indicating that the object received from the surrounding tracking device is consistent with the object currently being tracked is sent to the server device, The server device executes a storage step in which the tracking information sent from the tracking device is stored as a graph structure, and the nodes of the tracking information that are consistent with each other are connected by the consistent information, and the nodes of the identification information of the object are connected to each node of the tracking information and stored.
6. A computer-readable storage medium storing a program used in a tracking system including a plurality of tracking devices and a server device, Cause the tracking device to execute: A tracking step of tracking the object based on the camera image obtained by the camera device; A tracking information sending step, sending tracking information including at least the characteristics and identifier of the object to surrounding tracking devices and the server device; a determination step of, when the tracking information is received from another tracking device, determining whether the objects currently being tracked include an object that is consistent with the object determined by the tracking information; as well as an updating step, in which, when it is determined that the objects currently being tracked include an object that is consistent with the object determined by the tracking information, an identifier of the object is replaced with an identifier included in the tracking information, and consistent information indicating that the object received from the surrounding tracking device is consistent with the object currently being tracked is sent to the server device, The server device is caused to execute a storage step, in which the tracking information sent from the tracking device is stored as a graph structure, and the nodes of the tracking information that are consistent with each other are connected by the consistent information, and the nodes of the identification information of the object are connected to each node of the tracking information and stored.
Citation Information
Patent Citations
Graph display device, graph display program and computer readable storage medium with graph display program stored
JP2017021753A
