Created by: Yipeng-Sun
- Extend NMS operation from bounding box [x,y,h,w] to 4-points {x_i} i=1,...,4 or 16 points for curved text detection.
- Note that the input params. support BBox, Quadrangle (4-point input), and 16-points input by judging the input format automatically.