Go to advanced search

by waveform80
Tue Aug 19, 2014 10:21 am
Forum: Camera board
Topic: Pure Python camera interface
Replies: 462
Views: 168109

Re: Pure Python camera interface

Dave - I'll point you at: typedef enum MMAL_PARAMETER_CAMERA_CONFIG_TIMESTAMP_MODE_T { MMAL_PARAM_TIMESTAMP_MODE_ZERO, /**< Always timestamp frames as 0 */ MMAL_PARAM_TIMESTAMP_MODE_RAW_STC, /**< Use the raw STC value for the frame timestamp */ MMAL_PARAM_TIMESTAMP_MODE_RESET_STC, /**< Use the STC ...
by waveform80
Tue Aug 19, 2014 9:48 am
Forum: Camera board
Topic: Pure Python camera interface
Replies: 462
Views: 168109

Re: Pure Python camera interface

I noticed that timestamp in picamera.frame increases continuously, even across multiple start_recording() / stop_recording() calls. I expected it to reset to 0 following a call to every start_recording(). I'm using 2 threads: thread 1: while True: start_recording(...) wait_recording(60) stop_record...
by waveform80
Mon Aug 18, 2014 9:55 pm
Forum: Camera board
Topic: What features/issues to address?
Replies: 96
Views: 24748

Re: What features/issues to address?

Thank you for all the hard work you have done. The addition of overlay to the still frames is especially great. From the way I read the comments in the thread, it sounds like overlay in the video portion would be difficult if not downright impossible in current hardware? Am I picking that up right?...
by waveform80
Wed Aug 13, 2014 8:02 pm
Forum: Camera board
Topic: What features/issues to address?
Replies: 96
Views: 24748

Re: What features/issues to address?

@waveform80 and @ethanol100: Back on the 5th Aug you you'd mentioned black frames with burst capture. Do either of you still have the command-line that you were using at that point? With picamera 1.6 or above, the following script typically produces a few very-dark frames. I say very-dark rather th...
by waveform80
Mon Aug 11, 2014 11:22 am
Forum: Camera board
Topic: Pure Python camera interface
Replies: 462
Views: 168109

Re: Pure Python camera interface

Just tried updating another Pi and realized: version 1.7 isn't up yet, it looks like I'm getting version 1.6 still. The camera.annotate_text = 'Hello world!' example still runs with no error, just doesn't give me the text annotation. I thought there would be an error if I didn't have the latest ver...
by waveform80
Sun Aug 10, 2014 7:20 pm
Forum: Camera board
Topic: Pure Python camera interface
Replies: 462
Views: 168109

Re: Pure Python camera interface

Just tried updating another Pi and realized: version 1.7 isn't up yet, it looks like I'm getting version 1.6 still. The camera.annotate_text = 'Hello world!' example still runs with no error, just doesn't give me the text annotation. I thought there would be an error if I didn't have the latest ver...
by waveform80
Sat Aug 09, 2014 4:18 pm
Forum: Camera board
Topic: Pure Python camera interface
Replies: 462
Views: 168109

Re: Pure Python camera interface

... Doh, serves me right for not testing this stuff on a virgin Pi. Turns out python-ws4py isn't packaged on Raspbian (it is on Ubuntu; originally I was following another recipe and the HTTP and web-sockets bit was sat on an Ubuntu PC; then I combined it all to run on the Pi but only tested within ...
by waveform80
Sat Aug 09, 2014 4:11 pm
Forum: Camera board
Topic: Pure Python camera interface
Replies: 462
Views: 168109

Re: Pure Python camera interface

... Doh, serves me right for not testing this stuff on a virgin Pi. Turns out python-ws4py isn't packaged on Raspbian (it is on Ubuntu; originally I was following another recipe and the HTTP and web-sockets bit was sat on an Ubuntu PC; then I combined it all to run on the Pi but only tested within ...
by waveform80
Sat Aug 09, 2014 3:58 pm
Forum: Camera board
Topic: Pure Python camera interface
Replies: 462
Views: 168109

