Six-minute walking automatic distance measuring method and system and readable storage medium

By automatically calculating walking distance using cameras and image processing algorithms, the problem of errors caused by manual distance measurement is solved, and accurate walking distance measurement is achieved.

CN121622022APending Publication Date: 2026-03-10SAIKE XIAMEN MEDICAL DEVICES CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411187248.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-28
Publication Date
2026-03-10

AI Technical Summary

Technical Problem

In existing technologies, when conducting a six-minute walking test using manual distance measurement, the accuracy of walking distance measurement is low, and there is a large measurement error.

Method used

The system uses a camera to acquire target images of the target to be detected at preset time intervals. It then uses image segmentation, edge detection, and recognition algorithms to determine the center coordinates of the preset markers, generates a motion trajectory, and uses a perspective transformation algorithm to calculate the walking distance, thus automatically determining the walking distance.

Benefits of technology

It enables accurate calculation of walking distance without manual distance measurement, reduces measurement errors, and corrects non-linear walking errors of the target to be detected, providing accurate walking distance measurement.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121622022A_ABST
    Figure CN121622022A_ABST
Patent Text Reader

Abstract

The invention discloses an automatic distance measurement method and system for six-minute walking and a readable storage medium, relates to the technical field of intelligent detection, and solves the problem that the accuracy of walking distance measurement is low due to the fact that distance measurement is performed in a manual distance measurement mode at present. The method comprises the steps that in the continuous walking process of a to-be-detected target, target images of the to-be-detected target are obtained through a camera at preset time intervals, the starting time when the to-be-detected target starts to walk is determined, and when the target image of the to-be-detected target is obtained every time, image collection time is determined; and determining a center coordinate of the preset marker in the target image, generating a motion track of the to-be-detected target based on the image acquisition time and the center coordinate determined each time, further determining the current time, and if the time interval between the current time and the starting time reaches six minutes, determining the motion track corresponding to the current time as the current motion track, and if the time interval between the current time and the starting time reaches six minutes, determining the motion track corresponding to the current time. And determining a walking distance based on the current motion track.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of intelligent detection technology, and in particular to a six-minute walking automatic distance measurement method, system, readable storage medium, and computer program product. Background Technology

[0002] The six-minute walk test is an important clinical assessment tool for evaluating a patient's cardiopulmonary function. Walking distance is the most direct indicator in the six-minute walk test, reflecting the maximum distance a patient can walk in six minutes. It comprehensively reflects multiple aspects of a patient's cardiopulmonary function, muscle strength, and neurological function. Increases or decreases in walking distance are usually closely related to disease progression, treatment effectiveness, and quality of life. Therefore, walking distance is widely considered an important indicator for evaluating a patient's functional status.

[0003] Currently, walking distance is mainly obtained through manual distance measurement. The starting and ending points are determined, and then a measuring tape is used to measure the distance. However, during the measurement process, the tightness of the measuring tape can lead to significant measurement errors, resulting in inaccurate walking distance measurements. In other words, the accuracy of walking distance measurement is low. Summary of the Invention

[0004] Embodiments of this application provide a six-minute walking distance automatic distance measurement method, system, readable storage medium, and computer program product, the main purpose of which is to solve the problem that the accuracy of walking distance measurement is low when using manual distance measurement.

[0005] According to a first aspect of this application, a method for automatically measuring distances during a six-minute walk is provided, comprising:

[0006] During the continuous walking of the target to be detected, the target image of the target to be detected is acquired by the camera at preset time intervals, and the start time of the target to be detected starting to walk is determined. The target to be detected is wearing a preset marker.

[0007] Each time a target image of the target to be detected is acquired, the image acquisition time and the center coordinates of the preset marker in the target image are determined, and the motion trajectory of the target to be detected is generated based on the determined image acquisition time and center coordinates each time.

[0008] The latest acquisition time is extracted from the motion trajectory of the target to be detected as the current time. If the time interval between the current time and the start time reaches six minutes, the motion trajectory corresponding to the current time is determined as the current motion trajectory. The time interval between the current time and the start time is an integer multiple of the preset time interval.

