Image transmission method and vehicle-mounted terminal for remote takeover of autonomous driving

By adjusting the frame rate and clarity of the perspective image of the autonomous vehicle, the problem of image transmission delay and clarity is solved, and efficient image transmission during remote takeover is achieved.

CN116112475BActive Publication Date: 2024-09-20SHENZHEN DEEPROUTE AI CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202211444829.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-11-18
Publication Date
2024-09-20
Estimated Expiration
2042-11-18

AI Technical Summary

Technical Problem

In autonomous driving, existing technology is difficult to reduce the image transmission delay and cannot guarantee the clarity of image transmission, especially when remote takeover occurs when the vehicle hardware fails.

Method used

By obtaining images and speed data from various perspectives of the vehicle, the basic frame rate is determined, and the frame rate and clarity are adjusted according to the degree of content change and motion behavior information, and the spliced ​​image to be transmitted is generated for encoding and transmission.

Benefits of technology

It effectively reduces the transmission delay of image data, ensures the clarity of the spliced ​​image, reduces the amount of data transmitted and improves the efficiency of image transmission.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116112475B
    Figure CN116112475B
Patent Text Reader

Abstract

The present invention discloses an image transmission method and a vehicle-mounted terminal for remote takeover of automatic driving, the method comprising: obtaining images of each perspective of the vehicle and the speed data of the vehicle, and determining the basic frame rate corresponding to each perspective image based on the speed data; respectively obtaining the content change degree of each perspective image, adjusting the basic frame rate based on the content change degree, obtaining the target frame rate, and determining the spliced ​​image to be transmitted; obtaining the vehicle's motion behavior information, adjusting the clarity of the spliced ​​image, and encoding and transmitting the adjusted spliced ​​image. The present invention can adjust the frame rate of each perspective image according to the content change degree of each perspective image, and adjust the clarity according to the vehicle's motion behavior information, which can not only reduce the transmission delay of the image data, but also ensure the clarity of the transmitted image data.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of image data transmission, and in particular to an image transmission method and a vehicle-mounted terminal for remote takeover of automatic driving. Background Art

[0002] In autonomous driving, the vehicle may encounter force majeure during actual operation, causing the vehicle hardware system to fail and thus being unable to continue autonomous driving. In this case, the vehicle needs to be taken over remotely, and remote takeover is to transmit the vehicle's current camera image to the remote end through the network and the remote end manually takes over and controls the vehicle to park nearby or drive away from the fault location. In this process, the transmission delay of image data and the clarity of the image need to be considered. However, since the amount of image data collected by each camera on the vehicle is relatively large, and the image content is constantly changing during the operation of the vehicle, it is difficult to reduce the transmission delay in the existing technology when transmitting images, and it is also impossible to guarantee the clarity of image transmission.

[0003] Therefore, the prior art still needs to be improved and enhanced. Summary of the invention

[0004] The technical problem to be solved by the present invention is that, in response to the above-mentioned defects of the prior art, an image transmission method and a vehicle-mounted terminal for remote takeover of autonomous driving are provided, aiming to provide a solution to the problem in the prior art that it is difficult to reduce transmission delay when transmitting images, and the clarity of image transmission cannot be guaranteed.

[0005] In a first aspect, the present invention provides an image transmission method for remote takeover of autonomous driving, wherein the method comprises:

[0006] Acquire each perspective image of the vehicle and speed data of the vehicle, and determine the basic frame rate corresponding to each perspective image based on the speed data;

[0007] respectively obtaining the content change degree of each of the perspective images, adjusting the basic frame rates corresponding to each of the perspective images based on the content change degree, obtaining the target frame rates corresponding to each of the perspective images, and determining the stitched image to be transmitted based on the target frame rates;

[0008] The motion behavior information of the vehicle is obtained, the clarity of the spliced ​​image is adjusted based on the motion behavior information, and the adjusted spliced ​​image is encoded and transmitted.

[0009] In one implementation, determining, based on the speed data, a basic frame rate corresponding to when stitching the images of each viewing angle includes:

[0010] comparing the speed data with a preset speed threshold;

[0011] If the speed data is less than the speed threshold, obtaining a preset first linear relationship, where the first linear relationship is used to reflect the corresponding relationship between the speed data and the basic frame rate;

[0012] The basic frame rate is determined according to the first linear relationship.

[0013] In one implementation, determining, based on the speed data, a basic frame rate corresponding to when stitching the images of each viewing angle includes:

[0014] If the speed data is greater than the speed threshold, a preset first frame rate value is obtained, and the first frame rate value is used as the basic frame rate.

[0015] In one implementation, respectively obtaining the content change degree of each of the perspective images includes:

[0016] Acquire current contour data corresponding to the current frame of each perspective image;

[0017] Acquire the historical profile data corresponding to the previous frame of each perspective image;

[0018] The content change degree is determined according to the current contour data and the historical contour data, wherein the content change degree is used to reflect the contour difference degree between the current frame and the previous frame of the each perspective image.

[0019] In one implementation, adjusting the basic frame rates corresponding to the respective perspective images based on the content change degree to obtain the target frame rates corresponding to the respective perspective images includes:

[0020] Obtaining a preset first contour difference threshold and a second contour difference threshold, and comparing the content change degree with the first contour difference threshold and the second contour difference threshold respectively, wherein the first contour difference threshold is less than the second contour difference threshold;

