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.
本发明公开了一种基于地磁传感器的阈值确定方法,自适应阈值方法虽然解决了给固定阈值方法中阈值无法更新的问题,但对于初始阈值的选取并没有给出明确的方法。本发明通过实时采集路边停车位上地磁传感器的地磁数据和摄像头拍摄的视频数据,得到训练集。生成初始边界线后,将训练集数据读入基于逻辑回归的训练模型中,计算损失函数并使用梯度下降方法对边界线参数进行更新,经过多次迭代得到可以分割无车数据和有车数据的边界线,将边界线和地磁基线的截距进行求差得到初始阈值。
Threshold determination method based on geomagnetic sensor
一种基于地磁传感器的阈值确定方法
2024-04-09
Patent
Electronic Resource
Chinese
Baseline determination method based on geomagnetic sensor
European Patent Office | 2024
|Geomagnetic sensor threshold self-adaptive adjustment method, system and terminal
European Patent Office | 2020
|Geomagnetic differential vehicle detection method and system based on single geomagnetic sensor
European Patent Office | 2024
|Highway abnormal parking detection method based on geomagnetic sensor
European Patent Office | 2023
|