19
votes
What causes ENOSPC error when using the Raspberry Pi camera module?
I had the same problem. Comparing it to a number of other posts, the most likely answer is that two processes/applications are trying to access the PiCam at the same time. This can be ffmpeg streaming,...
14
votes
Sending Raspberry Pi Camera preview to a laptop running VNC Viewer
See @Andrew Wedgbury 's comment to the accepted answer. "
It is now possible to do this over VNC. If you're using the RealVNC server on the Pi, go to VNC options > troubleshooting and enable "...
14
votes
Raspberry Pi 3 has less than 1GB memory available at OS level
If the output of vcgencmd get_mem arm && vcgencmd get_mem gpu is
arm=880M
gpu=128M
This means that GPU is using 128M.
This can be verified/changed in raspi-config Advanced Options, although ...
12
votes
What causes ENOSPC error when using the Raspberry Pi camera module?
"In normal circumstances there is NEVER a need to run rpi-update as it always gets you to the leading edge firmware and kernel and because that may be a testing version it could leave your RPi ...
11
votes
RasPi Camera Board and Motion
to load the model after each reboot, use this setting
sudo nano /etc/modules
enter bcm2835-v4l2
exist and save the fle
sudo reboot
11
votes
Accepted
How to use raspistill on Ubuntu
I seem to be the only person in the entire world who wants to use a regular Linux distro on the RPi, since I could find very little documentation on how to setup the camera from scratch, but in case ...
10
votes
Accepted
Raspberry Pi 3 has less than 1GB memory available at OS level
First of all, I give my best regards to @Milliways for suggesting to check 2 simple commands.
vcgencmd get_mem arm && vcgencmd get_mem gpu
Where is the missing 128MB memory?
Even if both ...
8
votes
Modern way to stream H.264 from the Raspberry Cam
I'm amazed there isn't more action on this thread, I've been chasing down the answer to this question for months.
I stream from a Pi Camera (CSI) to a Janus server, and I found the best pipeline is
...
8
votes
PIL.Image from picamera.capture()
From the picamera docs (Section 4.3. Capturing to a PIL Image):
import io
import time
import picamera
from PIL import Image
# Create the in-memory stream
stream = io.BytesIO()
with picamera.PiCamera(...
8
votes
Accepted
RPi camera v2.1 not working
I missed the all-important sudo rpi-update, which provided the firmware upgrade that I needed to run the camera. Everything's now up and running.
8
votes
Accepted
Cannot connect to PiCamera when using it with Flask
I struggled for some time with this exact same problem. I believe that I've solved it, though I have to be honest, I don't understand exactly why it works. The key was turning off debugging in Flask. ...
7
votes
Accepted
Raspistill slow to trigger?
You need to have the camera process running all the time.
This is the only way I could acheive results of (on average) 50ms. I looked everywhere for a solution. 1 second was just too slow for my ...
7
votes
Accepted
Camera gets hot, how much power should it dissipate?
According to the Specs
The official documentation doesn't actually contain a power spec. https://www.raspberrypi.org/documentation/hardware/camera/README.md
The FAQ's do offer some guidance: https://...
7
votes
Camera module not getting detected
I would double check that the camera is correctly connected at both ends and not loose, and that it is enabled via the RPI config menu. The RPi+ camera draws about 260 mA more current than the board ...
6
votes
How can I enable the camera without using raspi-config?
raspi-config seems to support noninteractive mode: you can use nonint command to set the camera
# raspi-config nonint do_camera %d
# %d - Integer input - 0 is in general success / yes / selected, 1 ...
6
votes
Modern way to stream H.264 from the Raspberry Cam
The only modern way to stream H264 to a browser is with UV4L: no latency, no configuration, with optional audio, optional two-way audio/video. No magic GStreamer sauce, yet it's possible to extend its ...
6
votes
Using other camera modules to build custom webcams
Iphone camera modules use MIPI CSI-2 interface. MIPI CSI-2 cameras could be interfaced using USB camera controller chip. Such chips are widely used in webcameras, notebook cameras, IP cameras and some ...
6
votes
Can the Pi camera module be used with a longer cable?
The length limits come from two requirements: signal quality, and signal delays. A 1m cable will introduce about 5ns of delay (speed of light in circuits is a lower than in vacuum!), so if you are ...
6
votes
Accepted
How can I install raspistill/raspicam on a distro that doesn't include them?
raspistill or raspivid. How can I install these?
They're distributed pre-compiled (armv6, which will work with any distro that runs on any model) via the Raspberry Pi Foundation's github site, in ...
6
votes
Accepted
Raspberry Pi 3 Mounting on Wood
Should I be concerned about any particular type of wood when working with electronics?
Not really. As long as it is dry, you keep some clearance between the wood and Pi, and you do not completely ...
6
votes
Accepted
Is it necessary to release Raspberry Pi Camera before rebooting? If so how do I do it?
There is NO NEED to do anything before a reboot.
If you issue a sudo reboot command Linux will manage an orderly shutdown of the software.
This is, however, a poor way of ensuring a reliable 24/7 ...
5
votes
Raspistill slow to trigger?
I have specified the following alias in my .bash_profile to allow for easy and fast camera shots:
alias shot='SHOTTIME=$(date +"%Y-%m-%d_%H%M") && raspistill -o shot-$SHOTTIME.jpg --nopreview ...
5
votes
Motion filming can't get on real speed
Check out this thread:
https://www.raspberrypi.org/forums/viewtopic.php?t=75240
With the updated binary you can get 15FPS on the live stream. If you set output_pictures ON, you can collect up to 15 ...
5
votes
Accepted
5
votes
Can the RPi Camera cable be folded/creased?
All flex cables have a minimum bend radius, under which a specified number of fold-unfold cycles is guaranteed. This radius depends on the brand, but generally it's around 5-10 mm. Here's a spec for ...
5
votes
Accepted
How do you configure the Pi Zero to act as a USB webcam using the plug in camera?
After searching a lot I finally have this working now
to get it working I used the following script for the configfs setup
https://gist.github.com/kbingham/c39c4cc7c20882a104c08df5206e2f9f
and this ...
5
votes
Camera not turning on with Raspberry Pi 3B
If connected correctly, the camera LED does not turn on immediately.
Please make sure:
To connect the camera to the right slot near the LAN port (with soldering side of the flat cable pointing away ...
5
votes
Accepted
PiCamera updating hflip and vflip more than once
The value you're passing to set_vflip is a str. You can tell this because if you attempt your print statement at the command line with a literal bool it fails:
$ python3
Python 3.5.2 (default, Nov 17 ...
5
votes
How to synchronize images from two raspberry pis
You've said, "I'm not an expert with Linux systems or the Raspberry Pi, so please thoroughly explain your solution." Fair enough, but if by a "thorough explanation" you expect to avoid any further ...
5
votes
Can Raspberry Pi NOIR Camera see near infrared light (~1550nm)?
The silicon bandgap is about 1 eV. That means a photon with wavelengths more than ~1000 nm do not have the energy to generate a charge.
https://www.spiedigitallibrary.org/conference-proceedings-of-...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
raspicam × 536camera × 198
python × 92
raspbian × 82
pi-3 × 61
opencv × 50
picamera × 43
streaming-video × 33
pi-2 × 23
video × 22
motion × 21
c++ × 20
raspivid × 19
image × 18
pi-4 × 16
pi-zero × 16
hardware × 13
pi-zero-w × 13
uv4l × 12
gpio × 11
python-3 × 11
webcam × 11
raspbian-stretch × 10
ubuntu × 10
v4l2 × 9