A method and system for interactive retrieval of pedestrian re-identification based on camera position

By initializing the target pedestrian picture list and the camera distance matrix, the retrieval range is narrowed, and manual screening is introduced to solve the problems of limited retrieval area and low accuracy in pedestrian re-identification technology, achieving a wider range of pedestrian re-identification and higher accuracy. Search accuracy.

CN112949539BActive Publication Date: 2024-09-06安徽领云物联科技有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110281380.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-03-16
Publication Date
2024-09-06
Estimated Expiration
2041-03-16

AI Technical Summary

Technical Problem

Existing pedestrian re-identification technology has the problem of limited retrieval area and low accuracy of retrieval results, especially its application in open areas is limited.

Method used

By initializing the target pedestrian picture list and camera distance matrix, the retrieval scope is narrowed, multiple cameras are used to capture the video list, the trained pedestrian re-identification model is input for feature matching, and manual screening is introduced to improve the accuracy of the retrieval results.

Benefits of technology

It achieves a wider range of pedestrian re-identification, improves the accuracy of retrieval results, adapts to changes in environment and lighting, and is suitable for pedestrian tracking in open areas.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112949539B
    Figure CN112949539B
Patent Text Reader

Abstract

The present invention provides a method for interactive retrieval of pedestrian re-identification based on camera position, comprising the steps of: initializing a list of target pedestrian images, each target pedestrian image including the position and time information of the target pedestrian; initializing a camera distance matrix and a time range for shooting to determine a retrieval range; shooting through a plurality of cameras within the time range to obtain a video list; obtaining a list of reference pedestrian images based on the video list, and inputting the list of target pedestrian images and each reference pedestrian image into a trained pedestrian re-identification model to obtain a retrieval result; and manually screening the retrieval results to obtain the final retrieval result. The method for interactive retrieval of pedestrian re-identification based on camera position provided by the present invention can perform retrieval in a larger range, which not only improves the accuracy of the results, but also can adapt to changes in the environment, lighting, and clothing of target pedestrians.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer vision, and in particular to a camera position-based pedestrian re-identification interactive retrieval method and system. Background Art

[0002] Person Re-Identification (ReID) can be viewed as an image retrieval problem: given an image of a person captured by a camera, we need to find images of this person captured by other cameras. The algorithm can restore a person's behavior trajectory from the back, side, or when the face is blurred, and achieve recognition, retrieval, and tracking of the target person. It can be used to track suspects. Based on the suspect's photo, the video segments where the suspect appears can be collected from the surveillance video library, and the suspect's trajectory in each camera can be linked together to assist the police in sorting out clues and solving the case. Similarly, it can be used for intelligent search for people in shopping malls and stations.

[0003] In actual application scenarios, the pedestrian images taken by cameras have various perspectives and postures, and there are also problems such as lighting changes, occlusion, and similar clothing, which leads to low accuracy and recall of ReID retrieval results. Secondly, the existing retrieval technology can only be used in a limited range, or can only be applied to closed areas and simple scenes with limited pedestrians, and is limited to retrieval in larger time and space ranges or even in open areas.

[0004] Therefore, in order to solve the problem of limited retrieval area and low accuracy of retrieval results in the prior art, the present invention designs a pedestrian re-identification interactive retrieval method and system based on camera position. Summary of the invention

[0005] In view of the above-mentioned shortcomings of the prior art, an object of the present invention is to provide a method and system for interactive retrieval of pedestrian re-identification based on camera position, so as to solve the problems in the prior art of limited retrieval area and low accuracy of retrieval results.

[0006] To achieve the above-mentioned and other related purposes, the present invention provides a method for interactive retrieval of pedestrian re-identification based on camera position, comprising the steps of:

[0007] Initialize a list of target pedestrian images, each of which includes the location and time information of the target pedestrian;

[0008] Initialize the camera distance matrix and its shooting time range to determine the retrieval range;

[0009] Within the time range, shooting is performed by using a plurality of the cameras to obtain a video list;

[0010] Obtaining a reference pedestrian image list according to the video list, and inputting the target pedestrian image list and each reference pedestrian image into a trained pedestrian re-identification model to obtain a retrieval result;

