Go to advanced search

by wibble82
Sat Dec 27, 2014 8:33 pm
Forum: Automation, sensing and robotics
Topic: Soldering tutorial
Replies: 1
Views: 445

Soldering tutorial

Hey there I've done a fair bit of robotics with the raspberry pi (over on robotblogging.blogspot.com), and if there's one skill that's really easy to overlook it's soldering. Doing it wrong is immensely frustrating, doing it right is very pleasing! So in case it's helpful, I've just finished off a v...
by wibble82
Tue Apr 15, 2014 7:45 pm
Forum: C/C++
Topic: Raspberry pi Camera not reading any bytes
Replies: 3
Views: 1225

Re: Raspberry pi Camera not reading any bytes

HI Catherine The library uses opengl to do a lot of work, which is why you need to do a begin and end frame. Most opengl commands really just queue up instructions for the gpu, which get submitted when swap buffers is called. I beleive you might be able to use an opengl flush command instead to make...
by wibble82
Thu Nov 28, 2013 11:40 pm
Forum: Camera board
Topic: camera -> egl texture path question
Replies: 13
Views: 7069

Re: camera -> egl texture path question

you're amazing Tim! Can't wait to try this out. Almost fed up that I have to go on holiday and leave my lap top at home for 3 weeks now :)
by wibble82
Thu Nov 28, 2013 1:30 pm
Forum: Camera board
Topic: camera -> egl texture path question
Replies: 13
Views: 7069

Re: camera -> egl texture path question

Excellent - that'll be really handy. Agree that RGB output should be the 'default', but for when I am going to be working on YUV data myself anyway it'll be much nicer to just get it straight from the camera. Save on lots of memory and gpu cycles :)
by wibble82
Tue Nov 26, 2013 10:38 am
Forum: Camera board
Topic: camera -> egl texture path question
Replies: 13
Views: 7069

Re: camera -> egl texture path question

Hmm. - not sure I agree. In any scenario where I either don't need the rgb data either every frame or at full res, I am wasting valuable cycles doing the full ress conversion to rgb every frame AND having to do an additional convert to Y for greyscale analysis. Maybe if all you're doing is rendering...
by wibble82
Sun Nov 24, 2013 11:19 am
Forum: Camera board
Topic: camera -> egl texture path question
Replies: 13
Views: 7069

camera -> egl texture path question

Hi I'm starting to pull apart the demos of your latest work for the direct to egl texture path (which is awesome by the way!). Just had 1 question so far, on reading the comments I spotted this line: * 2) The driver implementation creates a new RGB_565 buffer and does the color * space conversion fr...
by wibble82
Thu Nov 14, 2013 9:20 am
Forum: Camera board
Topic: PoC: Poor man's high framerate full HD motion detection
Replies: 25
Views: 14580

Re: PoC: Poor man's high framerate full HD motion detection

I did have an idea on how to do full framerate HD motion detection very effectively, and was tempted to try it out now that we have the direct to gpu path from mmal. Basically simple motion detection falls into 2 steps - first, calculate a movement value per pixel that indicates how likely the pixel...
by wibble82
Sun Nov 10, 2013 5:58 pm
Forum: Camera board
Topic: is there a way to get from mmal to opengl texture
Replies: 47
Views: 14607

Re: is there a way to get from mmal to opengl texture

Oops. - answerd my own question by reading your post properly :)
by wibble82
Sun Nov 10, 2013 5:57 pm
Forum: Camera board
Topic: is there a way to get from mmal to opengl texture
Replies: 47
Views: 14607

Re: is there a way to get from mmal to opengl texture

Brilliant! Is it just latest userland I need to get it going?
by wibble82
Sat Nov 09, 2013 2:40 pm
Forum: Camera board
Topic: stuck getting omx to shutdown/startup with camera component
Replies: 2
Views: 757

Re: stuck getting omx to shutdown/startup with camera compon

Yeah that's what I was thinking - problem is, how do I track that kind of issue down. My omx use has been mostly guesswork, so I'm not really clear in how I should be using it.

Or I could just stop being impatient and wait for the mmal version of write to texture I guess :)
by wibble82
Sat Nov 09, 2013 11:15 am
Forum: Camera board
Topic: stuck getting omx to shutdown/startup with camera component
Replies: 2
Views: 757

stuck getting omx to shutdown/startup with camera component

Hi Just posted this in gfx forum, but wasn't sure if it was better placed in camera section... I'm writing some code to try and access the camera component. I've taken a fair bit from various sources and it almost works. My current and final issue is that open mx seems to lock up (normally inside OM...
by wibble82
Sat Nov 09, 2013 11:11 am
Forum: Graphics programming
Topic: OMX locking up and failing to shutdown
Replies: 0
Views: 1350

OMX locking up and failing to shutdown

Hi I'm writing some code to try and access the camera component. I've taken a fair bit from various sources and it almost works. My current and final issue is that open mx seems to lock up (normally inside OMX_GetState, but I think it happens at other points), almost consistently on my 3rd run of th...
by wibble82
Thu Nov 07, 2013 12:29 pm
Forum: Camera board
Topic: GPU scaling of camera frames [Solved]
Replies: 6
Views: 3330

