调用笔记本的摄像头实现基于opencv的视频人脸识别(中文显示和英文显示)以及 index 480 is out of bounds for axis 0 with size 480错误的解决
@人脸识别代码和一些常见错误
基于opencv的视频人脸识别(中文显示)以及 index 480 is out of bounds for axis 0 with size 480错误的解决
参考了
https://github.com/niehen6174/face-recognition-and-put-in-chinese
上述代码中采用的是海康的摄像头,这里我用的是自己笔记本的摄像头。
直接使用会显示数组溢出,这里会有一些修改的部分
报错 index 480 is out of bounds for
原创
2020-12-18 11:15:30 ·
3551 阅读 ·
3 评论