hello.mmdet.infer module¶
- class hello.mmdet.infer.Detector(config_file, checkpoint_file, device='cuda:0', cfg_options=None)[source]¶
Bases:
object- test_image(image_path, score_thr=0.3, out_file=None)[source]¶
Inference image with the detector.
- Parameters
img (str) – Image file.