[Enhancement] Add type annotations for mmcv/visualization (#1947)
* Add type hints * Replace mmcv is_str by isinstance str * Add type hints in optflow.py * Update mmcv/visualization/optflow.py Co-authored-by:Zaida Zhou <58739961+zhouzaida@users.noreply.github.com> * Update mmcv/visualization/color.py Co-authored-by:
Zaida Zhou <58739961+zhouzaida@users.noreply.github.com> * Fix tuple hints Co-authored-by:
Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
Showing
Please register or sign in to comment