pyVHR.realtime package¶
Submodules¶
pyVHR.realtime.GUI module¶
pyVHR.realtime.VHRroutine module¶
Bases:
object
pyVHR.realtime.params module¶
- class pyVHR.realtime.params.Params[source]¶
Bases:
object
- BPM_extraction_type = 'welch'¶
- approach = 'patches'¶
- color_high_threshold = 230¶
- color_low_threshold = 75¶
- cuda = False¶
- fake_delay = False¶
- font_color = (255, 0, 0, 255)¶
- font_size = 0.3¶
- fps_fixed = None¶
- landmarks_list = [2, 3, 4, 5, 6, 8, 9, 10, 18, 21, 32, 35, 36, 43, 46, 47, 48, 50, 54, 58, 67, 68, 69, 71, 92, 93, 101, 103, 104, 108, 109, 116, 117, 118, 123, 132, 134, 135, 138, 139, 142, 148, 149, 150, 151, 152, 182, 187, 188, 193, 197, 201, 205, 206, 207, 210, 211, 212, 216, 234, 248, 251, 262, 265, 266, 273, 277, 278, 280, 284, 288, 297, 299, 322, 323, 330, 332, 333, 337, 338, 345, 346, 361, 363, 364, 367, 368, 371, 377, 379, 411, 412, 417, 421, 425, 426, 427, 430, 432, 436]¶
- maxHz = 4.0¶
- method = {'device_type': 'cpu', 'method_func': <function cpu_CHROM>, 'params': {}}¶
- minHz = 0.7¶
- out_path = None¶
- patches = 'squares'¶
- post_filter = [{'filter_func': <function BPfilter>, 'params': {'minHz': 0.7, 'maxHz': 3.0, 'fps': 'adaptive', 'order': 6}}]¶
- pre_filter = [{'filter_func': <function BPfilter>, 'params': {'minHz': 0.7, 'maxHz': 3.0, 'fps': 'adaptive', 'order': 6}}]¶
- rects_dims = []¶
- resize = True¶
- sig_color_high_threshold = 230¶
- sig_color_low_threshold = 75¶
- skin_color_high_threshold = 230¶
- skin_color_low_threshold = 75¶
- skin_extractor = 'convexhull'¶
- squares_dim = 30.0¶
- stride = 1¶
- tot_sec = 0¶
- type = 'mean'¶
- videoFileName = ''¶
- visualize_landmarks = True¶
- visualize_landmarks_number = True¶
- visualize_patches = True¶
- visualize_skin = True¶
- winSize = 6¶