Folding angle detection method and device, terminal and storage medium
A technology of angle detection and folding angle, which can be used in measurement devices, neural learning methods, instruments, etc., and can solve problems such as complex calculation and disadvantageous secondary development.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0058] figure 1 It is a flow chart of a folding angle detection method provided by Embodiment 1 of the present invention. This embodiment is applicable to the situation where the display state of the folding screen is determined by detecting the folding angle of the folding screen in real time. The angle detection device is implemented, and the device can be implemented in the form of software and / or hardware, and can be configured on a mobile terminal with a folding screen.
[0059] Such as figure 1 As shown, the folding angle detection method provided in the embodiment of the present invention may include:
[0060] S110. Acquire in real time the acceleration data and / or geomagnetic data collected by the acceleration sensor and / or the geomagnetic sensor in the primary display screen and the secondary display screen.
[0061] Generally, in a mobile terminal with a foldable display, the foldable display includes a main display and a secondary display, both of which are provid...
Embodiment 2
[0066] figure 2 It is a schematic flowchart of a design method of a folding angle detection model provided by Embodiment 2 of the present invention. In this embodiment, on the basis of the above embodiments, the design process of the folding angle detection model based on the radial basis function neural network is described.
[0067] Such as figure 2 As shown, the design method of the folding angle detection model provided in the embodiment of the present invention may include:
[0068] S210. Determine parameters of the radial basis function neural network according to the training sample data, wherein the training sample data includes acceleration data and / or geomagnetic data collected in advance, and folding angles corresponding to the acceleration data and / or geomagnetic data.
[0069] Wherein, preferably, the training sample data is the collected acceleration data and / or geomagnetic data of the primary and secondary display screens of the mobile terminal after calibra...
Embodiment 3
[0087] image 3 It is a schematic flowchart of a design method of a folding angle detection model provided by Embodiment 3 of the present invention. In this embodiment, on the basis of the above embodiments, the design process of the folding angle detection model based on the BP neural network is described.
[0088] Such as image 3 As shown, the design method of the folding angle detection model provided in the embodiment of the present invention may include:
[0089] S310. Determine the activation function of the BP neural network, and initialize the BP neural network in combination with training sample data, wherein the training sample data includes pre-collected acceleration data and / or geomagnetic data, and acceleration data and / or geomagnetic data corresponding to the fold angle.
[0090] Preferably, the activation function S-type function (i.e. Sigmoid function) of BP neural network, by training sample data and BP neural network activation function, initializes the i...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