Re: Pure Python camera interface

Great work getting a new release out so quickly! Trying to test the streaming demo, I ran into a snag: $ sudo apt-get install python-picamera python-ws4py libav-tools git Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package python-ws4p...
by waveform80
Fri Aug 08, 2014 6:28 pm
Forum: Camera board
Topic: Pure Python camera interface
Replies: 462
Views: 168109

Re: Pure Python camera interface

So, on the back of some sterling firmware work from 6by9, here's picamera 1.7! Highlights this time include: An incredibly long-standing request, namely text overlay on output (previews, images, and video) is now included. Please bear in mind you will need a recent firmware for this (702 I think), s...
by waveform80
Thu Aug 07, 2014 5:52 pm
Forum: Camera board
Topic: Pure Python camera interface
Replies: 462
Views: 168109

Re: Pure Python camera interface

Looks to be a lot of goodies in the latest release https://github.com/raspberrypi/firmware/commit/df36e8dd56f042603f1ad4d26921b56009415165 I'm hoping to have python access to the new text annotate function. I would love to have burned-in time/date/frame number, without needing to decode and re-enco...
by waveform80
Thu Aug 07, 2014 5:29 pm
Forum: Camera board
Topic: Pure Python camera interface
Replies: 462
Views: 168109

Re: Pure Python camera interface

Looks to be a lot of goodies in the latest release https://github.com/raspberrypi/firmware/commit/df36e8dd56f042603f1ad4d26921b56009415165 I'm hoping to have python access to the new text annotate function. I would love to have burned-in time/date/frame number, without needing to decode and re-enco...
by waveform80
Wed Aug 06, 2014 12:08 pm
Forum: Camera board
Topic: What features/issues to address?
Replies: 96
Views: 24748

Re: What features/issues to address?

... Seeing as it has only just been released and not used except in your unreleased code, I propose to rename it and replace the badly named MMAL parameters. I will nudge Dom tonight to do another release soon, so it shouldn't be wrong for too long. Hehe - good plan, I'll keep an eye out for the ch...
by waveform80
Tue Aug 05, 2014 11:55 pm
Forum: Camera board
Topic: What features/issues to address?
Replies: 96
Views: 24748

Re: What features/issues to address?

Quick update on this: I'm reasonably certain the initial reading of true (indicating that denoise is disabled) is a bug. The video denoise setting can be observed while running the preview; toggling it on and off results in a noticeable change in the picture quality (at least under artificial light...
by waveform80
Tue Aug 05, 2014 11:39 pm
Forum: Camera board
Topic: What features/issues to address?
Replies: 96
Views: 24748

Re: What features/issues to address?

A quick update. Changes pushed internally to add the MMAL parameters to control the software denoise. I can't remember the two new enums off the top of my head, but they're something like MMAL_PARAMETER_VIDEO_DENOISE_DISABLE, and MMAL_PARAMETER_STILLS_DENOISE_DISABLE. Both will just take a MMAL_PAR...
by waveform80
Tue Aug 05, 2014 11:13 pm
Forum: Camera board
Topic: What features/issues to address?
Replies: 96
Views: 24748

Re: What features/issues to address?

A quick update. Changes pushed internally to add the MMAL parameters to control the software denoise. I can't remember the two new enums off the top of my head, but they're something like MMAL_PARAMETER_VIDEO_DENOISE_DISABLE, and MMAL_PARAMETER_STILLS_DENOISE_DISABLE. Both will just take a MMAL_PAR...
by waveform80
Tue Aug 05, 2014 10:40 pm
Forum: Camera board
Topic: Pure Python camera interface
Replies: 462
Views: 168109

Re: Pure Python camera interface

Hi Dave Sorry for annoying you again but one last question: Now I try to use h.264 instead of .mjpg. @route('/home') def index(): HTML = """<html> <head> </head> <body> <video controls> <source src="/test.mp4" type="video/mp4"> </video> </body> </html>""" return HTML @route('/test.mp4') def mjpeg()...
by waveform80
Tue Aug 05, 2014 12:38 am
Forum: Camera board
Topic: [Help] Simple MJpeg streamer for Raspberri Pi Camera
Replies: 2
Views: 1310

