KJB
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Public Attributes | List of all members
kjb::psi::Psi_body_part Struct Reference

Body parts. More...

#include <psi_skeleton.h>

Public Member Functions

 Psi_body_part ()
 
 Psi_body_part (const Bbox &box_, int lost_, int occluded_, const std::string &label_)
 
Vector get_3d_location (const Perspective_camera &camera, const Bbox &body_box, size_t image_width, size_t image_height) const
 Get the face position in 3D based on the body 2D bounding box Note: Since the face_box and body_box are not standardized, we need to pass in the image width and height. More...
 

Public Attributes

Bbox box
 
int lost
 
int occluded
 
std::string label
 

Detailed Description

Body parts.

Constructor & Destructor Documentation

kjb::psi::Psi_body_part::Psi_body_part ( )
inline
kjb::psi::Psi_body_part::Psi_body_part ( const Bbox box_,
int  lost_,
int  occluded_,
const std::string &  label_ 
)
inline

Member Function Documentation

Vector kjb::psi::Psi_body_part::get_3d_location ( const Perspective_camera camera,
const Bbox body_box,
size_t  image_width,
size_t  image_height 
) const
inline

Get the face position in 3D based on the body 2D bounding box Note: Since the face_box and body_box are not standardized, we need to pass in the image width and height.

Member Data Documentation

Bbox kjb::psi::Psi_body_part::box
std::string kjb::psi::Psi_body_part::label
int kjb::psi::Psi_body_part::lost
int kjb::psi::Psi_body_part::occluded

The documentation for this struct was generated from the following file: