Git Product home page Git Product logo

Comments (9)

TadasBaltrusaitis avatar TadasBaltrusaitis commented on July 20, 2024

I'm not exactly sure what your question is. For pose estimation you should only need to know the locations of the landmarks.

from clm-framework.

wiliamc avatar wiliamc commented on July 20, 2024

Hi Tadas Baltrusaitis

Thanks for the reply

While building the CLM Framework, 5 exe are generated (FeatureExtraction,MultiTrackCLM,Recording,SimpleCLM,SimpleCLMImg).

I need only FeatureExtraction(ie,Poseestimation) exe but only need the CLM src needed for FeatureExtraction(ie,abstract only needed codes from the link https://github.com/TadasBaltrusaitis/CLM-framework/tree/master/lib/local/CLM/src)

Regards
CIBIN

from clm-framework.

TadasBaltrusaitis avatar TadasBaltrusaitis commented on July 20, 2024

You should only need the CLM library and not the FaceAnalyser one in that case.

Thanks,
Tadas

from clm-framework.

wiliamc avatar wiliamc commented on July 20, 2024

hi Tadas

Thanks for the reply

You mean I need to use every file in the CLM src (https://github.com/TadasBaltrusaitis/CLM-framework/tree/master/lib/local/CLM/src)

I have one more doublt.I am using clm poseestimation in ios and android, is there any way to speed the clm poseestimation in ios and android.

Thanks
Regards
CIBIN

from clm-framework.

TadasBaltrusaitis avatar TadasBaltrusaitis commented on July 20, 2024

I believe you do, while it might be possible to remove some files it would require a reasonable restructuring of the code.

I have not worked on porting the code to mobile myself so cannot help you much with that. But I believe it might be possible to move some of the computations to the GPU thus making it run faster. Also currently face detection is an expensive operation that could be replaced with a cheaper alternative detector, such as NPD.

Thanks,
Tadas

from clm-framework.

wiliamc avatar wiliamc commented on July 20, 2024

hi Tadas

Thanks for the reply

One more doubt,I am using ios native camera and passing only the images(frame) to the poseestimation code(c++ code ie)via wrapper).
In the poseestimation ,there is a method "CLMTracker::get_camera_params(device, fx, fy, cx, cy, arguments);" and default "device" value as 0.
If I commented the above method it works.

Whether this method has any impact on the perfomance of poseestimation?

Regards,
CIBIN

from clm-framework.

TadasBaltrusaitis avatar TadasBaltrusaitis commented on July 20, 2024

If you are not providing camera callibration parameters though command line arguments the performance will not be affected. But if you do not provide fx, fy, cx, cy values the pose estimation accuracy will not be as accurate.

Thanks,
Tadas

from clm-framework.

wiliamc avatar wiliamc commented on July 20, 2024

hi Tadas

Thanks for the reply

I am using ios native camera and pass only frame(image) to the poseestimation.Then how to get fx, fy, cx, cy values for the ios camera.

If i get the values, I will pass the values as arguments to the poseestimation.

Regards,
CIBIN

from clm-framework.

TadasBaltrusaitis avatar TadasBaltrusaitis commented on July 20, 2024

The method should infer approximate values based on image size, but you can find the actual values through camera callibration - https://en.wikipedia.org/wiki/Camera_resectioning#Intrinsic_parameters.

You can also search online for regular iPhone camera parameters as they should be roughly stable across devices - http://stackoverflow.com/questions/14680944/create-opencv-camera-matrix-for-iphone-5-solvepnp

from clm-framework.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.