Bird
0
0

Which method in the PiCamera library is used to take a still photo and save it to a file?

easy🧠 Conceptual Q1 of 15
Raspberry Pi - Camera Module
Which method in the PiCamera library is used to take a still photo and save it to a file?
A<code>start_preview()</code>
B<code>capture()</code>
C<code>record()</code>
D<code>stop_preview()</code>
Step-by-Step Solution
Solution:
  1. Step 1: Identify the method for capturing images

    The capture() method is specifically designed to take still images.
  2. Step 2: Understand other methods

    start_preview() and stop_preview() control the camera preview, while record() is for video recording.
  3. Final Answer:

    capture() -> Option B
  4. Quick Check:

    Method to save still image is capture() [OK]
Quick Trick: Use capture() to save still images [OK]
Common Mistakes:
MISTAKES
  • Confusing capture() with start_preview()
  • Using record() for still images
  • Thinking stop_preview() saves images

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Raspberry Pi Quizzes