[0021] If the content change degree of any perspective image among the perspective images is greater than the first contour difference threshold and less than the second contour threshold, obtaining a preset second linear relationship, wherein the second linear relationship is used to reflect the corresponding relationship between the content change degree and the target frame rate;

[0022] According to the second linear relationship, the reference frame rate corresponding to the viewing angle image is adjusted to obtain the target frame rate of the viewing angle image.

[0023] In one implementation, adjusting the basic frame rates corresponding to the respective perspective images based on the content change degree to obtain the target frame rates corresponding to the respective perspective images includes:

[0024] If the content change degree of any perspective image among the perspective images is less than the first contour difference threshold, setting the target frame rate corresponding to the perspective image to a second frame rate value;

[0025] If the content change degree of any perspective image among the perspective images is greater than the second contour difference threshold, the target frame rate corresponding to the perspective image is set to a third frame rate value.

[0026] In one implementation, determining the stitched image to be transmitted based on the target frame rate includes:

[0027] Determining a stitching mode of the images of each viewing angle;

[0028] Based on the stitching mode, three perspective images in each perspective image after adjusting the frame rate are respectively superimposed on the remaining perspective images to obtain the stitching image.

[0029] In one implementation, adjusting the definition of the image to be transmitted based on the motion behavior information includes:

[0030] If the movement behavior information is that the vehicle moves backward, reducing the compression rate of the rear view image in the stitched image;

[0031] If the movement behavior information indicates that the vehicle is moving forward, reducing the compression rate of the front view image in the stitched image;

[0032] If the motion behavior information is that the vehicle turns left, reducing the compression rates of the left front view image and the left rear view image in the stitched image;

[0033] If the movement behavior information indicates that the vehicle turns right, the compression rates of the right front view image and the right rear view image in the stitched image are reduced.

[0034] In a second aspect, an embodiment of the present invention further provides an image transmission device for remote takeover of autonomous driving, wherein the device comprises:

[0035] A basic frame rate determination module, used to obtain each perspective image of the vehicle and speed data of the vehicle, and determine the basic frame rate corresponding to each perspective image based on the speed data;

[0036] A basic frame rate adjustment module, used to respectively obtain the content change degree of each of the perspective images, adjust the basic frame rates corresponding to each of the perspective images based on the content change degree, obtain the target frame rates corresponding to each of the perspective images, and determine the spliced ​​image to be transmitted based on the target frame rate;

[0037] The definition adjustment module is used to obtain the motion behavior information of the vehicle, adjust the definition of the spliced ​​image based on the motion behavior information, and perform image encoding and transmission on the adjusted spliced ​​image.

[0038] In the third aspect, an embodiment of the present invention further provides a vehicle-mounted terminal, wherein the vehicle-mounted terminal is a commercial display terminal or a projection terminal, and the vehicle-mounted terminal includes a memory, a processor, and an image transmission program for remote takeover of autonomous driving stored in the memory and runnable on the processor. When the processor executes the image transmission program for remote takeover of autonomous driving, the steps of the image transmission method for remote takeover of autonomous driving of any one of the above-mentioned schemes are implemented.

[0039] In a sixth aspect, an embodiment of the present invention further provides a computer-readable storage medium, wherein an image transmission program for remote takeover of autonomous driving is stored on the computer-readable storage medium, and when the image transmission program for remote takeover of autonomous driving is executed by a processor, the steps of the image transmission method for remote takeover of autonomous driving described in any one of the above-mentioned schemes are implemented.

[0040] Beneficial effects: Compared with the prior art, the present invention provides an image transmission method for remote takeover of autonomous driving, the method comprising: obtaining each perspective image of the vehicle and the speed data of the vehicle, and determining the basic frame rate corresponding to each perspective image based on the speed data; respectively obtaining the content change degree of each perspective image, adjusting the basic frame rate corresponding to each perspective image based on the content change degree, obtaining the target frame rate corresponding to each perspective image, and determining the spliced ​​image to be transmitted based on the target frame rate; obtaining the motion behavior information of the vehicle, adjusting the clarity of the spliced ​​image based on the motion behavior information, and encoding and transmitting the adjusted spliced ​​image. The present invention can adjust the frame rate of each perspective image according to the content change degree of each perspective image to reduce the amount of data to be transmitted and reduce the transmission delay of the image data. In addition, the present invention can also adjust the clarity of each perspective image according to the motion behavior information of the vehicle to ensure the clarity of the transmitted spliced ​​image. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] Figure 1A schematic diagram of image areas of various viewing angles captured by a vehicle camera in an image transmission method for remote takeover of autonomous driving provided in an embodiment of the present invention.

[0042] Figure 2 A flowchart of a specific implementation of the image transmission method for remote takeover of autonomous driving provided in an embodiment of the present invention.

[0043] Figure 3 A schematic diagram of stitching images in an image transmission method for remote takeover of autonomous driving provided in an embodiment of the present invention.

[0044] Figure 4 A schematic diagram of the first linear relationship when determining the basic frame rate in the image transmission method for remote takeover of autonomous driving provided in an embodiment of the present invention.

[0045] Figure 5 A schematic diagram of a second linear relationship when adjusting the basic frame rate in the image transmission method for remote takeover of autonomous driving provided in an embodiment of the present invention.

[0046] Figure 6 A schematic diagram of the functional modules of an image transmission device for remote takeover of autonomous driving provided in an embodiment of the present invention.

