tf detection api format package