Threshold determination method based on geomagnetic sensor
The invention discloses a threshold determination method based on a geomagnetic sensor, and an adaptive threshold method solves the problem that a threshold cannot be updated in a fixed threshold method, but a clear method for selecting an initial threshold is not given. A training set is obtained b...
Saved in:
Main Authors | , , , |
---|---|
Format | Patent |
Language | Chinese English |
Published |
09.04.2024
|
Subjects | |
Online Access | Get full text |
Cover
Loading…
Summary: | The invention discloses a threshold determination method based on a geomagnetic sensor, and an adaptive threshold method solves the problem that a threshold cannot be updated in a fixed threshold method, but a clear method for selecting an initial threshold is not given. A training set is obtained by collecting geomagnetic data of a geomagnetic sensor on a roadside parking space and video data shot by a camera in real time. After an initial boundary line is generated, training set data is read into a training model based on logistic regression, a loss function is calculated, boundary line parameters are updated by using a gradient descent method, and a boundary line capable of segmenting no-vehicle data and vehicle data is obtained through multiple iterations; and carrying out differencing on the boundary line and the intercept of the geomagnetic baseline to obtain an initial threshold value.
本发明公开了一种基于地磁传感器的阈值确定方法,自适应阈值方法虽然解决了给固定阈值方法中阈值无法更新的问题,但对于初始阈值的选取并没有给出明确的方法。本发明通过实时采集路边停车位上地磁传感器的地磁数据和摄像头拍摄的视频数据,得到训练集。生 |
---|---|
Bibliography: | Application Number: CN202410020098 |