Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: New Endpoint for recognise_face() #7

Closed
3 tasks
Devasy23 opened this issue Mar 12, 2024 · 1 comment · Fixed by #30
Closed
3 tasks

Feature Request: New Endpoint for recognise_face() #7

Devasy23 opened this issue Mar 12, 2024 · 1 comment · Fixed by #30
Assignees
Labels
documentation Improvements or additions to documentation enhancement New feature or request sweep

Comments

@Devasy23
Copy link
Owner

Feature Request: New Endpoint for recognise_face()

Description

We need a new endpoint, recognise_face(), that accepts a base64 string as input. This endpoint should convert the base64 string into embeddings using the same process as the create_new_faceEntry() endpoint.

Once the embeddings are calculated, the endpoint should run a vector search query on our MongoDB Atlas database. The search should use Euclidean distance as the similarity measure to find the most similar face in the database.

Expected Behavior

The endpoint should return the EmployeeCode and other associated information of the most similar face found in the database. If no similar face is found, the endpoint should return an appropriate error message.

Benefits

This feature will allow us to identify faces from images without having to manually compare the embeddings. This could be useful in a variety of scenarios, such as employee check-in/check-out, security checks, etc.

Tasks

  • Implement the recognise_face() endpoint.
  • Write tests for the new endpoint.
  • Update the API documentation to include the new endpoint.
@Devasy23 Devasy23 added documentation Improvements or additions to documentation enhancement New feature or request labels Mar 12, 2024
@Devasy23 Devasy23 pinned this issue Mar 12, 2024
@Devasy23 Devasy23 added the sweep label Mar 13, 2024
Copy link

sweep-ai bot commented Mar 13, 2024

Sweeping

0%


Actions (click)

  • ↻ Restart Sweep

❌ Unable to Complete PR

You ran out of the free tier GPT-4 tickets! We no longer support running Sweep with GPT-3.5 as it is too unreliable. Here are your options:

  • You can get a free trial of Sweep Pro to get unlimited GPT-4 tickets here or purchase a individual GPT-4 tickets here.
  • You can self-host Sweep with your own GPT-4 API key. You can find instructions here.
  • You can book a chat with us to discuss your use case and get additional free GPT-4 tickets here.

🎉 Latest improvements to Sweep:
  • New dashboard launched for real-time tracking of Sweep issues, covering all stages from search to coding.
  • Integration of OpenAI's latest Assistant API for more efficient and reliable code planning and editing, improving speed by 3x.
  • Use the GitHub issues extension for creating Sweep issues directly from your editor.

💡 To recreate the pull request edit the issue title or description. To tweak the pull request, leave a comment on the pull request.

This is an automated message generated by Sweep AI.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request sweep
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants