fix algo output data

This commit is contained in:
Prohurtz 2023-03-18 19:10:58 -05:00
parent 5ea1a39209
commit d94c71c26f

View File

@ -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