[0009] The walking distance is determined based on the current movement trajectory.

[0010] Optionally, determining the center coordinates of the preset marker in the target image includes:

[0011] The target image is segmented using an image segmentation algorithm to obtain a first intermediate image that segments the initial preset marker, the initial target to be detected, and the target background.

[0012] The Sobel edge detection algorithm is used to perform edge detection on the intermediate image to determine the edge features of the preset markers and the edge features of the target to be detected. Based on the edge features of the preset markers and the edge features of the target to be detected, a second intermediate image is determined.

[0013] The second intermediate image is subjected to image recognition using an image recognition algorithm to determine the center coordinates of the preset marker in the target image.

[0014] Optionally, determining the walking distance based on the current movement trajectory includes:

[0015] For each point in the current motion trajectory, perform the following operations: extract the center coordinates of the preset marker and the previous adjacent center coordinates of the preset marker from the current motion trajectory; convert the center coordinates into top-view position coordinates using a perspective transformation algorithm; convert the previous adjacent center coordinates into the previous adjacent top-view position coordinates using the perspective transformation algorithm; determine the target distance between two adjacent points on the current motion trajectory based on the top-view position coordinates and the previous adjacent top-view position coordinates; wherein each point in the current motion trajectory corresponds to the center coordinates of the preset marker.

[0016] The walking distance is obtained by integrating the target distance with the image acquisition time.

[0017] Optionally, after generating the motion trajectory of the target to be detected based on the determined image acquisition time and center coordinates each time, the method further includes:

[0018] The upper limit and lower limit of the motion trajectory are obtained. The motion trajectory area is determined based on the upper limit and lower limit of the motion trajectory. If the motion trajectory of the target to be detected exceeds the motion trajectory area, a warning message is generated to indicate that the target to be detected exceeds the preset area, and an audible warning is given based on the warning message.

[0019] According to a second aspect of this application, a six-minute automatic walking distance measurement system is provided, comprising: a camera, a first sensor, and a microcontroller, wherein the microcontroller is connected to the camera and the first sensor;

[0020] The first sensor is set at a first preset position within the target measurement area, and is used to generate a first detection signal to indicate the start of measurement when it is determined that the target to be detected has entered the detection area of ​​the first sensor, and to send the first detection signal to the microcontroller;

[0021] The microcontroller is configured to, upon receiving the detection signal, control the camera to acquire images at preset time intervals and execute the six-minute automatic walking distance measurement method according to any one of the first aspects above.

[0022] Optionally, the system further includes: an early warning module, which is connected to the microcontroller;

[0023] The early warning module is used to broadcast the early warning information when it receives the early warning information sent by the microcontroller.

[0024] Optionally, the system further includes a second sensor connected to the microcontroller;

[0025] The second sensor is disposed at a second preset position within the target measurement area, and is used to generate a second detection signal indicating the end of the measurement when it is determined that the target to be detected has entered the detection area of ​​the second sensor, and to send the second detection signal to the microcontroller;

[0026] Optionally, the system further includes: a queuing module, which is connected to the microcontroller;

[0027] The calling module is used to broadcast the sequence numbers of other targets to be detected indicated by the calling instruction when a calling instruction is received. The calling instruction is generated by the microcontroller based on a measurement list when the second detection signal is received. The measurement list includes the sequence numbers of multiple targets to be detected with an execution order.

[0028] According to a third aspect of this application, a readable storage medium is provided having a computer program stored thereon, characterized in that the computer program, when executed by a processor, implements the steps of the method described in any one of the first aspects above.

[0029] According to a fourth aspect of this application, a computer program product is provided, comprising a computer program, characterized in that, when the computer program is executed by a processor, it implements the steps of any of the methods described in the first aspect above.

