Method, server and system for counting and tracking people in dual recording scenarios

Through the cooperation of camera equipment and servers, detection frames in video images are segmented and matched in real time, which solves the problem of accuracy of people counting and tracking in double recording scenarios, reduces false detections and missed detections, and ensures normal business processing and cooperation. Regularity.

CN115100597BInactive Publication Date: 2024-08-27PING AN BANK CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210743285.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-06-28
Publication Date
2024-08-27
Estimated Expiration
Not applicable · inactive patent

Smart Images

  • Figure CN115100597B
    Figure CN115100597B
Patent Text Reader

Abstract

The present application provides a method for counting and tracking people in a dual-recording scenario, including: using a camera to shoot the recording scene to obtain a real-time video image; segmenting the video image to obtain a detection frame of the detected person; calculating the confidence of the detection frame; performing a first-level pairing of the detected person in the detection frame whose frame confidence is higher than a preset confidence threshold with the tracking target of the current frame image, and performing a second-level pairing of the detected person in the detection frame whose frame confidence is lower than the preset confidence threshold with the tracking person of the current frame image; updating the tracked person of the current frame image that has been successfully matched; determining whether the number of times that the unpaired tracking target has been unpaired continuously reaches a preset number; and eliminating the tracking target that is unpaired and reaches the predicted number, and using the tracking target that has not reached the predicted number as the tracking target of the next frame image. The technical solution of the present application can count and track people in a dual-recording scenario more accurately and intelligently.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of mobile Internet, and in particular to a method for counting and tracking people in a dual recording scenario, a server, and a system for counting and tracking people in a dual recording scenario. Background Art

[0002] Selling financial products and acting as agents for insurance companies to sell insurance products are common businesses of commercial banks. Due to regulatory requirements, in order to ensure that salesmen sell financial products and insurance products in compliance with regulations and reduce the risk of customer complaints, salesmen are required to introduce products to customers truthfully, and the entire sales process needs to be recorded and recorded (double-recorded) for archiving, so that it is convenient to review and verify when disputes arise in the future. In the actual scenario where salesmen sell products to customers, salesmen usually use tablet computers to introduce insurance products to customers, and use video equipment in front of the salesmen and customers to record the entire process in audio and video. In order to allow customers to make their own choices and avoid interfering with customers, extra personnel are usually not allowed to be present. If people unrelated to the business appear in the camera, they may be judged as violations during the quality inspection process, resulting in fines for the salesmen, and it will also bring potential risks. Summary of the invention

[0003] In view of this, it is necessary to provide a more accurate and intelligent method for counting and tracking people in a dual recording scenario, a server, and a system for counting and tracking people in a dual recording scenario.

[0004] In a first aspect, an embodiment of the present application provides a method for counting and tracking people in a dual recording scenario, and the method for counting and tracking people in a dual recording scenario comprises the following steps:

[0005] Using a video camera to shoot the recording scene to obtain real-time video images;

[0006] Segment the current real-time video image to obtain the detection borders of each detection person in the current frame image;

[0007] Calculating the confidence of each first detection frame;

[0008] Performing first-level pairing of the detected person in the detection frame whose confidence level is higher than a preset confidence threshold with the tracking target of the current frame image, and taking the detected person who succeeds in the first-level pairing as the tracked person of the current frame image, and taking the detected person who fails in the first-level pairing as the tracking target of the next frame image;

[0009] Performing second-level pairing on the detected persons in the detection frame whose confidence level is lower than a preset confidence threshold with the tracking persons in the current frame image, and taking the detected persons who succeed in the second-level pairing as the tracking targets of the next frame image, and eliminating the detected persons who fail in the second-level pairing;

[0010] The position of the tracking target of the current frame image corresponding to the tracked person of the current frame image is updated according to the tracked person of the current frame image, and is used as the tracking target of the next frame image;

[0011] Determine whether the number of times that the unpaired tracking target in the tracking target of the current frame image has been continuously unpaired reaches a preset number; and

[0012] The tracking targets whose continuous unpaired times reach the predicted times are eliminated, and the tracking targets whose continuous unpaired times do not reach the predicted times are used as the tracking targets of the next frame image.

[0013] In a second aspect, an embodiment of the present application provides a server, characterized in that the server includes: a computer-readable storage medium for storing program instructions, a processor and a bus for executing the program instructions to implement the method for counting and tracking people in the dual recording scenario described above.

[0014] In a third aspect, an embodiment of the present application provides a system for counting and tracking people in a dual recording scenario, characterized in that the system includes:

[0015] Camera equipment, used to record the scene to obtain surveillance video; and

[0016] A server is communicatively connected with the camera device, and the server is the server described above.

[0017] The above-mentioned method for counting and tracking people in dual recording scenarios, server, and system for counting and tracking people in dual recording scenarios perform confidence classification processing through the server, reducing problems such as false detection and missed detection of human detection AI, thereby reducing the frequent prompts of the machine and affecting the normal business processing. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on the structures shown in these drawings without paying any creative work.

[0019] Figure 1 A flowchart of a method for counting and tracking people in a dual recording scenario provided in an embodiment of the present application.

[0020] Figure 2 This is the first sub-flowchart of the method for counting and tracking people in a dual recording scenario provided in an embodiment of the present application.

[0021] Figure 3This is a second sub-flowchart of the method for counting and tracking people in a dual recording scenario provided in an embodiment of the present application.

[0022] Figure 4 A schematic diagram of the internal structure of a server provided in an embodiment of the present application.

[0023] Figure 5 A schematic diagram of a headcount and tracking system in a dual recording scenario provided in an embodiment of the present application.

[0024] The realization of the purpose, functional features and advantages of this application will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0025] In order to make the purpose, technical solutions and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not intended to limit the present application. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of the present application.

[0026] The terms "first", "second", "third", "fourth", etc. (if any) in the specification and claims of this application and the above-mentioned drawings are used to distinguish similar planning objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate. In other words, the described embodiments are implemented according to an order other than that illustrated or described herein. In addition, the terms "including" and "having" and any of their variations may also include other content. For example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to only those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0027] It should be noted that the descriptions involving "first", "second", etc. in this application are only for descriptive purposes and cannot be understood as indicating or implying their relative importance or implicitly indicating the number of technical features indicated. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In addition, the technical solutions between the various embodiments can be combined with each other, but they must be based on the ability of ordinary technicians in this field to implement them. When the combination of technical solutions is contradictory or cannot be implemented, it should be deemed that such combination of technical solutions does not exist and is not within the scope of protection required by this application.

[0028] Please refer to Figure 1 and Figure 5 , Figure 1A method for counting and tracking people in a dual recording scenario provided in an embodiment of the present application Law Flowchart of Figure 5 A schematic diagram of a system for counting and tracking people in a dual recording scenario provided by an embodiment of the present application. The system for counting and tracking people in a dual recording scenario includes a camera device 20 and a server 10. In the present embodiment, the camera device 20 is connected to the server 10 in communication. The camera device 30 and the server 10 can be connected in communication by wire or wireless. The server 10 obtains and records the images and voices of the business scene in real time through the camera device 20. It can be understood that in the present embodiment, the camera device 20 is placed on the desktop or is arranged at a position adjacent to the desktop to shoot towards the business handling scene to obtain real-time video images and transmit them to the server 10 in real time. The server 10 is placed on the side of the table and counts and tracks the number of people in each frame of the video image after the real-time video is segmented. In some feasible embodiments, the camera device 20 and the server 10 are integrated together, that is, the camera device 20 is integrated in the server 10, such as a camera on an electronic product. The server 10 executes a program for counting and tracking people in a dual recording scenario to implement a method for counting and tracking people in a dual recording scenario. The method for counting and tracking people in a dual recording scenario specifically includes the following steps S102-S116.

