Method and device for displaying video in vehicle, medium and equipment

By determining the coordinate point set of video frame images in the vehicle, split-screen display of multiple image areas is achieved, which solves the problem that users at different locations in the vehicle cannot clearly watch in-vehicle entertainment videos, and improves the user experience.

CN119729072APending Publication Date: 2025-03-28XG TECHNOLOGIES PTE LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411884083.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-19
Publication Date
2025-03-28

AI Technical Summary

Technical Problem

How to effectively display the in-vehicle entertainment video screen in a vehicle, especially to solve the problem of split-screen display in multiple image areas, ensuring that users in different locations can clearly watch the video.

Method used

By determining the current frame image in the video to be displayed, a set of coordinate points for area segmentation is determined based on the current frame image, thereby determining and displaying at least one image area. This method can display multiple image areas on different display screens respectively, thereby realizing split-screen display of multiple image areas.

Benefits of technology

It is realized that users in different locations in the vehicle can watch videos through the display screen in the best position separately, avoiding the user's inability to watch or poor viewing results due to multiple image areas displayed on the same display screen, and improving the user's ride experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119729072A_ABST
    Figure CN119729072A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses a method and device for displaying a video in a vehicle, a medium and equipment, and the method comprises the steps: determining a current frame image in a to-be-displayed video; determining a first coordinate point set for region segmentation in the current frame image based on the current frame image; determining at least one image area from the current frame image based on the first coordinate point set; determining display screens corresponding to the at least one image area; and displaying the at least one image area through the display screens corresponding to the at least one image area. According to the embodiment of the invention, the image areas in the plurality of image areas in the video can be displayed in a split-screen manner, so that users at different positions in the vehicle can watch the video conveniently, and the user experience is effectively improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to display technology, and more particularly to a method, device, medium and apparatus for displaying a video in a vehicle. Background Art

[0002] With the rapid popularization of vehicle smart cockpits, in-vehicle displays and in-vehicle entertainment access have gradually become common configurations of vehicles. How to effectively display in-vehicle entertainment video images in vehicles has become a technical problem that needs to be solved urgently. Summary of the invention

[0003] The embodiments of the present disclosure provide a method, apparatus, medium and device for displaying a video in a vehicle, so as to display each of a plurality of image areas in the video in a split screen, thereby facilitating users at different positions in the vehicle to watch the video and effectively improving the user experience.

[0004] A first aspect of an embodiment of the present disclosure provides a method for displaying a video in a vehicle, comprising: determining a current frame image in a video to be displayed; based on the current frame image, determining a first coordinate point set for region segmentation in the current frame image; based on the first coordinate point set, determining at least one image region from the current frame image; determining a display screen corresponding to each of the at least one image region; and displaying the at least one image region through a display screen corresponding to each of the at least one image region.

[0005] A second aspect of an embodiment of the present disclosure provides a device for displaying a video in a vehicle, comprising: a first processing module for determining a current frame image in a video to be displayed; a second processing module for determining, based on the current frame image, a first set of coordinate points in the current frame image for region segmentation; a third processing module for determining, based on the first set of coordinate points, at least one image region from the current frame image; a fourth processing module for determining a display screen corresponding to each of the at least one image region; and a fifth processing module for displaying the at least one image region through a display screen corresponding to each of the at least one image region.

[0006] According to a third aspect of an embodiment of the present disclosure, a computer-readable storage medium is provided, wherein the storage medium stores a computer program, and the computer program is used to execute the method for displaying a video in a vehicle as described in any of the above embodiments of the present disclosure.

[0007] According to a fourth aspect of an embodiment of the present disclosure, an electronic device is provided, comprising: a second processor; a memory for storing executable instructions of the second processor; and the second processor for reading the executable instructions from the memory and executing the instructions to implement the method for displaying a video in a vehicle as described in any of the above embodiments of the present disclosure.

[0008] A fifth aspect of the embodiments of the present disclosure provides a computer program product. When the instructions in the computer program product are executed by a processor, the method for displaying a video in a vehicle provided by any of the above embodiments of the present disclosure is performed.

[0009] Based on the method, device, medium and equipment for displaying videos in a vehicle provided by the above-mentioned embodiments of the present disclosure, since at least one image area can be determined from the image based on the coordinate point set used for area segmentation in the image of the video to be displayed, when the image of the video to be displayed contains multiple image areas (for example, image areas of multiple different perspectives or different characters), each image area can be displayed separately through its corresponding display screen, thereby realizing split-screen display of multiple image areas, which is convenient for users at different positions in the vehicle to watch the video separately. For example, for the display of multi-character game video screens, the video screens of different characters are displayed by split-screen, so that passengers in the front and rear rows of the vehicle can watch the game video screens of their respective characters through the front display screen and the rear display screen respectively. Therefore, it can avoid the situation where multiple image areas are displayed on the same display screen, resulting in some users at different positions in the vehicle being unable to watch the video or having a poor viewing effect, thereby effectively improving the user's riding experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0010] Figure 1 This is an exemplary application scenario of the method for displaying a video in a vehicle provided by the present disclosure;

[0011] Figure 2 is a flowchart of a method for displaying a video in a vehicle provided by an exemplary embodiment of the present disclosure;

[0012] Figure 3 is a flowchart of a method for displaying a video in a vehicle provided by another exemplary embodiment of the present disclosure;

[0013] Figure 4 is a flowchart of a method for displaying a video in a vehicle provided by yet another exemplary embodiment of the present disclosure;

[0014] Figure 5 is a flowchart of a method for displaying a video in a vehicle provided by another exemplary embodiment of the present disclosure;

[0015] Figure 6 is a flowchart of a method for displaying a video in a vehicle provided by yet another exemplary embodiment of the present disclosure;

[0016] Figure 7 is a flowchart of a method for displaying a video in a vehicle provided by another exemplary embodiment of the present disclosure;

[0017] Figure 8 is a flowchart of a method for displaying a video in a vehicle provided by yet another exemplary embodiment of the present disclosure;

[0018] Fig. 9 is a flowchart of a method for displaying a video in a vehicle provided by an exemplary embodiment of the present disclosure;

[0019] Fig.10 is a schematic diagram of different image segmentation modes provided by an exemplary embodiment of the present disclosure;

[0020] Fig.11 is a structural schematic diagram of a device for displaying a video in a vehicle provided by an exemplary embodiment of the present disclosure;

[0021] Fig.12 is a schematic structural diagram of a device for displaying a video in a vehicle provided by another exemplary embodiment of the present disclosure;

[0022] Fig.13 is a structural schematic diagram of a device for displaying a video in a vehicle provided by yet another exemplary embodiment of the present disclosure;

[0023] Fig.14 is a structural schematic diagram of a device for displaying a video in a vehicle provided by another exemplary embodiment of the present disclosure;

[0024] Fig.15 is a structural schematic diagram of a device for displaying a video in a vehicle provided by yet another exemplary embodiment of the present disclosure;

