New to opencv and need suggestion

assume that i have a video where a red circle is drawn slowly on a white surface and i want to detect it in realtime then draw a blue circle simultaniously just inside it on a superimposed transparent layer.
the purpose of this project is to learn opencv basics and then go forward step by step to build my final project.
any suggestions about what to read which features/functions of opencv to use etc.
thanks in advance