41#ifndef UFO_CORE_CONFIDENCE_HPP
42#define UFO_CORE_CONFIDENCE_HPP
119inline std::ostream& operator<<(std::ostream& out,
Confidence c)
126struct std::formatter<
ufo::Confidence> : std::formatter<ufo::Confidence::value_type> {
129 return std::formatter<ufo::Confidence::value_type>::format(v.
confidence, ctx);
All vision-related classes and functions.
Represents a confidence score as a single float value.
friend constexpr bool operator==(Confidence lhs, Confidence rhs) noexcept=default
Equality comparison.
float value_type
Underlying scalar type.
value_type confidence
The confidence score (e.g., a value in [0, 1]).
friend constexpr auto operator<=>(Confidence lhs, Confidence rhs) noexcept=default
Three-way comparison (total order on the underlying float).