PyFaceDet
PyFaceDet copied to clipboard
PyFaceDet is a Python wrapper of libfacedetection. PyFaceDet 是 libfacedetection 人性化的 Python 封装。
faces最后返回的角度是指什么?人脸的角度吗?
使用链接库函数时报错: OSError: [WinError -1073741795] Windows Error 0x000001d
Faces=facedetectcnn.facedetect_cnn(image_path) 这是从图片中找出所有的人脸吗?
调用cfacedetect_cnn时出现: `ValueError: Procedure probably called with too many arguments (20 bytes in excess)` 参考了https://stackoverflow.com/questions/41760830/ctypes-procedure-probably-called-with-too-many-arguments-92-bytes-in-excess 后 将下面代码中的ctypes.WinDLL改为ctypes.cdll.LoadLibrary可以正常运行 ``` if platform.system() == 'Windows': # load .dll for Windows LoadDLL = ctypes.WinDLL else:...
自己刚刚接触python,想用libfacedetection库进行人脸检测,但是对 facedetect_cnn(image: Union[str, Path, Image, np.ndarray, bytes], width: int = 20, height: int = 20, step: int = 1) -> Faces 这个函数具体调用方法不是太明白,我该如何写这个函数中的各个变量 比如我写的 Path=(r'D:\Users\BC\PycharmProjects\F_C_05_PyFaceDet(libfacedetection)') Image=('000019.jpg') 还是请大佬说明一下吧
mac环境无法使用, 可以提供下so文件的编译源码吗? 这样可以自行在任意环境编译使用