ARAM  2.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Pages
Public Member Functions | List of all members
aram::TagDetector< ROIDetector, TagType > Class Template Reference

#include <TagDetector.hpp>

Public Member Functions

 TagDetector ()
 
 ~TagDetector ()
 
void reset ()
 
void detect (const cv::Mat &frame)
 
iteratorTag begin ()
 
iteratorTag end ()
 
FrameSetframeSet () const
 
vecROIROI () const
 
vecTagtag ()
 
IROIDetectordetector ()
 
ITagMatchersampler ()
 

Detailed Description

template<typename ROIDetector, typename TagType>
class aram::TagDetector< ROIDetector, TagType >

Handle detection operation

Constructor & Destructor Documentation

template<typename ROIDetector , typename TagType >
aram::TagDetector< ROIDetector, TagType >::TagDetector ( )
inline

Constructor Instantiate the ROIs detector and a frame set storage

template<typename ROIDetector , typename TagType >
aram::TagDetector< ROIDetector, TagType >::~TagDetector ( )
inline

Destructor Free memory for ROIs and tags previously allocated, using reset function

Member Function Documentation

template<typename ROIDetector , typename TagType >
iteratorTag aram::TagDetector< ROIDetector, TagType >::begin ( )
inline

Begin of valid tags list

Returns
iterator to the begin of tag list
template<typename ROIDetector , typename TagType >
void aram::TagDetector< ROIDetector, TagType >::detect ( const cv::Mat &  frame)
inline

Main method, take an image and return a list of tag found in this image

Parameters
[in]cv::Mat& input image
Returns
std::vector<TagType> a list of tag found in cv::Mat, can be empty
template<typename ROIDetector , typename TagType >
IROIDetector* aram::TagDetector< ROIDetector, TagType >::detector ( )
inline

Getter

Returns
IROIDetector * current detector
template<typename ROIDetector , typename TagType >
iteratorTag aram::TagDetector< ROIDetector, TagType >::end ( )
inline

End of valid tags list

Returns
iterator to the end of tag list
template<typename ROIDetector , typename TagType >
FrameSet* aram::TagDetector< ROIDetector, TagType >::frameSet ( ) const
inline

Getter

Returns
FrameSet * current frame set
template<typename ROIDetector , typename TagType >
void aram::TagDetector< ROIDetector, TagType >::reset ( )
inline

Reset ROIs list and Tags list, free dynamically allocated ROIs and tags

template<typename ROIDetector , typename TagType >
vecROI* aram::TagDetector< ROIDetector, TagType >::ROI ( ) const
inline

Getter

Returns
vecROI * current ROI vector
template<typename ROIDetector , typename TagType >
ITagMatcher* aram::TagDetector< ROIDetector, TagType >::sampler ( )
inline

Getter

Returns
ITagMatcher * current sampler
template<typename ROIDetector , typename TagType >
vecTag* aram::TagDetector< ROIDetector, TagType >::tag ( )
inline

Getter

Returns
vecTag * current tags vector

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