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

Enhance dlib::deserialize time #26

Open
momoohidayat opened this issue Aug 4, 2017 · 2 comments
Open

Enhance dlib::deserialize time #26

momoohidayat opened this issue Aug 4, 2017 · 2 comments

Comments

@momoohidayat
Copy link

momoohidayat commented Aug 4, 2017

Is there any workaround to enhance this method?:

dlib::deserialize(modelFileNameCString) >> sp;

because when i debug, this method takes about 5s to finish

2017-08-04 18:20:20.906752+0700 xxapp[3460:819204] start deserialize: 1501845620.906730
2017-08-04 18:20:26.145505+0700 xxapp[3460:819204] finish deserialize: 1501845626.144248
@zweigraf
Copy link
Owner

zweigraf commented Aug 4, 2017

Is this in debug mode or with optimizations? Because dlib is very slow in debug mode anyway.

@momoohidayat
Copy link
Author

When do work on sample buffer,its fast enough,the problem is when initiate parse the .dat file, maybe because its 90MB file?

Calling deserialize method takes about 5second, after that processing the landmark is good at 40fps

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