1 #include "objectdetectorbuilder.h" 3 class ObjectDetectorBuilder::_ObjectDetectorBuilderImpl
6 std::vector<PluginSharedPointer> _processor;
9 void addFilter(PluginSharedPointer proc);
10 std::unique_ptr<ObjectDetection> build();
13 ObjectDetectorBuilder::~ObjectDetectorBuilder()
18 ObjectDetectorBuilder::ObjectDetectorBuilder(QObject *parent) : QObject(parent)
19 ,_pimpl{INIT_UNIQUE_PTR(_ObjectDetectorBuilderImpl,
this)}
24 void ObjectDetectorBuilder::addFilter(PluginSharedPointer proc)
26 _pimpl->addFilter(proc);
29 std::unique_ptr<ObjectDetection> ObjectDetectorBuilder::build()
31 return _pimpl->build();
34 void ObjectDetectorBuilder::_ObjectDetectorBuilderImpl::addFilter(PluginSharedPointer proc)
36 _processor.push_back(proc);
39 std::unique_ptr<ObjectDetection> ObjectDetectorBuilder::_ObjectDetectorBuilderImpl::build()
42 obj->setFilters(_processor);
this class is used to detect a a colored circle object(s)
Common Namespace for all Image Processor Algorithms.