I am trying to take a picture using my Raspberry Pi 3 & Raspberry Pi Camera from the terminal of my Mac laptop. I connect through SSH w/my IP address, then enter Python, then:
>>> import picamera
>>> camera = picamera.PiCamera()
After entering this the camera light comes on.
>>> camera.capture = (“test_image.jpg”)
After entering this I get the following error:
AttributeError: 'PiCamera' object attribute 'capture' is read-only
I get no errors using camera.capture(“test_image.jpg”)
in Python on Raspian.
How do I enable the Mac write privileges for camera.capture
, if that’s what I need to do? I know it must be something simple, but just haven’t found the right keywords to search.
raspistill
command should do what you want. – Milliways Dec 19 '16 at 1:40