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

how to use facesdk_eyelandmark3d API ? #23

Closed
CheckerBoards opened this issue Dec 8, 2020 · 2 comments
Closed

how to use facesdk_eyelandmark3d API ? #23

CheckerBoards opened this issue Dec 8, 2020 · 2 comments

Comments

@CheckerBoards
Copy link

Hi.
Follow your demo, I guess it should read the detect model at first, so
facesdk_readModelFromFile(ModelType::Detect, "../models/detect.bin", ImageFormat::RGB);
sdkFaces faces = facesdk_detect(data);

and then, I try to read the iris_landmark.bin model,
facesdk_readModelFromFile(ModelType::Iris, "../models/iris_landmark.bin", ImageFormat::RGB);
sdkFaces3d faces1 = facesdk_eyelandmark3d();

However, the faces1.face3d_count always equals to 0.
Anything wrong in my steps?

@Crusoekid
Copy link
Collaborator

you need init first. then use Detect && Landmark3d && Iris

@CheckerBoards
Copy link
Author

Thanks for your reply, it works now.

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

2 participants