From d0d3426d9909bf343758373995c47248623ca2e6 Mon Sep 17 00:00:00 2001 From: Sefik Ilkin Serengil Date: Tue, 26 May 2020 14:12:59 +0300 Subject: [PATCH] large scale --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 9309cdc..e141269 100644 --- a/README.md +++ b/README.md @@ -45,14 +45,16 @@ Items of resp_obj might be unsorted when you pass multiple instances to verify f **Large scale face recognition** - [`Demo`](https://youtu.be/Hrjp-EStM_s) -You can apply face recognition on a large scale data set as well. Vector representations of faces in your database folder stored in a pickle file when find function is called once. Then, deepface just finds vector representation of the target image. Finding an identity in a large scale data set will be performed in just seconds. +You can apply face recognition on a large scale data set as well. Face recognition requires to apply face verification multiple times. Herein, deepface offers an out-of-the-box find function to handle this action. Representations of faces photos in your database folder will be stored in a pickle file when find function is called once. Then, deepface just finds representation of the target image. In this way, finding an identity in a large scale data set will be performed in just seconds. ```python from deepface import DeepFace +import pandas as pd + df = DeepFace.find(img_path = "img1.jpg", db_path = "C:/workspace/my_db") print(df.head()) -#DeepFace.find(img_path = ["img1.jpg", "img2.jpg"], db_path = "C:/workspace/my_db") +#dfs = DeepFace.find(img_path = ["img1.jpg", "img2.jpg"], db_path = "C:/workspace/my_db") ``` **Supported face recognition models**