tue-robotics / ed_perception

ED extension for classifying entities based on their attached RGBD measurements.
2 stars 5 forks source link

Crash on face_recognition #17

Closed LFBFerreira closed 9 years ago

LFBFerreira commented 9 years ago

Apparently Fisher Faces was called without being trained. May have been caused by another entity trying to use it, since in the .CSV file there was a change in label number.

Disable a new request for learning when another is still running, and do some checking on the ID of the entity being learned maybe.

pic-20150127131509106

LFBFerreira commented 9 years ago

Defenitly happens when a face is being learned and for some reason the segmentation fails, and a new segmented face appears on top of the entity that was previously being used by the learning.

Rayman commented 9 years ago

Is this still an issue?

LFBFerreira commented 9 years ago

Hmmm i kind of know why this happened sometimes but i was never able to reproduce it. It had to do with the fact that the "learning mode" for the face recognition plugin was ON, and suddenly a call to recognize a new face was received before the learning finished.

Given that we now use snapshooting this might not be a problem anymore, and it will unavoidably be tested in the future so i will close it.