[0047] Figure 7 This is a functional block diagram of a vehicle-mounted terminal provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0048] In order to make the purpose, technical solution and effect of the present invention clearer and more specific, the present invention is further described in detail with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.

[0049] This embodiment provides an image transmission method for remote takeover of automatic driving. In specific application, this embodiment first obtains each perspective image of the vehicle and the speed data of the vehicle, and determines the basic frame rate corresponding to each perspective image based on the speed data. Since the degree of change of the perspective image content collected by the vehicle camera is different at different speeds, in order to reduce the amount of data transmitted by the image and avoid transmission delay, this embodiment obtains the content change degree of each perspective image respectively, and adjusts the basic frame rate corresponding to each perspective image based on the content change degree, obtains the target frame rate corresponding to each perspective image, and determines the spliced ​​image to be transmitted based on the target frame rate. At this time, since the frame rate of the perspective image has been adjusted, and the spliced ​​image to be transmitted is the splicing of each perspective image, the data amount of the spliced ​​image to be transmitted at this time is relatively small. In order to ensure the clarity of the image to be transmitted, this embodiment obtains the motion behavior information of the vehicle, adjusts the clarity of the spliced ​​image based on the motion behavior information, and performs image encoding and transmission on the adjusted spliced ​​image. It can be seen that the present invention can splice the images of each perspective of the vehicle, and adjust the frame rate of each perspective image according to the degree of change of the content of each perspective image, so as to reduce the amount of data to be transmitted and reduce the transmission delay of the image data. In addition, the present invention can also adjust the clarity of each perspective image according to the movement behavior information of the vehicle to ensure the clarity of the transmitted spliced ​​image.

[0050] For example, six cameras are arranged on the vehicle of this embodiment, and the six cameras are arranged at different positions of the vehicle, such as Figure 1As shown in , they are located in the front, rear, left front, left rear, right front and right rear of the vehicle respectively. Therefore, these six cameras can respectively collect the front view image, rear view image, left front view image, left rear view image, right front view image and right rear view image. In order to reduce the amount of data transmitted by the image, this embodiment obtains the current speed data of the vehicle, and determines the basic frame rate of each view image according to the obtained speed data. The basic frame rate is the initial frame rate for updating each view image, for example, the basic frame rate is determined to be 20fps. Since the vehicle is constantly running, the content of the view images collected by each camera is also constantly changing. In order to reduce the amount of data transmitted by the image, this embodiment obtains the content change degree of these six view images respectively. For example, when the content change degree of the left front view image is too large, the basic frame rate of the left front view image is adjusted to the target frame rate, so that the left front view image can be updated. According to the above method, the frame rate of all view images is adjusted, and then the view images after the frame rate adjustment are spliced ​​to obtain the spliced ​​image to be transmitted. Next, the present embodiment can also obtain the vehicle's motion behavior information. For example, when the vehicle's motion behavior information is a left turn, the clarity of the corresponding perspective image can be adjusted, thereby changing the overall clarity of the spliced ​​image. Finally, the present embodiment can encode and transmit the adjusted spliced ​​image. This not only reduces the amount of image transmission data, but also ensures the clarity of image transmission.

[0051] Exemplary Methods

[0052] The image transmission method for remote takeover of autonomous driving in this embodiment can be applied to a vehicle-mounted terminal, which is an intelligent control terminal or intelligent control platform installed on the vehicle. Figure 2 As shown in , the image transmission method for remote takeover of autonomous driving in this embodiment specifically includes the following steps:

[0053] Step S100: Acquire each perspective image of the vehicle and speed data of the vehicle, and determine the basic frame rate corresponding to each perspective image based on the speed data.

[0054] In order to reduce the amount of data transmitted by the image, the present embodiment first obtains the images of each viewing angle collected by each camera on the vehicle, and then the vehicle terminal of the present embodiment can obtain the speed data of the vehicle. Since the vehicle is at different speeds, the speed of change of the image content collected by the camera will also be different. Once the image content changes, the images of each viewing angle need to be updated, so the frame rate of the image update needs to be adaptively adjusted to reduce the amount of data transmitted by the image. The present embodiment can determine the basic frame rate corresponding to each viewing angle image in the spliced ​​image based on the acquired speed data.

[0055] In one implementation, when obtaining the basic frame rate, this embodiment includes the following steps:

[0056] Step S101, comparing the speed data with a preset speed threshold;

[0057] Step S102: if the speed data is less than the speed threshold, obtaining a preset first linear relationship, where the first linear relationship is used to reflect the corresponding relationship between the speed data and the basic frame rate;

[0058] Step S103: Determine the basic frame rate according to the first linear relationship.

[0059] Step S104: If the speed data is greater than the speed threshold, a preset first frame rate value is obtained, and the first frame rate value is used as the basic frame rate.

[0060] Specifically, the frame rate of each camera in this embodiment is 60fps. In order to facilitate splicing, this embodiment can first splice 50% of the frames of each view image to make the frame rate of the spliced ​​image 30fps, and 30fps is the original frame rate. Next, this embodiment obtains the speed data of the vehicle and the preset speed threshold, and compares the speed data with the preset speed threshold. If the speed data is less than the speed threshold, it means that the vehicle is not speeding at this time, and the higher the speed of the vehicle, the higher the frame rate of each view image in the spliced ​​image. Therefore, this embodiment can obtain a preset first linear relationship, which is used to reflect the corresponding relationship between the speed data and the basic frame rate, and the first linear relationship is an increasing function. Based on the first linear relationship, the corresponding basic frame rate can be determined. If the speed data is greater than the speed threshold, the vehicle is speeding at this time. In order to avoid an increase in the amount of data transmitted by the image, this embodiment obtains a preset first frame rate value and uses the first frame rate value as the basic frame rate. That is, in this embodiment, when the vehicle is speeding, the basic frame rate is a fixed value at this time, so that the amount of data transmitted by the image is not too large.

[0061] For example, Figure 4 As shown, the speed threshold of this embodiment is 15km / h. Figure 1 It can be seen that if the vehicle speed data is less than 15km / h, then according to Figure 4The first linear relationship in is used to determine the basic frame rate. When the speed data is 0, the vehicle stops and the basic frame rate is 10fbs. When the speed data is 15km / h, the speed data reaches the speed threshold, so the basic frame rate is the maximum value of 40fbs. When the speed data continues to increase, the basic frame rate is the first frame rate value, which is the maximum value calculated based on the first linear relationship when the speed data is within 15km / h. Therefore, in this embodiment, when the speed data is less than 15km / h, the basic frame rate varies within the range of 10 to 40fbs. When the speed data exceeds 15km / h, the basic frame rate is a fixed value of 40fbs.

[0062] Step S200: respectively obtain the content change degree of each of the perspective images, adjust the basic frame rate corresponding to each of the perspective images based on the content change degree, obtain the target frame rate corresponding to each of the perspective images, and determine the stitched image to be transmitted based on the target frame rate.

[0063] As the vehicle travels, the image content of the perspective images collected by each camera will also change. Once the image content changes, the corresponding perspective image will be updated. When compressing the video, it will be compressed according to the updated image and then the image will be transmitted. If there are some perspective images in the subsequent spliced ​​images that are updated at a lower frame rate, the amount of data for video encoding can be effectively reduced. To this end, this embodiment can obtain the content change degree of each perspective image respectively, and adjust the basic frame rate corresponding to each perspective image based on the content change degree to obtain the target frame rate corresponding to each perspective image. At this time, the target frame rate is less than the basic frame rate, that is, the basic frame rate is reduced. After the frame rate of each perspective image is adjusted, this embodiment can splice the perspective images after the frame rate adjustment, so as to obtain the spliced ​​image to be transmitted. At this time, the basic frame rate of one or some perspective images in the spliced ​​image is reduced, so the amount of data in the subsequent video encoding can be significantly reduced.

[0064] In one implementation, this embodiment includes the following steps when obtaining the content change degree of each viewing angle image:

[0065] Step S201, obtaining current contour data corresponding to the current frame of each perspective image;

[0066] Step S202, obtaining the historical contour data corresponding to the previous frame of each perspective image;

[0067] Step S203: determining the content change degree according to the current contour data and the historical contour data, wherein the content change degree is used to reflect the contour difference degree between the current frame and the previous frame of the each perspective image.

[0068] In this embodiment, the degree of content change reflects the degree of difference in outline between the current frame and the previous frame of each perspective image. The degree of content change determines whether the basic frame rate of the perspective image needs to be adjusted. In this embodiment, the current outline data corresponding to the current frame of each perspective image is first obtained. The current outline data is the outline data of the content in the perspective image, such as the street view next to the road. Then the historical outline data corresponding to the previous frame of each perspective image is obtained. Next, the current outline data is compared with the historical outline data to determine the difference between the two. The difference reflects the degree of difference in outline between the current frame and the previous frame of the perspective image, so that the degree of content change can be obtained.

[0069] After determining the degree of content change, the present embodiment can adjust the basic frame rates corresponding to the various perspective images based on the degree of content change, and adjust the basic frame rates of the corresponding perspective images to the target frame rate. In the present embodiment, a preset first contour difference threshold and a second contour difference threshold are first obtained, and the first contour difference threshold is less than the second contour difference threshold. Then the degree of content change is compared with the first contour difference threshold and the second contour difference threshold, respectively. If the degree of content change of any perspective image among the various perspective images is greater than the first contour difference threshold and less than the second contour threshold, then a preset second linear relationship is obtained, such as Figure 5 As shown in , the second linear relationship is used to reflect the corresponding relationship between the content change degree and the target frame rate. Therefore, this embodiment can determine the target frame rate corresponding to the content change degree based on the second linear relationship, and then adjust the basic frame rate of the perspective image to the target frame rate. If the content change degree of any perspective image among the various perspective images is less than the first contour difference threshold, the target frame rate corresponding to the perspective image is set to the second frame rate value, and the second frame rate value is a fixed value at this time. That is to say, in this embodiment, if the content change program of a certain perspective image is less than the first contour difference threshold, the basic frame rate of the perspective image needs to be adjusted to the second frame rate value. If the content change degree of any perspective image among the various perspective images is greater than the second contour difference threshold, the target frame rate corresponding to the perspective image is set to the third frame rate value, and the third frame rate value is also a fixed value at this time. That is to say, in this embodiment, if the content change program of a certain perspective image is greater than the second contour difference threshold, the basic frame rate of the perspective image needs to be adjusted to the third frame rate value.

