I am trying to get my camera run on my raspberry pi 4. I can get an image, but the raspistill command takes about 6 seconds on average to acquire one image. Is it normal?

$ time raspistill -o bar.jpg

real    0m5.911s
user    0m0.000s
sys     0m0.074s
  • Presumably you are using the 32-bit version of RpiOS?
    – goldilocks
    Jul 13 at 15:28
  • Yes you a right I should update to 64 bits
    – nowox
    Jul 13 at 15:28
  • No don't do that, then it won't work at all: raspberrypi.stackexchange.com/questions/128057/… (see my comment there). I was asking because occasionally people assume it doesn't matter and eventually it comes out, "oh but I am using ubuntu" and the people who are trying to help you may get a little ticked off if they were assuming RpiOS.
    – goldilocks
    Jul 13 at 15:30
  • @goldilocks I've tried in 64-bits it works faster for most computing tasks et the camera works too, but I still get 6s for raspistill
    – nowox
    Jul 14 at 6:46

The camera takes some time to meter the exposure and determine the white balance. raspistill takes the option -t followed by some integer number of milliseconds as its "preview" time. If no value is specified, it defaults to 5000, or 5 seconds.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.