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
class: i32
The class.
x: f32
x coordinate.
y: f32
y coordinate.
w: f32
width.
h: f32
height.
prob: f32
probability.
name: String
name.
Trait Implementations
impl Debug for Detection[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more