From dc69fc71db0b1701df6f1ce31cac4e480854667d Mon Sep 17 00:00:00 2001 From: Zhao73 <156770117+Zhao73@users.noreply.github.com> Date: Mon, 1 Jun 2026 17:49:45 +0800 Subject: [PATCH] docs: fix documentation typos Correct clear spelling mistakes in documentation without changing behavior. Confidence: high Scope-risk: narrow Tested: git diff --check; uvx codespell on changed files Not-tested: Full docs build not run; text-only changes --- HISTORY.rst | 4 ++-- README.md | 6 +++--- README.rst | 7 +++---- 3 files changed, 8 insertions(+), 9 deletions(-) diff --git a/HISTORY.rst b/HISTORY.rst index f970c2ee0..d34ff76ce 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -49,7 +49,7 @@ History 1.1.0 (2017-09-23) ------------------ -* Will use dlib's 5-point face pose estimator when possible for speed (instead of 68-point face pose esimator) +* Will use dlib's 5-point face pose estimator when possible for speed (instead of 68-point face pose estimator) * dlib v19.7 is now the minimum required version * face_recognition_models v0.3.0 is now the minimum required version @@ -57,7 +57,7 @@ History 1.0.0 (2017-08-29) ------------------ -* Added support for dlib's CNN face detection model via model="cnn" parameter on face detecion call +* Added support for dlib's CNN face detection model via model="cnn" parameter on face detection call * Added support for GPU batched face detections using dlib's CNN face detector model * Added find_faces_in_picture_cnn.py to examples * Added find_faces_in_batches.py to examples diff --git a/README.md b/README.md index 23ac8647d..0ea5f7a7b 100644 --- a/README.md +++ b/README.md @@ -260,7 +260,7 @@ import face_recognition image = face_recognition.load_image_file("my_picture.jpg") face_locations = face_recognition.face_locations(image) -# face_locations is now an array listing the co-ordinates of each face! +# face_locations is now an array listing the coordinates of each face! ``` See [this example](https://github.com/ageitgey/face_recognition/blob/master/examples/find_faces_in_picture.py) @@ -270,7 +270,7 @@ You can also opt-in to a somewhat more accurate deep-learning-based face detecti Note: GPU acceleration (via NVidia's CUDA library) is required for good performance with this model. You'll also want to enable CUDA support -when compliling `dlib`. +when compiling `dlib`. ```python import face_recognition @@ -278,7 +278,7 @@ import face_recognition image = face_recognition.load_image_file("my_picture.jpg") face_locations = face_recognition.face_locations(image, model="cnn") -# face_locations is now an array listing the co-ordinates of each face! +# face_locations is now an array listing the coordinates of each face! ``` See [this example](https://github.com/ageitgey/face_recognition/blob/master/examples/find_faces_in_picture_cnn.py) diff --git a/README.rst b/README.rst index 16edc6c13..e606ac2ad 100644 --- a/README.rst +++ b/README.rst @@ -260,7 +260,7 @@ Automatically find all the faces in an image image = face_recognition.load_image_file("my_picture.jpg") face_locations = face_recognition.face_locations(image) - # face_locations is now an array listing the co-ordinates of each face! + # face_locations is now an array listing the coordinates of each face! | See `this example `__ @@ -272,7 +272,7 @@ detection model. | Note: GPU acceleration (via nvidia's CUDA library) is required for good | performance with this model. You'll also want to enable CUDA support -| when compliling ``dlib``. +| when compiling ``dlib``. .. code:: python @@ -281,7 +281,7 @@ detection model. image = face_recognition.load_image_file("my_picture.jpg") face_locations = face_recognition.face_locations(image, model="cnn") - # face_locations is now an array listing the co-ordinates of each face! + # face_locations is now an array listing the coordinates of each face! | See `this example `__ @@ -489,4 +489,3 @@ Thanks .. |image7| image:: https://cloud.githubusercontent.com/assets/896692/24430398/36f0e3f0-13cb-11e7-8258-4d0c9ce1e419.gif .. |known| image:: https://cloud.githubusercontent.com/assets/896692/23582466/8324810e-00df-11e7-82cf-41515eba704d.png .. |unknown| image:: https://cloud.githubusercontent.com/assets/896692/23582465/81f422f8-00df-11e7-8b0d-75364f641f58.png -