[0029] Step S102, use the camera 20 to shoot the recording scene to obtain real-time video images. Specifically, the salesperson determines the number of people at the recording scene in advance, and records the total number of people and uploads it to the server 10. After all the people are present, the camera 20 is turned on to shoot the scene and record the entire transaction process, and the real-time recording process is uploaded to the server 10 to obtain real-time video images. It is convenient for the server 10 to perform quality inspection on the video images in real time.

[0030] Step S104, segment the current real-time video image to obtain the detection frame of each detected person in the current frame image. After the server 10 obtains the real-time video uploaded by the camera device 20, it splits the real-time video into frames of images, and obtains and saves the frames of images. The server 10 then performs personnel detection on each frame of the segmented image to obtain the detection frame of the person in each frame of the image.

[0031] Step S106, calculating the confidence of each detected border. It can be understood that each border corresponds to a value, and a probability value obtained by sampling all borders is the confidence.

[0032] Step S108, perform the first-level pairing of the detected person in the detection border whose border confidence is higher than the preset confidence threshold with the tracking target of the current frame image, and use the detected person who successfully performs the first-level pairing as the tracked person of the current frame image, and use the detected person who fails the first-level pairing as the tracking target of the next frame image. Specifically, the server 10 compares the confidence of the detection border of the current frame image with the preset threshold, performs the first-level pairing calculation for the border confidence that is higher than the preset threshold, uses the border corresponding to the border confidence that is successfully paired in the pairing calculation as the tracked target, retains the border corresponding to the border confidence that is not successfully paired in the pairing calculation, and performs the pairing calculation again when the server 10 obtains the next frame of images. See below for details on how to perform the pairing calculation.

[0033] Step S110, the detected persons in the detected border whose border confidence is lower than the preset confidence threshold are paired with the persons being tracked in the current frame image at the second level, and the detected persons who have successfully completed the second level pairing are used as the tracking targets of the next frame image, and the detected persons who have failed the second level pairing are eliminated. Specifically, the server 10 compares the confidence of the detected border of the next frame image of the first level matching image with the preset threshold, performs the second level pairing calculation for the border confidence that is lower than the preset threshold, and uses the border corresponding to the border confidence that is successfully paired in the pairing calculation as the tracking target of the next frame image of the first level matching image, and eliminates the border corresponding to the border confidence that is not successfully paired in the pairing calculation. Details on how to perform the pairing calculation are described below.

[0034] Step S112, the position of the tracking target of the current frame image corresponding to the tracked person of the current frame image is updated according to the tracked person of the current frame image, and is used as the tracking target of the next frame image. Specifically, the server 10 updates the frame of the first-level match and the second-level match successfully to obtain the update of the frame position. That is to say, after the frame of the current frame image is successfully matched with the associated frame in the current frame tracking image, the frame of the current frame image is updated to the corresponding frame in the current tracking image. After the frame position is updated, the server 10 obtains the updated frame in the current frame image. That is, the frame in the current frame image is tracked.

[0035] Step S114, it is determined whether the number of times that the unpaired tracking targets in the tracking targets of the current frame image have not been paired continuously has reached a preset number of times. Specifically, the server 10 increases the attention to the border confidence that has not been successfully matched in the first level pairing and the second level pairing, and records the border confidence that has not been successfully matched in the first level and the second level. The server 10 adds one record to the border confidence that has not been successfully matched after the first level and the second level pairing, and determines whether the current unmatched border confidence has reached the preset number of cycles.

[0036] Step S116, the tracking target whose number of consecutive unpaired times reaches the predicted number is eliminated, and the tracking target whose number of consecutive unpaired times does not reach the predicted number is used as the tracking target of the next frame image. Specifically, according to the judgment process of step S114, the server 10 will keep the border confidence that has not reached the preset number of times but has not been successfully matched, and put it into the next frame image for matching until the border confidence is successfully matched, the server 10 tracks it, or the number of cycles of the border confidence reaches the preset number, the server 10 determines it as interference, no longer puts it into the cycle, and directly eliminates it.

[0037] In the above embodiment, by knowing the total number of people in advance, the server 10 performs confidence classification processing, which reduces the problems of false detection and missed detection of human body detection AI, thereby reducing the frequent prompts of the machine and affecting the normal business processing.

[0038] Please refer to Figure 2 , which is the first sub-flowchart of the method for counting and tracking people in a dual recording scenario provided by an embodiment of the present application. Step S108 specifically includes the following steps S202-S210.

[0039] Step S202, obtaining the confidence of the person's border. It can be understood that the server 10 obtains the detection border in the current real-time video image through the lightweight model, and uses the preset border detection model to segment the detection border of the half-body sitting posture and the full-body standing posture of the detected person in the current real-time video image. The server obtains the confidence of the segmented detection border

[0040] Step S204, compare the confidence with the preset threshold. Specifically, the server 10 compares the calculated confidence of the current frame image with the preset threshold one by one to obtain the comparison result of the confidence of the current frame image and the preset threshold. The server 10 determines the confidence border greater than the preset threshold in the comparison result as a positive sample, and the confidence border less than the preset threshold as a negative sample. The server 10 regards the negative sample as the background.

[0041] Step S206, filter out the border confidences greater than a preset threshold for storage. It can be understood that the server 10 classifies the comparison results in step S204, and the server 10 compares the border confidences with the borders in the associated tracking image, and filters out the border confidences with no occlusion or slight occlusion for storage.

[0042] Step S208, matching the bounding box with the confidence greater than the preset threshold with the tracking target of the current frame image by a first preset threshold to obtain a first-level pairing. Specifically, the server 10 matches the bounding box with the confidence greater than the preset threshold with the bounding box of the associated tracking target in the current frame image by a first preset threshold of intersection over union (IoU), and obtains a pairing result of the confidence of the current frame image and the first preset threshold of the intersection over union, i.e., the first-level pairing.

[0043] Step S210, the detected person who has successfully matched at the first level is regarded as a tracked person. It can be understood that because the confidence border greater than the preset threshold is not severely occluded, the confidence of the border is relatively high, and the threshold of the first-level intersection-and-union matching will also be relatively high. When the server 10 matches the confidence border with the border of the tracking target with the first preset threshold of the intersection-and-union ratio, it is possible that the corresponding confidence and the tracking target differ greatly during the matching, resulting in a matching failure, but there are also some matches where the corresponding confidence and the tracking target do not differ much, resulting in a successful match. The server 10 determines that the confidence border that has been successfully matched is associated with the border of the tracking image of the current frame, and then regards the confidence border as the tracked person of the current frame.

[0044] In the above embodiment, the server 10 detects both the half body and the whole body of the detected person in the current frame image, so that the detection accuracy is higher.

[0045] Please refer to Figure 3 , which is a second sub-flowchart of the method for counting and tracking people in a dual recording scenario provided by an embodiment of the present application. Step S110 specifically includes the following steps S302-S312.

[0046] Step S302, obtaining the confidence level of the person's bounding box.

[0047] Step S304, comparing the confidence with a preset threshold. Specifically, the server 10 compares the calculated confidence of the current frame image with the preset threshold one by one to obtain a comparison result of the confidence of the current frame image with the preset threshold. The server 10 determines the confidence frame in the comparison result that is less than the preset threshold as a positive sample.

[0048] Step S306, filter out the border confidences that are less than a preset threshold for storage. It can be understood that the server 10 classifies the comparison results in step S304, and the server 10 compares the border confidences with the borders in the associated tracking image, and filters out the border confidences of moderate occlusion or severe occlusion for storage.

[0049] Step S308, obtaining the confidence of the frame that failed the first level matching. It can be understood that the server 10 obtains the confidence of the frame in the previous frame and the confidence of the frame of the tracking target in the previous frame that did not successfully match in the first level matching.

[0050] Step S310, the bounding box with the confidence less than the preset threshold and the bounding box confidence that failed the first-level matching are matched with the tracking target of the current frame image by a second preset threshold to obtain a second-level pairing. Specifically, the server 10 matches the bounding box with the confidence less than the preset threshold and the bounding box confidence that failed the first-level matching with the bounding box of the associated tracking target in the current frame image by a second preset threshold of intersection over union (IoU), and obtains the pairing result of the confidence of the current frame image and the second preset threshold of the intersection over union, i.e., the second-level pairing.

