add _M.object_detect(...) function