This commit is contained in:
Prohurtz 2023-05-11 09:39:38 -07:00 committed by GitHub
parent 22e9c6df85
commit a526c29960
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 6 additions and 10 deletions

View File

@ -109,3 +109,4 @@ class EyeTrackConfig(BaseModel):
pass pass
with open(CONFIG_FILE_NAME, "w") as settings_file: with open(CONFIG_FILE_NAME, "w") as settings_file:
json.dump(obj=self.dict(), fp=settings_file) json.dump(obj=self.dict(), fp=settings_file)
print("[INFO] Config Saved Successfully")

View File

@ -21,8 +21,8 @@
HSR By: PallasNeko (Optimization Wizard, Contributor), Summer#2406 (Main Algorithm Engineer) HSR By: PallasNeko (Optimization Wizard, Contributor), Summer#2406 (Main Algorithm Engineer)
RANSAC 3D By: Summer#2406 (Main Algorithm Engineer), Pupil Labs (pye3d), PallasNeko (Optimization) RANSAC 3D By: Summer#2406 (Main Algorithm Engineer), Pupil Labs (pye3d), PallasNeko (Optimization)
BLOB By: Prohurtz#0001 (Main App Developer) BLOB By: Prohurtz (Main App Developer)
Algorithm App Implementations By: Prohurtz, qdot (Initial App Creator) Algorithm App Implementations By: Prohurtz, qdot (Initial App Creator), PallasNeko
Additional Contributors: [Assassin], Summer404NotFound, lorow, ZanzyTHEbar Additional Contributors: [Assassin], Summer404NotFound, lorow, ZanzyTHEbar

View File

@ -54,7 +54,7 @@ def main():
if ( if (
appversion == latestversion appversion == latestversion
): # If what we scraped and hardcoded versions are same, assume we are up to date. ): # 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: else:
print( print(
f"\033[93m[INFO] You have app version [{appversion}] installed. Please update to [{latestversion}] for the newest features.\033[0m" 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() toast.show()
except Exception as e: 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. # Check to see if we have an ROI. If not, bring up ROI finder GUI.

View File

@ -19,7 +19,7 @@
@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@( @@@@@@@@@@@@@(
Intensity Based Openess By: Prohurtz, PallasNeko (Optimization) Intensity Based Openess By: Prohurtz, PallasNeko (Optimization)
Algorithm App Implementations By: Prohurtzs Algorithm App Implementations By: Prohurtz
Copyright (c) 2023 EyeTrackVR <3 Copyright (c) 2023 EyeTrackVR <3
------------------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------------------
@ -213,8 +213,6 @@ class IntensityBasedOpeness:
#if cv2.waitKey(1) & 0xFF == ord("q"): #if cv2.waitKey(1) & 0xFF == ord("q"):
# pass # pass
#print(intensity) #print(intensity)
# if our blob width/height are within suitable (yet arbitrary) boundaries, call that good. # if our blob width/height are within suitable (yet arbitrary) boundaries, call that good.
# #
@ -253,9 +251,6 @@ class IntensityBasedOpeness:
data_val = 0 data_val = 0
# max pupil per cord # max pupil per cord
if data_val == 0: if data_val == 0:
# The value of the specified coordinates has not yet been recorded. # The value of the specified coordinates has not yet been recorded.