Anti-peeping effect detection method, device and system for anti-peeping film
By placing an anti-peeping film on the display screen, adjusting the position of the lights and visual devices, acquiring images, and performing recognition and comparison, the problem of the inability to evaluate the actual effect of the anti-peeping film in the existing technology is solved. This achieves highly realistic detection under multi-angle and multi-light environments, improving the comprehensiveness and accuracy of the detection.
Patent Information
- Application Number
- CN202411920044.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-25
- Publication Date
- 2025-02-07
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing methods for detecting privacy films cannot effectively assess their privacy protection effect and it is difficult to determine their actual privacy protection performance under different optical and structural parameters.
By placing an anti-peeping film on the display screen, adjusting the position of ambient lighting equipment and visual devices, collecting images and performing recognition and comparison, calculating the recognition accuracy and anti-peeping score, the anti-peeping effect under different viewing angles and lighting environments is simulated.
It achieves highly realistic detection under multi-angle and multi-light environments, accurately judging the anti-peeping effect of the anti-peeping film and improving the comprehensiveness and accuracy of the detection.
Smart Images

Figure CN119394601A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of visual detection, and in particular to a method, a device and a system for detecting the anti-peeping effect of an anti-peeping film. Background Art
[0002] Anti-peeping film is a protective film specially used for electronic device screens (such as mobile phones, tablets and computer monitors). Its main purpose is to protect the user's privacy. The anti-peeping effect of the anti-peeping film is comprehensively affected by multiple optical parameters (such as reflectivity and transmittance) and structural parameters (such as thickness and curvature) of the film. The existing anti-peeping film detection method can only detect whether these parameters of the anti-peeping film reach the set values, but it is difficult to evaluate the actual anti-peeping effect of the anti-peeping film under the corresponding parameter conditions. Summary of the invention
[0003] Based on this, it is necessary to provide a method, device and system for detecting the anti-peeping effect of an anti-peeping film in order to solve the above problems.
[0004] The embodiment of the present invention is implemented as follows: a method for detecting the anti-peeping effect of an anti-peeping film, the method comprising: S1: When the anti-peeping film is placed on the display screen, start the display screen; S2: Control the display screen to display the test content; S3: Adjust the working parameters of the ambient lighting equipment to create a preset lighting environment; S4: adjusting the relative position between the visual device and the display screen under the lighting environment, and collecting images including the display screen at different relative positions; S5: For each captured image, the image is sent to the recognition end so that the recognition end recognizes the display content on the display screen in the image; S6: After receiving the display content sent back by the recognition end, the display content is compared with the test content to obtain the content consistency corresponding to the image; S7: Determine the recognition accuracy under the lighting environment according to the degree of content matching corresponding to each image; S8: changing the working parameters of the ambient lighting device to create another preset lighting environment, executing steps S4 to S8, and repeating this step until the recognition accuracy rate under each lighting environment is obtained; S9: Determine the anti-peeping score of the anti-peeping film according to the recognition accuracy under each lighting environment, and judge whether the anti-peeping score is higher than a preset score. If so, the anti-peeping effect of the anti-peeping film meets the standard; otherwise, the anti-peeping effect of the anti-peeping film does not meet the standard.
[0005] In one embodiment, the present invention provides an anti-peeping effect detection device for an anti-peeping film, wherein a module in the anti-peeping effect detection device for an anti-peeping film is used to execute the anti-peeping effect detection method for the anti-peeping film, specifically comprising: A start-up module, used for starting the display screen when the anti-peeping film is placed on the display screen; A control module, used to control the display screen to display test content; The lighting adjustment module is used to adjust the working parameters of the ambient lighting equipment to create a preset lighting environment; A position moving module, used for adjusting the relative position between the visual device and the display screen under the lighting environment, and collecting images including the display screen under different relative positions; A forwarding module, for sending each captured image to a recognition terminal, so that the recognition terminal can recognize the display content on the display screen in the image; The first processing module is used to compare the display content with the test content after receiving the display content returned by the recognition end to obtain the content consistency degree corresponding to the image; The second processing module is used to determine the recognition accuracy under the lighting environment according to the content matching degree corresponding to each image; The third processing module is used to change the working parameters of the ambient lighting device to create another preset lighting environment, and execute steps S4 to S8, and repeat the steps until the recognition accuracy rate under each lighting environment is obtained; The fourth processing module is used to determine the anti-peeping score of the anti-peeping film according to the recognition accuracy under each lighting environment, and judge whether the anti-peeping score is higher than the preset score. If so, the anti-peeping effect of the anti-peeping film meets the standard; otherwise, the anti-peeping effect of the anti-peeping film does not meet the standard.
[0006] In one embodiment, the present invention provides an anti-peeping effect detection system for an anti-peeping film, the system comprising: A display screen, used to display test content; A visual device for collecting images; A moving device, the visual device is mounted on the moving device, and the moving device is used to move the visual device to change the relative position between the visual device and the display screen; Ambient lighting equipment, used to create a preset lighting environment; The recognition end is used to recognize the image collected by the visual device; The computer device is connected with the display screen, the visual device, the mobile device, the ambient lighting device and the identification terminal, and is used to execute the anti-peeping effect detection method of the anti-peeping film.
[0007] The present invention provides a method, device and system for detecting the anti-peeping effect of an anti-peeping film. The method comprises the following steps: when the anti-peeping film is placed on a display screen, starting the display screen; controlling the display screen to display test content; adjusting the working parameters of an ambient lighting device to create a preset lighting environment; in the lighting environment, adjusting the relative position between a visual device and the display screen, and collecting images including the display screen under different relative positions; for each collected image, sending the image to a recognition end so that the recognition end can recognize the display content on the display screen in the image; after receiving the display content sent back by the recognition end, comparing the display content with the test content to obtain the content matching degree corresponding to the image; determining the recognition accuracy rate in the lighting environment according to the content matching degree corresponding to each image; changing the ambient lighting setting The working parameters of the equipment are adjusted to create another preset lighting environment, and the above steps are repeated until the recognition accuracy rate under each lighting environment is obtained; the anti-peeping score of the anti-peeping film is determined according to the recognition accuracy rate under each lighting environment, and it is judged whether the anti-peeping score is higher than the preset score. If so, the anti-peeping effect of the anti-peeping film meets the standard, otherwise, the anti-peeping effect of the anti-peeping film does not meet the standard; in the present application, the simulation of the human eye distinguishing the display content from multiple different distances and viewing angles can be achieved by adjusting the relative position of the visual device and the display screen equipped with the anti-peeping film, which has high simulation, and the simulation can be performed under different lighting environments, making the simulation more comprehensive, so that the anti-peeping score derived therefrom has higher accuracy, and the anti-peeping effect of the anti-peeping film can be accurately judged accordingly. BRIEF DESCRIPTION OF THE DRAWINGS
[0008] Figure 1 A first flow chart of a method for detecting an anti-peeping effect of an anti-peeping film provided in one embodiment; Figure 2 A second flow chart of a method for detecting an anti-peeping effect of an anti-peeping film provided in one embodiment; Figure 3 A hemispherical schematic diagram of a method for detecting the anti-peeping effect of an anti-peeping film provided in one embodiment; Figure 4 It is a schematic diagram of the module flow of an anti-peeping effect detection device of an anti-peeping film provided in one embodiment; Figure 5 It is a schematic diagram of the composition of an anti-peeping effect detection system of an anti-peeping film provided in one embodiment; Figure 6 The figure is a block diagram of the internal structure of the control center in one embodiment. DETAILED DESCRIPTION
[0009] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.
[0010] It is understood that the terms "first", "second", etc. used in the present invention may be used herein to describe various elements, but unless otherwise specified, these elements are not limited by these terms. These terms are only used to distinguish a first element from another element. For example, a first xx script may be referred to as a second xx script, and similarly, a second xx script may be referred to as a first xx script without departing from the scope of the present invention.
[0011] like Figure 1-Figure 2 As shown, in one embodiment, a method for detecting the anti-peeping effect of an anti-peeping film is provided, and the method comprises: S1: When the anti-peeping film is placed on the display screen, start the display screen; S2: Control the display screen to display the test content; S3: Adjust the working parameters of the ambient lighting equipment to create a preset lighting environment; S4: adjusting the relative position between the visual device and the display screen under the lighting environment, and collecting images including the display screen at different relative positions; S5: For each captured image, the image is sent to the recognition end so that the recognition end recognizes the display content on the display screen in the image; S6: After receiving the display content sent back by the recognition end, the display content is compared with the test content to obtain the content consistency corresponding to the image; S7: Determine the recognition accuracy under the lighting environment according to the degree of content matching corresponding to each image; S8: changing the working parameters of the ambient lighting device to create another preset lighting environment, executing steps S4 to S8, and repeating this step until the recognition accuracy rate under each lighting environment is obtained; S9: Determine the anti-peeping score of the anti-peeping film according to the recognition accuracy under each lighting environment, and judge whether the anti-peeping score is higher than a preset score. If so, the anti-peeping effect of the anti-peeping film meets the standard; otherwise, the anti-peeping effect of the anti-peeping film does not meet the standard.
[0012] In this embodiment, the method is executed in a computer device, which can be an independent physical server or terminal, or a server cluster composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud servers, cloud databases, cloud storage and CDN; the display screen can be a mobile phone display screen, a desktop computer display screen, a tablet computer display screen or other types of display screens, which are determined according to the type of anti-peeping film to be detected; the display screen is controlled by the computer device, and the computer device can control the opening and closing of the display screen, as well as control the display screen to display preset content; the ambient lighting device is connected to the computer device, which includes multiple ambient lights, and the computer device adjusts the brightness, light color and other parameters of each environment to enable the ambient lighting device to create different different lighting environments; the visual device can be a camera connected to a computer device, the computer device can control the camera to collect images including the display screen, the visual device is installed on a mobile device (such as a manipulator) controlled by the computer device, and the computer device can move the visual device through the mobile device to change the relative position between the visual device and the display screen; the recognition end is connected to the computer device, which is a terminal with processing capabilities, such as a smart phone, a tablet computer, a laptop computer, a desktop computer, etc., but not limited to this; the recognition end has a built-in edge detection algorithm (such as Canny), which can quickly detect the area where the display screen is located in the image, and extract the area, and then use the built-in image text recognition algorithm to recognize the display content on the display screen.
[0013] In this embodiment, there are several preset lighting environments, such as a dark indoor environment, a bright indoor environment, a dark outdoor environment, a bright outdoor environment, etc., and corresponding lighting parameters are preset for each lighting environment. The corresponding lighting environment can be created by controlling the ambient lighting device to work with a certain lighting parameter. In each lighting environment, the visual device is moved by the mobile device so that the visual device can collect images of the display screen from different distances and viewing angles, that is, the effect of simulating others viewing the display screen equipped with an anti-peeping film from different viewing angles and distances in reality is realized, which has high simulation. Furthermore, the collected image is recognized by the third-party terminal (recognition terminal), and the recognized display content is compared with the test content, that is, the separation of the terminal that provides the test content and the terminal that recognizes the content is realized, so that the comparison result has a higher credibility. In addition, the detection under different lighting environments can be realized by adjusting the ambient lighting, so that the detection is more comprehensive. The higher the recognition accuracy obtained in each lighting environment, the lower the anti-peeping score obtained in the end. If the anti-peeping score does not exceed the preset score, the anti-peeping film does not meet the standard.
[0014] In the present application, by adjusting the relative position of the visual device and the display screen equipped with an anti-peeping film, the simulation of the human eye distinguishing the display content from multiple different distances and viewing angles can be achieved, with high simulation, and the simulation can be performed under different lighting environments, making the simulation more comprehensive, and thus making the anti-peeping score derived therefrom have higher accuracy, thereby accurately judging the anti-peeping effect of the anti-peeping film.
[0015] As a preferred embodiment, the adjusting the relative position between the visual device and the display screen and collecting the image including the display screen at different relative positions comprises: S41: determining a visible range of the display screen, and determining a plurality of viewpoints in the visible range that are at different relative positions to the display screen; S42: moving the visual device to a viewpoint; S43: Controlling the visual device to face the display screen at the viewpoint to capture an image including the display screen; S44: Move the visual device to another viewpoint, and execute steps S43 to S44 until the visual device captures an image including the display screen at each viewpoint.
[0016] Determine the visible range of the display screen, and determine several viewpoints in different relative positions to the display screen in the visible range, including: S411: Generate an xyz three-axis spatial rectangular coordinate system with the center of the display screen as the origin; S412: Generate a hemisphere with a radius of a first set radius with the center of the display screen as the bottom center, wherein the bottom surface of the hemisphere is in the xy plane of the spatial rectangular coordinate system; S413: generating evenly spaced feature points on the bottom circular edge line of the hemisphere, wherein the distance between any two adjacent feature points on the bottom circular edge line is a preset first length; S414: generating a feature point on the top of the hemisphere, and connecting the feature point with the feature points on the circular edge line of the bottom surface to form a plurality of curves; S415: generating evenly spaced feature points on each curve, wherein the distance between any two adjacent feature points on the curve is a preset second length; S416: Record the spatial coordinates of each feature point; S417: reducing the radius of the hemisphere by a preset third length to obtain an adjusted hemisphere, and recording the spatial coordinates of each feature point on the adjusted hemisphere, and repeating this step until the radius of the hemisphere is smaller than a preset minimum radius; S418: removing the hemisphere and generating a corresponding viewpoint at each recorded spatial coordinate; S419: Generate a circle with a second set radius and located in the xy plane with the center of the display screen as the center, and generate a cylinder with the circle as the base, and then remove the viewpoints within the cylinder. The remaining viewpoints are regarded as viewpoints within the visible range of the display screen, wherein the height of the cylinder is longer than the length of the first set radius.
[0017] In this embodiment, if Figure 3 As shown, theoretically, the content on the display screen can be seen within the hemisphere with the display screen as the center of the bottom surface. In order to cover all vision conditions, the first set radius can be a larger length (such as 1.5 meters, 2 meters, determined according to different types of display screens); the viewpoint is used to characterize the relative position of the visual device and the display screen. The coordinates of the viewpoint can be used to determine the distance between the visual device and the display screen at the viewpoint and the viewing angle; the first length, the second length and the third length can be set to smaller lengths (for example, each length can be a value in the range of 3cm~5cm), so that the obtained viewpoints can be denser to improve the accuracy of detection; the second set radius can be The length of the cylinder is slightly larger than the length of the display screen (for example, 15 cm, 20 cm, depending on the size of the display screen), so that the area within the cylinder can be equivalent to the viewpoint range of the user of the display screen. The viewpoints in this range are not the viewpoints of the voyeur, so the viewpoints in this range are removed, and the remaining viewpoints are potential voyeur viewpoints; the process of determining the viewpoint is carried out in a computer device. After the viewpoint is determined, a corresponding spatial rectangular coordinate system can be generated in the field of view of the visual device, thereby determining the coordinates of the visual device, and moving the visual device accordingly, so that the visual device reaches the coordinates corresponding to any viewpoint, so that the visual device can reach the spatial position corresponding to the viewpoint and capture images at this position.
[0018] As a preferred embodiment, the test content is a set number of characters arranged in a set order, and the display content is a column of characters recognized by the recognition end on the display screen within the image; Compare the displayed content with the test content to obtain the content consistency of the image, including: For each captured image, determine whether each character of the test content matches the corresponding character of the displayed content, and then calculate the content matching degree corresponding to the image using the following formula: in, For content consistency, To test the number of characters in the content, The number of characters in the test content that match the corresponding characters in the displayed content.
[0019] The recognition accuracy under the lighting environment is determined based on the content matching degree of each image, including: Determine the corresponding recognition difficulty coefficient according to the viewpoint corresponding to each image; For the content consistency of each image, the content consistency is corrected according to the corresponding recognition difficulty coefficient; The recognition accuracy under the lighting environment is determined based on the matching degree of each corrected content.
[0020] Determining the corresponding recognition difficulty coefficient based on the viewpoint corresponding to each image includes: For each acquired image, determine the viewpoint corresponding to the image; Connect the viewpoint with the origin of the spatial rectangular coordinate system to obtain the line of sight; Identify the length of the line of sight and the angle between the line of sight and the z-axis of the spatial coordinate system; The recognition difficulty coefficient corresponding to the image is calculated by the following formula: Among them, H is the recognition difficulty coefficient, is the length of the line of sight, is the adjustment coefficient of L, is the angle between the line of sight and the z-axis of the spatial coordinate system, for The adjustment factor.
[0021] The recognition accuracy under this lighting environment is calculated using the following formula: in, is the recognition accuracy under this lighting environment, is the content matching degree of the i-th image, is the recognition difficulty coefficient of the i-th image, and n is the total number of images collected.
[0022] In this embodiment, the set number of characters can be 3, 5 or other numbers. For example, for the test content 'ABC', the set order is 'A' for the first digit, 'B' for the second digit, and 'C' for the third digit. For any character in the displayed content, when comparing it with the characters in the test content, not only the characters must be consistent, but also the position of the characters must be consistent to be considered as matching the corresponding characters in the test content.
[0023] In this embodiment, and It is used to adjust the corresponding parameters to the appropriate order of magnitude. Users can select according to the actual accuracy requirements and are not limited here. The longer the line of sight is, the greater the angle between the line of sight and the z-axis of the spatial coordinate system is, and the higher the recognition difficulty coefficient is. That is, this detection takes into account the recognition difficulty of each different viewpoint, has higher simulation, and can further improve the accuracy of the detection.
[0024] In this embodiment, the anti-peeping score of the anti-peeping film is calculated by the following formula: Among them, S is the anti-peeping score, is the recognition accuracy corresponding to the jth lighting environment, m is the number of preset lighting environments, An adjustment factor for anti-sneak peek scores.
[0025] In this implementation, Used to adjust the corresponding parameters to an appropriate order of magnitude, which can be selected by the user according to the actual accuracy requirements and is not limited here. The formula of this embodiment can be used to calculate the corresponding anti-peeping score based on the recognition accuracy obtained under various lighting environments. The higher the recognition accuracy, the lower the anti-peeping score obtained in the end. If the anti-peeping score exceeds the preset score, the anti-peeping film meets the standard. Otherwise, the anti-peeping film does not meet the standard.
[0026] like Figure 4 As shown, in one embodiment, a device for detecting the anti-peeping effect of an anti-peeping film is provided, and a module in the device for detecting the anti-peeping effect of an anti-peeping film is used to execute the anti-peeping effect detection method of the anti-peeping film, specifically comprising: A start-up module, used for starting the display screen when the anti-peeping film is placed on the display screen; A control module, used to control the display screen to display test content; The lighting adjustment module is used to adjust the working parameters of the ambient lighting equipment to create a preset lighting environment; A position moving module, used for adjusting the relative position between the visual device and the display screen under the lighting environment, and collecting images including the display screen under different relative positions; A forwarding module, for sending each captured image to a recognition terminal, so that the recognition terminal can recognize the display content on the display screen in the image; The first processing module is used to compare the display content with the test content after receiving the display content returned by the recognition end to obtain the content consistency degree corresponding to the image; The second processing module is used to determine the recognition accuracy under the lighting environment according to the content matching degree corresponding to each image; The third processing module is used to change the working parameters of the ambient lighting device to create another preset lighting environment, and execute steps S4 to S8, and repeat the steps until the recognition accuracy rate under each lighting environment is obtained; The fourth processing module is used to determine the anti-peeping score of the anti-peeping film according to the recognition accuracy under each lighting environment, and judge whether the anti-peeping score is higher than the preset score. If so, the anti-peeping effect of the anti-peeping film meets the standard; otherwise, the anti-peeping effect of the anti-peeping film does not meet the standard.
[0027] The process of each module in the anti-peeping effect detection device of the anti-peeping film provided in the embodiment of the present application realizing its own function can be specifically referred to the aforementioned Figure 1 The description of the illustrated embodiment will not be repeated here.
[0028] like Figure 5 As shown, in one embodiment, a system for detecting an anti-peeping effect of an anti-peeping film is provided, the system comprising: A display screen, used to display test content; A visual device for collecting images; A moving device, the visual device is mounted on the moving device, and the moving device is used to move the visual device to change the relative position between the visual device and the display screen; Ambient lighting equipment, used to create a preset lighting environment; The recognition end is used to recognize the image collected by the visual device; The computer device is connected with the display screen, the visual device, the mobile device, the ambient lighting device and the identification terminal, and is used to execute the anti-peeping effect detection method of the anti-peeping film.
[0029] In this embodiment, the computer device cooperates with the display screen, the visual device, the mobile device, the ambient lighting device and the recognition terminal to execute the anti-peeping effect detection method of the anti-peeping film. By adjusting the relative position of the visual device and the display screen equipped with the anti-peeping film, the simulation of the human eye distinguishing the display content from multiple different distances and viewing angles can be achieved, with high simulation, and the simulation can be performed under different lighting environments, making the simulation more comprehensive, thereby making the anti-peeping score derived therefrom have higher accuracy, thereby accurately judging the anti-peeping effect of the anti-peeping film.
[0030] FIG. Y shows an internal structure diagram of a computer device in one embodiment. Figure 6As shown, the computer device includes a processor, a memory, a network interface, an input device and a display screen connected through a system bus. Among them, the memory includes a non-volatile storage medium and an internal memory. The non-volatile storage medium of the computer device stores an operating system and may also store a computer program. When the computer program is executed by the processor, the processor can implement the anti-peeping effect detection method of the anti-peeping film provided in the embodiment of the present invention. The internal memory may also store a computer program. When the computer program is executed by the processor, the processor can execute the anti-peeping effect detection method of the anti-peeping film provided in the embodiment of the present invention. The display screen of the computer device may be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device may be a touch layer covered on the display screen, or a key, trackball or touchpad provided on the computer device housing, or an external keyboard, touchpad or mouse, etc.
[0031] Those skilled in the art will understand that Figure 6 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present invention, and does not constitute a limitation on the computer device to which the solution of the present invention is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0032] In one embodiment, the anti-peeping effect detection device of the anti-peeping film provided by the embodiment of the present invention can be implemented in the form of a computer program. The computer program can be Figure 6 The computer device shown in the figure is run. The memory of the computer device can store various program modules constituting the anti-peeping effect detection device of the anti-peeping film, for example, Figure 4 The computer program composed of the starting module, control module, light adjustment module, position movement module, forwarding module, first processing module, second processing module, third processing module and fourth processing module shown in the figure enables the processor to execute the steps of the anti-peeping effect detection method of the anti-peeping film of each embodiment of the present invention described in this specification.
[0033] For example, Figure 6 The computer device shown can be Figure 4 The starting module in the anti-peeping effect detection device of the anti-peeping film shown executes step S1; the computer device can execute step S2 through the control module; the computer device can execute step S3 through the light adjustment module; the computer device can execute step S4 through the position movement module; the computer device can execute step S5 through the forwarding module; the computer device can execute step S6 through the first processing module; the computer device can execute step S7 through the second processing module; the computer device can execute step S8 through the third processing module; the computer device can execute step S9 through the fourth processing module.
[0034] In one embodiment, a computer device is provided, the computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the following steps are implemented: S1: When the anti-peeping film is placed on the display screen, start the display screen; S2: Control the display screen to display the test content; S3: Adjust the working parameters of the ambient lighting equipment to create a preset lighting environment; S4: adjusting the relative position between the visual device and the display screen under the lighting environment, and collecting images including the display screen at different relative positions; S5: For each captured image, the image is sent to the recognition end so that the recognition end recognizes the display content on the display screen in the image; S6: After receiving the display content sent back by the recognition end, the display content is compared with the test content to obtain the content consistency corresponding to the image; S7: Determine the recognition accuracy under the lighting environment according to the degree of content matching corresponding to each image; S8: changing the working parameters of the ambient lighting device to create another preset lighting environment, executing steps S4 to S8, and repeating this step until the recognition accuracy rate under each lighting environment is obtained; S9: Determine the anti-peeping score of the anti-peeping film according to the recognition accuracy under each lighting environment, and judge whether the anti-peeping score is higher than a preset score. If so, the anti-peeping effect of the anti-peeping film meets the standard; otherwise, the anti-peeping effect of the anti-peeping film does not meet the standard.
[0035] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the processor performs the following steps: S1: When the anti-peeping film is placed on the display screen, start the display screen; S2: Control the display screen to display the test content; S3: Adjust the working parameters of the ambient lighting equipment to create a preset lighting environment; S4: adjusting the relative position between the visual device and the display screen under the lighting environment, and collecting images including the display screen at different relative positions; S5: For each captured image, the image is sent to the recognition end so that the recognition end recognizes the display content on the display screen in the image; S6: After receiving the display content sent back by the recognition end, the display content is compared with the test content to obtain the content consistency corresponding to the image; S7: Determine the recognition accuracy under the lighting environment according to the degree of content matching corresponding to each image; S8: changing the working parameters of the ambient lighting device to create another preset lighting environment, executing steps S4 to S8, and repeating this step until the recognition accuracy rate under each lighting environment is obtained; S9: Determine the anti-peeping score of the anti-peeping film according to the recognition accuracy under each lighting environment, and judge whether the anti-peeping score is higher than a preset score. If so, the anti-peeping effect of the anti-peeping film meets the standard; otherwise, the anti-peeping effect of the anti-peeping film does not meet the standard.
[0036] It should be understood that, although each step in the flow chart of each embodiment of the present invention is shown in sequence according to the indication of the arrow, these steps are not necessarily performed in sequence according to the order indicated by the arrow. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be performed in other orders. Moreover, at least a portion of the steps in each embodiment may include a plurality of sub-steps or a plurality of stages, and these sub-steps or stages are not necessarily performed at the same time, but can be performed at different times, and the execution order of these sub-steps or stages is not necessarily performed in sequence, but can be performed in turn or alternately with at least a portion of other steps or sub-steps or stages of other steps.
[0037] A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment method can be completed by instructing the relevant hardware through a computer program, and the program can be stored in a non-volatile computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided by the present invention can include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
[0038] The technical features of the above-described embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above-described embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0039] The above-mentioned embodiments only express several implementation methods of the present invention, and the description thereof is relatively specific and detailed, but it cannot be understood as limiting the scope of the present invention. It should be pointed out that, for ordinary technicians in this field, several variations and improvements can be made without departing from the concept of the present invention, which all belong to the protection scope of the present invention.
Claims
1. A method for detecting the anti-peeping effect of an anti-peeping film, characterized in that: The method comprises: S1: When the anti-peeping film is placed on the display screen, start the display screen; S2: Control the display screen to display the test content; S3: Adjust the working parameters of the ambient lighting equipment to create a preset lighting environment; S4: adjusting the relative position between the visual device and the display screen under the lighting environment, and collecting images including the display screen at different relative positions; S5: For each captured image, the image is sent to the recognition end so that the recognition end recognizes the display content on the display screen in the image; S6: After receiving the display content sent back by the recognition end, the display content is compared with the test content to obtain the content consistency corresponding to the image; S7: Determine the recognition accuracy under the lighting environment according to the degree of content matching corresponding to each image; S8: changing the working parameters of the ambient lighting device to create another preset lighting environment, executing steps S4 to S8, and repeating this step until the recognition accuracy rate under each lighting environment is obtained; S9: Determine the anti-peeping score of the anti-peeping film according to the recognition accuracy under each lighting environment, and judge whether the anti-peeping score is higher than a preset score. If so, the anti-peeping effect of the anti-peeping film meets the standard; otherwise, the anti-peeping effect of the anti-peeping film does not meet the standard.
2. The method according to claim 1, characterized in that: The step of adjusting the relative position between the visual device and the display screen and collecting images including the display screen at different relative positions comprises: S41: determining a visible range of the display screen, and determining a plurality of viewpoints in the visible range that are at different relative positions to the display screen; S42: moving the visual device to a spatial position corresponding to a viewpoint; S43: Controlling the visual device to face the display screen at the spatial position to capture an image including the display screen; S44: Move the visual device to a spatial position corresponding to another viewpoint, and execute steps S43 to S44 until the visual device captures an image including the display screen at the spatial position corresponding to each viewpoint.
3. The method according to claim 2, characterized in that Determine the visible range of the display screen, and determine several viewpoints in different relative positions to the display screen in the visible range, including: S411: Generate an xyz three-axis spatial rectangular coordinate system with the center of the display screen as the origin; S412: Generate a hemisphere with a radius of a first set radius with the center of the display screen as the bottom center, wherein the bottom surface of the hemisphere is in the xy plane of the spatial rectangular coordinate system; S413: generating evenly spaced feature points on the bottom circular edge line of the hemisphere, wherein the distance between any two adjacent feature points on the bottom circular edge line is a preset first length; S414: generating a feature point on the top of the hemisphere, and connecting the feature point with the feature points on the circular edge line of the bottom surface to form a plurality of curves; S415: generating evenly spaced feature points on each curve, wherein the distance between any two adjacent feature points on the curve is a preset second length; S416: Record the spatial coordinates of each feature point; S417: reducing the radius of the hemisphere by a preset third length to obtain an adjusted hemisphere, and recording the spatial coordinates of each feature point on the adjusted hemisphere, and repeating this step until the radius of the hemisphere is smaller than a preset minimum radius; S418: removing the hemisphere and generating a corresponding viewpoint at each recorded spatial coordinate; S419: Generate a circle with a second set radius and located in the xy plane with the center of the display screen as the center, and generate a cylinder with the circle as the base, and then remove the viewpoints within the cylinder. The remaining viewpoints are regarded as viewpoints within the visible range of the display screen, wherein the height of the cylinder is longer than the length of the first set radius.
4. The method according to claim 3, characterized in that The test content is a set number of characters arranged in a set order, and the display content is a column of characters recognized by the recognition end on the display screen within the image; Compare the displayed content with the test content to obtain the content consistency of the image, including: For each captured image, determine whether each character of the test content matches the corresponding character of the displayed content, and then calculate the content matching degree corresponding to the image using the following formula: in, For content consistency, To test the number of characters in the content, The number of characters in the test content that match the corresponding characters in the displayed content.
5. The method according to claim 4, characterized in that The recognition accuracy under the lighting environment is determined based on the content matching degree of each image, including: Determine the corresponding recognition difficulty coefficient according to the viewpoint corresponding to each image; For the content consistency of each image, the content consistency is corrected according to the corresponding recognition difficulty coefficient; The recognition accuracy under the lighting environment is determined based on the matching degree of each corrected content.
6. The method according to claim 5, characterized in that Determining the corresponding recognition difficulty coefficient based on the viewpoint corresponding to each image includes: For each acquired image, determine the viewpoint corresponding to the image; Connect the viewpoint with the origin of the spatial rectangular coordinate system to obtain the line of sight; Identify the length of the line of sight and the angle between the line of sight and the z-axis of the spatial coordinate system; The recognition difficulty coefficient corresponding to the image is calculated by the following formula: Among them, H is the recognition difficulty coefficient, is the length of the line of sight, is the adjustment coefficient of L, is the angle between the line of sight and the z-axis of the spatial coordinate system, for The adjustment factor.
7. The method according to claim 6, characterized in that The recognition accuracy under this lighting environment is calculated using the following formula: in, is the recognition accuracy under this lighting environment, is the content matching degree of the i-th image, is the recognition difficulty coefficient of the i-th image, and n is the total number of images collected.
8. The method according to claim 7, characterized in that The anti-peeping score of the anti-peeping film is calculated by the following formula: Among them, S is the anti-peeping score, is the recognition accuracy corresponding to the jth lighting environment, m is the number of preset lighting environments, An adjustment factor for anti-sneak peek scores.
9. A device for detecting the anti-peeping effect of an anti-peeping film, characterized in that: The module in the anti-peeping effect detection device of the anti-peeping film is used to execute the anti-peeping effect detection method of the anti-peeping film according to claim 1, specifically comprising: A start-up module, used for starting the display screen when the anti-peeping film is placed on the display screen; A control module, used to control the display screen to display test content; The lighting adjustment module is used to adjust the working parameters of the ambient lighting equipment to create a preset lighting environment; A position moving module, used for adjusting the relative position between the visual device and the display screen under the lighting environment, and collecting images including the display screen under different relative positions; A forwarding module, for sending each captured image to a recognition terminal, so that the recognition terminal can recognize the display content on the display screen in the image; The first processing module is used to compare the display content with the test content after receiving the display content returned by the recognition end to obtain the content consistency degree corresponding to the image; The second processing module is used to determine the recognition accuracy under the lighting environment according to the content matching degree corresponding to each image; The third processing module is used to change the working parameters of the ambient lighting device to create another preset lighting environment, and execute steps S4 to S8, and repeat the steps until the recognition accuracy rate under each lighting environment is obtained; The fourth processing module is used to determine the anti-peeping score of the anti-peeping film according to the recognition accuracy under each lighting environment, and judge whether the anti-peeping score is higher than the preset score. If so, the anti-peeping effect of the anti-peeping film meets the standard; otherwise, the anti-peeping effect of the anti-peeping film does not meet the standard.
10. A system for detecting the anti-peeping effect of an anti-peeping film, characterized in that: The system comprises: A display screen, used to display test content; A visual device for collecting images; A moving device, the visual device is mounted on the moving device, and the moving device is used to move the visual device to change the relative position between the visual device and the display screen; Ambient lighting equipment, used to create a preset lighting environment; The recognition end is used to recognize the image collected by the visual device; A computer device is connected to a display screen, a visual device, a mobile device, an ambient lighting device and an identification terminal, and is used to execute the anti-peeping effect detection method of the anti-peeping film as described in any one of claims 1-8.
Citation Information
Patent Citations
Screen defect multi-angle detection device
CN109030500A
Image recognition method, device and system
CN110070015A
Character string fuzzy matching system and method for image recognition result
CN112215216A
LED display screen detection method, detection system, equipment and storage medium
CN117890086A
Screen film pasting detection method and device, electronic equipment and storage medium
CN118150599A