[0025] Fig.16 It is a structural diagram of an electronic device provided by an embodiment of the present disclosure. DETAILED DESCRIPTION

[0026] To explain the present disclosure, example embodiments of the present disclosure will be described in detail below with reference to the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present disclosure, rather than all of the embodiments. It should be understood that the present disclosure is not limited to the example embodiments.

[0027] It should be noted that the relative arrangement of components and steps, the numerical expressions and numerical values ​​set forth in these embodiments do not limit the scope of the present disclosure unless specifically stated otherwise.

[0028] SUMMARY OF THE DISCLOSURE

[0029] In the process of realizing the present disclosure, the inventors found that with the rapid popularization of vehicle smart cockpits, in-vehicle displays and in-vehicle entertainment access have gradually become common configurations of vehicles. How to effectively display in-vehicle entertainment video images in vehicles has become a technical problem that needs to be solved urgently.

[0030] Exemplary Overview

[0031] Figure 1 This is an exemplary application scenario of the method for displaying a video in a vehicle provided by the present disclosure. Figure 1 As shown, in the vehicle 10, the user in the vehicle can communicate the terminal device 20 such as a game console with the device for displaying videos in the vehicle (which can be referred to as the device) 11 in the vehicle 10, and display the video screen of the terminal device 20 on the in-vehicle display screen 12 by executing the method for displaying videos in the vehicle of the embodiment of the present disclosure through the device for displaying videos in the vehicle 11. Specifically, the terminal device 20 can send real-time video to the device for displaying videos in the vehicle 11, and the device for displaying videos in the vehicle 11 uses the video received from the terminal device 20 as the video to be displayed, determines the current frame image in the video to be displayed; based on the current frame image, determines the first coordinate point set for region segmentation in the current frame image; based on the first coordinate point set, determines at least one image region from the current frame image; determines the display screen 12 corresponding to each of the at least one image region; and displays at least one image region through the display screen 12 corresponding to each of the at least one image region. The method of the disclosed embodiment can determine at least one image area from an image based on a set of coordinate points used for area segmentation in the image of the video to be displayed. Therefore, when the image of the video to be displayed contains multiple image areas (for example, image areas of multiple different perspectives or different characters), each image area can be displayed separately through its corresponding display screen, thereby realizing split-screen display of multiple image areas, which is convenient for users at different positions in the vehicle to watch the video separately. For example, for the display of multi-character game video images, the video images of different characters are displayed on a split screen, so that passengers in the front and rear rows of the vehicle can watch the game video images of their respective characters through the front and rear display screens respectively. Therefore, it can avoid the situation where multiple image areas are displayed on the same display screen, resulting in some users at different positions in the vehicle being unable to watch the video or having a poor viewing effect, thereby effectively improving the user's riding experience.

[0032] Exemplary Methods

[0033] Figure 2This is a flow chart of a method for displaying a video in a vehicle provided by an exemplary embodiment of the present disclosure. This embodiment can be applied to electronic devices, such as a vehicle-mounted computing platform (or vehicle-mounted terminal, vehicle computer), such as Figure 2 As shown, the method of the embodiment of the present disclosure may include the following steps:

[0034] Step 310: determine the current frame image in the video to be displayed.

[0035] The video to be displayed may be a video obtained from an external device. The external device may be, for example, a terminal device of a user in the vehicle (see Figure 1 ), vehicle video input hub (HUB), etc. The vehicle video input hub can be used to convert the video output by the terminal device into a video in a format supported by the vehicle terminal. That is, the vehicle video input hub receives the original video from the terminal device, converts the format of the original video, and sends the converted video to the vehicle terminal. The vehicle terminal is provided with a device capable of executing the method of the embodiment of the present disclosure, and the device can obtain the video to be displayed. For example, the video format output by the user terminal device is in DP (Display Port) format, and the video format supported by the vehicle terminal is HDMI (High Definition Multimedia Interface) format. The video in DP format can be converted into video in HDMI format through the HUB, so that the vehicle terminal can support video processing and display.

[0036] In some optional embodiments, the external device can be connected to the vehicle terminal through a network, and the video is sent to the vehicle terminal through the network, which is not limited to the above-mentioned HUB and video protocol interface. The network can be a wired network, a wireless network, etc., which is not specifically limited.

[0037] In some optional embodiments, the video to be displayed may include one or more frames of images. When the video to be displayed includes one frame of image, the frame of image may be used as the current frame of image. When the video to be displayed includes multiple frames of image, each frame of image may be used as the current frame of image in sequence.

[0038] Step 320: Based on the current frame image, determine a first coordinate point set in the current frame image for region segmentation.

[0039] The first coordinate point set for region segmentation may include one or more pixel coordinate points in the current frame image. For example, the first coordinate point set includes a set of vertical coordinate points in the current frame image, and both sides of the set of coordinate points correspond to an image region respectively.

[0040] In some optional embodiments, the first coordinate point for region segmentation may be determined in a preconfigured manner. The preconfigured manner may include, for example, a manner of determining the first coordinate point for region segmentation based on a preset segmentation mode, a manner of determining the first coordinate point for region segmentation based on a segmentation mode selected by a user, etc., without specific limitation.

[0041] In some optional embodiments, the image in the video may include only one image region. In this case, the first coordinate point set may be an empty set or other specified representation method, indicating that the current frame image does not have multiple divisible image regions.

[0042] Step 330: determine at least one image region from the current frame image based on the first coordinate point set.

[0043] The number of image regions included in at least one image region is determined according to the segmentation of the current frame image by the first coordinate point set. For example, the first coordinate point set includes a set of horizontal pixel coordinate points on the current frame image, and the current frame image is segmented into an upper and lower part, and then two image regions can be determined from the current frame image based on the first coordinate point set.

[0044] In some optional embodiments, the image region boundary in the current frame image can be determined based on the first coordinate point set, and then at least one image region is determined from the current frame image based on the image region boundary. For example, the image pixel coordinate system is represented as uov, the origin is the upper left corner of the image, the horizontal direction is u, and the vertical direction is v. Based on the first coordinate point set, at least one of the pixel vertical coordinates (v=v1) of the horizontal boundary and the pixel horizontal coordinates (u=u1) of the vertical boundary of each image region is determined, combined with the horizontal boundaries v=0 and v=vh (vh is the height of the image) of the current frame image, and the vertical boundaries u=0 and u=uw (uw is the width of the image) of the current frame image, each image region can be extracted from the current frame image. This is just an exemplary implementation method of determining at least one image region from the current frame image based on the first coordinate point set. In practical applications, it is not limited to this method and can also be implemented in other ways. For example, at least one straight line is fitted based on the first coordinate point set, and at least one image region divided by at least one straight line is obtained by determining the pixel points on both sides of the straight line in the current frame image. The specific implementation method is not limited.

