Skip to content

Commit eefec77

Browse files
authored
Update ClassifyFacialEmotions_4labels.java
1 parent 1e34435 commit eefec77

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

Video-based-Facial-Expression-Recognition/src/main/java/org/uiux/maven/fer/ClassifyFacialEmotions_4labels.java

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,12 @@ static Object[] executeFERGraph(byte[] graphDef, Tensor<Float> image) {
126126
}
127127
}
128128

129-
129+
/**
130+
* max Index
131+
* @param probabiities
132+
*
133+
* @return best
134+
*/
130135
static int maxIndex(float[] probabilities) {
131136
int best = 0;
132137
for (int i = 1; i < probabilities.length; ++i) {

0 commit comments

Comments
 (0)