got-10k / toolkit

Official Python toolkit for generic object tracking benchmark GOT-10k and beyond
http://got-10k.aitestunion.com/
MIT License
555 stars 95 forks source link

Grayscale images in OTB not converted #9

Closed ZhouYzzz closed 5 years ago

ZhouYzzz commented 5 years ago

https://github.com/got-10k/toolkit/blob/c2d213d2937af42dc27ce87841c476f83efc0f3b/got10k/trackers/__init__.py#L31

I think this line should be image = image.convert('RGB') to make sure that gray images are successfully converted. Otherwise the evaluation on OTB will fail.

huanglianghua commented 5 years ago

@ZhouYzzz Thanks for your feedback and also proposing a solution. We have fixed this bug in both GitHub and PyPI.