Go to advanced search

by waveform80
Fri Mar 20, 2015 6:45 pm
Forum: Camera board
Topic: Compound Pi
Replies: 10
Views: 4071

Re: Compound Pi

Very neat stuff! Have you tried any measurements to see how closely matched the timing is, when triggering with a broadcast packet? The short answer is: up to a frame's worth of difference plus whatever latency the network introduces (i.e. if your cameras are running at 30fps, and your network intr...
by waveform80
Fri Mar 20, 2015 6:25 pm
Forum: Camera board
Topic: Compound Pi
Replies: 10
Views: 4071

Re: Compound Pi

t-roush wrote:Wow. I have trying to get this same thing going, with progress measured in baby steps. Thanks for your work, it has been a huge help.
No prob - do feel free to open tickets on the compoundpi issue tracker if you run into problems!

Dave.
by waveform80
Thu Mar 19, 2015 12:47 pm
Forum: Camera board
Topic: Image capturing duration
Replies: 6
Views: 1420

Re: Image capturing duration

Yup, there's very little difference in performance between shelling out for raspistill and using picamera if all you're concerned about is capturing an image. With the former you've got a nice fast C program, but you've got the overhead of spawning a new process. With the latter you've got a slow py...
by waveform80
Thu Mar 19, 2015 12:23 pm
Forum: Camera board
Topic: Unwanted auto-adjustement when capturing images
Replies: 7
Views: 1059

Re: Unwanted auto-adjustement when capturing images

Nice thank you ! For the moment here is a part of the code im using : stream = io.BytesIO() with picamera.PiCamera() as camera: camera.start_preview() for foo in camera.capture_continuous(stream, format='jpeg'): stream.truncate() stream.seek(0) # Construct a numpy array from the stream data = np.fr...
by waveform80
Mon Mar 16, 2015 7:51 pm
Forum: Camera board
Topic: Camera flash driver released
Replies: 38
Views: 11269

Re: Camera flash driver released

Hi Don, Well I am very new here and new to Raspberry Pi and the camera. I do have this wonderful camera working and have been experimenting with it. I currently output a GPIO to an optocoupler that is driving some bright LEDs, capture an image and then turn the GPIO off. This is working but as I rea...
by waveform80
Mon Mar 16, 2015 1:13 pm
Forum: Camera board
Topic: Annotate, any hope for future changes?
Replies: 115
Views: 18115

Re: Annotate, any hope for future changes?

You're correct - I've done it as if(header->size >= sizeof(V3_T)) // Process V3 else if (header->size >= sizeof(V2_T)) //Process V2 else if (header->size >= sizeof(V1_T)) //Process V1 else //Error. The mechanism for reporting change events passes in a single "max size that a parameter should ever b...
by waveform80
Mon Mar 16, 2015 11:52 am
Forum: Camera board
Topic: Annotate, any hope for future changes?
Replies: 115
Views: 18115

Re: Annotate, any hope for future changes?

I try my best. Image effects is just that the default values aren't readable back out of the plugin, so it's not easy to get the appropriate numbers (plus it's a grotty API where things are passed in as strings!) Oh dear - I don't envy you maintaining that stuff! String based APIs are rarely fun in...
by waveform80
Sun Mar 15, 2015 1:53 pm
Forum: Camera board
Topic: Annotate, any hope for future changes?
Replies: 115
Views: 18115

Re: Annotate, any hope for future changes?

Test firmware on https://github.com/6by9/RPiTest/commits/master/annotate/start_x.elf I've done almost the same as you - set annotation, then read it back and check for diffs. Works fine now with V2 structures, and also tested and V3 set is retrieved correctly on get too. Yup, test firmware works ve...
by waveform80
Fri Mar 13, 2015 11:23 pm
Forum: Camera board
Topic: Annotate, any hope for future changes?
Replies: 115
Views: 18115

Re: Annotate, any hope for future changes?

... Still getting several other issues though - I can't seem to make any user text appear at the moment (stuff like frame-num works fine), and the background colour bits don't seem to want to play ball either (setting enable_text_background works, but then setting custom_background_colour results i...
by waveform80
Fri Mar 13, 2015 5:35 pm
Forum: Camera board
Topic: Annotate, any hope for future changes?
Replies: 115
Views: 18115

Re: Annotate, any hope for future changes?

Ah! That explains several of the issues I've been seeing when playing with V3 annotations in picamera. Thought I was going nuts there for a minute! Using the V3 structure should always do the right thing. Are you really seeing issues there? Yeah, definitely still seeing issues but then I haven't up...
by waveform80
Fri Mar 13, 2015 4:26 pm
Forum: Camera board
Topic: Annotate, any hope for future changes?
Replies: 115
Views: 18115

Re: Annotate, any hope for future changes?

I think RaspiMJPEG is currently built in a userland from some time back and does use the V2 annotation config. I could also try moving it into the current userland and switching to V3 and see what happens. My set up doesn't exhibit the flickering so I would have to rely on others to test. Thank you...
by waveform80
Mon Feb 16, 2015 6:47 pm
Forum: Camera board
Topic: Pure Python camera interface
Replies: 462
Views: 171962

Re: Pure Python camera interface

Just a quick note to let everyone know that picamera now works on the Pi 2. The picamera library itself doesn't require upgrading, but you should see python-rpi.gpio get upgraded when running "sudo apt-get update && sudo apt-get upgrade" which will fix the issue people have been seeing with picamera...
by waveform80
Tue Feb 10, 2015 9:33 pm
Forum: Camera board
Topic: Pure Python camera interface
Replies: 462
Views: 171962

Re: Pure Python camera interface

It's just occurred to me (while twiddling my thumbs during Sourceforge's downtime) that another way to quickly get picamera working on a Pi2 is simply to (temporarily) uninstall the python-rpi.gpio package (e.g. sudo apt-get remove python-rpi.gpio). The picamera package treats it as an optional depe...
by waveform80
Mon Feb 09, 2015 9:50 pm
Forum: Camera board
Topic: Pure Python camera interface
Replies: 462
Views: 171962

Re: Pure Python camera interface

Excellent news! In that case, on the assumption that an RPi.GPIO release isn't far off I'll hold off on picamera changes for a bit. Always best to change nothing if you can get away with it! Incidentally, from the updated code it looks as though the new RPi.GPIO will be treating the B+ and 2B as equ...
by waveform80
Mon Feb 09, 2015 5:41 pm
Forum: Camera board
Topic: Pure Python camera interface
Replies: 462
Views: 171962

Re: Pure Python camera interface

A quick note for anyone else experiencing the issue with picamera not working on the Pi2: First off, it's been reported as issue #190 on the picamera repo, so I am aware of it. The issue is basically that RPi.GPIO doesn't (yet) work on the Pi2, and it's necessary for LED control from the picamera li...
by waveform80
Thu Feb 05, 2015 2:22 pm
Forum: Camera board
Topic: Pure Python camera interface
Replies: 462
Views: 171962

Re: Pure Python camera interface

Hi Boris, > but it looks like January is going to be very busy for me Hi waveform80 - hope february is going to be better ;) Heh - we'll see - I'm currently transitioning jobs, so I'm not sure! I'd like to ask for a new picamera feature: Would it be possible to output pts (timestamp information) als...
by waveform80
Fri Jan 02, 2015 3:25 am
Forum: Camera board
Topic: Pure Python camera interface
Replies: 462
Views: 171962

