Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Favorites infavorites:mine
infavorites:1234
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with Search options user 12729

Use the Camera tag for any questions related to how to use a camera or webcam with the Raspberry Pi.

1
vote
I suspect this is to do with the fact that the H.264 stream output by the camera isn't a "full" MP4, which several players expect. Several players, without the MP4 wrapper, use a default framerate …
answered Nov 9 '16 by Dave Jones
1
vote
camera's clock is not synced to the Pi's clock and has no idea what the "real" time is. In other words, it's just a count of microseconds since the camera was initialized. I think about the closest you can … , camera, size=None): super(TimestampedArray, self).__init__(camera, size) self.captured_at = None def write(self, b): if self.captured_at is None …
answered Mar 16 '15 by Dave Jones
2
votes
module - I haven't got my hands on one of those yet!). The same is probably true of the third party camera modules given that all of them are based on the same chip (OV5647), but I'm not 100% certain there. …
answered Nov 4 '15 by Dave Jones
2
votes
For a definitive answer to this I'd recommend posting to the RPi camera forum and hoping for 6by9 or JamesH (the firmware devs) to answer as they'll know for certain what's going on under the covers … firmware to the captured data). In other words, analog gain is applied first and presumably adjusts the sensitivity of the camera, while digital gain is presumably multiplication (or some other form of …
answered Aug 12 '15 by Dave Jones
1
vote
Bayer format captures contain the data prior to almost the entire image processing pipeline (demosaic, auto-gain, auto-white-balance, lens-shading, denoise, etc. etc.). The one exception is flips; if …
answered Jul 8 '15 by Dave Jones
0
votes
You can get raspivid to stream without saving by telling it to write to stdout then redirecting that to something like netcat. There's some brief instructions on how to do this in the middle of the re …
answered Feb 10 '15 by Dave Jones
3
votes
The RPi compute module (note: not the regular RPi) has two CSI camera ports, and implements stereoscopic capture. On a regular RPi, however, you'd need to resort to a couple of USB webcams …
answered Nov 13 '14 by Dave Jones
3
votes
The picamera library permits unencoded video recording and image capture by specifying a format like yuv or rgb. See the start_recording method for details. That said, I'd be very surprised if you co …
answered Feb 2 '15 by Dave Jones
2
votes
There's no way I'm aware of to plug the camera into a normal computer; the interface is quite specialized, and as I understand it the vast majority of the camera's functionality is implemented in the … Pi's GPU rather than on the camera's ISP. That said, shipping data from the Pi's camera to another machine for processing is quite easy. …
answered Aug 15 '14 by Dave Jones
1
vote
on under the covers: You initialize the camera with the PiCamera() line. This activates the sensor, sets the initial resolution to the display's resolution, and the framerate to 30fps. Immediately … - although that's generally not a problem if it's a one-off thing at script start-up), you can override the initial resolution and framerate in the PiCamera() initializer: import picamera with picamera.PiCamera(resolution=(640, 480), framerate=24) as camera: # Do stuff with the camera
answered Jun 14 '15 by Dave Jones
1
vote
-PI-IP', 'port=5000' ], stdin=subprocess.PIPE) # initialize the camera camera = picamera.PiCamera(resolution=(1280, 720), framerate=25) camera.hflip = True # start recording to gstreamer's stdin …
answered Jul 18 '16 by Dave Jones
4
votes
analog_gain and digital_gain respectively). When the camera is first initialized, the analog gain is typically zero. Unless you give it time to stabilize at a higher value (with a delay of some sort … ), you'll just be fixing the gain at zero (hence the black frames). So the first thing I'd suggest doing is inserting a delay after initializing the camera but before setting exposure_mode to 'off …
answered May 19 '15 by Dave Jones
2
votes
): print('here') global theGodArray theGodArray = array with picamera.PiCamera() as camera: with picamera.array.PiRGBAnalysis(camera) as output: camera.resolution … = (256, 256) camera.framerate = 30 output = MyAnalysisClass(camera) camera.start_recording(output, format='rgb') camera.wait_recording(5) camera.stop_recording() …
answered Jun 27 '15 by Dave Jones
2
votes
Bad news first: only one process can access the camera at a given time, and raspivid is (for the most part) non-interactive, so I'm afraid you won't be able to use a second raspivid process to … control the first one (the second process will attempt to open the camera and find it already locked by the first process). Now the good news: it's certainly possible to manipulate the brightness and …
answered Jan 2 '15 by Dave Jones
3
votes
fast operation. Why does the Pi's camera produce such a low level stream instead of something like an MP4 file? I don't know for certain but this would be my guess: Remember that the Pi's camera is … fundamentally a mobile phone camera. On a mobile phone one would want to combine the video output of the H.264 encoder with some encoded audio stream (something like AAC) and output the result as an …
answered Jan 22 '15 by Dave Jones

15 30 50 per page