Try Deep Learning in Python now with a fully pre-configured VM
Adam Geitgey

Hi! I tried face recognition example and I’m getting this error:

/usr/bin/python3.5 “/home/deeplearning/Desktop/face_recognition examples/”
select timeout
select timeout
OpenCV Error: Assertion failed (!buf.empty() && buf.isContinuous()) in imdecode_, file /home/deeplearning/opencv-3.2.0/modules/imgcodecs/src/loadsave.cpp, line 562
Traceback (most recent call last):
 File “/home/deeplearning/Desktop/face_recognition examples/”, line 28, in <module>
 ret, frame =
cv2.error: /home/deeplearning/opencv-3.2.0/modules/imgcodecs/src/loadsave.cpp:562: error: (-215) !buf.empty() && buf.isContinuous() in function imdecode_

What could this be?

Thanks in advance!

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.