Enhancing security and healthcare through continuous monitoring on wearable devices