Browse Source

Update 'README.md'

天问 1 year ago
parent
commit
7189b6be14
1 changed files with 14 additions and 0 deletions
  1. 14 0
      README.md

+ 14 - 0
README.md

@@ -2,6 +2,20 @@
 
 面部识别
 
+## Usage
+
+默认CPU
+```
+pip install dlib
+
+import dlib
+dlib.DLIB_USE_CUDA   # True 表示可以使用 GPU
+
+```
+模型下载: http://dlib.net/files/mmod_human_face_detector.dat.bz2
+
+
+
 ```
 import dlib
 import cv2