Video frame delay time determination method, device, medium and remote driving system
By marking the mark frame in the video frame of the unmanned vehicle and detecting the difference between its output and rendering time, the problem of video frame delay time measurement error in the existing technology is solved, a more accurate delay time measurement is achieved, and the remote control of the unmanned vehicle is improved. Driving safety.
Patent Information
- Application Number
- CN202210933410.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-04
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2042-08-04
AI Technical Summary
The existing technology has large errors in determining the video frame delay time in remote driving of unmanned vehicles, and the accurate delay time cannot be obtained, which affects the safety of driving control.
The mark frame is formed by marking in the video frame and transmitted to the remote cockpit in real time. The output and rendering time difference of the mark frame is detected to determine the delay time of the video frame and avoid separately acquiring and calculating errors in each time period.
It achieves accurate measurement of video frame delay time, reduces errors, and improves the safety and control accuracy of remote driving of unmanned vehicles.
Smart Images

Figure CN115484369B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of unmanned driving and automatic driving technology, and specifically provides a method, device, medium and remote driving system for determining a video frame delay time. Background Art
[0002] During the remote driving of the unmanned vehicle, the driver in the remote cockpit needs to control the driving of the unmanned vehicle based on the video frames collected by the unmanned vehicle. In order to ensure the safety of the remote driving of the unmanned vehicle, it is necessary to obtain the time from the acquisition of the video frame by the unmanned vehicle to the rendering and display in the remote cockpit, that is, the delay time of the video frame, in real time and accurately, so as to adjust the driving control instructions according to the delay time of the video frame. Figure 1 As shown, the delay time of the video frame mainly includes the time d0 from the exposure of the video frame to the transmission of the video frame to the encoding program and the time d1 from the encoding program encoding the video frame to the completion of rendering the video frame in the remote cockpit, and d1=d2+d3+d4+d5, d2 is the sum of the format conversion time and the encoding time before encoding the video frame, d3 is the time for transmitting the encoded video frame to the remote cockpit, d4 represents the sum of the time waiting for decoding and the time for decoding the video frame, and d5 represents the sum of the time waiting for rendering and the time for rendering the video frame.
[0003] Time d0 is determined by the camera device that captures the video frame and is relatively fixed. The method for determining time d1 is mainly to estimate time d2, d4, etc., and finally calculate the sum of time d2, d3, d4 and d5 to get time d1. However, this method has more or less errors in determining time d2, d3, d4 and d5. After the accumulation of these errors, time d1 will have a large error, so it is impossible to get a more accurate video frame delay time.
[0004] Accordingly, the art needs a new technical solution to solve the above problems. Summary of the invention
[0005] In order to overcome the above-mentioned defects, the present invention is proposed to provide a video frame delay time determination method, device, medium and remote driving system that solves or at least partially solves the technical problem of how to accurately determine the delay time of video frames in remote driving of unmanned vehicles.
[0006] In a first aspect, the present invention provides a method for determining a video frame delay time of remote driving of an unmanned vehicle, the method comprising:
[0007] Controlling the unmanned vehicle to mark the video frames output by the camera device to form marked frames, and detecting the marked frames from the video frames transmitted in real time by the unmanned vehicle to the remote cockpit;
[0008] Acquire the time t0 when the marked frame is output from the camera device of the unmanned vehicle and acquire the time t1 when the marked frame is rendered in the remote cockpit;
[0009] The sum of the time from when the marked frame is exposed by the camera device to when it is output is used as the first delay time, and the time difference between the time t1 and the time t0 is used as the second delay time;
[0010] A final video frame delay time is determined according to the sum of the first delay time and the second delay time.
[0011] In one technical solution of the above-mentioned method for determining the video frame delay time of remote driving of an unmanned vehicle, the step of “controlling the unmanned vehicle to mark the video frames output by the camera device to form marked frames” specifically includes:
[0012] After the camera device outputs a video frame, the unmanned vehicle is controlled to set the color attribute of the area to be detected preset on the video frame to the color attribute corresponding to the preset marking frame to form a marking frame;
[0013] or,
[0014] After the camera device outputs a video frame, the unmanned vehicle is controlled to generate a time identification code according to a timestamp outputted from the camera device by the video frame, and the time identification code is spliced with the video frame to form a marked frame.
[0015] In a technical solution of the above-mentioned method for determining the video frame delay time of remote driving of an unmanned vehicle, the step of “controlling the unmanned vehicle to set the color attribute of the preset area to be detected on the video frame to the color attribute corresponding to the preset marked frame after the camera device outputs a video frame to form a marked frame” specifically includes:
[0016] Controlling the unmanned vehicle to set the color attribute of the preset area to be detected on each video frame output by the camera device to the color attribute corresponding to the preset non-marked frame in real time to form a non-marked frame;
[0017] The unmanned vehicle is controlled to obtain one of the unmarked frames, and the color attribute of the area to be detected preset on the unmarked frame is set again to the color attribute corresponding to the preset marked frame to form a marked frame.
[0018] In a technical solution of the above-mentioned method for determining the video frame delay time of the remote driving of the unmanned vehicle, the color attribute corresponding to the preset non-marked frame is black, and the color attribute corresponding to the preset marked frame is white. The method further includes setting the color attribute of the preset area to be detected to black or white in the following manner:
[0019] Setting the Y value in the YUV value of each pixel in the preset area to be detected to 0, so that the color attribute of the preset area to be detected is set to black;
[0020] Or, the Y value in the YUV value of each pixel in the preset area to be detected is set to 255, so that the color attribute of the preset area to be detected is set to white.
[0021] In a technical solution of the above-mentioned method for determining the video frame delay time of remote driving of an unmanned vehicle, the preset area to be detected is the area where the pixels in rows 1 to N on the video frame are located, where N>1.
[0022] In a technical solution of the above-mentioned method for determining the video frame delay time of remote driving of an unmanned vehicle, the step of "detecting a marker frame from the video frame transmitted in real time from the unmanned vehicle to the remote cockpit" specifically includes:
[0023] Detecting whether the color attribute of the preset area to be detected on the video frame is the color attribute corresponding to the preset marked frame; if so, the video frame is a marked frame; otherwise, it is not a marked frame;
[0024] or,
[0025] Detect whether the video frame contains a time identification code; if so, the video frame is a marked frame; otherwise, it is not a marked frame.
[0026] In one technical solution of the above-mentioned method for determining the video frame delay time of remote driving of an unmanned vehicle, the step of “obtaining the time t0 at which the marked frame is output from the camera device of the unmanned vehicle” specifically includes:
[0027] Based on a preset communication protocol, receiving the time t0 at which the marker frame sent by the unmanned vehicle is output from the camera device of the unmanned vehicle;
[0028] or,
[0029] The time identification code on the marked frame is identified to obtain a timestamp when the marked frame is output from the camera device of the unmanned vehicle, and the time t0 when the marked frame is output from the camera device of the unmanned vehicle is determined according to the timestamp.
[0030] In a second aspect, a computer device is provided, which includes a processor and a storage device, wherein the storage device is suitable for storing multiple program codes, and the program codes are suitable for being loaded and run by the processor to execute the method for determining the video frame delay time of remote driving of an unmanned vehicle as described in any of the technical solutions of the method for determining the video frame delay time of remote driving of an unmanned vehicle.
[0031] In a third aspect, a computer-readable storage medium is provided, which stores a plurality of program codes, wherein the program codes are suitable for being loaded and run by a processor to execute the method for determining the video frame delay time of the remote driving of an unmanned vehicle as described in any one of the technical solutions of the method for determining the video frame delay time of the remote driving of an unmanned vehicle.
[0032] In a fourth aspect, a remote driving system for an unmanned vehicle is provided, which includes the computer device described in the above-mentioned computer device technical solution.
[0033] The above one or more technical solutions of the present invention have at least one or more of the following beneficial effects:
[0034] In the technical solution of the present invention, the unmanned vehicle can be controlled to mark the video frames output by the camera device to form marked frames, and the marked frames can be detected from the video frames transmitted in real time from the unmanned vehicle to the remote cockpit; the time t0 when the marked frame is output from the camera device of the unmanned vehicle and the time t1 when the marked frame is rendered in the remote cockpit are obtained; the time from exposure of the marked frame to output through the camera device is used as the first delay time, and the time difference between time t1 and time t0 is used as the second delay time; the final video frame delay time is determined based on the time sum of the first delay time and the second delay time.
[0035] The first delay time is determined by the camera device that captures the video frame and is relatively fixed. The second delay time is directly derived from the time difference between "the time t0 when the marker frame is output from the camera device of the unmanned vehicle" and "the time t1 when the marker frame is rendered in the remote cockpit". This time difference is Figure 1 The sum of the times d2, d3, d4 and d5 shown does not need to be acquired separately, so there is no error caused by acquiring the times d2, d3, d4 and d5, thereby obtaining a more accurate video frame delay time.
[0036] Furthermore, in some technical solutions of the present invention, after the camera device outputs a video frame, the unmanned vehicle can be controlled to set the color attribute of the preset area to be detected on the video frame to the color attribute corresponding to the preset marked frame to form a marked frame. In this way, the marking can be completed quickly without affecting the size of the video frame to form a marked frame, which is conducive to quickly determining the delay time of the video frame.
[0037] Furthermore, in some technical solutions of the present invention, after the camera device outputs a video frame, the unmanned vehicle can be controlled to generate a time identification code according to the timestamp of the video frame output from the camera device, and the time identification code is spliced with the video frame to form a marked frame. In this way, not only the marking of the video frame is achieved, but also the time when the video frame is output from the camera device can be marked on the video frame at the same time, and the time when the video frame is output from the camera device can be quickly obtained by identifying the time identification code. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] The disclosure of the present invention will become more easily understood with reference to the accompanying drawings. It is easy for those skilled in the art to understand that these drawings are only for illustrative purposes and are not intended to limit the scope of protection of the present invention. Among them:
[0039] Figure 1 It is a schematic diagram of the composition of the delay time of the unmanned vehicle video frame during the unmanned vehicle remote driving process;
[0040] Figure 2 1 is a flow chart of the main steps of a method for determining a video frame delay time of an unmanned vehicle remote driving according to an embodiment of the present invention;
[0041] Figure 3 is a schematic diagram of an untagged frame according to an embodiment of the present invention;
[0042] Figure 4 is a schematic diagram of a marking frame according to an embodiment of the present invention;
[0043] Figure 5 is a schematic diagram of a marking frame according to another embodiment of the present invention. DETAILED DESCRIPTION
[0044] Some embodiments of the present invention are described below with reference to the accompanying drawings. It should be understood by those skilled in the art that these embodiments are only used to explain the technical principles of the present invention and are not intended to limit the protection scope of the present invention.
[0045] In the description of the present invention, "processor" may include hardware, software or a combination of the two. The processor may be a central processing unit, a microprocessor, an image processor, a digital signal processor or any other suitable processor. The processor has data and / or signal processing functions. The processor may be implemented in software, hardware or a combination of the two. Computer-readable storage media include any suitable medium that can store program code, such as a magnetic disk, a hard disk, an optical disk, a flash memory, a read-only memory, a random access memory, etc.
[0046] See attached Figure 2 , Figure 2FIG. 1 is a flow chart showing the main steps of a method for determining a video frame delay time of an unmanned vehicle remote driving according to an embodiment of the present invention. Figure 2 As shown, the method for determining the video frame delay time of the unmanned vehicle remote driving in the embodiment of the present invention mainly includes the following steps S101 to S104.
[0047] Step S101: Control the unmanned vehicle to mark the video frames output by the camera device to form marked frames, and detect the marked frames from the video frames transmitted in real time from the unmanned vehicle to the remote cockpit.
[0048] A remote cockpit refers to a cockpit for remote driving of an unmanned vehicle. The remote driver can remotely control the driving of the unmanned vehicle through the remote cockpit.
[0049] During remote driving, the unmanned vehicle will send the video frames output by the camera device to the remote cockpit in real time, so that the remote driver can understand the surrounding environment of the unmanned vehicle and adjust the remote driving instructions to the unmanned vehicle. For example, if a dynamic obstacle suddenly appears within a certain distance in front of the unmanned vehicle, the unmanned vehicle can be controlled to slow down.
[0050] During remote driving, the unmanned vehicle can be controlled to mark the video frames output by the camera device to form marked frames. When the marked frame is detected, the subsequent steps can be performed according to the marked frame to determine the video frame delay time. By adjusting the interval for marking the video frame, the interval for determining the video frame delay time each time can also be adjusted. If the unmanned vehicle is controlled to mark the video frame in real time (the interval for marking the video frame is zero), the real-time determination of the video frame delay time can be achieved.
[0051] Step S102: obtaining the time t0 when the marked frame is output from the camera device of the unmanned vehicle and obtaining the time t1 when the marked frame is rendered in the remote cockpit.
[0052] See attached Figure 1 The time t0 when the marker frame is output from the camera device of the unmanned vehicle corresponds to Figure 1 The end time of time d0 or the beginning time of time d2 in the above example, the time t1 when the marked frame is rendered in the remote cockpit corresponds to Figure 1 The end time of time d5.
[0053] Step S103: the sum of the time from when the marked frame is exposed by the camera device to when it is output is used as the first delay time, and the time difference between time t1 and time t0 is used as the second delay time.
[0054] See attached Figure 1 , the time from exposure of the frame to output by the camera device and the corresponding Figure 1 The time d0 in the example, the time difference between time t1 and time t0 corresponds to Figure 1 The time d1 in.
[0055] Step S104: determining a final video frame delay time according to the sum of the first delay time and the second delay time.
[0056] Since the second delay time is directly derived from the time difference between "the time t0 when the marker frame is output from the camera device of the unmanned vehicle" and "the time t1 when the marker frame is rendered in the remote cockpit", the time difference is Figure 1 The sum of the times d2, d3, d4 and d5 shown does not need to be acquired separately, so there is no error caused by acquiring the times d2, d3, d4 and d5, thereby obtaining a more accurate video frame delay time.
[0057] The above step S101 is further explained below.
[0058] In one implementation of the above-mentioned step S101, in order to quickly mark the video frame to form a marked frame, the unmanned vehicle can be controlled to set the color attribute of the preset area to be detected on the video frame to the color attribute corresponding to the preset marked frame after the camera device outputs a video frame, so as to form a marked frame. Since only the color attribute of a part of the area is changed, it does not take a long time, and the marking of the video frame can be completed quickly. Accordingly, in this implementation, when detecting the marked frame in the video frame transmitted in real time from the unmanned vehicle to the remote cockpit, it can be detected whether the color attribute of the preset area to be detected on the video frame is the color attribute corresponding to the preset marked frame; if so, the video frame is a marked frame; otherwise, the video frame is not a marked frame. Similarly, since only a part of the video frame needs to be detected for color attributes, it does not take a long time, and the marked frame can be detected quickly. Figure 3 As shown, in some preferred embodiments, the preset area to be detected may be the area where the pixels in the 1st to Nth rows on the video frame are located, wherein N>1.
[0059] In actual applications, since the environment in which the vehicle is located is relatively colorful, the original color attributes of the area to be detected preset on the video frame may be the same as the color attributes corresponding to the preset marked frame. When the marked frame is detected by color attributes, these video frames may be mistakenly detected as marked frames. In this regard, in order to eliminate this interference, the color attributes of the area to be detected preset on each video frame output by the camera device can be set to the color attributes corresponding to the preset non-marked frame in real time when controlling the unmanned vehicle to form a non-marked frame, and then the unmanned vehicle is controlled to obtain a non-marked frame, and the color attributes of the area to be detected preset on the non-marked frame are set again to the color attributes corresponding to the preset marked frame to form a marked frame. In this way, even if the original color attributes of the area to be detected preset on the video frame are the same as the color attributes corresponding to the preset marked frame, they can be adjusted to the color attributes corresponding to the preset non-marked frame, and will not interfere with the marked frame.
[0060] like Figure 3 and 4 As shown, in some preferred embodiments, the color attribute corresponding to the preset non-marked frame can be black, and the color attribute corresponding to the preset marked frame can be white. In this embodiment, the Y value in the YUV value of each pixel in the preset area to be detected can be set to 0, so that the color attribute of the preset area to be detected is set to black. In addition, the Y value in the YUV value of each pixel in the preset area to be detected can also be set to 255, so that the color attribute of the preset area to be detected is set to white. Accordingly, when detecting the marked frame in the video frame transmitted in real time from the unmanned vehicle to the remote cockpit, the Y value in the YUV value of each pixel in the preset area to be detected can be detected to determine whether the video frame is a marked frame. In addition, the sum of the RGB values of each pixel in the preset area to be detected can also be calculated. If the sum of the RGB values is greater than 300, the video frame is a marked frame, otherwise it is not a marked frame.
[0061] It should be noted that, although the embodiment of the present invention only provides the above-mentioned specific color attribute setting method, it is understood by those skilled in the art that the protection scope of the present invention is obviously not limited to this specific implementation method. Without departing from the principle of the present invention, those skilled in the art may use other methods to set the color attribute of the area to be detected in the video frame, and the technical solutions after changing or replacing the color attribute setting method will fall within the protection scope of the present invention.
[0062] In the embodiment of the present invention, in addition to controlling the unmanned vehicle to set the color attribute of the preset area to be detected on the video frame to the color attribute corresponding to the preset marking frame to form a marking frame after the camera device outputs a video frame, the unmanned vehicle can also be controlled to send the marking frame to the remote cockpit based on the preset communication protocol at the time t0 when the camera device of the unmanned vehicle outputs it. In this way, in the above step S102, the remote cockpit can be controlled to receive the marking frame sent by the unmanned vehicle based on the preset communication protocol at the time t0 when the camera device of the unmanned vehicle outputs it. The embodiment of the present invention does not limit the specific type of the preset communication protocol.
[0063] The above is a description of one implementation of the above step S101 . Another implementation of the above step S101 will be described below.
[0064] In another embodiment of the above step S101, the time t0 when the marked frame is output from the camera device of the unmanned vehicle can be marked on the marked frame while marking the video frame to form the marked frame in the following manner, so that the time t0 when the marked frame is output from the camera device of the unmanned vehicle can be obtained at the same time as the marked frame is detected, thereby improving the efficiency of determining the delay time of the video frame. Specifically, the unmanned vehicle can be controlled to generate a time identification code according to the timestamp (Timestamp) output from the video frame from the camera device after the camera device outputs a video frame, and the time identification code is spliced with the video frame to form a marked frame.
[0065] like Figure 5 As shown, the time identification code and the video frame can be spliced to form a new video frame, and this new video frame is used as a marked frame. Accordingly, when detecting the marked frame in the video frame transmitted in real time from the unmanned vehicle to the remote cockpit, it can be detected whether the video frame contains a time identification code; if so, the video frame is a marked frame; otherwise, the video frame is not a marked frame. Further, when obtaining the time t0 when the marked frame is output from the camera device of the unmanned vehicle in the above step S102, the time identification code on the marked frame can be identified to obtain the timestamp of the marked frame output from the camera device of the unmanned vehicle, and the time t0 output from the camera device of the unmanned vehicle is determined according to the timestamp.
[0066] In some implementations, a conventional two-dimensional code generation method in the field of two-dimensional code technology can be used to generate a time identification code according to the timestamp, and a conventional two-dimensional code recognition method can also be used to identify the time identification code to obtain the timestamp. The embodiment of the present invention does not specifically limit the generation method and recognition method of the time identification code.
[0067] In addition, it should be pointed out that although the various steps in the above embodiments are described in a specific order, those skilled in the art can understand that in order to achieve the effects of the present invention, different steps do not have to be performed in such an order. They can be performed simultaneously (in parallel) or in other orders. These changes are within the scope of protection of the present invention.
[0068] It is understood by those skilled in the art that the present invention implements all or part of the processes in the method of the above embodiment, and can also be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable storage medium may include: any entity or device, medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory, random access memory, electric carrier signal, telecommunication signal and software distribution medium that can carry the computer program code. It should be noted that the content contained in the computer-readable storage medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer-readable storage media do not include electric carrier signals and telecommunication signals.
[0069] Furthermore, the present invention also provides a computer device. In one embodiment of a computer device according to the present invention, the computer device includes a processor and a storage device, the storage device can be configured to store a program for executing the method for determining the video frame delay time of the remote driving of an unmanned vehicle in the above-mentioned method embodiment, and the processor can be configured to execute the program in the storage device, which includes but is not limited to executing the method for determining the video frame delay time of the remote driving of an unmanned vehicle in the above-mentioned method embodiment. For ease of explanation, only the parts related to the embodiment of the present invention are shown. For specific technical details not disclosed, please refer to the method part of the embodiment of the present invention. The computer device may be a device formed by various electronic devices.
[0070] Furthermore, the present invention also provides a computer-readable storage medium. In a computer-readable storage medium embodiment according to the present invention, the computer-readable storage medium can be configured to store a program for executing the method for determining the video frame delay time of the remote driving of the unmanned vehicle in the above-mentioned method embodiment, and the program can be loaded and run by the processor to implement the above-mentioned method for determining the video frame delay time of the remote driving of the unmanned vehicle. For ease of explanation, only the parts related to the embodiment of the present invention are shown. For specific technical details not disclosed, please refer to the method part of the embodiment of the present invention. The computer-readable storage medium can be a storage device formed by various electronic devices. Optionally, the computer-readable storage medium in the embodiment of the present invention is a non-temporary computer-readable storage medium.
[0071] Furthermore, the present invention also provides an unmanned vehicle remote driving system. In an embodiment of an unmanned vehicle remote driving system according to the present invention, the unmanned vehicle remote driving system may include the computer device described in the aforementioned computer device embodiment. For ease of description, only the parts related to the embodiment of the present invention are shown, and the embodiment of the present invention does not specifically limit other components of the unmanned vehicle remote driving system, such as communication devices.
[0072] So far, the technical solutions of the present invention have been described in conjunction with the preferred embodiments shown in the accompanying drawings. However, it is easy for those skilled in the art to understand that the protection scope of the present invention is obviously not limited to these specific embodiments. Without departing from the principle of the present invention, those skilled in the art can make equivalent changes or substitutions to the relevant technical features, and the technical solutions after these changes or substitutions will fall within the protection scope of the present invention.
Claims
1. A method for determining the video frame delay time of unmanned vehicle remote driving, It is characterized in that The method comprises: Controlling the unmanned vehicle to mark the video frames output by the camera device to form marked frames, and detecting the marked frames from the video frames transmitted in real time by the unmanned vehicle to the remote cockpit; Acquire the time t0 when the marked frame is output from the camera device of the unmanned vehicle and acquire the time t1 when the marked frame is rendered in the remote cockpit; The sum of the time from when the marked frame is exposed by the camera device to when it is output is used as the first delay time, and the time difference between the time t1 and the time t0 is used as the second delay time; Determine a final video frame delay time according to the sum of the first delay time and the second delay time; The step of "controlling the unmanned vehicle to mark the video frames output by the camera device to form marked frames" specifically includes: controlling the unmanned vehicle to set the color attribute of the preset area to be detected on the video frame to the color attribute corresponding to the preset marked frame after the camera device outputs a video frame, so as to form a marked frame; or controlling the unmanned vehicle to generate a time identification code according to the timestamp output by the camera device of the video frame after the camera device outputs a video frame, and splicing the time identification code with the video frame to form a marked frame.
2. The method for determining the video frame delay time of unmanned vehicle remote driving according to claim 1, It is characterized in that The step of "controlling the unmanned vehicle to set the color attribute of the area to be detected preset on the video frame to the color attribute corresponding to the preset marked frame after the camera device outputs a video frame to form a marked frame" specifically includes: Controlling the unmanned vehicle to set the color attribute of the preset area to be detected on each video frame output by the camera device to the color attribute corresponding to the preset non-marked frame in real time to form a non-marked frame; The unmanned vehicle is controlled to obtain one of the unmarked frames, and the color attribute of the area to be detected preset on the unmarked frame is set again to the color attribute corresponding to the preset marked frame to form a marked frame.
3. The method for determining the video frame delay time of unmanned vehicle remote driving according to claim 2, It is characterized in that The color attribute corresponding to the preset unmarked frame is black, and the color attribute corresponding to the preset marked frame is white. The method further includes setting the color attribute of the preset area to be detected to black or white in the following manner: Setting the Y value in the YUV value of each pixel in the preset area to be detected to 0, so that the color attribute of the preset area to be detected is set to black; Or, the Y value in the YUV value of each pixel in the preset area to be detected is set to 255, so that the color attribute of the preset area to be detected is set to white.
4. The method for determining the video frame delay time of unmanned vehicle remote driving according to any one of claims 1 to 3, It is characterized in that The preset area to be detected is the area where the pixels in rows 1 to N on the video frame are located, where N>1.
5. The method for determining the video frame delay time of unmanned vehicle remote driving according to claim 1, It is characterized in that The step of "detecting a marker frame from a video frame transmitted in real time from the unmanned vehicle to the remote cockpit" specifically includes: Detecting whether the color attribute of the preset area to be detected on the video frame is the color attribute corresponding to the preset marked frame; if so, the video frame is a marked frame; otherwise, it is not a marked frame; or, Detect whether the video frame contains a time identification code; if so, the video frame is a marked frame; otherwise, it is not a marked frame.
6. The method for determining the video frame delay time of unmanned vehicle remote driving according to claim 1, It is characterized in that The step of "obtaining the time t0 when the marked frame is output from the camera device of the unmanned vehicle" specifically includes: Based on a preset communication protocol, receiving the time t0 at which the marker frame sent by the unmanned vehicle is output from the camera device of the unmanned vehicle; or, The time identification code on the marked frame is identified to obtain a timestamp when the marked frame is output from the camera device of the unmanned vehicle, and the time t0 when the marked frame is output from the camera device of the unmanned vehicle is determined according to the timestamp.
7. A computer device comprising a processor and a storage device, wherein the storage device is suitable for storing a plurality of program codes, It is characterized in that The program code is suitable for being loaded and run by the processor to execute the video frame delay time determination method for remote driving of an unmanned vehicle according to any one of claims 1 to 6.
8. A computer-readable storage medium having a plurality of program codes stored therein, It is characterized in that The program code is suitable for being loaded and run by a processor to execute the video frame delay time determination method for remote driving of an unmanned vehicle according to any one of claims 1 to 6.
9. A remote driving system for unmanned vehicles, It is characterized in that The system comprises the computer device of claim 7.
