facebookresearch / Detectron

FAIR's research platform for object detection research, implementing popular algorithms like Mask R-CNN and RetinaNet.
Apache License 2.0
26.27k stars 5.46k forks source link

Call findContours in a compatible way (#119, #9) #847

Closed ppwwyyxx closed 5 years ago

ppwwyyxx commented 5 years ago

OpenCV 2, 3, 4 have different signatures for this function. Using [-2] is compatible with them.

ir413 commented 5 years ago

Thanks @ppwwyyxx!

facebook-github-bot commented 5 years ago

@ir413 merged this pull request in facebookresearch/Detectron@b05209367a207949ce3421a1d512e6d05e82db8b.