Device and system for flexible screen state detection based on photoelectric sensor feature recognition
By using photoelectric sensors on the flexible screen for feature recognition, the accuracy problem caused by electromagnetic interference of the Hall sensor is solved, and more efficient and accurate folding angle recognition is achieved.
Patent Information
- Application Number
- CN202410606976.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-16
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2044-05-16
AI Technical Summary
In existing flexible screen status detection devices, Hall sensors are susceptible to electromagnetic interference, resulting in inaccurate folding angle and expansion area parameters.
A feature recognition method based on photoelectric sensors is adopted. By setting photoelectric sensors on the folding parts of the flexible screen, the moving images are collected and matched with the feature library to determine the folding angle. The recognition efficiency and accuracy are improved through brightness screening and feature matching.
It improves the accuracy and recognition efficiency of the folding angle, reduces the impact on electromagnetic interference, simplifies the image matching process, and enhances the accuracy of identifying the folding angle of the folding screen.
Smart Images

Figure CN118225006B
Abstract
Description
Technical Field
[0001] The present application relates to the field of display, and more specifically, to a device and system for detecting the state of a flexible screen based on feature recognition of a photoelectric sensor. Background Art
[0002] The flexible screen can realize functions such as folding, bending and rolling. The device for detecting the state of the flexible screen can usually determine the working mode of the flexible display device according to the shape of the flexible screen. Taking a foldable screen mobile phone as an example, a foldable screen mobile phone can display different content according to the angle at which it is folded.
[0003] Currently, most of the devices for detecting the status of flexible screens identify parameters such as the folding angle or unfolding area of the flexible screen by setting electromagnetic signal sensors such as Hall sensors.
[0004] However, since the Hall sensor is susceptible to electromagnetic interference, the parameters such as the folding angle or unfolding area of the flexible screen are inaccurate. Summary of the invention
[0005] The purpose of the present application is to provide a device and system for flexible screen status detection based on photoelectric sensor feature recognition. By setting a photoelectric sensor therein, the accuracy of the folding angle of the folding member in the device for flexible screen status detection based on photoelectric sensor feature recognition can be improved.
[0006] In the first aspect, the present application provides a device for flexible screen state detection based on photoelectric sensor feature recognition, comprising a first flap, a second flap, a connecting member and a photoelectric sensor; the first flap and the second flap are rotatably connected along a first rotation axis, and the first rotation axis is parallel to the plane where the first flap and the plane where the second flap are located, respectively; the first end of the connecting member is slidably connected to the first flap, and the second end of the connecting member is rotatably connected to the second flap along the second rotation axis; wherein the first rotation axis is parallel to the second rotation axis; the photoelectric sensor is used to: collect the current active image of the first end of the connecting member; match the current active image with a preset active image in a feature library to determine a target image consistent with the current active image; wherein the preset active image corresponds to a specific folding angle of the first flap or the second flap; the specific folding angle is used to determine the folding angle of the first flap or the second flap.
[0007] The above-mentioned flexible screen state detection device based on photoelectric sensor feature recognition improves the accuracy of the folding angle finally obtained by setting a photoelectric sensor in the flexible screen state detection device based on photoelectric sensor feature recognition. In addition, by matching the current active image with the preset active image in the feature library, there is no need to perform more refined processing and recognition on the image, thereby improving the efficiency of identifying the folding angle of the moving target.
[0008] In combination with the first aspect, optionally, in the process of matching the current active image with preset active images in the feature library to determine a target image consistent with the current active image, the photoelectric sensor is specifically used to: filter out at least one of the preset active images corresponding to a brightness range that includes the brightness of the current active image from the feature library based on the brightness of the current active image, and preliminarily filter the image; perform feature matching between the current active image and the preliminarily filtered image to determine the target image.
[0009] The above-mentioned flexible screen state detection device based on photoelectric sensor feature recognition selects a part of preliminary screening images from the preset active images according to the brightness of the current active image before performing feature matching, and then performs feature matching on the current active image and the preliminary screening images one by one, without having to match all the preset active images one by one. Thus, the speed of determining the target image is improved, that is, the efficiency of identifying the folding angle of the folding screen is improved.
[0010] In combination with the first aspect, optionally, the current active image includes a characteristic pattern formed by a characteristic mark at the current position of the first end of the connecting member; the photoelectric sensor is specifically used to: compare the current active image with a reference position image of the first end of the connecting member to obtain a position change of the characteristic pattern; wherein the reference position image is a first captured image corresponding to a position before the first end of the connecting member passes through a position corresponding to the current active image, and includes the characteristic pattern; the position change is used to determine the displacement of the first end of the connecting member, and determine a comparative folding angle of the first folding member or the second folding member based on the displacement; the comparative folding angle is used to calibrate the folding angle.
[0011] The above-mentioned device for detecting the state of a flexible screen based on feature recognition of a photoelectric sensor adopts another method of identifying the folding angle, and calibrates the folding angle with the obtained comparison folding angle, thereby further improving the accuracy of the final recognition result.
[0012] In combination with the first aspect, optionally, the displacement is used to multiply the correction coefficient to obtain a contrast displacement, and the contrast displacement is used to determine the contrast folding angle; the method for determining the correction coefficient includes the following steps: obtaining a sample active image of the first end of the connector collected by a photoelectric sensor; wherein the sample active image includes a characteristic pattern formed by a characteristic mark on the first end of the connector; matching the sample active image with a preset active image in a characteristic library to determine a sample target image consistent with the sample active image; determining a specific folding angle corresponding to the sample target image as a first sample folding angle occurring at the first end of the connector; comparing the sample active image with a reference position image of the first end of the connector to obtain a position change of the characteristic pattern; determining a second sample folding angle of the first end of the connector based on the position change; and determining the ratio of the first sample folding angle to the second sample folding angle as the correction coefficient.
[0013] The above-mentioned device for detecting the state of a flexible screen based on photoelectric sensor feature recognition determines a correction coefficient by using the first sample folding angle and the second sample folding angle, and obtains a comparative displacement by multiplying the correction coefficient with the displacement. On the basis of realizing the correction of the displacement, the algorithm also improves the accuracy of the correction of the displacement, and finally improves the accuracy of the folding angle of the first folding member or the second folding member.
[0014] In combination with the first aspect, optionally, a preset identifiable characteristic pattern formed by different identifiable characteristic marks is provided on the connecting member at a position corresponding to a specific folding angle of the first folding member or the second folding member; the photoelectric sensor is specifically used to: collect the current identifiable characteristic pattern of the first end of the connecting member on the device for flexible screen state detection based on photoelectric sensor feature recognition; determine a first target image consistent with the current active image based on a match between the current identifiable characteristic pattern and the preset identifiable characteristic pattern; wherein the preset identifiable characteristic pattern corresponds to a specific folding angle of the first folding member or the second folding member; the specific folding angle corresponding to the first target image is used to determine the folding angle of the first folding member or the second folding member.
[0015] The above-mentioned device for detecting the state of a flexible screen based on feature recognition of a photoelectric sensor sets a preset identifiable feature pattern formed by different identifiable feature marks at the position corresponding to the specific folding angle of the first folding member or the second folding member, so as to be identified by a photoelectric sensor, and then the folding angle between the first folding member and the second folding member is determined, thereby improving the accuracy of image matching, and further improving the accuracy of the folding angle between the first folding member and the second folding member.
[0016] In combination with the first aspect, optionally, in the process of determining a first target image consistent with the current active image based on the matching of the current identifiable feature pattern with the preset identifiable feature pattern, the photoelectric sensor is specifically used to: match the current identifiable feature pattern with the preset identifiable feature pattern for identifiable features; and determine a preset identifiable feature pattern whose identifiable feature difference with the current identifiable feature pattern is less than a identifiable feature difference threshold as the first target image.
[0017] The above-mentioned device for detecting the state of a flexible screen based on photoelectric sensor feature recognition sets a recognizable feature difference threshold, and in the matching process, uses a preset recognizable feature pattern whose recognizable feature difference is less than the recognizable feature difference threshold as the first target image, thereby reducing the probability of a situation where a match is supposed to be made but is not actually made. This improves the accuracy of identifying the folding angle of the folding screen.
[0018] In combination with the first aspect, optionally, the preset identifiable feature pattern includes preset scale patterns of different sizes at positions corresponding to a specific folding angle of the first folding member or the second folding member; the current active image includes a current scale pattern at a current position of the first end of the connecting member; in the process of matching the current active image with the preset active image in the feature library to determine a first target image consistent with the current active image, the photoelectric sensor is specifically used to: match the current scale pattern with the preset scale pattern to determine a second target image in the preset scale pattern that is equal in size to the current scale pattern; wherein the specific folding angle corresponding to the second target image is used to determine the folding angle of the first folding member or the second folding member.
[0019] The above-mentioned device for flexible screen state detection based on photoelectric sensor feature recognition reduces the electromagnetic interference in the process of identifying the folding angle of the folding screen by setting preset scale patterns of different sizes at the position corresponding to the specific folding angle of the first folding member or the second folding member, and using them for comparison with the current scale pattern collected by the photoelectric sensor. Due to the matching between the current scale pattern and the preset scale pattern, it is only necessary to identify whether the scale size in the current scale pattern is consistent with the scale size of the preset scale pattern, without identifying other features of the pattern, thereby simplifying the complexity of matching and ultimately improving the speed and accuracy of identifying the folding angle of the folding screen.
[0020] In combination with the first aspect, optionally, in the process of determining the specific folding angle corresponding to the target image as the folding angle occurring at the first folding member or the second folding member, the photoelectric sensor is specifically used to: determine the specific folding angle corresponding to the first target image as the first folding angle occurring at the first folding member or the second folding member; determine the specific folding angle corresponding to the second target image as the second folding angle occurring at the first folding member or the second folding member; and when it is determined that the difference between the first folding angle and the second folding angle does not exceed an angle difference threshold, the first folding angle or the second folding angle is used as the folding angle occurring at the first folding member or the second folding member.
[0021] The above-mentioned flexible screen state detection device based on photoelectric sensor feature recognition obtains angle recognition results by combining two folding angle recognition methods, and when the difference between the first folding angle and the second folding angle recognition results is less than the angle difference threshold, either one of them is used as the final folding angle. This further improves the accuracy of the folding angle of the folding screen that is finally recognized.
[0022] In combination with the first aspect, optionally, the preset identifiable feature pattern includes preset geometric patterns of different shapes at positions corresponding to a specific folding angle of the first folding member or the second folding member; the current active image includes the current geometric pattern at the current position of the first end of the connecting member; in the process of matching the current active image with the preset active image in the feature library to determine a first target image consistent with the current active image, the photoelectric sensor is specifically used to: match the current geometric pattern with the preset geometric pattern to determine a third target image in the preset geometric pattern that is consistent with the shape of the current geometric pattern; wherein the specific folding angle corresponding to the third target image is used to determine the folding angle of the first folding member or the second folding member.
[0023] The above-mentioned device for flexible screen state detection based on photoelectric sensor feature recognition, by setting preset geometric patterns of different shapes at the position corresponding to the specific folding angle of the first folding member or the second folding member, and using them for comparison with the current scale pattern collected by the photoelectric sensor, reduces the electromagnetic interference in the process of identifying the folding angle of the folding screen. Due to the matching between the current scale pattern and the preset scale pattern, it is only necessary to identify whether the geometric shape of the current scale pattern is consistent with the geometric shape of the preset scale pattern, and there is no need to identify other features of the pattern, which also simplifies the complexity of matching and ultimately improves the speed and accuracy of identifying the folding angle of the folding screen.
[0024] In combination with the first aspect, optionally, in the process of determining the specific folding angle corresponding to the target image as the folding angle occurring at the first folding member or the second folding member, the photoelectric sensor is specifically used to: determine the specific folding angle corresponding to the first target image as the first folding angle occurring at the first folding member or the second folding member; determine the specific folding angle corresponding to the third target image as the third folding angle occurring at the first folding member or the second folding member; and when it is determined that the difference between the first folding angle and the third folding angle does not exceed an angle difference threshold, the first folding angle or the third folding angle is used as the folding angle occurring at the first folding member or the second folding member.
[0025] The above-mentioned flexible screen state detection device based on photoelectric sensor feature recognition obtains angle recognition results by combining two folding angle recognition methods, and when the difference between the first folding angle and the third folding angle recognition results is less than the angle difference threshold, either of them is used as the final folding angle. This also further improves the accuracy of the folding angle of the folding screen that is finally recognized.
[0026] In the second aspect, the present application provides a device for detecting the state of a flexible screen based on feature recognition of a photoelectric sensor, comprising a first rolling member, a second rolling member, a connecting member and a photoelectric sensor; the first rolling member and the second rolling member are respectively rotatably arranged on the connecting member, and the displacement generated by the rolling of the first rolling member is collinear with the displacement generated by the rolling of the second rolling member; the first rolling member and the second rolling member are configured to change the unfolding area of the flexible screen by rolling on the connecting member; the photoelectric sensor is used to: collect the current active image of the first end of the connecting member; match the current active image with a preset active image in a feature library to determine a target image consistent with the current active image; wherein the preset active image corresponds to a specific distance moved by the first rolling member or the second rolling member; the specific distance is used to determine the distance moved by the first rolling member or the second rolling member.
[0027] The above-mentioned system for flexible screen status detection based on photoelectric sensor feature recognition has the same beneficial effects as the first aspect, which will not be repeated here.
[0028] In the third aspect, the present application provides a system for flexible screen state detection based on photoelectric sensor feature recognition, comprising a device for flexible screen state detection based on photoelectric sensor feature recognition, a flexible screen and a processor as described in the first aspect; the device for flexible screen state detection based on photoelectric sensor feature recognition is used to connect and support the flexible screen; the first folding member and the second folding member are also respectively connected to the flexible screen and are configured to drive the flexible screen to change the shape of the flexible screen; the processor is configured to determine the shape of the flexible screen according to the folding angle.
[0029] The above-mentioned system for flexible screen status detection based on photoelectric sensor feature recognition has the same beneficial effects as the first aspect, which will not be repeated here.
[0030] In summary, the device for detecting the state of a flexible screen based on photoelectric sensor feature recognition provided by the present application improves the accuracy of the folding angle finally obtained by setting a photoelectric sensor in the device for detecting the state of a flexible screen based on photoelectric sensor feature recognition. In addition, by matching the current active image with the preset active image in the feature library, there is no need to perform more refined processing and recognition on the image, thereby improving the efficiency of identifying the folding angle of the moving target. By screening out a part of the preliminary screening images from the preset active image according to the brightness of the current active image before performing feature matching, and then performing feature matching on the current active image and the preliminary screening images one by one, there is no need to match one by one with all the preset active images, thereby further improving the efficiency of identifying the folding angle of the folding screen. By determining the correction coefficient by using the first sample folding angle and the second sample folding angle, and obtaining the comparison displacement by multiplying the correction coefficient with the displacement. On the basis of achieving the correction of the displacement, the accuracy of the folding angle of the first folding member or the second folding member obtained is improved. By setting preset scale patterns of different sizes and / or preset geometric patterns of different shapes at the positions corresponding to the specific folding angles of the first folding member or the second folding member, it is not necessary to identify other features of the pattern, thereby simplifying the matching complexity, and ultimately improving the speed and accuracy of identifying the folding angle of the folding screen. Combining these solutions to identify the folding angle also further improves the accuracy of identifying the folding angle of the device for detecting the state of the flexible screen based on photoelectric sensor feature recognition. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments of the present application will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0032] Figure 1 A first stereoscopic diagram of a device for detecting a flexible screen state based on photoelectric sensor feature recognition provided in an embodiment of the present application;
[0033] Figure 2 A second stereoscopic diagram of the device for detecting the state of a flexible screen based on feature recognition of a photoelectric sensor provided in an embodiment of the present application;
[0034] Figure 3 A side view of a device for detecting a flexible screen state based on photoelectric sensor feature recognition provided in an embodiment of the present application;
[0035] Figure 4 A flow chart of a method for determining a correction coefficient provided in an embodiment of the present application;
[0036] Figure 5 Schematic diagram of preset geometric patterns of different shapes provided in embodiments of the present application;
[0037] Figure 6 A schematic diagram of preset scale patterns of different sizes provided in an embodiment of the present application;
[0038] Figure 7 A third stereoscopic diagram of the device for detecting the state of a flexible screen based on feature recognition of a photoelectric sensor provided in an embodiment of the present application;
[0039] Figure 8 A stereoscopic diagram of a system for flexible screen status detection based on photoelectric sensor feature recognition provided in an embodiment of the present application.
[0040] Icons: 100, device for detecting the state of a flexible screen based on feature recognition of a photoelectric sensor; 110, first folding member; 111, first rolling member; 120, second folding member; 121, second rolling member; 130, connecting member; 10, system for detecting the state of a flexible screen based on feature recognition of a photoelectric sensor; 200, flexible screen. DETAILED DESCRIPTION
[0041] The following embodiments of the technical solution of the present application are described in detail in conjunction with the accompanying drawings. The following embodiments are only used to more clearly illustrate the technical solution of the present application, and are therefore only used as examples, and cannot be used to limit the scope of protection of the present application.
[0042] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by technicians in the technical field to which this application belongs; the terms used herein are only for the purpose of describing specific embodiments and are not intended to limit this application.
[0043] In the description of the embodiments of the present application, the technical terms "first", "second", etc. are only used to distinguish different objects, and cannot be understood as indicating or implying relative importance or implicitly indicating the number, specific order or primary and secondary relationship of the indicated technical features. In the description of the embodiments of the present application, the meaning of "multiple" is more than two, unless otherwise clearly and specifically defined.
[0044] See also Figures 1 to 3 , Figure 1 This is a first stereoscopic diagram of a device 100 for detecting a flexible screen state based on photoelectric sensor feature recognition provided in an embodiment of the present application; Figure 2 This is a second stereoscopic diagram of the device 100 for detecting the state of a flexible screen based on feature recognition of a photoelectric sensor provided in an embodiment of the present application; Figure 3 : is a side view of a device 100 for detecting the state of a flexible screen based on feature recognition of a photoelectric sensor provided in an embodiment of the present application. The device 100 for detecting the state of a flexible screen based on feature recognition of a photoelectric sensor provided in an embodiment of the present application may include a first folding member 110, a second folding member 120, a connecting member 130, and a photoelectric sensor. The first folding member 110 and the second folding member 120 may be rotatably connected along a first rotation axis, and the first rotation axis may be parallel to the plane where the first folding member 110 and the plane where the second folding member 120 are located, respectively. The first end of the connecting member 130 may be slidably connected to the first folding member 110, and the second end of the connecting member 130 may be rotatably connected to the second folding member 120 along a second rotation axis. Among them, the first rotation axis may be parallel to the second rotation axis.
[0045] The photoelectric sensor can be used to: collect the current active image of the first end of the connecting member 130. Match the current active image with the preset active image in the feature library to determine the target image consistent with the current active image. The preset active image corresponds to the specific folding angle of the first folding member 110 or the second folding member 120. The specific folding angle can be used to determine the folding angle of the first folding member 110 or the second folding member 120.
[0046] The first folding member 110 and the second folding member 120 may be movable plates that can support the flexible screen, etc. The first folding member 110 may be provided with a rotating shaft parallel to the first rotating axis, and the second folding member 120 may be provided with a rotating pin hole that matches the rotating shaft. The rotating connection between the first folding member 110 and the second folding member 120 can be achieved by the cooperation between the rotating shaft and the rotating pin hole. Of course, the rotating connection between the first folding member 110 and the second folding member 120 can also be achieved by other methods known to those skilled in the art. The embodiments of the present application do not impose specific restrictions on this.
[0047] Figure 1The light-colored lines represent the obscured parts of the device 100 for detecting the state of a flexible screen based on photoelectric sensor feature recognition. From the obscured parts, it can be seen that the first folding member 110 and the second folding member 120 are respectively provided with gears at their ends close to each other, and the rotational connection between them is achieved by the meshing of the gears. Figure 1 The lower end of the middle position is slidably connected through a slide groove provided in the second folding member 120. The connecting member 130 is Figure 1 The upper end portion of the middle position is rotatably connected to the first folding member 110 .
[0048] The first folding member 110 may be provided with a corresponding slide groove or slide rail, and the first end of the connecting member 130 may be provided with a slider matching the slide groove or slide rail. The rotatable connection between the second end of the connecting member 130 and the second folding member 120 may be achieved by the above-mentioned connection method between the first folding member 110 and the second folding member 120, or by other methods known to those skilled in the art.
[0049] During the folding process of the first folding member 110 and the second folding member 120, the second end of the connecting member 130 usually rotates accordingly on the second folding member 120, and the first end of the connecting member 130 usually slides accordingly on the first folding member 110. The folding angles of the first folding member 110 and the second folding member 120 usually correspond to the displacement of the slider. Therefore, by obtaining the displacement of the second end of the connecting member 130 through the photoelectric sensor, the folding angles of the first folding member 110 and the second folding member 120 can be determined.
[0050] Regarding determining the folding angle of the first folding member 110 or the second folding member 120. The first folding member 110 or the second folding member 120 can be operated to fold at a certain angle, and the folding angle can be measured by an external tool and used as a specific folding angle. Then, the displacement image collected by the photoelectric sensor is obtained and used as a preset active image. In this way, one set of corresponding preset active images and specific folding angles can be obtained. Those skilled in the art can obtain a corresponding number of preset active images and specific folding angles according to actual application requirements through the method described in the embodiment of the present application.
[0051] In the above implementation process, by setting a photoelectric sensor in the flexible screen state detection device 100 based on photoelectric sensor feature recognition, the accuracy of the folding angle finally obtained is improved. In addition, by matching the current active image with the preset active image in the feature library, there is no need to perform more refined processing and recognition on the image, thereby improving the efficiency of identifying the folding angle of the moving target.
[0052] In some optional embodiments, the number of pixels of the sensor chip is usually only about 20*20. That is to say, by matching the current active image with the preset active image in the feature library, a maximum of 20 preset active images can be set. And only ordinary non-laser light sources can be used in this application. Most applications for detecting the displacement of metal parts use VCSEL lasers as light sources. The VCSEL is irradiated onto the moving parts. The image collected by the sensor does not 100% show the original appearance of the image like a camera takes a photo, but receives a specific speckle image formed by the laser passing through the special surface of the part. This image can be compared to a QR code that can uniquely mark the characteristic information of a specific surface, but there is no intuitive scale information. However, the brightness difference between these speckle images is still quite obvious.
[0053] In view of this, in the process of matching the current active image with the preset active images in the feature library to determine the target image consistent with the current active image, the photoelectric sensor can be specifically used to: filter out at least one preset active image corresponding to the brightness range including the brightness of the current active image from the feature library according to the brightness of the current active image, and preliminarily filter the image; perform feature matching between the current active image and the preliminarily filtered image to determine the target image.
[0054] Preset active images of different brightness can be obtained by polishing, electroplating, etc. on the surface of the corresponding position of the device for flexible screen state detection based on photoelectric sensor feature recognition.
[0055] As a preferred embodiment, ink patterns of different sizes can be sprayed on the surface of the corresponding position of the device for flexible screen state detection based on photoelectric sensor feature recognition. The speckle images obtained after the ink patterns are collected by the sensor have the most obvious brightness difference between these speckle images compared with the methods of polishing, electroplating, etc. Therefore, the brightness recognition of these speckle images is more accurate. That is, the accuracy of the folding angle of the device for flexible screen state detection based on photoelectric sensor feature recognition can be improved.
[0056] Exemplarily, the device 100 for detecting the state of a flexible screen based on feature recognition of a photoelectric sensor may be provided with several patterns with different brightness, as shown in Table 1:
[0057] Table 1
[0058]
[0059] It can be seen from Table 1 that the brightness ranges of the patterns overlap. For example, the brightness value is 110, and the patterns corresponding to it are 1, 2, 3, and 4.
[0060] On this basis, by obtaining the brightness of the current active image, and screening out at least one preset active image corresponding to the brightness range containing the brightness of the current active image from the feature library as a preliminary screening image, the current active image and the preliminary screening image are feature matched one by one to determine the target image. The feature matching can be to extract the feature pattern of the current active image, and compare it with the feature pattern in the preliminary screening image one by one, and take the preliminary screening image whose feature pattern similarity reaches a certain degree as the target image.
[0061] In the above implementation process, before feature matching, a part of preliminary screening images is first selected from the preset active images according to the brightness of the current active image, and then the current active image is feature matched with the preliminary screening images one by one, without matching with all the preset active images one by one. Thus, the speed of determining the target image is improved, that is, the efficiency of identifying the folding angle of the folding screen is improved.
[0062] In some optional embodiments, the current active image may include a characteristic pattern formed by a characteristic mark at the current position of the first end of the connector 130. The photoelectric sensor may be specifically used to compare the current active image with the reference position image of the first end of the connector 130 to obtain a position change of the characteristic pattern. The reference position image is a first captured image corresponding to the position of the first end of the connector 130 before it passes the position corresponding to the current active image, and may include a characteristic pattern. The position change may be used to determine the displacement of the first end of the connector 130, and determine the comparative folding angle of the first folding member 110 or the second folding member 120 based on the displacement. The comparative folding angle may be used to calibrate the folding angle.
[0063] The characteristic mark can be a geometric pattern of various shapes or a scale pattern of different sizes.
[0064] Regarding the acquisition of the position change, the embodiment of the present application provides two optional specific implementation methods. The first: the reference position image can be a displacement image corresponding to the starting position of the first end of the connector 130; the second: the reference position image can be a series of displacement images collected during the movement of the first end of the connector 130. In the second method, the current displacement image is compared with the previous frame displacement image adjacent to it, and the position change of a unit of a characteristic pattern can be determined. The previous frame displacement image adjacent to the current displacement image is compared with the displacement image adjacent to it, and the position change of a unit of a characteristic pattern can be determined... and so on until the reference position image is compared with the displacement image corresponding to the starting position of the first end of the connector 130. By accumulating the position change of the unit obtained in this process, the position change of the characteristic pattern in the current displacement image can be determined.
[0065] The folding angle of the first end of the connecting member 130 is determined based on the position change of the characteristic pattern. The position change can be converted into a physical displacement of the first end of the connecting member 130 based on the resolution of the captured image. A certain number of preset position changes can also be preset, and each preset position change corresponds to a physical displacement. By comparing the position change with the preset position change, the displacement of the first end of the connecting member 130 can be determined. Then, the folding angle of the first folding member 110 or the second folding member 120 is determined based on the displacement and used as the comparison folding angle.
[0066] Generally, even the two solutions for identifying the folding angle provided in the embodiments of the present application are difficult to achieve 100% accuracy. Therefore, the comparison folding angle and the folding angle obtained by the two solutions can be used for mutual calibration. In addition, the comparison folding angle and the folding angle can be used to calibrate the folding angle, and the comparison folding angle can be used to replace the folding angle as the final recognition result, or the average value between the two can be used as the final recognition result.
[0067] In the above implementation process, another folding angle recognition method is adopted to calibrate the obtained comparison folding angle against the folding angle, thereby further improving the accuracy of the final recognition result.
[0068] Please refer to Figure 4 , Figure 4 : is a flowchart of a method for determining a correction coefficient provided in an embodiment of the present application. In some optional implementations, the displacement amount can be used to multiply the correction coefficient to obtain a comparison displacement amount, and the comparison displacement amount can be used to determine the comparison folding angle. The method for determining the correction coefficient may include the following steps:
[0069] Step S110 : acquiring a sample moving image of the first end of the connector 130 collected by the photoelectric sensor, wherein the sample moving image may include a characteristic pattern formed by characteristic marks on the first end of the connector 130 .
[0070] Step S120: Match the sample active image with the preset active images in the feature library to determine a sample target image that is consistent with the sample active image.
[0071] In the above step S120, each preset active image corresponds to a displacement amount of the second end of the connecting member 130. In the process of matching the sample active image with the preset active images in the feature library, the preset active images corresponding to the displacement amounts can be matched in sequence from small to large or from large to small. If the match with the current preset active image is unsuccessful, the next preset active image is matched; if the match is successful, the current preset active image is determined as the sample target image.
[0072] Step S130: Determine the specific folding angle corresponding to the sample target image as a first sample folding angle occurring at the first end of the connector.
[0073] Step S140: Compare the sample moving image with the reference position image of the first end of the connecting member to obtain the position change of the characteristic pattern.
[0074] Step S150: determining a second sample folding angle of the first end of the connecting member according to the position change amount.
[0075] The specific implementation method of the above-mentioned step S140 and step S150 may be similar to the second method for obtaining the position change amount described in the previous embodiment.
[0076] Step S160: determining the ratio of the first sample folding angle to the second sample folding angle as a correction coefficient.
[0077] The correction coefficient in step S160 can be expressed by the following formula:
[0078] A=M / X
[0079] Wherein, A represents the correction coefficient, M represents the folding angle of the first sample, and X represents the folding angle of the second sample.
[0080] In the subsequent process of using the correction coefficient to correct the displacement to obtain the comparison displacement, it can be calculated according to the following formula:
[0081] D1=D2×A
[0082] Where D1 represents the contrast displacement, and D2 represents the displacement.
[0083] The corresponding folding angle can be determined according to the comparison displacement.
[0084] In the above implementation process, the correction coefficient is determined by using the first sample folding angle and the second sample folding angle, and the comparison displacement is obtained by multiplying the correction coefficient with the displacement. On the basis of realizing the correction of the displacement, the algorithm also improves the accuracy of the correction of the displacement, and finally improves the accuracy of the folding angle of the first folding member 110 or the second folding member 120.
[0085] In some optional embodiments, the connecting member 130 may be provided with a preset identifiable characteristic pattern formed by different identifiable characteristic marks at a position corresponding to a specific folding angle of the first folding member 110 or the second folding member 120 .
[0086] The identifiable characteristic patterns may be geometric patterns of different shapes, scale patterns of different sizes, or patterns of different brightness, etc.
[0087] The photoelectric sensor can be specifically used to: collect the current recognizable feature pattern of the first end of the connector 130 on the device 100 for flexible screen state detection based on photoelectric sensor feature recognition. According to the matching of the current recognizable feature pattern and the preset recognizable feature pattern, determine the first target image consistent with the current active image. Among them, the preset recognizable feature pattern corresponds to the specific folding angle of the first folding member 110 or the second folding member 120. The specific folding angle corresponding to the first target image can be used to determine the folding angle of the first folding member 110 or the second folding member 120.
[0088] The matching between the current identifiable feature pattern and the preset identifiable feature pattern can be achieved by extracting the identifiable features in the current identifiable feature pattern and determining the preset identifiable feature pattern having the same geometric shape, scale size or brightness as the first target image.
[0089] In the above-mentioned implementation process, a preset identifiable characteristic pattern formed by different identifiable characteristic marks is set at the position corresponding to the specific folding angle of the first folding member 110 or the second folding member 120, so as to be identified by the photoelectric sensor, and then the folding angle between the first folding member 110 and the second folding member 120 is determined, thereby improving the accuracy of image matching, and further improving the accuracy of the folding angle between the first folding member 110 and the second folding member 120.
[0090] In some optional embodiments, in the process of determining a first target image consistent with a current active image based on a match between a current identifiable feature pattern and a preset identifiable feature pattern, the photoelectric sensor can be specifically used to: match identifiable features of the current identifiable feature pattern with a preset identifiable feature pattern; and determine a preset identifiable feature pattern whose identifiable feature difference with the current identifiable feature pattern is less than a identifiable feature difference threshold as the first target image.
[0091] Generally, the matching degree between the current identifiable characteristic pattern and the preset identifiable characteristic pattern cannot reach 100%. Therefore, if only the preset identifiable characteristic pattern with a matching degree of 100% with the current identifiable characteristic pattern is used as the first target image, it is highly likely that there will be no preset identifiable characteristic pattern that completely matches the previous identifiable characteristic pattern.
[0092] In view of this, by setting a recognizable feature difference threshold, during the matching process, a preset recognizable feature pattern with a recognizable feature difference less than the recognizable feature difference threshold is used as the first target image, which can reduce the probability of a situation where a match is not actually made that should have been made.
[0093] Regarding the identifiable feature difference threshold, those skilled in the art can determine it by themselves according to the actual application scenario. For example, if the difference between the preset identifiable feature patterns is large, then the identifiable feature difference threshold can be set relatively low; if the difference between the preset identifiable feature patterns is small, then the identifiable feature difference threshold can be set relatively high.
[0094] In the above implementation process, by setting the identifiable feature difference threshold, in the matching process, the preset identifiable feature pattern with the identifiable feature difference less than the identifiable feature difference threshold is used as the first target image, thereby reducing the probability of the situation that the image should have been matched but was not matched. This improves the accuracy of the folding angle recognition of the folding screen.
[0095] In some optional embodiments, the preset identifiable characteristic pattern may include preset scale patterns of different sizes at positions corresponding to specific folding angles of the first folding member 110 or the second folding member 120. The current active image may include a current scale pattern at the current position of the first end of the connecting member 130.
[0096] In the process of matching the current active image with the preset active image in the feature library and determining the first target image consistent with the current active image, the photoelectric sensor can be specifically used to: match the current scale pattern with the preset scale pattern and determine the second target image in the preset scale pattern with the same size as the current scale pattern. The specific folding angle corresponding to the second target image can be used to determine the folding angle of the first folding member 110 or the second folding member 120.
[0097] like Figure 5 As shown, Figure 5 Schematic diagram of preset scale patterns of different sizes provided in the embodiment of the present application. Preset scale patterns of different sizes may be scale lines of different lengths.
[0098] In the process of determining a preset scale pattern of the same size as the current scale pattern as the second target image, the specific implementation method of performing preliminary screening by brightness as described in the previous embodiment can also be adopted, or the specific implementation method of setting a recognizable feature difference threshold as described in the previous embodiment can also be adopted.
[0099] The specific implementation method of using the second target image to determine the folding angle of the first folding member 110 or the second folding member 120 can also be to use the corresponding specific folding angle as the current folding angle of the device 100 for flexible screen state detection based on photoelectric sensor feature recognition.
[0100] In the above implementation process, by setting preset scale patterns of different sizes at the position corresponding to the specific folding angle of the first folding member 110 or the second folding member 120, and using them for comparison with the current scale pattern collected by the photoelectric sensor, the electromagnetic interference in the process of identifying the folding angle of the device 100 for flexible screen state detection based on photoelectric sensor feature recognition is reduced. Due to the matching between the current scale pattern and the preset scale pattern, it is only necessary to identify whether the scale size in the current scale pattern is consistent with the scale size of the preset scale pattern, and there is no need to identify other features of the pattern, thereby simplifying the complexity of matching and ultimately improving the speed and accuracy of identifying the folding angle of the folding screen.
[0101] In some optional embodiments, in the process of determining the specific folding angle corresponding to the target image as the folding angle of the first folding member 110 or the second folding member 120, the photoelectric sensor can be specifically used to: determine the specific folding angle corresponding to the first target image as the first folding angle of the first folding member 110 or the second folding member 120. Determine the specific folding angle corresponding to the second target image as the second folding angle of the first folding member 110 or the second folding member 120. When it is determined that the difference between the first folding angle and the second folding angle does not exceed the angle difference threshold, the first folding angle or the second folding angle is used as the folding angle of the first folding member 110 or the second folding member 120.
[0102] On the basis of the above-mentioned embodiment, in combination with the scheme of the preset identifiable characteristic pattern formed by different identifiable characteristic marks and the scheme of the preset scale pattern of different sizes, the first folding angle and the second folding angle obtained by the two schemes are used as references for determining the final folding angle. Specifically, when the difference between the first folding angle and the second folding angle does not exceed the angle difference threshold, it means that the first folding angle and the second folding angle obtained by the two schemes have high accuracy, so either one of them can be used as the final recognition result.
[0103] In the above implementation process, by combining the angle recognition results obtained by the two folding angle recognition methods, and when the difference between the first folding angle and the second folding angle recognition results is less than the angle difference threshold, either one of them is used as the final folding angle, thereby further improving the accuracy of the final recognized folding angle of the folding screen.
[0104] In some optional embodiments, the preset identifiable characteristic pattern may include preset geometric patterns of different shapes at positions corresponding to specific folding angles of the first folding member 110 or the second folding member 120. The current active image may include a current geometric pattern at the current position of the first end of the connecting member 130.
[0105] The preset geometric patterns of different shapes can be triangles, squares, hexagons, circles, etc. Those skilled in the art can select corresponding geometric patterns according to the specific quantity requirements of the preset geometric patterns. As a preferred embodiment, geometric patterns with large differences can be selected as the preset geometric patterns as much as possible. Figure 6 , Figure 6 Schematic diagram of preset scale patterns of different sizes provided in the embodiment of the present application. As a set of exemplary preset geometric patterns: triangle, square, five-pointed star, X-shape, circle.
[0106] In the process of matching the current active image with the preset active image in the feature library and determining the first target image that is consistent with the current active image, the photoelectric sensor can be specifically used to: match the current geometric pattern with the preset geometric pattern and determine the third target image in the preset geometric pattern that is consistent with the current geometric pattern. The specific folding angle corresponding to the third target image can be used to determine the folding angle of the first folding member 110 or the second folding member 120.
[0107] The specific implementation method of using the third target image to determine the folding angle of the first folding member 110 or the second folding member 120 can also be to use the corresponding specific folding angle as the current folding angle of the device 100 for flexible screen state detection based on photoelectric sensor feature recognition.
[0108] In the above implementation process, preset geometric patterns of different shapes are set at the position corresponding to the specific folding angle of the first folding member 110 or the second folding member 120, and used for comparison with the current scale pattern collected by the photoelectric sensor. This reduces the electromagnetic interference in the process of identifying the folding angle of the folding screen. Due to the matching between the current scale pattern and the preset scale pattern, it is only necessary to identify whether the geometric shape of the current scale pattern is consistent with the geometric shape of the preset scale pattern, and there is no need to identify other features of the pattern, which also simplifies the complexity of matching and ultimately improves the speed and accuracy of identifying the folding angle of the folding screen.
[0109] In some optional embodiments, in the process of determining the specific folding angle corresponding to the target image as the folding angle of the first folding member 110 or the second folding member 120, the photoelectric sensor can be specifically used to: determine the specific folding angle corresponding to the first target image as the first folding angle of the first folding member 110 or the second folding member 120. Determine the specific folding angle corresponding to the third target image as the third folding angle of the first folding member 110 or the second folding member 120. When it is determined that the difference between the first folding angle and the third folding angle does not exceed the angle difference threshold, the first folding angle or the third folding angle is used as the folding angle of the first folding member 110 or the second folding member 120.
[0110] On the basis of the above-mentioned embodiment, in combination with the scheme of the preset identifiable characteristic pattern formed by different identifiable characteristic marks and the scheme of the preset geometric pattern of different shapes, the first folding angle and the third folding angle obtained by the two schemes are used as references for determining the final folding angle. Specifically, when the difference between the first folding angle and the third folding angle does not exceed the angle difference threshold, it means that the first folding angle and the third folding angle obtained by the two schemes have high accuracy, so either one of them can be used as the final recognition result.
[0111] As an optional implementation, in combination with the second folding angle corresponding to the second target image described in the previous embodiment, the final folding angle can be determined by combining the first folding angle, the second folding angle, and the third folding angle. Specifically, when the difference between any two of the three does not exceed the angle difference threshold, any one of the three is used as the final folding angle, or the average of the three is used as the final folding angle. Specifically, when the difference between two of them does not exceed the angle difference threshold, and the difference between the third and the first two exceeds the angle difference threshold, the final folding angle can be determined based on the first two.
[0112] In the above implementation process, by combining the angle recognition results obtained by the two folding angle recognition methods, and when the difference between the first folding angle and the third folding angle recognition results is less than the angle difference threshold, either one of them is used as the final folding angle. This also further improves the accuracy of the final recognized folding angle of the folding screen.
[0113] Please refer to Figure 7 , Figure 7 It is a third stereoscopic diagram of the device for detecting the state of a flexible screen based on feature recognition of a photoelectric sensor provided in an embodiment of the present application. Based on the same concept, an embodiment of the present application also provides a device 100 for detecting the state of a flexible screen based on feature recognition of a photoelectric sensor, comprising a first rolling member 111, a second rolling member 121, a connecting member 130 and a photoelectric sensor. The first rolling member 111 and the second rolling member 121 are respectively rotatably arranged on the connecting member 130, and the displacement generated by the rolling of the first rolling member 111 is collinear with the displacement generated by the rolling of the second rolling member 121. The first rolling member 111 and the second rolling member 121 are configured to change the unfolding area of the flexible screen by rolling on the connecting member 130.
[0114] The photoelectric sensor is used to: collect the current active image of the first end of the connecting member; match the current active image with the preset active image in the feature library to determine the target image consistent with the current active image; wherein the preset active image corresponds to the specific distance moved by the first rolling member 111 or the second rolling member 121; the specific distance is used to determine the distance moved by the first rolling member 111 or the second rolling member 121.
[0115] The first rolling member 111 and the second rolling member 121 may be rollers, pulleys, drums, etc., respectively, and the connecting member may be a bearing member capable of bearing the first rolling member 111 and the second rolling member 121 and allowing the first rolling member 111 and the second rolling member 121 to roll thereon. In the case of supporting the flexible screen, the first rolling member 111 and / or the second rolling member 121 may roll on the connecting member 130 and wind up the flexible screen, thereby achieving the unfolding or winding of the flexible screen.
[0116] The photoelectric sensor can be arranged on the connecting member 130, or on the first rolling member 111, or on the second rolling member 121. The photoelectric sensor can obtain the displacement parameters of the first rolling member 111 and the second rolling member 121 during the rolling process, so as to determine the unfolded area of the flexible screen.
[0117] The specific implementation method of the photoelectric sensor determining the distance moved by the first rolling element 111 or the second rolling element 121 through image acquisition and analysis may be similar to the method described in the previous embodiment.
[0118] In the above implementation process, the displacement parameters of the first rolling element 111 and the second rolling element 121 during the rolling process are obtained by the photoelectric sensor, so as to determine the unfolded area of the flexible screen, and control the working mode of the flexible screen state detection system based on photoelectric sensor feature recognition according to the determined unfolded area. The accuracy of the obtained unfolded area of the flexible screen is improved, thereby improving the accuracy of the control of the scroll screen.
[0119] Please refer to Figure 8 , Figure 8is a stereoscopic diagram of a system for detecting the state of a flexible screen based on photoelectric sensor feature recognition provided in an embodiment of the present application. Based on the same concept, an embodiment of the present application also provides a system 10 for detecting the state of a flexible screen based on photoelectric sensor feature recognition, which may include a processor (not shown in the figure), a flexible screen 200, and the device 100 for detecting the state of a flexible screen based on photoelectric sensor feature recognition described in the embodiment of the device 100 for detecting the state of a flexible screen based on photoelectric sensor feature recognition. The device 100 for detecting the state of a flexible screen based on photoelectric sensor feature recognition may be used to connect and support the flexible screen 200. The first movable member 110 and the second movable member 120 may also be connected to the flexible screen 200, respectively, and may be configured to drive the flexible screen 200 to change the shape of the flexible screen 200. The processor may be configured to determine the shape of the flexible screen 200 according to the folding angle.
[0120] Taking the folding screen as an example, when the angle between the two parts that can be folded is 0°, the folding screen is off. When the angle between them is 90°, half screen display is performed. When the angle between them is 180°, full screen display is performed.
[0121] The above implementation process can have the same beneficial effects as the device 100 for flexible screen state detection based on photoelectric sensor feature recognition described above, and will not be repeated here.
[0122] In summary, the device 100 for detecting the state of a flexible screen based on photoelectric sensor feature recognition provided by each embodiment of the present application improves the accuracy of the folding angle finally obtained by setting a photoelectric sensor in the device 100 for detecting the state of a flexible screen based on photoelectric sensor feature recognition. In addition, by matching the current active image with the preset active image in the feature library, there is no need to perform more refined processing and recognition on the image, thereby improving the efficiency of identifying the folding angle of the moving target. By filtering out a part of the preliminary screening images from the preset active image according to the brightness of the current active image before performing feature matching, and then performing feature matching on the current active image and the preliminary screening images one by one, there is no need to match one by one with all the preset active images, thereby further improving the efficiency of identifying the folding angle of the folding screen. By determining the correction coefficient by using the first sample folding angle and the second sample folding angle, and obtaining the comparison displacement by multiplying the correction coefficient with the displacement. On the basis of realizing the correction of the displacement, the accuracy of the folding angle of the first folding member 110 or the second folding member 120 obtained is improved. By setting preset scale patterns of different sizes and / or preset geometric patterns of different shapes at the positions corresponding to the specific folding angles of the first folding member 110 or the second folding member 120, it is not necessary to identify other features of the pattern, thereby simplifying the matching complexity, and ultimately improving the speed and accuracy of identifying the folding angle of the folding screen. Combining these solutions to identify the folding angle also further improves the accuracy of identifying the folding angle of the flexible screen state detection device 100 based on photoelectric sensor feature recognition.
[0123] The above description is only an optional implementation manner of the embodiments of the present application, but the protection scope of the embodiments of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or replacements within the technical scope disclosed in the embodiments of the present application, which should be covered within the protection scope of the embodiments of the present application.
Claims
1. A device for detecting the state of a flexible screen based on feature recognition of a photoelectric sensor, characterized in that: It includes a first folding member, a second folding member, a connecting member and a photoelectric sensor; The first folding member and the second folding member are rotatably connected along a first rotation axis, and the first rotation axis is parallel to the plane where the first folding member is located and the plane where the second folding member is located respectively; The first end of the connecting member is slidably connected to the first folding member, and the second end of the connecting member is rotatably connected to the second folding member along a second rotation axis; wherein the first rotation axis is parallel to the second rotation axis; The photoelectric sensor is used for: Acquiring a current active image of the first end of the connector; Matching the current active image with preset active images in a feature library to determine a target image that is consistent with the current active image; Wherein, the preset active image corresponds to a specific folding angle of the first folding member or the second folding member; the specific folding angle is used to determine the folding angle of the first folding member or the second folding member; In the process of matching the current active image with the preset active image in the feature library to determine the target image consistent with the current active image, the photoelectric sensor is specifically used to: Filtering at least one of the preset active images corresponding to a brightness range including the brightness of the current active image from a feature image library according to the brightness of the current active image, and preliminarily filtering the images; Perform feature matching between the current active image and the preliminary screening image to determine the target image; Wherein, the current active image includes a characteristic pattern formed by a characteristic mark at a current position of the first end of the connecting member; The photoelectric sensor is specifically used for: Comparing the current active image with a reference position image of the first end of the connecting member to obtain a position change amount of the characteristic pattern; The reference position image is a first captured image corresponding to the position before the first end of the connecting member passes the position corresponding to the current active image, and includes the characteristic pattern; the position change is used to determine the displacement of the first end of the connecting member, and to determine the comparative folding angle of the first folding member or the second folding member according to the displacement; the comparative folding angle is used to calibrate the folding angle; The displacement is used to multiply the correction coefficient to obtain a comparison displacement, and the comparison displacement is used to determine the comparison folding angle; The method for determining the correction coefficient comprises the following steps: Acquire a sample moving image of the first end of the connecting member collected by the photoelectric sensor; wherein the sample moving image includes a characteristic pattern formed by a characteristic mark on the first end of the connecting member; Matching the sample active image with preset active images in a feature library to determine a sample target image that is consistent with the sample active image; Determining the specific folding angle corresponding to the sample target image as a first sample folding angle occurring at the first end of the connecting member; Comparing the sample active image with a reference position image of the first end of the connecting member to obtain a position change amount of the characteristic pattern; Determining a second sample folding angle of the first end of the connecting member according to the position change; and The ratio of the first sample folding angle to the second sample folding angle is determined as the correction coefficient.
2. The device for detecting the state of a flexible screen based on photoelectric sensor feature recognition according to claim 1, characterized in that: The connecting member is provided with a preset identifiable characteristic pattern formed by different identifiable characteristic marks at a position corresponding to a specific folding angle of the first folding member or the second folding member; The photoelectric sensor is specifically used for: Collecting a currently identifiable characteristic pattern of the first end of the connector on the device for detecting the state of the flexible screen based on characteristic recognition of a photoelectric sensor; Determining a first target image consistent with the current active image according to a matching condition between the current identifiable characteristic pattern and the preset identifiable characteristic pattern; Among them, the preset identifiable characteristic pattern corresponds to a specific folding angle of the first folding member or the second folding member; the specific folding angle corresponding to the first target image is used to determine the folding angle of the first folding member or the second folding member.
3. The device for detecting the state of a flexible screen based on photoelectric sensor feature recognition according to claim 2, characterized in that: In the process of determining the first target image consistent with the current active image according to the matching between the current identifiable characteristic pattern and the preset identifiable characteristic pattern, the photoelectric sensor is specifically used to: Performing identifiable feature matching between the current identifiable feature pattern and the preset identifiable feature pattern; A preset identifiable feature pattern whose identifiable feature difference with the current identifiable feature pattern is less than a identifiable feature difference threshold is determined as the first target image.
4. The device for detecting the state of a flexible screen based on photoelectric sensor feature recognition according to any one of claims 2 and 3, characterized in that: The preset identifiable characteristic pattern includes preset scale patterns of different sizes at positions corresponding to a specific folding angle of the first folding member or the second folding member; the current active image includes a current scale pattern at a current position of the first end of the connecting member; in the process of matching the current active image with the preset active images in the characteristic library to determine a first target image consistent with the current active image, the photoelectric sensor is specifically used to: The current scale pattern is matched with the preset scale pattern to determine a second target image in the preset scale pattern having the same size as the current scale pattern; wherein the specific folding angle corresponding to the second target image is used to determine the folding angle of the first folding member or the second folding member.
5. The device for detecting the state of a flexible screen based on photoelectric sensor feature recognition according to claim 4, characterized in that: In the process of determining the specific folding angle corresponding to the target image as the folding angle of the first folding member or the second folding member, the photoelectric sensor is specifically used for: Determining the specific folding angle corresponding to the first target image as a first folding angle of the first folding member or the second folding member; Determining the specific folding angle corresponding to the second target image as a second folding angle of the first folding member or the second folding member; When it is determined that the difference between the first folding angle and the second folding angle does not exceed an angle difference threshold, the first folding angle or the second folding angle is used as the folding angle of the first folding member or the second folding member.
6. The device for detecting the state of a flexible screen based on photoelectric sensor feature recognition according to any one of claims 2 and 3, characterized in that: The preset identifiable characteristic pattern includes preset geometric patterns of different shapes at positions corresponding to the specific folding angle of the first folding member or the second folding member; the current active image includes the current geometric pattern at the current position of the first end of the connecting member; in the process of matching the current active image with the preset active image in the characteristic library to determine the first target image consistent with the current active image, the photoelectric sensor is specifically used to: The current geometric pattern is matched with the preset geometric pattern to determine a third target image in the preset geometric pattern that is consistent with the shape of the current geometric pattern; wherein the specific folding angle corresponding to the third target image is used to determine the folding angle of the first folding member or the second folding member.
7. The device for detecting the state of a flexible screen based on photoelectric sensor feature recognition according to claim 6, characterized in that: In the process of determining the specific folding angle corresponding to the target image as the folding angle of the first folding member or the second folding member, the photoelectric sensor is specifically used for: Determining the specific folding angle corresponding to the first target image as a first folding angle of the first folding member or the second folding member; Determining the specific folding angle corresponding to the third target image as a third folding angle of the first folding member or the second folding member; When it is determined that the difference between the first folding angle and the third folding angle does not exceed the angle difference threshold, the first folding angle or the third folding angle is used as the folding angle of the first folding member or the second folding member.
8. A system for detecting the state of a flexible screen based on feature recognition of a photoelectric sensor, characterized in that: A device for detecting the state of a flexible screen based on feature recognition of a photoelectric sensor, a flexible screen and a processor as claimed in any one of claims 1 to 7; The device for detecting the state of the flexible screen based on feature recognition of a photoelectric sensor is used to connect and support the flexible screen; The first folding member and the second folding member are also respectively connected to the flexible screen and are configured to drive the flexible screen to change the shape of the flexible screen; The processor is configured to determine the shape of the flexible screen according to the folding angle.
Citation Information
Patent Citations
Electronic device and method for detecting folding angle of electronic device
CN110360922A
Clamping platform, folding angle calibration method, folding angle detection method and flatness detection method
CN110394745A
Display screen state determination method and device, electronic equipment and storage medium
CN112099574A
Folding angle determination method, folding equipment and electronic equipment
CN112304252A
Electronic equipment and display method
CN117234280A
