MMDetection-inference by demo
mm/demo/image_demo.py
Image
https://mmdetection.readthedocs.io/en/latest/1_exist_data_model.html#high-level-apis-for-inference

video

https://mmdetection.readthedocs.io/en/latest/1_exist_data_model.html#high-level-apis-for-inference