realize the function of showing capture frame image