- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I want to use the Smooth for palms and fingers from HandModule: example:
// create the smoother objects
void initRealSenseHand()
{
PXCDataSmoothing* smoother = NULL;
g_session->CreateImpl<PXCDataSmoothing>(&smoother);
// Creating Quadratic smoother - available options are [Spring, Stabilizer, Weightd]
m_smoother = smoother->Create3DQuadratic(0.5f);
}
void updateInfoFromRealSense()
{
// 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();
} }
Question: I can use one smoother "m_smoother" for all parts (palms, fingers) or better create separate smoother for each part of hand? Sample:
PXCDataSmoothing::Smoother3D* m_smoother_palm_left PXCDataSmoothing::Smoother3D* m_smoother_palm_right .....
Thanks
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You need not create different smoother if you use the same smooth algorithm for both hands.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page