VCM personnel list database automatically reextracts
The VCMAPP personnel list database search can not be retrieved. but the personnel list extraction status is normal, and the alarm can also be alerted, which is the MCS problem.
At this time, feature extraction can only be performed again. However, if the previous extraction is successful, manually triggering the secondary feature extraction will not succeed, and the background operation is required. The operation items include the following:
1. Delete the feature data of the face_feature_xxxxx personnel list in mongo
2. Delete the personnel list database feature data in the MCS.
3. Update the face_state field in face_feature_info, change from 0 to 4, and remove the featureId field.
Step 1:
Delete the feature data of the face_feature_xxxxx personnel list in mongo
Log in to mongo background
db.face_feature_0104000100.remove({})

Step 2:
Delete the personnel list database feature data in the MCS Log in to all MCS backgrounds, enter the /MCS directory and enter the corresponding algorithm directory,change staticfeature/staticfeatureIdx/staticoffset to a different name

Restart the MCS process
Step 3:
Update the face_state field in face_feature_info from 0 to 4, and remove the featureId field
The original data are as follows:

We want to update it to the following effect:

The Mongo operation command is as follows:
> db.face_feature_info.update({"image.0.als.0.face_state":"0"},{$set:{"image.0.als":[{"algorithm":"0104000100","face_state":"4"}]}},{multi:true})
After the above operations are completed, SDK will re-issue feature extraction requests.