mirror of
https://github.com/EyeTrackVR/EyeTrackVR.git
synced 2025-11-04 14:39:42 +08:00
fix algo output data
This commit is contained in:
parent
5ea1a39209
commit
d94c71c26f
@ -313,20 +313,20 @@ class EyeProcessor:
|
||||
|
||||
self.rawx, self.rawy, self.thresh = self.er_hsf.run(self.current_image_gray)
|
||||
self.eyeopen = self.ibo.intense(self.rawx, self.rawy, self.current_image_gray)
|
||||
out_x, out_y = cal_osc(self, self.rawx, self.rawy)
|
||||
self.out_x, self.out_y = cal_osc(self, self.rawx, self.rawy)
|
||||
self.current_algorithm = InformationOrigin.HSF
|
||||
|
||||
def RANSAC3DM(self):
|
||||
current_image_gray_copy = self.current_image_gray.copy() # Duplicate before overwriting in RANSAC3D.
|
||||
self.rawx, self.rawy, self.thresh = RANSAC3D(self)
|
||||
self.eyeopen = self.ibo.intense(self.rawx, self.rawy, current_image_gray_copy)
|
||||
out_x, out_y = cal_osc(self, self.rawx, self.rawy)
|
||||
self.out_x, self.out_y = cal_osc(self, self.rawx, self.rawy)
|
||||
self.current_algorithm = InformationOrigin.RANSAC
|
||||
|
||||
def BLOBM(self):
|
||||
self.rawx, self.rawy, self.thresh = BLOB(self)
|
||||
self.eyeopen = self.ibo.intense(self.rawx, self.rawy, self.current_image_gray)
|
||||
out_x, out_y = cal_osc(self, self.rawx, self.rawy)
|
||||
self.out_x, self.out_y = cal_osc(self, self.rawx, self.rawy)
|
||||
self.current_algorithm = InformationOrigin.BLOB
|
||||
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user