Research Article

IoT Based Smart Baby Monitoring System with Emotion Recognition Using Machine Learning

Algorithm 1

onEmotionDetectorCalled().
Terminologies
C: Classification algorithm
D: Dataset
L: Land Marker
IC: Image Classifier
PL: Predicted Emotion Labels
P: Predicted Output
if (isFound(D) == FALSE) then
 Prepare Dataset
else
 Initialize IC using D & C;
 Start Video Capture;
for each frame do
  ResizeImage(frame)
  ConvertRGBtoGreyscale(frame)
  DrawLPoints(DetectFace(frame))
  PredictOutput(IC)
  if (checkPL(P) == TRUE) then
   Send Predicted Emotion
  end
 end
end