The code is able to capture frame, show it online.