[0030] Using the above technical solution, this application provides a six-minute automatic walking distance measurement method, system, readable storage medium, and computer program product. First, during the continuous walking of the target to be detected, a camera acquires target images of the target at preset time intervals and determines the start time of the target's walking. Then, each time a target image of the target is acquired, the image acquisition time and the center coordinates of preset markers in the target image are determined. Based on the determined image acquisition time and center coordinates, the movement trajectory of the target is generated. Next, the latest acquisition time is extracted from the target's movement trajectory as the current time. If the time interval between the current time and the start time reaches six minutes, the movement trajectory corresponding to the current time is determined as the current movement trajectory. Finally, the walking distance is determined based on the current movement trajectory. Through the above process, the walking distance can be automatically determined without manual distance measurement, and an accurate walking distance can be obtained. Attached Figure Description

[0031] Figure 1 A flowchart of a six-minute walking automatic distance measurement method provided in an embodiment of this application is shown;

[0032] Figure 2 This paper shows a plan view of the target measurement area of ​​a six-minute walking automatic distance measurement method provided in an embodiment of this application;

[0033] Figure 3 A flowchart of another six-minute walking automatic distance measurement method provided in an embodiment of this application is shown;

[0034] Figure 4 A schematic diagram of a six-minute walking distance measurement system provided in an embodiment of this application is shown. Detailed Implementation

[0035] Various embodiments and features of this application are described herein with reference to the accompanying drawings.

[0036] It should be understood that various modifications can be made to the embodiments described herein. Therefore, the above description should not be considered as limiting, but merely as an example of embodiments. Other modifications within the scope and spirit of this application will be apparent to those skilled in the art.

[0037] The accompanying drawings, which are included in and form part of this specification, illustrate embodiments of the present application and, together with the general description of the present application given above and the detailed description of the embodiments given below, serve to explain the principles of the present application.

[0038] These and other features of this application will become apparent from the following description of preferred forms of embodiments given as non-limiting examples, with reference to the accompanying drawings.

[0039] It should also be understood that although this application has been described with reference to some specific examples, those skilled in the art can certainly implement many other equivalent forms of this application.

[0040] The above and other aspects, features and advantages of this application will become more apparent when taken in conjunction with the accompanying drawings and in view of the following detailed description.

[0041] Specific embodiments of this application are described thereafter with reference to the accompanying drawings; however, it should be understood that the claimed embodiments are merely examples of this application, which can be implemented in various ways. Well-known and / or repeated functions and structures are not described in detail to avoid unnecessary or redundant details that could obscure the application. Therefore, the specific structural and functional details claimed herein are not intended to be limiting, but merely serve as the basis and representative basis for the claims to teach those skilled in the art to use this application in a variety of substantially any suitable detailed structures.

[0042] This specification may use the phrases “in one embodiment,” “in another embodiment,” “in yet another embodiment,” or “in other embodiments,” all of which may refer to one or more of the same or different embodiments according to this application.

[0043] This application provides an automatic distance measurement method for a six-minute walk, such as... Figure 1 As shown, it includes:

[0044] 101. During the continuous walking of the target to be detected, the target image of the target to be detected is acquired by the camera at preset time intervals, and the start time of the target to be detected starting to walk is determined.

[0045] In this embodiment of the application, the target to be detected needs to walk within the target measurement area, such as... Figure 2 As shown, the target test area can be a rectangular area, including a corridor of 10-30 meters. A starting point marker is set within this rectangle, and an ending point marker is set at the other end. A 1-meter-high marker is placed in the middle of the rectangle. The camera is set at a fixed position within the target measurement area, overlooking the entire corridor and taking continuous photos at a fixed angle. It should be noted that the camera needs to be automatically calibrated before use to identify the image scale and camera angle. The target to be tested starts from the starting point indicated by the starting point marker and walks towards the ending point. At the same time, the target to be tested wears a pre-set hat. This pre-set marker is a custom-made hat used to exclude other people passing by in the area. In other words, wearing the pre-set marker improves the measurement's anti-interference ability and is suitable for installation in noisy places, such as a hospital corridor.

