All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Namespaces | Functions
pt_detection_box.h File Reference
#include <detector_cpp/d_bbox.h>
#include <m_cpp/m_vector.h>
#include <camera_cpp/perspective_camera.h>
#include <camera_cpp/camera_backproject.h>
#include <string>
#include <iostream>
#include <iomanip>
#include <sstream>
#include <ios>

Go to the source code of this file.


class  kjb::pt::Detection_box
 Class that represents a detection bounding box from any source. More...


 Classes and functions for dealing with trajectory files.


bool kjb::pt::operator< (const Detection_box &b1, const Detection_box &b2)
 Compares to boxes using middle of box. Needed because we have associated containers of these. More...
std::ostream & kjb::pt::operator<< (std::ostream &ost, const Detection_box &dbox)
 Write the Detection_box. More...
Detection_box kjb::pt::parse_detection_box (const std::string &line)
 Read in an Detection_box from a sigle line. More...
std::vector< Detection_boxkjb::pt::parse_detection_file (const std::string &filename)
 Read in a vector of Detection_box from a sigle file. More...
bool kjb::pt::similar_boxes (const Bbox &model_box, const Bbox &data_box, double area_thresh_lower=0.6, double area_thresh_upper=1.2)
 Check whether the deva detection box and the model box belong to the same object based on their overlappings. More...
bool kjb::pt::box_on_ground (const Detection_box &dbox, const Perspective_camera &cam)
 Checks whether the bottom of a box back-projects to the ground. More...