pub struct LocateOptions {
pub where_: String,
pub min_presence: f64,
pub min_box_confidence: f64,
}Available on crate feature
images only.Expand description
Instructions and independent thresholds for presence and localization.
Fields§
§where_: StringDescription of the image placement, such as “photo”.
min_presence: f64Minimum confidence for the Boolean presence answer.
min_box_confidence: f64Minimum confidence for the Box answer.
Trait Implementations§
Source§impl Clone for LocateOptions
impl Clone for LocateOptions
Source§impl Debug for LocateOptions
impl Debug for LocateOptions
Auto Trait Implementations§
impl Freeze for LocateOptions
impl RefUnwindSafe for LocateOptions
impl Send for LocateOptions
impl Sync for LocateOptions
impl Unpin for LocateOptions
impl UnsafeUnpin for LocateOptions
impl UnwindSafe for LocateOptions
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more