Instrument panel icon image verification method, instrument panel icon image verification device and instrument panel icon image verification system
By determining the icon image to be checked from the image currently displayed on the dashboard and comparing it with the stored target icon image, the problem that the existing technology cannot effectively verify the display status of the icon image of the dashboard is realized. Effective verification of icon image display status improves vehicle driving safety.
Patent Information
- Application Number
- CN202411516733.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-28
- Publication Date
- 2025-02-11
AI Technical Summary
The prior art cannot effectively verify the display status of the icon image currently displayed on the dashboard, resulting in an error display that may occur, reducing the safety of vehicle driving.
By determining the icon image to be checked from the image currently displayed on the dashboard and comparing it with the stored target icon image, the display status is checked based on the verification value of both.
It realizes effective verification of the display status of the icon image currently displayed on the dashboard, reducing the situation of incorrect display, thereby improving the safety of vehicle driving.
Smart Images

Figure CN119408409A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of intelligent driving technology, and in particular to a method, device and system for verifying an instrument panel icon image. Background Art
[0002] With the development of intelligent driving technology, the application of smart cockpits is becoming increasingly popular. A smart cockpit is a cockpit that integrates multiple intelligent technologies, and a dashboard is usually provided in the smart cockpit in front of the driver's seat.
[0003] The instrument panel can display multiple images (i.e., icon images) of icons (i.e., Tale tells) indicating the status of the vehicle, such as an icon image indicating whether there is a problem with the vehicle's anti-lock braking system, and an icon image indicating whether the parking brake is in working condition.
[0004] When driving a vehicle, the driver usually checks the icon image displayed on the instrument panel to determine the vehicle status. In this case, whether the instrument panel displays the icon image correctly plays an important role in driving safety. Therefore, verifying the display status of the icon image currently displayed on the instrument panel has become an urgent problem to be solved. Summary of the invention
[0005] In order to solve the above technical problems, the present disclosure provides a method, device and system for verifying an icon image of a dashboard, so as to verify the display status of an icon image currently displayed on the dashboard.
[0006] A first aspect of the present disclosure provides a method for verifying a dashboard icon image, comprising:
[0007] Determine the icon image to be verified from the image currently displayed on the dashboard;
[0008] Determine a first verification value of the icon image to be verified;
[0009] Determining a target icon image corresponding to the icon image to be verified from at least one icon image stored in the instrument panel;
[0010] Determining a second verification value of the target icon image;
[0011] Based on the first verification value and the second verification value, the display status of the icon image to be verified currently displayed on the instrument panel is verified.
[0012] A second aspect of the present disclosure provides a device for verifying an icon image of a dashboard, comprising:
[0013] A first image determination module, used to determine the icon image to be verified from the image currently displayed on the instrument panel;
[0014] A first verification value determination module, used to determine a first verification value of the icon image to be verified determined by the first image determination module;
[0015] A second image determination module, configured to determine a target icon image corresponding to the icon image to be verified from at least one icon image stored in the instrument panel;
[0016] A second check value determination module, used to determine a second check value of the target icon image determined by the second image determination module;
[0017] A verification module is used to verify the display status of the icon image to be verified currently displayed on the instrument panel based on the first verification value determined by the first verification value determination module and the second verification value determined by the second verification value determination module.
[0018] According to a third aspect of the present disclosure, a computer-readable storage medium is provided, wherein the storage medium stores a computer program, and the computer program is used to execute the method for verifying the instrument panel icon image described in the first aspect.
[0019] According to a fourth aspect of the present disclosure, an electronic device is provided, the electronic device comprising:
[0020] processor;
[0021] a memory for storing instructions executable by the processor;
[0022] The processor is used to read the executable instructions from the memory and execute the instructions to implement the instrument panel icon image verification method described in the first aspect above.
[0023] The fifth aspect embodiment of the present disclosure proposes a computer program product. When the instruction processor in the computer program product is executed, the dashboard icon image verification method proposed in the first aspect embodiment of the present disclosure is executed.
[0024] The embodiments of the present disclosure provide a method, device and system for verifying an icon image of a dashboard. In the verification method, first, an icon image to be verified is determined from the image currently displayed on the dashboard, and a first verification value of the icon image to be verified is determined; then, a target icon image corresponding to the icon image to be verified is determined from at least one icon image of the dashboard that has been stored, and a second verification value of the target icon image is determined; and then, based on the first verification value and the second verification value, the display status of the icon image to be verified currently displayed on the dashboard is verified. That is to say, the scheme provided by the embodiments of the present disclosure can realize the verification of the display status of the icon image currently displayed on the dashboard.
[0025] Furthermore, since the prior art cannot verify the display status of the icon image to be verified currently displayed on the instrument panel, the driver may drive the vehicle when the icon image to be verified is displayed incorrectly. During driving, the driver often needs to determine the vehicle status by checking the icon image displayed on the instrument panel. If the instrument panel currently displays the icon image to be verified incorrectly, the driver will obtain the wrong vehicle status when checking the instrument panel, thereby reducing the safety of vehicle driving. The solution disclosed in the present invention enables the driver to understand the display status based on the verification result, which helps to reduce the phenomenon of the driver driving the vehicle when the icon image to be verified is displayed incorrectly, thereby helping to improve the safety of vehicle driving. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] FIG. 1( a ) is a schematic diagram of an icon image.
[0027] FIG. 1( b ) is a schematic diagram of another icon image.
[0028] FIG. 1( c ) is a schematic diagram of another icon image.
[0029] Figure 2 The invention is a schematic diagram of an architecture that enables an image currently displayed on a dashboard to include an icon image.
[0030] Figure 3 A schematic diagram of a display processing unit superimposed image.
[0031] Figure 4 It is a flowchart of a method for verifying a dashboard icon image provided by an exemplary embodiment of the present disclosure.
[0032] FIG. 5( a ) is a schematic diagram of a background image of a dashboard provided by an exemplary embodiment of the present disclosure.
[0033] FIG5( b ) is a schematic diagram of an image currently displayed on a dashboard provided by an exemplary embodiment of the present disclosure.
[0034] FIG5( c ) is a schematic diagram of an image currently displayed on a dashboard provided by another exemplary embodiment of the present disclosure.
[0035] Figure 6 It is a flowchart of a method for verifying a dashboard icon image provided by another exemplary embodiment of the present disclosure.
[0036] Figure 7 It is a flowchart of a method for verifying a dashboard icon image provided by another exemplary embodiment of the present disclosure.
[0037] Figure 8 It is a flowchart of a method for verifying a dashboard icon image provided by another exemplary embodiment of the present disclosure.
[0038] Fig. 9 It is a schematic diagram of a process of determining a second pixel in a method for verifying a dashboard icon image provided by an exemplary embodiment of the present disclosure.
[0039] Fig.10 It is a flowchart of a method for verifying a dashboard icon image provided by another exemplary embodiment of the present disclosure.
[0040] Fig.11 It is a flowchart of a method for verifying a dashboard icon image provided by another exemplary embodiment of the present disclosure.
[0041] Fig.12 It is a schematic diagram of an architecture for making an image currently displayed on a dashboard include an icon image, provided by an exemplary embodiment of the present disclosure.
[0042] Fig.13 It is a flowchart of a method for verifying a dashboard icon image provided by another exemplary embodiment of the present disclosure.
[0043] Fig.14 It is a structural schematic diagram of a device for verifying dashboard icon images provided by an exemplary embodiment of the present disclosure.
[0044] Fig.15 It is a structural schematic diagram of a device for verifying an instrument panel icon image provided by another exemplary embodiment of the present disclosure.
[0045] Fig.16 It is a schematic diagram of the structure of an electronic device provided by an exemplary embodiment of the present disclosure. DETAILED DESCRIPTION
[0046] To explain the present disclosure, example embodiments of the present disclosure will be described in detail below with reference to the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present disclosure, rather than all of the embodiments. It should be understood that the present disclosure is not limited to the example embodiments.
[0047] It should be noted that the relative arrangement of components and steps, the numerical expressions and numerical values set forth in these embodiments do not limit the scope of the present disclosure unless specifically stated otherwise.
[0048] Application Overview
[0049] A vehicle is usually provided with a dashboard in front of the driver's seat. The dashboard is an important interface for the driver to interact with the vehicle. The dashboard can usually display images (i.e., icon images) of various icons (i.e., Tale tell), and the icon images can provide the driver with various key information of the vehicle.
[0050] Exemplarily, the icon image shown in FIG. 1( a ) is used to indicate whether there is a problem with the vehicle's anti-lock braking system, the icon image shown in FIG. 1( b ) is used to indicate whether the vehicle's parking brake is in working condition, and the icon image shown in FIG. 1( c ) is used to indicate the automatic transmission warning signal light.
[0051] In order to display icons on the instrument panel, each icon image is usually stored in a memory in advance, and the memory also stores a background image of the instrument panel. In this case, each icon image and the background image can be read from the memory, and then each icon image is superimposed on different areas of the background image, and then the superimposed image is pushed to the display panel of the instrument panel, and the display panel displays the superimposed image.
[0052] To clarify the process of displaying the current image on the dashboard, an example is provided below. Figure 2 For the schematic diagram corresponding to this example, see Figure 2 Currently, the image currently displayed on the dashboard includes the icon image in the following ways:
[0053] First, the display processing unit 101 reads each icon image and the background image of the instrument panel from the memory 102 . Figure 2 In the corresponding example, the display processing unit 101 reads a plurality of pre-stored icon images from the memory 102, the icon images including icon image 1, icon image 2, ..., icon image n, where n is a positive integer. Among them, icon image 1 is the icon image shown in FIG. 1(a), icon image 2 is the icon image shown in FIG. 1(b), and the background image is Figure 2 The display in the figure has two instrument dials. Figure 2 In this example, the background image Figure 2 The background image shown is labeled with the text description "background image" below it.
[0054] Then, the display processing unit 101 superimposes each icon image on the background image according to the position of each icon image in the instrument panel to obtain a superimposed image, that is, each icon image and the background image are combined into one image.
[0055] Afterwards, the display processing unit 101 pushes the superimposed image to the display panel 103 of the instrument panel, and the display panel 103 displays the superimposed image, so that the image currently displayed on the instrument panel includes each icon image. Figure 2 The dashboard in this example currently displays an image, Figure 2 A text description “Image currently displayed on the instrument panel” is marked below the image currently displayed on the instrument panel.
[0056] exist Figure 2 In the example, the image displayed on the display panel 103 is a superimposed image obtained by superimposing the icon image 1 and the icon image 2 read from the memory 102 on the background image, that is, the image currently displayed on the instrument panel.
[0057] The solution provided in the above description enables the image currently displayed on the dashboard to include an icon image. However, in some cases, the icon image currently displayed on the dashboard may be wrong. For example, when other images other than icon images are stored in the memory 102, the display processing unit 101 may read other images that do not belong to the icon image when reading the icon image in the memory 102; or, when the display processing unit 101 superimposes each icon image on the background image, it may superimpose part of the icon image in the wrong position. This will cause the dashboard to display an incorrect icon image.
[0058] When driving a vehicle, the driver needs to check the icon image displayed on the instrument panel to determine the vehicle status. The correctness of the icon image displayed on the instrument panel plays an important role in driving safety. Therefore, there is an urgent need for a solution that can verify the display status of the icon image currently displayed on the instrument panel.
[0059] In response to this problem, the present disclosure provides a method for verifying an icon image of a dashboard. The method determines an icon image to be verified from an image currently displayed on the dashboard, and then determines a first verification value of the icon image to be verified; then, from at least one icon image of the dashboard that has been stored, a target icon image corresponding to the icon image to be verified is determined, and a second verification value of the target icon image is determined; then, based on the first verification value and the second verification value, the display status of the icon image to be verified currently displayed on the dashboard is verified. Through this solution, based on the second verification value corresponding to the pre-stored target icon image, the display status of the icon image currently displayed on the dashboard can be further verified, thereby helping to improve the safety of vehicle driving.
[0060] Exemplary Systems
[0061] The embodiments of the present disclosure may be applied to an application scenario where an icon image currently displayed on a dashboard needs to be verified to verify the display status of the icon image.
[0062] In a feasible implementation, the method provided by the embodiment of the present disclosure may be applied by a vehicle. The vehicle includes a dashboard, a memory, and a display processing unit. The memory is used to store various icon images that need to be displayed on the dashboard. Usually, each icon image is stored in the memory in the form of a separate image file. The display processing unit can read each icon image from the memory, and then superimpose each icon image on the corresponding position of the background image to obtain a superimposed image, that is, to synthesize each icon image and the background image into an image, and then push the superimposed image to the display panel of the dashboard so that the display panel displays the image, so that the image currently displayed on the dashboard includes the icon image.
[0063] In order to clearly display the way in which the processing unit determines the superimposed image, the present disclosure provides Figure 3 , Figure 3 The left side of the display includes two parallel images. The lower image is slightly larger and contains vertical stripes, which can be regarded as a background image. The upper image is slightly smaller and can be regarded as an icon image. The display processing unit can Figure 3 The two images on the left are superimposed, and the superimposed image obtained can be shown as Figure 3 as shown on the right side of the diagram.
[0064] Furthermore, the vehicle may also include a processor. If it is necessary to verify the display state of the icon image to be verified displayed on the instrument panel, the processor may determine the icon image to be verified from the image displayed on the instrument panel and determine the first verification value. In addition, the processor may also determine a target icon image corresponding to the icon image to be verified from at least one icon image of the instrument panel that has been stored and determine the second verification value of the target icon image.
[0065] The processor may determine the second verification value in a variety of ways.
[0066] In a feasible implementation, the display processing unit determines the second verification value by a verification method consistent with the first verification value. Alternatively, in another feasible implementation, the target icon image may be verified in advance to obtain the second verification value and store it, and the processor may read the second verification value stored in the memory.
[0067] After determining the second verification value, the processor checks the display status of the icon image to be verified currently displayed on the dashboard based on the first verification value and the second verification value.
[0068] The solution provided by the present disclosure can verify the display status of the icon image currently displayed on the instrument panel. Further, the solution facilitates the vehicle driver to understand the display status of the icon image according to the verification result, which helps to improve the safety of vehicle driving.
[0069] Exemplary Methods
[0070] Figure 4 FIG. 1 is a flow chart of a method for verifying an instrument panel icon image provided by an exemplary embodiment of the present disclosure. This embodiment can be applied to a processor of a vehicle, such as Figure 4 As shown, the method comprises the following steps:
[0071] Step 201: determine an icon image to be verified from the images currently displayed on the dashboard.
[0072] According to the above display method of the image displayed on the instrument panel and Figure 2 As can be seen from the introduction, the image displayed on the dashboard is determined by superimposing multiple icon images on the background image. Therefore, in a feasible implementation method, the icon image to be verified can be determined by intercepting the icon image to be verified from the image currently displayed on the dashboard.
[0073] In this implementation, the location information of the distribution area of the icon image to be verified in the image currently displayed on the dashboard can be pre-stored, so that the icon image to be verified can be intercepted from the image currently displayed on the dashboard based on the location information.
[0074] Exemplarily, if the icon image to be checked is a rectangle, the position information may include the position coordinates of the four vertices of the rectangle in the image currently displayed on the dashboard; if the icon image to be checked is a circle, the position information may include the position coordinates and radius length of the center of the circle in the image currently displayed on the dashboard.
[0075] Step 202: Determine a first verification value of the icon image to be verified.
[0076] In this step, the first check value may be determined by checking the pixels of the icon image to be checked using a preset check algorithm. Exemplarily, the check algorithm may include one of the cyclic redundancy check algorithms (CRC), such as the CRC32 algorithm.
[0077] Of course, the verification algorithm may also include other verification algorithms, which is not limited in the present disclosure.
[0078] Step 203: Determine a target icon image corresponding to the icon image to be verified from at least one icon image of the stored dashboard.
[0079] At least one icon image to be displayed on the instrument panel is stored in the memory, and different icon images are used to be distributed in different areas of the image displayed on the instrument panel. In the embodiment of the present disclosure, the correspondence between the image information (such as image number or name, etc.) of each icon image and the position information of each area in the image currently displayed on the instrument panel can be pre-stored. In step 203, the image information corresponding to the position information of the icon image to be verified can be determined based on the position information of the icon image to be verified in the image currently displayed on the instrument panel and the correspondence, and then based on the image information, the target icon image indicated by the image information is determined from the icon images stored in the memory.
[0080] Exemplarily, icon image 1 and icon image 2 are stored in the memory, in which the correspondence indicates that the first position information corresponds to the image name of icon image 1 (for example, "ABS icon"), and the second position information corresponds to the image number of icon image 2 (for example, "number 02").
[0081] In this case, if the position information of the icon image to be verified on the dashboard is the first position information, the image name of the ABS icon corresponding to the first position information can be determined based on the corresponding relationship, and the icon image 1 with the image name can be further determined as the target image.
[0082] In addition, if the position information of the icon image to be verified on the dashboard is the second position information, the image number 02 corresponding to the second position information can be determined based on the corresponding relationship, and the icon image number 02 can be further determined as the target image.
[0083] Step 204: Determine a second verification value of the target icon image.
[0084] Optionally, the second verification value may be pre-stored in the memory, and the second verification value corresponding to the target icon image may be directly read; or, the display processing unit obtains the second verification value by verifying the target icon image.
[0085] Step 205: Based on the first verification value and the second verification value, the display status of the icon image to be verified currently displayed on the dashboard is verified.
[0086] In the present disclosure, the display state may include a correct display and an error display. If the first check value and the second check value indicate that the icon image to be checked and the target icon image are highly similar, the display state of the icon image to be checked currently displayed on the dashboard is a correct display; if the first check value and the second check value indicate that the icon image to be checked and the target icon image are less similar, the display state of the icon image to be checked currently displayed on the dashboard is an error display.
[0087] The embodiments of the present disclosure provide a method, device and system for verifying an icon image of a dashboard. In the verification method, first, an icon image to be verified is determined from the image currently displayed on the dashboard, and a first verification value of the icon image to be verified is determined; then, a target icon image corresponding to the icon image to be verified is determined from at least one icon image of the dashboard that has been stored, and a second verification value of the target icon image is determined; and then, based on the first verification value and the second verification value, the display status of the icon image to be verified currently displayed on the dashboard is verified. That is to say, the scheme provided by the embodiments of the present disclosure can realize the verification of the display status of the icon image currently displayed on the dashboard.
[0088] Furthermore, since the prior art cannot verify the display status of the icon image to be verified currently displayed on the instrument panel, the driver may drive the vehicle when the icon image to be verified is displayed incorrectly. During driving, the driver often needs to determine the vehicle status by checking the icon image displayed on the instrument panel. If the instrument panel currently displays the icon image to be verified incorrectly, the driver will obtain the wrong vehicle status when checking the instrument panel, thereby reducing the safety of vehicle driving. The solution disclosed in the present invention enables the driver to understand the display status based on the verification result, which helps to reduce the phenomenon of the driver driving the vehicle when the icon image to be verified is displayed incorrectly, thereby helping to improve the safety of vehicle driving.
[0089] In addition, in the description of the above embodiments and Figure 4 In the schematic diagram, after determining the first check value of the icon image to be checked, an operation of determining a target icon image corresponding to the icon image to be checked from at least one icon image of the stored dashboard is performed. In the actual operation process, these two steps do not have a strict time sequence. After determining the icon image to be checked, an operation of determining a target icon image corresponding to the icon image to be checked from at least one icon image of the stored dashboard is performed, and after determining the target icon image, the first check value of the icon image to be checked is determined, that is, after executing step 203, step 202 is executed. Alternatively, the two steps can also be performed simultaneously, and the present disclosure does not limit this.
[0090] Through the verification method provided by the embodiment of the present disclosure, the verification of the icon image to be verified currently displayed on the dashboard can be realized. Among them, the icon image to be verified is usually composed of an icon element (also called an icon body) and an icon background. Among them, the icon element usually includes at least one of letters, graphics and symbols, which is used to constitute the main visual content and identification features of the icon, and the other parts of the icon image except the icon element are the icon background.
[0091] Referring to the schematic diagram shown in FIG1(a), the icon element in the icon image is the black part, that is, the icon element includes the black letters "ABS" and the black circular lines and black arc lines around the letters, and the rest is the icon background of the icon; referring to the schematic diagram shown in FIG1(b), the icon element in the icon image is the black part, that is, the icon element includes the black letter "P" and the black circular lines and black arc lines around the characters, and the rest is the icon background of the icon; referring to the schematic diagram shown in FIG1(c), the icon elements of the icon image are the black letters "A" and "T", and the rest is the icon background of the icon image.
[0092] Depending on whether the icon background is transparent, the icon image generally includes two types. In the first type, the icon background of the icon image is an opaque background, for example, the icon background of the icon image may be pure black or pure white, etc. In this case, after the icon image is superimposed on the background image of the dashboard, the resulting superimposed image will display both the icon elements of the icon image and the icon background of the icon image.
[0093] In the second type, the icon background of the icon image is a transparent background. After the icon image is superimposed on the background image of the dashboard, since the icon background of the icon image is a transparent background, only the icon elements of the icon image are displayed in the superimposed image, and the area where the icon background of the icon image is distributed will display the pattern in the background image of the dashboard.
[0094] Some vehicle users pay more attention to the aesthetics of the dashboard and will set the background image of the dashboard to display their favorite pattern. In this case, since the icon background of the icon image is transparent, the area where the icon background of the icon image is distributed in the image displayed on the dashboard displays the pattern of the background image itself, thereby increasing the aesthetics of the dashboard and improving the user experience. For example, the vehicle user can set the background image of the dashboard to a landscape photo. When the icon background of the icon image is transparent, the area where the icon scenery of the icon image is distributed in the image currently displayed on the dashboard displays the landscape.
[0095] In order to clarify the impact of these two types of icon images on the image displayed on the instrument panel, the present disclosure provides an example, in which the icon image is an automatic transmission warning signal light, and the background image of the instrument panel stored in the memory is shown in Figure 5(a), which is an image including diagonal stripes.
[0096] In this example, if the icon image is of the first type and the icon background of the icon image is pure black, and the icon image is located in the upper right corner of the image shown in FIG5(a), then after the icon image is superimposed on the background image of the dashboard, in the obtained superimposed image, the area where the icon background of the icon image is distributed is still displayed as pure black. Accordingly, the image displayed on the dashboard is as shown in FIG5(b).
[0097] In addition, if the icon image is of the second type, that is, the icon background of the icon image is a transparent background, then after superimposing the icon image on the background image of the dashboard, in the obtained superimposed image, the area where the icon background of the icon image is distributed displays the pattern displayed by the background image of the dashboard itself. Accordingly, the image displayed on the dashboard is as shown in Figure 5(c).
[0098] Based on this example, it can be seen that when the types of icon images to be verified are different, the image currently displayed on the dashboard is different. In addition, since each icon image needs to be superimposed on the background image of the dashboard in the process of generating the image currently displayed on the dashboard, if the icon image to be verified is of the second type, that is, the icon background of the icon image to be verified is a transparent background, then in the obtained superimposed image (that is, the image currently displayed on the dashboard), the area where the icon background is located displays the pattern in the background image of the dashboard. The icon image to be verified is an icon image determined from the image currently displayed on the dashboard, so the icon background of the icon image to be verified also displays the pattern on the background image of the dashboard, while the icon background of the target icon image stored in the memory is still a transparent background.
[0099] In this case, even if the dashboard correctly displays the icon image to be verified, if the pixels of the icon image to be verified are directly verified to obtain a first verification value, there is a large difference between the first verification value and the second verification value. Based on the first verification value and the second verification value, it is often determined that the dashboard does not correctly display the icon image to be verified, resulting in a verification error, resulting in low verification accuracy.
[0100] In this case, if Figure 6 As shown in the above Figure 4 Based on the illustrated embodiment, the operation of determining the first verification value of the icon image to be verified in step 202 of the present disclosure may include the following steps:
[0101] Step 2021: determine a first preset area in the icon image to be checked.
[0102] Exemplarily, the first preset area includes an opaque area in the icon image to be checked.
[0103] Step 2022: Verify the pixels within the first preset area to determine a first verification value.
[0104] In this step, a verification calculation may be performed on the pixels in the first preset area by a preset verification algorithm to determine a first verification value, wherein the verification algorithm may include a cyclic redundancy check (CRC) algorithm, such as a CRC32 algorithm.
[0105] Of course, the verification algorithm may also include other verification algorithms, which is not limited in the present disclosure.
[0106] The solution disclosed in this embodiment can reduce the influence on the verification accuracy when the image background of the icon image to be verified displays the pattern of the background image, thereby improving the verification accuracy.
[0107] In the present disclosure, the first preset area can be determined through a variety of feasible implementations. Figure 7 In the flowchart shown in the figure, in one feasible implementation, the operation of determining the first verification value of the icon image to be verified includes the following steps:
[0108] Step 20211, read the first position coordinates of the pre-stored icon element in the icon image to be verified.
[0109] In this feasible implementation, the icon element in the icon image to be verified is predetermined, and then the first position coordinates of the icon element in the icon image to be verified are determined, and the first position coordinates are stored.
[0110] Step 20212: Identify, from the icon image to be verified, the area corresponding to the icon element indicated by the first position coordinates.
[0111] Through this operation, the identified area is the area where the icon elements in the icon image to be verified are distributed.
[0112] Step 20213, determine the first preset area from the areas corresponding to the icon elements.
[0113] This step can determine the first preset area in a variety of ways. Exemplarily, this step can determine that the entire area corresponding to the icon element indicated by the first position coordinates is the first preset area; or, in another example, the partial area (such as the upper half area or the lower half area) corresponding to the icon element indicated by the first position coordinates can be determined as the first preset area. In other words, the pixels included in the first preset area are the pixels of the icon element in the icon image to be verified.
[0114] Of course, this step may also be performed in other ways to determine the first preset area from the area corresponding to the icon element, and the present disclosure is not limited to this.
[0115] The first preset area can be determined by the operations of step 20211 to step 20213, and since the pixels included in the first preset area are the pixels of the icon elements in the icon image to be checked, when determining the first check value, it is only necessary to determine the first check value by checking the pixels of the icon elements in the icon image to be checked, that is, the icon background of the icon image to be checked is not considered when determining the first check value. In this case, even if the icon background of the icon image to be checked is a transparent background, the first check value will not be affected by the background image of the dashboard, thereby improving the accuracy of checking the icon image to be checked.
[0116] Furthermore, even if the icon background of the icon image to be verified is an opaque background, the first preset area can still be determined through this scheme. Therefore, this scheme can not only be used to verify icon images to be verified with transparent backgrounds, but also can be used to verify icon images to be verified with opaque backgrounds, and is widely used.
[0117] In another feasible implementation, the operation of step 202 may be performed after step 203 is performed, that is, after determining the target icon image corresponding to the icon image to be verified from at least one icon image stored in the dashboard, the first verification value of the icon image to be verified is determined. Figure 8 As shown in the flowchart, in this implementation, the operation of determining the first verification value of the icon image to be verified includes the following steps:
[0118] Step 20214, determine the transparency information of each pixel of the target icon image.
[0119] The transparency information is information used to characterize the degree of transparency of a pixel.
[0120] In a feasible implementation, the transparency information of the pixel may include the transparency of the pixel, and the transparency of the pixel may be represented by the value of the alpha channel of the pixel, and the value of the alpha channel may indicate the degree of transparency of the pixel. Generally, the larger the value of the alpha channel of a certain pixel, the lower the degree of transparency of the pixel, and the value may be represented in multiple forms. In one representation form, the value may range from 0 (i.e., indicating that the pixel is completely transparent) to 1 (i.e., indicating that the pixel is completely opaque). Alternatively, in another representation form, the value may range from 0 (i.e., indicating that the pixel is completely transparent) to 255 (i.e., indicating that the pixel is completely opaque).
[0121] Furthermore, the transparency information of a pixel may include the opacity of the pixel. The opacity of a pixel may be represented by the numerical value of the opacity attribute of the pixel, and the numerical value of the opacity attribute may indicate the degree of opacity of the pixel. Generally, the larger the numerical value of the opacity attribute of a pixel, the higher the degree of transparency of the pixel, and the numerical value may also be represented in a variety of forms. In one representation form, the numerical value may range from 0 (i.e., indicating that the pixel is completely opaque) to 1 (i.e., indicating that the pixel is completely transparent). Alternatively, in another representation form, the numerical value may range from 0 (i.e., indicating that the pixel is completely opaque) to 255 (i.e., indicating that the pixel is completely transparent).
[0122] Of course, the above transparency information is only an example. In the actual verification process, the transparency information may also include other information that can characterize the transparency of the pixel, and the present disclosure does not limit this.
[0123] Step 20215, determining, from the pixels of the target icon image, a plurality of second pixels whose transparency information meets a preset condition.
[0124] In the present disclosure, the second pixel is generally an opaque pixel in the target icon image. If the icon background of the target icon image is a transparent background, the second pixel is a pixel corresponding to the icon element in the target icon image; if the icon background of the target icon image is an opaque background, the second pixel is a pixel corresponding to the icon element and / or icon background in the target icon image.
[0125] If the transparency information of a pixel includes the transparency of the pixel, it can be determined that among the pixels of the target icon image, the pixel whose transparency is greater than the first threshold is the second pixel that meets the preset condition.
[0126] According to the above introduction to the alpha channel value, the larger the value of the alpha channel of a pixel, the lower the transparency of the pixel. Therefore, in the embodiment of the present disclosure, a first threshold value may be pre-set, and the alpha channel value of each pixel in the target icon image may be compared with the first threshold value in sequence. If the alpha channel value of a certain pixel is greater than the first threshold value, the pixel is determined to be the second pixel.
[0127] Exemplarily, the numerical value range of the alpha channel of the pixel may be expressed as from 0 to 255, and the first threshold may be 200. Accordingly, if the alpha value of a pixel in the target icon image is greater than 200, the pixel is determined to be the second pixel.
[0128] Of course, the above-mentioned first threshold is only an example. In the actual verification process, the first threshold may also be other values, and the present disclosure does not limit this.
[0129] In addition, if the transparency information of a pixel includes the opacity of the pixel, it can be determined that among the pixels of the target icon image, the pixel whose opacity is less than the second threshold is the second pixel that meets the preset condition.
[0130] According to the above introduction to the value of the opacity attribute of a pixel, the smaller the value of the opacity attribute of a pixel, the lower the transparency of the pixel. Therefore, in the embodiment of the present disclosure, a second threshold value may be pre-set, and the value of the opacity attribute of each pixel in the target icon image may be compared with the second threshold value in sequence. If the value of the opacity attribute of a certain pixel is less than the second threshold value, the pixel is determined to be the second pixel.
[0131] Exemplarily, the value range of the opacity attribute of a pixel may be expressed as from 0 to 255, and the second threshold may be 50. Accordingly, if the value of the opacity attribute of a pixel in the target icon image is less than 50, the pixel is determined to be the second pixel.
[0132] Of course, the above second threshold is only an example. In the actual verification process, the second threshold may also be other values, and the present disclosure does not limit this.
[0133] Step 20216, determine the second position coordinates of multiple second pixels in the target icon image.
[0134] Step 20217: Determine, from the icon image to be verified, a first preset area indicated by a third position coordinate corresponding to the second position coordinate.
[0135] In step 203, an operation of determining a target icon image corresponding to the icon image to be verified from at least one icon image stored in the instrument panel is disclosed. The target icon image corresponds to the icon image to be verified, which means that when the display state of the icon image to be verified currently displayed on the instrument panel is a correct state, the icon image to be verified and the target icon image display the same content, that is, the icon image to be verified and the target icon image correspond to the same icon.
[0136] Since the icon image to be checked corresponds to the target icon image, if the second pixel is the pixel corresponding to the icon element in the target icon image, the first preset area indicated by the third position coordinate corresponding to the second position coordinate is the area where the icon elements in the icon image to be checked are distributed.
[0137] Among them, the second position coordinate is the position of the target icon in the target icon image, and the third position coordinate is the position of the target to be verified in the icon image to be verified. Of course, the second position coordinate and the third position coordinate may be equal or unequal. Since the display state of the icon image to be verified currently displayed on the instrument panel is the correct state, the icon image to be verified and the target icon image display the same content, accordingly, the display content indicated by the second position coordinate in the target image to be verified is the same as the display content indicated by the third position coordinate in the target icon image.
[0138] That is to say, when the icon background of the target icon image is a transparent background, the first preset area is the area where the icon elements in the icon image to be verified are distributed.
[0139] In this case, if the icon background of the target icon image is a transparent background, since the first verification value is obtained by verifying the pixels within the first preset area, and the first preset area determined by the scheme of the embodiment of the present disclosure is the area where the icon elements in the icon image to be verified are distributed, the icon background of the icon image to be verified is not considered when determining the first verification value based on the first preset area. Even if the icon background of the icon image to be verified is transparent, the first verification value will not be affected by the background image of the dashboard, thereby improving the accuracy of the verification of the icon image to be verified.
[0140] In addition, if the second pixel is a pixel in the area where the icon elements and icon background in the target icon image are located, then the first preset area indicated by the third position coordinates corresponding to the second position coordinates is the area where the icon elements and icon background in the icon image to be verified are distributed. That is to say, when the icon background of the target icon image is an opaque background, the first preset area is the area where the icon elements and icon background in the icon image to be verified are distributed.
[0141] In this case, since the icon background of the icon image to be checked is also an opaque background, even if the pixels in the area where the icon elements and the icon background in the icon image to be checked are checked to obtain a first verification value, the first verification value will not be affected by the background image of the dashboard. Therefore, the solution of the embodiment of the present disclosure can not only be used to verify icon images to be checked with transparent backgrounds, but also can be used to verify icon images to be checked with opaque backgrounds, and is widely used.
[0142] In the above embodiment, it is necessary to determine multiple second pixels whose transparency information meets the preset conditions based on the transparency information of each pixel of the target icon image. In one example, the second pixel can be determined by traversing each pixel in the target icon image in sequence. In this example, the transparency information of the pixel is the value of the alpha channel of the pixel, and in this example, a number is set for each pixel in the target icon image, and the numbers are 0, 1, 2...MAX, respectively, MAX is a positive integer, and the sum of MAX and 1 is less than or equal to the total number of pixels in the target icon image. See Fig. 9 , the example includes the following steps:
[0143] Step 2061, determine the pixel numbered 0 in the target icon image.
[0144] Step 2062, determine whether the value of the alpha channel of the pixel is greater than the first threshold, if so, execute the operation of step 2063.
[0145] Step 2063, determine that the pixel is the second pixel, and then perform the operation of step 2064.
[0146] Step 2064, add 1 to the number of the pixel to obtain a new number, determine the next pixel based on the new number, and then execute the operation of step 2065.
[0147] Step 2065, determine whether the new number is equal to MAX, if not, return to execute the operation of step 2062, if so, execute the operation of step 2066.
[0148] Step 2066, determine whether the value of the alpha channel of the pixel corresponding to the new number is greater than the first threshold, if so, execute the operation of step 2067, if not, end this operation.
[0149] Step 2067, determine that the pixel is the second pixel, and end this operation.
[0150] Through the above steps, it is possible to sequentially traverse each pixel in the target icon image to determine the second pixel in the target icon image.
[0151] Of course, the method of determining the second pixel by traversing each pixel in the target icon image is only an example. In the actual verification process, the second pixel in the target icon image can also be determined by other methods, and the present disclosure does not limit this.
[0152] In step 204 of the present disclosure, an operation of determining a second verification value of a target icon image is disclosed. In a feasible implementation of the operation, the second verification value of the target icon image can be determined by the following steps: reading a pre-stored second verification value of the target icon image.
[0153] In this implementation, the pixels in the target icon image may be checked in advance to determine and store the second check value. In this case, during the check process, the stored second check value may be directly read to improve the efficiency of the check.
[0154] In addition, in this implementation, the verification method for predetermining the second verification value of the target icon image is usually consistent with the verification method for determining the first verification value.
[0155] Among them, the two verification methods are consistent, which means that the verification algorithms used by the two verification methods are the same, and when the verification algorithm is used to verify the pixels of the first distribution area in the target icon image, and when the verification algorithm is used to verify the pixels of the second distribution area in the target icon image, in the same coordinate system, the position coordinates of the pixels in the first distribution area are the same as the position coordinates of the pixels in the second distribution area.
[0156] In another feasible implementation, the second verification value of the target icon image may be determined by the following steps: the second verification value of the target icon image is determined by a verification method consistent with the first verification value.
[0157] In this step, after determining the target icon image from at least one icon image of the stored instrument panel, the second check value can be determined by a check method consistent with the first check value. In addition, if the target icon image is stored in a coded form, after determining the target icon image, it can be decoded to determine the decoded target icon image, and then the second check value can be determined for the decoded target icon image.
[0158] Through this implementation, even if the second verification value is not pre-stored, the second verification value can still be determined to meet the verification requirements. For example, with the development of the vehicle industry, new icon images that need to be displayed on the dashboard may appear, but the verification values of the newly appeared icon images may not be stored in time. In this case, the second verification value can be determined through this implementation to fully meet the verification requirements.
[0159] Furthermore, in the above two feasible implementations, the verification method for determining the second verification value of the target icon image is usually consistent with the verification method for determining the first verification value. The consistency of the verification method means that the verification algorithms used by the two verification methods are the same, and when the verification algorithm is used to verify the pixels of the first distribution area in the icon image to be verified, and when the verification algorithm is used to verify the pixels of the second distribution area in the target icon image, in the same coordinate system, the position coordinates of the pixels of the first distribution area are the same as the position coordinates of the pixels of the second distribution area.
[0160] Exemplarily, if a cyclic redundancy check algorithm is used to determine the first check value, the same cyclic redundancy check algorithm is also used to determine the second check value; if the first check value is determined by checking pixels from the first row to the Nth row in the icon image to be checked, then when determining the second check value, it is necessary to determine the second check value by checking pixels from the first row to the Nth row in the target icon image.
[0161] Further, in the embodiment of the present disclosure, if the second verification value of the target icon image is determined by a verification method consistent with that for determining the first verification value, then after the second verification value is determined, the second verification value can be stored, so that during the next verification process, the second verification value can be determined by reading the pre-stored second verification value, which helps to quickly determine the second verification value during the verification process and improves the efficiency of the verification.
[0162] In step 205 of the embodiment of the present disclosure, the display state of the icon image to be verified currently displayed on the dashboard is verified based on the first verification value and the second verification value. Fig.10 , in the above Figure 4 Based on the illustrated embodiment, in the embodiment of the present disclosure, step 205 may include:
[0163] Step 2051, determining the absolute value of the deviation between the first verification value and the second verification value.
[0164] In the embodiment of the present disclosure, the absolute value of the deviation between the first verification value and the second verification value may be the absolute value of the difference between the two.
[0165] Step 2052: based on the magnitude relationship between the absolute value of the deviation and a preset threshold, verify the display status of the icon image to be verified currently displayed on the dashboard.
[0166] In the disclosed embodiment, the display state of the icon image may include correct display and error display. The smaller the absolute value of the deviation between the first check value and the second check value, the closer the first check value and the second check value are, and accordingly, the higher the similarity between the icon image to be checked and the target icon image, therefore, in step 2052, usually in response to the absolute value of the deviation being less than a preset threshold, the display state of the icon image to be checked is determined to be correct display, and in response to the absolute value of the deviation being greater than or equal to the preset threshold, the display state of the icon image to be checked is determined to be error display.
[0167] The preset threshold value may be set according to the requirement of verification accuracy. Generally, the higher the requirement of verification accuracy is, the smaller the preset threshold value is.
[0168] Through the scheme of the embodiment of the present disclosure, the display status of the icon image to be verified currently displayed on the dashboard can be verified based on the size relationship between the absolute value of the deviation between the first verification value and the second verification value and the preset threshold, thereby meeting the verification requirements.
[0169] For further information, see Fig.11 , in the above Figure 4 Based on the embodiment shown, in the embodiment of the present disclosure, the following steps may also be included:
[0170] Step 206: Generate a prompt message corresponding to the icon image to be verified based on the display state.
[0171] The prompt message may include multiple forms. For example, the prompt message may include audio information sent by a vehicle with a dashboard, so that the driver of the vehicle does not need to observe the dashboard, and only determines the display status of the icon image to be checked displayed on the dashboard based on the audio information. The audio information may include a beep, a ringtone, and / or a voice, etc. Of course, the audio information may also include other types, which are not limited in this disclosure.
[0172] Alternatively, the prompt message may include a preset graphic displayed at the position where the dashboard displays the icon image to be verified, so that the driver can determine the display status of the icon image to be verified on the dashboard through the preset graphic when viewing the dashboard. The preset graphic may include an exclamation mark graphic and / or a character graphic including "ERROR". Of course, the preset graphic may also include other graphics, which is not limited in the present disclosure.
[0173] Of course, the prompt message may also include audio information and preset graphics at the same time to provide a more comprehensive prompt effect. In addition, the prompt message may also include other forms, which are not limited in the present disclosure.
[0174] In a feasible implementation of the embodiment of the present disclosure, a corresponding prompt message is generated only when the display status of the icon image to be checked is an error display. For example, after determining that the display status of the icon image to be checked is an error display, the generated display information may include a voice audio of "the icon image to be checked is displayed abnormally" and / or include an exclamation mark graphic displayed at the position where the icon image to be checked is displayed on the dashboard.
[0175] Alternatively, in another feasible implementation of the disclosed embodiment, a corresponding prompt message may be generated when the display state of the icon image to be verified is a correct display or an error display, and the prompt messages generated in the two cases are different, so as to provide a more comprehensive prompt to the driver. For example, after determining that the display state of the icon image to be verified is an error display, the generated display information may include a voice audio of "the display of the icon image to be verified is abnormal", and after determining that the display state of the icon image to be verified is a normal display state, the generated display information may include a voice audio of "the display of the icon image to be verified is normal".
[0176] Step 207: Based on the message type of the prompt message, a prompt message corresponding to the current display state of the icon image to be checked is displayed.
[0177] In this step, the prompt message generated in the previous step can be displayed to prompt the driver.
[0178] The prompt message can serve as a reminder to the vehicle driver, reducing the phenomenon of driving the vehicle when the first icon graphic is erroneous, thereby improving the safety of vehicle driving.
[0179] In order to clarify the verification method provided by the embodiment of the present disclosure, the present disclosure provides an example. Fig.12 The schematic diagram corresponding to this example is that the display processing unit 101 reads each icon image and the background image of the instrument panel from the memory 102. In this example, the icon images stored in the memory 102 include icon image 1, icon image 2...icon image n, where n is a positive integer, and icon image 1 read by the display processing unit 101 is the icon image shown in FIG. 1(a), icon image 2 is the icon image shown in FIG. 1(b), and the background image is an image showing two instrument dials; then, the display processing unit 101 superimposes each icon image on the background image according to its position in the instrument panel to obtain a superimposed image, and then pushes the superimposed image to the display panel 103 of the instrument panel, and the display panel 103 displays the superimposed image, so that the image currently displayed on the instrument panel includes each icon image.
[0180] See also Fig.12 If it is necessary to verify the icon image shown in Figure 1(a), that is, the icon image shown in Figure 1(a) is the icon image to be verified, then based on the distribution position of the icon image to be verified in the instrument panel, the icon image to be verified can be determined from the image currently displayed on the instrument panel, and a first verification value can be determined; then, the corresponding target icon image is read from the memory 102, and a second verification value of the target icon image is determined; then, based on the first verification value and the second verification value, the display status of the icon image to be verified currently displayed on the instrument panel is verified.
[0181] Further, in order to clarify the verification method provided by the embodiment of the present disclosure, the present disclosure also provides another embodiment. Fig.13 , in this embodiment, includes the following steps:
[0182] Step 301: determine the image currently displayed on the dashboard.
[0183] Step 302: determine the icon image to be verified from the image currently displayed on the dashboard.
[0184] Step 303: determine a first verification value of the icon image to be verified.
[0185] The operation of determining the first verification value may refer to the above embodiments and will not be described in detail here.
[0186] Step 304: Determine a target icon image corresponding to the icon image to be verified from at least one icon image of the stored dashboard.
[0187] Step 305: Determine a second verification value of the target icon image.
[0188] The operation of determining the second verification value may refer to the above embodiments and will not be described in detail here.
[0189] Step 306: based on the first verification value and the second verification value, verify the display status of the icon image to be verified currently displayed on the dashboard.
[0190] Step 307: Based on the display state, generate a prompt message corresponding to the icon image to be verified.
[0191] Step 308: Based on the message type of the prompt message, display a prompt message corresponding to the current display state of the icon image to be checked.
[0192] That is to say, through the solution provided by the present invention, the display status of the icon image in the image currently displayed on the dashboard can be verified, and the driver can be prompted through a prompt message to reduce the possibility of the driver driving the vehicle when the icon image is displayed incorrectly, thereby correspondingly improving the safety of vehicle driving.
[0193] Exemplary Devices
[0194] The following are device embodiments of the present disclosure, which can be used to execute the method embodiments of the present disclosure. For details not disclosed in the device embodiments of the present disclosure, please refer to the method embodiments of the present disclosure.
[0195] Fig.141 is a structural diagram of a device for verifying an instrument panel icon image provided by an exemplary embodiment of the present disclosure. The device may include: a first image determination module 201, a first verification value determination module 202, a second image determination module 203, a second verification value determination module 204 and a verification module 205.
[0196] The first image determination module 201 is used to determine the icon image to be verified from the image currently displayed on the dashboard;
[0197] A first verification value determination module 202, used to determine a first verification value of the icon image to be verified determined by the first image determination module 201;
[0198] The second image determination module 203 is used to determine a target icon image corresponding to the icon image to be verified from at least one icon image of the stored dashboard;
[0199] A second check value determination module 204, configured to determine a second check value of the target icon image determined by the second image determination module 203;
[0200] The verification module 205 is used to verify the display status of the icon image to be verified currently displayed on the dashboard based on the first verification value determined by the first verification value determination module 203 and the second verification value determined by the second verification value determination module 202.
[0201] For further information, see Fig.15 As shown in the structural schematic diagram, in a feasible implementation, the first verification value determination module 202 includes: an area determination unit 2021 and a first verification value determination unit 2022.
[0202] The area determination unit 2021 is used to determine a first preset area in the icon image to be checked.
[0203] The first check value determination unit 2022 is used to check the pixels in the first preset area determined by the area determination unit 2021 to determine a first check value.
[0204] In a feasible implementation, the region determining unit 2021 determines the first preset region in the icon image to be checked by the following steps:
[0205] Reading the pre-stored first position coordinates of the icon element in the icon image to be verified;
[0206] Identify, from the icon image to be verified, an area corresponding to the icon element indicated by the first position coordinates;
[0207] A first preset area is determined from the areas corresponding to the icon elements.
[0208] In another feasible implementation, the region determining unit 2021 determines the first preset region in the icon image to be checked through the following steps:
[0209] Determine transparency information of each pixel of the target icon image;
[0210] Determining, from the pixels of the target icon image, a plurality of second pixels whose transparency information meets a preset condition;
[0211] Determining second position coordinates of a plurality of second pixels in the target icon image;
[0212] A first preset area indicated by a third position coordinate corresponding to the second position coordinate is determined from the icon image to be verified.
[0213] Further, in a feasible example, the second verification value determination module 204 includes: a reading unit 2041 or a second verification value determination unit 2042 .
[0214] The reading unit 2041 is used to read the pre-stored second verification value of the target icon image; the second verification value determination unit 2042 is used to determine the second verification value of the target icon image by a verification method consistent with the first verification value.
[0215] Furthermore, in a feasible implementation, the verification module 205 includes: a deviation absolute value determination unit 2051 and a verification unit 2052 .
[0216] The deviation absolute value determination unit 2051 is used to determine the deviation absolute value between the first verification value and the second verification value;
[0217] The verification unit 2052 is used to verify the display status of the icon image to be verified currently displayed on the instrument panel based on the size relationship between the absolute value of the deviation determined by the absolute value of the deviation determining unit 2051 and a preset threshold.
[0218] Furthermore, in a feasible implementation, the verification device also includes: a message generating module 206 and a message displaying module 207 .
[0219] The message generation module 206 is used to generate a prompt message corresponding to the icon image to be verified based on the display state;
[0220] The message display module 207 is used to display the prompt message corresponding to the display state currently displayed by the icon image to be checked based on the message type of the prompt message generated by the message generation module 206 .
[0221] Through the device provided by the embodiment of the present disclosure, the display status of the icon image currently displayed on the instrument panel can be verified. Further, the device can also enable the driver of the vehicle to understand the display status based on the verification result, which helps to reduce the phenomenon that the driver drives the vehicle when the icon image to be verified is displayed incorrectly, thereby helping to improve the safety of vehicle driving.
[0222] Exemplary Electronic Devices
[0223] Fig.16 A structural diagram of an electronic device provided in an embodiment of the present disclosure includes at least one processor 111 and a memory 112.
[0224] The processor 111 may be a central processing unit (CPU) or other forms of processing units having data processing capabilities and / or instruction execution capabilities, and may control other components in the electronic device 11 to perform desired functions.
[0225] The memory 112 may include one or more computer program products, which may include various forms of computer-readable storage media, such as volatile memory and / or non-volatile memory. Volatile memory may include, for example, random access memory (RAM) and / or cache memory (cache), etc. Non-volatile memory may include, for example, read-only memory (ROM), hard disk, flash memory, etc. One or more computer program instructions may be stored on the computer-readable storage medium, and the processor 111 may execute one or more computer program instructions to implement the instrument panel icon image verification method and / or other desired functions of the various embodiments of the present disclosure described above.
[0226] In one example, the memory 112 may store at least one icon image of the instrument panel, and the memory 112 may also store a background image of the instrument panel.
[0227] In one example, the electronic device 11 may further include: an input device 113 and an output device 114 , and these components are interconnected via a bus system and / or other forms of connection mechanisms (not shown).
[0228] The output device 114 can output various information to the outside, which may include, for example, a display, a speaker, a printer, a communication network and a remote output device connected thereto, etc. Exemplarily, the output device 114 may include a dashboard, which may display icons. Moreover, when the output device 114 includes a speaker, the audio message in the prompt message corresponding to the icon image to be verified may be played through the speaker; when the output device 114 includes a remote output device, after verifying the display status of the icon image to be verified currently displayed on the dashboard, the display status may be output so that the user on the remote output device side may understand the display status.
[0229] Of course, to simplify, Fig.16 Only some of the components related to the present disclosure in the electronic device 11 are shown, and components such as a bus, an input / output interface, etc. are omitted. In addition, according to specific application situations, the electronic device 11 may also include any other appropriate components.
[0230] Exemplary computer program products and computer-readable storage media
[0231] In addition to the above-mentioned methods and devices, embodiments of the present disclosure may also provide a computer program product, including computer program instructions, which, when executed by a processor, enable the processor to execute the steps of the dashboard icon image verification method of various embodiments of the present disclosure described in the above-mentioned "Exemplary Method" section.
[0232] The computer program product may be written in any combination of one or more programming languages to write program code for performing the operations of the disclosed embodiments, including object-oriented programming languages such as Java, C++, etc., and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a separate software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server.
[0233] In addition, an embodiment of the present disclosure may also be a computer-readable storage medium on which computer program instructions are stored. When the computer program instructions are executed by a processor, the processor executes the steps of the dashboard icon image verification method of various embodiments of the present disclosure described in the above-mentioned "Exemplary Method" section.
[0234] Computer readable storage media can adopt any combination of one or more readable media. The readable medium can be a readable signal medium or a readable storage medium. The readable storage medium is, for example, but not limited to, a system, device or device including electricity, magnetism, light, electromagnetic, infrared, or semiconductor, or any combination of the above. More specific examples (non-exhaustive list) of readable storage media include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.
[0235] The basic principles of the present disclosure are described above in conjunction with specific embodiments. However, the advantages, strengths, effects, etc. mentioned in the present disclosure are only examples and not limitations, and cannot be considered as necessary for each embodiment of the present disclosure. In addition, the specific details disclosed above are only for the purpose of illustration and ease of understanding, rather than limitation, and the above details do not limit the present disclosure to being implemented by adopting the above specific details.
[0236] Those skilled in the art may make various changes and modifications to the present disclosure without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the present disclosure claims and their equivalents, the present disclosure is also intended to include these modifications and variations.
Claims
1. A method for verifying a dashboard icon image, comprising: Determine the icon image to be verified from the image currently displayed on the dashboard; Determine a first verification value of the icon image to be verified; Determining a target icon image corresponding to the icon image to be verified from at least one icon image stored in the instrument panel; Determining a second verification value of the target icon image; Based on the first verification value and the second verification value, the display status of the icon image to be verified currently displayed on the instrument panel is verified.
2. The method according to claim 1, wherein: The determining a first verification value of the icon image to be verified includes: Determining a first preset area in the icon image to be verified; Pixels within the first preset area are verified to determine the first verification value.
3. The method according to claim 2, wherein: The determining of the first preset area in the icon image to be verified includes: Reading pre-stored first position coordinates of the icon element in the icon image to be verified; identifying, from the icon image to be verified, an area corresponding to the icon element indicated by the first position coordinates; The first preset area is determined from the areas corresponding to the icon elements.
4. The method according to claim 2, wherein: The determining of the first preset area in the icon image to be verified includes: Determining transparency information of each pixel of the target icon image; Determining, from each of the pixels of the target icon image, a plurality of second pixels whose transparency information meets a preset condition; Determine second position coordinates of the plurality of second pixels in the target icon image; The first preset area indicated by the third position coordinates corresponding to the second position coordinates is determined from the icon image to be verified.
5. The method according to any one of claims 1 to 4, wherein: The determining a second verification value of the target icon image includes: Reading a pre-stored second verification value of the target icon image; or, A second verification value of the target icon image is determined by a verification method consistent with that of determining the first verification value.
6. The method according to any one of claims 1 to 4, wherein: The verifying, based on the first verification value and the second verification value, a display state of the icon image to be verified currently displayed on the instrument panel, includes: determining an absolute value of a deviation between the first verification value and the second verification value; Based on the magnitude relationship between the absolute value of the deviation and a preset threshold, the display status of the icon image to be verified currently displayed on the instrument panel is verified.
7. The method according to claim 6, wherein: The method further comprises: Based on the display state, generating a prompt message corresponding to the icon image to be verified; Based on the message type of the prompt message, a prompt message corresponding to the current display state of the icon image to be checked is displayed.
8. A device for verifying an instrument panel icon image, comprising: A first image determination module, used to determine the icon image to be verified from the image currently displayed on the instrument panel; A first verification value determination module, used to determine a first verification value of the icon image to be verified determined by the first image determination module; A second image determination module, configured to determine a target icon image corresponding to the icon image to be verified from at least one icon image stored in the instrument panel; A second check value determination module, used to determine a second check value of the target icon image determined by the second image determination module; A verification module is used to verify the display status of the icon image to be verified currently displayed on the instrument panel based on the first verification value determined by the first verification value determination module and the second verification value determined by the second verification value determination module.
9. A computer-readable storage medium storing a computer program, wherein the computer program is used to execute the instrument panel icon image verification method according to any one of claims 1 to 7.
10. An electronic device, comprising: processor; a memory for storing instructions executable by the processor; The processor is used to read the executable instructions from the memory and execute the instructions to implement the instrument panel icon image verification method described in any one of claims 1-7 above.