[0046] Furthermore, after the preparation work is completed, the target to be detected can start walking. During the continuous walking of the target to be detected, the camera acquires the target image of the target at preset time intervals, such as every 100ms, and determines the start time of the target to be detected starting to walk, for example, 8:00.

[0047] 102. Each time a target image of the target to be detected is acquired, the image acquisition time and the center coordinates of the preset markers in the target image are determined. Based on the determined image acquisition time and center coordinates each time, the motion trajectory of the target to be detected is generated.

[0048] In this embodiment of the application, since the image of the target to be detected is acquired at preset time intervals, as the target to be detected moves, many target images will be acquired. Each target image corresponds to an image acquisition time. For each acquired target image, since the target image includes a preset marker of the target to be detected, the center coordinates of the preset marker in the target image can be determined. Then, the motion trajectory of the target to be detected can be generated according to the determined image acquisition time and center coordinates each time.

[0049] 103. Extract the latest acquisition time from the motion trajectory of the target to be detected as the current time. If the time interval between the current time and the start time reaches six minutes, then determine the motion trajectory corresponding to the current time as the current motion trajectory.

[0050] In this embodiment of the application, after determining the motion trajectory of the target to be detected, the most recent acquisition time can be extracted from the motion trajectory, and the latest acquisition time can be used as the current time. The time interval between the current time and the start time is calculated. When the time interval reaches six minutes, the motion trajectory can be identified as the current motion trajectory. It should be noted that the time interval between the current time and the start time is an integer multiple of the preset time interval.

[0051] 104. Determine the walking distance based on the current movement trajectory.

[0052] In this embodiment of the application, after determining the current movement trajectory, the walking distance can be determined based on the current movement trajectory.

[0053] The method provided in this application embodiment firstly involves acquiring target images of the target at preset time intervals using a camera during the continuous walking process of the target, and determining the start time of the target's walking. Then, each time a target image of the target is acquired, the image acquisition time and the center coordinates of a preset marker in the target image are determined. Based on the determined image acquisition time and center coordinates, a motion trajectory of the target is generated. Next, the latest acquisition time is extracted from the target's motion trajectory as the current time. If the time interval between the current time and the start time reaches six minutes, the motion trajectory corresponding to the current time is determined as the current motion trajectory. Finally, the walking distance is determined based on the current motion trajectory. This process automatically determines the walking distance without manual measurement, providing an accurate walking distance.

[0054] Furthermore, embodiments of this application provide another method for automatic distance measurement during a six-minute walk, such as... Figure 3 As shown, it includes:

[0055] 201. During the continuous walking process of the target to be detected, the target image of the target to be detected is acquired by the camera at preset time intervals, and the start time of the target to be detected starting to walk is determined.

[0056] 202. Each time a target image of the target to be detected is acquired, the image acquisition time and the center coordinates of the preset markers in the target image are determined.

[0057] In this embodiment, the specific method for determining the center coordinates of the preset marker in the target image is as follows: First, the target image is segmented using an image segmentation algorithm to obtain a first intermediate image that segments the initial preset marker, the initial target to be detected, and the target background; then, the Sobel edge detection algorithm is used to perform edge detection on the intermediate image to determine the edge features of the preset marker and the target to be detected, and a second intermediate image is determined based on the edge features of the preset marker and the target to be detected; finally, an image recognition algorithm is used to perform image recognition on the second intermediate image to determine the center coordinates of the preset marker in the target image.

[0058] It should be noted that the preferred image segmentation algorithm is a semantic segmentation algorithm. Semantic segmentation classifies all pixels in an image, determining the category of each pixel to divide the image into regions. The Sobel edge detection algorithm is a computer vision image feature extraction method that determines image edges based on brightness and depth of field, exhibiting high accuracy in edge detection. It is existing technology and will not be described in detail here. Image recognition algorithms are also existing technologies, readily available to those skilled in the art, and will not be described in detail here either.

[0059] 203. Generate the motion trajectory of the target to be detected based on the determined image acquisition time and center coordinates each time.

[0060] 204. Extract the latest acquisition time from the motion trajectory of the target to be detected as the current time. If the time interval between the current time and the start time reaches six minutes, then determine the motion trajectory corresponding to the current time as the current motion trajectory.

