Running AR Marker application on Windows

Hi,
I am developing an AR marker based application. how to run AR application on windows, in which the web cam is being accessed by the application?