Projection control device of a vehicle-mounted projector

The projection control method and device for vehicle-mounted projectors address the challenge of projecting images outside the vehicle by using automatic focusing and brightness control, enabling outdoor entertainment and enhancing user experience.

DE202025101359U1Active Publication Date: 2025-04-30ZHEJIANG SMART INTELLIGENCE TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
DE202025101359
Authority / Receiving Office
DE · DE
Patent Type
Utility models
Current Assignee / Owner
Priority Date
2024-03-15
Filing Date
2025-03-13
Publication Date
2025-04-30
Estimated Expiration
2035-03-31

AI Technical Summary

Technical Problem

Existing vehicle-mounted projectors are not suitable for projecting images outside the vehicle due to limited space and inability to operate while the vehicle is in motion.

Method used

A projection control method and device that detects the vehicle's driving state, powers the projector when stopped, and projects a preset image onto the outside of the vehicle, with automatic focusing and brightness adjustment based on ambient conditions.

Benefits of technology

Enables projection of images onto the outside of the vehicle, improving user experience by allowing outdoor entertainment and automatic focusing and brightness control for optimal image quality.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 00000000_0000_ABST
    Figure 00000000_0000_ABST
Patent Text Reader

Abstract

Projection control system of a vehicle-mounted projector, characterized in that the projection control system comprises a vehicle system and a camera, wherein the vehicle system is configured to: to detect a vehicle's driving state in response to a user action to turn on a projector, using the driving state to indicate whether the vehicle is stopped or moving. to send a power supply command to a battery system when the driving condition indicates that the vehicle is stopped, the power supply command being used to cause the battery system to supply power to the projector; and to send a light-on command to the projector, the light-on command being used to control the projector's lens guard to open and to project a preset projection image onto the outside of the vehicle; the camera is configured to: capture the projection image and generate a focus command based on the projection image, wherein the projection image is a preset black and white checkered pattern, and wherein the focus command is used to direct the projector to focus on a preset projection area on the outside of the vehicle; the vehicle system is still configured to: to send the focus command to the projector; to send the data to be projected to the projector in order to cause the projector to project the data to be projected onto the preset projection area on the outside of the vehicle.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of vehicles, in particular to a projection control method and a projection control device for controlling the projection of a vehicle-mounted projector, a vehicle and a storage medium. STATE OF THE ART

[0002] At present, vehicles have become an inevitable means of transportation for families, and with the continuous development of intelligent technology, vehicles have gradually become a mobile entertainment center integrating a variety of entertainment functions such as a vehicle-mounted TV, a game console and a projector.

[0003] With a vehicle-mounted projector, drivers and passengers can view content such as movies, sports games, and the surroundings outside the vehicle without having to use small screens. Currently, vehicle-mounted projectors are usually projected onto the window or curtain inside the vehicle, but the space inside the vehicle is limited, resulting in a relatively small projection screen. Therefore, the vehicle-mounted projector is not suitable for multiplayer or camping scenes and cannot be used outside the vehicle.

[0004] Therefore, it is an urgent problem to solve how the projection can be designed outside the vehicle. CONTENT OF THIS APPLICATION

[0005] The present application provides a projection control method and a projection control apparatus of a vehicle-mounted projector, a vehicle, and a storage medium to solve the problem that projection outside the vehicle cannot be performed in existing vehicles.

[0006] In a first aspect, the present application provides a projection control method of a vehicle-mounted projector, the projection control method comprising: Detecting a driving state of a vehicle in response to a user operation to turn on a projector, wherein the driving state is used to indicate that the vehicle is stopped or that the vehicle is moving. Sending a power supply command to a battery system when the driving condition indicates that the vehicle is stopped, the power supply command being used to cause the battery system to supply power to the projector; and Sending a light-on command to the projector, the light-on command being used to control the lens protection device of the projector to open and project a preset projection image onto the exterior of the vehicle; capturing the projection image and generating a focus command based on the projection image, wherein the projection image is a preset black and white checkered pattern, and wherein the focus command is used to control the projector to focus on a preset projection area on the exterior of the vehicle; Sending the focus command to the projector; Send the data to be projected to the projector to cause the projector to project the data to be projected onto the preset projection area on the outside of the vehicle.

[0007] Optionally, the procedure also includes the following: Sending a notification message when the driving condition indicates that the vehicle is moving, the notification message is used to alert the user that the projector cannot be turned on while driving.

[0008] Optionally, generating a focus command based on the projection image includes: Detecting a sharpness value and a contrast value of the projection image, Judging whether the sharpness value is less than a preset sharpness value and whether the contrast value is less than a preset contrast; Generate a focus command when the sharpness value is less than the preset sharpness value or the contrast value is less than the preset contrast value.

[0009] Optionally, the procedure also includes the following: Detecting the ambient brightness outside the vehicle; Generating a first brightness control command according to the ambient brightness, the first brightness control command being used to control the brightness of the projector to be regulated from the current brightness to the first brightness; and Sending the first brightness control command to the projector.

[0010] Optionally, the procedure also includes the following: Detecting the viewing mode selected by the user, wherein the viewing modes include the interior mode or the exterior mode, and wherein the interior mode means that the user in the vehicle views the projection image outside the vehicle, while the outdoor mode means that the user outside the vehicle views the projection image outside the vehicle; Regulating the brightness of the projector according to the second brightness control command to the second brightness and turning on the vehicle audio system when the user selects the interior mode, wherein the second brightness control command is used to control the brightness of the projector to be regulated from the current brightness to the second brightness, and wherein the second brightness is less than the first brightness; and Turning on an external audio system when the user selects the exterior mode. Optionally, if the user selects the interior mode, the procedure further includes

[0011] The following: Recording the outside temperature and the inside temperature of the vehicle; Turn on the vehicle demisting mode when the temperature difference between the outside temperature and the inside temperature is greater than a preset temperature difference.

[0012] Optionally, the procedure also includes the following: capturing a target image of a preset projection area, the target image being an image of the preset projection area when the projector is not projecting; Determining a target color of the preset projection area based on the target image; and Adjust the hue projected by the projector in the preset projection area to the target hue according to the target color.

[0013] In a second aspect, the present application provides a projection control device of a vehicle-mounted projector, the projection control device comprising: a first detection module for detecting a driving state of a vehicle in response to a user operation to turn on a projector, the driving state being used to indicate that the vehicle is stopped or that the vehicle is moving; a first transmitting module for transmitting a power supply command to a battery system when the driving condition indicates that the vehicle is stopped, the power supply command being used to cause the battery system to supply power to the projector; a second transmitter module for sending a light-on command to the projector, the light-on command being used to control the lens protection device of the projector to open and project a preset projection image onto the exterior of the vehicle; a second acquisition module for acquiring the projection image and generating a focusing command based on the projection image, wherein the projection image is a preset black and white checkered pattern, and wherein the focusing command is used to control the projector to focus on a preset projection area on the exterior of the vehicle; a third transmitter module for sending the focusing command to the projector; a fourth transmitter module for transmitting the data to be projected to the projector to cause the projector to project the data to be projected onto the preset projection area on the exterior of the vehicle.

[0014] In a third aspect, the present application provides a vehicle comprising a processor and a memory communicatively coupled to the processor.

[0015] The memory stores computer-executable instructions.

[0016] The processor executes the computer-executable instructions stored in the memory to implement a projection control method for a vehicle-mounted projector as described in any of the first aspects.

[0017] In a fourth aspect, the present application provides a computer-readable storage medium, wherein computer-executable instructions are stored in the computer-readable storage medium. When executed by a processor, the computer-executable instructions serve to implement a projection control method for a vehicle-mounted projector as described in any of the first aspects.

[0018] The present application provides a projection control method and apparatus of a vehicle-mounted projector, a vehicle, and a storage medium, the method comprising: detecting a driving state of a vehicle in response to a user operation to turn on a projector, the driving state being used to indicate that the vehicle is stopped or that the vehicle is moving; sending a power supply command to a battery system when the driving state indicates that the vehicle is stopped, the power supply command being used to cause the battery system to supply power to the projector; sending a light-on command to the projector, the light-on command being used to control the lens protector of the projector to open and project a preset projection image onto the exterior of the vehicle;Acquiring the projection image and generating a focusing command based on the projection image, wherein the projection image is a preset black and white checkered pattern, and wherein the focusing command is used to control the projector to focus on a preset projection area on the exterior of the vehicle; sending the focusing command to the projector; sending the data to be projected to the projector to cause the projector to project the data to be projected onto the preset projection area on the exterior of the vehicle. The present method enables projection onto the exterior of the vehicle and improves the user experience by achieving automatic focusing based on the projected pattern. SHORT DESCRIPTION OF THE DRAWING

[0019] The accompanying drawings are incorporated in and constitute a part of the specification and illustrate embodiments of the present application and are used in conjunction with the specification to explain the principles of the present application. Fig. 1 shows a schematic diagram of a possible application scenario provided by the present application; Fig. 2 shows a flowchart of a first embodiment of a projection control method of a vehicle-mounted projector provided by the present application; Fig. 3 shows a flowchart of a second embodiment of a projection control method of a vehicle-mounted projector provided by the present application; Fig. 4 is a flowchart showing a third embodiment of a projection control method of a vehicle-mounted projector provided by the present application; Fig. 5 is a flowchart showing a fourth embodiment of a projection control method of a vehicle-mounted projector provided by the present application; Fig. 6 is a flowchart showing a fifth embodiment of a projection control method of a vehicle-mounted projector provided by the present application; Fig. 7 is a schematic diagram showing the structure of a first embodiment of a projection control apparatus of a vehicle-mounted projector provided by the present application; Fig. Fig. 8 shows a schematic diagram of the structure of a vehicle provided by the present application.

[0020] The above drawings illustrate specific embodiments of the present application, which will be described in detail later. These drawings and descriptions are not intended to limit the scope of the concept of the present application, but rather to explain the concept of the present application to those skilled in the art by reference to specific embodiments. DETAILED DESCRIPTION

[0021] Example embodiments are described in detail herein, and examples are illustrated in the accompanying drawings. When reference is made to the drawings in the following description, the same number in different drawings represents the same or similar elements unless otherwise noted. The embodiments described in the following example embodiments do not represent all embodiments consistent with the present application. Rather, they are merely examples of devices and methods consistent with some aspects of the present application as described in the appended claims.

[0022] First, the terms used in this application are explained: Users need to use a projector in outdoor places such as picnics or camping, and carrying a projector brings the problem that access to electricity is inconvenient, and it is also inconvenient to carry.

[0023] At present, with the popularization and application of automotive intelligence, the vehicle-mounted projector has become a device for a vehicle entertainment function, however, the vehicle-mounted projector is usually projected onto the window or curtain inside the vehicle, but the space inside the vehicle is narrow, resulting in a relatively small projection screen, therefore the vehicle-mounted projector is not suitable for the multiplayer or camping scene.

[0024] In view of the above problems, the inventor designs a projection method applicable to the camping mode, wherein the projector is mounted on the front grille of the vehicle. When the user needs to project on the outside of the vehicle, the power battery of the vehicle is used to power the projector, so that the projector is turned on, and the preset images are projected after the projector is powered. And through the vehicle camera, the images are captured after projection to judge whether the images meet the preset requirements. If the requirements are not met, the projector is controlled to focus, and after the focusing is completed, the image or video to be projected is projected.With this method, the user can realize projection outside the vehicle when camping with the vehicle, thus enhancing the user experience. Based on this, the present application provides a projection control method and a projection control device of a vehicle-mounted projector, a vehicle, and a storage medium.

[0025] Fig. Figure 1 shows a schematic diagram of a possible application scenario provided by the present application. In the application scenario, a user projects images onto a wall outside the vehicle using a vehicle-mounted projector, and users inside and outside the vehicle can view the projected image. The vehicle of the present application includes a vehicle system, an external vehicle-mounted projector, a camera, and a battery supply system.

[0026] The technical solutions of the present application and how the technical solutions of the present application solve the above-mentioned technical problems are described in detail below using specific embodiments. These following specific embodiments may be combined with each other, and the same or similar concepts or methods may not be repeated in specific embodiments. The embodiments of the present application are explained in more detail below in conjunction with the accompanying drawings.

[0027] Fig. 2 shows a flowchart of a first embodiment of a projection control method of a vehicle-mounted projector provided by the present application, as shown in Fig. As shown in Figure 2, the procedure includes the following steps: S101: Detecting a driving state of a vehicle in response to a user operation to turn on a projector, wherein the driving state is used to indicate that the vehicle is stopped or that the vehicle is moving.

[0028] In this step, the user clicks to turn on the projector in the mobile app or in the vehicle terminal if the user needs to use the vehicle-mounted projector for projection outside the vehicle. The vehicle system detects the vehicle's driving status in response to the user's operation to turn on the projector.

[0029] In one embodiment, a driving speed of the vehicle is detected, wherein a speed of 0 indicates that the vehicle is stationary and a speed greater than 0 indicates that the vehicle is in the driving state.

[0030] In one embodiment, a start state of an engine of the vehicle is detected; when the engine is started, it indicates that the vehicle is in the running state, and when the engine is not started, it indicates that the vehicle is at a standstill.

[0031] S102: Sending a power supply command to a battery system when the driving condition indicates that the vehicle is stopped, using the power supply command to cause the battery system to supply power to the projector.

[0032] In this solution, the projector must project images onto the exterior of the vehicle. To protect the vehicle-mounted projector, the vehicle-mounted projector is in a state where it cannot be turned on while the vehicle is moving. Therefore, the projector can only be turned on when the driving state indicates that the vehicle is stopped. When the driving condition indicates that the vehicle is stopped, a power supply command is sent to a battery system, which may be a power battery of the vehicle, causing the battery system to supply power to the projector.

[0033] S103: Sending a light-on command to the projector, the light-on command being used to control the lens protection device of the projector to open and project a preset projection image onto the exterior of the vehicle.

[0034] After the projector is powered on, the projector's MCU is initialized and configured, and after initialization is complete, it enters a power-saving mode. The vehicle system sends a light-on command to the projector. This command is used to open the projector's lens cover to start the projection system and project a preset projection image onto the vehicle's exterior. The specific communication protocol and command format must be determined according to the actual interface used.

[0035] S104: Acquiring the projection image and generating a focus command based on the projection image, wherein the projection image is a preset black and white checkered pattern, and wherein the focus command is used to control the projector to focus on a preset projection area on the exterior of the vehicle.

[0036] In this step, a preset projection image projected by the projector onto the exterior is captured by the vehicle camera. The projection image is a preset black and white checkered pattern. It is assessed whether the sharpness and contrast of the projection image meet the preset requirements. If the preset requirements are not met, a focus command is generated, and the focus command is used to control the projector to focus on the preset projection area on the exterior of the vehicle.

[0037] S105: Sending the focus command to the projector.

[0038] In this step, the projector performs automatic focusing after receiving the focusing command. After focusing is completed, the vehicle system recaptures the projection image through the vehicle-mounted camera to assess whether the sharpness and contrast of the projection image meet the preset requirements. If the requirements are not met, it continues to send the focusing command to the projector until the sharpness and contrast of the projection image meet the preset requirements.

[0039] If the sharpness value and contrast value of the projection image still do not meet the preset requirements after sending the focusing command multiple times, the user will be optionally prompted to perform manual focusing, where the preset number of times can be set to three, four or five.

[0040] S106: Send the data to be projected to the projector to cause the projector to project the data to be projected onto the preset projection area on the outside of the vehicle.

[0041] The data to be projected can be a video stream, a photo, a PPT image, etc., and is not limited here. The preset projection area is an area in front of the projector after the projector's lens cover has been opened, which can be a wall or a projection curtain, etc.

[0042] The present embodiment provides a projection control method of a vehicle-mounted projector, wherein a driving state of a vehicle is detected in response to a user's operation to turn on a projector, and wherein the driving state is used to indicate that the vehicle is stopped or that the vehicle is moving; when the driving state indicates that the vehicle is stopped, a power supply command is sent to a battery system, the power supply command is used to cause the battery system to supply power to the projector; and wherein a light-on command is sent to the projector, and the light-on command is used to control the lens protector of the projector to open and project a preset projection image onto the exterior of the vehicle.and wherein a projection image is captured and a focus command is generated based on the projection image, and wherein the projection image is a preset black and white checkered pattern, and wherein the focus command is used to control the projector to focus on a preset projection area on the exterior of the vehicle; and wherein the focus command is sent to the projector;and wherein the data to be projected is sent to the projector to cause the projector to project the data to be projected onto the preset projection area on the exterior of the vehicle. The present method enables projection onto the exterior of the vehicle and detects whether the captured projection image is clear, and realizes automatic focusing if it is not clear, eliminating the need for the user to perform manual focusing, thus improving the user's projection experience in camping mode.

[0043] Based on the first embodiment, an embodiment is presented of how to determine whether the projection image meets the preset requirements.

[0044] Fig. 3 shows a flowchart of a second embodiment of a projection control method of a vehicle-mounted projector provided by the present application, as shown in Fig. As shown in Figure 3, the procedure includes the following steps: S1041: Detecting a sharpness value and a contrast value of the projection image.

[0045] In this step, a projection image of the projector captured by the vehicle-mounted camera in a preset area is obtained, and the projection image is projected with a preset black and white checkered pattern, and the black and white checkered pattern may be in the form of a preset 3x3 grid with alternating black and white fields or as alternating black and white stripes.

[0046] The following procedure can be used to calculate the contrast value: In one embodiment, the contrast value is determined using a grayscale histogram based on the projection image. Specifically, the projection image of the black and white checkered pattern is converted into a grayscale image, each pixel of the grayscale image is simplified, the number of pixels of each grayscale value (0 to 255) is counted, and the grayscale histogram can be plotted by taking the number of pixels of the grayscale value as the Y value and the grayscale value as the X value. The vertical distance between the highest point of the peak and the trough point in the grayscale histogram is used as the contrast value.

[0047] In another embodiment, the contrast value is calculated using a method based on the standard deviation of the pixel values. Specifically, the projection image is converted to a grayscale image, and the standard deviation of the pixel values ​​of the grayscale image is calculated, and the standard deviation is used as the contrast value. The magnitude of the standard deviation is positively correlated with the contrast.

[0048] In another embodiment, the contrast value is calculated using a local contrast method. Specifically, the projection image is divided into a plurality of local regions, each of which is a rectangular region or a circular region with a fixed size, etc., and the shape of the region is not restricted. The standard deviation of the pixel values ​​is calculated separately for each local region, and the average of the standard deviations of all local regions is calculated to obtain the final contrast value.

[0049] The sharpness value can be determined using an edge detection algorithm based on the projection image. Specifically, the projection image is converted to a grayscale image, and an edge detection algorithm, such as a Sobel operator, a Prewitt operator, or a Canny edge detector, is applied to the grayscale image to detect edges in the image. The gradient magnitude in each edge detection result is calculated separately. The gradient magnitude reflects the sharpness and clarity of the respective junction. From the gradient magnitudes at all detected edges, the average or maximum value is selected as the sharpness value of the image.It should be noted that the calculation of the gradient magnitude can be performed by detection using the edge detection algorithm, and the gradient magnitude can be in a single direction or obtained based on the combination of the gradient magnitudes in the horizontal and vertical directions.

[0050] S1042: Judge whether the sharpness value is smaller than the preset sharpness value.

[0051] In this case, it is configured in advance which method the sharpness value and the contrast value are to be calculated by, and the minimum sharpness value (ie, the preset sharpness value) and the minimum contrast value (ie, the preset contrast value) to meet the requirement are preset in the vehicle.

[0052] If the current sharpness value is greater than or equal to the preset sharpness value, step S1043 is executed.

[0053] If the current sharpness value is smaller than the preset sharpness value, step S1044 is executed.

[0054] S1043: Judge whether the contrast value is smaller than the preset contrast value.

[0055] If the current contrast value is smaller than the preset contrast value, step S1044 is executed.

[0056] If the current contrast value is greater than or equal to the preset contrast value, the process will end.

[0057] S1044: Generate a focus command.

[0058] In this step, if the sharpness value is less than the preset sharpness value or the contrast value is less than the preset contrast value, the focus command is generated.

[0059] In one embodiment, the focusing command includes an identifier instructing a focusing operation performed by the projector, and the projector can achieve automatic focusing.

[0060] In another embodiment, the focusing command includes an identifier that instructs a focusing operation performed by the projector and parameters of the lens focal length. For example, the focusing command is "F100," where F indicates a focusing operation to set the focal length to 100. After receiving the focusing command, the projector performs a corresponding operation and returns a confirmation message to indicate that focusing is complete, and the vehicle recaptures the projection image. If the contrast and sharpness still do not reach the preset values, a further focusing command is generated, and the second focusing command is to adjust the focal length based on the first focusing command. For example, the second focusing command is "F110."

[0061] The present embodiment provides a projection control method of a vehicle-mounted projector, wherein a projection image of the black and white checkered pattern projected onto the exterior of the vehicle is captured by the vehicle-mounted camera, and the sharpness value and the contrast are calculated according to the projection image; and wherein the sharpness value is compared with a preset sharpness value and the contrast with a preset contrast. If the sharpness value is less than the preset sharpness value and the contrast is less than the preset contrast, it indicates that the projection image is not clear enough, and a focus command is generated and sent to the projector for focusing. With the present method, automatic focusing of the projector can be achieved, reducing manual focusing by the user and improving projection efficiency.

[0062] Fig. 4 shows a flowchart of a third embodiment of a projection control method of a vehicle-mounted projector provided by the present application; as in Fig. As shown in Figure 4, the procedure includes the following steps: S201: Detecting the ambient brightness outside the vehicle.

[0063] In this step, the projection image of the projector is projected outside the vehicle, so that the brightness of the image projected by the projector is positively correlated with the ambient brightness, and in order to reduce the user's manual adjustment of the projected brightness, the ambient brightness outside the vehicle is detected by the vehicle's external ambient light brightness sensor.

[0064] S202: Generating a first brightness control command according to the ambient brightness, the first brightness control command being used to control the brightness of the projector to be regulated from the current brightness to the first brightness.

[0065] In this step, a mapping relationship between the ambient brightness outside the vehicle and the brightness of the projector is configured in advance in the vehicle, and when the ambient brightness outside the vehicle is detected, the first brightness required by the projector is retrieved and the first brightness control command is generated, where the first brightness control command includes the first brightness.

[0066] S203: Sending the first brightness control command to the projector.

[0067] After receiving the first brightness control command, the projector detects the first brightness contained therein and adjusts the brightness of the projector itself from the current brightness to the first brightness.

[0068] The present embodiment provides a projection control method of a vehicle-mounted projector that uses the vehicle's own ambient light brightness sensor to detect the brightness outside the vehicle and then adjusts the brightness of the projector, which can realize the automatic adjustment of the brightness of the vehicle-mounted projector and no longer requires the user to adjust it manually, so as to improve the user experience.

[0069] Based on the above third embodiment, the user may sit in the vehicle to view the projection outside the vehicle, or may view the projection outside the vehicle. In the two cases, the projection control methods are different, and they will be introduced below with an embodiment.

[0070] Fig. 5 shows a flowchart of a fourth embodiment of a projection control method of a vehicle-mounted projector provided by the present application, as shown in Fig. As shown in Figure 5, the procedure includes the following steps: S301: Detecting the viewing mode selected by the user, wherein the viewing modes include the indoor mode or the outdoor mode, and wherein the indoor mode means that the user inside the vehicle views the projection image outside the vehicle, while the outdoor mode means that the user outside the vehicle views the projection image outside the vehicle.

[0071] The user can select the viewing mode via the mobile app or the vehicle screen.

[0072] If the viewing mode selected by the user is the indoor mode, step S302 is executed.

[0073] If the viewing mode selected by the user is the outdoor mode, step S303 is executed.

[0074] S302: Regulating the brightness of the projector to the second brightness according to the second brightness control command and turning on the vehicle audio system, wherein the second brightness control command is used to control the brightness of the projector to be regulated from the current brightness to the second brightness, and wherein the second brightness is less than the first brightness.

[0075] If the user selects the interior mode in this step, it indicates that the user in the vehicle is viewing the projection outside the vehicle, turning on the vehicle audio system to enhance the user experience. Acquiring the brightness data inside the vehicle, obtaining the second brightness according to the brightness inside the vehicle and the mapping relationship between the ambient brightness and the brightness of the projector, where the brightness inside the vehicle is smaller than the brightness outside the vehicle without turning on the lights, therefore the second brightness is smaller than the first brightness, generating a second brightness adjustment command, sending the second brightness adjustment command to the projector, and the projector adjusts the brightness from the current brightness to the second brightness according to the second brightness in the second brightness adjustment command.

[0076] Optionally, the user's seat is adjusted to a preset viewing position, where the preset viewing position is the viewing position in indoor mode, which is preset by the user and can be saved with one click.

[0077] S303: Turn on an external audio system when the user selects the outdoor mode.

[0078] If the user selects the exterior mode in this step, the user views the projection outside the vehicle, then the vehicle audio system does not need to be turned on, and the vehicle's external audio system will be turned on.

[0079] Optionally, when the user selects the indoor and outdoor mode, the vehicle audio system and the external audio system are turned on, and the brightness of the projector takes the first brightness corresponding to the ambient brightness outside the vehicle.

[0080] If the viewing mode selected by the user is the interior mode, i.e., viewing through the front glass window in the vehicle, an excessive temperature difference between the inside and outside will cause the glass to fog up, affecting the user's viewing experience; therefore, this also includes the following steps when the user selects the interior mode: S304: Detecting the outside temperature and the inside temperature of the vehicle.

[0081] In this step, the inside temperature of the vehicle is detected by the inside temperature sensor of the vehicle and the outside temperature of the vehicle is detected by the temperature sensor on the outside of the vehicle.

[0082] S305: Turn on the vehicle demisting mode when the temperature difference between the outside temperature and the inside temperature is greater than a preset temperature difference.

[0083] In this step, the temperature difference between the outside of the vehicle and the interior of the vehicle is calculated, and if the temperature difference is greater than the preset temperature difference, it means that the vehicle is currently prone to fogging, and the demisting mode is turned on, the preset temperature difference can be set to 8 degrees, 9 degrees or 10 degrees, etc.

[0084] The present embodiment provides a projection control method of a vehicle-mounted projector, wherein different audio systems are turned on depending on the user's selection between the interior mode and the exterior mode, and the brightness of the projector is adjusted according to the ambient brightness of the vehicle in the interior mode to enhance the user's in-vehicle viewing experience. Furthermore, the defogging mode is intelligently turned on according to the temperature difference between the interior and exterior temperatures of the vehicle to prevent fogging of the windows when the user is viewing inside the vehicle.

[0085] Subject to the limitations of the actual situation, the user's projection area may be a curtain or a wall, etc., and the colors of the projection area may be different, with the curtain being white and the wall being gray or other colors, so that different color tones are displayed in different projection areas to enhance the projection effect. An example is shown below to clarify the description.

[0086] Fig. Fig. 6 is a flowchart of a fifth embodiment of a projection control method of a vehicle-mounted projector provided by the present application, as shown in Fig. As shown in Figure 6, the procedure includes the following steps: S401: Acquiring a target image of a preset projection area, the target image being an image of the preset projection area when the projector is not projecting.

[0087] In this step, the target image of the position facing the projector (ie, the preset projection area) is captured by the vehicle-mounted camera, and the target image is captured when the projector is not turned on to avoid interference with the projection content.

[0088] S402: Determine a target color of the preset projection area based on the target image.

[0089] In this step, the target image may contain a variety of content information from which a preset projection area must be identified, where the projection area is a flat, planar area. In a specific embodiment, the acquired target image is preprocessed, e.g., by removing noise and interference in the image; an edge detection algorithm is used to identify the edges of the projection area, which is typically a flat rectangle. The results of the edge detection are geometrically and morphologically processed to capture contour information of the projection area; the target color of the preset projection area is determined by analyzing the color distribution within the contour.

[0090] Optionally, the color distribution within the contour is screened to exclude colors with a distribution smaller than a preset percentage. For example, the colors within the contour are converted to grayscale and thus the grayscale distribution is counted, wherein data with a grayscale distribution of less than 5% is discarded, the remaining grayscale data is converted to the original color, and the target color is determined based on the original color. In one embodiment, the RGB coordinates of the pixels of the remaining original color are averaged to obtain the final target color. In another embodiment, the original color corresponding to the maximum value of a statistical percentage of the remaining grayscale data is determined as the target color.

[0091] S403: Adjust the color tone projected by the projector in the preset projection area to the target color tone according to the target color.

[0092] In this step, the target hue is determined according to a mapping relationship between the preset target color (RGB value) and the hue, generating a hue adjustment command that is sent to the projector, and the hue adjustment command includes an identification of the target hue that can be adjusted by the projector.

[0093] For example, the detected target color of the curtain is white, where all RGBs in the target color are greater than 230, the target hue is determined as natural white based on the mapping relationship between the preset target color (RGB value) and the hue, and the hue adjustment command for natural white is generated and sent to the projector. The detected target color of the curtain is gray (RGB value: 128, 128, 128), the target hue is determined as cool gray based on the mapping relationship between the preset target color (RGB value) and the hue, and the hue adjustment command for cool gray is generated and sent to the projector.

[0094] After the projector receives the hue adjustment command, the projector's color correction algorithm adjusts the color parameters of the projected content according to the target hue identification. These color parameters include RGB gain, color temperature, contrast, and other parameters. The projector displays the projected content in the appropriate hue based on the set color parameters.

[0095] The present embodiment provides a projection control method of a vehicle-mounted projector, wherein a target image of a preset projection area is acquired, and wherein the target image is an image of the preset projection area when the projector is not performing projection; wherein a target color of the preset projection area is determined based on the target image; and wherein, according to the target color, the color tone projected by the projector in the preset projection area is adjusted to the target color tone. By this method, projection data with different color tones can be projected in different scenes to increase projection contrast.

[0096] The following example explains the power-on process of the vehicle-mounted projector.

[0097] Step 1: After powering on, the projector receives the command to turn on the light and the Display Hardware Unit (DHU) issues the message “Light-On”.

[0098] Step 2: The projector turns on the light.

[0099] Within 3 seconds, the projector returns the feedback that the light is on to the vehicle, and the vehicle turns on the audio system to play the startup music after receiving the feedback.

[0100] Step 3: The process of initializing the settings and calibration takes 3 seconds.

[0101] In this step, the projector is initialized and calibrated using Digital Light Processing (DLP) technology, and the calibration includes geometry calibration, color calibration, and focus adjustment.

[0102] Step 4: The lens protection device is opened, this takes 3 seconds.

[0103] Step 5: Module self-test, this takes 6 seconds.

[0104] In this step, the color wheel module, the light source module and other modules of the projector undergo a complete self-test.

[0105] Step 6: Loading the file, this takes 2 seconds.

[0106] This step mainly loads the bin file, and the projection of the preset fixed screen can be realized after the self-test is completed.

[0107] Step 7: Boot the Linux system, this takes 8 seconds.

[0108] After the Linux system starts, it takes 2 seconds to load the algorithm library, which includes the file system loading algorithm, device driver loading algorithm, edge detection algorithm, etc.

[0109] After the algorithms have been loaded, the focusing command sent by the vehicle can be received to perform automatic focusing and keystone correction. This takes 5 seconds.

[0110] Step 8: The DHU sends a light-off message, the laser is turned off, and the lens protection device is closed.

[0111] There is no fixed order from step 1 to step 7.

[0112] The present example provides a method for powering a vehicle-mounted projector mounted in a vehicle and cooperating with the vehicle system to achieve projection onto the exterior of the vehicle, thereby creating a portable cinema suitable for camping. Example 2

[0113] In a camping environment, the area to be projected may be uneven, resulting in a slanted and distorted projected image. If the data to be projected is an image, this can also be corrected using the following procedure.

[0114] Step 1: Detect the number of straight lines in the target image by a straight line detection algorithm.

[0115] In this step, the number of straight lines in the target image is determined using an image processing algorithm (e.g., the Hough transform), which can be used to determine the state of the projected area. If the projected area is necessarily obscured, curved, or has background lines, such as cracks in the walls, the straight lines in the projected area can be detected by the straight line detection algorithm. The target image is an image of the projected area when the projector is not turned on.

[0116] Step 2: Acquire image data of the projection image of the area to be projected when the number of straight lines exceeds a preset value.

[0117] In this step, the point cloud data of the area to be projected is collected by the LiDAR mounted on the front of the vehicle, and the point cloud data can provide more accurate spatial information for the subsequent 3D model construction.

[0118] Step 3: Calculate the image deformation parameters based on the image data of the projection image.

[0119] In this step, the deformation parameters are calculated based on the original image data and the acquired image data of the projection image using an image alignment method. Image alignment is a process of aligning two or more images spatially or temporally, and the deformation parameter between the images can be calculated by finding a similarity transformation relationship between the two images. Specifically, feature points are extracted from the original image before projection and the image after projection, and the extracted feature points are matched to establish a correspondence between the feature points. Using the matched pairs of feature points, the deformation parameter between the images can be calculated by the least squares method or other optimization methods, such as affine transformation, perspective transformation, etc.

