音樂播放器原型機之《可能性》即時 Infragram 相機

Infra-gram 』是由『 Infra 』── 紅外線 ──與『 -gram 』── ── 兩個部份組成的單字。這個組織推動『生態保育』的概念,發展低單價之『 DIY 紅外線相機』來觀察和紀錄『綠色大地』上的『植物健康』之演變。讀者可以閱讀

一、 Near Infrared Camera history

二、The Infragram is an affordable, open source multispectral camera platform for measuring plant health.

三、NDVI and NRG 

了解這門『紅外線攝影』的原理與技術。下面是作者簡單編輯了的『  The Infragram Kickstarter video, a great introduction to the project.  』之互動式影片︰

5416397210_1d4d0ecd9a

5412520298_edc64e6e55

由於樹莓派基金會非常支持這個理念,因此設計發行了『 NoIR 相機模組』,同時隨產品贈送『 NGB 慮光片』,這使得製作特殊『 DIY 紅外線相機』更為容易。因為許多人不知道如何將拍攝下來的『 NRG 』 Near-infrared / Red / Green 影像轉成『 NDVI 』 Normalized Difference Vegetation Index 『假色』 fake color 圖片,於此特別介紹『 p-v-o-s/infrapix 』圖片以及影片轉換程式。這樣在這台『原型機』上就可以『即拍即看』,豈不是更好玩的呢??

簡易 infrapix 安裝與使用

sudo apt-get install git python-numpy python-matplotlib libav-tools gstreamer1.0

mkdir src
cd src/
git clone https://github.com/Pioneer-Valley-Open-Science/infrapix.git

cd infrapix
sudo python setup.py install

infrapix_single -i river.jpg --show_histogram -o ndvi_river.jpg

測試結果

river
NRG

ndvi_river
NDVI