Browse Source

comment batch

master
cailean 3 months ago
parent
commit
88a568c4a5
  1. 5
      src/ofApp.cpp

5
src/ofApp.cpp

@ -130,7 +130,10 @@ void ofApp::inferEmotionalState(){
croppedFaces[i] = tempImage; croppedFaces[i] = tempImage;
} }
/*
Run batch for FER model,
for each image -> set emotional state in detected_faces array
*/
auto emotion_output_tensor = emotion.RunBatch(croppedFaces); auto emotion_output_tensor = emotion.RunBatch(croppedFaces);
auto& output_tensor = emotion_output_tensor.front(); auto& output_tensor = emotion_output_tensor.front();

Loading…
Cancel
Save