Method and system for automatically detecting dormancy awakening screen of whole vehicle
Through automatic recognition and image processing technology, combined with simulated vehicle power-on and power-off processes, automated detection of multiple screen configurations of different models is achieved, solving the problems of low detection efficiency and difficulty in troubleshooting in the existing technology, and achieving efficient and accurate screen fault detection.
Patent Information
- Application Number
- CN202510112159.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-24
- Publication Date
- 2025-05-06
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The existing car detection methods are difficult to quickly adapt to the multiple screen configurations of different models, are inefficient and prone to human errors, and are difficult to accurately detect and diagnose the failure of the display system during sleep and wake-up.
By obtaining the cockpit display area image in the off and lit states, calculating the image difference for edge detection, automatically identifying multiple screen areas, and simulating the power-on and power-off process of the vehicle, realizing automatic sleep wake-up and fault detection.
It realizes flexible adaptation to multiple screen configurations of different models, improves detection accuracy and efficiency, reduces manual intervention, and can accurately identify black screen and splash screen faults.
Smart Images

Figure CN119935575A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of automobile detection, and in particular relates to a method and system for detecting an automatic sleep and wake-up screen of a whole vehicle. Background Art
[0002] With the rapid development of automotive technology, in-vehicle entertainment systems are becoming more and more complex and diverse. Modern cars are usually equipped with multiple displays to provide various functions such as navigation, entertainment, and vehicle information. Although these multi-screen systems improve the user experience, they also bring new challenges to automakers and testers.
[0003] The iteration speed of in-vehicle entertainment systems is very fast, and the screen hardware between different models often has large differences in shape, size and layout. This diversity requires the test system to be customized and adjusted for each screen configuration, increasing the complexity of development and testing. During the project development process, the display system needs to be quickly and comprehensively tested for robustness to ensure its stability and reliability under various conditions.
[0004] However, current testing methods have some limitations. Whenever switching to a new vehicle model project, testers usually need to manually readjust the test content or test method according to the actual situation, which is not only time-consuming and labor-intensive, but also prone to human errors. In addition, testing methods that rely heavily on manual participation are inefficient and have high labor costs.
[0005] Another challenge is how to effectively detect and diagnose display system faults, especially those that may occur during vehicle sleep and wake-up. Faults such as black screen and flickering screen may seriously affect the user experience, but they are difficult to capture in a timely and accurate manner using traditional testing methods.
[0006] Therefore, the automotive industry urgently needs a more flexible, efficient and automated testing solution. This solution should be able to adapt to different screen configurations, achieve rapid deployment, reduce manual intervention, improve testing efficiency, and accurately detect and report various faults of the display system. Summary of the invention
[0007] In view of the shortcomings of the prior art described above, an object of the present invention is to provide a method and system for automatic sleep and wake-up screen detection for a whole vehicle, which solves the problem of automatic sleep and wake-up of the whole vehicle and multi-screen fault detection.
[0008] To achieve the above purpose, the present invention adopts the following technical solution.
[0009] The first aspect of the present invention provides a vehicle automatic sleep and wake-up screen detection method, comprising: Respectively acquiring images of a cockpit display area in an off state and a lit state, wherein the cockpit display area includes a plurality of screens; and automatically identifying a plurality of screen areas based on the images; Simulate the vehicle's power-on and power-off processes to achieve automatic vehicle sleep and wake-up; After the vehicle is automatically powered on, a video stream is acquired and a preset detection method is used to detect whether screen failures occur in the multiple screen areas.
[0010] As an implementation manner of the present invention, acquiring the video stream and detecting whether the multiple screen areas have screen failures by a preset detection method include: Get the video stream; Based on the video stream, an image processing method is used to detect whether black screen or flashing screen failure occurs in the multiple screen areas.
[0011] As an embodiment of the present invention, the automatic identification of multiple screen areas based on the image includes: calculating the difference between the images of the cockpit display area in the extinguished state and the illuminated state to obtain a difference image; Performing edge detection on the difference image to find contour coordinates corresponding to the plurality of screens; According to the outline coordinates, a plurality of screen areas are correspondingly identified.
[0012] As an implementation manner of the present invention, before edge detection is performed on the difference image, the method further includes: Gaussian blur processing is performed on the difference image to obtain a difference image with noise removed.
[0013] As an implementation mode of the present invention, the simulation of the vehicle power-on process and the power-off process includes: Send a power-off signal to the entire vehicle to put it into sleep mode; After waiting for the preset sleep time, a power-on signal is sent to the entire vehicle to power on the entire vehicle.
[0014] The second aspect of the present invention provides a vehicle automatic sleep and wake-up screen detection system, comprising: A camera for acquiring images of the cockpit display area in an off state and an on state, and acquiring a video stream after the vehicle is automatically powered on; a controller, configured to automatically identify a plurality of screen areas based on the image, and detect whether a screen fault occurs in the plurality of screen areas by a preset detection method after the vehicle is automatically powered on; A CAN card, one end of which is connected to the controller and the other end is connected to the CAN line of the vehicle, and is used to simulate a CAN signal to send a power-off signal to the vehicle; A programmable power supply, one end of which is connected to the controller and the other end of which is connected to the wake-up sensor of the vehicle, for sending a power-on signal to the vehicle; The controller interacts with the entire vehicle through the camera, the CAN card, the programmable power supply, and realizes automatic vehicle sleep and wake-up screen, and detects whether screen failure occurs in the multiple screen areas after the vehicle is automatically powered on.
[0015] As an embodiment of the present invention, the controller automatically identifies multiple screen areas by the following steps: calculating the difference between the images of the cockpit display area in the extinguished state and the illuminated state to obtain a difference image; Performing edge detection on the difference image to find contour coordinates corresponding to the plurality of screens; According to the outline coordinates, a plurality of screen areas are correspondingly identified.
[0016] As an embodiment of the present invention, it also includes a smart cabin domain controller, which is connected to the controller and is used to save video records and / or fault logs when a screen failure occurs when a screen failure is detected.
[0017] As an embodiment of the present invention, the controller is also used for: Control the CAN card to simulate the CAN signal to send a power-off signal to the vehicle to power off the vehicle; The preset sleep time is set according to user needs. After waiting for the preset sleep time, a power-on signal is sent to the whole vehicle through the programmable power supply to power on the whole vehicle.
[0018] As an embodiment of the present invention, the camera is a desktop-level camera, which is arranged on the ceiling of the vehicle.
[0019] A third aspect of the present invention provides an electronic device, comprising: At least one processor; and at least one memory in communication with the processor, wherein: the memory stores program instructions executable by the processor, and the processor calls the program instructions to execute the steps of the vehicle automatic sleep and wake-up screen detection method as described in the first aspect of the present invention.
[0020] The fourth aspect of the present invention provides a readable storage medium storing a computer program, which is executed by a processor as the steps of the vehicle automatic sleep and wake-up screen detection method as described in the first aspect of the present invention.
[0021] In summary, compared with the prior art, the present invention includes at least one of the following beneficial technical effects: 1. The present invention can effectively separate the screen area by calculating the difference between the image in the on and off states, thereby improving the accuracy of recognition; 2. The present invention can accurately find the contour coordinates of multiple screens by performing edge detection on the difference image, providing accurate area positioning for subsequent detection; 3. The present invention can adapt to various screen configurations of different models by automatically identifying multiple screen areas to be tested, thereby improving the flexibility and versatility of the test system; 4. The present invention sets the detection area according to the contour coordinates, and can perform independent fault detection on each screen, thereby improving the accuracy of detection; 5. The present invention can adapt to different screen shapes, sizes and deployment positions, automatically sleep and wake up the entire vehicle, and perform display detection on multiple screens, accurately identify black screen and flashing screen failures, and can customize the sleep time, greatly reducing manual testing, effectively simplifying the deployment of the test system, and improving test efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.
[0023] Figure 1 It is a flow chart of a method for detecting automatic sleep and wake-up screen of a whole vehicle according to a specific embodiment of the present invention.
[0024] Figure 2 It is a flow chart of another method for detecting the automatic sleep and wake-up screen of a whole vehicle according to a specific embodiment of the present invention.
[0025] Figure 3 The present invention is a block diagram of a vehicle automatic sleep and wake-up screen detection system according to a specific embodiment of the present invention.
[0026] Figure 4 It is a block diagram of another vehicle automatic sleep and wake-up screen detection system according to a specific embodiment of the present invention.
[0027] Figure 5 FIG. 1 is a schematic diagram of the structure of an electronic device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0028] The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present application. In addition, it should be understood that the specific implementation methods described herein are only used to illustrate and explain the present application, and are not used to limit the present application.
[0029] It should be noted that the description order of the following embodiments is not intended to limit the preferred order of the embodiments of the present application. In addition, in the following embodiments, the description of each embodiment has its own emphasis, and for parts not described in detail in one embodiment, reference can be made to the relevant description of other embodiments.
[0030] In modern car cockpit display design, multi-screen layout has become a commonly used configuration scheme. Multi-screen layout can not only provide drivers and passengers with rich information and entertainment content, but also optimize the utilization of cabin space and improve the overall user experience.
[0031] However, multi-screen arrangements involve complex hardware integration and software collaboration technologies. This configuration usually requires a high-performance in-vehicle infotainment system (IVI) to support multiple display outputs, while also considering information synchronization between screens, interaction logic, and consistency of the user interface. In addition, the multi-screen system also needs to meet automotive-level reliability and durability requirements.
[0032] With the development of Internet of Vehicles and autonomous driving technologies, the functions of multi-screen layouts are also evolving. For example, some high-end models have begun to use large-size through-type displays, integrating the instrument panel and the center console display. Some models have also introduced head-up display (HUD) technology, projecting key information onto the windshield to form a virtual additional display area. These innovations have further enriched the display layout of the cockpit and also brought new challenges to the detection of screen failures.
[0033] In the field of modern automotive electronic system testing, CAN cards and programmable power supplies are two commonly used key devices.
[0034] CAN card is a hardware interface device used to implement Controller Area Network (CAN) communication. CAN bus technology was originally developed by Bosch in Germany and has now become one of the standard communication protocols in the automotive industry. CAN card can simulate the communication behavior of the vehicle's electronic control unit (ECU), allowing testers to simulate and analyze the data exchange process of the vehicle's internal network in a laboratory environment. Through the CAN card, the vehicle's various electronic systems can be monitored, diagnosed and controlled, providing important technical support for vehicle testing or inspection.
[0035] A programmable power supply is a power supply device that can be precisely controlled by a computer or other control device. In the field of automotive testing, programmable power supplies are mainly used to simulate various working conditions of the vehicle power system. It can accurately adjust the output voltage and current, and simulate the power supply changes of the vehicle under different working conditions, such as voltage fluctuations during engine start, idling, acceleration, etc. In addition, programmable power supplies can also simulate various abnormal power supply conditions, such as overvoltage, undervoltage, voltage drop, etc., to test the performance and reliability of vehicle-mounted electronic equipment under extreme conditions.
[0036] like Figure 1 and Figure 2 As shown, the first aspect of the present invention provides a method for detecting automatic sleep and wake-up screen of a vehicle, comprising the following steps.
[0037] Step S100: acquiring images of a cockpit display area in an off state and a lit state respectively, wherein the cockpit display area includes a plurality of screens.
[0038] Specifically, multiple display screens are arranged in the car cockpit display area. The off state is the state in which multiple screens are off after the whole vehicle is powered off under normal circumstances, and the lit state is the state in which multiple screens are lit after the whole vehicle is powered on under normal circumstances.
[0039] Step S200: automatically identifying a plurality of screen areas based on the image.
[0040] Specifically, in step S200, the automatically identifying multiple screen areas based on the image includes: Calculate the difference between the images of the cockpit display area in the off state and the on state to obtain a difference image; Performing edge detection on the difference image to find contour coordinates corresponding to the plurality of screens; According to the outline coordinates, detection areas corresponding to the plurality of screens are set.
[0041] In some application scenarios, performing Gaussian blur processing on the difference image can remove noise to obtain a difference image with the noise removed. Then, performing edge detection on the difference image with the noise removed can further improve the accuracy and robustness of screen area recognition.
[0042] Here, by calculating the difference between the images in the lit and unlit states, the screen area can be effectively separated, thereby improving the accuracy of recognition. By performing edge detection on the difference image, the contour coordinates of multiple screens can be accurately found, providing precise area positioning for subsequent detection. By automatically identifying multiple screen areas to be detected, it can adapt to a variety of screen configurations of different vehicle models, thereby improving the flexibility and versatility of the test system. By setting the detection area according to the contour coordinates, independent fault detection can be performed on each screen, thereby improving the accuracy of detection.
[0043] Step S300: Simulate the vehicle's power-on and power-off processes to achieve automatic vehicle sleep and wake-up.
[0044] Specifically, in step S300, the simulation of the vehicle power-on and power-off process includes: Send a power-off signal to the entire vehicle to put it into sleep mode; After waiting for the preset sleep time, a power-on signal is sent to the entire vehicle to power on the entire vehicle.
[0045] Specifically, the preset sleep time can be designed according to the actual needs of the user or the actual test standards of the vehicle to be tested. The present invention specifically outputs CAN signals and voltage values to simulate the power-on and power-off processes when people use the vehicle, thereby realizing automatic sleep and wake-up of the vehicle.
[0046] Step S400: After the vehicle is automatically powered on, a video stream is acquired and a preset detection method is used to detect whether screen failures occur in the plurality of screen areas, wherein the screen failures include at least black screen failures and flashing screen failures.
[0047] Specifically, the acquiring of the video stream and detecting whether the screen failure occurs in the plurality of screen areas by a preset detection method includes: Get the video stream; Based on the video stream, an image processing method is used to detect whether black screen or flashing screen failure occurs in the multiple screen areas.
[0048] The present invention is implemented by Opencv, specifically including obtaining the camera video stream, where frame is each frame image of the video stream: cap=cv2.VideoCapture(1,cv2.CAP_DSHOW) cap.set(cv2.CAP_PROP_FRAME_WIDTH,1280) cap.set(cv2.CAP_PROP_FRAME_HEIGHT,720) while True: ret,frame=cap.read() In the previous step, edge detection is performed on the difference image, and cv2.findContours in opencv is used to pick up the coordinate point sets of multiple screen contours. If the screen is a rectangle, the coordinate point set corresponding to each contour is used to find the corresponding upper left vertex coordinates and lower right vertex coordinates, thereby constructing a rectangular recognition area (if it is a circular shape, the inscribed circle is found for the contour). A mask is created for each rectangular recognition area, and cv2.bitwise_and(frame,mask) is used to calculate each frame of the video stream captured by the camera in real time with the mask to obtain the display content of the screen. The display content is converted to grayscale using cv2.cvtColor, and Gaussian blur is used for noise denoising using cv2.GaussianBlur. The grayscale image is then binarized using cv2.threshold. If the proportion of white pixels in the binarized image is <1%, it is judged that the frame image is abnormal.
[0049] The present invention also includes: Black screen failure: Continuous abnormal frame image detection results until the power is turned off; Screen flash failure: abnormal results are detected for several consecutive frames, and then return to normal. Each screen corresponds to an independent recognition area and performs independent detection.
[0050] Here, by processing the recognized images and the video stream, the detection range of screens of different shapes, sizes and different hardware layout positions is adapted, making the present invention highly adaptable and capable of rapid deployment across projects and platforms. In addition, the present invention detects abnormal results of images corresponding to black screen and flashing screen faults, which helps to improve the accuracy of fault diagnosis and the stability of detection. By setting an independent recognition area for each screen, multiple screens can be detected in parallel at the same time, which improves the detection efficiency, especially in models with multiple screen configurations.
[0051] In one application scenario of the present invention, the present invention can automatically wake up the entire vehicle from sleep mode, automatically identify screen faults, remotely alarm, and automatically retrieve the fault log of the in-vehicle entertainment system at the time of the fault, etc., to facilitate and quickly notify testing and R&D personnel, thereby improving the overall efficiency of screen detection.
[0052] like Figure 3 and Figure 4As shown, the second aspect of the present invention provides a whole vehicle automatic sleep and wake-up screen detection system, including a camera, a controller, a CAN card, a programmable power supply and a smart cabin domain controller, wherein the controller can be a computer, and the controller is respectively connected to the camera, the CAN card, the programmable power supply and the smart cabin domain controller through a USB interface. Specifically, the smart cabin domain controller, i.e., the smart cockpit domain controller, is the hardware equipped with the vehicle entertainment system. All the displayed contents on the screen are transmitted to multiple screens by the smart cockpit domain controller through LVDS or Ethernet. The smart cabin domain controller needs to have a serializer, and the screen needs to have a deserializer. The smart cabin domain controller reserves a debugging port, and the computer can read various logs in its internal file system through the debugging port after installing the corresponding tools.
[0053] The camera is used to obtain images of the cockpit display area in the off state and the on state respectively, and to obtain a video stream after the vehicle is automatically powered on; the camera is a desktop-level camera, which can be arranged at the ceiling position inside the vehicle. Specifically, the image of the cockpit display area can show the environment inside the vehicle. In the present invention, there is no limitation on the specific scope of the cockpit display area. Those skilled in the art can make layouts and judgments based on existing detection scenarios, or can refer to the layout of the ceiling position inside the vehicle as described in the present invention for implementation.
[0054] A controller is used to automatically identify multiple screen areas based on the image, and after the vehicle is automatically powered on, detect whether screen failures occur in the multiple screen areas through a preset detection method.
[0055] A CAN card, one end of which is connected to the controller and the other end is connected to the CAN line of the vehicle, and is used to simulate a CAN signal to send a power-off signal to the vehicle;
[0056] A programmable power supply is connected to the controller at one end and to the wake-up sensor of the vehicle at the other end, and is used to send a power-on signal to the vehicle. Specifically, the voltage change of the wake-up source can be simulated by the programmable power supply.
[0057] The controller interacts with the entire vehicle through the camera, the CAN card, the programmable power supply, and realizes automatic vehicle sleep and wake-up screen, and detects whether screen failure occurs in the multiple screen areas after the vehicle is automatically powered on.
[0058] In one embodiment of the present invention, the controller automatically identifies multiple screen areas through the following steps: Calculate the difference between the images of the cockpit display area in the off state and the on state to obtain a difference image; Performing edge detection on the difference image to find contour coordinates corresponding to the plurality of screens; According to the outline coordinates, a plurality of screen areas are correspondingly identified.
[0059] In one embodiment of the present invention, the smart cabin domain controller is connected to the controller and is used to save the video record and / or fault log when the fault occurs when a screen fault is detected.
[0060] In one embodiment of the present invention, the controller is further used for: Control the CAN card to simulate the CAN signal to send a power-off signal to the vehicle to power off the vehicle; The preset sleep time is set according to user needs. After waiting for the preset sleep time, a power-on signal is sent to the whole vehicle through the programmable power supply to power on the whole vehicle.
[0061] Please continue reading Figure 2 , in an application scenario of the present invention: The vehicle is first powered on. The controller uses the camera to obtain pictures of the lighting status of multiple screens in the cockpit, and then communicates with the vehicle through the CAN card to send a power-off signal to power off the vehicle. After the vehicle is powered off, the controller calls the camera to obtain pictures of the multiple screens in the cabin in the off state, and starts adaptively identifying the screen area to be detected. Among them: in the adaptive identification of the screen area to be detected: calculate the difference between the images in the lit and off states to obtain the difference image; use Gaussian blur to process the noise; perform edge detection on the difference image to find the contour coordinates corresponding to multiple screens; according to the contour coordinates, the program sets the detection area corresponding to the multiple screens; at the same time, wait for the preset sleep time, and send the power-on voltage signal to the vehicle through the program-controlled power supply to power on the vehicle. After the vehicle is powered on, the camera is called to capture images, and image processing is used to perform black screen and flashing screen fault tests on the detection areas of the adaptively identified multiple screens.
[0062] Based on the same idea as the whole vehicle automatic sleep and wake-up screen detection method in the above-mentioned embodiment, the system provided by the present invention can implement the whole vehicle automatic sleep and wake-up screen detection method in the above-mentioned embodiment. For the convenience of explanation, the structural diagram of the system embodiment only shows the parts related to the embodiment of the present invention. Those skilled in the art can understand that the illustrated structure does not constitute a limitation on the system, and may include more or fewer components than shown in the diagram, or a combination of certain components, or different component arrangements.
[0063] like Figure 5 As shown, the third aspect of the present invention provides an electronic device, including: At least one processor; and at least one memory in communication with the processor, wherein: the memory stores program instructions executable by the processor, and the processor calls the program instructions to execute the steps of the vehicle automatic sleep and wake-up screen detection method as described in any one of the above embodiments.
[0064] The fourth aspect of the present invention discloses a readable storage medium storing a computer program, which is executed by a processor to perform the steps of the vehicle automatic sleep and wake-up screen detection method as described in any one of the above embodiments.
[0065] Computer-readable storage media may include: any entity or device capable of carrying a computer program, a recording medium, a USB flash drive, a mobile hard disk, a magnetic disk, an optical disk, a computer memory, a read-only memory (ROM), a random access memory (RAM), and a software distribution medium, etc. A computer program includes a computer program code. The computer program code may be in source code form, object code form, an executable file, or some intermediate form, etc. A computer-readable storage medium may include: any entity or device capable of carrying a computer program code, a recording medium, a USB flash drive, a mobile hard disk, a magnetic disk, an optical disk, a computer memory, a read-only memory (ROM), a random access memory (RAM), and a software distribution medium, etc.
[0066] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, segment or portion of code that includes one or more executable instructions for implementing the steps of a specific logical function or process, and the scope of the preferred embodiments of the present invention includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in the reverse order depending on the functions involved, which should be understood by those skilled in the art to which the embodiments of the present invention belong.
[0067] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by an instruction execution system, apparatus or device (such as a computer-based system, a system including a processing module, or other system that can fetch instructions from an instruction execution system, apparatus or device and execute instructions), or used in combination with these instruction execution systems, apparatuses or devices.
[0068] The above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A vehicle automatic sleep and wake-up screen detection method, characterized in that: include: Acquire images of a cockpit display area in an off state and a lit state respectively, wherein the cockpit display area includes a plurality of screens; automatically identifying a plurality of screen regions based on the image; Simulate the vehicle's power-on and power-off processes to achieve automatic vehicle sleep and wake-up; After the vehicle is automatically powered on, a video stream is acquired and a preset detection method is used to detect whether screen failures occur in the multiple screen areas.
2. According to the vehicle automatic sleep and wake-up screen detection method of claim 1, it is characterized in that: The acquiring of the video stream and detecting whether the plurality of screen areas have screen failures by a preset detection method include: Get the video stream; Based on the video stream, an image processing method is used to detect whether black screen or flashing screen failure occurs in the multiple screen areas.
3. The vehicle automatic sleep and wake-up screen detection method according to claim 1 is characterized in that: The automatically identifying a plurality of screen areas based on the image comprises: Calculate the difference between the images of the cockpit display area in the off state and the on state to obtain a difference image; Performing edge detection on the difference image to find contour coordinates corresponding to the plurality of screens; According to the outline coordinates, a plurality of screen areas are correspondingly identified.
4. According to claim 3, the vehicle automatic sleep and wake-up screen detection method is characterized in that: Before edge detection is performed on the difference image, the method further includes: Gaussian blur processing is performed on the difference image to obtain a difference image with noise removed.
5. The vehicle automatic sleep and wake-up screen detection method according to claim 1 is characterized in that: The simulation of the vehicle power-on and power-off process includes: Send a power-off signal to the entire vehicle to put it into sleep mode; After waiting for the preset sleep time, a power-on signal is sent to the entire vehicle to power on the entire vehicle.
6. A vehicle automatic sleep and wake-up screen detection system, characterized in that: include: A camera for acquiring images of the cockpit display area in an off state and an on state, and acquiring a video stream after the vehicle is automatically powered on; a controller, configured to automatically identify a plurality of screen areas based on the image, and detect whether a screen fault occurs in the plurality of screen areas by a preset detection method after the vehicle is automatically powered on; A CAN card, one end of which is connected to the controller and the other end is connected to the CAN line of the vehicle, and is used to simulate a CAN signal to send a power-off signal to the vehicle; A programmable power supply, one end of which is connected to the controller and the other end of which is connected to the wake-up sensor of the vehicle, for sending a power-on signal to the vehicle; The controller interacts with the entire vehicle through the camera, the CAN card, the programmable power supply, and realizes automatic vehicle sleep and wake-up screen, and detects whether screen failure occurs in the multiple screen areas after the vehicle is automatically powered on.
7. The vehicle automatic sleep and wake-up screen detection system according to claim 6 is characterized in that: The controller automatically identifies multiple screen areas through the following steps: Calculate the difference between the images of the cockpit display area in the off state and the on state to obtain a difference image; Performing edge detection on the difference image to find contour coordinates corresponding to the plurality of screens; According to the outline coordinates, a plurality of screen areas are correspondingly identified.
8. The vehicle automatic sleep and wake-up screen detection system according to claim 6 is characterized in that: It also includes a smart cabin domain controller, which is connected to the controller and is used to save video records and / or fault logs when a screen fault occurs when a screen fault is detected.
9. The vehicle automatic sleep and wake-up screen detection system according to claim 6, characterized in that: The controller is also used for: Control the CAN card to simulate the CAN signal to send a power-off signal to the vehicle to power off the vehicle; The preset sleep time is set according to user needs. After waiting for the preset sleep time, a power-on signal is sent to the whole vehicle through the programmable power supply to power on the whole vehicle.
10. The vehicle automatic sleep and wake-up screen detection system according to claim 6, characterized in that: The camera is a desktop-level camera, which is arranged on the ceiling of the vehicle.
11. An electronic device, characterized in that: include: at least one processor; And at least one memory communicatively connected to the processor, wherein: the memory stores program instructions executable by the processor, and the processor calls the program instructions to execute the steps of the vehicle automatic sleep and wake-up screen detection method as described in any one of claims 1-5.
12. A readable storage medium storing a computer program, characterized in that: The computer program is executed by the processor to perform the steps of the vehicle automatic sleep and wake-up screen detection method as described in any one of claims 1-5.
Citation Information
Patent Citations
Screen detection method and device and head-mounted display equipment
CN111627009A
Image detection and recognition device and detection and recognition method thereof
CN114727097A
Outdoor large screen position detection method based on image subtraction
CN115409889A
Method for determining display fault of intelligent cabin and fault detection device
CN116012365A
Device screen dynamic performance test method, device, system, device and medium
CN118443281A
Cited By
Method, system and equipment for automatically testing black and white flash cards when screen is awakened
CN121433184A