Struct darknet::Image [] [src]

pub struct Image(pub image);

Image

Methods

impl Image
[src]

[src]

Create a new image.

[src]

Load a new image.

[src]

Load a new image with color.

[src]

Decode a new image (always color, 3 channels).

[src]

Draw a box based on the detection.

[src]

Save the image.

[src]

Save the image as jpg.

Important traits for Vec<u8>
[src]

Save the image as jpg.

[src]

Resize and return a new image.

[src]

Image width.

[src]

Image height.

[src]

Image channel.

Trait Implementations

impl Debug for Image
[src]

[src]

Formats the value using the given formatter. Read more

impl Clone for Image
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Send for Image
[src]

impl Drop for Image
[src]

[src]

Executes the destructor for this type. Read more