Safemotion Lib
Loading...
Searching...
No Matches
Namespaces | Functions
reid_api.py File Reference

Go to the source code of this file.

Namespaces

namespace  reid_api
 

Functions

 reid_api.make_reid_cfg (cfg_path, checkpoint_path, device='cuda:0')
 
 reid_api.build_reid_model (args)
 
 reid_api.inference_reid_model (model, image)
 
 reid_api.get_reid_feats (model, crop_images)
 
 reid_api.get_reid_matrix (q_feats, g_feats=None)
 
 reid_api.get_reid_image_index (simmat, select_id=1, threshold=0.8)
 
 reid_api.index_sort (keep_index, s_sim)