revised camera preview not to output image