[0120] Step 4: Deform the image according to the image deformation parameters and send the deformed image to the projector.

[0121] According to the determined deformation parameters, appropriate deformation processing is performed on the original image to achieve the projection of the image after deformation onto the area to be projected.

[0122] This method allows the projection image to be projected after deformation processing when the area to be projected is uneven or defective, thereby avoiding image distortion and improving the quality of the projection image.

[0123] Fig. Fig. 7 is a schematic diagram showing the structure of a first embodiment of a projection control device of a vehicle-mounted projector provided by the present application. Fig. 7, projection control device 600 of a vehicle-mounted projector includes the following: a first detection module 611 for detecting a driving state of a vehicle in response to a user operation to turn on a projector, the driving state being used to indicate that the vehicle is stopped or that the vehicle is moving; a first transmitting module 612 for transmitting a power supply command to a battery system when the driving condition indicates that the vehicle is stopped, the power supply command being used to cause the battery system to supply power to the projector; a second transmitting module 613 for transmitting a light-on command to the projector, the light-on command being used to control the lens protection device of the projector to open and project a preset projection image onto the exterior of the vehicle; a second acquisition module 614 for acquiring the projection image and generating a focus command based on the projection image, wherein the projection image is a preset black and white checkered pattern, and wherein the focus command is used to control the projector to focus on a preset projection area on the exterior of the vehicle; a third transmitting module 615 for transmitting the focusing command to the projector; a fourth transmitting module 616 for transmitting the data to be projected to the projector to cause the projector to project the data to be projected onto the preset projection area on the exterior of the vehicle.

[0124] Optionally, the device further includes a push module used to send a notification message when the driving status indicates that the vehicle is moving. The notification message serves to alert the user that the projector cannot be turned on while driving.

[0125] Optionally, the second acquisition module 614 is used in particular for the following purposes: Capturing a sharpness value and a contrast value of the projection image. Judging whether the sharpness value is less than a preset sharpness value and whether the contrast value is less than a preset contrast; When the sharpness value is less than the preset sharpness value or the contrast value is less than the preset contrast value, the focus command is generated.

[0126] Optionally, the device further comprises a third detection module and a fifth transmission module; The third acquisition module is used for the following purposes: Detecting the ambient brightness outside the vehicle; Generating a first brightness control command according to the ambient brightness, the first brightness control command being used to control the brightness of the projector to be adjusted from the current brightness to the first brightness; wherein the fifth transmitter module is used to send the first brightness control command to the projector.

[0127] Optionally, the device further comprises a fourth detection module and a control module; wherein the fourth detection module is used to detect the viewing mode selected by the user, wherein the viewing modes include the interior mode or the exterior mode, and wherein the interior mode means that the user in the vehicle views the projection image outside the vehicle, while the exterior mode means that the user outside the vehicle views the projection image outside the vehicle, and wherein the control module is used to adjust the brightness of the projector to the second brightness according to the second brightness adjustment command and to turn on the vehicle audio system when the user selects the interior mode, wherein the second brightness adjustment command is used to control the brightness of the projector to be adjusted from the current brightness to the second brightness, and wherein the second brightness is less than the first brightness; and wherein the control module is further used to turn on an external audio system when the user selects the exterior mode.

[0128] Optional if the user selects indoor mode. the fourth detection module continues to be used to detect the outside temperature and the inside temperature of the vehicle; and wherein the control module is further used to activate the vehicle defogging mode when the temperature difference between the outside temperature and the inside temperature is greater than a preset temperature difference.

[0129] Optionally, the fourth acquisition module is further used to acquire a target image of a preset projection area, where the target image is an image of the preset projection area when the projector is not projecting: and the control module is further used for the following purposes: Determine a target color of the preset projection area based on the target image. Adjust the hue projected by the projector in the preset projection area to the target hue according to the target color.

[0130] A projection control device of a vehicle-mounted projector provided by the embodiments of the present application is used to realize the projection control method of a vehicle-mounted projector in any embodiment of the method, and the implementation principles and technical effects thereof are similar and will not be repeated here.

[0131] Fig. Fig. 8 shows a schematic diagram of the structure of a vehicle provided by the present application, as shown in Fig.8, the vehicle includes a vehicle-mounted projector 711, a vehicle-mounted camera 712, and a vehicle control unit 713.

[0132] The vehicle-mounted projector is located on a front grille of the vehicle; wherein the vehicle-mounted camera is arranged at the front of the vehicle to capture a projection image of the vehicle-mounted projector; and wherein the vehicle control unit 713 comprises: a processor 7131, a memory 7132 communicatively connected to the processor, and a communication interface 7133 for interacting with other devices; wherein the memory stores 7132 computer-executable instructions; and wherein the processor 7131 executes the computer-executable instructions stored in the memory to implement the projection control method of a vehicle-mounted projector in any of the above method embodiments.

[0133] Optionally, each of the elements of the vehicle control unit 713 can be interconnected via a system bus.

[0134] The memory 7132 may be a separate memory unit or a memory unit integrated into the processor 7131. The number of processors 7131 may be one or more.

[0135] It is understood that the processor 7131 may be a central processing unit (CPU), but may also be another general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), and the like. The general-purpose processor may be a microprocessor, but the processor may also be any conventional processor, etc. The steps of the method disclosed in connection with the present application may be performed directly by the hardware processor or by a combination of hardware and software modules in the processor.

[0136] The system bus can be a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus, or similar. The system bus can be divided into an address bus, data bus, control bus, etc. For simplicity, only a thick line is shown in the drawings, but this does not imply that there is only one bus or one bus type. The memory can include random access memory (RAM) or non-volatile memory (NVM), such as at least one disk drive.

