Skip to content

Commit

Permalink
Deprecate register_face function
Browse files Browse the repository at this point in the history
  • Loading branch information
Devasy23 committed Jan 17, 2024
1 parent d4f794f commit fbaad26
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,7 @@ The database contains a `faceEntries` collection with the following schema:

1. `create_new_faceEntry()`: This function receives a POST request with an image and metadata (age and gender). It extracts the face from the image, calculates the embeddings, and stores the data in the database.
2. `register_face()`: This function ...
2. `register_face()`: This function is used to store face images in the database, it is currently deprecated.
## Testing
To run the tests, use the following command:
Expand Down
1 change: 1 addition & 0 deletions main/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@

app = FastAPI()

# deprecated
@app.post("/upload/")
async def register_face(file: UploadFile = File(...)):

Expand Down

0 comments on commit fbaad26

Please sign in to comment.