[0061] 205. Determine the walking distance based on the current movement trajectory.

[0062] In this embodiment, the following operations are performed for each point in the current motion trajectory: extract the center coordinates of a preset marker and the center coordinates of the previous adjacent preset marker from the current motion trajectory; convert the center coordinates into top-view position coordinates using a perspective transformation algorithm; convert the previous adjacent center coordinates into the previous adjacent top-view position coordinates using a perspective transformation algorithm; determine the target distance between two adjacent points on the current motion trajectory based on the top-view position coordinates and the previous adjacent top-view position coordinates, wherein each point in the current motion trajectory corresponds to the center coordinates of a preset marker; calculate the integral of the target distance and the image acquisition time to obtain the walking distance.

[0063] It should be noted that the perspective transformation algorithm can project an image onto a new viewing plane. In this embodiment, the camera's focal length parameters, resolution, and the starting and ending points of the site at initialization can be obtained in advance. The 1-meter-high marker placed at the center of the site is also known. Based on the above, the perspective transformation matrix can be determined. This matrix can transform the center coordinates of the preset marker into top-down position coordinates. It should be noted that the perspective transformation algorithm is existing technology and easily obtained by those skilled in the art; therefore, it will not be described in detail here.

[0064] Furthermore, the specific formula for determining the target distance Δs between two adjacent points on the current trajectory based on the top-down position coordinates and the coordinates of the previous adjacent top-down position is as follows:

[0065]

[0066] Where x(t) is the x-axis coordinate of the sample at time t (image acquisition time), y(t) is the y-axis coordinate of the sample at time t (image acquisition time), with the first sampling point as the zero point coordinate, i.e. x(0) = 0, y(0) = 0; scale is the ratio of the actual distance (which can be obtained in advance) to the image pixel length (which can be determined in advance) at the time of initialization.

[0067] Furthermore, by calculating the integral of the target distance with respect to the image acquisition time, the specific formula for the walking distance is obtained as follows:

[0068]

[0069] Where Δs is the target distance between adjacent points in the current movement trajectory, S is the walking distance, t0 is the start time, and t n Let t be the current time, and t n The time interval between t0 and t0 is 6 minutes.

[0070] 206. Generate early warning information and issue audible warnings based on the early warning information.

[0071] In this embodiment, an upper limit and a lower limit of the motion trajectory can be obtained, and a motion trajectory area can be determined based on these values. If the motion trajectory of the target to be detected exceeds the motion trajectory area, a warning message is generated to indicate that the target has exceeded the preset area, and an audible warning is issued based on the warning message. Through the above process, an audible warning can be issued to the target to be detected that deviates from the detection area, reminding the target to return to the target measurement area in a timely manner.

[0072] The method provided in this application firstly acquires target images of the target at preset time intervals using a camera during the continuous walking process of the target, and determines the start time of the target's walking. Then, each time a target image of the target is acquired, the image acquisition time and the center coordinates of preset markers in the target image are determined. Based on the determined image acquisition time and center coordinates, a motion trajectory of the target is generated. Next, the latest acquisition time is extracted from the target's motion trajectory as the current time. If the time interval between the current time and the start time reaches six minutes, the motion trajectory corresponding to the current time is determined as the current motion trajectory. Finally, the walking distance is determined based on the current motion trajectory. This process automatically determines the walking distance without manual measurement, providing an accurate walking distance. Furthermore, compared to manual distance measurement, this application can correct for errors caused by the target's non-linear walking, enabling the calculation of the walking distance corresponding to the actual walking trajectory of the target.

[0073] Furthermore, embodiments of the present invention provide a six-minute automatic distance measurement system for walking distances, such as... Figure 4 As shown, it includes: a camera, a first sensor, and a microcontroller, with the microcontroller connected to the camera and the first sensor.

[0074] Specifically, the first sensor is set at a first preset position within the target measurement area. When it is determined that the target to be detected has entered the detection area of ​​the first sensor, it generates a first detection signal to indicate the start of measurement and sends the first detection signal to the microcontroller. The microcontroller is used to control the camera to acquire images at preset time intervals when it receives the detection signal and to execute the automatic distance measurement method according to the six-minute walking distance method.

[0075] Furthermore, such as Figure 4 As shown, the six-minute walking automatic ranging system also includes an early warning module connected to the microcontroller. Upon receiving an early warning message from the microcontroller, the early warning module broadcasts the message. The system also includes a second sensor connected to the microcontroller, positioned at a second preset location within the target measurement area. When a target enters the sensor's detection area, the second sensor generates a second detection signal indicating the end of the measurement and sends this signal to the microcontroller. Simultaneously, the system also includes a call-number module connected to the microcontroller. Upon receiving a call-number command, the module broadcasts the sequence numbers of other targets indicated by the command. The call-number command is generated by the microcontroller based on a measurement list upon receiving the second detection signal. This measurement list includes the sequence numbers of multiple targets with an execution order.

[0076] It should be noted that the terms "first sensor" and "second sensor" in the above-mentioned first sensor and second sensor have no physical meaning and are only used for distinction. Furthermore, the sensor can preferably be an infrared sensor, which is existing technology and readily available to those skilled in the art, and will not be specifically described here.

[0077] It should be noted that the queuing module (also known as the queuing system or the numbering system) is existing technology, and those skilled in the art can easily obtain its specific structure to implement the queuing function; therefore, it will not be described in detail here. The early warning module (also known as the early warning unit or the early warning system) is also existing technology, and those skilled in the art can easily obtain its specific structure and implement the early warning function; therefore, it will not be described in detail here either.

[0078] The six-minute automatic walking distance measurement system provided in this application includes a camera, a first sensor, a microcontroller, an early warning module, a second sensor, and a call-number module. Through the above functional modules, automatic distance measurement can be achieved to obtain accurate walking distance. At the same time, the early warning module can issue warnings for targets that deviate from the predetermined area. After the second sensor determines that the target has completed the distance measurement, the call-number module reminds other targets to continue the distance measurement.

[0079] In an exemplary embodiment, this application also provides a readable storage medium storing a computer program that, when executed by a processor, implements the steps of the methods described above in the embodiments of this application.

[0080] If the modules / units integrated in the computer unit are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, all or part of the processes in the methods of the above embodiments can also be implemented by a computer program instructing related hardware. The computer program can be stored in a computer-readable storage medium, and when executed by a processor, it can implement the steps of the various method embodiments described above. The computer program includes computer program code, which can be in the form of source code, object code, executable files, or certain intermediate forms. The computer-readable medium can include: any entity or device capable of carrying the computer program code, recording media, USB flash drives, portable hard drives, magnetic disks, optical disks, computer memory, read-only memory (ROM), random access memory (RAM), and software distribution media, etc. It should be noted that the content contained in the computer-readable medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction.

[0081] This application also provides a computer program product, including a computer program that, when executed by a processor, implements the steps of the method described above.

[0082] The serial numbers in this application are for descriptive purposes only and do not represent the superiority or inferiority of the implementation scenario.

[0083] The above embodiments are merely exemplary embodiments of this application and are not intended to limit this application. The scope of protection of this application is defined by the claims. Those skilled in the art can make various modifications or equivalent substitutions to this application within its substance and scope of protection, and such modifications or equivalent substitutions should also be considered to fall within the scope of protection of this application.

Claims

1. A method for automatically ranging a six minute walk, characterized by, The method comprises the following steps: During the process of the target to be detected walking continuously, the camera acquires target images of the target to be detected at preset time intervals, and determines a starting time at which the target to be detected starts to walk, and the target to be detected wears a preset marker; When the target images of the target to be detected are acquired each time, the image acquisition time is determined, and the center coordinates of the preset marker in the target images are determined, and the motion trajectory of the target to be detected is generated based on the image acquisition time and the center coordinates determined each time; The latest acquisition time of the motion trajectory of the target to be detected is extracted as a current time, if the time interval between the current time and the starting time reaches six minutes, the motion trajectory corresponding to the current time is determined as a current motion trajectory, and the time interval between the current time and the starting time is an integer multiple of the preset time interval; The walking distance is determined based on the current motion trajectory.

