Struct darknet::Detection [] [src]

pub struct Detection {
    pub class: i32,
    pub x: f32,
    pub y: f32,
    pub w: f32,
    pub h: f32,
    pub prob: f32,
    pub name: String,
}

Detection. Note that the bounding box is centered at (x, y) and have width w and height h.

Fields

The class.

x coordinate.

y coordinate.

width.

height.

probability.

name.

Trait Implementations

impl Debug for Detection
[src]

[src]

Formats the value using the given formatter. Read more

impl Clone for Detection
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more