ObjectSetValidator.hpp
Go to the documentation of this file.
1 
18 #pragma once
19 
22 #include <boost/shared_ptr.hpp>
23 #include "ImplicitShapeModel.hpp"
24 
25 
26 namespace ISM {
27 
29 {
30  public:
31  ObjectSetValidator(ISM::RecognizerPtr& recognizer, double confidenceThreshold)
32  : mRecognizer(recognizer)
33  , mConfidenceThreshold(confidenceThreshold)
34  {}
35 
36  std::pair<bool, double> isSetValid(const ObjectSetPtr &testSet, const std::string &patternName);
37  void setISM(const IsmPtr ism);
38 
39  private:
42 
43 }; typedef boost::shared_ptr<ObjectSetValidator> ObjectSetValidatorPtr;
44 
45 }
46 
ISM::RecognizerPtr mRecognizer
boost::shared_ptr< Recognizer > RecognizerPtr
Definition: Recognizer.hpp:171
std::string patternName
boost::shared_ptr< ObjectSetValidator > ObjectSetValidatorPtr
boost::shared_ptr< ImplicitShapeModel > IsmPtr
std::pair< bool, double > isSetValid(const ObjectSetPtr &testSet, const std::string &patternName)
boost::shared_ptr< ObjectSet > ObjectSetPtr
Definition: ObjectSet.hpp:53
ObjectSetValidator(ISM::RecognizerPtr &recognizer, double confidenceThreshold)
this namespace contains all generally usable classes.
void setISM(const IsmPtr ism)


asr_lib_ism
Author(s): Hanselmann Fabian, Heller Florian, Heizmann Heinrich, Kübler Marcel, Mehlhaus Jonas, Meißner Pascal, Qattan Mohamad, Reckling Reno, Stroh Daniel
autogenerated on Wed Jan 8 2020 04:02:40