[0045] In some optional embodiments, the first coordinate point set may include an edge coordinate point set corresponding to at least one image region, and then at least one image region may be determined from the current frame image based on the edge coordinate point sets corresponding to each image region.

[0046] Step 340: Determine a display screen corresponding to each of the at least one image area.

[0047] The display screen may be a display screen installed in the vehicle. For example, the display screen may include a display screen at at least one position on the vehicle. Taking a vehicle with two rows of seats as an example, the display screen may include a front row display screen and a rear row display screen, wherein the front row display screen may include one or more display screens, for example, the front row display screen may include a driver's seat display screen and a co-driver's seat display screen, and the rear row display screen may include one or more display screens, for example, the rear row display screen may include a display screen arranged on the back of the driver's seat and a display screen arranged on the back of the co-driver's seat. The number and position of the specific display screens are not limited.

[0048] In some optional embodiments, the display screen corresponding to each image area can be determined according to the segmentation mode of each image area in the current frame image and the mapping relationship between the preconfigured segmentation mode and the display screen.

[0049] In some optional embodiments, the display screen corresponding to each image area can be determined according to the user's selection. For example, after the user terminal device is initially connected to the vehicle computer, when at least one image area in the first frame image is obtained, the image area in the first frame image is used as a preview, and each image area in the segmentation mode of the first frame image is displayed on each display screen. Each user in the vehicle can select their own image area on the display screen, and the display screen corresponding to each image area in the first frame image is determined according to the user's selection. The subsequent frames of images all use the display screens corresponding to each image area determined in the first frame. For another example, when the user terminal device is initially connected to the vehicle computer, the selection items of the segmentation mode and the corresponding display screen are displayed on the display interface of the user terminal device, and the user selects the segmentation mode and the display screen corresponding to each image area, and then at least one image area is determined from the current frame image according to the segmentation mode selected by the user, and the display screen corresponding to each image area is determined according to the user's selection.

[0050] Step 350: display at least one image area through a display screen corresponding to each of the at least one image areas.

[0051] After at least one image region is determined from the current frame image, and the display screens corresponding to the image regions are determined, the image regions can be displayed on the display screens corresponding to the image regions.

[0052] In some optional embodiments, the display process of the image area may include preprocessing the image area, generating screen pixel data corresponding to the image area, etc. The preprocessing may include size adjustment, resolution processing, color processing, etc., which are not specifically limited.

[0053] The method for displaying videos in a vehicle provided in the present embodiment can determine at least one image area from an image based on a set of coordinate points used for area segmentation in the image of the video to be displayed. Therefore, when the image of the video to be displayed contains multiple image areas (for example, image areas of multiple different perspectives or different characters), each image area can be displayed separately through its corresponding display screen, thereby realizing split-screen display of multiple image areas, which is convenient for users at different positions in the vehicle to watch the videos separately. For example, for the display of multi-character game video images, the video images of different characters are displayed on a split screen, so that passengers in the front and rear rows of the vehicle can watch the game video images of their respective characters through the front and rear display screens, respectively. Therefore, it can avoid the situation where multiple image areas are displayed on the same display screen, resulting in some users at different positions in the vehicle being unable to watch the video or having a poor viewing effect, thereby effectively improving the user's riding experience.

[0054] In some optional embodiments, for the video to be displayed that is continuously transmitted by the same terminal device within a certain period of time, after determining the first coordinate point set for region segmentation based on the current frame image in the first frame (first frame) image, the first coordinate point set determined by the first frame image can be directly used in the subsequent frame images, that is, step 320, based on the current frame image, determining the first coordinate point set for region segmentation in the current frame image, which may include: in response to the current frame image being the first frame image, determining the first coordinate point set for region segmentation in the current frame image based on the current frame image; in response to the current frame image being a non-first frame image, determining the first coordinate point set corresponding to the first frame image as the first coordinate point set for region segmentation in the current frame image. In this way, it is possible to avoid determining the first coordinate point set for region segmentation in the current frame image based on each frame image, thereby reducing the amount of calculation, improving processing efficiency, and reducing display delay.

[0055] Figure 3 It is a flowchart of a method for displaying a video in a vehicle provided by another exemplary embodiment of the present disclosure.

[0056] In some optional embodiments, in the above Figure 2 Based on the illustrated embodiment, determining the current frame image in the video to be displayed in step 310 may include:

[0057] Step 3110, determining the original video data from the external device.

[0058] The external device may include a terminal device of a user in the vehicle, a vehicle video input hub, etc. When the external device is a vehicle video input hub, the vehicle video input hub is connected to the user terminal device to convert the video of the terminal device into a video format supported by the vehicle terminal.

[0059] In some optional embodiments, when the external device is a user's terminal device, the external device can be connected to the vehicle terminal through a network, and the original video data can be sent to the vehicle terminal through the network. The network can be a wired network, a wireless network, etc., which is not specifically limited.

[0060] Step 3120: Determine the current frame image in the video to be displayed based on the original video data.

[0061] Among them, each frame image in the original video data can be determined as the current frame image in sequence according to the order of video frames (or image frames) in the original video data.

[0062] In the embodiments of the present disclosure, since the image in the original video data from the external device can be determined as the current frame image in the video to be displayed, so as to be displayed in split screen through the in-vehicle display screen, users at different positions in the vehicle can respectively watch different image areas in the video of the user terminal device through the in-vehicle display screen, thereby improving the richness of the entertainment content for users in the vehicle and further enhancing the user's riding experience.

[0063] In some optional embodiments, determining the current frame image in the video to be displayed based on the original video data in step 3120 includes:

[0064] Determine the target format of the original video data; and determine the current frame image based on the original video data and the target format.

[0065] The target format may include a first format and a second format, the first format is a compressed format, and the second format is a non-compressed format. According to the target format of the original video data, the current frame image may be determined in a manner corresponding to the target format.

[0066] The embodiments of the present disclosure can support the display of original video data in different formats on the in-vehicle display screen, so that users can connect different terminal devices to the vehicle computer and watch videos through the in-vehicle display screen, thereby increasing the richness of the types of accessible devices. Moreover, compared with the display screen of the user's terminal device, the in-vehicle display screen has a larger screen and a better viewing angle, thereby improving the user's visual experience.

[0067] In some optional embodiments, the current frame image is determined based on the original video data and the target format, including: in response to the target format being a first format, decoding the original video data to obtain a video to be displayed in a second format; and determining the current frame image from the video to be displayed.

[0068] The first format is a compressed format and the second format is an uncompressed format. When the original video data is in a compressed format, the original video data is decoded (or decompressed) to obtain a video to be displayed in the second format, and then the current frame image is determined from the video to be displayed.

[0069] In some optional embodiments, the original video data may be decoded using a preconfigured decoding rule to obtain a video to be displayed in a second format.

[0070] In some optional embodiments, the original video data can be decoded by a preset decoder circuit to obtain a video to be displayed in the second format. Hardware decoding can improve decoding efficiency, further reduce display delay, and improve display real-time performance.

