cleanup, update credits, rename

This commit is contained in:
Prohurtz 2023-05-11 09:04:30 -07:00 committed by GitHub
parent 8d29d24127
commit 22e9c6df85
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 59 additions and 14 deletions

View File

@ -1,3 +1,30 @@
'''
------------------------------------------------------------------------------------------------------
,@@@@@@
@@@@@@@@@@@ @@@
@@@@@@@@@@@@ @@@@@@@@@@@
@@@@@@@@@@@@@ @@@@@@@@@@@@@@
@@@@@@@/ ,@@@@@@@@@@@@@
/@@@@@@@@@@@@@@@ @@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@
@@@@@@@@ @@@@@
,@@@ @@@@&
@@@@@@. @@@@
@@@ @@@@@@@@@/ @@@@@
,@@@. @@@@@@((@ @@@@(
//@@@ ,, @@@@ @@@@@
@@@( @@@@@@@
@@@ @ @@@@@@@@#
@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@(
DADDY By: PallasNeko Optimization
Algorithm App Implementations By: PallasNeko, Prohurtz
Copyright (c) 2023 EyeTrackVR <3
------------------------------------------------------------------------------------------------------
'''
import sys
from typing import Tuple
import math

View File

@ -22,7 +22,7 @@
HSR By: PallasNeko (Optimization Wizard, Contributor), Summer#2406 (Main Algorithm Engineer)
RANSAC 3D By: Summer#2406 (Main Algorithm Engineer), Pupil Labs (pye3d), PallasNeko (Optimization)
BLOB By: Prohurtz#0001 (Main App Developer)
Algorithm App Implementations By: Prohurtz#0001, qdot (Initial App Creator)
Algorithm App Implementations By: Prohurtz, qdot (Initial App Creator)
Additional Contributors: [Assassin], Summer404NotFound, lorow, ZanzyTHEbar
@ -60,7 +60,7 @@ from hsrac import External_Run_HSRACS
from blink import *
from eye import EyeInfo, EyeInfoOrigin
from intensity_eye_open import *
from intensity_based_openness import *
def run_once(f):

View File

@ -1,3 +1,29 @@
'''
------------------------------------------------------------------------------------------------------
,@@@@@@
@@@@@@@@@@@ @@@
@@@@@@@@@@@@ @@@@@@@@@@@
@@@@@@@@@@@@@ @@@@@@@@@@@@@@
@@@@@@@/ ,@@@@@@@@@@@@@
/@@@@@@@@@@@@@@@ @@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@
@@@@@@@@ @@@@@
,@@@ @@@@&
@@@@@@. @@@@
@@@ @@@@@@@@@/ @@@@@
,@@@. @@@@@@((@ @@@@(
//@@@ ,, @@@@ @@@@@
@@@( @@@@@@@
@@@ @ @@@@@@@@#
@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@(
Intensity Based Openess By: Prohurtz, PallasNeko (Optimization)
Algorithm App Implementations By: Prohurtzs
Copyright (c) 2023 EyeTrackVR <3
------------------------------------------------------------------------------------------------------
'''
import numpy as np
import time
import os

View File

@ -20,7 +20,7 @@
@@@@@@@@@@@@@(
RANSAC 3D By: Summer#2406 (Main Algorithm Engineer), Pupil Labs (pye3d), PallasNeko (Optimization)
Algorithm App Implementations By: Prohurtz#0001, qdot (Initial App Creator)
Algorithm App Implementations By: Prohurtz, qdot (Initial App Creator)
Copyright (c) 2023 EyeTrackVR <3
------------------------------------------------------------------------------------------------------
@ -191,9 +191,8 @@ def RANSAC3D(self):
frame = self.current_image_gray
# For measuring processing time of image processing
# Crop first to reduce the amount of data to process.
# frame = frame[0:len(frame) - 5, :]
# To reduce the processing data, first convert to 1-channel and then blur.
# The processing results were the same when I swapped the order of blurring and 1-channelization.
# frame = frame[0:len(frame) - 5, :]
# To reduce the processing data, blur.
frame_gray = cv2.GaussianBlur(frame, (5, 5), 0)
@ -264,9 +263,7 @@ def RANSAC3D(self):
# via dicts).
result_2d = {}
result_2d_final = {}
result_2d["center"] = (cx, cy)
result_2d["axes"] = (w, h)
result_2d["angle"] = theta * 180.0 / np.pi
result_2d_final["ellipse"] = result_2d
@ -345,8 +342,3 @@ def RANSAC3D(self):
except:
self.failed = self.failed + 1 #we have failed, move onto next algo
return 0, 0, thresh
# Shove a concatenated image out to the main GUI thread for rendering
#self.output_images_and_update(thresh, EyeInfo(EyeInfoOrigin.FAILURE, 0 ,0, 0, False))
#self.output_images_and_update(thresh, output_info)
#except:
# self.output_images_and_update(thresh, EyeInfo(EyeInfoOrigin.RANSAC, out_x, out_y, 0, self.blinkvalue))