You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+16Lines changed: 16 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -212,6 +212,22 @@ depending on a black box library, [read my article](https://medium.com/@ageitgey
212
212
* The face recognition model is trained on adults and does not work very well on children. It tends to mix
213
213
up children quite easy using the default comparison threshold of 0.6.
214
214
215
+
## Common Issues
216
+
217
+
##### Issue: `Illegal instruction (core dumped)` when using face_recognition or running examples.
218
+
219
+
Solution: `dlib` is compiled with SSE4 or AVX support, but your CPU is too old and doesn't support that.
220
+
You'll need to recompile `dlib` after [making the code change outlined here](https://github.com/ageitgey/face_recognition/issues/11#issuecomment-287398611).
221
+
222
+
##### Issue: `RuntimeError: Unsupported image type, must be 8bit gray or RGB image.` when running the webcam example.
223
+
224
+
Solution: Your webcam probably isn't set up correctly with OpenCV. [Look here for more](https://github.com/ageitgey/face_recognition/issues/21#issuecomment-287779524).
225
+
226
+
##### Issue: `MemoryError` when running `pip2 install face_recognition`
227
+
228
+
Solution: The face_recognition_models file is too big for your available pip cache memory. Instead,
229
+
try `pip2 --no-cache-dir install face_recognition` to avoid the issue.
230
+
215
231
## Thanks
216
232
217
233
* Many, many thanks to [Davis King](https://github.com/davisking) ([@nulhom](https://twitter.com/nulhom))
0 commit comments