Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4844

Camera board • Re: Image capture QtGI or Zoom In

$
0
0
If you are happy with the zoom/crop and the lower resolution (2x2 binned 3072x 1728 for a 1536 x 864 image) provided by the default preview configuration, then there is no need to define a still configuration, and no need to switch modes before capturing the file.
Replacing the

Code:

camera.switch_mode_and_capture_file(capture_config, image_path)
with

Code:

camera.capture_file("image_path")
should be enough.

Statistics: Posted by sandyol — Fri Sep 13, 2024 9:30 pm



Viewing all articles
Browse latest Browse all 4844

Trending Articles