hpc203 / scrfd-opencv

使用OpenCV部署SCRFD人脸检测,包含C++和Python两种版本的程序实现,本套程序只依赖opencv库就可以运行, 从而彻底摆脱对任何深度学习框架的依赖。

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

error when run python main.py

lijie2160 opened this issue · comments

commented

Traceback (most recent call last):
File "main.py", line 125, in
outimg = mynet.detect(srcimg)
File "main.py", line 107, in detect
i = i[0]
IndexError: invalid index to scalar variable.

Just delete this line. It will work well