├── .gitattributes ├── .github └── workflows │ └── pythonapp.yml ├── .gitignore ├── README.md ├── preprocessed_data ├── README.md ├── nemcova_data │ ├── ground_truths_nemcova.csv │ ├── nemcova_data.csv │ ├── nemcova_test.csv │ └── nemcova_train.csv └── sample_data │ ├── ground_truths_sample.csv │ └── sample_data.csv ├── requirements.txt ├── spo2evaluation ├── evaluation │ ├── README.md │ └── blant_altman.py ├── misc │ ├── VideoDataAcquisition.java │ └── fetch_data.py ├── modelling │ ├── NN_models │ │ ├── NN_models.py │ │ ├── README.md │ │ ├── VGG.py │ │ ├── mobilenet_v2.py │ │ └── resnet.py │ ├── healthwatcher │ │ ├── __init__.py │ │ └── healthwatcher.py │ ├── lamonaca_and_nemcova │ │ ├── README.md │ │ ├── lamonaca_2015.py │ │ ├── nemcova_2020.py │ │ └── utils.py │ └── wang_2017 │ │ ├── README.md │ │ ├── utils.py │ │ └── wang_2017.py └── preprocessing │ ├── README.md │ ├── data_loader.py │ ├── data_loader_pandas.py │ ├── data_loader_pytorch.py │ ├── data_sanitization.py │ ├── data_stats.py │ ├── structure.py │ ├── test_data │ ├── 20200327151500000000 │ │ ├── PC000001.mp4 │ │ ├── device.json │ │ ├── gt.json │ │ ├── phone.json │ │ └── user.json │ └── 202003271515000000001 │ │ ├── PC000001.mp4 │ │ ├── device.json │ │ ├── gt.json │ │ ├── phone.json │ │ └── user.json │ ├── test_iphone │ ├── fnger_on │ │ ├── dario_fringer_on_flash.mp4 │ │ ├── finger_on_flash.png │ │ └── gt.json │ ├── nemcova │ │ ├── PC000001.mp4 │ │ ├── device.json │ │ ├── gt.json │ │ ├── nemcova.png │ │ ├── phone.json │ │ └── user.json │ └── no_finger │ │ ├── dario_no_finger_on_flash.mp4 │ │ ├── finger_off_flash.png │ │ └── gt.json │ └── utils.py ├── src ├── data_statistics │ ├── sanitizer.py │ ├── spo2_bin.png │ └── stats.py ├── dataset_loader_pandas.py ├── dataset_loader_pytorch.py ├── evaluation │ └── Spo2_evaluation.py ├── healthwatcher.py ├── lemonaca.py └── wang.py └── tests ├── conversion ├── data_for_test_old_format.json ├── more_data │ ├── data.json │ └── data_old_formal.json └── test_conversion.py ├── evaluation ├── test.py └── test_normal.py ├── test_general.py └── test_peaks.py /.gitattributes: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.github/workflows/pythonapp.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CoVital-Project/Spo2_evaluation/HEAD/.github/workflows/pythonapp.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CoVital-Project/Spo2_evaluation/HEAD/.gitignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CoVital-Project/Spo2_evaluation/HEAD/README.md -------------------------------------------------------------------------------- /preprocessed_data/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CoVital-Project/Spo2_evaluation/HEAD/preprocessed_data/README.md -------------------------------------------------------------------------------- /preprocessed_data/nemcova_data/ground_truths_nemcova.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CoVital-Project/Spo2_evaluation/HEAD/preprocessed_data/nemcova_data/ground_truths_nemcova.csv -------------------------------------------------------------------------------- /preprocessed_data/nemcova_data/nemcova_data.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CoVital-Project/Spo2_evaluation/HEAD/preprocessed_data/nemcova_data/nemcova_data.csv -------------------------------------------------------------------------------- /preprocessed_data/nemcova_data/nemcova_test.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CoVital-Project/Spo2_evaluation/HEAD/preprocessed_data/nemcova_data/nemcova_test.csv -------------------------------------------------------------------------------- /preprocessed_data/nemcova_data/nemcova_train.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CoVital-Project/Spo2_evaluation/HEAD/preprocessed_data/nemcova_data/nemcova_train.csv -------------------------------------------------------------------------------- /preprocessed_data/sample_data/ground_truths_sample.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CoVital-Project/Spo2_evaluation/HEAD/preprocessed_data/sample_data/ground_truths_sample.csv -------------------------------------------------------------------------------- /preprocessed_data/sample_data/sample_data.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CoVital-Project/Spo2_evaluation/HEAD/preprocessed_data/sample_data/sample_data.csv -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CoVital-Project/Spo2_evaluation/HEAD/requirements.txt -------------------------------------------------------------------------------- /spo2evaluation/evaluation/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CoVital-Project/Spo2_evaluation/HEAD/spo2evaluation/evaluation/README.md -------------------------------------------------------------------------------- /spo2evaluation/evaluation/blant_altman.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CoVital-Project/Spo2_evaluation/HEAD/spo2evaluation/evaluation/blant_altman.py -------------------------------------------------------------------------------- /spo2evaluation/misc/VideoDataAcquisition.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CoVital-Project/Spo2_evaluation/HEAD/spo2evaluation/misc/VideoDataAcquisition.java -------------------------------------------------------------------------------- /spo2evaluation/misc/fetch_data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CoVital-Project/Spo2_evaluation/HEAD/spo2evaluation/misc/fetch_data.py -------------------------------------------------------------------------------- /spo2evaluation/modelling/NN_models/NN_models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CoVital-Project/Spo2_evaluation/HEAD/spo2evaluation/modelling/NN_models/NN_models.py -------------------------------------------------------------------------------- /spo2evaluation/modelling/NN_models/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CoVital-Project/Spo2_evaluation/HEAD/spo2evaluation/modelling/NN_models/README.md -------------------------------------------------------------------------------- /spo2evaluation/modelling/NN_models/VGG.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CoVital-Project/Spo2_evaluation/HEAD/spo2evaluation/modelling/NN_models/VGG.py -------------------------------------------------------------------------------- /spo2evaluation/modelling/NN_models/mobilenet_v2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CoVital-Project/Spo2_evaluation/HEAD/spo2evaluation/modelling/NN_models/mobilenet_v2.py -------------------------------------------------------------------------------- /spo2evaluation/modelling/NN_models/resnet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CoVital-Project/Spo2_evaluation/HEAD/spo2evaluation/modelling/NN_models/resnet.py -------------------------------------------------------------------------------- /spo2evaluation/modelling/healthwatcher/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /spo2evaluation/modelling/healthwatcher/healthwatcher.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CoVital-Project/Spo2_evaluation/HEAD/spo2evaluation/modelling/healthwatcher/healthwatcher.py -------------------------------------------------------------------------------- /spo2evaluation/modelling/lamonaca_and_nemcova/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CoVital-Project/Spo2_evaluation/HEAD/spo2evaluation/modelling/lamonaca_and_nemcova/README.md -------------------------------------------------------------------------------- /spo2evaluation/modelling/lamonaca_and_nemcova/lamonaca_2015.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CoVital-Project/Spo2_evaluation/HEAD/spo2evaluation/modelling/lamonaca_and_nemcova/lamonaca_2015.py -------------------------------------------------------------------------------- /spo2evaluation/modelling/lamonaca_and_nemcova/nemcova_2020.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CoVital-Project/Spo2_evaluation/HEAD/spo2evaluation/modelling/lamonaca_and_nemcova/nemcova_2020.py -------------------------------------------------------------------------------- /spo2evaluation/modelling/lamonaca_and_nemcova/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CoVital-Project/Spo2_evaluation/HEAD/spo2evaluation/modelling/lamonaca_and_nemcova/utils.py -------------------------------------------------------------------------------- /spo2evaluation/modelling/wang_2017/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CoVital-Project/Spo2_evaluation/HEAD/spo2evaluation/modelling/wang_2017/README.md -------------------------------------------------------------------------------- /spo2evaluation/modelling/wang_2017/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CoVital-Project/Spo2_evaluation/HEAD/spo2evaluation/modelling/wang_2017/utils.py -------------------------------------------------------------------------------- /spo2evaluation/modelling/wang_2017/wang_2017.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CoVital-Project/Spo2_evaluation/HEAD/spo2evaluation/modelling/wang_2017/wang_2017.py -------------------------------------------------------------------------------- /spo2evaluation/preprocessing/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CoVital-Project/Spo2_evaluation/HEAD/spo2evaluation/preprocessing/README.md -------------------------------------------------------------------------------- /spo2evaluation/preprocessing/data_loader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CoVital-Project/Spo2_evaluation/HEAD/spo2evaluation/preprocessing/data_loader.py -------------------------------------------------------------------------------- /spo2evaluation/preprocessing/data_loader_pandas.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CoVital-Project/Spo2_evaluation/HEAD/spo2evaluation/preprocessing/data_loader_pandas.py -------------------------------------------------------------------------------- /spo2evaluation/preprocessing/data_loader_pytorch.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CoVital-Project/Spo2_evaluation/HEAD/spo2evaluation/preprocessing/data_loader_pytorch.py -------------------------------------------------------------------------------- /spo2evaluation/preprocessing/data_sanitization.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CoVital-Project/Spo2_evaluation/HEAD/spo2evaluation/preprocessing/data_sanitization.py -------------------------------------------------------------------------------- /spo2evaluation/preprocessing/data_stats.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CoVital-Project/Spo2_evaluation/HEAD/spo2evaluation/preprocessing/data_stats.py -------------------------------------------------------------------------------- /spo2evaluation/preprocessing/structure.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CoVital-Project/Spo2_evaluation/HEAD/spo2evaluation/preprocessing/structure.py -------------------------------------------------------------------------------- /spo2evaluation/preprocessing/test_data/20200327151500000000/PC000001.mp4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CoVital-Project/Spo2_evaluation/HEAD/spo2evaluation/preprocessing/test_data/20200327151500000000/PC000001.mp4 -------------------------------------------------------------------------------- /spo2evaluation/preprocessing/test_data/20200327151500000000/device.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CoVital-Project/Spo2_evaluation/HEAD/spo2evaluation/preprocessing/test_data/20200327151500000000/device.json -------------------------------------------------------------------------------- /spo2evaluation/preprocessing/test_data/20200327151500000000/gt.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CoVital-Project/Spo2_evaluation/HEAD/spo2evaluation/preprocessing/test_data/20200327151500000000/gt.json -------------------------------------------------------------------------------- /spo2evaluation/preprocessing/test_data/20200327151500000000/phone.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CoVital-Project/Spo2_evaluation/HEAD/spo2evaluation/preprocessing/test_data/20200327151500000000/phone.json -------------------------------------------------------------------------------- /spo2evaluation/preprocessing/test_data/20200327151500000000/user.json: -------------------------------------------------------------------------------- 1 | {"PatientID": "SA001"} -------------------------------------------------------------------------------- /spo2evaluation/preprocessing/test_data/202003271515000000001/PC000001.mp4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CoVital-Project/Spo2_evaluation/HEAD/spo2evaluation/preprocessing/test_data/202003271515000000001/PC000001.mp4 -------------------------------------------------------------------------------- /spo2evaluation/preprocessing/test_data/202003271515000000001/device.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CoVital-Project/Spo2_evaluation/HEAD/spo2evaluation/preprocessing/test_data/202003271515000000001/device.json -------------------------------------------------------------------------------- /spo2evaluation/preprocessing/test_data/202003271515000000001/gt.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CoVital-Project/Spo2_evaluation/HEAD/spo2evaluation/preprocessing/test_data/202003271515000000001/gt.json -------------------------------------------------------------------------------- /spo2evaluation/preprocessing/test_data/202003271515000000001/phone.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CoVital-Project/Spo2_evaluation/HEAD/spo2evaluation/preprocessing/test_data/202003271515000000001/phone.json -------------------------------------------------------------------------------- /spo2evaluation/preprocessing/test_data/202003271515000000001/user.json: -------------------------------------------------------------------------------- 1 | {"PatientID": "SA001"} -------------------------------------------------------------------------------- /spo2evaluation/preprocessing/test_iphone/fnger_on/dario_fringer_on_flash.mp4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CoVital-Project/Spo2_evaluation/HEAD/spo2evaluation/preprocessing/test_iphone/fnger_on/dario_fringer_on_flash.mp4 -------------------------------------------------------------------------------- /spo2evaluation/preprocessing/test_iphone/fnger_on/finger_on_flash.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CoVital-Project/Spo2_evaluation/HEAD/spo2evaluation/preprocessing/test_iphone/fnger_on/finger_on_flash.png -------------------------------------------------------------------------------- /spo2evaluation/preprocessing/test_iphone/fnger_on/gt.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CoVital-Project/Spo2_evaluation/HEAD/spo2evaluation/preprocessing/test_iphone/fnger_on/gt.json -------------------------------------------------------------------------------- /spo2evaluation/preprocessing/test_iphone/nemcova/PC000001.mp4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CoVital-Project/Spo2_evaluation/HEAD/spo2evaluation/preprocessing/test_iphone/nemcova/PC000001.mp4 -------------------------------------------------------------------------------- /spo2evaluation/preprocessing/test_iphone/nemcova/device.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CoVital-Project/Spo2_evaluation/HEAD/spo2evaluation/preprocessing/test_iphone/nemcova/device.json -------------------------------------------------------------------------------- /spo2evaluation/preprocessing/test_iphone/nemcova/gt.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CoVital-Project/Spo2_evaluation/HEAD/spo2evaluation/preprocessing/test_iphone/nemcova/gt.json -------------------------------------------------------------------------------- /spo2evaluation/preprocessing/test_iphone/nemcova/nemcova.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CoVital-Project/Spo2_evaluation/HEAD/spo2evaluation/preprocessing/test_iphone/nemcova/nemcova.png -------------------------------------------------------------------------------- /spo2evaluation/preprocessing/test_iphone/nemcova/phone.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CoVital-Project/Spo2_evaluation/HEAD/spo2evaluation/preprocessing/test_iphone/nemcova/phone.json -------------------------------------------------------------------------------- /spo2evaluation/preprocessing/test_iphone/nemcova/user.json: -------------------------------------------------------------------------------- 1 | {"PatientID": "SA001"} -------------------------------------------------------------------------------- /spo2evaluation/preprocessing/test_iphone/no_finger/dario_no_finger_on_flash.mp4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CoVital-Project/Spo2_evaluation/HEAD/spo2evaluation/preprocessing/test_iphone/no_finger/dario_no_finger_on_flash.mp4 -------------------------------------------------------------------------------- /spo2evaluation/preprocessing/test_iphone/no_finger/finger_off_flash.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CoVital-Project/Spo2_evaluation/HEAD/spo2evaluation/preprocessing/test_iphone/no_finger/finger_off_flash.png -------------------------------------------------------------------------------- /spo2evaluation/preprocessing/test_iphone/no_finger/gt.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CoVital-Project/Spo2_evaluation/HEAD/spo2evaluation/preprocessing/test_iphone/no_finger/gt.json -------------------------------------------------------------------------------- /spo2evaluation/preprocessing/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CoVital-Project/Spo2_evaluation/HEAD/spo2evaluation/preprocessing/utils.py -------------------------------------------------------------------------------- /src/data_statistics/sanitizer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CoVital-Project/Spo2_evaluation/HEAD/src/data_statistics/sanitizer.py -------------------------------------------------------------------------------- /src/data_statistics/spo2_bin.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CoVital-Project/Spo2_evaluation/HEAD/src/data_statistics/spo2_bin.png -------------------------------------------------------------------------------- /src/data_statistics/stats.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CoVital-Project/Spo2_evaluation/HEAD/src/data_statistics/stats.py -------------------------------------------------------------------------------- /src/dataset_loader_pandas.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CoVital-Project/Spo2_evaluation/HEAD/src/dataset_loader_pandas.py -------------------------------------------------------------------------------- /src/dataset_loader_pytorch.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CoVital-Project/Spo2_evaluation/HEAD/src/dataset_loader_pytorch.py -------------------------------------------------------------------------------- /src/evaluation/Spo2_evaluation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CoVital-Project/Spo2_evaluation/HEAD/src/evaluation/Spo2_evaluation.py -------------------------------------------------------------------------------- /src/healthwatcher.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CoVital-Project/Spo2_evaluation/HEAD/src/healthwatcher.py -------------------------------------------------------------------------------- /src/lemonaca.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CoVital-Project/Spo2_evaluation/HEAD/src/lemonaca.py -------------------------------------------------------------------------------- /src/wang.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CoVital-Project/Spo2_evaluation/HEAD/src/wang.py -------------------------------------------------------------------------------- /tests/conversion/data_for_test_old_format.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CoVital-Project/Spo2_evaluation/HEAD/tests/conversion/data_for_test_old_format.json -------------------------------------------------------------------------------- /tests/conversion/more_data/data.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CoVital-Project/Spo2_evaluation/HEAD/tests/conversion/more_data/data.json -------------------------------------------------------------------------------- /tests/conversion/more_data/data_old_formal.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CoVital-Project/Spo2_evaluation/HEAD/tests/conversion/more_data/data_old_formal.json -------------------------------------------------------------------------------- /tests/conversion/test_conversion.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CoVital-Project/Spo2_evaluation/HEAD/tests/conversion/test_conversion.py -------------------------------------------------------------------------------- /tests/evaluation/test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CoVital-Project/Spo2_evaluation/HEAD/tests/evaluation/test.py -------------------------------------------------------------------------------- /tests/evaluation/test_normal.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CoVital-Project/Spo2_evaluation/HEAD/tests/evaluation/test_normal.py -------------------------------------------------------------------------------- /tests/test_general.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CoVital-Project/Spo2_evaluation/HEAD/tests/test_general.py -------------------------------------------------------------------------------- /tests/test_peaks.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CoVital-Project/Spo2_evaluation/HEAD/tests/test_peaks.py --------------------------------------------------------------------------------