# -*- coding:utf-8 -*- import numpy as np class Detection: def __init__(self): ... def predict(self,image:np.array): return Detection = Detection() # Detection.predict()