Re: [Help] Simple MJpeg streamer for Raspberri Pi Camera

Hi I'm using the following code. The images are in slow motion . There is no solution ? #!/usr/bin/python from BaseHTTPServer import BaseHTTPRequestHandler,HTTPServer import io import time import picamera camera=None class CamHandler(BaseHTTPRequestHandler): def do_GET(self): if self.path.endswith(...
by waveform80
Tue Aug 05, 2014 12:35 am
Forum: Camera board
Topic: What features/issues to address?
Replies: 96
Views: 24748

Re: What features/issues to address?

... Almost already done. I'd exposed the parameter a few weeks back (I wondered if people would notice!), but it requires the flash driver I've mentioned above to actually do anything to GPIO lines. I noticed ;) But then I tend to keep an eye on commits in the interface/mmal branch of the raspberry...
by waveform80
Thu Jul 31, 2014 12:29 pm
Forum: Camera board
Topic: Pure Python camera interface
Replies: 462
Views: 168109

Re: Pure Python camera interface

Hi Dave I have already done it and it works great. An other question is, what do you think is better (quality and real time stream): streaming .jpg files or .h264 frames? As a general rule of thumb H.264 is better quality than JPEG in the same space. Bear in mind that JPEG is a 20 year old format a...
by waveform80
Thu Jul 31, 2014 11:55 am
Forum: Camera board
Topic: Pi Camera Module frames directly to OpenCV lib for processin
Replies: 6
Views: 7517

Re: Pi Camera Module frames directly to OpenCV lib for proce

My intension is to use raspberry Pi for tracking coloured object. I am using Python, OpenCV and Raspberry pi Camera Module. Since OpenCV doesn’t work out of the Box with raspberryPi cam Module, I trying to use Mikerr’s PiVision Lib (https://github.com/mikerr/piVision/blob/master/colortrack.py) In M...
by waveform80
Thu Jul 31, 2014 10:38 am
Forum: Camera board
Topic: omxcam - OpenMAX camera abstraction layer
Replies: 54
Views: 16510

Re: omxcam - OpenMAX camera abstraction layer

Motion vectors now can be captured. The bad news are, I have no clue about motion vectors: http://picamera.readthedocs.org/en/release-1.6/recipes2.html?highlight=motion#recording-motion-vector-data The last thing I need to do is to expose the DRC parameter. Then, I "only" need to do a refactor of t...
by waveform80
Thu Jul 31, 2014 9:53 am
Forum: Camera board
Topic: Pure Python camera interface
Replies: 462
Views: 168109

Re: Pure Python camera interface

Nobody an idea or a tip? http://www.raspberrypi.org/forums/viewtopic.php?p=583296#p583296 Sorry! Completely forgot about that earlier post. On the subject of using "while" instead of "for" with iterators (such as that returned by capture_continuous): you can't because it's up to the iterator when t...
by waveform80
Thu Jul 31, 2014 9:46 am
Forum: Camera board
Topic: still capture rate (still FPS)
Replies: 82
Views: 22508

Re: still capture rate (still FPS)

Thank you 6by9! Looks like I was wrong on both counts. Impressive that we can do 15 fps at full res. Sorry for spreading the rumour- I guess my frames with blurry motion were simply the result of indoor lighting = longer shutter time. Actually the rumour's probably from my docs - I'll get those fix...
by waveform80
Thu Jul 31, 2014 9:21 am
Forum: Camera board
Topic: RTSP Streaming
Replies: 40
Views: 87223

Re: RTSP Streaming

But getting back to your question, so yes, it sounds like raspivid and cvlc do accomplish what my application does. In regards to high and low resolution, I think that's theoretically possible (depending on the resolution), though I don't know if this is something the MMAL API supports (I have not ...

Go to advanced search