[0011] The search results are manually screened to obtain the final search results.

[0012] In one embodiment of the present invention, obtaining a reference pedestrian image list according to the video list, and inputting the target pedestrian image list and each reference pedestrian image into a trained pedestrian re-identification model to obtain a retrieval result comprises the steps of:

[0013] S41, extracting images from each video in the video list in sequence according to a set frame rate;

[0014] S42, performing pedestrian detection on the extracted image to obtain the reference pedestrian image list;

[0015] S43, inputting the target pedestrian image list into the trained pedestrian re-identification model to obtain a target feature vector set;

[0016] S44, inputting each of the reference pedestrian images in the reference pedestrian image list into the trained pedestrian re-identification model in sequence to obtain a reference feature vector;

[0017] S45, determining whether the reference feature vector matches a feature vector in the target feature vector set:

[0018] If yes, then tracking the reference pedestrian corresponding to the reference feature vector to obtain a motion trajectory video of the reference pedestrian;

[0019] Otherwise, return to step S44 to continue searching for the next reference pedestrian image.

[0020] In one embodiment of the present invention, after obtaining the motion trajectory video of the reference pedestrian, the following steps are further included:

[0021] S451, sampling the motion trajectory video to obtain a sampled image;

[0022] S452, inputting the sampled image into the trained person re-identification model to obtain a sampled feature vector;

[0023] S453: Determine whether the sampled feature vector matches a feature vector in the target feature vector set:

[0024] If yes, adding the sampled image to the search result;

[0025] Otherwise, return to step S44 to continue searching for the next reference pedestrian image.

[0026] In one embodiment of the present invention, when the reference feature vector does not match a feature vector in the target feature vector set, or the sampled feature vector does not match a feature vector in the target feature vector set, the method further includes: determining whether all the reference pedestrian images in the reference pedestrian image list have been retrieved:

[0027] If yes, return to step S41 to extract the next image;

[0028] Otherwise, return to step S44 to retrieve the next reference pedestrian image.

[0029] In one embodiment of the present invention, the determining whether the reference feature vector matches a feature vector in the target feature vector set includes: determining whether a distance between the reference feature vector and a feature vector in the target feature vector set is less than a set threshold:

[0030] If so, the two feature vectors match;

[0031] Otherwise, no match.

[0032] In one embodiment of the present invention, the sampled images in the search results include the location information of the camera and the time information of shooting. Based on the location information and the time information, the sampled images in the search results are manually screened to obtain the final search results.

[0033] In one embodiment of the present invention, the pedestrian re-identification interactive retrieval method further includes: determining whether the final retrieval result contains the sampled image:

[0034] If yes, then extend the shooting time range of the camera, estimate the farthest activity distance of the target pedestrian according to the time range, shoot videos through multiple cameras within the distance, and further perform retrieval;

[0035] Otherwise, the start time of the camera shooting the video remains unchanged, the end time is extended, and the farthest activity distance of the target pedestrian is estimated based on the time range, and the video is shot by multiple cameras within the distance, and the search is performed again.

[0036] In one embodiment of the present invention, the elements in the camera distance matrix are straight-line distances between two cameras.

[0037] The present invention also provides a camera position-based pedestrian re-identification interactive retrieval system, comprising:

[0038] The first initialization module is used to initialize the target pedestrian image list;

[0039] The second initialization module is used to initialize the camera distance matrix and the time range of its shooting to determine the retrieval range;

[0040] A video shooting module, used for shooting through the plurality of cameras within the time range to obtain a video list;

[0041] A retrieval module, used to obtain a reference pedestrian image list according to the video list, and input the target pedestrian image list and each reference pedestrian image into the trained pedestrian re-identification model to obtain a retrieval result;

[0042] The screening module is used to manually screen the search results to obtain the final search results.

[0043] In one embodiment of the present invention, the search module includes:

[0044] An image extraction unit, used to extract images from each video in the video list in sequence according to a set frame rate;

[0045] A pedestrian detection unit, configured to perform pedestrian detection on the extracted image to obtain the reference pedestrian image list;

[0046] A target feature vector set acquisition unit, used for inputting the target pedestrian image list into the trained pedestrian re-identification model to obtain a target feature vector set;