[0071] In the embodiments of the present disclosure, since the external device transmits the original video data in a compressed format, compared with the uncompressed format, the data transmission speed can be effectively improved, the display delay can be further reduced, and the real-time display can be improved.

[0072] Figure 4 It is a flowchart of a method for displaying a video in a vehicle provided by yet another exemplary embodiment of the present disclosure.

[0073] In some optional embodiments, based on any of the above embodiments, Figure 4 As shown, step 320 of determining a first coordinate point set for region segmentation in the current frame image based on the current frame image may include the following steps:

[0074] Step 3210: perform edge detection processing on the current frame image to obtain a second coordinate point set of candidate edge lines in the current frame image.

[0075] Among them, the second coordinate point set of the candidate edge line refers to the candidate point set that may belong to the first coordinate point set used for region segmentation. Edge detection (or edge detection) processing can be implemented by a preconfigured edge detection algorithm model (including algorithm and / or model). The edge detection algorithm model may include, for example, the Sobel algorithm (or Sobel operator), the Canny algorithm (or Canny operator), the Prewitt algorithm (average difference method), the Roberts algorithm (or Roberts operator), etc. The Sobel operator is a weighted difference of the grayscale values ​​of the four areas of the upper, lower, left and right of each pixel in the image, reaching an extreme value at the edge to detect the edge. The Canny algorithm is a multi-level edge detection algorithm that obtains edge contours through steps such as noise reduction, calculation of gradient strength and direction, non-maximum suppression, dual threshold detection and edge connection. The Prewitt algorithm is an edge detection algorithm of a first-order differential operator, which uses the grayscale difference of the upper and lower and left and right neighboring points of a pixel point to reach an extreme value at the edge to detect the edge. The Roberts algorithm is an algorithm that uses a local difference operator to find edges.

[0076] In some optional embodiments, the second coordinate point set of the candidate edge line may include a pixel coordinate point set belonging to the edge line detected in the current frame image. The candidate edge line may include at least one of an outer edge line of the current frame image, edge lines of different image areas in the current frame image, and the like.

[0077] Step 3220: Determine a first set of coordinate points for region segmentation based on the second set of coordinate points of the candidate edge lines.

[0078] The second coordinate point set of the candidate edge lines includes the coordinate point set of the region edge lines used for region segmentation. Therefore, the first coordinate point set used for region segmentation can be determined from the second coordinate point set of the candidate edge lines.

[0079] In some optional embodiments, the first coordinate point set for region segmentation can be determined from the second coordinate point set of the candidate edge line based on a preconfigured filtering (or screening) rule. The filtering rule can be set according to the empirical segmentation mode that may exist in one or more application scenarios. For example, in a game console scene, it usually includes a single character perspective, a dual character perspective, a three-character perspective, a four-character perspective, etc., and accordingly, the image may include a single image area, two image areas, three image areas, four image areas, etc. The image areas of different perspectives occupy a certain proportion in the image. For example, the two image areas can be two 1:1 image areas above and below and two 1:1 image areas on the left and right in the image. Then the first coordinate point set for region segmentation should meet certain segmentation ratio conditions for the segmentation of the current frame image. Based on this setting of the filtering rule, the first coordinate point set for region segmentation is determined from the second coordinate point set of the candidate edge line.

[0080] The embodiments of the present disclosure can effectively obtain the second coordinate point set of all edge lines in the current frame image through edge detection processing. Since the first coordinate point set used for image area segmentation belongs to the coordinate point set on the edge lines of the image area, it is possible to accurately determine the first coordinate point set used for image area segmentation from the second coordinate point set of the candidate edge lines according to the image segmentation characteristics of the actual application scenario, thereby providing an accurate and effective coordinate point set reference for the extraction of the image area.

[0081] In some optional embodiments, determining the first coordinate point set for region segmentation based on the second coordinate point set of the candidate edge line in step 3220 may include:

[0082] Based on the second coordinate point set of the candidate edge lines, determine the segmentation ratio corresponding to each candidate edge line in the current frame image; based on the segmentation ratio corresponding to each candidate edge line and the preset ratio condition, determine the first coordinate point set for area segmentation from the second coordinate point set of the candidate edge lines.

[0083] Among them, the segmentation ratio corresponding to each candidate edge line in the current frame image refers to the ratio of the areas located on both sides of the candidate edge line in the current frame image. The segmentation ratio corresponding to any candidate edge line in the current frame image can be expressed as any one of the ratio of the number of pixels on both sides of the candidate edge line, the ratio of the area of ​​the region, the ratio of the height (i.e., the number of pixels in the vertical direction), the ratio of the width (i.e., the number of pixels in the horizontal direction), etc. The preset ratio condition can be set according to the empirical value of the image segmentation ratio in various application scenarios. For example, the ratio of the vertical segmentation may include 1:1, 1:2, 2:1, 1:1:1, 1:2:1, etc. The ratio of the horizontal segmentation is similar to the vertical segmentation. These ratios can be determined as preset ratio conditions. If the segmentation ratio of the candidate edge line meets the preset ratio condition, it can be determined that the candidate edge line belongs to the segmentation line of the segmented image area, and is also the edge line of at least two image areas in the current frame image. If the segmentation ratio of the candidate edge line does not meet the preset ratio condition, for example, the segmentation ratio is 0:1, it means that the candidate edge line is the edge line of the entire image of the current frame image. For another example, a segmentation ratio of 1:7 indicates that the candidate edge line may be a falsely detected edge line.

[0084] The embodiments of the present disclosure set a preset ratio condition so that the first coordinate point set determined from the second coordinate point set of the candidate edge line can meet the image segmentation ratio condition of the actual application scenario, thereby avoiding incorrect segmentation of the current frame image, thereby ensuring the accuracy and effectiveness of the image area.

[0085] Figure 5 It is a flowchart of a method for displaying a video in a vehicle provided by yet another exemplary embodiment of the present disclosure.

[0086] In some optional embodiments, based on any of the above embodiments, Figure 5 As shown, step 320 of determining a first coordinate point set for region segmentation in the current frame image based on the current frame image may include:

[0087] Step 32a0, determining a preconfigured segmentation mode.

[0088] The preconfigured segmentation mode may include at least one segmentation direction and at least one segmentation ratio. The segmentation direction includes at least one of horizontal and vertical. The segmentation ratio may be set according to actual needs. For example, the preconfigured segmentation mode may be one of horizontal center segmentation, vertical center segmentation, four-grid segmentation, horizontal thirds segmentation, vertical thirds segmentation, etc.

[0089] In some optional embodiments, the preconfigured segmentation mode corresponding to the current type can be determined according to the type of the connected terminal device. For example, the distribution of image areas included in the video images of different types of terminal devices in the image can be collected in advance, and the segmentation mode corresponding to the type of terminal device can be set according to the distribution. When the terminal device is connected, the preconfigured segmentation mode corresponding to the terminal device is determined by identifying the type of the terminal device.

