Paperspace / DataAugmentationForObjectDetection

Data Augmentation For Object Detection
https://blog.paperspace.com/data-augmentation-for-bounding-boxes/
MIT License
1.13k stars 318 forks source link

RandomHSV function #4

Open KevinHexin opened 6 years ago

KevinHexin commented 6 years ago

I ran jypyter demo of the project, when i want to change the brightness channel, but i can't get the correct result. The RandomHSV() function use img += hsv (RGB channel += hsv) to get the result, but is that correct? Should convert the img from RGB channel to HSV channel first, and then use img += hsv?