NTUT Smart Medical Cloud| Sleep Shift Scheduling Tool

Sleep Shift Scheduling Tool

Sleep loss and fatigue may lead to reduced performance and an increased risk to safety during many activities, including spaceflight. Your challenge is to develop an operational sleep shift scheduling tool that provides autonomous customization of a schedule for sleep, exercise, and nutrition to manage fatigue.

I will be there before the next snooze.

Summary

Fatigue monitoring and sleeping schedule management

How We Addressed This Challenge

本專案共有一套資料庫排班表程式(astronaut-scheduling-master.zip)、一個機器視覺臉部偵測Python3程式(FatiqueDetect.py)、一個Arduino搭配MAX30100血氧濃度感測模組的程式(MAX30100_Minimal.ino)

資料庫排班表程式主要就是搭配SQL資料庫、血氧濃度感測模組的程式則以Arduino Nano透過I2C以Polling方式讀取感測數據

臉部偵測Python3程式主要是利用shape_predictor_68_face_landmarks.dat的模型,人類臉部可被視為許多不同的橢圓形區域,以landmark的方式對臉部位置進行標定,然後形成橢圓形,透過長短軸的變化就可以推斷眼睛、嘴巴的閉合狀況


How We Developed This Project

由NASA's Life Sciences Data Archive的回信來看,對於太空人任務期間的睡眠管理應該分成兩部分:

1. 值班表,根據血氧濃度以及心搏的頻率為參考,再以性別、年齡區分,進行個別太空人身體狀況的評估,規劃任務執行的項目以及時間

2.即時偵測,每個人的健康狀況、飲食起居不同,太空人在任務期間也會因為處於太空環境中受到不同的影響而逐漸累積不同程度的疲勞,所以應當即時偵測,一發現已經失能時,應該立即停止避免危險

所以,本專案共有一套資料庫排班表程式(astronaut-scheduling-master.zip)、一個機器視覺臉部偵測Python3程式(FatiqueDetect.py)、一個Arduino搭配MAX30100血氧濃度感測模組的程式(MAX30100_Minimal.ino)

資料庫排班表程式主要就是搭配SQL資料庫、血氧濃度感測模組的程式則以Arduino Nano透過I2C以Polling方式讀取感測數據

臉部偵測Python3程式主要是利用shape_predictor_68_face_landmarks.dat的模型,人類臉部可被視為許多不同的橢圓形區域,以landmark的方式對臉部位置進行標定,然後形成橢圓形,透過長短軸的變化就可以推斷眼睛、嘴巴的閉合狀況

How We Used Space Agency Data in This Project

NASA's Life Sciences Data Archive

Data & Resources

NASA's Life Sciences Data Archive

Ramtin Zargari Marandi, Pascal Madeleine, ØyvindOmland, NicolasVuillerme & Afshin Samani, “Eye movement characteristics reflected fatigue development in both young and elderly individuals”, Scientific Reports, Sep. 3, 2018.

https://www.pyimagesearch.com/2017/04/24/eye-blink-detection-opencv-python-dlib/

https://medium.com/analytics-vidhya/yawn-detection-using-opencv-and-dlib-e04ba79b9936

Tags
#Python #Scheduling Tool #DataScience
Judging
This project was submitted for consideration during the Space Apps Judging process.