Tablet computer with vision protection function
Through laser ranging and camera monitoring technology, combined with artificial intelligence, the feature vectors used in tablet computer use are extracted and fused, which solves the problem of insufficient accuracy of vision protection systems in the existing technology and achieves effective protection of students' vision.
Patent Information
- Application Number
- CN202410335206.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-08
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2044-04-08
AI Technical Summary
Existing tablet computers may cause potential harm to students' vision during long-term use, and the distance measurement accuracy of infrared light measurement technology is affected by the color and surface of the object being measured, resulting in insufficient reminders and correction accuracy of the vision protection system.
Laser ranging technology is used combined with camera monitoring and artificial intelligence to obtain distance data and sitting images through the data acquisition module. The data feature extraction module extracts feature vectors. The data fusion module performs interference correction. The monitoring module determines whether students are using the tablet correctly through a classifier. .
It achieves accurate monitoring and correction of students' vision protection, improves the accuracy and reliability of the vision protection system, and ensures that students maintain the correct distance and sitting posture when using tablets.
Smart Images

Figure CN118155137B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of artificial intelligence technology, and more specifically, to a tablet computer with a vision protection function. Background Art
[0002] In the context of the development of educational informatization, tablet computers are widely used as teaching tools. However, long-term use of tablet computers may cause potential damage to students' eyesight. To solve this problem, a vision protection solution for educational tablet computers suitable for primary and secondary school students is needed. This solution should have a built-in vision protection system that supports functions such as accurate distance measurement, automatic brightness adjustment, camera sitting posture monitoring and prompting correct sitting posture information, so as to remind and correct students' bad usage habits, help them use tablet computers safely, and fundamentally prevent the occurrence of vision problems.
[0003] At present, distance measurement usually adopts infrared light measurement technology, which estimates the distance by measuring the amount of reflected light. However, this method has certain disadvantages, namely that the color and surface of the measured object will have a greater impact on the measurement accuracy, resulting in insufficient accuracy of reminders and corrections. Therefore, when designing a vision protection tablet, it is necessary to consider how to overcome these technical limitations to ensure that the system can accurately and reliably monitor the distance between students and the screen to provide more effective vision protection functions.
[0004] Therefore, a tablet computer with vision protection function is desired. Summary of the invention
[0005] In order to solve the above technical problems, this application is proposed. The embodiment of this application provides a tablet computer with vision protection function, which realizes a tablet computer monitoring system for student vision protection through the integration of laser ranging, camera monitoring and artificial intelligence.
[0006] Accordingly, according to one aspect of the present application, a tablet computer with a vision protection function is provided, comprising:
[0007] A data acquisition module is used to obtain distance data at multiple predetermined time points collected by laser ranging technology, and to obtain a student's sitting posture monitoring image collected by a camera;
[0008] A data feature extraction module, used to extract a distance data text comprehension feature vector and a student sitting posture high-dimensional global correlation feature vector from the distance data at the plurality of predetermined time points and the student sitting posture monitoring image respectively;
[0009] A data fusion module, used for performing multiplicative interference correction based on category probability values on the distance data text comprehension feature vector and the student sitting posture high-dimensional global correlation feature vector to obtain a vision protection monitoring feature vector;
[0010] The monitoring module is used to pass the vision protection monitoring feature vector through a classifier to obtain a classification result, and the classification result is used to indicate whether the student uses the tablet computer correctly.
[0011] According to another aspect of the present application, a method having a vision protection function is also provided, comprising:
[0012] Acquire distance data at multiple predetermined time points collected by laser ranging technology, and acquire student sitting posture monitoring images collected by a camera;
[0013] Extracting a distance data text comprehension feature vector and a student sitting posture high-dimensional global correlation feature vector from the distance data at the plurality of predetermined time points and the student sitting posture monitoring image respectively;
[0014] Performing multiplicative interference correction based on category probability values on the distance data text comprehension feature vector and the student sitting posture high-dimensional global correlation feature vector to obtain a vision protection monitoring feature vector;
[0015] The vision protection monitoring feature vector is passed through a classifier to obtain a classification result, and the classification result is used to indicate whether the student uses the tablet computer correctly.
[0016] Compared with the prior art, the present application provides a tablet computer with vision protection function, which uses laser ranging technology combined with a camera and artificial intelligence to monitor the distance between students and the screen and their sitting posture, extracts and fuses feature vectors, and uses a classifier to obtain monitoring results of whether students are using the tablet computer correctly, thereby realizing the vision protection function. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] By describing the embodiments of the present application in more detail in conjunction with the accompanying drawings, the above and other purposes, features and advantages of the present application will become more apparent. The accompanying drawings are used to provide a further understanding of the embodiments of the present application and constitute a part of the specification. Together with the embodiments of the present application, they are used to explain the present application and do not constitute a limitation of the present application. In the accompanying drawings, the same reference numerals generally represent the same components or steps.
[0018] Figure 1 Schematic diagram of a block diagram of a tablet computer with vision protection function according to an embodiment of the present application.
[0019] Figure 2 Schematic diagram of a block diagram of a data feature extraction module in a tablet computer with vision protection function according to an embodiment of the present application.
[0020] Figure 3 The block diagram of the distance data extraction unit in the tablet computer with vision protection function according to the embodiment of the present application is shown.
[0021] Figure 4 The figure is a flow chart of a method with vision protection function according to an embodiment of the present application. DETAILED DESCRIPTION
[0022] Various exemplary embodiments, features and aspects of the present application will be described in detail below with reference to the accompanying drawings. The same reference numerals in the accompanying drawings represent elements with the same or similar functions. Although various aspects of the embodiments are shown in the accompanying drawings, the drawings are not necessarily drawn to scale unless otherwise specified.
[0023] The word “exemplary” is used exclusively herein to mean “serving as an example, example, or illustration.” Any embodiment described herein as “exemplary” is not necessarily to be construed as preferred or advantageous over other embodiments.
[0024] In addition, in order to better illustrate the present application, numerous specific details are given in the following specific embodiments. It should be understood by those skilled in the art that the present application can also be implemented without certain specific details. In some examples, methods, means, components and circuits well known to those skilled in the art are not described in detail in order to highlight the subject matter of the present application.
[0025] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features. In the description of this application, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.
[0026] Figure 1 FIG. 1 is a block diagram of a tablet computer with vision protection function according to an embodiment of the present application. Figure 1 As shown, according to the embodiment of the present application, the tablet computer 100 with a vision protection function includes: a data acquisition module 110, used to obtain distance data at multiple predetermined time points collected by laser ranging technology, and to obtain a student sitting posture monitoring image collected by a camera; a data feature extraction module 120, used to extract a distance data text understanding feature vector and a student sitting posture high-dimensional global correlation feature vector from the distance data at the multiple predetermined time points and the student sitting posture monitoring image respectively; a data fusion module 130, used to perform multiplicative interference correction based on a category probability value on the distance data text understanding feature vector and the student sitting posture high-dimensional global correlation feature vector to obtain a vision protection monitoring feature vector; a monitoring module 140, used to pass the vision protection monitoring feature vector through a classifier to obtain a classification result, and the classification result is used to indicate whether the student uses the tablet computer correctly.
[0027] In an embodiment of the present application, the data acquisition module 110 is used to obtain the distance data of multiple predetermined time points collected by the laser ranging technology, and to obtain the student sitting posture monitoring image collected by the camera. It should be understood that the laser ranging technology can accurately obtain the distance data between the student and the screen, while the camera monitoring can capture the student's sitting posture in real time, and the two types of data are combined through the data acquisition module. The data feature extraction module further extracts the distance data text understanding feature vector and the student sitting posture high-dimensional global correlation feature vector, so as to more comprehensively describe the student's usage. The data fusion module combines these feature vectors to form a vision protection monitoring feature matrix. Through the analysis of the classifier of the monitoring module, it can accurately determine whether the student is using the tablet correctly, timely remind and correct bad usage habits, effectively prevent the occurrence of vision problems, and thus help protect the student's vision health. The collaboration of the entire system makes the monitoring more comprehensive and accurate, and provides effective technical support for vision protection.
[0028] In an embodiment of the present application, the data feature extraction module 120 is used to extract the distance data text understanding feature vector and the student sitting posture high-dimensional global correlation feature vector from the distance data of the multiple predetermined time points and the student sitting posture monitoring image. It should be understood that by extracting the text understanding feature vector of the distance data, the system can obtain more useful information from the digitized distance data, such as the trend of changes in the distance between the student and the screen, the average distance, the distance fluctuation, etc. These feature vectors help the system to better monitor the distance between the student and the screen, so as to evaluate whether the student's usage habits meet the vision protection standards. By extracting the high-dimensional global correlation feature vector of the student sitting posture monitoring image, the system can capture information such as subtle changes in the student's sitting posture and whether the posture conforms to ergonomic principles. These feature vectors help the system determine whether the student's sitting posture is correct and whether there are bad habits, and then provide corresponding prompts and corrective measures.
[0029] Specifically, in one embodiment of the present application, Figure 2 FIG. 1 is a block diagram of a data feature extraction module in a tablet computer with vision protection function according to an embodiment of the present application. Figure 2 As shown, in the above-mentioned tablet computer 100 with vision protection function, the data feature extraction module 120 includes: a distance data extraction unit 121, which is used to encode the distance data of the multiple predetermined time points to obtain the distance data text understanding feature vector; a sitting posture image extraction unit 122, which is used to extract the student sitting posture high-dimensional global correlation feature vector from the student sitting posture monitoring image.
[0030] Accordingly, in a specific example of the present application, the distance data extraction unit 121 is used to encode the distance data at the multiple predetermined time points to obtain the distance data text understanding feature vector. It should be understood that by encoding the distance data at multiple time points, the key features can be extracted and the redundant information can be removed, thereby compressing the original data into a more representative feature vector. This can reduce the dimension of the data, improve the calculation efficiency, and better reflect the essential characteristics of the distance data. Coding can help the system identify and learn the patterns and laws hidden in the distance data. By encoding the distance data, the system can better understand the relationship between the student and the screen, capture important timing information, and more accurately monitor the student's usage habits and behaviors. The feature vector obtained by encoding the distance data can improve the performance and accuracy of the system. These feature vectors can be used as inputs to the monitoring module to help the system better classify and judge the distance between the student and the screen, thereby providing a more effective vision protection function.
[0031] further, Figure 3 The figure shows a block diagram of a distance data extraction unit in a tablet computer with vision protection function according to an embodiment of the present application. Figure 3 As shown, in the data feature extraction module 120 of the above-mentioned tablet computer 100 with vision protection function, the distance data extraction unit 121 includes: a temporal encoding subunit 1211, which is used to pass the distance data of the multiple predetermined time points through a temporal encoder including a one-dimensional convolutional layer to obtain a distance feature vector; a multi-scale encoding subunit 1212, which is used to pass the distance feature vector through a multi-scale neighborhood feature extraction module to obtain the distance data text understanding feature vector.
[0032] Specifically, the time series encoding subunit 1211 is used to pass the distance data of the multiple predetermined time points through a time series encoder including a one-dimensional convolution layer to obtain a distance feature vector. It should be understood that the one-dimensional convolution layer has a good feature extraction capability when processing time series data. Through the time series encoder, the time series features in the distance data, such as the change trend of the distance over time, the periodic change, etc., can be effectively captured, so as to better reflect the interaction between the student and the screen. The one-dimensional convolution layer can effectively capture local features. This is very important for distance data, because there may be local change patterns or key features in the distance data, and these local features can be better extracted through the one-dimensional convolution layer, which helps to represent the essence of the distance data. The convolution layer has the characteristic of parameter sharing, which can reduce the number of parameters of the model, improve the computational efficiency, and also help to reduce the risk of overfitting. This is very beneficial for processing a large amount of time series data, and can better process the distance data of multiple time points. Through the one-dimensional convolution layer, the system can learn the abstract feature representation in the distance data, making the data easier to understand and process. This helps to improve the system's ability to understand distance data and provide a better foundation for subsequent feature processing and analysis.
[0033] Correspondingly, the time series encoding subunit includes: a distance data input vector construction subunit, which is used to arrange the distance data of the multiple predetermined time points into a distance data input vector according to the time dimension; a distance data normalization mapping subunit, which is used to perform maximum value-based normalization processing on the distance data input vector to obtain a normalized distance data input vector; a distance data fully connected encoding subunit, which is used to use the fully connected layer of the time series encoder to perform fully connected encoding on the normalized distance data input vector to extract high-dimensional implicit features of the eigenvalues at each position in the normalized distance data input vector; a distance data one-dimensional convolution encoding subunit, which is used to use the one-dimensional convolution layer of the time series encoder to perform one-dimensional encoding on the normalized distance data input vector to extract high-dimensional implicit correlation features of the correlation between the eigenvalues at each position in the normalized distance data input vector.
[0034] Correspondingly, the multi-scale encoding subunit 1212 is used to pass the distance feature vector through the multi-scale neighborhood feature extraction module to obtain the distance data text understanding feature vector. It should be understood that the multi-scale neighborhood feature extraction module can help the system obtain feature information of distance data from different scales. Distance data may be affected by different scales, such as instantaneous changes and long-term trends. Through multi-scale information fusion, the system can more comprehensively understand the characteristics of distance data and improve the ability to abstract and understand data. The multi-scale neighborhood feature extraction module can help the system capture feature information at different scales, thereby improving the ability of feature representation. Features at different scales may contain information at different levels. By integrating this information, distance data can be better represented and understood, which helps to improve the system's ability to interpret data. Multi-scale feature extraction can increase the generalization ability of the model. By extracting features at multiple scales, the model can better adapt to data changes at different scales, thereby improving the generalization ability of the model on new data, so that the model can effectively perform text understanding and feature extraction for distance data in different scenarios. The multi-scale neighborhood feature extraction module can integrate global and local information. By combining features at different scales, we can better understand the overall trend and local changes of distance data, allowing the system to grasp the characteristics of the data more comprehensively, thereby achieving more accurate text understanding and feature extraction.
[0035] Accordingly, in a specific example of the present application, the sitting posture image extraction unit 122 is used to extract the high-dimensional global correlation feature vector of the student's sitting posture from the student's sitting posture monitoring image. It should be understood that the student's sitting posture monitoring image may contain a large amount of detailed information and features, and the student's sitting posture state can be more comprehensively represented by extracting the high-dimensional feature vector. This high-dimensional feature representation can more accurately capture the student's sitting posture characteristics, which is helpful for subsequent student behavior analysis and posture recognition. The student's sitting posture state may be affected by the overall posture, and global correlation features need to be considered. By extracting the global correlation feature vector, the information of different parts of the image can be comprehensively considered to better understand the student's sitting posture state, including the overall posture and posture association of the body. The high-dimensional global correlation feature vector can help the system extract key information. In student sitting posture monitoring, some key posture features are crucial for evaluating students' concentration and learning status. By extracting the high-dimensional global correlation feature vector, these key information can be better captured, which helps the system to accurately analyze and evaluate the student's sitting posture. By extracting the high-dimensional global correlation feature vector, the system can learn more complex feature representations. This feature learning capability can help the system better understand students' sitting status, including subtle changes in posture and overall associations, thereby providing stronger support for subsequent behavioral analysis and decision-making.
[0036] Specifically, the sitting posture image extraction unit includes: a feature extraction subunit, used to pass the student sitting posture monitoring image through a first convolutional neural network model as a feature extractor to obtain a student sitting posture monitoring related feature map; a sitting posture high-dimensional feature subunit, used to pass the student sitting posture monitoring related feature map through a non-local neural network model to obtain a student sitting posture high-dimensional global related feature map; a feature map dimensionality reduction subunit, used to perform global mean pooling on each feature matrix along the channel dimension of the student sitting posture high-dimensional global related feature map to obtain the student sitting posture high-dimensional global related feature vector.
[0037] Correspondingly, the feature extraction subunit is used to pass the student sitting posture monitoring image through the first convolutional neural network model as a feature extractor to obtain a student sitting posture monitoring associated feature map. It should be understood that the convolutional neural network has a strong feature extraction capability in the field of image processing. Through the convolutional neural network model, rich feature information can be effectively extracted from the input student sitting posture monitoring image, including features such as edges, textures, and shapes, which is helpful for subsequent posture analysis and recognition. The convolutional neural network model can learn feature representations at different levels through multi-layer convolution and pooling operations. From the bottom to the top, the convolutional neural network gradually extracts more abstract and semantic features, which can better describe the student's sitting posture state, including the overall structure and local association of the posture. The convolutional neural network model utilizes the characteristics of spatial locality and weight sharing, and can effectively capture the correlation between spatially adjacent pixels in the student sitting posture monitoring image, thereby better extracting the sitting posture features in the image. This feature makes the convolutional neural network perform well in image processing tasks. The convolutional neural network model can automatically learn feature representations without manually designing feature extractors. Through a large amount of training data, the convolutional neural network can learn the feature representation that best suits the task, thereby improving the representation ability of the associated feature map of student sitting posture monitoring and laying the foundation for subsequent sitting posture high-dimensional feature extraction and dimensionality reduction processing.
[0038] Specifically, the feature extraction subunit includes: a secondary subunit for shallow feature extraction, used to extract a shallow feature map of the student sitting posture from the i-th layer of the first convolutional neural network, where i is greater than or equal to 4 and less than or equal to 6; a secondary subunit for deep feature extraction, used to extract a deep feature map of the student sitting posture from the j-th layer of the first convolutional neural network, where j / i is greater than or equal to 10 and less than or equal to 15; and a secondary subunit for fusion, used to fuse the shallow feature map of the student sitting posture and the deep feature map of the student sitting posture to obtain the student sitting posture monitoring associated feature map.
[0039] Correspondingly, the sitting posture high-dimensional feature subunit is used to obtain the student sitting posture high-dimensional global correlation feature map through the non-local neural network model. It should be understood that the non-local neural network model can help model the long-distance dependency between different positions in the image, so as to better capture the global correlation between the various parts in the image. In the student sitting posture monitoring, the student's sitting posture state may be affected by the overall posture. The non-local neural network model can better understand the association between different parts in the image and extract the global correlation features. Non-local operations can help the network capture the information in the image more widely in the spatial dimension, not just limited to the local area. In this way, the key features in the student sitting posture monitoring image can be more comprehensively extracted, including the overall posture and posture association, which helps the system to understand the student's sitting posture state more accurately. The non-local neural network model can enhance the expressive ability of the features and help the network learn more complex feature representations. By introducing non-local operations, the network can better understand the relationship between different positions in the image, thereby improving the representation ability of the student sitting posture high-dimensional global correlation feature map, and providing more powerful support for subsequent feature extraction and analysis. The introduction of the non-local neural network model can improve the performance of the model. By better capturing the global correlation features in the image, the student sitting posture monitoring system can improve its ability to understand and analyze the student's sitting posture status, and improve the system's performance in the sitting posture monitoring task.
[0040] Specifically, the sitting posture high-dimensional feature subunit includes: a point convolution secondary subunit, which is used to input the student sitting posture monitoring associated feature map into the first point convolution layer, the second point convolution layer and the third point convolution layer of the non-local neural network respectively to obtain the first student sitting posture feature map, the second student sitting posture feature map and the third student sitting posture feature map; a first fusion secondary subunit, which is used to calculate the position-weighted sum of the first student sitting posture feature map and the second student sitting posture feature map to obtain the first student sitting posture fusion feature map; a normalization secondary subunit, which is used to input the first student sitting posture fusion feature map into the Softmax function to normalize the feature values of each position in the intermediate fusion feature map to obtain the normalized first student sitting posture fusion feature map; a second fusion secondary subunit, which is used to Calculate the position-weighted sum of the normalized first student sitting posture fusion feature map and the third student sitting posture feature map to obtain the second student sitting posture fusion feature map; a global perception secondary subunit is used to embed the second student sitting posture fusion feature map into a Gaussian similarity function to calculate the similarity between the feature values of each position in the second student sitting posture fusion feature map to obtain the student sitting posture global perception feature map; a channel number adjustment secondary subunit is used to pass the student sitting posture global perception feature map through the fourth point convolution layer of the non-local neural network to obtain a channel-adjusted global perception feature map; a third fusion secondary subunit is used to calculate the position-weighted sum of the channel-adjusted global perception feature map and the student sitting posture monitoring association feature map to obtain the student sitting posture high-dimensional global association feature map.
[0041] Correspondingly, the feature map dimensionality reduction subunit is used to perform global mean pooling on each feature matrix along the channel dimension of the high-dimensional global correlation feature map of the student sitting posture to obtain the high-dimensional global correlation feature vector of the student sitting posture. It should be understood that through the global mean pooling operation, the high-dimensional feature map can be converted into a feature vector of fixed dimension, reducing the number of parameters and the amount of calculation, simplifying the model structure, reducing the risk of overfitting, and improving the generalization ability of the model. The global mean pooling operation can retain the global information in the feature map, not just the local features. This helps to capture the characteristics of the overall sitting state in the student sitting posture monitoring image, including the overall posture and global correlation of the student, so as to better describe the student's sitting posture. Global mean pooling can reduce redundant information in the feature map and improve the generalization ability of the model. By performing global mean pooling on the feature map, the most important feature information can be extracted, and unnecessary details can be removed, which helps the model to better generalize to new student sitting posture monitoring images. Global mean pooling can help the model better learn the representation of overall features. After converting the feature map into a feature vector, the global features of the student sitting posture monitoring image can be better represented, which is beneficial to the subsequent student sitting posture analysis and recognition tasks.
[0042] In an embodiment of the present application, the data fusion module 130 is used to perform multiplicative interference correction based on the category probability value on the distance data text understanding feature vector and the student sitting posture high-dimensional global correlation feature vector to obtain a vision protection monitoring feature vector. It should be understood that the fusion of distance data text understanding features and student sitting posture features can combine different types of information to obtain more comprehensive vision protection monitoring features. The distance data text understanding features may contain information related to the student's position, environment, etc., while the student sitting posture features can reflect the student's posture state. The fusion of these two types of features can more comprehensively describe the monitoring environment and student conditions. Fusion of different types of feature vectors can improve the accuracy of vision protection monitoring. Combining distance data and student sitting posture features can better understand the monitoring scene, assist the system to more accurately monitor the student's behavior and state, and improve the monitoring effect. Fusion of feature vectors from different sources can optimize feature representation. By appropriately fusing distance data text understanding features and student sitting posture features, the feature space can be made more discriminative, which helps to improve the monitoring system's ability to discriminate different situations. Fusion of multi-source features can enhance the diversity and robustness of monitoring functions. Combining the distance data text understanding features and the students' sitting posture features can make the monitoring system more applicable and able to adapt to different monitoring scenarios and needs.
[0043] In particular, in the technical solution of the present application, it is considered that the distance data text understanding feature vector and the student sitting posture high-dimensional global correlation feature vector come from different data sources, namely, the image data collected by the camera and the traffic system exchange information collected by the database. These two data sources may have different data distributions and feature representations, resulting in differences in the nature of the feature vectors extracted therefrom. Since the distance data text understanding feature vector and the student sitting posture high-dimensional global correlation feature vector come from different data samples, they may have different feature dimensions. As a result, in the process of fusing the distance data text understanding feature vector and the student sitting posture high-dimensional global correlation feature vector to obtain the vision protection monitoring feature vector, there will be category imbalance, that is, the model tends to be biased towards a larger number of categories and ignores a smaller number of categories, which will cause the model's generalization ability on unseen data to decrease, thereby affecting the accuracy of the classification results obtained by the classifier. At the same time, the data sample magnitudes from different data sources may be different. For example, the image data collected by the camera may be a continuous video stream, while the exchange information in the database may be a discrete event record. This imbalance in sample magnitude will result in too many or too few features in some categories during the feature fusion process, thereby causing a category imbalance problem. In order to solve this technical problem, in the technical solution of the present application, the distance data text comprehension feature vector and the student sitting posture high-dimensional global correlation feature vector are subjected to multiplicative interference correction based on category probability values to obtain a vision protection monitoring feature vector.
[0044] Accordingly, in one embodiment of the present application, the data fusion module 130 includes: a pre-classifier unit, used to pass the distance data text understanding feature vector and the student sitting posture high-dimensional global association feature vector through a pre-classifier to obtain a first pre-classification category probability feature vector and a second pre-classification category probability feature vector; an interference coefficient unit, used to determine a first interference coefficient vector and a second interference coefficient vector based on the first pre-classification category probability feature vector and the second pre-classification category probability feature vector; a vector correction unit, used to correct the distance data text understanding feature vector and the student sitting posture high-dimensional global association feature vector based on the first interference coefficient vector and the second interference coefficient vector to obtain a corrected distance data text understanding feature vector and a corrected student sitting posture high-dimensional global association feature vector; a fusion vector unit, used to fuse the corrected distance data text understanding feature vector and the corrected student sitting posture high-dimensional global association feature vector to obtain the vision protection monitoring feature vector.
[0045] Further, the vector correction unit includes: an interface creation subunit, used to create a first DAO interface, the first DAO interface is used to define the method required for correcting the feature vector; a class creation subunit, used to create a first class that implements the first DAO, the first class is used to implement the specific logic of the correction feature vector; a database configuration subunit, used to configure the database in the Spring configuration file; a class configuration subunit, used to configure the first class as a SpringBean so that the first class can be managed by the Spring container; an interface injection subunit, used to inject the first DAO interface and call the method required for correcting the feature vector in the first DAO interface; a vector input interface subunit, used to input the first interference coefficient vector, the second interference coefficient vector, the distance data text understanding feature vector and the student sitting posture high-dimensional global correlation feature vector into the first DAO interface to perform a feature vector correction operation to obtain the corrected distance data text understanding feature vector and the corrected student sitting posture high-dimensional global correlation feature vector.
[0046] It should be understood that using the Spring DAO mechanism can improve the modularity, maintainability and testability of the code.
[0047] In particular, the vector correction unit is used to correct the distance data text comprehension feature vector and the student sitting posture high-dimensional global correlation feature vector based on the first interference coefficient vector and the second interference coefficient vector to obtain a corrected distance data text comprehension feature vector and a corrected student sitting posture high-dimensional global correlation feature vector. Some steps can be implemented by code; wherein, they include:
[0048] / / Create speed DA0 interface
[0049] public interface FeaturevectordAo {
[0050] void correctFeaturevector (vector featurevector1, vectorfeaturevector2, vector interferencevector);
[0051] / / Create DAO implementation class
[0052] public class FeaturevectorDAOImpl implements FeaturevectorDAo {
[0053] / / Method to implement correction feature vector
[0054] @Override
[0055] public void correctFeaturevector(vector featurevector1, vectorfeaturevector2, vector interferencevector)
[0056] / / According to the interference coefficient feature vector, perform correction operation on the feature vector
[0057] / / The specific logic of multiplicative interference correction can be implemented here
[0058] / / For example, traverse the feature vector and interference coefficient vector, and adjust the feature vector accordingly
[0059] }
[0060] }
[0061] / / Inject DAO and call the method where the feature vector needs to be corrected
[0062] public class FeaturevectorProcessor {
[0063] @Autowired
[0064] private FeaturevectordAO featurevectorDAO;
[0065] public void processFeaturevectors (vector featurevectori, vectorfeaturevector2, vector interferencevector);
[0066] }
[0067] }
[0068] Here, the distance data text understanding feature vector and the student sitting posture high-dimensional global association feature vector are subjected to multiplicative interference correction based on the category probability value to balance the influence of the distance data text understanding feature vector and the student sitting posture high-dimensional global association feature vector of different categories, that is, for categories with a smaller number, their probability values are lower, so the interference coefficient is larger. When the interference coefficient is multiplied by the feature vector, the feature value of the category is amplified. This helps the model to pay more attention to categories with a smaller number during the classification process. For categories with a larger number, their probability values are higher, so the interference coefficient is smaller. When the interference coefficient is multiplied by the feature vector, the feature value of the category is reduced. This helps the model to reduce its dependence on categories with a larger number during the classification process. In this way, multiplicative interference correction can balance the influence of different categories, improve the separability of the feature space, and enhance the robustness of the vision protection monitoring feature vector, thereby improving the performance of the classification model.
[0069] In an embodiment of the present application, the monitoring module 140 is used to pass the vision protection monitoring feature vector through a classifier to obtain a classification result, and the classification result is used to indicate whether the student is using the tablet computer correctly. It should be understood that by inputting the monitoring feature vector into the classifier for classification, the student's behavior can be classified to determine whether the student is using the tablet computer correctly. The classification result can indicate whether the student meets the predetermined usage specifications, such as whether the correct sitting posture is maintained, whether the screen brightness is properly adjusted, etc. The classification result can be used as the output of the monitoring system to monitor the student's behavior during the use of the tablet computer. If the classification result shows that there is a problem with the student's behavior, the monitoring system can issue an alarm or reminder in time to help the student correct the wrong usage habits and protect the health of vision. The classification result can also be used for personalized feedback. According to different classification results, the monitoring system can provide targeted suggestions and guidance to help students improve their posture and habits of using tablet computers, thereby effectively protecting their vision health. By statistically analyzing the classification results, the overall usage of students and possible problems can be understood. These data can provide references for schools and education management departments, which will help improve the teaching environment and formulate more scientific vision protection policies.
[0070] Accordingly, in one embodiment of the present application, the monitoring module 140 includes: a fully-connected encoding unit, used to use the fully-connected layer of the classifier to fully-connect the vision protection monitoring feature vector to obtain a fully-connected encoded vision protection monitoring feature vector; a probability acquisition unit, used to pass the fully-connected encoded vision protection monitoring feature vector through the Softmax classification function of the classifier to obtain a first probability attributable to the student using the tablet computer correctly and a second probability attributable to the student not using the tablet computer correctly; a classification result determination unit, used to determine the classification result based on a comparison between the first probability and the second probability.
[0071] In summary, based on the tablet computer with vision protection function in the embodiment of the present application, laser ranging technology is combined with a camera and artificial intelligence to monitor the distance between the student and the screen and the sitting posture, extract feature vectors and fuse them, and use a classifier to obtain monitoring results of whether the student is using the tablet computer correctly, thereby realizing the vision protection function.
[0072] As described above, the tablet computer 100 with a vision protection function according to the embodiment of the present application can be implemented in various terminal devices, such as a server of a tablet computer with a vision protection function. In one example, the tablet computer 100 with a vision protection function can be integrated into a terminal device as a software module and / or a hardware module. For example, the tablet computer 100 with a vision protection function can be a software module in the operating system of the terminal device, or can be an application developed for the terminal device; of course, the tablet computer 100 with a vision protection function can also be one of the many hardware modules of the terminal device.
[0073] Alternatively, in another example, the tablet computer 100 with vision protection function and the terminal device may also be separate devices, and the tablet computer 100 with vision protection function may be connected to the terminal device via a wired and / or wireless network and transmit interactive information in accordance with an agreed data format.
[0074] Figure 4 FIG. 1 is a flow chart of a method for protecting eyesight according to an embodiment of the present application. Figure 4As shown, the method with vision protection function according to the embodiment of the present application includes the steps of: S110, obtaining distance data of multiple predetermined time points collected by laser ranging technology, and obtaining a student sitting posture monitoring image collected by a camera; S120, extracting a distance data text understanding feature vector and a student sitting posture high-dimensional global correlation feature vector from the distance data of the multiple predetermined time points and the student sitting posture monitoring image respectively; S130, performing multiplicative interference correction based on category probability value on the distance data text understanding feature vector and the student sitting posture high-dimensional global correlation feature vector to obtain a vision protection monitoring feature vector; S140, passing the vision protection monitoring feature vector through a classifier to obtain a classification result, and the classification result is used to indicate whether the student uses the tablet computer correctly.
[0075] Here, those skilled in the art will appreciate that the specific operations of each step in the above method for protecting vision have been described in detail above. Figures 1 to 3 The invention has been described in detail in the description of the tablet computer with vision protection function, and therefore, its repeated description will be omitted.
[0076] The basic principles of the present disclosure are described above in conjunction with specific embodiments. However, it should be noted that the advantages, strengths, effects, etc. mentioned in the present disclosure are only examples and not limitations, and it cannot be considered that these advantages, strengths, effects, etc. are required by each embodiment of the present disclosure. In addition, the specific details disclosed above are only for the purpose of illustration and ease of understanding, and are not limitations. The above details do not limit the present disclosure to the necessity of adopting the above specific details to be implemented.
[0077] The block diagrams of the devices, apparatuses, equipment, and systems involved in this disclosure are only illustrative examples and are not intended to require or imply that they must be connected, arranged, and configured in the manner shown in the block diagrams. As will be appreciated by those skilled in the art, these devices, apparatuses, equipment, and systems can be connected, arranged, and configured in any manner. Words such as "including," "comprising," "having," and the like are open words, referring to "including but not limited to," and can be used interchangeably therewith. The words "or" and "and" used herein refer to the words "and / or," and can be used interchangeably therewith, unless the context clearly indicates otherwise. The word "such as" used herein refers to the phrase "such as but not limited to," and can be used interchangeably therewith.
[0078] Additionally, as used herein, "or" used in a list of items beginning with "at least one" indicates a separate list, so that, for example, a list of "at least one of A, B, or C" means A or B or C, or AB or AC or BC, or ABC (i.e., A and B and C). Furthermore, the word "exemplary" does not mean that the example described is preferred or better than other examples.
[0079] It should also be noted that in the system and method of the present disclosure, each component or each step can be decomposed and / or recombined. Such decomposition and / or recombination should be regarded as equivalent solutions of the present disclosure.
[0080] Various changes, substitutions, and modifications of the techniques described herein may be made without departing from the teachings defined by the appended claims. Furthermore, the scope of the claims of the present disclosure is not limited to the specific aspects of the processes, machines, manufactures, compositions of events, means, methods, and actions described above. Currently existing or later to be developed processes, machines, manufactures, compositions of events, means, methods, or actions that perform substantially the same functions or achieve substantially the same results as the corresponding aspects described herein may be utilized. Thus, the appended claims include such processes, machines, manufactures, compositions of events, means, methods, or actions within their scope.
[0081] The above description of the disclosed aspects is provided to enable any person skilled in the art to make or use the present disclosure. Various modifications to these aspects will be readily apparent to those skilled in the art, and the general principles defined herein may be applied to other aspects without departing from the scope of the present disclosure. Therefore, the present disclosure is not intended to be limited to the aspects shown herein, but rather to the widest scope consistent with the principles and novel features disclosed herein.
[0082] The above description has been given for the purpose of illustration and description. In addition, this description is not intended to limit the embodiments of the present disclosure to the forms disclosed herein. Although multiple example aspects and embodiments have been discussed above, those skilled in the art will recognize certain variations, modifications, changes, additions and sub-combinations thereof.
Claims
1. A tablet computer with vision protection function, characterized in that: include: A data acquisition module is used to obtain distance data at multiple predetermined time points collected by laser ranging technology, and to obtain a student's sitting posture monitoring image collected by a camera; A data feature extraction module, used to extract a distance data text comprehension feature vector and a student sitting posture high-dimensional global correlation feature vector from the distance data at the plurality of predetermined time points and the student sitting posture monitoring image respectively; A data fusion module, used for performing multiplicative interference correction based on category probability values on the distance data text comprehension feature vector and the student sitting posture high-dimensional global correlation feature vector to obtain a vision protection monitoring feature vector; A monitoring module, used for passing the vision protection monitoring feature vector through a classifier to obtain a classification result, wherein the classification result is used to indicate whether the student uses the tablet computer correctly; Wherein, the data feature extraction module includes: A distance data extraction unit, used for encoding the distance data of the plurality of predetermined time points to obtain a text comprehension feature vector of the distance data; A sitting posture image extraction unit, used for extracting a high-dimensional global correlation feature vector of the student's sitting posture from the student's sitting posture monitoring image; Wherein, the distance data extraction unit comprises: A temporal encoding subunit, configured to pass the distance data of the plurality of predetermined time points through a temporal encoder including a one-dimensional convolutional layer to obtain a distance feature vector; A multi-scale encoding subunit, used for passing the distance feature vector through a multi-scale neighborhood feature extraction module to obtain the distance data text understanding feature vector; Wherein, the data fusion module includes: A pre-classifier unit, used for passing the distance data text understanding feature vector and the student sitting posture high-dimensional global correlation feature vector through a pre-classifier to obtain a first pre-classification category probability feature vector and a second pre-classification category probability feature vector; an interference coefficient unit, configured to determine a first interference coefficient vector and a second interference coefficient vector based on the first pre-classification category probability feature vector and the second pre-classification category probability feature vector; A vector correction unit, configured to correct the distance data text comprehension feature vector and the student sitting posture high-dimensional global correlation feature vector based on the first interference coefficient vector and the second interference coefficient vector to obtain a corrected distance data text comprehension feature vector and a corrected student sitting posture high-dimensional global correlation feature vector; A fusion vector unit is used to fuse the corrected distance data text comprehension feature vector and the corrected student sitting posture high-dimensional global correlation feature vector to obtain the vision protection monitoring feature vector.
2. The tablet computer with eyesight protection function according to claim 1, characterized in that: The timing coding subunit comprises: A distance data input vector construction subunit, configured to arrange the distance data of the plurality of predetermined time points into a distance data input vector according to a time dimension; A distance data normalization mapping subunit, used for performing a normalization process on the distance data input vector based on a maximum value to obtain a normalized distance data input vector; A distance data fully connected encoding subunit, configured to use the fully connected layer of the temporal encoder to perform fully connected encoding on the normalized distance data input vector to extract high-dimensional implicit features of the feature values at each position in the normalized distance data input vector; The distance data one-dimensional convolutional encoding subunit is used to use the one-dimensional convolutional layer of the temporal encoder to one-dimensionally encode the normalized distance data input vector to extract the high-dimensional implicit correlation features of the correlation between the feature values of each position in the normalized distance data input vector.
3. The tablet computer with eyesight protection function according to claim 2, characterized in that: The sitting posture image extraction unit comprises: A feature extraction subunit, used for passing the student sitting posture monitoring image through a first convolutional neural network model as a feature extractor to obtain a student sitting posture monitoring associated feature map; A sitting posture high-dimensional feature subunit is used to obtain a student sitting posture high-dimensional global correlation feature map by passing the student sitting posture monitoring correlation feature map through a non-local neural network model; The feature map dimensionality reduction subunit is used to perform global mean pooling on each feature matrix along the channel dimension of the high-dimensional global correlation feature map of the student sitting posture to obtain the high-dimensional global correlation feature vector of the student sitting posture.
4. The tablet computer with eyesight protection function according to claim 3, characterized in that: The feature extraction subunit comprises: A shallow feature extraction secondary subunit, used to extract a shallow feature map of the student's sitting posture from the i-th layer of the first convolutional neural network, where i is greater than or equal to 4 and less than or equal to 6; A deep feature extraction secondary subunit, used to extract a deep feature map of the student's sitting posture from the jth layer of the first convolutional neural network, where j / i is greater than or equal to 10 and less than or equal to 15; The secondary fusion subunit is used to fuse the student sitting posture shallow feature map and the student sitting posture deep feature map to obtain the student sitting posture monitoring associated feature map.
5. The tablet computer with eyesight protection function according to claim 4, characterized in that: The sitting posture high-dimensional feature subunit includes: A point convolution secondary subunit, used for inputting the student sitting posture monitoring associated feature map into the first point convolution layer, the second point convolution layer and the third point convolution layer of the non-local neural network respectively to obtain a first student sitting posture feature map, a second student sitting posture feature map and a third student sitting posture feature map; A first fusion secondary subunit, configured to calculate a weighted sum of the first student's sitting posture feature map and the second student's sitting posture feature map according to position to obtain a first student's sitting posture fusion feature map; A normalization secondary subunit, used for inputting the first student sitting posture fusion feature map into a Softmax function to normalize the feature values of each position in the intermediate fusion feature map to obtain a normalized first student sitting posture fusion feature map; A second fusion secondary subunit, used for calculating the position-weighted sum of the normalized first student sitting posture fusion feature map and the third student sitting posture feature map to obtain a second student sitting posture fusion feature map; A global perception secondary subunit, used for embedding the second student sitting posture fusion feature map into a Gaussian similarity function to calculate the similarity between the feature values at each position in the second student sitting posture fusion feature map to obtain a student sitting posture global perception feature map; A channel number adjustment secondary subunit is used to pass the student sitting posture global perception feature map through the fourth point convolution layer of the non-local neural network to obtain a channel-adjusted global perception feature map; The third fusion secondary sub-unit is used to calculate the position-weighted sum of the channel-adjusted global perception feature map and the student sitting posture monitoring associated feature map to obtain the student sitting posture high-dimensional global associated feature map.
6. The tablet computer with eyesight protection function according to claim 5, characterized in that: The vector correction unit comprises: Creating an interface subunit, used for creating a first DAO interface, wherein the first DAO interface is used for defining a method required for correcting a feature vector; A class subunit is created, which is used to create a first class that implements the first DAO, wherein the first class is used to implement a specific logic of correcting the feature vector; Configure the database subunit, which is used to configure the database in the Spring configuration file; A configuration class subunit, used to configure the first class as a Spring Bean so that the first class can be managed by a Spring container; An injection interface subunit, used for injecting the first DAO interface and calling a method required for correcting a feature vector in the first DAO interface; The vector input interface sub-unit is used to input the first interference coefficient vector, the second interference coefficient vector, the distance data text comprehension feature vector and the student sitting posture high-dimensional global correlation feature vector into the first DAO interface to perform a feature vector correction operation to obtain the corrected distance data text comprehension feature vector and the corrected student sitting posture high-dimensional global correlation feature vector.
7. A method with eyesight protection function, using the tablet computer with eyesight protection function according to claim 1, characterized in that: include: Acquire distance data at multiple predetermined time points collected by laser ranging technology, and acquire student sitting posture monitoring images collected by a camera; Extracting a distance data text comprehension feature vector and a student sitting posture high-dimensional global correlation feature vector from the distance data at the plurality of predetermined time points and the student sitting posture monitoring image respectively; Performing multiplicative interference correction based on category probability values on the distance data text comprehension feature vector and the student sitting posture high-dimensional global correlation feature vector to obtain a vision protection monitoring feature vector; The vision protection monitoring feature vector is passed through a classifier to obtain a classification result, and the classification result is used to indicate whether the student uses the tablet computer correctly.
Citation Information
Patent Citations
Student intelligent table lamp with vision protection function
CN110446315A
Myopia prevention and control method, device and system, storage medium and equipment
CN114581955A
