Storing face-encoding in database
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 25/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Domain
- backend, databases, machine-learning
Research direction
Start with the reported Django character-field storage path and the conversion between database values and NumPy arrays. Reproduce the ufunc subtraction error using a stored encoding and an image-generated encoding; done means the two encodings can be compared without the dtype or shape error.
Written by the indexing model from the issue text.
Description
- face_recognition version:1.2.2
- Python version: 2.7
- Operating System: Kali linux
Description
@ageitgey, I am working with your module using django and need to store the face-encodings in a database field to optimize comparison.
I used a character field and converted it to both numpy array and list before comparing, but had issues comparing the face encodings retrieved from database with the one created from an image. Any advice?
Was getting error ufunc 'subtract' did not contain a loop with signature matching types dtype('<U1848') dtype('<U1848') dtype('<U1848')
i printed both face encodings (from database and from image) and they looked alike and were of the same type, i also changed the types to lists and numpy arrays yet it did not work. Did alot of crazy stuff including list comprehension and regex just to hack up a solution. My guess is probably the difference in shape of the matrix because each data in both matrices were of type float and looked alike.
- Dominant language
- Python
- Stars
- 56.8k
- Forks
- 13.7k
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from ageitgey/face_recognition
-
CLI image-folder regex missing end-anchor picks up non-image files (foo.jpg.bak, notes.jpegdoc) Open
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
ageitgey/face_recognition#1678 ·
-
Honest-Feedback Open
Difficulty 4/5 3-5 days Newbie friendliness 45/100
ageitgey/face_recognition#1669 · 3 comments ·
-
AiSoul Open
Difficulty 5/5 Over a week Newbie friendliness 20/100
ageitgey/face_recognition#1668 · 1 comment ·
-
Difficulty 1/5 Under an hour Newbie friendliness 55/100
ageitgey/face_recognition#1666 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 76/100
ageitgey/face_recognition#1665 · 2 comments ·
All issues in ageitgey/face_recognition
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
bancolombia/sentinel#23 ·
-
test md OpenCI
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
integration:quickjs org:external priority:backlog topic:code-interpreter topic:middleware type:feature
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
langchain-ai/deepagents#6450 ·
-
bug client
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100