Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

使用单张图像作为输入,每次的结果都不一样 #64

Open
dagongji10 opened this issue Sep 11, 2019 · 3 comments
Open

使用单张图像作为输入,每次的结果都不一样 #64

dagongji10 opened this issue Sep 11, 2019 · 3 comments

Comments

@dagongji10
Copy link

从系统相册获取图像,单后转为nv21,第一次送入时调用multiTrack106.FaceTrackingInit,然后连续调用multiTrack106.Update4次,每一次用multiTrack106.getTrackingInfo()获取landmark,得到的结果都不相同。
请问这是为什么?我没有用相机,只想检测单帧图像,应该怎么做?

@peacherwu
Copy link

同问。能不能share一下使用相册的代码工程?

@xiaozhi003
Copy link

xiaozhi003 commented Nov 21, 2019

人脸标记他这个是分为两部分的,人脸检测+人脸跟踪,人脸检测一帧跟踪若干帧,比如说跟踪16帧;

因为人脸跟踪的速度要比检测快很多,所以一般实时视频流画框采用这种策略,但是跟踪也就导致检测结果是根据上一帧预估出来的,所以不一样,纯检测的话同一张照片是一样的;

作者的接口已经封装到so库里了,所以没法单独调用检测接口,除非作者开源了native代码了:);

@panda-lab
Copy link
Contributor

@xiaozhi003 你说的对,打开可以参考开源代码PFLD加以改进,能得到不错的效果。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants