Fiber optic sensor embedded smart helmet for real-time impact sensing and analysis through machine learning