2. The six-minute walk automatic ranging method according to claim 1, characterized by, The method for determining the center coordinates of the preset marker in the target images comprises the following steps: The target images are segmented by using an image segmentation algorithm to obtain a first intermediate image in which an initial preset marker, an initial target to be detected and a target background are segmented out; The Sobel edge detection algorithm is used to perform edge detection on the intermediate image to determine the edge features of the preset marker and the edge features of the target to be detected, and a second intermediate image is determined based on the edge features of the preset marker and the edge features of the target to be detected; The image recognition algorithm is used to perform image recognition on the second intermediate image to determine the center coordinates of the preset marker in the target images.

3. The six-minute walk automatic ranging method according to claim 1, characterized by, The method for determining the walking distance based on the current motion trajectory comprises the following steps: For each point in the current motion trajectory, the center coordinates of the preset marker and the previous adjacent center coordinates of the preset marker are extracted from the current motion trajectory, the perspective transformation algorithm is used to convert the center coordinates into a top view position coordinate, and the perspective transformation algorithm is used to convert the previous adjacent center coordinates into a previous adjacent top view position coordinate, and the target distance before two adjacent points on the current motion trajectory is determined based on the top view position coordinate and the previous adjacent top view position coordinate, wherein each point in the current motion trajectory corresponds to the center coordinates of the preset marker; The integral of the target distance and the image acquisition time is calculated to obtain the walking distance.

4. The six-minute walk automated distance measuring method according to claim 1, wherein, After the motion trajectory of the target to be detected is generated based on the image acquisition time and the center coordinates determined each time, the following steps are further included: The upper limit value and the lower limit value of the motion trajectory are acquired, the motion trajectory region is determined based on the upper limit value and the lower limit value of the motion trajectory, if the motion trajectory of the target to be detected exceeds the motion trajectory region, the warning information for indicating that the target to be detected exceeds the preset region is generated, and the sound warning is performed based on the warning information.

5. A six minute walk automatic distance measuring system characterized by, The device comprises a camera, a first sensor and a microcontroller, the microcontroller is connected with the camera and the first sensor. ​ The first sensor is arranged at a first preset position in the target measurement area, and is configured to generate a first detection signal indicating start of measurement when it is determined that the target to be detected enters a detection area of the first sensor, and send the first detection signal to the microcontroller. The microcontroller is configured to control the camera to capture images at preset time intervals when the detection signal is received, and perform the six-minute walking automatic ranging method according to any one of claims 1 to 4.

6. The six minute walk automated distance measuring system of claim 5, wherein, Further comprising: a warning module connected with the microcontroller; The warning module is configured to broadcast the warning information when the warning information sent by the microcontroller is received.

7. The six minute walk automated distance measuring system of claim 5, wherein, Further comprising: a second sensor connected with the microcontroller; The second sensor is arranged at a second preset position in the target measurement area, and is configured to generate a second detection signal indicating end of measurement when it is determined that the target to be detected enters a detection area of the second sensor, and send the second detection signal to the microcontroller.

8. The six minute walk automated distance measuring system of claim 7, wherein, Further comprising: a number calling module connected with the microcontroller; The number calling module is configured to broadcast a serial number of another target to be detected indicated by a number calling instruction when the number calling instruction is received, wherein the number calling instruction is generated by the microcontroller based on a measurement list when the second detection signal is received, and the measurement list includes serial numbers of multiple targets to be detected with execution orders.

9. A readable storage medium, having stored thereon a computer program, characterized in that, The computer program is executed by a processor to implement the steps of the method of any one of claims 1 to 7.

10. A computer program product comprising a computer program, characterized in that, The computer program is executed by a processor to implement the steps of the method of any one of claims 1 to 7.