3#include "../_cexports/c_minos.h"
5#include "../global.hpp"
6#include "../point_2d.hpp"
7#include "../string.hpp"
8#include "../utilities/system_info.hpp"
31 , advanceVector_(advanceVector)
35 SearchResult()
noexcept =
default;
73 double X() const noexcept
73 double X() const noexcept {
…}
83 double Y() const noexcept
83 double Y() const noexcept {
…}
95 return advanceVector_;
115 explicit operator bool() const noexcept
115 explicit operator bool() const noexcept {
…}
24 class SearchResult {
…};
137 return (lhs.Name() != rhs.Name()) || (lhs.Position() != rhs.Position()) || (lhs.Quality() != rhs.Quality())
138 || (lhs.AdvanceVector() != rhs.AdvanceVector());
151 return (!(lhs != rhs));
161 auto resultCount = CVB_CALL_CAPI(SearchResultsCount(hResults));
162 for (CExports::cvbdim_t i = 0; i < resultCount; ++i)
168 CExports::cvbval_t searchID = 0;
169 CVB_CALL_CAPI_CHECKED(SearchResultTyped(hResults, i, quality, xpos, ypos, dx, dy, strName, searchID));
Search result returned by Minos.
Definition search_result.hpp:25
bool IsNothing() const noexcept
Returns whether the search result is empty or not.
Definition search_result.hpp:103
String Name() const
Name of the class that has been found.
Definition search_result.hpp:43
double Quality() const noexcept
Quality at which the object has been found.
Definition search_result.hpp:53
Point2D< double > Position() const noexcept
Position at which the object has been found.
Definition search_result.hpp:63
double Y() const noexcept
Y position at which the object has been found.
Definition search_result.hpp:83
double X() const noexcept
X position at which the object has been found.
Definition search_result.hpp:73
Point2D< double > AdvanceVector() const noexcept
Advance vector of the model that has been found.
Definition search_result.hpp:93
Multi-purpose 2D vector class.
Definition point_2d.hpp:20
Search result as returned by the classifier.
Definition search_result.hpp:23
Namespace for the Minos package.
Definition classifier.hpp:29
bool operator==(const ClassifierModelInfo &lhs, const ClassifierModelInfo &rhs) noexcept
Comparison operator for ClassifierModelInfo objects.
Definition classifier.hpp:173
bool operator!=(const ClassifierModelInfo &lhs, const ClassifierModelInfo &rhs) noexcept
Comparison operator for ClassifierModelInfo objects.
Definition classifier.hpp:160
Root namespace for the Image Manager interface.
Definition c_bayer_to_rgb.h:17
char Char
Character type for wide characters or unicode characters.
Definition string.hpp:63
std::string String
String for wide characters or unicode characters.
Definition string.hpp:49