a (ndarray[tuple[int, ...], dtype[_ScalarType_co]])
confidence (float)
ndarray[tuple[int, …], dtype[_ScalarType_co]]