Close

Plants analyzer

Back to overview

Analyzing plant health with near-infrared imagery

Discussions

Sang Ho Lee wrote 05/27/2017 at 15:05 point

1. Use this link for PiTFT RESISTIVE TOUCH screens
2. Download Jessie Lite-based PiTFT 2.4", 2.8" and 3.2" Resistive Image for Pi 1,2,3 Zero

3. Format a 4GB or larger SD card and load it up with the Raspbian operating system.
4. Install Camera

5. Testing
 cd adafruit-pi-cam-master

sudo python cam.py

---------

Error
---------

pi@picam:~/adafruit-pi-cam-master $ sudo python cam.py 

mmal: mmal_vc_component_create: failed to create component 'vc.ril.camera' (1:ENOMEM)

mmal: mmal_component_create_core: could not create component 'vc.ril.camera' (1)

Traceback (most recent call last):

  File "cam.py", line 572, in

    camera            = picamera.PiCamera()

  File "/usr/lib/python2.7/dist-packages/picamera/camera.py", line 431, in __init__

    self._init_camera(camera_num, stereo_mode, stereo_decimate)

  File "/usr/lib/python2.7/dist-packages/picamera/camera.py", line 460, in _init_camera

    "Camera is not enabled. Try running 'sudo raspi-config' "

picamera.exc.PiCameraError: Camera is not enabled. Try running 'sudo raspi-config' and ensure that the camera has been enabled.

  Are you sure? yes | no