From a526c2996080a078b2638ce2c4eab09e42c237c9 Mon Sep 17 00:00:00 2001 From: Prohurtz <48768484+RedHawk989@users.noreply.github.com> Date: Thu, 11 May 2023 09:39:38 -0700 Subject: [PATCH] cleanup --- EyeTrackApp/config.py | 1 + EyeTrackApp/eye_processor.py | 4 ++-- EyeTrackApp/eyetrackapp.py | 4 ++-- EyeTrackApp/intensity_based_openness.py | 7 +------ 4 files changed, 6 insertions(+), 10 deletions(-) diff --git a/EyeTrackApp/config.py b/EyeTrackApp/config.py index ae234d0..833ffa6 100644 --- a/EyeTrackApp/config.py +++ b/EyeTrackApp/config.py @@ -109,3 +109,4 @@ class EyeTrackConfig(BaseModel): pass with open(CONFIG_FILE_NAME, "w") as settings_file: json.dump(obj=self.dict(), fp=settings_file) + print("[INFO] Config Saved Successfully") diff --git a/EyeTrackApp/eye_processor.py b/EyeTrackApp/eye_processor.py index 979c2ba..df57f37 100644 --- a/EyeTrackApp/eye_processor.py +++ b/EyeTrackApp/eye_processor.py @@ -21,8 +21,8 @@ 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, qdot (Initial App Creator) +BLOB By: Prohurtz (Main App Developer) +Algorithm App Implementations By: Prohurtz, qdot (Initial App Creator), PallasNeko Additional Contributors: [Assassin], Summer404NotFound, lorow, ZanzyTHEbar diff --git a/EyeTrackApp/eyetrackapp.py b/EyeTrackApp/eyetrackapp.py index a131131..7e46d5f 100644 --- a/EyeTrackApp/eyetrackapp.py +++ b/EyeTrackApp/eyetrackapp.py @@ -54,7 +54,7 @@ def main(): if ( appversion == latestversion ): # If what we scraped and hardcoded versions are same, assume we are up to date. - print(f"\033[92m[INFO] App is up to date! [{latestversion}]\033[0m") + print(f"\033[92m[INFO] App is the latest version! [{latestversion}]\033[0m") else: print( f"\033[93m[INFO] You have app version [{appversion}] installed. Please update to [{latestversion}] for the newest features.\033[0m" @@ -75,7 +75,7 @@ def main(): ) toast.show() except Exception as e: - print("Notifications not supported") + print("[INFO] Toast notifications not supported") # Check to see if we have an ROI. If not, bring up ROI finder GUI. diff --git a/EyeTrackApp/intensity_based_openness.py b/EyeTrackApp/intensity_based_openness.py index 9696ad3..1e34923 100644 --- a/EyeTrackApp/intensity_based_openness.py +++ b/EyeTrackApp/intensity_based_openness.py @@ -19,7 +19,7 @@ @@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@( Intensity Based Openess By: Prohurtz, PallasNeko (Optimization) -Algorithm App Implementations By: Prohurtzs +Algorithm App Implementations By: Prohurtz Copyright (c) 2023 EyeTrackVR <3 ------------------------------------------------------------------------------------------------------ @@ -213,8 +213,6 @@ class IntensityBasedOpeness: #if cv2.waitKey(1) & 0xFF == ord("q"): # pass - - #print(intensity) # if our blob width/height are within suitable (yet arbitrary) boundaries, call that good. # @@ -253,9 +251,6 @@ class IntensityBasedOpeness: data_val = 0 - - - # max pupil per cord if data_val == 0: # The value of the specified coordinates has not yet been recorded.