fix: face pipeline - unique constraint + numpy type error #588
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/face-pipeline-unique-constraint"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Changes\n\n### Bug #1: UNIQUE constraint kills multi-face results\n- Migration V112 drops old UNIQUE constraint on worker_job_id, idempotency_key, domain_key, scope_type, payload\n- Adds new UNIQUE constraint on worker_job_id, idempotency_key, domain_key, scope_type, scope\n- scope stores bounding box JSON, uniquely identifying each face region\n\n### Bug #2: numpy TypeError in people worker\n- face_model.py:83 change float(scores[i]) to float(scores[i].item()) for proper scalar conversion