[0137] All or some of the steps for implementing each of the above-mentioned embodiments of the method may be performed by hardware in conjunction with program instructions. The above program may be stored in a readable memory. The program, when executed, performs the steps comprising each of the above-described embodiments of the method; and the above memory (storage medium) includes: read-only memory (ROM), RAM, flash memory, a hard disk, a solid-state drive, a magnetic tape, a floppy disk, an optical disk, and any combination thereof.

[0138] A vehicle provided by the embodiments of the present application is used to realize the projection control method of a vehicle-mounted projector in any embodiment of the method, and the implementation principles and technical effects thereof are similar and will not be repeated here.

[0139] The present application further provides a computer-readable storage medium, wherein computer-executable instructions are stored in the computer-readable storage medium, and wherein the computer-executable instructions are executed by the processor to implement the projection control method of a vehicle-mounted projector in any of the above method embodiments.

[0140] It should be understood that the memory in the embodiments of the present application may be volatile memory or non-volatile memory, or may include both volatile and non-volatile memory. The non-volatile memory may be read-only memory (ROM), programmable ROM (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. The volatile memory may be random-access memory (RAM) used as an external cache. By way of illustration, but not limitation, many forms of RAM are available, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous dynamic DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchlink DRAM (SLDRAM), and direct bus-access memory (Direct Rambus RAM, DR-RAM).It should be noted that the above storage should include, but is not limited to, these and other suitable storage types.

[0141] The embodiments of the present application further provide a computer program product comprising a computer program stored in a computer-readable storage medium, wherein the at least one processor is capable of reading the computer program from the computer-readable storage medium, and wherein the at least one processor, when executing the computer program, is capable of implementing a projection control method of a vehicle-mounted projector in any of the above method embodiments.

[0142] Other embodiments of the present application will readily occur to those skilled in the art upon consideration of the specification and practice of the utility model disclosed herein. This application is intended to cover all variations, uses, or adaptations of the present application which follow the general principles of the present application and incorporate well-known or conventional technical means in the art not disclosed herein. The specification and embodiments are to be considered exemplary only, and the true scope and spirit of the present application are indicated by the following claims.

[0143] It should be understood that this application is not limited to the precise structure described above and illustrated in the accompanying drawings, and that various modifications and changes may be made without departing from the scope of the invention. The scope of the present application is limited only by the appended claims.

Claims

[1] Projection control system of a vehicle-mounted projector, characterized by that the projection control system comprises a vehicle system and a camera, wherein the vehicle system is configured to: detect a driving state of a vehicle in response to a user operation to turn on a projector, wherein the driving state is used to indicate that the vehicle is stopped or that the vehicle is moving. send a power supply command to a battery system when the driving condition indicates that the vehicle is stopped, the power supply command being used to cause the battery system to supply power to the projector; and send a light-on command to the projector, the light-on command being used to control the lens protection device of the projector to open and project a preset projection image onto the exterior of the vehicle; the camera is configured to: capture the projection image and generate a focus command based on the projection image, wherein the projection image is a preset black and white checkered pattern, and wherein the focus command is used to control the projector to focus on a preset projection area on the exterior of the vehicle; the vehicle system is still configured to: send the focus command to the projector; send the data to be projected to the projector to cause the projector to project the data to be projected onto the preset projection area on the outside of the vehicle. [2] Projection control system according to claim 1, characterized by that the vehicle system is still configured to: to send an advisory message when the driving status indicates that the vehicle is moving, the advisory message serving to alert the user that the projector cannot be turned on while driving. [3] Projection control system according to claim 1, characterized by that the vehicle system is still configured to: to capture a sharpness value and a contrast value of the projection image, to judge whether the sharpness value is less than a preset sharpness value and whether the contrast value is less than a preset contrast; to generate a focus command when the sharpness value is less than the preset sharpness value or the contrast value is less than the preset contrast value. [4] Projection control system according to one of claims 1 to 3, characterized by , that the projection control system further comprises an ambient light brightness sensor, the ambient light brightness sensor being configured to: detect the ambient brightness outside the vehicle; and wherein the vehicle system is further configured to: generate a first brightness control command according to the ambient brightness, the first brightness control command being used to control the brightness of the projector to be regulated from the current brightness to the first brightness; and to send the first brightness control command to the projector. [5] Projection control system according to claim 4, characterized bythat the vehicle system is still configured to: detect the viewing mode selected by the user, wherein the viewing modes include the interior mode or the exterior mode, and wherein the interior mode means that the user inside the vehicle views the projection image outside the vehicle, while the exterior mode means that the user outside the vehicle views the projection image outside the vehicle; adjust the brightness of the projector to the second brightness according to the second brightness control command and turn on the vehicle audio system when the user selects the interior mode, wherein the second brightness control command is used to control the brightness of the projector to be adjusted from the current brightness to the second brightness, and wherein the second brightness is less than the first brightness; and to turn on an external audio system when the user selects the outdoor mode. [6] Projection control system according to claim 5, characterized by that the projection control system further comprises a temperature sensor, where, if the user selects the indoor mode, the temperature sensor is configured to detect the outside temperature and the inside temperature of the vehicle; and wherein the vehicle system is further configured to: enable the vehicle defogging mode when the temperature difference between the outside temperature and the inside temperature is greater than a preset temperature difference. [7] Projection control system according to one of claims 1 to 3, characterized by that the vehicle system is still configured to: to capture a target image of a preset projection area, wherein the target image is an image of the preset projection area when the projector is not projecting; to determine a target color of the preset projection area based on the target image; and to adjust the hue projected by the projector in the preset projection area to the target hue according to the target color.