All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Namespaces | Functions
d_facecom.h File Reference
#include <detector_cpp/d_bbox.h>
#include <iosfwd>
#include <vector>
#include <string>

Go to the source code of this file.


class  kjb::Face_detection


 Classes and functions for dealing with trajectory files.


Vector kjb::gaze_direction (const Face_detection &face, const Perspective_camera &camera)
 Computes the direction of the gaze. More...
Vector kjb::face_location_3d (const Face_detection &face, const Perspective_camera &camera, const Bbox &body_box)
 Computes the 3D location of a face. More...
std::ostream & kjb::operator<< (std::ostream &ost, const Face_detection &face)
 Writes the face into ostream. More...
bool kjb::operator< (const Face_detection &f1, const Face_detection &f2)
 Compares to boxes using middle of box. Needed because we have associated containers of these. More...
Face_detection kjb::parse_face_line (const std::string &line)
 Parse a line of a file (in face.com format) into a Face_Detection. More...
std::vector< Face_detectionkjb::read_face_file (std::istream &is)
 Read set of faces from file (in face.com format). More...
std::vector< std::vector
< Face_detection > > 
kjb::read_face_files (const std::vector< std::string > &face_fps)
 Parse the output of the faces from multiple files into a vector of vector of Face_detection. More...