[0051] Step S312, the detected person who has successfully matched the second level is used as the tracked person for the next frame image. It can be understood that because the confidence border that is less than the preset threshold is severely occluded, the confidence of the border is low, and the threshold of the second-level intersection-and-union matching will also be relatively low. When the server 10 matches the confidence border with the border of the tracking target by the second preset threshold of the intersection-and-union ratio, it is also possible that the corresponding confidence during matching is greatly different from the tracking target, resulting in a matching failure, but the corresponding confidence during most of the border confidence matching is not much different from the tracking target, and most of them will be matched successfully. The server 10 determines that the confidence border that has been successfully matched is associated with the border of the tracking image of the next frame, and then uses the confidence border as the tracked person for the next frame.

[0052] In the above embodiment, by lowering the threshold of the intersection-over-union ratio, more border confidences are recalled, so that the probability of successful matching of the border in the image becomes higher, the waste of valuable data is reduced, and thus the occurrence of missed detection is reduced.

[0053] Please refer to Figure 4, which is a schematic diagram of the internal structure of the server provided in the embodiment of the present application. The server 10 includes a computer-readable storage medium 11, a processor 12 and a bus 13. Among them, the computer-readable storage medium 11 includes at least one type of readable storage medium, which includes a flash memory, a hard disk, a multimedia card, a card-type memory (for example, SD or DX memory, etc.), a magnetic memory, a disk, an optical disk, etc. The computer-readable storage medium 11 may be an internal storage unit of the server 10 in some embodiments, such as a hard disk of the server 10. The computer-readable storage medium 11 may also be an external server 10 storage device in other embodiments, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. equipped on the server 10. Further, the computer-readable storage medium 11 may also include both an internal storage unit of the server 10 and an external storage device. The computer-readable storage medium 11 can be used not only to store application software and various types of data installed on the server 10, but also to temporarily store data that has been output or is to be output.

[0054] The bus 13 may be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 4 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0055] Furthermore, the server 10 may also include a display component 14. The display component 14 may be a light emitting diode (LED) display, a liquid crystal display, a touch-sensitive liquid crystal display, an organic light emitting diode (OLED) touch device, etc. The display component 14 may also be appropriately referred to as a display device or a display unit, which is used to display information processed in the server 10 and to display a visual user interface.

[0056] Furthermore, the server 10 may also include a communication component 15. The communication component 15 may optionally include a wired communication component and / or a wireless communication component, such as a WI-FI communication component, a Bluetooth communication component, etc., which is generally used to establish a communication connection between the server 10 and other intelligent control devices.

[0057] In some embodiments, the processor 12 may be a central processing unit (CPU), a controller, a microcontroller, a microprocessor or other data processing chip, and is used to run program codes or process data stored in the computer-readable storage medium 11. Specifically, the processor 12 executes a processing program to control the server 10 to implement a method for counting and tracking people in a dual recording scenario.

[0058] Understandably, Figure 4 Only the server 10 having components 11-15 and a method for counting and tracking people in a dual recording scenario is shown. It can be understood by those skilled in the art that Figure 4 The structure shown does not constitute a limitation on the server 10, and the server 10 may include fewer or more components than shown in the figure, or combine certain components, or arrange the components differently.

[0059] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.

[0060] The above examples are only preferred embodiments of the present application, and certainly cannot be used to limit the scope of rights of the present application. Therefore, equivalent changes made according to the claims of the present application still fall within the scope covered by the present application.

Claims

