brails.processors.image_processor module
- class brails.processors.image_processor.ImageProcessor
Bases:
ABC
The abstract interface defining the methods an ImageProcessing class must implement.
- predict(ImageSet)
To return the predictions for the set of images provided
- abstract predict(images)
The pure virtual method that will be called to make the prediction
- Parameters:
images (ImageSet) – The set of images for which predictions are required
- Returns:
The keys being the same keys used in ImageSet.images, the values being a single prediction of an array of predictions
- Return type:
dict