Re: GPU scaling of camera frames

Hi there. I'm doing exactly that in this code, which I released a while back: http://robotblogging.blogspot.co.uk/2013/10/an-efficient-and-simple-c-api-for.html. It is running on a video feed, but you could take the use of the resizer component and plug it into your own capture code. All the importa...
by wibble82
Wed Nov 06, 2013 6:04 pm
Forum: Camera board
Topic: is there a way to get from mmal to opengl texture
Replies: 47
Views: 14607

Re: is there a way to get from mmal to opengl texture

Awesome! Looking forward to it
by wibble82
Tue Nov 05, 2013 7:27 pm
Forum: Camera board
Topic: is there a way to get from mmal to opengl texture
Replies: 47
Views: 14607

Re: is there a way to get from mmal to opengl texture

Hey - just wondering if there's any update on that mmal support for render-to-egl-image? I've kind of got things working in OMX but its very unpleasant, and I can't get things to shutdown properly.
by wibble82
Mon Nov 04, 2013 9:57 am
Forum: Camera board
Topic: Length of camera cable
Replies: 9
Views: 4230

Re: Length of camera cable

If you try this could you post your results - I'm building a robot and am currently deliberating whether I need to place the pi's in the head next to each eye, or whether I can take the camera cables down to the chassis. Would love to hear your results.
by wibble82
Mon Nov 04, 2013 9:52 am
Forum: Camera board
Topic: color depth
Replies: 7
Views: 1337

Re: color depth

Hi I'd recommend getting the RGB data out - the YUV420 format can be a little confusing - I found the buffer positions can be oddly aligned for some image sizes. If you want to get back to YUV from RGB there's a fairly simple algorithm to do it. This page goes over them: http://www.fourcc.org/fccyvr...
by wibble82
Sat Nov 02, 2013 10:30 pm
Forum: Camera board
Topic: Pi camera
Replies: 5
Views: 1058

Re: Pi camera

On closer inspection, I think you've misunderstood the 'nec coding'. This is the protocol the controller sends to the ir receiver, such as the FLIRC USB stick on the web site. You'd then write software that read data from the FLIRC and controlled your pi.
by wibble82
Sat Nov 02, 2013 10:25 pm
Forum: Camera board
Topic: Pi camera
Replies: 5
Views: 1058

Re: Pi camera

I would be surprised if it 'just worked' - the camera is just an input device and has no knowledge of remote controls!

However, if you can write python script (or other code) that picks up inpu from your controller it'd be trivial to make it run raspistill or raspivid in response.
by wibble82
Sat Nov 02, 2013 6:14 pm
Forum: Camera board
Topic: A c++ camera api
Replies: 35
Views: 24481

Re: A c++ camera api

Hey I'm going to release a second attempt next week. I've simplified the api slightly, and internally rewritten it to go direct to the omx layer. I'll make sure the graphics stuff I ship with it is better commented. It will supply rgba by default and provide various facilities for converting to grey...
by wibble82
Sat Nov 02, 2013 12:19 am
Forum: Camera board
Topic: A c++ camera api
Replies: 35
Views: 24481

Re: A c++ camera api

Hi everyone, I have developed a library for fully controlling the camera in C++. You might be interested. Take a look at : http://www.uco.es/investiga/grupos/ava/node/40 Cheers Yeah I saw that one - i liked especially how it picks up the existence of opencv and creates the extra lib for it - I'm no...
by wibble82
Fri Nov 01, 2013 7:49 pm
Forum: Camera board
Topic: A c++ camera api
Replies: 35
Views: 24481

Re: A c++ camera api

Interesting - I'm not over clocked my side. Oh well - I'll finish off the full gpu version next week and we'll see where that gets us.
by wibble82
Fri Nov 01, 2013 4:03 pm
Forum: Camera board
Topic: A c++ camera api
Replies: 35
Views: 24481

Re: A c++ camera api

btw - I've been running the app without the full xwindows gui running - I don't know what the consequences of having the whole gui system in the background would be. Could be a cause of slow down though.
by wibble82
Fri Nov 01, 2013 3:55 pm
Forum: Camera board
Topic: A c++ camera api
Replies: 35
Views: 24481

Re: A c++ camera api

Chris, thanks for the keyboard input details, I usually connect to RPi over ethernet and hence save output as .h264 to file or stream using rtsp, is this possible currently? my raspivid based attempts failed. eg -o is not accepted iirc this is simply sending data to stdout, however as I have no ide...
by wibble82
Fri Nov 01, 2013 1:31 pm
Forum: Camera board
Topic: A c++ camera api
Replies: 35
Views: 24481

Re: A c++ camera api

@peepo the controls to replicate the demo are 'a', 's' and 'd' on the keyboard. Sorry - I should have mentioned that. 'q' is also 'quit'. The picam.cpp code is the main bit that actually shows how to use the api. Hopefully the blog itself should give enough of a guide as to how to do the most basic ...

Go to advanced search