[0047] A reference feature vector acquisition unit, used for sequentially inputting each of the reference pedestrian images in the reference pedestrian image list into the trained pedestrian re-identification model to obtain a reference feature vector;

[0048] A judging unit, used to judge whether the reference feature vector matches a feature vector in the target feature vector set:

[0049] If yes, the reference pedestrian is tracked to obtain a motion trajectory video of the reference pedestrian;

[0050] Otherwise, continue to retrieve the next reference pedestrian image.

[0051] In one embodiment of the present invention, a pedestrian re-identification interactive retrieval device based on camera position includes: a processor, the processor is coupled to a memory, the memory stores program instructions, and when the program instructions stored in the memory are executed by the processor, the pedestrian re-identification interactive retrieval method as described above is implemented.

[0052] In one embodiment of the present invention, a computer-readable storage medium is characterized in that it includes a program, and when the program is run on a computer, the computer executes the above-mentioned pedestrian re-identification interactive retrieval method.

[0053] As described above, the present invention provides a camera position-based pedestrian re-identification interactive retrieval method and system, which utilizes the geographical location relationship of the camera to reasonably search the time and location of the target pedestrian, narrowing the scope of each search, thereby achieving pedestrian re-identification in a wider range; secondly, human-computer interaction is introduced in the retrieval process, and confirmed sampled images are added to the final retrieval results through manual screening, thereby improving the accuracy of the retrieval results. The method can also adapt to changes in the environment, lighting, and clothing of the target pedestrian. BRIEF DESCRIPTION OF THE DRAWINGS

[0054] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for describing the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative work.

[0055] Figure 1 A schematic flow chart of a camera position-based pedestrian re-identification interactive retrieval method provided by the present invention.

[0056] Figure 2 Schematic diagram of the process of step S4 in the embodiment of the present invention.

[0057] Figure 3 A schematic diagram of the principle structure of a camera position-based pedestrian re-identification interactive retrieval system provided by the present invention.

[0058] Figure 4 Schematic diagram of the principle structure of the retrieval module in an embodiment of the present invention.

[0059] Component number description

[0060] 11 First initialization module 142 Pedestrian detection unit

[0061] 12 Second initialization module 143 Target feature vector set acquisition unit

[0062] 13 Video shooting module 144 Reference feature vector acquisition unit

[0063] 14 Search module 145 Determine hope

[0064] 141 Image extraction unit 15 Screening module DETAILED DESCRIPTION

[0065] The following describes the embodiments of the present invention by specific examples, and those skilled in the art can easily understand other advantages and effects of the present invention from the contents disclosed in this specification. The present invention can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present invention. It should be noted that the following embodiments and features in the embodiments can be combined with each other without conflict.

[0066] It should be noted that the illustrations provided in the following embodiments are only schematic illustrations of the basic concept of the present invention, and thus the drawings only show components related to the present invention rather than being drawn according to the number, shape and size of components in actual implementation. In actual implementation, the type, quantity and proportion of each component may be changed arbitrarily, and the component layout may also be more complicated.

[0067] Person re-identification (ReID), also known as pedestrian re-identification, is a technology that uses computer vision technology to determine whether a specific pedestrian exists in an image or video sequence. Given a monitored pedestrian image, the pedestrian image under cross-device retrieval is intended to make up for the visual limitations of fixed cameras, and can be combined with pedestrian detection and pedestrian tracking technology. However, due to the differences between different camera devices, and the fact that pedestrians have both rigid and flexible characteristics, their appearance is easily affected by clothing, scale, occlusion, posture and viewing angle, which makes the accuracy of pedestrian re-identification low and the spatial range of retrieval is also limited. Therefore, the present invention proposes a pedestrian re-identification interactive retrieval method and system based on camera position, which uses the geographical location of the camera to reasonably search the time and location of the target pedestrian, narrows the scope of each search, and thus achieves pedestrian re-identification in a wider range; secondly, manual screening is added in the retrieval process to improve the accuracy of the retrieval results.

[0068] like Figure 1 As shown, the present invention provides a pedestrian re-identification interactive retrieval method based on camera position, comprising the steps of:

[0069] S1. Initialize a list of target pedestrian images, each of which includes the location and time information of the target pedestrian;

[0070] S2, initializing the camera distance matrix and its shooting time range to determine the retrieval range;

[0071] S3, shooting with multiple cameras within a time range to obtain a video list;

[0072] S4, obtaining a reference pedestrian image list according to the video list, and inputting the target pedestrian image list and each reference pedestrian image into the trained pedestrian re-identification model to obtain a retrieval result;

[0073] S5. Manually screen the search results to obtain the final search results.

[0074] In one embodiment of the present invention, a list of multiple cameras is {Cami} (i = 1, 2, ..., n), and the camera distance matrix is ​​represented by Mat = [Dij] (i = 1, 2, ..., n; j = 1, 2, ..., n), wherein Dij = Distance (Cami, Camj), which represents the straight-line distance between camera i and camera j. In other embodiments, the straight-line distance described in this embodiment can also be replaced by a more accurate walking distance through the walking navigation function of the map software. After initializing the camera distance matrix and the time range of the shooting, the farthest distance that the target pedestrian can reach is estimated based on the position and time information in the target pedestrian image. The current position is used as the starting point, and the area formed by the farthest distance as the radius is the search range. The cameras within the range are determined according to the camera distance matrix, and then subsequent searches are performed through the videos captured by the cameras within the range.

[0075] like Figure 2 As shown, further, step S4 also includes:

[0076] S41, extracting images from each video in the video list in turn according to a set frame rate;

[0077] S42, performing pedestrian detection on the extracted images to obtain a reference pedestrian image list;

[0078] S43, inputting the target pedestrian image list into the trained pedestrian re-identification model to obtain a target feature vector set;

[0079] S44, inputting each reference pedestrian image in the reference pedestrian image list into the trained pedestrian re-identification model in sequence to obtain a reference feature vector;

[0080] S45, judging whether the reference feature vector matches a feature vector in the target feature vector set:

[0081] If yes, then the reference pedestrian corresponding to the reference feature vector is tracked to obtain the motion trajectory video of the reference pedestrian;

[0082] Otherwise, return to step S44 to continue searching for the next reference pedestrian image.

[0083] Pedestrian detection is to use computer vision technology to determine whether there are pedestrians in an image or video sequence and give precise positioning. In one embodiment of the present invention, for step S42, the extracted image is identified using pedestrian detection technology to find multiple reference pedestrians in the image and form a reference pedestrian image list, wherein the reference pedestrian image contains the position status information of the reference pedestrian.

[0084] In one embodiment of the present invention, for step S43, firstly, a pedestrian re-identification model is established and trained to obtain a trained pedestrian re-identification model; secondly, since a corresponding feature vector is obtained by inputting a picture into the pedestrian re-identification model, a target feature vector set is obtained by inputting a target pedestrian picture list into the trained pedestrian re-identification model, and the target vector set is composed of a plurality of feature vectors, and these feature vectors correspond one to one with the target pedestrian pictures in the target pedestrian picture list. Similarly, each reference pedestrian image in the reference pedestrian image list is sequentially input into the trained pedestrian re-identification model, and a reference feature vector corresponding thereto is also obtained. Then, the reference feature vector is compared with each feature vector in the target feature vector set to determine whether there is at least one feature vector in the target feature vector set that can match the reference feature vector. If so, the reference pedestrian corresponding to the reference feature vector is tracked to obtain the motion trajectory video of the reference pedestrian. Otherwise, the process returns to step S44 to continue inputting the next reference pedestrian image. In this embodiment, a KCF algorithm (Kernel Correlation Filter) is used to track the reference pedestrian so as to lock the reference pedestrian in continuous video frames.

[0085] like Figure 2 As shown, further, after obtaining the motion trajectory video of the reference pedestrian, the method further includes the following steps:

[0086] S451, sampling and selecting the motion trajectory video to obtain a sampled image;

[0087] S452, inputting the sampled image into the trained person re-identification model to obtain a sampled feature vector;

[0088] S453, determine whether the sampled feature vector matches a feature vector in the target feature vector set:

[0089] If yes, then add the sampled image to the search results;

[0090] Otherwise, return to step S44 to continue searching for the next reference pedestrian image.

