aliushn / rppg-1

implement remote-ppg (rppg;fppg) & PPG 2 ABP model using pytorch

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Implement Deep Learning based Rppg Model & PPG 2 ABP using pytorch

model list (TODO : UPDATE)

TODO

Additional info

* How to test (Assessment of ROI selection for facial video based rPPG)
  • before test modify sample2.cfg(./pyVHR/analysis/sample2.cfg)
[DEFAULT]
'''
methods         = ['POS','CHROM','ICA','SSR','LGI','PBV','GREEN'] # Change Method
'''
[VIDEO]
dataset     = LGI_PPGI # change dataset
videodataDIR= /media/hdd1/LGGI/ # change dataset path
BVPdataDIR  = /media/hdd1/LGGI/
;videoIdx    = all
videoIdx    = [1,2,5,6] # change test video idx
detector    = media-pipe # use media-pipe, it's proposed ROI option
  • before test, modify test suit file(./pyVHR/analysis/testsuite.py), all regions one-hot mapping.
   '''
   test for all region
    '''
    # tmp = bin(test)
    # binary = ''
    # for i in range(mask_num-len(tmp[2:])):
    #     binary += '0'
    # binary += tmp[2:]
    '''
    test for top-5 & bot -5
    '''
    if test_case == 0 :
        binary = '0011000000000000000100000001001'
    else :
        binary = '0000000001100001011000000000000'
  • run _1_rppg_assesment.py

  • all mask information found at video.py's make_mask function (./pyVHR/signals/video.py)

Contacts

Dae Yeol Kim, spicyyeol@gmail.com

Jin Soo Kim, wlstn25092303@tvstorm.com

Kwangkee Lee, kwangkeelee@gmail.com

min a Lee, mina1505@kw.ac.kr

Jun Yeong Na, najubae@kw.ac.kr

JongEui Chae, forownsake@gmail.com

Funding

This work was supported by the ICT R&D program of MSIP/IITP. [2021(2021-0-00900), Adaptive Federated Learning in Dynamic Heterogeneous Environment]

reference

  1. ZitongYu/PhysNet
  2. phuselab/pyVHR

About

implement remote-ppg (rppg;fppg) & PPG 2 ABP model using pytorch


Languages

Language:Python 100.0%