skywrace

refactor: Rename files to clearify detection landmark

...@@ -10,7 +10,7 @@ import pygame ...@@ -10,7 +10,7 @@ import pygame
10 def main(): 10 def main():
11 leye = cv2.CascadeClassifier('pre_trained/haarcascade_lefteye_2splits.xml') 11 leye = cv2.CascadeClassifier('pre_trained/haarcascade_lefteye_2splits.xml')
12 reye = cv2.CascadeClassifier('pre_trained/haarcascade_righteye_2splits.xml') 12 reye = cv2.CascadeClassifier('pre_trained/haarcascade_righteye_2splits.xml')
13 - model = load_model('model/extended_weight.h5') 13 + model = load_model('model/eyes_weight.h5')
14 pygame.mixer.init() 14 pygame.mixer.init()
15 warning_sound = pygame.mixer.Sound('asset/windsheld.mp3') 15 warning_sound = pygame.mixer.Sound('asset/windsheld.mp3')
16 danger_sound = pygame.mixer.Sound('asset/pullup.mp3') 16 danger_sound = pygame.mixer.Sound('asset/pullup.mp3')
......
This file is too large to display.
This file is too large to display.