I am trying MSVS 2012 to add some texts on my video. Could anyone show me some simple example codes of "addText" and "displayOverlay" commands?
I tried a lot but all of them are failed. Is the following correct usage?
imshow("horizontal", H);
displayOverlay("horizontal", text);