Robot Planning and its Applications Project
Classes | Namespaces | Functions | Variables
processMap.cpp File Reference

Contains the implementation of Obstacle detection, gate detecton , victm detection and victim recognition. More...

#include "student_image_elab_interface.hpp"
#include "student_planning_interface.hpp"
#include <stdexcept>
#include <atomic>
#include <unistd.h>
#include <sstream>
#include <experimental/filesystem>
#include <tesseract/baseapi.h>
#include <leptonica/allheaders.h>
#include <config4cpp/Configuration.h>
Include dependency graph for processMap.cpp:

Classes

class  config_Params_ProcessMap
 Class which reads and stores the configuration params related to processMap functions. More...
 

Namespaces

 student
 

Functions

bool student::sort_pair (const std::pair< int, Polygon > &a, const std::pair< int, Polygon > &b)
 
bool student::processObstacles (const cv::Mat &hsv_img, const double scale, std::vector< Polygon > &obstacle_list, config_Params_ProcessMap config_params)
 Obstacle detection function. More...
 
bool student::processGate (const cv::Mat &hsv_img, const double scale, Polygon &gate, config_Params_ProcessMap config_params)
 gate detection function More...
 
int student::get_victim_id (cv::Rect boundingRect, cv::Mat img, config_Params_ProcessMap config_params)
 Function to get victim ID. More...
 
bool student::processVictims (const cv::Mat &hsv_img, const double scale, std::vector< std::pair< int, Polygon >> &victim_list, config_Params_ProcessMap config_params)
 Victim detection function along with digit recognition call. More...
 
bool student::processMap (const cv::Mat &img_in, const double scale, std::vector< Polygon > &obstacle_list, std::vector< std::pair< int, Polygon >> &victim_list, Polygon &gate, const std::string &config_folder)
 Main function to call processObstacles, processGate and processVictims. More...
 

Variables

cv::Mat student::debug_image
 

Detailed Description

Contains the implementation of Obstacle detection, gate detecton , victm detection and victim recognition.

Author
Aravind Swaminathan
Date
10-Jan-2020