consider a threshold (specified by the prediction function) smaller than the value to determine whether a person is known or not. the first time a passing face will be predicted to be unknown (less than a threshold), then place it in the database (csv file too). for the next pass, he must predict a value slightly larger than the previous one, you can take it and so on until you think that the forecast is suitable for you.
source
share