[0070] For example, Figure 5 As shown in , the content change degree of this embodiment is expressed in percentage. Figure 5 The second linear relationship in is y=60x+b-30, where b is the basic frame rate and x is the degree of content change. Figure 5 It can be seen that the second frame rate value is 10fbs, the third frame rate value is 40fbs, and the minimum and maximum values ​​of the second linear relationship are 10fbs and 40fbs respectively. Therefore, when the content change degree of a certain perspective image is greater than the first contour difference threshold and less than the second contour threshold, the corresponding target frame rate can be calculated according to y=60x+b-30, and the range of the target frame rate is 10fbs to 40fbs. If the content change degree of a certain perspective image is less than the first contour difference threshold, the target frame rate is 10fbs, and if the content change degree of a certain perspective image is greater than the second contour difference threshold, the target frame rate is 40fbs.

[0071] After adjusting the basic frame rate of each perspective image, the present embodiment can update each perspective image based on the target frame rate, adjust the basic frame rate of each perspective image to the target frame rate, and then the present embodiment splices the perspective images after adjusting the frame rate to obtain a spliced ​​image to be transmitted. Since the spliced ​​image to be transmitted is obtained after splicing and frame rate adjustment, the data amount of the image to be transmitted at this time is relatively small, thereby reducing the data amount during video encoding.

[0072] In one implementation, the present embodiment may first obtain the stitching mode of each perspective image, and then stitch the each perspective image based on the stitching mode. The stitched image of the present embodiment is as follows: Figure 3 As shown in , in this embodiment, there are six perspective images, namely, a front perspective image, a rear perspective image, a left front perspective image, a left rear perspective image, a right front perspective image, and a right rear perspective image. When splicing, three of the perspective images can be arranged from left to right, for example, the left front perspective image, the front perspective image, and the right front perspective image are arranged in a row. Then, the remaining three perspective images are superimposed on these three perspective images, as shown in FIG. Figure 3 As shown, the left rear view image can be superimposed on the left front view image, the rear view image can be superimposed on the front view image, and the right rear view image can be superimposed on the right front view image. In another implementation, the present embodiment can also set and select the splicing mode. Figure 3The stitched image shown may be in the form of the default stitching mode of this embodiment. In this default stitching mode, each viewing angle image is displayed in the corresponding area according to a preset image size. For example, in the default stitching mode, the image sizes of the left front viewing angle image, the front viewing angle image, and the right front viewing angle image are the same, and the image sizes of the left rear viewing angle image, the rear viewing angle image, and the right rear viewing angle image are the same, and the image sizes of the left rear viewing angle image, the rear viewing angle image, and the right rear viewing angle image are one ninth of the image sizes of the left front viewing angle image, the front viewing angle image, and the right front viewing angle image, respectively. This embodiment may first obtain the corresponding stitching mode after obtaining the above-mentioned viewing angle images. If the stitching mode is the default stitching mode, then these viewing angle images may be stitched according to the above-mentioned stitching mode. Figure 3 Of course, the present embodiment can also switch the stitching mode according to the movement behavior of the vehicle. For example, the present embodiment can also set a left turn stitching mode, a right turn stitching mode, a forward stitching mode and a backward stitching mode. When the movement behavior of the vehicle is to turn left, the left turn stitching mode can be selected. In the left turn stitching mode, the left front view image is enlarged. For example, Figure 3 In the stitched image shown in , if you switch to the left turn stitching mode, the left front view image will be enlarged by two or three times the image size corresponding to the default stitching mode. Similarly, when the vehicle's motion behavior is forward, you can select the forward stitching mode. In the forward stitching mode, the front view image is enlarged. For example, Figure 3 In the stitched image shown in , if the forward stitching mode is switched, the front view image will be enlarged by two or three times the image size corresponding to the default stitching mode. When the vehicle's motion behavior is to turn right, the right turn stitching mode can be selected. In the right turn stitching mode, the right front view image is enlarged. For example, Figure 3 In the stitched image shown in , if the right turn stitching mode is switched, the right front view image will be enlarged by two or three times the image size corresponding to the default stitching mode. When the vehicle's movement behavior is backward, the backward stitching mode can be selected. In the backward stitching mode, the rear view image is enlarged. For example, Figure 3 In the stitched image shown in , if the backward stitching mode is switched, the rear-view image will be displayed by magnifying it by two or three times the image size corresponding to the default stitching mode.

[0073] Step S300: acquiring the motion behavior information of the vehicle, adjusting the clarity of the spliced ​​image based on the motion behavior information, and encoding and transmitting the adjusted spliced ​​image.

[0074] In order to ensure the clarity of the spliced ​​image, the present embodiment can also adjust the clarity of each view image in the spliced ​​image according to the vehicle's motion behavior information. After the adjustment, the present embodiment performs image encoding and transmission on the adjusted spliced ​​image. This not only reduces the amount of data for image transmission, but also ensures the clarity of image transmission.

[0075] In one implementation, this embodiment includes the following steps when adjusting the clarity of the spliced ​​image:

[0076] Step S301: if the movement behavior information is that the vehicle moves backward, reducing the compression rate of the rear view image in the stitched image;

[0077] Step S302: if the movement behavior information indicates that the vehicle is moving forward, reducing the compression rate of the front view image in the spliced ​​image;

[0078] Step S303: if the movement behavior information is that the vehicle turns left, reducing the compression rates of the left front view image and the left rear view image in the spliced ​​image;

[0079] Step S304: if the movement behavior information indicates that the vehicle turns right, reducing the compression rates of the right front view image and the right rear view image in the stitched image.

