pub struct PerDetectionTable {
pub detection_id: Vec<i64>,
pub image_id: Vec<i64>,
pub category_id: Vec<i64>,
pub score: Vec<f64>,
pub area: Vec<f64>,
pub match_status_at_50: Vec<MatchStatus>,
pub matched_gt_id_at_50: Vec<Option<i64>>,
pub best_iou: Vec<Option<f64>>,
pub bbox: Option<BboxColumns>,
}Expand description
One row per detection. Built from the cells store at area=ALL, the
dataset (for image/category id lookups via the grid), the detection
list (for area + optional bbox), and optionally the retained IoU
matrices (for best_iou).
Fields§
§detection_id: Vec<i64>Detection id (COCO id field, post-auto-assignment if absent).
image_id: Vec<i64>Image this detection lands on.
category_id: Vec<i64>Detection’s claimed category id.
score: Vec<f64>Confidence score.
area: Vec<f64>Kernel-defined detection area (for bbox: bbox.w * bbox.h).
match_status_at_50: Vec<MatchStatus>Match status at IoU=0.50.
matched_gt_id_at_50: Vec<Option<i64>>GT id matched at IoU=0.50, or None for FP / ignored rows.
best_iou: Vec<Option<f64>>Max IoU to any same-class GT in the same image. None when
the IoU matrix wasn’t retained, or when there were no
same-class GTs in the image.
bbox: Option<BboxColumns>Optional bbox geometry. None unless
TablesConfig::per_detection_with_geometry was set.
Implementations§
Trait Implementations§
Source§impl Clone for PerDetectionTable
impl Clone for PerDetectionTable
Source§fn clone(&self) -> PerDetectionTable
fn clone(&self) -> PerDetectionTable
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for PerDetectionTable
impl RefUnwindSafe for PerDetectionTable
impl Send for PerDetectionTable
impl Sync for PerDetectionTable
impl Unpin for PerDetectionTable
impl UnsafeUnpin for PerDetectionTable
impl UnwindSafe for PerDetectionTable
Blanket Implementations§
Source§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
Source§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
Source§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> LayoutRaw for T
impl<T> LayoutRaw for T
Source§fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
Returns the layout of the type.
Source§impl<T, N1, N2> Niching<NichedOption<T, N1>> for N2
impl<T, N1, N2> Niching<NichedOption<T, N1>> for N2
Source§unsafe fn is_niched(niched: *const NichedOption<T, N1>) -> bool
unsafe fn is_niched(niched: *const NichedOption<T, N1>) -> bool
Returns whether the given value has been niched. Read more
Source§fn resolve_niched(out: Place<NichedOption<T, N1>>)
fn resolve_niched(out: Place<NichedOption<T, N1>>)
Writes data to
out indicating that a T is niched.