[0090] In some optional embodiments, the preconfigured segmentation mode may refer to a segmentation mode configured after the segmentation mode is determined for the first frame image. That is, after at least one image region is determined based on the first frame image by edge detection, user selection, etc., the segmentation mode corresponding to the image region is stored in a designated storage space. In the processing of subsequent frames, the segmentation mode stored in the designated storage space may be used as a preconfigured segmentation mode.

[0091] Step 32b0: Determine a first coordinate point set for region segmentation in the current frame image based on the current frame image and a preconfigured segmentation mode.

[0092] Among them, based on the preconfigured segmentation mode, a pixel coordinate point set corresponding to the preconfigured segmentation mode can be extracted from the current frame image, which is the first coordinate point set for region segmentation. Specifically, the segmentation direction and segmentation ratio can be determined according to the preconfigured segmentation mode; according to the segmentation direction and segmentation ratio, the first coordinate point set is extracted from the current frame image. Or, according to the preconfigured segmentation mode, the segmentation line segments in the pixel coordinate system of the current frame image are determined, and the first coordinate point set is extracted from the current frame image according to the segmentation line segments. There can be many ways to specifically determine the first coordinate point set, which is not limited in the embodiments of the present disclosure.

[0093] The embodiments of the present disclosure determine the first coordinate point set for region segmentation based on a preconfigured segmentation mode, which can effectively reduce the amount of calculation and improve processing efficiency compared to real-time edge detection, thereby further reducing display delay.

[0094] In some optional embodiments, the first coordinate point set determined based on the first frame image can be stored as a historical coordinate point set in a designated storage space. Then, step 320 of determining the first coordinate point set for region segmentation in the current frame image based on the current frame image can include: in response to the current frame image being a non-first frame image, obtaining the historical coordinate point set corresponding to the first frame image from the designated storage space as the first coordinate point set for region segmentation in the current frame image. Since the historical coordinate point set of the first frame image can be directly obtained from the designated storage space as the first coordinate point set for region segmentation in the current frame image, real-time edge detection of images other than the first frame can be avoided, effectively reducing the amount of calculation and further reducing display delay.

[0095] Figure 6 It is a flowchart of a method for displaying a video in a vehicle provided by yet another exemplary embodiment of the present disclosure.

[0096] In some optional embodiments, based on any of the above embodiments, Figure 6 As shown, step 320 of determining a first coordinate point set for region segmentation in the current frame image based on the current frame image may include:

[0097] Step 3201, determine the current segmentation mode selected by the user.

[0098] Among them, users can make choices through terminal devices or through the display screen on the vehicle.

[0099] In some optional embodiments, after the terminal device is connected to the vehicle-mounted terminal, the vehicle-mounted terminal can communicate with the terminal device, and multiple optional segmentation modes are displayed on the display screen of the terminal device. The user can select a target segmentation mode from the multiple segmentation modes in the interface of the terminal device according to the distribution of image areas in the video to be displayed. After the user's selection, the vehicle-mounted terminal can obtain the current segmentation mode selected by the user and store the current segmentation mode in a designated storage space. After the video of the terminal device is sent to the vehicle-mounted terminal, the vehicle-mounted terminal can read the current segmentation mode selected by the user from the designated storage space for the determined current frame image.

[0100] In some optional embodiments, after the terminal device is connected to the vehicle terminal, the vehicle terminal can first display multiple optional segmentation modes on each display screen on the vehicle, and the user can select a target segmentation mode on the vehicle display screen according to the distribution of the image area in the video to be displayed. After the user selects, the vehicle terminal can obtain the current segmentation mode selected by the user and store the current segmentation mode in a designated storage space. After the video of the terminal device is sent to the vehicle terminal, the vehicle terminal can read the current segmentation mode selected by the user from the designated storage space for the determined current frame image. The specific user selection method is not limited.

[0101] Step 3202: Determine a first coordinate point set for region segmentation in the current frame image based on the current frame image and the current segmentation mode.

[0102] Wherein, in the case of determining the current segmentation mode, the specific operation of determining the first coordinate point set based on the current frame image and the current segmentation mode is similar to the above-mentioned operation of determining the first coordinate point set based on the preconfigured segmentation mode, and is not described in detail here.

[0103] The embodiments of the present disclosure provide a segmentation mode selection function for the user, so that the user can select a segmentation mode that meets the user's personalized needs according to the actual video situation, thereby further improving the user experience.

[0104] Figure 7 It is a flowchart of a method for displaying a video in a vehicle provided by yet another exemplary embodiment of the present disclosure.

[0105] In some optional embodiments, based on any of the above embodiments, Figure 7 As shown, step 350 of displaying at least one image area through a display screen corresponding to each of the at least one image area may include:

[0106] Step 3510: Based on each image area in at least one image area, generate screen pixel data corresponding to each image area.

[0107] The screen pixel data corresponding to any image area is the pixel data of the display screen of the image area on the corresponding display screen, and may include the pixel value corresponding to each pixel of the display screen.

[0108] In some optional embodiments, for each image region, screen pixel data corresponding to the image region may be generated through a rendering operation based on the image region.

[0109] In some optional embodiments, a GPU (Graphics Processing Unit) may be used to generate screen pixel data corresponding to each image region to improve processing efficiency, and the specific principle will not be described in detail.

[0110] In some optional embodiments, the screen pixel data corresponding to each image area may be generated based on the resolution of the display screen and other display parameters corresponding to each image area.

[0111] Step 3520: Transmit the picture pixel data corresponding to each image area to the display screen corresponding to the image area for display.

[0112] Wherein, when the screen pixel data corresponding to each image area is obtained, the screen pixel data corresponding to each image area can be transmitted to the display screen corresponding to the image area for display, and the display principle of the display screen is not described in detail.

[0113] The embodiments of the present disclosure generate screen pixel data corresponding to each image area, provide accurate and effective pixel values ​​for each pixel of the screen displayed on the display screen, and effectively realize the effective display of each image area on the display screen on the vehicle.

[0114] Figure 8 It is a flowchart of a method for displaying a video in a vehicle provided by yet another exemplary embodiment of the present disclosure.

[0115] In some optional embodiments, based on any of the above embodiments, Figure 8 As shown, step 350 of displaying at least one image area through a display screen corresponding to each of the at least one image area may include:

[0116] Step 3501, perform encoding processing on each image region respectively to obtain an encoded image corresponding to each image region.

[0117] The encoded image is an image in a compressed format corresponding to the image area.

[0118] In some optional embodiments, each image region may be encoded based on a preconfigured encoding rule to obtain an encoded image corresponding to each image region. Each image region is compressed by encoding to reduce the image size, thereby reducing the image's occupation of storage space and transmission bandwidth and improving transmission efficiency.