[0091] In one embodiment of the present invention, for step S451, in the motion trajectory video obtained by tracking the reference pedestrian using the KCF algorithm, the changes in the action, position, state, etc. of the reference pedestrian within a very short time interval are very small. Therefore, the picture obtained by sampling the motion trajectory video according to the frame rate can be used as a basis for further retrieval of the reference pedestrian.

[0092] In one embodiment of the present invention, by judging whether the distance between the reference feature vector and a feature vector in the target feature vector set is less than a set threshold, it is judged whether the reference feature vector matches a feature vector in the target feature vector set; similarly, by judging whether the distance between the sampled feature vector and a feature vector in the target feature vector set is less than a set threshold, it is judged whether the sampled feature vector matches a feature vector in the target feature vector set. The threshold can be obtained by calculating the average value of the distance between feature vectors of different pictures of the same person.

[0093] like Figure 2 As shown, further, when the reference feature vector does not match a feature vector in the target feature vector set, or the sampled feature vector does not match a feature vector in the target feature vector set, the method further includes the steps of: determining whether all reference pedestrian images in the reference pedestrian image list have been retrieved:

[0094] If yes, return to step S41 to perform the next image extraction;

[0095] Otherwise, return to step S44 to retrieve the next reference pedestrian image.

[0096] In one embodiment of the present invention, since the sampled images in the search results contain the location information of the camera and the time information of the shooting, the sampled images in the search results can be manually screened according to the location and time information, thereby removing unreasonable sampled images and obtaining the final search results. Through manual screening, the confirmed sampled images are added to the final search results, thereby improving the accuracy of the search results.

[0097] In one embodiment of the present invention, the person re-identification interactive retrieval method further includes: after obtaining the final retrieval result through manual screening, determining whether the final retrieval result contains the sampled image:

[0098] If yes, then extend the camera's shooting time range, and estimate the farthest activity distance of the target pedestrian according to the time range, and shoot videos through multiple cameras within the distance, so as to further perform retrieval;

[0099] Otherwise, the start time of the camera video shooting remains unchanged, the cut-off time is extended, and the farthest activity distance of the target pedestrian is estimated according to the time range, and the video is shot by multiple cameras within the distance, so as to re-retrieve.

[0100] The steps of the above method are divided only for clear description. When implemented, they can be combined into one step or some steps can be split and decomposed into multiple steps. As long as they contain the same logical relationship, they are all within the protection scope of the present invention. Adding insignificant modifications to the algorithm or process or introducing insignificant designs without changing the core design of the algorithm and process are all within the protection scope of the invention.

[0101] like Figure 3 As shown, the present invention also provides a camera position-based pedestrian re-identification interactive retrieval system, comprising: a first initialization module 11, a second initialization module 12, a video shooting module 13, a retrieval module 14 and a screening module 15; wherein the first initialization module 11 is used to initialize a target pedestrian picture list, the second initialization module 12 is used to initialize a camera distance matrix and a shooting time range thereof to determine a retrieval range, the video shooting module 13 is used to shoot through a plurality of cameras within the time range to obtain a video list, the retrieval module 14 is used to obtain a reference pedestrian image list according to the video list, and input the target pedestrian picture list and each reference pedestrian image into a trained pedestrian re-identification model to obtain a retrieval result, and the screening module 15 is used to manually screen the retrieval result to obtain a final retrieval result.

[0102] like Figure 4 As shown, further, the retrieval module 14 also includes: an image extraction unit 141, a pedestrian detection unit 142, a target feature vector set acquisition unit 143, a reference feature vector acquisition unit 144 and a judgment unit 145; wherein the image extraction unit 141 is used to extract images for each video in the video list in turn according to the set frame rate, the pedestrian detection unit 142 is used to perform pedestrian detection on the extracted images to obtain a reference pedestrian image list, the target feature vector set acquisition unit 143 is used to input the target pedestrian image list into the trained pedestrian re-identification model to obtain a target feature vector set, the reference feature vector acquisition unit 144 is used to input each reference pedestrian image in the reference pedestrian image list into the trained pedestrian re-identification model in turn to obtain a reference feature vector, and the judgment unit 145 is used to determine whether the reference feature vector matches a feature vector in the target feature vector set: if so, the reference pedestrian is tracked to obtain the motion trajectory video of the reference pedestrian, otherwise, the next reference pedestrian image is retrieved.

