注册 登录
  • 欢迎访问开心洋葱网站,在线教程,推荐使用最新版火狐浏览器和Chrome浏览器访问本网站,欢迎加入开心洋葱 QQ群
  • 为方便开心用户,开心洋葱官网已经开启复制功能!
  • 欢迎访问开心洋葱网站,手机也能访问哦~欢迎加入开心洋葱多维思维学习平台 QQ群
  • 如果您觉得本站非常有看点,那么赶紧使用Ctrl+D 收藏开心洋葱吧~~~~~~~~~~~~~!
  • 由于近期流量激增,小站的ECS没能经的起亲们的访问,本站依然没有盈利,如果各位看如果觉着文字不错,还请看官给小站打个赏~~~~~~~~~~~~~!

SystemError: returned a result with an error set

python 开心洋葱 14367次浏览 已收录 93个评论 手机上查看

SystemError: <class ‘cv2.CascadeClassifier’> returned a result with an error set

penCV Error: Parsing error (lbpcascade_animeface.xml(6685): Preliminary end of the stream) in icvXMLParseTag, file D:\Build\OpenCV\opencv-3.4.0\modules\core\src\persistence.cpp, line 2681
cv2.error: D:\Build\OpenCV\opencv-3.4.0\modules\core\src\persistence.cpp:2681: error: (-212) lbpcascade_animeface.xml(6685): Preliminary end of the stream in function icvXMLParseTag

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "head.py", line 32, in <module>
    detect(filename)
  File "head.py", line 10, in detect
    cascade = cv2.CascadeClassifier(cascade_file)
SystemError: <class 'cv2.CascadeClassifier'> returned a result with an error set

解决办法:

注意:本段内容须成功“回复本文”后“刷新本页”方可查看!


开心洋葱 , 版权所有丨如未注明 , 均为原创丨未经授权请勿修改 , 转载请注明SystemError: returned a result with an error set
喜欢 (5)
[开心洋葱]
分享 (0)
关于作者:
开心洋葱,开心洋葱头,水墨

您必须 登录 才能发表评论!

(93)个小伙伴在吐槽
  1. lalalalalala
    qwert1232019-05-28 17:55 Windows 10 | Chrome 73.0.3683.103
  2. 看看解决
    覃奔爹2019-05-26 13:27 Windows 10 | Chrome 74.0.3729.169
  3. 说是把编码改为ANSI,跟本就不行!
    sgx2019-04-27 20:42 Windows 7 | Chrome 72.0.3626.121
  4. 看看答案!
    sgx2019-04-27 20:23 Windows 7 | Chrome 72.0.3626.121
  5. j急需答案
    lsy1232019-04-25 09:38 Windows 7 | Chrome 63.0.3239.132
  6. sadfsd
    qingshuisiyuan2019-04-11 20:38 未知操作系统 | Chrome 72.0.3626.121
  7. asdfawef
    qingshuisiyuan2019-04-11 20:37 未知操作系统 | Chrome 72.0.3626.121
  8. ??
    [email protected]2019-03-31 21:17 Windows 7 | Chrome 51.0.2704.63
  9. 看看怎么解决
    LiHK2019-03-16 14:26 Windows 7 | Chrome 57.0.2987.98
  10. 看看答案
    maning2019-03-10 17:40 Windows 10 | Chrome 69.0.3497.92
  11. 66666666
    xt1232019-03-08 13:11 Windows 10 | Chrome 72.0.3626.121
  12. 123456789哦
    123454687642312019-02-26 11:25 Windows 10 | Chrome 68.0.3440.106
  13. 口区
    正义叔叔2019-02-22 00:55 Windows 10 | Chrome 71.0.3578.98
  14. 66666666666666666
    codyjay2019-02-20 23:40 Windows 10 | Chrome 63.0.3239.132
  15. laji wangzhan
    nanxun2019-02-18 17:50 Windows 10 | Chrome 70.0.3538.110
  16. kankan
    009122019-02-15 16:55 Windows 10 | Firefox 63.0
  17. 还要回复才能看
    Shring2019-02-10 10:00 Windows 8.1 | 搜狗浏览器 2.X
  18. 看答案
    ccccccc2019-01-31 13:45 Windows 10 | 未知浏览器
  19. 看看答案
    Cjv2019-01-29 15:00 未知操作系统 | Chrome 71.0.3578.98
  20. 看答案
    tyyyy2019-01-29 02:37 Windows 10 | Chrome 64.0.3282.140
  21. 找答案
    3163093852019-01-17 16:15 Windows 7 | Chrome 63.0.3239.132
  22. 试试吧
    sejiequn2019-01-08 22:05 Windows 10 | Chrome 70.0.3538.102
  23. 1
    joes2019-01-06 08:56 Windows 7 | Chrome 55.0.2883.87
  24. vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
    lincailincai2019-01-04 23:09 Windows 7 | Chrome 71.0.3578.80
  25. 不知道解决方式是否有效,先评论下
    4049116682019-01-04 22:57 Windows 10 | Chrome 46.0.2486.0
  26. 人fear阿飞阿飞萨芬啊发撒
    xyv4bt2019-01-03 04:24 Windows 10 | Chrome 71.0.3578.98
  27. 666666666666666
    bright1962018-12-30 20:45 Windows 10 | Chrome 64.0.3282.140
  28. CascadeClassifier
    tteesstt2018-12-27 00:51 iPhone 12_0 | Safari 604.1
    • 666
      jackson7102018-12-27 20:39 Windows 10 | Chrome 64.0.3282.140
  29. 还得回复一下
    茶叶2018-12-26 14:46 Windows 10 | Firefox 64.0
    • asdgfas
      alice132423452019-04-02 08:20 Windows 10 | Chrome 63.0.3239.132
123
……