face cinoare from base64 bug

This commit is contained in:
caoqianming 2022-01-21 14:04:39 +08:00
parent 988dc29ef6
commit 7b81a34d89
1 changed files with 1 additions and 0 deletions

View File

@ -7,6 +7,7 @@ from apps.system.models import User
class HRMService:
@classmethod
def face_compare_from_base64(cls, base64_data):
filename = str(uuid.uuid4())
filepath = settings.BASE_DIR +'/temp/' + filename +'.png'