[0103] It should be noted that, in order to highlight the innovative part of the present invention, the present embodiment does not introduce modules that are not closely related to solving the technical problem proposed by the present invention, but this does not mean that there are no other modules in the present embodiment.

[0104] In addition, those skilled in the art can clearly understand that, for the convenience and simplicity of description, the specific working process of the system described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here. In the embodiments provided by the present invention, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are merely schematic. For example, the division of the modules is only a logical function division. There may be other division methods in actual implementation, such as multiple modules or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.

[0105] The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical modules, that is, they may be located in one place or distributed on multiple network modules. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0106] In addition, each functional module in each embodiment of the present invention may be integrated into one processing module, or each module may exist physically separately, or two or more modules may be integrated into one module. The above integrated modules may be implemented in the form of hardware or in the form of software functional units.

[0107] If the integrated module is implemented in the form of a software function module and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk, etc., various media that can store program codes.

[0108] In one embodiment of the present invention, a pedestrian re-identification interactive retrieval device based on camera position includes: a processor, the processor is coupled to a memory, the memory stores program instructions, and when the program instructions stored in the memory are executed by the processor, the pedestrian re-identification interactive retrieval method can be implemented.

[0109] As described above, the present invention provides a method and system for interactive retrieval of pedestrian re-identification based on camera position, which utilizes the geographical location relationship of the camera to reasonably search the time and location of the target pedestrian, narrowing the scope of each search, thereby achieving pedestrian re-identification in a wider range; secondly, human-computer interaction is introduced in the search process, and the confirmed sampled images are added to the final search results through manual screening, thereby improving the accuracy of the search results. The method can also adapt to changes in the environment, lighting, and clothing of the target pedestrian. Therefore, the present invention effectively overcomes the various shortcomings of the prior art and has a high industrial utilization value.

[0110] The above embodiments are merely illustrative of the principles and effects of the present invention, and are not intended to limit the present invention. Anyone familiar with the art may modify or alter the above embodiments without departing from the spirit and scope of the present invention. Therefore, all equivalent modifications or alterations made by a person of ordinary skill in the art without departing from the spirit and technical concept disclosed by the present invention shall still be covered by the claims of the present invention.

Claims

1. A camera position-based pedestrian re-identification interactive retrieval method, characterized in that: The method comprises: Initialize a list of target pedestrian images, each of which includes the location and time information of the target pedestrian; Initialize the camera distance matrix and its shooting time range to determine the retrieval range; Within the time range, shooting is performed by using a plurality of cameras determined based on the search range and the camera distance matrix to obtain a video list; Obtaining a reference pedestrian image list according to the video list, and inputting the target pedestrian image list and each reference pedestrian image into a trained pedestrian re-identification model to obtain a retrieval result; Manually screening the search results to obtain the final search results, wherein the search results include sampled pictures, and the sampled pictures include the location information of the camera and the time information of shooting. According to the location information and the time information, the sampled pictures in the search results are manually screened to obtain the final search results; Determine whether the final search result contains the sampled image: If yes, then extend the shooting time range of the camera, estimate the farthest activity distance of the target pedestrian according to the time range, shoot videos through multiple cameras within the distance, and further perform retrieval; Otherwise, the start time of the camera shooting the video remains unchanged, the end time is extended, and the farthest activity distance of the target pedestrian is estimated according to the time range, and the video is shot by multiple cameras within the distance, and the search is performed again; The step of obtaining a reference pedestrian image list according to the video list, and inputting the target pedestrian image list and each reference pedestrian image into the trained pedestrian re-identification model to obtain a retrieval result comprises the following steps: S41, extracting images from each video in the video list in sequence according to a set frame rate; S42, performing pedestrian detection on the extracted image to obtain the reference pedestrian image list; S43, inputting the target pedestrian image list into the trained pedestrian re-identification model to obtain a target feature vector set; S44, inputting each of the reference pedestrian images in the reference pedestrian image list into the trained pedestrian re-identification model in sequence to obtain a reference feature vector; S45, determining whether the reference feature vector matches a feature vector in the target feature vector set: If yes, then tracking the reference pedestrian corresponding to the reference feature vector to obtain a motion trajectory video of the reference pedestrian; Otherwise, return to step S44 and continue to search for the next reference pedestrian image; after obtaining the motion trajectory video of the reference pedestrian, the method further includes the following steps: S451, sampling the motion trajectory video to obtain a sampled image; S452, inputting the sampled image into the trained person re-identification model to obtain a sampled feature vector; S453: Determine whether the sampled feature vector matches a feature vector in the target feature vector set: If yes, adding the sampled image to the search result; Otherwise, return to step S44 to continue searching for the next reference pedestrian image.

