Module object_detector_rust::utils
source · Expand description
Utility functions for working with images
Functions
- generates hard negative samples, see: Hard Negative Mining
- Crops an image to the dimensions specified in the bounding box
- Draws bounding boxes on an image.
- Computes the accuracy of a model’s predictions
- Computes the precision of a model’s predictions
- Transforms a given vector of extracted features and a vector of labels into a tuple of 2D feature array and 1D label array.
- Generates random annotations for the provided annotated image set.
- generates negative samples ///