text: //get boundingbox info
  
  #include "darknet_ros/boundingbox_subscriber.h"
  
  BoundingBoxSubscriber::BoundingBoxSubscriber():private_nh("")
  {
      sub_box = nh.subscribe("darknet_ros/bounding_boxes",1,&BoundingBoxSubscriber::boxes_callback,this);
  }
  
  void BoundingBoxSubscriber::boxes_callback(const darknet_ros_msgs::BoundingBoxes::ConstPtr& msg)
  {
      boxes = *msg;
      for(size_t i=0 ; i < msg->bounding_boxes.size() ; i++)
      {
          std::cout << "Class:" << msg->bounding_boxes[i].Class << std::endl;
          std::cout << "id:" << msg->bounding_boxes[i].id << std::endl;
          std::cout << "Prob:" << msg->bounding_boxes[i].probability << std::endl;
      }
  
  }
  
  int main(int argc, char** argv)
  {
      ros::init(argc,argv,"box_subscriber");
      BoundingBoxSubscriber box_subscriber;
      box_subscriber.process();
      return 0;
  }
  
  
  