matlab-deep-learning / mtcnn-face-detection

Face detection and alignment using deep learning
Other
26 stars 18 forks source link

proposeRegions fails when probabilities is 1xn #6

Closed justinpinkney closed 4 years ago

justinpinkney commented 4 years ago

proposeRegions will error if the resulting probability map is a 1xn matrix.

Simple fix by flattening faces to a row vector in line 36: linCoord = find(faces(:));