Screen detection method and device, electronic equipment and storage medium
By displaying a dynamic border at the edge of the phone screen and using the front-facing camera for shooting and server-side verification, the problem of low efficiency and accuracy of photo recognition and detection in mobile phone screen breakage insurance is solved, achieving efficient and accurate screen damage detection.
Patent Information
- Application Number
- CN202210118874.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-02-08
- Publication Date
- 2026-02-17
- Estimated Expiration
- 2042-02-08
AI Technical Summary
In the process of applying for mobile phone screen breakage insurance, the existing technology has low efficiency and accuracy in recognizing and detecting damage from photos, making it difficult to effectively verify the extent of screen damage.
A dynamic border is displayed at the edge of the screen in the shooting interface. The front-facing camera is used to capture a screen inspection image. The server performs qualification verification and damage detection based on the verification parameters of the dynamic border and receives the damage detection results.
It improves the efficiency and accuracy of screen detection, prevents old images or multiple device shots, ensures accurate positioning of the detection area, avoids obstruction or incomplete shooting, and improves the success rate of damage detection and image quality.
Smart Images

Figure CN114549433B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of image processing, and in particular to a screen detection method and device, electronic equipment and storage medium. BACKGROUND
[0002] With the rapid development of the mobile phone industry and the change of consumer awareness, more and more mobile phone users begin to purchase mobile phone screen insurance, so as to realize the protection service of the mobile phone screen.
[0003] However, in the process of purchasing mobile phone screen insurance, the recognition and detection efficiency of the photographed picture is faced with problems. For example, a dynamic number is displayed on the mobile phone screen, the dynamic number is used as the unique code of the current photographed mobile phone, and the user is guided to face the mirror and take a picture of the mobile phone. However, the recognition and detection efficiency and accuracy of the photographed picture are low. SUMMARY
[0004] The present application provides a screen detection method and device, electronic equipment and storage medium.
[0005] The first aspect of the present application provides a screen detection method, comprising: displaying a dynamic frame on the edge of the screen of a shooting interface; in response to a screen shooting instruction, controlling a front camera to shoot a screen in a mirror to generate a screen detection picture; uploading the screen detection picture to a server, so that the server performs shooting qualification verification on the screen detection picture according to the verification parameter of the dynamic frame in the screen detection picture, and performs screen damage detection on the picture in the region corresponding to the position of the dynamic frame after the verification is passed; receiving the screen damage detection result sent by the server.
[0006] The screen detection method of the present application displays a dynamic frame on the edge of the screen of the shooting interface, and in response to a screen shooting instruction, controls a front camera to shoot a screen in a mirror to generate a screen detection picture and upload it to a server, so that the server performs shooting qualification verification on the screen detection picture according to the verification parameter of the dynamic frame in the screen detection picture, and performs screen damage detection on the picture in the region corresponding to the position of the dynamic frame after the verification is passed. The screen damage detection result sent by the server is received. In this embodiment, the dynamic frame displayed on the edge of the screen can realize the shooting qualification verification of the screen detection picture and the screen damage detection of the picture in the corresponding region, and can quickly locate the detection region of the screen detection picture, improve the efficiency of the screen detection, and improve the accuracy of the screen detection because the dynamic frame is displayed on the edge of the screen and does not affect the screen damage detection.
[0007] The second aspect embodiment of the application provides a screen detection method, comprising: receiving a screen detection picture sent by a client; identifying a verification parameter and a position of a dynamic frame of a screen edge in the screen detection picture; performing shooting qualification verification on the screen detection picture according to the verification parameter of the dynamic frame; if the verification is passed, performing screen damage detection on a picture in a region corresponding to the position of the dynamic frame; and sending a screen damage detection result to the client.
[0008] The screen detection method provided by the embodiments of the application receives a screen detection picture sent by a client and identifies a verification parameter and a position of a dynamic frame of a screen edge in the screen detection picture, performs shooting qualification verification on the screen detection picture according to the verification parameter of the dynamic frame, if the verification is passed, performs screen damage detection on a picture in a region corresponding to the position of the dynamic frame, and sends a screen damage detection result to the client. In the embodiments of the application, the dynamic frame displayed at the screen edge can be used to perform shooting qualification verification on the screen detection picture, so that screen damage detection can be performed on a picture in a corresponding region, the detection region of the screen detection picture can be quickly located, the efficiency of screen detection is improved, and since the dynamic frame is displayed at the screen edge, the screen damage detection is not affected, and the accuracy of screen detection is improved.
[0009] The third aspect embodiment of the application provides a screen detection device, comprising: a display module configured to display a dynamic frame at a screen edge of a shooting interface; a control module configured to control a front camera to shoot a screen in a mirror to generate a screen detection picture in response to a screen shooting instruction; an upload module configured to upload the screen detection picture to a server, so that the server performs shooting qualification verification on the screen detection picture according to a verification parameter of the dynamic frame in the screen detection picture, and performs screen damage detection on a picture in a region corresponding to a position of the dynamic frame after the verification is passed; and a first receiving module configured to receive a screen damage detection result sent by the server.
[0010] The screen detection device provided in the embodiments of the present application displays a dynamic frame at the edge of the screen of a shooting interface, and controls the front camera to shoot the screen in the mirror in response to a screen shooting instruction, to generate a screen detection picture and upload the screen detection picture to a server, so that the server performs shooting qualification verification on the screen detection picture according to the verification parameter of the dynamic frame in the screen detection picture, and performs screen damage detection on the picture in the region corresponding to the position of the dynamic frame after the verification is passed, and receives the screen damage detection result sent by the server. In the embodiments, the dynamic frame displayed at the edge of the screen can be used to perform shooting qualification verification on the screen detection picture, so that the picture in the corresponding region is subjected to screen damage detection, and the detection region of the screen detection picture can be quickly located, the efficiency of screen detection is improved, and since the dynamic frame is displayed at the edge of the screen, the screen damage detection is not affected, and the accuracy of screen detection is improved.
[0011] The fourth aspect of the present application provides a screen detection device, comprising: a second receiving module configured to receive a screen detection picture sent by a client; an identification module configured to identify a verification parameter and a position of a dynamic frame of a screen edge in the screen detection picture; a verification module configured to perform shooting qualification verification on the screen detection picture according to the verification parameter of the dynamic frame; a detection module configured to, if the verification is passed, perform screen damage detection on a picture in a region corresponding to the position of the dynamic frame; and a sending module configured to send a screen damage detection result to the client.
[0012] The screen detection device provided in the embodiments of the present application receives a screen detection picture sent by a client and identifies a verification parameter and a position of a dynamic frame of a screen edge in the screen detection picture, performs shooting qualification verification on the screen detection picture according to the verification parameter of the dynamic frame, performs screen damage detection on a picture in a region corresponding to the position of the dynamic frame if the verification is passed, and sends a screen damage detection result to the client. In the embodiments of the present application, the dynamic frame displayed at the edge of the screen can be used to perform shooting qualification verification on the screen detection picture, so that the picture in the corresponding region is subjected to screen damage detection, and the detection region of the screen detection picture can be quickly located, the efficiency of screen detection is improved, and since the dynamic frame is displayed at the edge of the screen, the screen damage detection is not affected, and the accuracy of screen detection is improved.
[0013] The fifth aspect of the present application provides an electronic device, comprising: at least one processor; and a memory connected with the at least one processor in communication; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the screen detection method in the first aspect or the second aspect of the present application.
[0014] A sixth aspect of this application provides a computer-readable storage medium storing computer instructions for causing the computer to perform the screen detection method as described in the first or second aspect embodiments above.
[0015] Additional aspects and advantages of this application will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of this application. Attached Figure Description
[0016] The above and / or additional aspects and advantages of this application will become apparent and readily understood from the following description of the embodiments taken in conjunction with the accompanying drawings, wherein:
[0017] Figure 1 A schematic flowchart of a screen detection method provided in an embodiment of this application;
[0018] Figure 2 A diagram of the screen image capture interface. Figure 1 ;
[0019] Figure 3 This is a diagram illustrating RGB colors;
[0020] Figure 4 A schematic diagram of the screen detection image capture completion interface;
[0021] Figure 5 A schematic flowchart of a screen detection method provided in another embodiment of this application;
[0022] Figure 6 A diagram of the screen image capture interface. Figure 2 ;
[0023] Figure 7 A schematic flowchart of a screen detection method provided in another embodiment of this application;
[0024] Figure 8 A schematic flowchart of a screen detection method provided in another embodiment of this application;
[0025] Figure 9 A signaling interaction diagram of a screen detection method provided in another embodiment of this application;
[0026] Figure 10 This is a schematic diagram of the structure of a screen detection device provided in an embodiment of this application;
[0027] Figure 11 This is a schematic diagram of the structure of a screen detection device provided in another embodiment of this application;
[0028] Figure 12 This is a schematic diagram of the structure of a screen detection device provided in another embodiment of this application;
[0029] Figure 13 This is a schematic diagram of the structure of a screen detection device provided in another embodiment of this application;
[0030] Figure 14 A block diagram of an electronic device provided in an embodiment of this application. Detailed Implementation
[0031] The embodiments of this application are described in detail below. Examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and intended to explain this application, and should not be construed as limiting this application.
[0032] Image processing (IP) is a technique that uses computers to analyze images to achieve desired results; it is also known as image processing. Image processing generally refers to digital image processing. A digital image is a large two-dimensional array obtained by taking pictures with equipment such as industrial cameras, video cameras, and scanners. The elements of this array are called pixels, and their values are called grayscale values. Image processing techniques generally include three parts: image compression, enhancement and restoration, and matching, description, and recognition.
[0033] The screen detection method, apparatus, electronic device, and storage medium of this application are described below with reference to the accompanying drawings.
[0034] Figure 1 This is a flowchart illustrating a screen detection method provided in an embodiment of this application. The screen detection method of this embodiment can be executed by the screen detection device provided in this embodiment. This screen detection device can be located in a client, which can specifically be a user-used terminal device, such as a mobile phone. Figure 1 As shown, the screen detection method in this application embodiment may specifically include the following steps:
[0035] The S101 displays a dynamic border at the edge of the screen in the shooting interface.
[0036] Specifically, dynamic borders are displayed at the edges of the shooting interface, which is the screen display interface of the user's mobile phone or other terminal device when it is in shooting mode. The dynamic borders are the dynamically changing borders, such as dynamic color rings, displayed around the screen edges of the shooting interface that change over time. Figure 2 As shown. The dynamic color circle can calculate and control the color of the color circle according to certain rules, thereby realizing the dynamic diversity of the color circle color. For example, the color of the color circle can change at the second level once per second as time changes. This application embodiment does not impose too many limitations on this.
[0037] It should be noted that the verification parameters of the dynamic frame can include, but are not limited to, at least one of the following: color of the dynamic frame, number of the dynamic frame, and integrity of the dynamic frame. The color of the dynamic frame can be determined according to the display time of the dynamic frame. As a feasible implementation, the red component value, the green component value, and the blue component value in the color of the dynamic frame correspond to the hour, the minute, and the second in the display time one by one. Specifically, there can be six one-to-one corresponding modes, and the corresponding mode can be calibrated according to the actual situation. For example, the red component value corresponds to the hour, the green component value corresponds to the minute, and the blue component value corresponds to the second. The present application does not make too many limitations on this.
[0038] The color of the dynamic frame is controlled based on a set of system time and color matching algorithm rules, and the color and time have a positive or negative matching scheme. The hour (with a value range of 0-23), the minute (with a value range of 0-59), and the second (with a value range of 0-59) are matched with the RGB (Red-Green-Blue, optical three primary colors) color value (with a value range of 0-255), where R, G, and B represent the red component value, the green component value, and the blue component value, respectively. The change of the RGB color value is calculated and controlled by a certain algorithm rule based on the current time, and the corresponding color value is positively output. Of course, the time represented by the current RGB value of the dynamic frame can also be obtained by a reverse rule. For example, in the process of positively outputting the color value, the maximum value of R, G, and B is 255, and the maximum value of the hour is 23. Therefore, the maximum integer multiple of 255 relative to the maximum value of the hour is 255 / 23, which is approximately equal to 11. Similarly, the maximum integer multiple of 255 relative to the maximum value of the minute or the second is 255 / 59, which is approximately equal to 4. The R value corresponding to the hour, the G value corresponding to the minute, and the B value corresponding to the second can be obtained by multiplying the currently obtained hour, minute, and second by the corresponding multiple. Because each time point is unique from 00:00:00 to 23:59:59, the RGB value obtained at different times is also unique. The general rule is that the product of the currently obtained hour, minute, and second and the multiple should be less than 255. For example, if the time is 11:50:48, then R=11*11, G=50*4, and B=48*4, that is, RGB(121, 200, 192), as shown in Figure 3 The R value is set to 121, the G value is set to 200, and the B value is set to 192.
[0039] S102, in response to the screen shooting instruction, controlling the front camera to shoot the screen in the mirror to generate a screen detection picture.
[0040] Specifically, the shooting interface can include a shooting button and guide text guiding the user to face the screen to the mirror for shooting, as shown in Figure 2As shown, the user faces one side of the mobile phone screen to the mirror, and clicks the shooting button in the shooting interface to initiate a screen shooting instruction. The mobile phone shooting system controls the front camera of the mobile phone to shoot the mobile phone screen in the mirror in response to the screen shooting instruction, thereby generating a corresponding screen detection picture used for screen detection and displaying it in the shooting completion interface as shown. Figure 4 As shown, the user faces one side of the mobile phone screen to the mirror, and clicks the shooting button in the shooting interface to initiate a screen shooting instruction. The mobile phone shooting system controls the front camera of the mobile phone to shoot the mobile phone screen in the mirror in response to the screen shooting instruction, thereby generating a corresponding screen detection picture used for screen detection and displaying it in the shooting completion interface as shown.
[0041] It should be noted here that the screen detection picture normally shot must have and only have one complete dynamic frame, i.e., color circle, which can prevent the user from shooting the screen detection picture twice or using multiple devices to shoot the mirror at the same time, thereby avoiding the disturbance to screen recognition and ensuring the effectiveness and efficiency of screen detection.
[0042] S103, uploading the screen detection picture to the server, so that the server performs shooting qualification verification on the screen detection picture based on the verification parameters of the dynamic frame in the screen detection picture, and performs screen damage detection on the picture in the region corresponding to the position of the dynamic frame after the verification is passed.
[0043] Specifically, the user can click the upload button in the shooting completion interface as shown Figure 4 to upload the screen detection picture generated in step S102 to the corresponding server. The server performs shooting qualification verification on the screen detection picture based on the verification parameters of the dynamic frame in the screen detection picture, i.e., verifies whether the shot screen detection picture is qualified. If the picture verification is passed, i.e., the shot screen detection picture is qualified, screen damage detection is performed on the picture in the region corresponding to the position of the dynamic frame.
[0044] It should be noted here that the server detects the picture in the region corresponding to the position of the dynamic frame, i.e., the picture of the corresponding mobile phone screen in the shot screen detection picture, to detect whether there is a damage phenomenon, obtains a damage detection result, i.e., a screen damage detection result, and sends it to the client. The specific way of sending the screen damage detection result is not limited in the embodiments of the application.
[0045] In the embodiments of the application, the server can receive the screen detection picture sent by the client, identify the verification parameters and position of the dynamic frame of the screen edge in the screen detection picture, perform shooting qualification verification on the screen detection picture according to the verification parameters of the dynamic frame, and perform screen damage detection on the picture in the region corresponding to the position of the dynamic frame when the display time of the dynamic frame corresponding to the color of the dynamic frame is consistent with the shooting time of the screen detection picture, the number of dynamic frames is one, and the integrity of the dynamic frame is complete.
[0046] The screen shooting is a customized shooting scheme, only supports using the front camera to shoot the screen of the mobile phone, and does not support uploading an image from the mobile phone album as a screen detection image, thereby preventing the user from using an old image.
[0047] Specifically, after the user completes the shooting of the screen detection image, the server obtains the RGB color value of the dynamic frame in the screen detection image, and reversely calculates the time represented by the RGB color value. The calculated time, i.e., the display time of the dynamic frame, is matched with the time carried in the screen detection image file attribute, i.e., the shooting time of the screen detection image. If the matching results of the two times are consistent, it can be proved that the screen detection image is the initial shooting by the current device. For example, the screen detection image with a dynamic frame shot by the B mobile phone is secondarily shot by the A mobile phone. The shooting time of the screen detection image shot by the A mobile phone, i.e., the shooting time of the screen detection image, is inconsistent with the display time of the dynamic frame corresponding to the RGB color value of the dynamic frame, thereby ensuring that the screen detection image uploaded when the mobile phone screen insurance is applied is real-time shooting by the current mobile phone.
[0048] Further, the general image recognition system or algorithm is easier to recognize regular patterns. Therefore, by displaying a dynamic frame on the edge of the screen during shooting, it is more conducive to quickly locating the position and target to be recognized when recognizing and detecting the shot screen detection image. When the server processes the screen detection image based on the underlying algorithm, the obvious dynamic frame on the screen detection image can help the algorithm to more quickly recognize the position of the mobile phone screen, thereby reducing the detection range in the screen damage detection process, thereby improving the detection efficiency. Moreover, the dynamic frame is displayed on the edge of the screen and does not affect the damage detection of the screen, thereby improving the accuracy of screen detection.
[0049] Further, the server identifies and detects whether the mobile phone screen is completely shot. The server combines a set of underlying region recognition and color recognition algorithms to find and locate the dynamic frame region in the screen detection image. If the dynamic frame in the image is not closed, it indicates that the current shooting mobile phone has an occlusion or incomplete shooting during shooting, and the verification fails.
[0050] S104, receiving the screen damage detection result sent by the server.
[0051] Specifically, the client receives the damage detection result sent by the server, and executes a subsequent process according to the received screen detection result.
[0052] The screen detection method of the embodiment of the present application displays a dynamic frame at the edge of the screen of the shooting interface, responds to a screen shooting instruction, controls the front camera to shoot the screen in the mirror to generate a screen detection picture, uploads the screen detection picture to the server, and performs shooting qualification verification on the screen detection picture according to the verification parameter of the dynamic frame in the screen detection picture, and performs screen damage detection on the picture in the region corresponding to the position of the dynamic frame after the verification is passed, and receives the screen damage detection result sent by the server. In the embodiment, the dynamic frame displayed at the edge of the screen can realize shooting qualification verification of the screen detection picture and screen damage detection on the picture in the corresponding region, and can quickly locate the detection region of the screen detection picture, improve the efficiency of screen detection, and improve the accuracy of screen detection because the dynamic frame is displayed at the edge of the screen and does not affect the screen damage detection. In addition, the verification parameter of the dynamic frame includes the color and number of the dynamic frame, which can avoid screen damage detection using old pictures or screen detection pictures of other terminal devices, and the integrity of the dynamic frame is included in the verification parameter of the dynamic frame, which can identify the shielding or incomplete shooting during shooting, and further improve the accuracy of screen detection.
[0053] Figure 5 The flowchart of the screen detection method provided by another embodiment of the present application is shown in the figure. Figure 5 Based on the above-mentioned Figure 1 The screen detection method of the embodiment of the present application can specifically include the following steps based on the above-mentioned
[0054] S501, in response to a shooting call instruction, wake up the shooting system to enter the shooting interface.
[0055] Specifically, as a feasible implementation manner, the user can initiate a shooting call instruction through an application (APP) installed on the user terminal device, such as a mobile phone. Specifically, the user can click the shooting button or entry in the application to initiate the shooting call instruction, and the mobile phone responds to the shooting call instruction to wake up the shooting system to enter the shooting interface, that is, to wake up the shooting interface.
[0056] S502, display a dynamic frame at the edge of the screen of the shooting interface.
[0057] Specifically, step S502 in the embodiment is the same as step S101 in the above-mentioned embodiment, which will not be described here.
[0058] Step S102 in the above-mentioned embodiment, that is, “in response to a screen shooting instruction, control the front camera to shoot the screen in the mirror to generate a screen detection picture”, can specifically include the following step S503:
[0059] S503, in response to the screen shooting instruction, controlling the front camera to shoot the screen in the mirror for a preset time to generate a screen detection picture.
[0060] Specifically, the user clicks the shooting button in the shooting interface as shown in Figure 2 , initiates a screen shooting instruction, and the phone's shooting system controls the front camera to shoot the phone screen in the mirror in response to the screen shooting instruction. The delay time is preset, for example, 3 seconds. That is, after clicking the shooting button, the shooting interface prompts the delay, and shoots after the preset delay time, for example, as shown in Figure 6 , prompting "the screen will be shot in 3 seconds, please do not move". Through the specific delay prompt, the user is prepared for shooting, avoiding the user's finger from leaving the screen area during shooting, reducing the impact on screen photo recognition detection, and improving the success rate of screen shooting and picture quality.
[0061] S504, in response to the re-shooting instruction, waking up the shooting system to enter the shooting interface.
[0062] Specifically, the user views the screen detection picture in the shooting completion interface as shown in Figure 4 , and if not satisfied, for example, finds that the screen detection picture does not shoot the entire phone screen, etc., clicks the re-shooting button in the shooting completion interface as shown in Figure 4 , initiates a re-shooting instruction. The client wakes up the shooting system to enter the shooting interface in response to the re-shooting instruction to guide the user to re-shoot
[0063] S505, uploading the screen detection picture to the server for the server to perform shooting qualification verification on the screen detection picture according to the verification parameters of the dynamic frame in the screen detection picture, and performing screen damage detection on the picture in the region corresponding to the position of the dynamic frame after the verification is passed.
[0064] Specifically, the user views the screen detection picture in the shooting completion interface as shown in Figure 4 , and if satisfied, clicks the upload button in the shooting completion interface as shown in Figure 4 , uploads the screen detection picture generated in step S503 to the corresponding server. Step S505 in this embodiment is the same as step S103 in the above embodiment, which will not be repeated here.
[0065] S506, receiving the re-shooting reminder information sent by the server after the verification fails.
[0066] Specifically, the server performs a shooting qualification verification on the screen detection picture according to the verification parameter of the dynamic frame in the screen detection picture. If the verification fails, the server sends a re-shooting prompt information to the client. The client receives the re-shooting prompt information.
[0067] S507, according to the re-shooting prompt information, the shooting system is woken up to enter the shooting interface.
[0068] Specifically, the client wakes up the shooting system to enter the shooting interface according to the re-shooting prompt information sent by the server after the verification fails.
[0069] The screen detection method of the embodiment of the application responds to a shooting call instruction, wakes up the shooting system to enter a shooting interface and displays a dynamic frame at the edge of the screen of the shooting interface, controls the front camera to shoot the screen in the mirror for a preset time, responds to a re-shooting instruction, wakes up the shooting system to enter the shooting interface, uploads the screen detection picture to the server, and performs shooting qualification verification on the screen detection picture according to the verification parameter of the dynamic frame in the screen detection picture. After the verification passes, the picture in the region corresponding to the position of the dynamic frame is subjected to screen damage detection. The re-shooting prompt information sent by the server after the verification fails is received, and the shooting system is woken up to enter the shooting interface according to the re-shooting prompt information. In the embodiment, the dynamic frame displayed at the edge of the screen can realize shooting qualification verification on the screen detection picture and screen damage detection on the picture in the corresponding region. The detection region of the screen detection picture can be quickly located, the efficiency of screen detection is improved, and the accuracy of screen detection is improved because the dynamic frame is displayed at the edge of the screen and does not affect the screen damage detection. In addition, the verification parameter of the dynamic frame includes the color and number of the dynamic frame, which can avoid screen damage detection using an old picture or a screen detection picture of another terminal device. The verification parameter of the dynamic frame also includes the integrity of the dynamic frame, which can identify the existence of occlusion or incomplete shooting, and further improve the accuracy of screen detection. In addition, the user is prepared for shooting through delayed shooting and delayed prompting, which avoids the situation that the user's finger is not removed from the screen region during shooting, the screen detection picture is occluded by the finger, the influence on screen photo recognition detection is reduced, and the success rate of screen shooting and the picture quality are improved.
[0070] Figure 7 The flowchart of the screen detection method provided by another embodiment of the application is shown. The screen detection method of the embodiment of the application can be executed by the screen detection device provided by the embodiment of the application, which can be arranged in the server. As shown in the figure, Figure 7 The screen detection method of the embodiment of the application can specifically include the following steps:
[0071] S701, receive a screen detection picture sent by a client.
[0072] S702, identify a verification parameter and a position of a dynamic frame of a screen edge in the screen detection picture.
[0073] S703, perform shooting qualification verification on the screen detection picture according to the verification parameter of the dynamic frame.
[0074] S704, if the verification is passed, perform screen damage detection on a picture in a region corresponding to the position of the dynamic frame.
[0075] S705, send a screen damage detection result to the client.
[0076] It should be noted that the above explanation and description of the screen detection method embodiment also applies to the screen detection method of the present application, and the specific process will not be described here.
[0077] The screen detection method of the present application receives a screen detection picture sent by a client and identifies a verification parameter and a position of a dynamic frame of a screen edge in the screen detection picture, performs shooting qualification verification on the screen detection picture according to the verification parameter of the dynamic frame, if the verification is passed, performs screen damage detection on a picture in a region corresponding to the position of the dynamic frame and sends a screen damage detection result to the client. In the present embodiment, the dynamic frame displayed on the screen edge can be used to perform shooting qualification verification on the screen detection picture and thus screen damage detection on a picture in a corresponding region, and the detection region of the screen detection picture can be quickly located, which improves the efficiency of screen detection, and since the dynamic frame is displayed on the screen edge, it does not affect the screen damage detection, which improves the accuracy of screen detection.
[0078] Figure 8 A flowchart of a screen detection method provided by another embodiment of the present application is shown. As shown in the figure, on the basis of the above-mentioned Figure 8 embodiment, the screen detection method of the present application can specifically include the following steps: Figure 7
[0079] S801, receive a screen detection picture sent by a client.
[0080] S802, identify a verification parameter and a position of a dynamic frame of a screen edge in the screen detection picture.
[0081] The verification parameter of the dynamic frame can specifically include but is not limited to at least one of the following: a color of the dynamic frame, a number of the dynamic frame and integrity of the dynamic frame, etc.
[0082] When the verification parameters of the dynamic frame include the color of the dynamic frame, the number of the dynamic frame and the integrity of the dynamic frame, the step S703 "performing shooting qualification verification on the screen detection picture according to the verification parameters of the dynamic frame" in the above embodiment can specifically include the following step S803:
[0083] S803, when the display time of the dynamic frame corresponding to the color of the dynamic frame is consistent with the shooting time of the screen detection picture, the number of the dynamic frame is one, and the integrity of the dynamic frame is complete, the verification is passed.
[0084] S804, when the verification is passed, performing screen break detection on the picture in the region corresponding to the position of the dynamic frame.
[0085] S805, sending the screen break detection result to the client.
[0086] S806, when the verification is not passed, sending the re-shooting reminding information to the client, so that the client generates the screen detection picture again according to the re-shooting reminding information.
[0087] Among them, the red component value, the green component value and the blue component value in the color of the dynamic frame correspond to the hour, the minute and the second in the display time one by one.
[0088] It should be noted that the above explanation and description of the screen detection method embodiment also applies to the screen detection method of the present embodiment, and the specific process will not be described here.
[0089] The screen detection method provided in the embodiments of the present application receives a screen detection picture sent by a client and identifies the verification parameters and positions of the dynamic frames of the screen edges in the screen detection picture, performs shooting qualification verification on the screen detection picture according to the verification parameters of the dynamic frames, and when the display time of the dynamic frame corresponding to the color of the dynamic frame is consistent with the shooting time of the screen detection picture, the number of the dynamic frame is one, and the integrity of the dynamic frame is complete, the verification is passed. If the verification is passed, the screen damage detection is performed on the picture in the region corresponding to the position of the dynamic frame, and the screen damage detection result is sent to the client. If the verification is not passed, the re-shooting prompt information is sent to the client, so that the client generates a screen detection picture again according to the re-shooting prompt information. In the embodiments, the dynamic frame displayed on the screen edge can realize the shooting qualification verification on the screen detection picture, so that the screen damage detection is performed on the picture in the corresponding region, the detection region of the screen detection picture can be quickly located, the efficiency of the screen detection is improved, and the accuracy of the screen detection is improved because the dynamic frame is displayed on the screen edge and does not affect the screen damage detection. In addition, the verification parameters of the dynamic frame include the color and number of the dynamic frame, so that the user can avoid using an old picture or a screen detection picture of a screen of another terminal device for screen damage detection. The verification parameters of the dynamic frame further include the integrity of the dynamic frame, so that the case that the screen is blocked or incompletely shot during shooting can be identified, and the accuracy of the screen detection is further improved.
[0090] To more clearly describe the screen detection method provided in the embodiments of the present application, the following Figure 9 will be described in detail in conjunction with Figure 9 the accompanying drawings. The signaling interaction diagram of the screen detection method provided in another embodiment of the present application.
[0091] As shown in Figure 9 , the screen detection method provided in the embodiments of the present application is implemented based on a client and a server, and specifically can include the following steps:
[0092] S901, the client wakes up a shooting system to enter a shooting interface in response to a shooting calling instruction.
[0093] S902, the client displays a dynamic frame on the screen edge of the shooting interface.
[0094] S903, the client controls a front camera to shoot the screen in the mirror for a preset time in response to a screen shooting instruction, to generate a screen detection picture. Step S904 or S910 is executed.
[0095] S904, the client uploads the screen detection picture to the server in response to an uploading instruction.
[0096] S905, the server identifies the verification parameters and positions of the dynamic frames in the screen detection picture.
[0097] S906, the server performs shooting qualification verification on the screen detection picture according to the verification parameter of the dynamic frame in the screen detection picture. Step S907 or S908 is continued to be executed.
[0098] S907, after the server verifies that the screen detection picture is passed, the server performs screen damage detection on the picture in the region corresponding to the position of the dynamic frame, and sends the screen damage detection result to the client.
[0099] S908, after the server verifies that the screen detection picture is not passed, the server sends a re-shooting reminder information to the client.
[0100] S909, the client wakes up the shooting system to enter the shooting interface according to the re-shooting reminder information.
[0101] S910, the client wakes up the shooting system to enter the shooting interface in response to the re-shooting instruction.
[0102] In order to realize the above-mentioned embodiment, the embodiment of the application also proposes a screen detection device. Figure 10 The screen detection device of the embodiment of the application is shown in the structure diagram of the screen detection device of the embodiment of the application. The screen detection device 1000 of the embodiment of the application can be arranged in the client. As shown in the figure, the screen detection device 1000 of the embodiment of the application can specifically include a display module 1001, a control module 1002, an upload module 1003 and a first receiving module 1004. Figure 10
[0103] The display module 1001 is configured to display a dynamic frame at the edge of the screen of the shooting interface.
[0104] The control module 1002 is configured to control the front camera to shoot the screen in the mirror to generate a screen detection picture in response to a screen shooting instruction.
[0105] The upload module 1003 is configured to upload the screen detection picture to the server, so that the server performs shooting qualification verification on the screen detection picture according to the verification parameter of the dynamic frame in the screen detection picture, and performs screen damage detection on the picture in the region corresponding to the position of the dynamic frame after the verification is passed.
[0106] The first receiving module 1004 is configured to receive the screen damage detection result sent by the server.
[0107] It should be noted that the above explanation and description of the screen detection method embodiment are also applicable to the screen detection device of the embodiment of the application, and the specific process will not be described here.
[0108] The screen detection device of the embodiment of the present application displays a dynamic frame on the screen edge of the shooting interface, responds to a screen shooting instruction, controls the front camera to shoot the screen in the mirror to generate a screen detection picture, uploads the screen detection picture to the server, and performs shooting qualification verification on the screen detection picture according to the verification parameter of the dynamic frame in the screen detection picture, and performs screen damage detection on the picture in the region corresponding to the position of the dynamic frame after the verification is passed, and receives the screen damage detection result sent by the server. In the embodiment, the dynamic frame displayed on the screen edge can realize the shooting qualification verification of the screen detection picture, so as to perform screen damage detection on the picture in the corresponding region, and the detection region of the screen detection picture can be quickly positioned, the efficiency of screen detection is improved, and the accuracy of screen detection is improved because the dynamic frame is displayed on the screen edge and does not affect the screen damage detection. In addition, the verification parameter of the dynamic frame includes the color and number of the dynamic frame, which can avoid that the user uses an old picture or a screen detection picture of a screen of another terminal device to perform screen damage detection, and the verification parameter of the dynamic frame further includes the integrity of the dynamic frame, which can identify the shielding or incomplete shooting during shooting, and further improve the accuracy of screen detection.
[0109] To realize the above-mentioned embodiments, the embodiment of the present application further provides a screen detection device. Figure 11 The structure diagram of the screen detection device of another embodiment of the present application is shown in FIG. 10. As shown in FIG. 10, the screen detection device of the embodiment of the present application can include a display module 1001, a control module 1002, a shooting module 1003 and a screen damage detection module 1004. Figure 11 As shown in FIG. 10, the display module 1001 is configured to display a dynamic frame on the screen edge of the shooting interface. Figure 10 As shown in FIG. 10, the control module 1002 of the embodiment shown in FIG. 10 can specifically include: a control unit 10021 configured to control the front camera to shoot the screen in the mirror for a preset time.
[0110] In one embodiment of the present application, the verification parameter of the dynamic frame includes at least one of the following: the color of the dynamic frame, the number of the dynamic frame and the integrity of the dynamic frame.
[0111] In one embodiment of the present application, the color of the dynamic frame is determined according to the display time of the dynamic frame.
[0112] In one embodiment of the present application, the red component value, the green component value and the blue component value in the color of the dynamic frame correspond to the hour, the minute and the second in the display time one by one.
[0113] In one embodiment of the present application, the screen detection device 1000 of the embodiment of the present application further includes a first wake-up module configured to wake up the shooting system to enter the shooting interface in response to a shooting call instruction before the display module 1001 displays the dynamic frame on the screen edge of the shooting interface.
[0114] In one embodiment of this application, the screen detection device 1000 further includes: a third receiving module, configured to receive a re-shooting reminder message sent by the server after the upload module 1003 uploads the screen detection image to the server; and a second wake-up module, configured to wake up the camera system to enter the shooting interface based on the re-shooting reminder message.
[0115] In one embodiment of this application, the screen detection device 1000 further includes a third wake-up module, configured to wake up the camera system to enter the shooting interface in response to a re-shooting instruction before the upload module 1003 uploads the screen detection image to the server.
[0116] It should be noted that the above explanation of the screen detection method embodiments also applies to the screen detection device of the embodiments of this application, and the specific process will not be repeated here.
[0117] The screen detection device of this embodiment, in response to a shooting command, wakes up the camera system to enter the shooting interface and displays a dynamic border on the edge of the screen in the shooting interface. It controls the front-facing camera to take a picture of the screen in the mirror after a preset delay. In response to a re-shooting command, it wakes up the camera system to enter the shooting interface and uploads the screen detection image to the server. The server verifies the screen detection image based on the verification parameters of the dynamic border in the image. After successful verification, it performs screen damage detection on the image within the area corresponding to the dynamic border. It receives a re-shooting reminder from the server if verification fails, and wakes up the camera system to enter the shooting interface based on the re-shooting reminder. In this embodiment, the dynamic border displayed on the screen edge enables verification of the screen detection image's success, thereby performing screen damage detection on the image within the corresponding area. It also allows for rapid location of the detection area in the screen detection image, improving the efficiency of screen detection. Furthermore, since the dynamic border is displayed on the screen edge, it does not affect the screen damage detection, thus improving the accuracy of screen detection. In addition, the verification parameters for dynamic borders include the color and quantity of the dynamic borders. This prevents users from using old images or screen detection images taken from other terminal devices for screen damage detection. The verification parameters also include the integrity of the dynamic borders, which can identify situations where there is occlusion or incomplete capture during shooting, further improving the accuracy of screen detection. Furthermore, delayed shooting and delay prompts allow users to prepare before shooting, preventing the phone screen from being obscured by the finger in the captured screen detection image if the user's finger is not removed from the screen area. This reduces the impact on screen photo recognition and detection, improving the success rate and image quality of screen captures.
[0118] Figure 12Structure diagram of screen detection device of another embodiment of the present application. The screen detection device of the embodiment of the present application can be arranged in a server. As shown in the figure, the screen detection device of the embodiment of the present application can specifically include a second receiving module 1201, an identification module 1202, a verification module 1203, a detection module 1204 and a sending module 1205. Figure 12
[0119] The second receiving module 1201 is configured to receive the screen detection picture sent by the client.
[0120] The identification module 1202 is configured to identify the verification parameter and position of the dynamic frame of the screen edge in the screen detection picture.
[0121] The verification module 1203 is configured to perform shooting qualification verification on the screen detection picture according to the verification parameter of the dynamic frame.
[0122] The detection module 1204 is configured to, if the verification is passed, perform screen damage detection on the picture in the region corresponding to the position of the dynamic frame.
[0123] The sending module 1205 is configured to send the screen damage detection result to the client.
[0124] It should be noted that the above explanation and description of the screen detection method embodiment also apply to the screen detection device of the embodiment of the present application, and the specific process will not be described here.
[0125] The screen detection device of the embodiment of the present application receives the screen detection picture sent by the client and identifies the verification parameter and position of the dynamic frame of the screen edge, performs shooting qualification verification on the screen detection picture according to the verification parameter of the dynamic frame, if the verification is passed, performs screen damage detection on the picture in the region corresponding to the position of the dynamic frame and sends the screen damage detection result to the client. In the embodiment, the shooting qualification verification on the screen detection picture can be realized through the dynamic frame displayed on the screen edge, so as to perform screen damage detection on the picture in the corresponding region, the detection region of the screen detection picture can be quickly located, the efficiency of screen detection is improved, and since the dynamic frame is displayed on the screen edge, the screen damage detection is not affected, the accuracy of screen detection is improved.
[0126] Figure 13 Structure diagram of screen detection device of another embodiment of the present application. As shown in the figure, Figure 13 On the basis of the embodiment shown in the figure, Figure 12 The verification module 1203 can specifically include a verification unit 12031 configured to, if the display time of the dynamic frame corresponding to the color of the dynamic frame is consistent with the shooting time of the screen detection picture, the number of the dynamic frame is one and the integrity of the dynamic frame is complete, the verification is passed.
[0127] In an embodiment of the present application, the verification parameter of the dynamic frame includes at least one of the following: color of the dynamic frame, number of the dynamic frame, and integrity of the dynamic frame.
[0128] In an embodiment of the present application, the red component value, the green component value, and the blue component value in the color of the dynamic frame correspond to the hour, the minute, and the second in the display time respectively.
[0129] In an embodiment of the present application, the screen detection device 1200 further includes a sending module configured to, if the verification fails, send a re-shooting reminding information to the client, so that the client re-generates the screen detection picture according to the re-shooting reminding information.
[0130] It should be noted that the above explanation and description of the screen detection method embodiment also applies to the screen detection device of the present application, and the specific process will not be repeated here.
[0131] The screen detection device of the present application receives the screen detection picture sent by the client and identifies the verification parameter and the position of the dynamic frame of the screen edge in the screen detection picture, performs shooting qualification verification on the screen detection picture according to the verification parameter of the dynamic frame, and if the display time of the dynamic frame corresponding to the color of the dynamic frame is consistent with the shooting time of the screen detection picture, the number of the dynamic frame is one, and the integrity of the dynamic frame is complete, the verification passes. If the verification passes, the screen damage detection is performed on the picture in the region corresponding to the position of the dynamic frame and the screen damage detection result is sent to the client. If the verification fails, a re-shooting reminding information is sent to the client, so that the client re-generates the screen detection picture according to the re-shooting reminding information. In the present embodiment, the dynamic frame displayed on the screen edge can realize the shooting qualification verification of the screen detection picture, so as to perform the screen damage detection on the picture in the corresponding region, and can quickly locate the detection region of the screen detection picture, thereby improving the efficiency of the screen detection. In addition, since the dynamic frame is displayed on the screen edge, it does not affect the screen damage detection, thereby improving the accuracy of the screen detection. In addition, the verification parameter of the dynamic frame includes the color and the number of the dynamic frame, which can avoid the user using the old picture or the screen detection picture of the other terminal device for the screen damage detection. The verification parameter of the dynamic frame further includes the integrity of the dynamic frame, which can identify the situation of the occlusion or incomplete shooting, thereby further improving the accuracy of the screen detection. According to the embodiment of the present application, the present application further provides an electronic device and a readable storage medium.
[0132] As Figure 14The diagram shown is a block diagram of an electronic device for a screen detection method according to an embodiment of this application. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device may also represent various forms of mobile devices, such as intelligent voice interaction devices, personal digital processors, cellular phones, smartphones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely illustrative and are not intended to limit the implementation of the present application described and / or claimed herein.
[0133] like Figure 14 As shown, the electronic device includes one or more processors 1401, a memory 1402, and interfaces for connecting the components, including high-speed interfaces and low-speed interfaces. The components are interconnected via different buses and can be mounted on a common motherboard or otherwise as required. The processor 1401 can process instructions executed within the electronic device, including instructions stored in or on memory to display graphical information of a GUI on an external input / output device (such as a display device coupled to the interface). In other embodiments, multiple processors and / or multiple buses can be used with multiple memories and multiple memory modules, if desired. Similarly, multiple electronic devices can be connected, each providing some of the necessary operations (e.g., as a server array, a group of blade servers, or a multiprocessor system). Figure 14 Take a processor 1401 as an example.
[0134] The memory 1402 is the non-transitory computer-readable storage medium provided in this application. The memory stores instructions executable by at least one processor to cause at least one processor to perform the screen detection method provided in this application. The non-transitory computer-readable storage medium of this application stores computer instructions for causing a computer to perform the screen detection method provided in this application.
[0135] Memory 1402, as a non-transitory computer-readable storage medium, can be used to store non-transitory software programs, non-transitory computer-executable programs, and modules, such as the program instructions / modules corresponding to the screen detection method in the embodiments of this application (e.g., attached...). Figure 10 The display module 1001, control module 1002, upload module 1003, and first receiving module 1004 are shown. The processor 1401 executes various server functions and data processing by running non-transient software programs, instructions, and modules stored in the memory 1402, thus implementing the screen detection method in the above method embodiments.
[0136] The memory 1402 can include a program region and a data region, where the program region can store an operating system, an application required by at least one function, and the like, and the data region can store data created according to use of the electronic device of the screen detection method, and the like. In addition, the memory 1402 can include a high-speed random access memory, and can further include a non-transitory memory such as at least one of a magnetic disk storage device, a flash memory device, or other non-transitory solid state storage device. In some embodiments, the memory 1402 can optionally include a memory disposed remotely with respect to the processor 1401, and these remote memories can be connected to the electronic device of the screen detection method through a network. Examples of the above network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and a combination thereof.
[0137] The electronic device of the screen detection method can further include an input device 1403 and an output device 1404. The processor 1401, the memory 1402, the input device 1403, and the output device 1404 can be connected through a bus or other means, Figure 14 The bus connection is taken as an example.
[0138] The input device 1403 can receive input digital or character information, and generate key signal input related to user settings and function control of the electronic device of the screen detection method, such as a touch screen, a keypad, a mouse, a trackpad, a touchpad, a pointing stick, one or more mouse buttons, a trackball, a joystick, and the like. The output device 1404 can include a display device, an auxiliary lighting device (e.g., an LED), a tactile feedback device (e.g., a vibration motor), and the like. The display device can include, but is not limited to, a liquid crystal display (LCD), a light-emitting diode (LED) display, and a plasma display. In some embodiments, the display device can be a touch screen.
[0139] Various embodiments of the systems and techniques described here can be realized in digital electronic circuitry, integrated circuitry, specially designed ASICs (application specific integrated circuits), computer hardware, firmware, software, and / or combinations thereof. These various embodiments can include implementation in one or more computer programs that are executable and / or interpretable on a programmable system including at least one programmable processor, which can be special or general purpose, coupled to receive data and instructions from, and to transmit data and instructions to, a storage system, at least one input device, and at least one output device.
[0140] These computer programs (also known as programs, software, software applications or code) include machine instructions for a programmable processor, and can be implemented in a high-level procedural and / or object-oriented programming language, and / or in assembly / machine language. As used herein, the terms "machine-readable medium" "computer-readable medium" refers to any computer program product, apparatus and / or device (e.g., magnetic discs, optical disks, memory, Programmable Logic Devices (PLDs)) used to provide machine instructions and / or data to a programmable processor, including a machine-readable medium that receives machine instructions as a machine-readable signal. The term "machine-readable signal" refers to any signal used to provide machine instructions and / or data to a programmable processor.
[0141] To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user and a keyboard and a pointing device (e.g., a mouse or a trackball) by which the user can provide input to the computer. Other kinds of devices can be used to provide for interaction with a user as well; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form, including acoustic, speech, or tactile input.
[0142] The systems and techniques described here can be implemented in a computing system that includes a back end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front end component (e.g., a user computer having a graphical user interface or a Web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back end, middleware, or front end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network (LAN), a wide area network (WAN), and the Internet.
[0143] The computer system can include clients and servers. This description and the accompanying claims should not be limited by the foregoing description, and comprises all changes and modifications of the described embodiments thereof in accordance with the full scope of its claims. The metes and bounds of the application are set forth in the claims.
[0144] It should be understood that the various forms of flow shown above can be re-ordered, added to, or deleted from without departing from the scope of the present disclosure. For example, the steps recited in the application can be executed in parallel, executed in series, or executed in different orders, as long as the desired results of the technical solutions disclosed in the application can be achieved, and the present application is not limited herein.
[0145] In the description of the present specification, the terms "first", "second" are only for the purpose of description, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined with "first", "second" can explicitly or implicitly include at least one of the features. In the description of the present application, the meaning of "a plurality of" is at least two, for example, two, three, etc., unless otherwise specifically limited.
[0146] Although the embodiments of the present application have been shown and described above, it should be understood that the above-described embodiments are exemplary and should not be construed as limiting the present application, and those skilled in the art can make changes, modifications, replacements and variations to the above-described embodiments within the scope of the present application.
Claims
1. A screen detection method characterized by, The method comprises the following steps: A dynamic frame is displayed at the edge of the screen in the shooting interface, and the verification parameters of the dynamic frame include the color, number and integrity of the dynamic frame, wherein the red component value, green component value and blue component value in the color of the dynamic frame correspond to the hour, minute and second in the display time of the dynamic frame one by one, and the color of the dynamic frame is controlled in real time based on the system time and the color matching algorithm rule; In response to a screen shooting instruction, the front camera is controlled to shoot the screen in the mirror to generate a screen detection picture; The screen detection picture is uploaded to a server, so that the server performs shooting qualification verification on the screen detection picture according to the verification parameters of the dynamic frame in the screen detection picture, and performs screen damage detection on the picture in the region corresponding to the position of the dynamic frame after the verification is passed; When the display time of the dynamic frame corresponding to the color of the dynamic frame is consistent with the shooting time of the screen detection picture, the number of the dynamic frame is one, and the integrity of the dynamic frame is complete, the verification is passed; The screen damage detection result sent by the server is received.
2. The screen detection method of claim 1, wherein, The method comprises the following steps: The front camera is controlled to shoot the screen in the mirror.
3. The screen detection method of claim 1, wherein, Before the dynamic frame is displayed at the edge of the screen in the shooting interface, the method further comprises the following steps: In response to a shooting call instruction, the shooting system is woken up to enter the shooting interface.
4. The screen detection method of claim 1, wherein, After the screen detection picture is uploaded to the server, the method further comprises the following steps: The re-shooting reminding information sent by the server after the verification is not passed is received; According to the re-shooting reminding information, the shooting system is woken up to enter the shooting interface.
5. The screen detection method of claim 1, wherein, Before the screen detection picture is uploaded to the server, the method further comprises the following steps: In response to a re-shooting instruction, the shooting system is woken up to enter the shooting interface.
6. A screen detection method characterized by, The method comprises the following steps: A screen detection picture sent by a client is received; Verification parameters and positions of a dynamic frame at the edge of the screen in the screen detection picture are identified, the verification parameters of the dynamic frame include the color, number and integrity of the dynamic frame, wherein the red component value, green component value and blue component value in the color of the dynamic frame correspond to the hour, minute and second in the display time of the dynamic frame one by one, and the color of the dynamic frame is controlled in real time based on the system time and the color matching algorithm rule; The screen detection picture is subjected to shooting qualification verification according to the verification parameters of the dynamic frame; When the display time of the dynamic frame corresponding to the color of the dynamic frame is consistent with the shooting time of the screen detection picture, the number of the dynamic frame is one, and the integrity of the dynamic frame is complete, the verification is passed; A screen damage detection result is sent to the client; The method comprises the following steps: When the display time of the dynamic frame corresponding to the color of the dynamic frame is consistent with the shooting time of the screen detection picture, the number of the dynamic frame is one, and the integrity of the dynamic frame is complete, the verification is passed.
7. The screen detection method of claim 6, wherein, The method further comprises the following steps: If the verification fails, a retake prompt is sent to the client for the client to re-generate the screen detection picture according to the retake prompt.
8. A screen detection apparatus characterized by comprising: The device is used to implement the screen detection method of claim 1, and the device comprises: The display module is configured to display a dynamic frame on the edge of the screen of the shooting interface; wherein the red component value, the green component value and the blue component value in the color of the dynamic frame correspond to the hour, the minute and the second of the dynamic frame display time one by one, and the color of the dynamic frame is controlled in real time based on the system time and the color matching algorithm rule; The control module is configured to control the front camera to shoot the screen in the mirror to generate a screen detection picture in response to a screen shooting instruction; The upload module is configured to upload the screen detection picture to a server, so that the server performs shooting qualification verification on the screen detection picture according to the verification parameter of the dynamic frame in the screen detection picture, and performs screen damage detection on the picture in the region corresponding to the position of the dynamic frame after the verification passes; The first receiving module is configured to receive the screen damage detection result sent by the server.
9. A screen detection apparatus characterized by comprising: Comprise: The second receiving module is configured to receive the screen detection picture sent by the client; The identification module is configured to identify the verification parameter and the position of the dynamic frame on the edge of the screen in the screen detection picture; wherein the red component value, the green component value and the blue component value in the color of the dynamic frame correspond to the hour, the minute and the second of the dynamic frame display time one by one, and the color of the dynamic frame is controlled in real time based on the system time and the color matching algorithm rule; The verification module is configured to perform shooting qualification verification on the screen detection picture according to the verification parameter of the dynamic frame; The detection module is configured to perform screen damage detection on the picture in the region corresponding to the position of the dynamic frame if the verification passes; The sending module is configured to send the screen damage detection result to the client; The verification module specifically comprises a verification unit. The verification unit is configured to pass the verification if the display time of the dynamic frame corresponding to the color of the dynamic frame is consistent with the shooting time of the screen detection picture, the number of dynamic frames is one, and the integrity of the dynamic frame is complete.
10. An electronic device, comprising: Comprise: At least one processor; And The memory is in communication connection with the at least one processor; wherein The memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to execute the method of any one of claims 1-5, or execute the method of any one of claims 6-7.
11. A computer readable storage medium having stored thereon computer instructions, wherein, The computer instructions are used to enable the computer to execute the method of any one of claims 1-5, or execute the method of any one of claims 6-7.
Citation Information
Patent Citations
Method and system for authenticating remote user based on camera
CN104504321A
Screen damage verification method and device based on mirror shooting
CN112268912A
Screen state detection method and device, electronic equipment, server and storage medium
CN112597931A
Certificate verification system and methods of performing the same
US20150317466A1