ev6 commited on
Commit
a76893e
·
verified ·
1 Parent(s): 122bee2

Update app/apps/emotion_recognition/emotion_recognition.py

Browse files
app/apps/emotion_recognition/emotion_recognition.py CHANGED
@@ -72,7 +72,7 @@ def face_detector_image(img):
72
 
73
 
74
  def emotionImage(imgPath):
75
- img = cv2.imread(BASE_DIR + 'media' + imgPath)
76
  rects, faces, image = face_detector_image(img)
77
  i = 0
78
  for face in faces:
 
72
 
73
 
74
  def emotionImage(imgPath):
75
+ img = cv2.imread(BASE_DIR + '/media/' + imgPath)
76
  rects, faces, image = face_detector_image(img)
77
  i = 0
78
  for face in faces: