We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
function : bvps, timesES, bpmES = pipe.run_on_video(videoFileName,......)
Processing Video /content/cohface/3/3/data.avi
Roi processing...
Pre filtering...
BVP extraction...
BPM estimation...
TypeError Traceback (most recent call last) in <cell line: 12>() 10 11# run ---> 12 bvps, timesES, bpmES = pipe.run_on_video(videoFileName, 13 winsize=8, 14 roi_method='convexhull',
2 frames /content/pyVHR/pyVHR/analysis/pipeline.py in run_on_video(self, videoFileName, winsize, ldmks_list, cuda, roi_method, roi_approach, method, estimate, movement_thrs, patch_size, RGB_LOW_HIGH_TH, Skin_LOW_HIGH_TH, pre_filt, post_filt, verb) 442 bpmES = BVP_to_BPM_cuda(bvps_win, fps, minHz=Pipeline.minHz, maxHz=Pipeline.maxHz) 443 else: --> 444 bpmES = BVP_to_BPM(bvps_win, fps, minHz=Pipeline.minHz, maxHz=Pipeline.maxHz) 445 446 elif roi_approach == 'patches':
/content/pyVHR/pyVHR/BPM/BPM.py in BVP_to_BPM(bvps, fps, minHz, maxHz) 449 else: 450 obj.data = bvp --> 451 bpm_es = obj.BVP_to_BPM() 452 bpms.append(bpm_es) 453 return bpms
/content/pyVHR/pyVHR/BPM/BPM.py in BVP_to_BPM(self) 290 if self.data.shape[0] == 0: 291 return np.float32(0.0) --> 292 Pfreqs, Power = Welch(self.data, self.fps, self.minHz, self.maxHz, self.nFFT) 293 # -- BPM estimate 294 Pmax = np.argmax(Power, axis=1) # power max
TypeError: Welch() takes 2 positional arguments but 5 were given.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
function : bvps, timesES, bpmES = pipe.run_on_video(videoFileName,......)
Processing Video /content/cohface/3/3/data.avi
Roi processing...
Pre filtering...
BVP extraction...
BPM estimation...
TypeError Traceback (most recent call last)
in <cell line: 12>()
10
11# run
---> 12 bvps, timesES, bpmES = pipe.run_on_video(videoFileName,
13 winsize=8,
14 roi_method='convexhull',
2 frames
/content/pyVHR/pyVHR/analysis/pipeline.py in run_on_video(self, videoFileName, winsize, ldmks_list, cuda, roi_method, roi_approach, method, estimate, movement_thrs, patch_size, RGB_LOW_HIGH_TH, Skin_LOW_HIGH_TH, pre_filt, post_filt, verb)
442 bpmES = BVP_to_BPM_cuda(bvps_win, fps, minHz=Pipeline.minHz, maxHz=Pipeline.maxHz)
443 else:
--> 444 bpmES = BVP_to_BPM(bvps_win, fps, minHz=Pipeline.minHz, maxHz=Pipeline.maxHz)
445
446 elif roi_approach == 'patches':
/content/pyVHR/pyVHR/BPM/BPM.py in BVP_to_BPM(bvps, fps, minHz, maxHz)
449 else:
450 obj.data = bvp
--> 451 bpm_es = obj.BVP_to_BPM()
452 bpms.append(bpm_es)
453 return bpms
/content/pyVHR/pyVHR/BPM/BPM.py in BVP_to_BPM(self)
290 if self.data.shape[0] == 0:
291 return np.float32(0.0)
--> 292 Pfreqs, Power = Welch(self.data, self.fps, self.minHz, self.maxHz, self.nFFT)
293 # -- BPM estimate
294 Pmax = np.argmax(Power, axis=1) # power max
TypeError: Welch() takes 2 positional arguments but 5 were given.
The text was updated successfully, but these errors were encountered: