I want to retrieve only the position coordinates of thumb and indexfinger.
//for (auto finger : frame.fingers().extended()) {
// std::cout << "ID : " << finger.id()
// << " type : " << finger.type()
// << " postion : " << finger.tipPosition()
// << std::endl;
//}
Part of the sample program, the position coordinates of each finger are returned in the form (x, y, z). Please tell me how to extract only the position coordinates of thumb and indexfinger from here from (x, y, z) in the form of (x, y, z) and use it for calculation.