createFisherFaceRecognizer在Java OpenCV [英] createFisherFaceRecognizer in Java OpenCV

查看:1053
本文介绍了createFisherFaceRecognizer在Java OpenCV的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图使用官方OpenCV Java绑定(而不是JavaCV)实现面部识别器,但我似乎找不到createFisherFaceRecognizer()方法。

I'm trying to implement a face recognizer using the official OpenCV Java bindings (not JavaCV), however I can't seem to find the equivalent of the createFisherFaceRecognizer() method.

从我的快速研究,似乎它还没有在Java中实现。如果是这样,什么是解决方法/我的选项?

From my quick research, it seems as if it has not yet been implemented in Java. If this is the case, what are the workarounds / my options?

推荐答案

是的,已知的错误。

(底层)c ++方法createFisherFaceRecognizer()传回 Ptr< FaceRecognizer> 不能处理那些Ptr类型。

the (underlying) c++ method createFisherFaceRecognizer() returns a Ptr<FaceRecognizer> and the auto-generated java wrappers can't handle those Ptr types.

如果你对jni很好,你可以重新创建它。

if you're good with jni, you could reinvent it.

javacv有一个crap-api imho,但至少他们得到这个解决手动

javacv has a crap-api imho, but at least they got this solved manually

这篇关于createFisherFaceRecognizer在Java OpenCV的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