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