Will it be accessible from python, for example pygame.camera ?jamesh wrote:At the moment the camera isn't plumbed in to the Linux video subsystems - it's something I hope the community will be able to do as I don't have the relevant experience. For the moment you can use the supplied Linux apps which allow you to take images or video. They should also be a good base on which to build the V4L stuff, code's pretty simple and (I hope) well documented.
Thanks, hopefully someone out there who knows what "wrap some Python around it" means will do thatjamesh wrote:Example code
https://github.com/raspberrypi/userland ... s/raspicam
It's all written in C as a basic command line app, and I don't think it would take long to wrap some Python around it.
All the ones I have tested 'just worked' as well. It's intriguing..bspratt wrote:So your camera just worked? So far you may be the only one making progress from what I can tell.
Yep, it just worked. I did follow the instructions to the letter, with a new distro and updates, the works.bspratt wrote:So your camera just worked? So far you may be the only one making progress from what I can tell.
The programs require the standard Brcm libraries (/opt/vc/..) on any standard install. If the programs run (even if they give a camera failure error) then you have everything installed.aframe wrote:James, What are the dependencies of the programs?
Is there any way you can generate a script that will report what files are needed that we could then run against our systems?
I've been stuck having 'fun' in America, but will wade in on the topic... Turns out the instructions I gave you were somewhat incorrect, blame Rob he tested them!
After doing the rpi-update you need to edit the config.txt file and add
Do this and try again, hopefully soon Dom will be able to wade in a help out!
It has though made a difference to other people who have now got their cameras working....so not sure what is going on at your end.aframe wrote:Yeah I got the above from Gordon a few days ago via email and unfortunately didn't make any difference to my tests.
We started with blank SD card last night and now have it working. So, I think the process does work now for a fresh installation with no additional dependancies other than what is documented.bspratt wrote:I still have the sense, especially after reading Gordon's message, that there are unknown system dependencies. Not link dependencies, necessarily, but perhaps further config issues. It does sound like no one at RPi has attempted a camera install lately starting with an empty SD card, I think that could be fruitful. It's just so easy to build up a development system with hidden dependencies, without realizing it. Then it's the old "huh, works fine on my box..." problem.