Angelou0516's picture
Add self-contained MedOtter pipeline acceptance predictor
b602690 verified
Raw
History Blame Contribute Delete
399 Bytes
"""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()