[0080] The motion behavior information of the present embodiment includes the vehicle moving forward, the vehicle moving backward, the vehicle turning left or the vehicle turning right. In order to ensure the clarity of each perspective image in the spliced ​​image, the present embodiment can adjust the clarity of the corresponding perspective image according to the behavior of the vehicle when the vehicle is driving. Specifically, if the motion behavior information is the vehicle moving backward, the compression rate of the rear perspective image in the spliced ​​image is reduced, and the clarity of the rear perspective image can be improved at this time. If the motion behavior information is the vehicle moving forward, the compression rate of the front perspective image in the image to be transmitted is reduced, and the clarity of the front perspective image can be improved at this time. If the motion behavior information is the vehicle turning left, the compression rate of the left front perspective image and the left rear perspective image in the image to be transmitted is reduced, and the clarity of the left front perspective image and the left rear perspective image can be improved at this time. If the motion behavior information is the vehicle turning right, the compression rate of the right front perspective image and the right rear perspective image in the image to be transmitted is reduced, and the clarity of the right front perspective image and the right rear perspective image can be improved at this time. When the definition adjustment of each viewing angle image is completed, this embodiment can perform image encoding on the spliced ​​image with the definition adjustment completed to obtain video data, and then transmit the video data.

[0081] In specific applications, when adjusting the clarity of the spliced ​​image, the present embodiment can first splice the perspective images that do not need to adjust the compression rate in the spliced ​​image, and then reduce the compression rate of the perspective image that needs to be paid attention to (the perspective image that needs to be paid attention to is determined based on the movement behavior of the vehicle, for example, when the movement behavior of the vehicle is backward, the perspective image that needs to be paid attention to is the rear perspective image). After the compression rate is reduced, the perspective image that needs to be paid attention to is spliced ​​together with other perspective images, and the clarity adjustment of the spliced ​​image is completed. In another implementation, the present embodiment can also obtain the original compression rate of each perspective image in the spliced ​​image, and then select the lowest original compression rate. Then, the present embodiment can adjust the original compression rate of each perspective image to the lowest compression rate, so that the clarity of each perspective image can be adjusted once. Then, the present embodiment further reduces the compression rate of the perspective image that needs to be paid attention to, so that the compression rate of the perspective image that needs to be paid attention to can be ensured to meet the requirements. Finally, all the perspective images are spliced ​​together, and the clarity adjustment of the spliced ​​image is completed. Of course, in other implementations, this embodiment can directly reduce the compression rate of the perspective images that need to be paid attention to after adjusting the basic frame rate of each perspective image to the target frame rate. After the compression rate is reduced, all perspective images can be directly spliced ​​to obtain a spliced ​​image. At this time, the spliced ​​image has completed both frame rate adjustment and clarity adjustment. When this embodiment uses the spliced ​​image that has been adjusted in frame rate and clarity for image encoding, the amount of video data obtained is smaller, which is conducive to the transmission of image data and does not affect the clarity of the image.

[0082] In summary, the present embodiment first obtains each perspective image of the vehicle and the speed data of the vehicle, and determines the basic frame rate corresponding to each perspective image based on the speed data. Since the degree of change of the perspective image content collected by the vehicle camera is different at different speeds, in order to reduce the amount of data transmitted by the image and avoid transmission delay, the present embodiment obtains the degree of change of the content of each perspective image respectively, and adjusts the basic frame rate corresponding to each perspective image based on the degree of change of the content, obtains the target frame rate corresponding to each perspective image, and determines the spliced ​​image to be transmitted based on the target frame rate. At this time, since the frame rate of the perspective image has been adjusted, and the spliced ​​image to be transmitted is the splicing of each perspective image, the data amount of the spliced ​​image at this time is relatively small. In order to ensure the clarity of the spliced ​​image, the present embodiment obtains the motion behavior information of the vehicle, adjusts the clarity of the image to be transmitted based on the motion behavior information, and performs image encoding and transmission on the adjusted spliced ​​image. It can be seen that the present invention can splice the images of each perspective of the vehicle and adjust the frame rate of each perspective image according to the degree of change of the content of each perspective image to reduce the amount of data to be transmitted and reduce the transmission delay of the image data. In addition, the present invention can also adjust the clarity of each perspective image according to the movement behavior information of the vehicle to ensure the clarity of the transmitted image data.

[0083] Exemplary Devices

[0084] Based on the above embodiments, the present invention also provides an image transmission device for remote takeover of autonomous driving, such as Figure 6 As shown in , the device includes: a basic frame rate determination module 10, a basic frame rate adjustment module 20 and a clarity adjustment module 30. Specifically, the basic frame rate determination module 10 in this embodiment is used to obtain each perspective image of the vehicle and the speed data of the vehicle, and determine the basic frame rate corresponding to each perspective image based on the speed data. The basic frame rate adjustment module 20 is used to respectively obtain the content change degree of each perspective image, adjust the basic frame rate corresponding to each perspective image based on the content change degree, obtain the target frame rate corresponding to each perspective image, and determine the spliced ​​image to be transmitted based on the target frame rate. The clarity adjustment module 30 is used to obtain the motion behavior information of the vehicle, adjust the clarity of the spliced ​​image based on the motion behavior information, and perform image encoding and transmission on the adjusted spliced ​​image.

[0085] In one implementation, the basic frame rate determination module 10 includes:

[0086] A speed comparison unit, used for comparing the speed data with a preset speed threshold;

