Code: Select all
camera.start_preview()
time.sleep(20)
camera.capture
camera.stop_preview()Is there any way I can prevent the 'preview' image being so large. Ideally, I would like it to be the same size as the picture that is saved to file.
Code: Select all
camera.start_preview()
time.sleep(20)
camera.capture
camera.stop_preview()
Code: Select all
class picamera.PiRenderer(parent, layer=0, alpha=255, fullscreen=True, window=None, crop=None, rotation=0, vflip=False, hflip=False)Code: Select all
start_preview(fullscreen=False,window=(100,200,300,400))
Documentation is a wonderful thing, and waveform80 has done a very good job on it.RDS wrote:@6by9
Thank you very much. That is just what I needed.
Edited.RDS wrote:(I found that another close bracket was needed at the end of the start_preview line of code, just in case anyone else requires the same solution)