Re: Pure Python camera interface

Well, happy new year everyone! I was hoping to get 1.9 out before xmas, but events conspired to keep me too busy to get it done. This one is mostly bug fixes but there's a few new bits of functionality. I won't duplicate the changelog like usual - just check it out if you want a summary of the headl...
by waveform80
Fri Dec 19, 2014 1:36 am
Forum: Camera board
Topic: Lightweight python motion detection
Replies: 259
Views: 271784

Re: Lightweight python motion detection

Hi, thank you for the fast reply! Unfortunately I did not understand how to adjust the script for my needs.. Could you tell me how I have to change the code to detect motion in this particular area (see Appendix)? That would be very nice! Best regards Simon Okay, here's killagreg's script copy'n'pa...
by waveform80
Thu Dec 18, 2014 11:59 am
Forum: Camera board
Topic: Lightweight python motion detection
Replies: 259
Views: 271784

Re: Lightweight python motion detection

Hey Greg, nice code. Is there a possibility to restrict motion detection to a smaller area? regards Simon Probably the simplest way to restrict motion detection to a particular area is to crop the numpy array in MyMotionDetector.analyse (near the top) before doing anything else with it, e.g. to res...
by waveform80
Sun Oct 19, 2014 10:42 am
Forum: Camera board
Topic: Pure Python camera interface
Replies: 462
Views: 171962

Re: Pure Python camera interface

Sorry for the repost...but I am stuck... I have a B+ with the latest Noobs Raspian off the website (release date 2014-09-09). I am having troubles adding and removing overlays. After a sequence of 60 add/remove overlays an out of memory error occurs. Code below as well as error. Any help would be a...
by waveform80
Tue Sep 30, 2014 11:39 am
Forum: Camera board
Topic: Pure Python camera interface
Replies: 462
Views: 171962

Re: Pure Python camera interface

I am using picamera 1.8 and #713 firmware. How can I turn off follow message/warning? /usr/local/lib/python2.7/dist-packages/picamera/camera.py:2488: PiCameraDeprecated: PiCamera.ISO is deprecated; use PiCamera.iso instead 'PiCamera.ISO is deprecated; use PiCamera.iso instead')) Sorry about that, s...
by waveform80
Sun Sep 28, 2014 8:46 pm
Forum: Camera board
Topic: Pure Python camera interface
Replies: 462
Views: 171962

Re: Pure Python camera interface

Thanks Dave, looks like we would need to wait for a firmware fix then. By the way, can I read back the current frame number which is used in the annotation? Then I could add that into my text and not need the second line and the glitch. I never actually leaned Python, I'm just working by extending ...
by waveform80
Sun Sep 28, 2014 6:34 pm
Forum: Camera board
Topic: Pure Python camera interface
Replies: 462
Views: 171962

Re: Bug? white line across middle, with frame number annotat

When I set text annotation with black background, it works as expected. If, in addition set camera.annotate_frame_num = True I get the frame number shown on a second line underneath my annotation, but I also get a thin white line across the center of the frame from one side to the other. Is this an...
by waveform80
Tue Sep 23, 2014 12:54 am
Forum: Camera board
Topic: Pure Python camera interface
Replies: 462
Views: 171962

Re: Pure Python camera interface

@waveform80 (or anyone else): I've got my motion-detector with pre-record feature "sort of" working. It works fine at low res, say 640x480. However I get no pre-record buffer (0 length when "before.h264" file is saved) if I try a high resolution like 1920x1080 full-HD. I assume is a problem with me...
by waveform80
Sat Sep 20, 2014 1:22 pm
Forum: Camera board
Topic: Pure Python camera interface
Replies: 462
Views: 171962

Re: Pure Python camera interface

yeah, worked OK after an rpi-update, which also fixed it so it now does the 6s exposure... waiting for a nice moonlit night now then! :) Thats cool then, the docs site allows a pdf download, thanks! do you know anything about the pi firmware/hardware face recognition and learning stuff? question I ...

Go to advanced search