RaspberryPi/Timelapse3: Difference between revisions
From charlesreid1
| Line 12: | Line 12: | ||
* camera angles - better control mechanism | * camera angles - better control mechanism | ||
* case: improved housing for Pi and for Pi camera (integrated?) | * case: improved housing for Pi and for Pi camera (integrated?) | ||
==In Progress== | |||
===Weatherproof case=== | |||
Pelican case ordered. | |||
===Camera LED=== | |||
I tried unsuccessfully to set the camera LED state from Python script: | |||
<pre> | |||
import picamera | |||
camera = picamera.PiCamera() | |||
print camera.led | |||
camera.led = False | |||
</pre> | |||
According to the help page for the camera object, <code>help(camera)</code>, this attribute is supposed to control the camera. I also read you had to be root, so I also tried doing this as root by running Python via sudo: | |||
<pre> | |||
$ sudo python | |||
>>> import picamera | |||
[...] | |||
</pre> | |||
No success there. The LED light would come on once I had created the camera object, and would not turn off by setting the led attribute to False. | |||
==Finished== | |||
=Idea Bucket= | =Idea Bucket= | ||
Revision as of 21:04, 15 August 2016
Third Timelapse
Timelapse number 3: accomplish a few improvements in the timelapse process.
What's working:
- The camera is working and is able to capture images. There was a problem initially, but after trying to re-enable the camera several times, and rebooting several times, the camera started working.
- The script to dump images into a directory works great in concept. Easy to keep everything segregated.
What to do differently for this timelapse:
- LED off
- 64 gb thumbdrive for space
- camera angles - better control mechanism
- case: improved housing for Pi and for Pi camera (integrated?)
In Progress
Weatherproof case
Pelican case ordered.
Camera LED
I tried unsuccessfully to set the camera LED state from Python script:
import picamera camera = picamera.PiCamera() print camera.led camera.led = False
According to the help page for the camera object, help(camera), this attribute is supposed to control the camera. I also read you had to be root, so I also tried doing this as root by running Python via sudo:
$ sudo python >>> import picamera [...]
No success there. The LED light would come on once I had created the camera object, and would not turn off by setting the led attribute to False.
Finished
Idea Bucket
RaspberryPi/Weatherproof Camera Case
Inspiration: OpenCV to identify (and target) squirrels: https://www.youtube.com/watch?v=QPgqfnKG_T4
Flags