File size: 399 Bytes
b602690
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
"""Self-contained MedOtter pipeline acceptance predictor.

This deliberately returns the SDK's all-background predictor. It is a deployment
fixture, not a trained medical model and not suitable for clinical use.
"""

import numpy as np


class ZeroPredictor:
    def predict(self, image):
        return np.zeros(np.asarray(image).shape[1:], dtype=np.uint8)


def load():
    return ZeroPredictor()