CoVital-Project / Spo2_evaluation

Python script to evaluation the correctness of SpO2 estimation algorithms
18 stars 6 forks source link

Create dataloader #7

Open YoniSchirris opened 4 years ago

YoniSchirris commented 4 years ago
LittlePea13 commented 4 years ago

Added a PR with Dataloader and Dataset. Unfortunately I could not improve performance much, each video preprocessing takes around 3 minutes, since it needs to do operations per frame to avoid memory issues. I someone knows more about Threading, I added a version that does the reading from the file on a different Thread but I do not know enough about threading and the performance was similar.

MalcolmMielle commented 4 years ago

I have made python functions in the utils.py file to transform a frame into a PPG signal. Should I move that to a folder containing common functions?