[0119] In some optional embodiments, each image region may be encoded by a pre-set encoder circuit to obtain an encoded image corresponding to each image region. Compared with software encoding based on encoding rules, encoding by hardware can effectively improve encoding efficiency.

[0120] Step 3502: for each image region, transmit the encoded image corresponding to the image region to the first processor corresponding to the image region.

[0121] Among them, the first processor may include one or more of any processors with corresponding processing functions such as CPU (Central Processing Unit), DPU (Display Processor Unit), GPU, etc., which is not limited in the embodiments of the present disclosure.

[0122] Step 3503: decode the encoded image corresponding to the image area by a first processor corresponding to the image area to obtain an image to be displayed corresponding to the image area.

[0123] The decoding process is the inverse process of the encoding process, and the encoded image is decoded to obtain the non-compressed image to be displayed corresponding to the image area. The decoding process can be implemented by pre-configured decoding rules or by a hardware decoder, which is not limited in the embodiments of the present disclosure.

[0124] Step 3504: Generate screen pixel data corresponding to the image to be displayed through a first processor corresponding to the image area.

[0125] Among them, the image to be displayed is an image that is the same as or similar to the image area. The specific operation of generating the screen pixel data corresponding to the image to be displayed is similar to the operation of generating the screen pixel data corresponding to the image area in the above embodiment, and will not be repeated here.

[0126] Step 3505: display the picture pixel data via the display screen corresponding to the image to be displayed.

[0127] Among them, the display principle of the display screen is not described in detail.

[0128] In the embodiment of the present disclosure, image compression is achieved by encoding the image area and transmitting the compressed image to the first processor, which can effectively reduce the transmission bandwidth and improve the transmission efficiency. The first processor decodes and restores the image area as the image to be displayed to ensure the displayed image quality.

[0129] In some optional embodiments, Fig. 9 FIG. 1 is a flowchart of a method for displaying a video in a vehicle provided by an exemplary embodiment of the present disclosure. Fig. 9 As shown, the terminal device 20 communicates with the vehicle video input hub (which may be referred to as a hub or HUB) 21 through a video interface protocol, and sends the video to the vehicle video input hub 21. The terminal device 20 and the hub 21 can communicate based on the video interface protocol. The video interface protocol may, for example, include at least one of the HDMI (High Definition Multimedia Interface) protocol and the DP (Display Port) protocol. The vehicle video input HUB 21 is connected to the vehicle control chip 23. When the video format output by the terminal device 20 is not compatible with the vehicle control chip 23, the video of the terminal device 20 can be converted into a video in a format supported by the vehicle control chip 23. The vehicle control chip 23 can execute the method for displaying a video in a vehicle according to an embodiment of the present disclosure, which specifically includes the following steps:

[0130] Step 410, decode the video of the specified format from HUB21, and determine the current frame image according to the decoded image. The figure shows a schematic diagram of a frame image A in the video sent by the terminal device 20, and the image A is taken as an example including two image areas. For example, if the terminal device 20 is a game console, the two image areas of the image A can correspond to the video screens of two characters in the game. The figure only uses a simple graphic combination as a schematic diagram of different image areas, which is not a limitation of the embodiments of the present disclosure.

[0131] Step 420: edge detection. That is, edge detection is performed on the current frame image to obtain a second set of coordinate points of the candidate edge line in the current frame image.

[0132] Step 430: screening, that is, based on a preset ratio condition, determining a first coordinate point set for region segmentation from the second coordinate point set.

[0133] Step 440, image region determination. That is, based on the first coordinate point set, at least one image region is determined from the current frame image. In the figure, two image regions A1 and A2 are determined from image A, and image region A1 is displayed on display screen 121, and image region A2 is displayed on display screen 122.

[0134] It should be noted that Fig. 9 It is only an exemplary block diagram and is not a limitation of the embodiments of the present disclosure. For example, in actual applications, if the video format of the terminal device 20 is a video format supported by the vehicle-mounted control chip 23, the hub 21 can be avoided. For another example, the number of image areas included in the image is not limited to 2, for example, the number of image areas can also be 3, 4, 5, 6, and so on. Of course, the method of the embodiments of the present disclosure also supports the case where there is only one image area. For example, a user watches a movie, TV series or other video on a mobile phone through the display screen in the car, and the video can be displayed through a display screen in the car.

[0135] In practical applications, the terminal device 20 can be connected to the vehicle-mounted control chip 23 through a network, which is not limited to the above-mentioned connection methods such as HUB and interface.

[0136] In some optional embodiments, Fig.10 FIG. 1 is a schematic diagram of different image segmentation modes provided by an exemplary embodiment of the present disclosure. Fig.10 As shown in the figure, 5 segmentation modes are exemplarily shown, each segmentation mode has a corresponding segmentation ratio and the number of segmented image areas, and each image area can be displayed on a display screen. For example, segmentation mode 1 will divide the image into two left and right image areas, corresponding to two display screens. Segmentation mode 2, segmentation mode 4 and segmentation mode 5 will divide the image into 3 image areas according to different segmentation ratios, corresponding to 3 display screens. Segmentation mode 3 will divide the image into 4 image areas, corresponding to 4 display screens.

[0137] In the related art, the terminal device of the user in the car uses the car screen as a TV through the wired screen projection function, such as a game console, and the pictures of multiple characters from different perspectives are displayed on one display screen, such as Fig. 9 The image A in the video output by the terminal device 20 is displayed on a display screen. If users of different roles are located in different positions in the vehicle, such as two users of two roles, one in the front passenger seat and one in the back seat, and the game video is displayed on the vehicle display screen in front of the front passenger seat, the user in the back seat may not be able to see or see clearly the game screen of his or her role in the video.

[0138] The method for displaying videos in a vehicle provided by the embodiments of the present disclosure can perform split-screen display in the vehicle for video images of multiple roles, so that users at different positions in the vehicle can respectively watch their respective video images through the display screens at the best positions, thereby providing users with personalized cockpit functions, providing a better human-computer interaction mode for family cars on long-distance travel, and effectively improving the user's riding experience.

[0139] In the technical solution of this disclosure, the collection, storage, use, processing, transmission, provision and disclosure of user personal information involved are in compliance with the relevant laws and regulations and do not violate public order and good morals. In addition, in the technical solution of this disclosure, the collection and use of user personal information involved are all carried out with the knowledge and authorization of the user, and do not involve illegal collection and illegal use of user personal information.

[0140] The above-mentioned embodiments of the present disclosure may be implemented separately or in any combination without conflict. The specific configuration may be based on actual needs and the present disclosure does not limit this.

[0141] Any method for displaying a video in a vehicle provided by the embodiments of the present disclosure may be executed by any appropriate electronic device with data processing capabilities, including but not limited to: electronic devices such as terminal devices and servers. Alternatively, any method for displaying a video in a vehicle provided by the embodiments of the present disclosure may be executed by a processor, such as the processor executing any method for displaying a video in a vehicle mentioned in the embodiments of the present disclosure by calling corresponding instructions stored in a memory. This will not be described in detail below.

