We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PrintFrameData example prints the following data: void FullAPIExample::PrintFrameData(const pho::api::PFrame &Frame) { if (Frame->Empty()) { std::cout << "Frame is empty."; return; } std::cout << " Frame data: " << std::endl; if (!Frame->PointCloud.Empty()) { std::cout << " PointCloud: (" << Frame->PointCloud.Size.Width << " x " << Frame->PointCloud.Size.Height << ") Type: " << Frame->PointCloud.GetElementName() << std::endl; } if (!Frame->NormalMap.Empty()) { std::cout << " NormalMap: (" << Frame->NormalMap.Size.Width << " x " << Frame->NormalMap.Size.Height << ") Type: " << Frame->NormalMap.GetElementName() << std::endl; } if (!Frame->DepthMap.Empty()) { std::cout << " DepthMap: (" << Frame->DepthMap.Size.Width << " x " << Frame->DepthMap.Size.Height << ") Type: " << Frame->DepthMap.GetElementName() << std::endl; } if (!Frame->ConfidenceMap.Empty()) { std::cout << " ConfidenceMap: (" << Frame->ConfidenceMap.Size.Width << " x " << Frame->ConfidenceMap.Size.Height << ") Type: " << Frame->ConfidenceMap.GetElementName() << std::endl; } if (!Frame->Texture.Empty()) { std::cout << " Texture: (" << Frame->Texture.Size.Width << " x " << Frame->Texture.Size.Height << ") Type: " << Frame->Texture.GetElementName() << std::endl; } }
How to extract the frame blob ?
How to extract the x y z values of PointCloud ?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
PrintFrameData example prints the following data:
void FullAPIExample::PrintFrameData(const pho::api::PFrame &Frame)
{
if (Frame->Empty())
{
std::cout << "Frame is empty.";
return;
}
std::cout << " Frame data: " << std::endl;
if (!Frame->PointCloud.Empty())
{
std::cout << " PointCloud: ("
<< Frame->PointCloud.Size.Width << " x "
<< Frame->PointCloud.Size.Height << ") Type: "
<< Frame->PointCloud.GetElementName()
<< std::endl;
}
if (!Frame->NormalMap.Empty())
{
std::cout << " NormalMap: ("
<< Frame->NormalMap.Size.Width << " x "
<< Frame->NormalMap.Size.Height << ") Type: "
<< Frame->NormalMap.GetElementName()
<< std::endl;
}
if (!Frame->DepthMap.Empty())
{
std::cout << " DepthMap: ("
<< Frame->DepthMap.Size.Width << " x "
<< Frame->DepthMap.Size.Height << ") Type: "
<< Frame->DepthMap.GetElementName()
<< std::endl;
}
if (!Frame->ConfidenceMap.Empty())
{
std::cout << " ConfidenceMap: ("
<< Frame->ConfidenceMap.Size.Width << " x "
<< Frame->ConfidenceMap.Size.Height << ") Type: "
<< Frame->ConfidenceMap.GetElementName()
<< std::endl;
}
if (!Frame->Texture.Empty())
{
std::cout << " Texture: ("
<< Frame->Texture.Size.Width << " x "
<< Frame->Texture.Size.Height << ") Type: "
<< Frame->Texture.GetElementName()
<< std::endl;
}
}
How to extract the frame blob ?
How to extract the x y z values of PointCloud ?
The text was updated successfully, but these errors were encountered: