- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Good morning for everyone!
I'm to trying use smoothing data with this functions below, but I haven't had success in my test, exist some examples or some explanation about this feature?
Thanks!!
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Refer to the manual, for example the link below has an example
https://software.intel.com/sites/landingpage/realsense/camera-sdk/2014gold/documentation/html/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Jefferson,
the trick is actually in choosing the good smoothing values. We might need to improve the documentation here.
Here's an example for smoothing 3D tracking data:
// create the smoother objects
PXCDataSmoothing* smoother = NULL;
g_session->CreateImpl<PXCDataSmoothing>(&smoother);
// Creating Quadratic smoother - available options are [Spring, Stabilizer, Weightd]
m_smoother = smoother->Create3DQuadratic(0.5f);
// when you collect the tracking data - you smooth it by:
if(hand->QueryTrackedJoint(PXCHandData::JointType::SOME_JOINT_NAME,jointData) == PXC_STATUS_NO_ERROR)
{
PXCPoint3DF32 point = {jointData.positionWorld.x,jointData.positionWorld.y,jointData.positionWorld.z};
m_smoother->AddSample(point);
point = m_smoother->GetSample();
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for your attention.
I'll try it.
I'm making some test with kalman filter and result was great.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page