![]() I had seen enclosures for just the camera modules, such as this one. I needed an enclosure for both the Pi and the camera. The masking tape had served its purpose, but I needed something a little more refined. The software was working great, but I still had hardware that was flopping about. The lights are then turned off after the photo has been taken using GPIO.output(7,False). ![]() Then, in my else statement that runs at night, when the grow lights aren't on, I added GPIO.output(7,True) before the camera is activated. Using the information found in this tutorial, I added tmode(GPIO.BOARD) and tup(7, GPIO.OUT) right after all the import declarations. Next, I needed to modify the python script to turn on the LED ring during night time photos. All-in-all, the NoIR still takes good daytime photos, but the original camera module seems to be superior in that realm.Īnd, just for kicks, here is a more recent photo for comparison, since the last shot in the video was on January 10, 2014. Then, at about 43 seconds, you can see the quality of the daytime photos decrease slightly and the introduction of the nighttime shots begins. The new footage begins around the 25 second mark. I also increased the framerate to 60 fps to make it more watchable. Instead of iMovie, I used Time Lapse Assembler, which is very simple to use and free. I included the footage from the first time-lapse for a sense of growth over time. As you'll see in the video below, there is still room for improvement, but the results were a lot cleaner than my first attempt. Unfortunately, my system gets both natural light from the nearby window and artificial light from the fluorescent lights hanging above, so there was no one setting that worked consistently over the course of the day. I went back and forth between the -awb sun and -awb fluorescent settings. For the daytime shots, I tried a variety of awb settings and just kept the ex to auto. For night photos, I use -ex night and -awb off. ![]() That said, it made sense that the exposure and auto white balance settings would make the biggest difference. It should be noted that I am in no way a photographer, nor do I consider myself one. ![]() The Pi NoIR user guide had all the info I needed. I also wanted to see how well the NoIR worked during the day since it lacks the IR filter present in the standard Pi Camera. The first issue I wanted to address was the black lines that appeared horizontally across my photos. There was a lot of great advice offered in the comments on the previous post. With my double camera rig setup, it was time to experiment with some settings. However, I knew I had to add some IR LEDs to the Pi. While the setup was a bit elaborate (one camera to provide light for another), it worked for the time being. Foiled again! Luckily, I still had the IP camera I used in the terrarium, and it does have IR LEDs. As soon as I did, it occurred to me that there were no IR LEDs anywhere on the module. The first thing I did was replace the camera module in my aquaponics time-lapse with the NoIR. If you recall from my Automated Terrarium project, I am always interested in observing Nature and all her fascinating critters, day or night. I was eager to get my hands on one and see how well it performed in the dark. About the time I wrote the previous post, the Pi NoIR camera had just been released.
0 Comments
Leave a Reply. |