Lambang commited on
Commit
cf2491c
·
1 Parent(s): 1628526
Files changed (1) hide show
  1. main.py +4 -4
main.py CHANGED
@@ -35,9 +35,9 @@ landmark_extraction_img = True
35
  # Tempat deklarasi model dan sejenisnya
36
  selected_model = tf.keras.models.load_model(f'models/fc_model_1.h5', compile=False)
37
  # face_cascade = cv2.CascadeClassifier('haarcascade_frontalface_alt2.xml')
38
- mp_drawing = mp.solutions.drawing_utils
39
- mp_face_mesh = mp.solutions.face_mesh
40
- drawing_spec = mp_drawing.DrawingSpec(thickness=1, circle_radius=1)
41
  # -----------------------------------------------------
42
 
43
 
@@ -59,7 +59,7 @@ async def root():
59
 
60
  #-----------------------------------------------------
61
 
62
- data_processor = DataProcessing()
63
  data_train_pred = TrainPred()
64
 
65
  # import random
 
35
  # Tempat deklarasi model dan sejenisnya
36
  selected_model = tf.keras.models.load_model(f'models/fc_model_1.h5', compile=False)
37
  # face_cascade = cv2.CascadeClassifier('haarcascade_frontalface_alt2.xml')
38
+ # mp_drawing = mp.solutions.drawing_utils
39
+ # mp_face_mesh = mp.solutions.face_mesh
40
+ # drawing_spec = mp_drawing.DrawingSpec(thickness=1, circle_radius=1)
41
  # -----------------------------------------------------
42
 
43
 
 
59
 
60
  #-----------------------------------------------------
61
 
62
+ # data_processor = DataProcessing()
63
  data_train_pred = TrainPred()
64
 
65
  # import random