Public Member Functions | Private Member Functions | Private Attributes
ros_text_locator::TextLocator Class Reference

#include <TextLocator.hpp>

List of all members.

Public Member Functions

TDetectorgetDetector ()
TRecognizergetRecognizer ()
bool isPclEnabled () const
bool isRecognitionEnabled () const
void run ()
 TextLocator ()
 TextLocator (ros::NodeHandle &handle, tesseract::PageSegMode pgSegMode, std::string lang, std::vector< ccv_swt_param_t > params, const bool enableRecognition, const bool paramDebug, const bool enablePcl)

Private Member Functions

void depthCallback (const pcl::PointCloud< pcl::PointXYZRGB >::ConstPtr &depth)
void init ()
void monoCallback (const sensor_msgs::ImageConstPtr &image)
void publish (pcl::PointXYZRGB &p1, pcl::PointXYZRGB &p2, std::string txt)
int rgbToIrX (int rgb)
int rgbToIrY (int rgb)
void saveDbgImg (const sensor_msgs::ImageConstPtr &image)

Private Attributes

cv_bridge::CvImageConstPtr cv_ptr
TDetector detector
volatile bool newdata
ros::NodeHandlenodehandler
const bool paramDebugMode
const bool pclEnabled
ros::Publisher pub
TRecognizer rec
const bool recognitionEnabled
float rgb2IrX
float rgb2IrY
ros::Subscriber sub
ros::Subscriber sub2
std::vector< Text2Dtext2d

Detailed Description

Definition at line 43 of file TextLocator.hpp.


Constructor & Destructor Documentation

ros_text_locator::TextLocator::TextLocator ( ros::NodeHandle handle,
tesseract::PageSegMode  pgSegMode,
std::string  lang,
std::vector< ccv_swt_param_t params,
const bool  enableRecognition,
const bool  paramDebug,
const bool  enablePcl 
)

Definition at line 50 of file TextLocator.cpp.


Member Function Documentation

void ros_text_locator::TextLocator::depthCallback ( const pcl::PointCloud< pcl::PointXYZRGB >::ConstPtr &  depth) [private]

Definition at line 137 of file TextLocator.cpp.

Definition at line 86 of file TextLocator.hpp.

Definition at line 90 of file TextLocator.hpp.

Definition at line 68 of file TextLocator.cpp.

Definition at line 82 of file TextLocator.hpp.

Definition at line 78 of file TextLocator.hpp.

void ros_text_locator::TextLocator::monoCallback ( const sensor_msgs::ImageConstPtr &  image) [private]

Definition at line 113 of file TextLocator.cpp.

void ros_text_locator::TextLocator::publish ( pcl::PointXYZRGB p1,
pcl::PointXYZRGB p2,
std::string  txt 
) [private]

Definition at line 173 of file TextLocator.cpp.

int ros_text_locator::TextLocator::rgbToIrX ( int  rgb) [private]

Definition at line 165 of file TextLocator.cpp.

int ros_text_locator::TextLocator::rgbToIrY ( int  rgb) [private]

Definition at line 169 of file TextLocator.cpp.

Definition at line 91 of file TextLocator.cpp.

void ros_text_locator::TextLocator::saveDbgImg ( const sensor_msgs::ImageConstPtr &  image) [private]

Definition at line 194 of file TextLocator.cpp.


Member Data Documentation

Definition at line 59 of file TextLocator.hpp.

Definition at line 46 of file TextLocator.hpp.

volatile bool ros_text_locator::TextLocator::newdata [private]

Definition at line 49 of file TextLocator.hpp.

Definition at line 50 of file TextLocator.hpp.

Definition at line 47 of file TextLocator.hpp.

Definition at line 51 of file TextLocator.hpp.

Definition at line 56 of file TextLocator.hpp.

Definition at line 45 of file TextLocator.hpp.

Definition at line 48 of file TextLocator.hpp.

Definition at line 53 of file TextLocator.hpp.

Definition at line 54 of file TextLocator.hpp.

Definition at line 57 of file TextLocator.hpp.

Definition at line 58 of file TextLocator.hpp.

Definition at line 55 of file TextLocator.hpp.


The documentation for this class was generated from the following files:


text_locator
Author(s): Vojtech Novak
autogenerated on Mon Oct 6 2014 07:55:19