How to implement a opencv's insertObjectAnnotation()?
The matlab's insertObjectAnnotation() in computer vision toolbox inserts a rectangle with a label into the image mostly used in object detection, how to implement such a function in OpenCV.
Here is a example image: