简体   繁体   中英

AttributeError : 'Nonetype' object has no attribute 'shape'

I am new to both opencv and python and i am trying to run Face Recognition code given here .i have installed all the dependencies yet it is throwing the same problem "AttributeError : 'Nonetype' object has no attribute 'shape' ". I unable to solve it.

输出问题。

From the stack trace it seems that your frame variable is Null. You will need to look at the code and figure out why. Or paste the code or provide a link so that others can help you.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM