From cfe7e12575de17d284bec1e9d83834f0a419aeb5 Mon Sep 17 00:00:00 2001 From: Jael Gu Date: Thu, 4 Aug 2022 10:33:09 +0800 Subject: [PATCH] Fix typo in README Signed-off-by: Jael Gu --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 4302dc3..f985438 100644 --- a/README.md +++ b/README.md @@ -13,12 +13,12 @@ The pipeline is used to extract the feature vector of detected faces in images. ## Code Example -Load an image from path './test_face.jpg'. +Load an image from path './test_face.jpg'. *Write the pipeline in simplified style*: ```python -import towhee +import towhee towhee.glob('./test_face.jpg') \ .image_decode.cv2() \ .face_embedding.deepface(model_name = 'DeepFace').to_list() @@ -33,7 +33,7 @@ towhee.glob('./test_face.jpg') \ ```python import towhee -towhee.glob['path']('./test_face.jpgg') \ +towhee.glob['path']('./test_face.jpg') \ .image_decode.cv2['path', 'img']() \ .face_embedding.deepface['img', 'vec'](model_name = 'DeepFace') \ .select['img','vec']() \ @@ -51,7 +51,7 @@ Create the operator via the following factory method ***face_embedding.deepface(model_name = 'which model to use')*** -Model options: +Model options: - VGG-Face - FaceNet - OpenFace