video face prison biz新增process fram方法,未修改
This commit is contained in:
@@ -745,7 +745,7 @@ def sync_videofacebiz_blacklist():
|
||||
feature_array = np.frombuffer(feature.feature_data, dtype=np.float32)
|
||||
|
||||
# 使用person_id作为标识符
|
||||
person_name = f"blacklist_{feature.person_id}"
|
||||
person_name = f"{feature.person_id}"
|
||||
registered_faces[person_name] = feature_array
|
||||
loaded_count += 1
|
||||
|
||||
@@ -970,7 +970,7 @@ def sync_videofaceprisonbiz_blacklist():
|
||||
feature_array = np.frombuffer(feature.feature_data, dtype=np.float32)
|
||||
|
||||
# 使用person_id作为标识符
|
||||
person_name = f"blacklist_{feature.person_id}"
|
||||
person_name = f"{feature.person_id}"
|
||||
registered_faces[person_name] = feature_array
|
||||
loaded_count += 1
|
||||
|
||||
|
||||
Reference in New Issue
Block a user