Implement capture function on portal camera.