CN-121987174-A - Method, apparatus, medium and product for in-vehicle heart rate detection
Abstract
Embodiments of the present disclosure provide a method for in-vehicle heart rate detection. The method includes obtaining, by an onboard camera, first heart rate data, and the first heart rate data is a currently detected heart rate. The method also includes determining first index data based on the first heart rate data, and the first index data is mapped to the first heart rate data by an index mapping table. The method also includes adjusting the first index data to second index data based on the historical heart rate data and determining second heart rate data based on the second index data. The method can further process the detected heart rate value, so that the heart rate value which is more stable and higher in accuracy is obtained, the consumption of computing resources is less, and the additional hardware cost is not increased.
Inventors
- TIAN YUNFEI
- ZHANG ZEYUAN
- FAN YEZHAO
- SONG JIE
Assignees
- 大众酷翼(北京)科技有限公司
Dates
- Publication Date
- 20260508
- Application Date
- 20241104
Claims (13)
- 1. A method for in-vehicle heart rate detection, comprising: Acquiring first heart rate data through a vehicle-mounted camera, wherein the first heart rate data is a heart rate detected currently; Determining first index data based on the first heart rate data, wherein the first index data is mapped to the first heart rate data by an index mapping table; adjusting the first index data to second index data based on historical heart rate data, and Second heart rate data is determined based on the second index data.
- 2. The method of claim 1, further comprising: the index map is constructed based on sampled heart rate data, wherein the sampled heart rate data is mapped to index data in the index map, and wherein the sampled heart rate data is sampled from normal heart rate data.
- 3. The method of claim 2, wherein determining the first index data based on the first heart rate data comprises: first index data corresponding to the first heart rate data is determined in the index map.
- 4. The method of claim 1, wherein adjusting the first index data to second index data based on the historical heart rate data comprises: the first index data is compared with historical index data corresponding to the historical heart rate data.
- 5. The method of claim 4, further comprising: the first index data is determined to be the second index data in response to a difference between the first index data and the historical index data being within a predetermined threshold.
- 6. The method of claim 4, further comprising: In response to the difference between the first index data and the historical index data being outside of a predetermined threshold and in response to an index queue being empty, the first index data is stored as a last value of the index queue.
- 7. The method of claim 6, further comprising: Determining whether a length of the index queue is greater than or equal to a difference between the first index data and the historical index data: determining the first index data as the second index data in response to the length of the index queue being greater than or equal to a difference between the first index data and the historical index data, and Responsive to the length of the index queue being less than a difference of the first index data and the historical index data, the historical index data is determined to be the second index data.
- 8. The method of claim 6 or 7, further comprising: In response to the difference between the first index data and the historical index data being outside of a predetermined threshold and in response to an index queue not being empty, determining whether the last value in the index queue and the first index data are simultaneously greater than or equal to or less than the historical index data.
- 9. The method of claim 8, wherein determining whether the last value in the index queue and the first index data are simultaneously greater than or equal to or less than the historical index data further comprises: Storing the first index data as the last value of the index queue in response to the last value in the index queue and the first index data being simultaneously greater than or equal to or less than the historical index data, and In response to the last value in the index queue and the first index data not being simultaneously greater than or equal to or less than the historical index data, the value in the index queue is emptied and the first index data is stored into the index queue.
- 10. The method of claim 1, further comprising: An alarm or alert signal is triggered based on the second heart rate data.
- 11. An electronic device for in-vehicle heart rate detection, comprising: a processor, and A memory coupled to the processor and storing instructions that, when executed by the processor, cause the apparatus to perform the method of any one of claims 1 to 10.
- 12. A computer readable storage medium having stored thereon computer executable instructions which, when executed, cause a computer to perform the method according to any of claims 1 to 10.
- 13. A computer program product tangibly stored on a non-volatile computer readable medium and comprising machine executable instructions that, when executed, cause a machine to perform the method of any one of claims 1 to 10.
Description
Method, apparatus, medium and product for in-vehicle heart rate detection Technical Field Embodiments of the present disclosure relate generally to the field of vehicles, and in particular, relate to a method, electronic device, medium, and program product for on-board heart rate detection. Background With the innovation and advancement of sensor technology, wireless communication technology and network technology are continuously developed, remote heart rate detection detects changes in optical signals on the skin surface through wearable devices or other technologies, monitors and records heart rate data of users in real time, and transmits the data to doctors or application programs for analysis. The doctor or health management application can store, manage and analyze the mass data by utilizing big data technology, thereby helping the doctor or application to better know the heart rate variation trend of the patient, find potential heart problems and provide basis for diagnosis and treatment of diseases. People can also know the heart rate condition at any time, perform daily health management and exercise monitoring, and prevent heart diseases. Disclosure of Invention Embodiments of the present disclosure provide a method, electronic device, medium, and computer program product for in-vehicle remote heart rate detection. According to a first aspect of the present disclosure, a method for in-vehicle heart rate detection is provided. The method includes obtaining, by an onboard camera, first heart rate data, and the first heart rate data is a currently detected heart rate. The method also includes determining first index data based on the first heart rate data, and the first index data is mapped to the first heart rate data by an index mapping table. The method also includes adjusting the first index data to second index data based on the historical heart rate data and determining second heart rate data based on the second index data. According to a second aspect of the present disclosure, there is provided an electronic device for in-vehicle heart rate detection, the electronic device comprising a processor, and a memory coupled to the processor and storing instructions that, when executed by the processor, cause the device to perform the steps of a method of in-vehicle heart rate detection according to an embodiment of the present disclosure. In a third aspect of the present disclosure, there is provided a computer-readable storage medium having stored thereon computer-executable instructions that, when executed, cause a computer to perform the steps of a method of in-vehicle heart rate detection according to an embodiment of the present disclosure. According to a fourth aspect of the present disclosure, a computer program product is provided. The computer program product is tangibly stored on a non-volatile computer-readable medium and includes machine-executable instructions that, when executed, cause the machine to perform the steps of a method of in-vehicle heart rate detection according to embodiments of the present disclosure. It should be noted that this summary is provided to introduce a selection of concepts in a simplified form that are further described below in the detailed description. This summary is not intended to identify key features or essential features of the disclosure, nor is it intended to be used to limit the scope of the disclosure. Drawings The foregoing and other objects, features, and advantages of the disclosure will become more apparent from the following more particular description of exemplary embodiments of the disclosure, as illustrated in the accompanying drawings in which: FIG. 1A is a schematic diagram of an example application scenario of a method for in-vehicle heart rate detection according to an embodiment of the present disclosure; FIG. 1B shows a schematic diagram of a basic process for heart rate detection associated with an embodiment of the present disclosure FIG. 1C shows a schematic diagram of a frequency domain based calculation process for a specific heart rate associated with an embodiment of the present disclosure FIG. 2 illustrates a flow chart of a method of in-vehicle heart rate detection according to an embodiment of the present disclosure; FIG. 3 shows a schematic diagram of a process for determining heart rate according to an embodiment of the present disclosure; FIG. 4 shows a schematic diagram of a process for an adaptive filtering method according to an embodiment of the present disclosure, and Fig. 5 shows a schematic block diagram of an apparatus that may be used to implement embodiments of the present disclosure. Detailed Description Example embodiments will now be described more fully with reference to the accompanying drawings. However, the exemplary embodiments can be embodied in many different forms and should not be construed as limited to the embodiments set forth herein, but rather, these embodiments are provided so that this discl