[0142] Exemplary Devices

[0143] Fig.11 FIG. 1 is a schematic diagram of a device for displaying a video in a vehicle provided by an exemplary embodiment of the present disclosure. The device of this embodiment can be used to implement the corresponding method embodiment of the present disclosure, such as Fig.11 The device shown may include: a first processing module 51 , a second processing module 52 , a third processing module 53 , a fourth processing module 54 and a fifth processing module 55 .

[0144] The first processing module 51 is used to determine a current frame image in a video to be displayed.

[0145] The second processing module 52 is used to determine a first coordinate point set for region segmentation in the current frame image based on the current frame image.

[0146] The third processing module 53 is used to determine at least one image region from the current frame image based on the first coordinate point set.

[0147] The fourth processing module 54 is used to determine the display screen corresponding to each of the at least one image area.

[0148] The fifth processing module 55 is configured to display the at least one image area through a display screen corresponding to each of the at least one image area.

[0149] Fig.12 It is a schematic structural diagram of a device for displaying video in a vehicle provided by another exemplary embodiment of the present disclosure.

[0150] In some optional embodiments, in the above Fig.11 Based on the embodiment shown, Fig.12 As shown, the first processing module 51 may include: a first determining unit 511 and a second determining unit 512 .

[0151] The first determining unit 511 is configured to determine original video data from an external device.

[0152] The second determining unit 512 is used to determine the current frame image in the video to be displayed based on the original video data.

[0153] In some optional embodiments, the second determination unit 512 is specifically used to: determine the target format of the original video data; and determine the current frame image based on the original video data and the target format.

[0154] In some optional embodiments, the second determination unit 512 is specifically used to: in response to the target format being the first format, decode the original video data to obtain a video to be displayed in a second format; and determine a current frame image from the video to be displayed.

[0155] Fig.13 It is a schematic structural diagram of a device for displaying video in a vehicle provided by yet another exemplary embodiment of the present disclosure.

[0156] In some optional embodiments, based on any of the above embodiments, Fig.13 As shown, the second processing module 52 may include: a first processing unit 521 and a second processing unit 522 .

[0157] The first processing unit 521 is used to perform edge detection processing on the current frame image to obtain a second coordinate point set of candidate edge lines in the current frame image.

[0158] The second processing unit 522 is used to determine a first coordinate point set for region segmentation based on the second coordinate point set of the candidate edge line.

[0159] In some optional embodiments, the second processing unit 522 may be specifically configured to:

[0160] Based on the second coordinate point set of the candidate edge lines, determine the segmentation ratio corresponding to each candidate edge line in the current frame image; based on the segmentation ratio corresponding to each candidate edge line and the preset ratio condition, determine the first coordinate point set for area segmentation from the second coordinate point set of the candidate edge lines.

[0161] In some optional embodiments, based on any of the above embodiments, Fig.13 As shown, the second processing module 52 may include: a first processing unit 521 and a second processing unit 522 .

[0162] The first processing unit 521 is configured to determine a preconfigured segmentation mode.

[0163] The second processing unit 522 is used to determine a first coordinate point set for region segmentation in the current frame image based on the current frame image and a preconfigured segmentation mode.

[0164] In some optional embodiments, based on any of the above embodiments, Fig.13 As shown, the second processing module 52 may include: a first processing unit 521 and a second processing unit 522 .

[0165] The first processing unit 521 is configured to determine a current segmentation mode selected by a user.

[0166] The second processing unit 522 is used to determine a first coordinate point set for region segmentation in the current frame image based on the current frame image and the current segmentation mode.

[0167] Fig.14 It is a structural schematic diagram of a device for displaying video in a vehicle provided by yet another exemplary embodiment of the present disclosure.

[0168] In some optional embodiments, based on any of the above embodiments, Fig.14 As shown, the fifth processing module 55 may include: a third processing unit 551 and a fourth processing unit 552 .

[0169] The third processing unit 551 is used to generate picture pixel data corresponding to each image area based on each image area in the at least one image area.

[0170] The fourth processing unit 552 is used to transmit the picture pixel data corresponding to each image area to the display screen corresponding to the image area for display.

[0171] In some optional embodiments, based on any of the above embodiments, the fifth processing module 55 can be specifically used to: perform encoding processing on each image area respectively to obtain the encoded images corresponding to each image area. For each image area, the encoded image corresponding to the image area is transmitted to the first processor corresponding to the image area. The encoded image corresponding to the image area is decoded by the first processor corresponding to the image area to obtain the image to be displayed corresponding to the image area. The first processor corresponding to the image area generates the screen pixel data corresponding to the image to be displayed. The screen pixel data is displayed by the display screen corresponding to the image to be displayed.

[0172] In some optional embodiments, Fig.15 FIG. 1 is a schematic diagram of a structure of a device for displaying a video in a vehicle provided by another exemplary embodiment of the present disclosure. Fig.15 As shown, the device may further include at least one first processor 56. The number of the first processors 56 may be the same as the number of display screens on the vehicle, that is, each display screen may correspond to one first processor 56.

[0173] It should be noted that any module and / or any unit of the above embodiments of the present disclosure may be implemented by software, or may be implemented by hardware, or may be implemented by a combination of software and hardware. For example, an encoder that performs an encoding operation may be a software encoder or a hardware encoder. No specific limitation is given.

[0174] The beneficial technical effects corresponding to the exemplary embodiment of the present device can be found in the corresponding beneficial technical effects of the above exemplary method section, which will not be repeated here.

[0175] Exemplary Electronic Devices

[0176] Fig.16 It is a structural diagram of an electronic device provided by an embodiment of the present disclosure, including at least one second processor 91 and a memory 92.

[0177] The second processor 91 may be a central processing unit (CPU) or other forms of processing units having data processing capabilities and / or instruction execution capabilities, and may control other components in the electronic device 90 to perform desired functions.

[0178] The memory 92 may include one or more computer program products, which may include various forms of computer-readable storage media, such as volatile memory and / or non-volatile memory. Volatile memory may include, for example, random access memory (RAM) and / or cache memory (cache), etc. Non-volatile memory may include, for example, read-only memory (ROM), hard disk, flash memory, etc. One or more computer program instructions may be stored on the computer-readable storage medium, and the second processor 91 may execute one or more computer program instructions to implement the methods and / or other desired functions of the various embodiments of the present disclosure described above.

[0179] In one example, the electronic device 90 may further include: an input device 93 and an output device 94 , and these components are interconnected via a bus system and / or other forms of connection mechanisms (not shown).

