Hi all, kinda new to Raspberry Pi and very new to posting on their forums.
I've been trying to follow this project on taking NDVI photos: https://projects.raspberrypi.org/en/pro ... opi-ndvi/0 and I've been running into some issues regarding the camera. I'm using a Raspberry Pi 4B and a HQ camera.
First off, I was unable to install picamera.gave me "picamera has no installation candidate".
I finally figured out that I needed to enable legacy support to install/use picamera. "Ah! No problem". Go to Rpi configuration, click interfaces, and...
There was no 'enable legacy support'.'
Been on the web for hours trying to find anything regarding the issue and have come up dry. However, this reminded me of another issue I had when installing the camera for the project. On the 'Getting started with the Camera Module' tutorial, it wanted me to enable camera in the interface. No option for that, either. Did some googling and saw somewhere that on the RPi 4B it was already enabled. So I check that by going to the terminal and typingand got the photo. So I moved on and forgot the issue.
But now, I realized that perhaps I couldn't enable legacy support or enable the camera because maybe the pi didn't detect the camera.
So I ranAnd it gave me:
supported=0 detected=0, libcamera interfaces=0
This means no cameras were detected, right?
but I tried to take another photo using rpicam-still, and it worked perfectly!
So now I'm utterly confused. Is this one issue? Two issues? No issues and I'm just doing everything wrong? Any help is much appreciated. Thank you!
I've been trying to follow this project on taking NDVI photos: https://projects.raspberrypi.org/en/pro ... opi-ndvi/0 and I've been running into some issues regarding the camera. I'm using a Raspberry Pi 4B and a HQ camera.
First off, I was unable to install picamera.
Code:
sudo apt install python3-picameraI finally figured out that I needed to enable legacy support to install/use picamera. "Ah! No problem". Go to Rpi configuration, click interfaces, and...
There was no 'enable legacy support'.'
Been on the web for hours trying to find anything regarding the issue and have come up dry. However, this reminded me of another issue I had when installing the camera for the project. On the 'Getting started with the Camera Module' tutorial, it wanted me to enable camera in the interface. No option for that, either. Did some googling and saw somewhere that on the RPi 4B it was already enabled. So I check that by going to the terminal and typing
Code:
rpicam-stillBut now, I realized that perhaps I couldn't enable legacy support or enable the camera because maybe the pi didn't detect the camera.
So I ran
Code:
vcgencmd get_camerasupported=0 detected=0, libcamera interfaces=0
This means no cameras were detected, right?
but I tried to take another photo using rpicam-still, and it worked perfectly!
So now I'm utterly confused. Is this one issue? Two issues? No issues and I'm just doing everything wrong? Any help is much appreciated. Thank you!
Statistics: Posted by deebaine — Sat Feb 10, 2024 10:13 pm — Replies 2 — Views 75