我在网上搜索了一下,但是到目前为止还没有找到以下问题的答案,因此我想问一下是否有人能帮我解决这个问题:
基本上,我需要的与PraveenofPersia/Jesse的解决方案相同,但只需要考虑Fisherface识别器的python实现:
Any tips on confidence score for face verification (as opposed to face recognition)?
到目前为止,我面临的问题是,cv2既没有提供子空间项目,也没有提供任何其他项目。在
有什么建议吗?在
谢谢你!在
Tags:
我继续写了C++中的函数作为Python。它不是最干净的,但它很管用!如果您将这段python代码与 another C++ example中的高级概念结合起来,您就可以准确地完成您正在尝试的工作。在
不幸的是,默认情况下,这些函数没有公开给pythonapi。在
如果您从源代码构建cv2.pyd,有一个简单的补救方法:
CV_EXPORTS Mat subspaceProject(...)
更改为CV_EXPORTS_W Mat subspaceProject(...)
将
CV_EXPORTS Mat subspaceReconstruct(...)
改为CV_EXPORTS_W Mat subspaceReconstruct(...)
重新运行cmake/make以重建cv libs和python包装器模块
W additional-W前缀将把这些函数添加到生成的包装器中
相关问题 更多 >
编程相关推荐