Drawing a circle in a video captured frame
Greetings to all, a newbie here to this forum.
Recently I have been encountered a problem in drawing a circle on a video captured image. It was part of a video capture/face recognition project I was doing.
I have a copy of a video capture source code but is really unsure on how to go about doing it.
Basically, the video capture code captures an image from an analog camera and thru a video capture card, converted into an image file. I have no problem on fixing up the video capture code. It's just that I have no idea on how to code the part which draws the circle onto the image and output it together.
The idea of the video capture code is to first capture the image and store it into a temp buffer. A pointer will be then assigned to point to this buffer. (Finding the correct pointer would be a problem too. ^^) The image would be then output onto the screen. However, the end result was to have a circle together with the image output onto the screen.
My initial guess would be that it would require the trigo libraries in order to draw a circle.
Can anyone enlighten me on my question ?