zhangzjn/trackingImgLabel

Could I change the color of bounding boxes?

Closed this issue · 1 comments

Thank you for sharing such a great tool! Since I'm working on some black-and-white videos, I'm wondering if I can change the bounding boxes into some other colors like red? Where should I change the codes?

I've found it! Thanks!

It's at libs/video_play.py. In function paintEvent(), a QPainter instance called pp is defined at line 57. So, to set the color of bounding boxes, just add pp.setPen(QColor(255,255,255)) after line 57.