2. The method for interactive retrieval of pedestrian re-identification based on camera position according to claim 1, characterized in that: When the reference feature vector does not match a feature vector in the target feature vector set, or the sampled feature vector does not match a feature vector in the target feature vector set, the method further includes the steps of: determining whether all the reference pedestrian images in the reference pedestrian image list have been retrieved: If yes, return to step S41 to extract the next image; Otherwise, return to step S44 to retrieve the next reference pedestrian image.

3. The method for interactive retrieval of pedestrian re-identification based on camera position according to claim 1, characterized in that: The determining whether the reference feature vector matches a feature vector in the target feature vector set comprises: Determine whether the distance between the reference feature vector and a feature vector in the target feature vector set is less than a set threshold: If so, the two feature vectors match; Otherwise, no match.

4. The method for interactive retrieval of pedestrian re-identification based on camera position according to claim 1, characterized in that: The elements in the camera distance matrix are the straight-line distances between the two cameras.

5. A camera position-based pedestrian re-identification interactive retrieval system, characterized in that: It includes at least: A first initialization module is used to initialize a list of target pedestrian images, each of which includes the location and time information of the target pedestrian; The second initialization module is used to initialize the camera distance matrix and the time range of its shooting to determine the retrieval range; A video shooting module, used for shooting within the time range by using a plurality of cameras determined based on the search range and the camera distance matrix to obtain a video list; A retrieval module, used to obtain a reference pedestrian image list according to the video list, and input the target pedestrian image list and each reference pedestrian image into the trained pedestrian re-identification model to obtain a retrieval result; A screening module, used to manually screen the search results to obtain the final search results, wherein the search results include sampled pictures, and the sampled pictures include the location information of the camera and the time information of shooting. According to the location information and the time information, the sampled pictures in the search results are manually screened to obtain the final search results; Determine whether the final search result contains the sampled image: If yes, then extend the shooting time range of the camera, estimate the farthest activity distance of the target pedestrian according to the time range, shoot videos through multiple cameras within the distance, and further perform retrieval; Otherwise, the start time of the camera shooting the video remains unchanged, the end time is extended, and the farthest activity distance of the target pedestrian is estimated according to the time range, and the video is shot by multiple cameras within the distance, and the search is performed again; the reference pedestrian image list is obtained according to the video list, and the target pedestrian image list and each reference pedestrian image are input into the trained pedestrian re-identification model to obtain the search result, including the steps of: S41, extracting images from each video in the video list in sequence according to a set frame rate; S42, performing pedestrian detection on the extracted image to obtain the reference pedestrian image list; S43, inputting the target pedestrian image list into the trained pedestrian re-identification model to obtain a target feature vector set; S44, inputting each of the reference pedestrian images in the reference pedestrian image list into the trained pedestrian re-identification model in sequence to obtain a reference feature vector; S45, determining whether the reference feature vector matches a feature vector in the target feature vector set: If yes, then tracking the reference pedestrian corresponding to the reference feature vector to obtain a motion trajectory video of the reference pedestrian; Otherwise, return to step S44 to continue searching for the next reference pedestrian image; After obtaining the motion trajectory video of the reference pedestrian, the method further includes the following steps: S451, sampling the motion trajectory video to obtain a sampled image; S452, inputting the sampled image into the trained person re-identification model to obtain a sampled feature vector; S453: Determine whether the sampled feature vector matches a feature vector in the target feature vector set: If yes, adding the sampled image to the search result; Otherwise, return to step S44 to continue searching for the next reference pedestrian image.