Fawkes API
Fawkes Development Version
|
26 #ifndef _FIREVISION_MODELS_SHAPE_SHAPEMODEL_H_
27 #define _FIREVISION_MODELS_SHAPE_SHAPEMODEL_H_
32 namespace firevision {
42 virtual bool isClose(
unsigned int in_roi_x,
unsigned int in_roi_y) = 0;
49 virtual std::string
getName(
void)
const = 0;
virtual void setMargin(unsigned int margin)=0
Set margin around shape.
virtual Shape * getShape(int id) const =0
Get specific shape.
virtual Shape * getMostLikelyShape(void) const =0
Get best candidate.
virtual ~ShapeModel()
Virtual empty destructor.
virtual bool isClose(unsigned int in_roi_x, unsigned int in_roi_y)=0
Check if the given point is close to the shape.
virtual int parseImage(unsigned char *buffer, ROI *roi)=0
Parse image for given ROI.
virtual ~Shape()
Virtual empty destructor.
virtual std::string getName(void) const =0
Get name of shape model.
virtual int getShapeCount(void) const =0
Get number of shapes.