KJB
|
#include <detector_cpp/d_facecom.h>
#include <g_cpp/g_camera.h>
#include <camera_cpp/perspective_camera.h>
#include <camera_cpp/camera_backproject.h>
#include <l/l_sys_lib.h>
#include <l/l_sys_io.h>
#include <l_cpp/l_util.h>
#include <istream>
#include <ostream>
#include <sstream>
#include <iterator>
#include <ios>
#include <iomanip>
#include <iostream>
#include <fstream>
#include <string>
#include <vector>
Functions | |
Vector | gaze_direction (const Face_detection &face, const Perspective_camera &camera) |
Computes the direction of the gaze. More... | |
Vector | 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 & | operator<< (std::ostream &ost, const Face_detection &face) |
Writes the face into ostream. More... | |
bool | 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... | |
Vector face_location_3d | ( | const Face_detection & | face, |
const Perspective_camera & | camera, | ||
const Bbox & | body_box | ||
) |
Computes the 3D location of a face.
Vector gaze_direction | ( | const Face_detection & | face, |
const Perspective_camera & | camera | ||
) |
Computes the direction of the gaze.
bool operator< | ( | const Face_detection & | f1, |
const Face_detection & | f2 | ||
) |
Compares to boxes using middle of box. Needed because we have associated containers of these.
std::ostream& operator<< | ( | std::ostream & | ost, |
const Face_detection & | face | ||
) |
Writes the face into ostream.