https://github.com/robintw/rpindvi
Raspberry PI NDVI Code
https://github.com/robintw/rpindvi
camera opencv python raspberry-pi
Last synced: 10 months ago
JSON representation
Raspberry PI NDVI Code
- Host: GitHub
- URL: https://github.com/robintw/rpindvi
- Owner: robintw
- License: mit
- Created: 2015-02-16T17:02:08.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2016-04-15T10:50:19.000Z (almost 10 years ago)
- Last Synced: 2025-04-01T15:57:19.915Z (10 months ago)
- Topics: camera, opencv, python, raspberry-pi
- Language: Python
- Size: 2.93 KB
- Stars: 62
- Watchers: 9
- Forks: 23
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# RPiNDVI
Raspberry PI NDVI Code
This is some simple example code using OpenCV on a Raspberry Pi with the Raspbery Pi NoIR camera to display live NDVI images.
## Requirements:
* `picamera` (see https://picamera.readthedocs.org/en/release-1.10/#)
* OpenCV 2
* [Raspberry Pi NoIR camera](https://www.raspberrypi.org/products/pi-noir-camera/)
## Usage:
Simply run the `ndvi.py` script. This will display a window with four panes, showing the individual bands of the image plus
a calculated NDVI image. This _should_ all run in real-time (or near-real-time), depending on the speed of your Pi.
Press `ESC` to exit, or `s` to save a copy of the input image from the camera.