Comments (4)
Hi,
1: I think an odd number is fine ;-) But for this one you should really look at the VlHog documentation, it will have all the details!
2: The ones that are set are pretty good and also a good trade-off. You can search through the issue list here, I think in one of the issues I posted a table or XLS with some parameter values and results. As for the speed, I'm not sure which parameters have main influence on speed, you'll have to test that.
3: 4 is the best trade-off imho, 3 is too little, 5 gives slightly better result but is slower/bigger.
from superviseddescent.
Thanks Patrikhuber for your answer!
I tested some parameters and would like to share my test result with you and all developers:
I tried to reduce the cell size from big to small, and I found out that the following HOG parameters gave the best trade-off between and performance and speed:
rcr::HoGParam hogptemp1 = { VlHogVariant::VlHogVariantUoctti, 4, 6, 4, 0.6f };
rcr::HoGParam hogptemp2 = { VlHogVariant::VlHogVariantUoctti, 4, 4, 4, 0.4f };
rcr::HoGParam hogptemp3 = { VlHogVariant::VlHogVariantUoctti, 4, 3, 4, 0.3f };
rcr::HoGParam hogptemp4 = { VlHogVariant::VlHogVariantUoctti, 4, 2, 4, 0.2f };
I set the landmarks number to 21 and the time needed is 6.6ms on I5 3.2G CPU, 7 landmarks and the time is 2.6ms.
from superviseddescent.
the major time needed for SDM prediction is to calculate HOG for each regressor and each landmark. if we reduce the number of landmarks, the time needed will be greatly reduced.
Furthermore, HOG parameters will also greatly affect the time needed, especially cell size of HOG.
from superviseddescent.
Yep that makes total sense! Thanks for posting back for anyone that may find it useful.
from superviseddescent.
Related Issues (20)
- Parallelise CalculateHogDescriptor HOT 2
- eigen function runs very slow HOT 3
- save trained model with non-C++11 syntax HOT 10
- question: CPU time needed for hog feature in SDM code HOT 2
- Confidence measure of landmark detection? HOT 2
- Question: about pose estimation HOT 5
- Run rcr-train on my own data HOT 16
- Error Building in Visual Studio RC2015 on Windows 10 HOT 3
- Crashing after a face is detected with rcr_track.cpp HOT 5
- Way to detect whether the detected landmarks are actual landmarks on a face HOT 3
- landmark detection.cpp trained result looks like mean shape. HOT 2
- Pose estimation for an input image HOT 4
- 68 landmark points pre-trained model HOT 3
- How can i get mean_ibug_lfpw_68.txt in new dataset? HOT 1
- Inter-eye Distance Normalization HOT 3
- Pre trained model for 2d landmarking tracking HOT 1
- Training with 10K images HOT 1
- Bug suspicion HOT 3
- Learning the bias B_k HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from superviseddescent.