[0087] a first linear relationship acquisition unit, configured to acquire a preset first linear relationship if the speed data is less than the speed threshold, wherein the first linear relationship is used to reflect the corresponding relationship between the speed data and the basic frame rate;

[0088] a first basic frame rate determining unit, configured to determine the basic frame rate according to the first linear relationship;

[0089] The second basic frame rate determining unit is configured to obtain a preset first frame rate value if the speed data is greater than the speed threshold, and use the first frame rate value as the basic frame rate.

[0090] In one implementation, the basic frame rate adjustment module 20 includes:

[0091] A current contour acquisition unit, used to acquire current contour data corresponding to the current frame of each perspective image;

[0092] A historical profile acquisition unit, used to acquire historical profile data corresponding to the previous frame of each perspective image;

[0093] The change degree determination unit is used to determine the content change degree according to the current contour data and the historical contour data, wherein the content change degree is used to reflect the contour difference degree between the current frame and the previous frame of each perspective image.

[0094] In one implementation, the basic frame rate adjustment module 20 includes:

[0095] a difference threshold comparison unit, configured to obtain a preset first contour difference threshold and a second contour difference threshold, and compare the content change degree with the first contour difference threshold and the second contour difference threshold respectively, wherein the first contour difference threshold is less than the second contour difference threshold;

[0096] A second linear relationship acquisition unit, configured to acquire a preset second linear relationship if the content change degree of any perspective image among the perspective images is greater than the first contour difference threshold and less than the second contour threshold, wherein the second linear relationship is used to reflect the corresponding relationship between the content change degree and the target frame rate;

[0097] A first reference frame rate adjustment unit, configured to adjust the reference frame rate corresponding to the perspective image according to the second linear relationship to obtain the target frame rate of the perspective image;

[0098] A second reference frame rate adjustment unit, configured to set the target frame rate corresponding to any perspective image of the perspective images to a second frame rate value if the content change degree of any perspective image among the perspective images is less than the first contour difference threshold;

[0099] The third reference frame rate adjustment unit is configured to set the target frame rate corresponding to any perspective image of the perspective images to a third frame rate value if the content change degree of any perspective image among the perspective images is greater than the second contour difference threshold.

[0100] In one implementation, the basic frame rate adjustment module 20 includes:

[0101] A splicing mode determining unit, used to determine the splicing mode of each of the perspective images;

[0102] The perspective image stitching unit is used to respectively superimpose three perspective images in each perspective image onto the remaining perspective image based on the stitching mode to obtain the stitched image. In one implementation, the clarity adjustment module 30 includes:

[0103] A first definition adjustment unit, configured to reduce the compression rate of the rear view image in the stitched image if the motion behavior information is that the vehicle moves backward;

[0104] A second definition adjustment unit, configured to reduce the compression rate of the front view image in the spliced ​​image if the motion behavior information indicates that the vehicle is moving forward;

[0105] A third definition adjustment unit, configured to reduce the compression rate of the left front view image and the left rear view image in the spliced ​​image if the motion behavior information is that the vehicle turns left;

[0106] The fourth definition adjustment unit is used to reduce the compression rate of the right front perspective image and the right rear perspective image in the stitched image if the movement behavior information is that the vehicle turns right.

[0107] The working principle of the functional module in the image transmission device for remote takeover of autonomous driving in this embodiment is the same as the principle of the method steps in the above method embodiment, and will not be repeated here.

[0108] Based on the above embodiments, the present invention further provides a vehicle-mounted terminal, and the principle block diagram of the vehicle-mounted terminal may be shown in FIG. The vehicle-mounted terminal may include one or more processors 100 ( Figure 7Only one is shown in the figure), a memory 101 and a computer program 102 stored in the memory 101 and executable on one or more processors 100, for example, a program for image transmission for remote takeover of autonomous driving. When one or more processors 100 execute the computer program 102, the various steps in the method embodiment for image transmission for remote takeover of autonomous driving can be implemented. Alternatively, when one or more processors 100 execute the computer program 102, the functions of the various modules / units in the embodiment of the image transmission device for remote takeover of autonomous driving can be implemented, which is not limited here.

[0109] In one embodiment, the processor 100 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.

[0110] In one embodiment, the memory 101 may be an internal storage unit of an electronic device, such as a hard disk or memory of the electronic device. The memory 101 may also be an external storage device of the electronic device, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the electronic device. Further, the memory 101 may also include both an internal storage unit of the electronic device and an external storage device. The memory 101 is used to store computer programs and other programs and data required by the vehicle-mounted terminal. The memory 101 may also be used to temporarily store data that has been output or is to be output.

[0111] Those skilled in the art will understand that Figure 7 The principle block diagram shown in the figure is only a block diagram of a partial structure related to the scheme of the present invention, and does not constitute a limitation on the vehicle-mounted terminal to which the scheme of the present invention is applied. The specific vehicle-mounted terminal may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0112] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, operation database or other media used in the embodiments provided by the present invention can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), dual operating data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).

[0113] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. An image transmission method for remote takeover of autonomous driving, characterized in that: The method comprises: Acquire images of each perspective of the vehicle and speed data of the vehicle, and determine basic frame rates corresponding to the images of each perspective based on the speed data; respectively obtaining the content change degree of each of the perspective images, adjusting the basic frame rates corresponding to each of the perspective images based on the content change degree, obtaining the target frame rates corresponding to each of the perspective images, and determining the stitched image to be transmitted based on the target frame rates; Acquiring movement behavior information of the vehicle, adjusting the clarity of the spliced ​​image based on the movement behavior information, and performing image encoding and transmission on the adjusted spliced ​​image; The determining, based on the speed data, a basic frame rate corresponding to when the images of each viewing angle are stitched, includes: comparing the speed data with a preset speed threshold; If the speed data is less than the speed threshold, obtaining a preset first linear relationship, where the first linear relationship is used to reflect the corresponding relationship between the speed data and the basic frame rate; Determining the basic frame rate according to the first linear relationship; If the speed data is greater than the speed threshold, a preset first frame rate value is obtained, and the first frame rate value is used as the basic frame rate.

2. The image transmission method for remote takeover of autonomous driving according to claim 1, characterized in that: The respectively obtaining the content change degree of each viewing angle image comprises: Acquire current contour data corresponding to the current frame of each perspective image; Acquire the historical profile data corresponding to the previous frame of each perspective image; The content change degree is determined according to the current contour data and the historical contour data, wherein the content change degree is used to reflect the contour difference degree between the current frame and the previous frame of the each perspective image.

3. The image transmission method for remote takeover of autonomous driving according to claim 2, characterized in that: The adjusting the basic frame rates corresponding to the respective perspective images based on the content change degree to obtain the target frame rates corresponding to the respective perspective images includes: Obtaining a preset first contour difference threshold and a second contour difference threshold, and comparing the content change degree with the first contour difference threshold and the second contour difference threshold respectively, wherein the first contour difference threshold is less than the second contour difference threshold; If the content change degree of any perspective image among the perspective images is greater than the first contour difference threshold and less than the second contour threshold, obtaining a preset second linear relationship, wherein the second linear relationship is used to reflect the corresponding relationship between the content change degree and the target frame rate; According to the second linear relationship, the reference frame rate corresponding to the viewing angle image is adjusted to obtain the target frame rate of the viewing angle image.

4. The image transmission method for remote takeover of automatic driving according to claim 3, characterized in that: The adjusting the basic frame rates corresponding to the respective perspective images based on the content change degree to obtain the target frame rates corresponding to the respective perspective images includes: If the content change degree of any perspective image among the perspective images is less than the first contour difference threshold, setting the target frame rate corresponding to the perspective image to a second frame rate value; If the content change degree of any perspective image among the perspective images is greater than the second contour difference threshold, the target frame rate corresponding to the perspective image is set to a third frame rate value.

5. The image transmission method for remote takeover of autonomous driving according to claim 1, characterized in that: The step of determining the stitched image to be transmitted based on the target frame rate includes: Determining a stitching mode of the images of each viewing angle; Based on the stitching mode, three perspective images in each perspective image after adjusting the frame rate are respectively superimposed on the remaining perspective images to obtain the stitching image.

6. The image transmission method for remote takeover of autonomous driving according to claim 1, characterized in that: The adjusting the clarity of the spliced ​​image based on the motion behavior information includes: If the movement behavior information is that the vehicle moves backward, reducing the compression rate of the rear view image in the stitched image; If the movement behavior information indicates that the vehicle is moving forward, reducing the compression rate of the front view image in the stitched image; If the motion behavior information is that the vehicle turns left, reducing the compression rates of the left front view image and the left rear view image in the stitched image; If the movement behavior information indicates that the vehicle turns right, the compression rates of the right front view image and the right rear view image in the stitched image are reduced.

7. An image transmission device for remote takeover of autonomous driving, characterized in that: The device comprises: A basic frame rate determination module, used to obtain each perspective image of the vehicle and speed data of the vehicle, and determine the basic frame rate corresponding to each perspective image based on the speed data; A basic frame rate adjustment module, used to respectively obtain the content change degree of each of the perspective images, adjust the basic frame rates corresponding to each of the perspective images based on the content change degree, obtain the target frame rates corresponding to each of the perspective images, and determine the spliced ​​image to be transmitted based on the target frame rate; A definition adjustment module, used for acquiring the motion behavior information of the vehicle, adjusting the definition of the spliced ​​image based on the motion behavior information, and performing image encoding and transmission on the adjusted spliced ​​image; The basic frame rate determination module includes: A speed comparison unit, used for comparing the speed data with a preset speed threshold; a first linear relationship acquisition unit, configured to acquire a preset first linear relationship if the speed data is less than the speed threshold, wherein the first linear relationship is used to reflect the corresponding relationship between the speed data and the basic frame rate; a first basic frame rate determining unit, configured to determine the basic frame rate according to the first linear relationship; The second basic frame rate determining unit is configured to obtain a preset first frame rate value if the speed data is greater than the speed threshold, and use the first frame rate value as the basic frame rate.

8. A vehicle-mounted terminal, characterized in that: The vehicle-mounted terminal includes a memory, a processor, and an image transmission program for remote takeover of autonomous driving, which is stored in the memory and can be run on the processor. When the processor executes the image transmission program for remote takeover of autonomous driving, the steps of the image transmission method for remote takeover of autonomous driving as described in any one of claims 1 to 6 are implemented.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores an image transmission program for remote takeover of autonomous driving. When the image transmission program for remote takeover of autonomous driving is executed by a processor, the steps of the image transmission method for remote takeover of autonomous driving as described in any one of claims 1 to 6 are implemented.