1. A method for counting and tracking people in a dual recording scenario. It is characterized in that The method for counting and tracking people in the dual recording scenario includes: Using a video camera to shoot the recording scene to obtain real-time video images; Segment the current real-time video image to obtain the detection borders of each detection person in the current frame image; Calculate the confidence of each detected border, where the confidence is a probability value obtained by spot checking all borders; Performing first-level pairing of the detected person in the detection frame whose confidence level is higher than a preset confidence threshold with the tracking target of the current frame image, and taking the detected person who succeeds in the first-level pairing as the tracked person of the current frame image, and taking the detected person who fails in the first-level pairing as the tracking target of the next frame image; Performing second-level pairing on the detected persons in the detection frame whose confidence level is lower than a preset confidence threshold with the tracking persons in the current frame image, and taking the detected persons who succeed in the second-level pairing as the tracking targets of the next frame image, and eliminating the detected persons who fail in the second-level pairing; The position of the tracking target of the current frame image corresponding to the tracked person of the current frame image is updated according to the tracked person of the current frame image, and is used as the tracking target of the next frame image; Determine whether the number of times that the unpaired tracking targets in the tracking targets of the current frame image have been continuously unpaired reaches a preset number; and The tracking targets whose continuous unpaired times reach the predicted times are eliminated, and the tracking targets whose continuous unpaired times do not reach the predicted times are used as the tracking targets of the next frame image.

2. The method for counting and tracking people in a dual recording scenario as claimed in claim 1, It is characterized in that The detection borders of each detection person in the current frame image obtained by segmenting the current real-time video image specifically include: The current real-time video image is segmented using a preset border detection model to obtain detection borders of each detected person in the current frame image, wherein the preset border detection model is formed by using a first image training sample set containing half-body images of sitting persons and a second image training sample set containing full-body images of standing persons.

3. The method for counting and tracking people in a dual recording scenario as claimed in claim 2, It is characterized in that The first image training sample set includes half-body sitting images of people in different scenes, and the second image training sample set includes full-body standing images in different scenes.

4. The method for counting and tracking people in a dual recording scenario as claimed in claim 1, It is characterized in that The detection frame is a long strip frame.

5. The method for counting and tracking people in a dual recording scenario as claimed in claim 1, It is characterized in that The first-level pairing of the detected person in the detection frame whose confidence level is higher than the preset confidence threshold with the tracking target of the current frame image, and the first-level paired detected person as the tracked person of the current frame image specifically includes: Get the confidence of the person's bounding box; Comparing the confidence level with a preset threshold; Filtering out the border confidences greater than a preset threshold for storage; Matching the bounding box with a confidence level greater than a preset threshold with the tracking target of the current frame image by a first preset threshold to obtain a first-level pairing; and The detected persons who are successfully matched at the first level are regarded as tracked persons.

6. The method for counting and tracking people in a dual recording scenario as claimed in claim 1, It is characterized in that The detection person in the detection frame whose confidence level is lower than a preset confidence threshold is paired with the tracking person in the current frame image at the second level, and the detection person with successful second level pairing is used as the tracked target of the next frame image specifically includes: Get the confidence of the person's bounding box; Comparing the confidence level with a preset threshold; Filtering out the border confidences that are less than a preset threshold for storage; Obtaining the confidence of the bounding box that failed the first-level matching; Matching the frame with the confidence less than the preset threshold and the frame confidence that failed the first-level matching with the tracking target of the current frame image by a second preset threshold to obtain a second-level pairing; and The detected person who is successfully paired at the second level is used as the tracking person in the next frame image.

7. The method for counting and tracking people in a dual recording scenario as claimed in claim 2, It is characterized in that The preset border detection model is a lightweight model.

8. The method for counting and tracking people in a dual recording scenario as claimed in claim 6, It is characterized in that A first matching threshold adopted for the first level matching is greater than a second matching threshold adopted for the second level matching.

9. A server, It is characterized in that The server comprises: A computer-readable storage medium for storing program instructions; and The program instructions are processed and executed to implement the method for counting and tracking people in a dual recording scenario as claimed in any one of claims 1 to 8.

10. A system for counting and tracking people in a dual recording scenario. It is characterized in that The system comprises: Camera equipment, used to record the scene to obtain surveillance video; and A server is communicatively connected with the camera device, and the server is the server as claimed in claim 9.