[0180] The input device 93 may also include, for example, a touch screen, a microphone, various sensors, and the like. Sensors may include, for example, image sensors (such as cameras, cameras, etc.), laser radars, millimeter-wave radars, ultrasonic radars, positioning sensors, pressure sensors, air quality sensors, temperature sensors, and the like. Image sensors, laser radars, millimeter-wave radars, ultrasonic radars, and the like may be used to sense the surrounding environment, that is, to detect dynamic and static objects in the surrounding environment. Dynamic and static objects may include, for example, static objects such as lane lines, curbs, arrows, signs, trees, and buildings, as well as dynamic objects such as surrounding vehicles, pedestrians, and cyclists. Positioning sensors are used to realize the positioning of movable devices (such as self-vehicles, robots, etc.) where electronic devices are located. Positioning sensors may include, for example, inertial measurement units (Inertial Measurement Unit, referred to as: IMU), global positioning systems (Global Positioning System, referred to as: GPS), and the like. Pressure sensors may be used to detect seat pressure. Temperature sensors may be used to detect the temperature in the vehicle cabin. Air quality sensors may be used to detect the air quality in the vehicle cabin.

[0181] The output device 94 can output various information to the outside, and may include, for example, a display, a speaker, a communication network and a remote output device connected thereto, and the like.

[0182] Of course, to simplify, Fig.16 Only some of the components related to the present disclosure in the electronic device 90 are shown, and components such as a bus, an input / output interface, etc. are omitted. In addition, according to specific application situations, the electronic device 90 may also include any other appropriate components.

[0183] Exemplary computer program products and computer-readable storage media

[0184] In addition to the above methods and devices, embodiments of the present disclosure may also provide a computer program product, including computer program instructions, which, when executed by a processor, enable the processor to execute the steps of the methods of various embodiments of the present disclosure described in the above “Exemplary Methods” section.

[0185] The computer program product may be written in any combination of one or more programming languages ​​to write program code for performing the operations of the disclosed embodiments, including object-oriented programming languages ​​such as Java, C++, etc., and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a separate software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server.

[0186] In addition, an embodiment of the present disclosure may also be a computer-readable storage medium having computer program instructions stored thereon. When the computer program instructions are executed by a processor, the processor executes the steps in the method of various embodiments of the present disclosure described in the above “Exemplary Method” section.

[0187] Computer readable storage media can adopt any combination of one or more readable media. The readable medium can be a readable signal medium or a readable storage medium. The readable storage medium is, for example, but not limited to, a system, device or device including electricity, magnetism, light, electromagnetic, infrared, or semiconductor, or any combination of the above. More specific examples (non-exhaustive list) of readable storage media include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.

[0188] The basic principles of the present disclosure are described above in conjunction with specific embodiments. However, the advantages, strengths, effects, etc. mentioned in the present disclosure are only examples and not limitations, and cannot be considered as necessary for each embodiment of the present disclosure. In addition, the specific details disclosed above are only for the purpose of illustration and ease of understanding, rather than limitation, and the above details do not limit the present disclosure to being implemented by adopting the above specific details.

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

Claims

1. A method for displaying a video in a vehicle, comprising: Determine the current frame image in the video to be displayed; Based on the current frame image, determining a first coordinate point set for region segmentation in the current frame image; Based on the first coordinate point set, determining at least one image region from the current frame image; Determine a display screen corresponding to each of the at least one image area; The at least one image area is displayed through a display screen corresponding to each of the at least one image area.

2. The method according to claim 1, wherein: The determining, based on the current frame image, a first coordinate point set for region segmentation in the current frame image includes: Performing edge detection processing on the current frame image to obtain a second coordinate point set of candidate edge lines in the current frame image; Based on the second coordinate point set of the candidate edge line, a first coordinate point set for region segmentation is determined.

3. The method according to claim 2, wherein: The determining of a first set of coordinate points for region segmentation based on the second set of coordinate points of the candidate edge line comprises: Based on the second coordinate point set of the candidate edge lines, determining a segmentation ratio corresponding to each candidate edge line in the current frame image; Based on the segmentation ratio corresponding to each candidate edge line and a preset ratio condition, a first coordinate point set for region segmentation is determined from the second coordinate point set of the candidate edge line.

4. The method according to claim 1, wherein: The determining, based on the current frame image, a first coordinate point set for region segmentation in the current frame image includes: Determine a preconfigured segmentation mode; Based on the current frame image and the preconfigured segmentation mode, a first coordinate point set for region segmentation in the current frame image is determined.

5. The method according to claim 1, wherein: The determining, based on the current frame image, a first coordinate point set for region segmentation in the current frame image includes: Determine the current segmentation mode selected by the user; Based on the current frame image and the current segmentation mode, a first coordinate point set for region segmentation in the current frame image is determined.

6. The method according to claim 1, wherein: The step of determining a current frame image in a video to be displayed includes: Determine the original video data from the external device; Based on the original video data, the current frame image in the video to be displayed is determined.

7. The method according to claim 6, wherein: The step of determining the current frame image in the video to be displayed based on the original video data includes: Determining a target format of the original video data; The current frame image is determined based on the original video data and the target format.

8. The method according to claim 7, wherein: The determining the current frame image based on the original video data and the target format includes: In response to the target format being the first format, decoding the original video data to obtain a video to be displayed in a second format; The current frame image is determined from the video to be displayed.

9. The method according to any one of claims 1 to 8, wherein: The step of displaying the at least one image area through a display screen corresponding to each of the at least one image area comprises: Based on each of the image areas in the at least one image area, generating picture pixel data corresponding to each of the image areas; The screen pixel data corresponding to each image area is transmitted to a display screen corresponding to the image area for display.

10. The method according to any one of claims 1 to 8, wherein: The step of displaying the at least one image area through a display screen corresponding to each of the at least one image area comprises: Performing encoding processing on each of the image regions respectively to obtain encoded images corresponding to each of the image regions; For each of the image regions, transmitting the encoded image corresponding to the image region to the first processor corresponding to the image region; Decoding the encoded image corresponding to the image area by a first processor corresponding to the image area to obtain an image to be displayed corresponding to the image area; Generate screen pixel data corresponding to the image to be displayed by a first processor corresponding to the image area; The screen pixel data is displayed via a display screen corresponding to the image to be displayed.

11. A device for displaying a video in a vehicle, comprising: A first processing module, used to determine a current frame image in a video to be displayed; A second processing module, used for determining a first coordinate point set for region segmentation in the current frame image based on the current frame image; A third processing module, configured to determine at least one image region from the current frame image based on the first coordinate point set; A fourth processing module, used to determine a display screen corresponding to each of the at least one image area; The fifth processing module is used to display the at least one image area through the display screen corresponding to each of the at least one image area.

12. A computer-readable storage medium storing a computer program, wherein the computer program is used to execute the method according to any one of claims 1 to 10.

13. An electronic device, comprising: A second processor; a memory for storing instructions executable by the second processor; The second processor is used to read the executable instructions from the memory and execute the instructions to implement the method of any one of claims 1 to 10 above; or, The electronic device comprises: the device as claimed in claim 11.