Go to advanced search

by nickneubrand
Tue Jun 16, 2015 6:35 am
Forum: Beginners
Topic: Picamera stream as pygame background
Replies: 3
Views: 4151

Re: Picamera stream as pygame background

I hate to say, but I doubt this will ever be a possibility with PICamera. I've been trying to do the exact same thing for 2 years and it never works how I want it to. Your best bet is to just settle with a usb webcam, which I know is probably not what you want to do.
by nickneubrand
Mon Feb 23, 2015 11:11 pm
Forum: Beginners
Topic: How much processing power does OS use when in use?
Replies: 4
Views: 1040

How much processing power does OS use when in use?

Hi, Ive had the raspberry pi model B and now I have my Pi2, and have never found the answer to this question. How much processing power does the OS use, when it's being used? When I say this I'm referring to when you type in startx, and it takes you to the GUI, vs staying at the command line style, ...
by nickneubrand
Thu Feb 12, 2015 8:40 pm
Forum: Camera board
Topic: Camera Preiview in Window
Replies: 7
Views: 1856

Re: Camera Preiview in Window

I continued to get module errors in shell (because I am using pygame), so I'm not actually using raspistill/raspicam preview.
by nickneubrand
Thu Feb 12, 2015 1:29 am
Forum: Camera board
Topic: Camera Preiview in Window
Replies: 7
Views: 1856

Re: Camera Preiview in Window

Unfortunately, these things didn't really work. Though, I think that a lot of it was above my level of understanding, so I probably did it wrong. I'll probably just go back to using a USB camera. I still just find it amazing that after 2 years of the camera board being out, its still ridiculously ha...
by nickneubrand
Wed Feb 11, 2015 7:39 am
Forum: Camera board
Topic: Camera Preiview in Window
Replies: 7
Views: 1856

Camera Preiview in Window

Hi I had a question and was wondering if anyone could help me. This is about a 2 year old question that I have not had any luck with and I was hoping that now that the RPi2 has come out maybe I can accomplish this project. I'm looking to take the RPi camera stream and put it in a window via python p...
by nickneubrand
Wed Jun 11, 2014 10:24 pm
Forum: Camera board
Topic: Pure Python camera interface
Replies: 462
Views: 171980

Re: Pure Python camera interface

Just wondering, what are the odds of the start_preview() will ever be able to be put into a window. I know the documentation says that it cannot currently be done, but are there plans to make that possible? Just asking because I really like the fact that the preview() has really good FPS and want to...
by nickneubrand
Mon Jun 09, 2014 7:16 pm
Forum: Camera board
Topic: Pygame Camera
Replies: 4
Views: 4303

Re: Pygame Camera

Thanks for the info! I accidentally typed in the code incorrectly when uploading. When you say "It should work with PyGame as-is" do you mean with the name "/dev/video0" or is there a completely separate format that I am unaware of? Also, what is the benefit of using picamera over this driver? I eve...
by nickneubrand
Mon Jun 09, 2014 2:40 am
Forum: Camera board
Topic: Pygame Camera
Replies: 4
Views: 4303

Re: Pygame Camera

On the topic of cameras not working I tried then to stop using Pygame and just use Python import picamera import time with picamera.Picamera() as camera: camera.resolution = (640,480) camera.start_preview() after running the whole sudo apt - get install python-picamera, now I just keep getting error...
by nickneubrand
Mon Jun 09, 2014 1:10 am
Forum: Camera board
Topic: Pygame Camera
Replies: 4
Views: 4303

Pygame Camera

Hey Guys, Its been a while since I have used my Raspi because the last thing I worked on involved the camera unit when there was no driver. I was wondering if there have been any developments in a driver that works with pygame? I looked all around to find out if there was, with no success. This is w...
by nickneubrand
Wed Aug 07, 2013 8:04 am
Forum: Camera board
Topic: Video4Linux2 driver ready!
Replies: 164
Views: 88821

Re: Video4Linux2 driver ready!

Come to find out it was a few directory issues that I worked out. The thing works great and I'm getting pretty darn good results. I would guess around 8fps. Thanks for the driver!
by nickneubrand
Wed Aug 07, 2013 3:43 am
Forum: Camera board
Topic: Video4Linux2 driver ready!
Replies: 164
Views: 88821

Re: Video4Linux2 driver ready!

Again, ran the entire install for a second time, by running everything on http://www.linux-projects.org/modules/sections/index.php?op=viewarticle&artid=14 and it tells me: "uv4l is already the newest version." "uv4l-raspicam is already the newest version" Then from the desktop, right clicked my .py ...
by nickneubrand
Tue Aug 06, 2013 2:37 pm
Forum: Camera board
Topic: Video4Linux2 driver ready!
Replies: 164
Views: 88821

Re: Video4Linux2 driver ready!

I'll give it another shot, but when I ran the update code you posted I got an error saying command not found. So I went the the link and saw: $ sudo apt-get update $ sudo apt-get install uv4l uv4l-raspicam The last two commands will upgrade UV4L to the most recent version, if it's already installed....
by nickneubrand
Tue Aug 06, 2013 4:03 am
Forum: Camera board
Topic: Video4Linux2 driver ready!
Replies: 164
Views: 88821

Re: Video4Linux2 driver ready!

Thanks for the useful response: Sadly I guess it's just not working for me. I've been trying to run: import pygame,sys import pygame.camera import shelve from pygame.locals import * pygame.init() pygame.camera.init() screen = pygame.display.set_mode([640,480]) cam = pygame.camera.Camera("/dev/video0...
by nickneubrand
Sun Jul 28, 2013 12:27 am
Forum: Camera board
Topic: Video4Linux2 driver ready!
Replies: 164
Views: 88821

Re: Video4Linux2 driver ready!

Just wondering if anyone as made any progress with getting this driver to work with the camera and python. I tried to get it to work by using this driver in addition to SimpleCV and OpenCV, both seem to work as far as communicating with the camera, because the camera light does turn on. But every ti...
by nickneubrand
Thu Jul 25, 2013 7:16 am
Forum: Camera board
Topic: Video4Linux2 driver ready!
Replies: 164
Views: 88821

Re: Video4Linux2 driver ready!

Yeah I eventually got that same error from the Shell as well. I was looking for a video stream, rather than pictures. I'm trying to get a video feed in, then put graphic overlays on top of the video stream. If I find a way to get it to work, I'll post it up. Does anyone think that using OpenCV could...
by nickneubrand
Thu Jul 25, 2013 3:47 am
Forum: Camera board
Topic: Video4Linux2 driver ready!
Replies: 164
Views: 88821

Re: Video4Linux2 driver ready!

I'm having the same issue as the posts above me. I'm trying to run the raspi camera through python using /dev/video0, which wasn't working at first, now it is. Now I'm getting an error in the Shell saying that "/dev/video0 does not support streaming i/o" If anyone has some information on how to fix ...
by nickneubrand
Wed Jul 24, 2013 7:21 am
Forum: Raspbian
Topic: Editing /etc/apt/sources.list file
Replies: 6
Views: 22726

Re: Editing /etc/apt/sources.list file

Ok sounds good, but once i run that command what is going to happen? I'm new to editing these types of files through the terminal, so will I be inputing what I want through the terminal or will this open a text doc to the point where i can do a "save"? Sorry for the questions, but I need a 100% walk...
by nickneubrand
Wed Jul 24, 2013 6:26 am
Forum: Raspbian
Topic: Editing /etc/apt/sources.list file
Replies: 6
Views: 22726

Editing /etc/apt/sources.list file

Hi, I'm trying to follow the instructions on this page refering to a uv4l driver: http://www.linux-projects.org/modules/sections/index.php?op=viewarticle&artid=14 It says that I need to add a line to the etc/apt/sources.list file. After looking around for hours I found 4 ways to do it and none of th...
by nickneubrand
Thu Jun 06, 2013 7:17 am
Forum: Camera board
Topic: Driver Question
Replies: 21
Views: 3230

Re: Driver Question

After working on this for a while I finally got Python to run raspivid, but I hit a bit of a wall if anyone could make some suggestions where to go next. screen = pygame.display.set_mode([640,480]) cam = pygame.camera.Camera(subprocess.call(["raspivid -9999 -p video.h264"], shell=True,(640,480)) cam...
by nickneubrand
Tue Jun 04, 2013 3:41 am
Forum: Camera board
Topic: Driver Question
Replies: 21
Views: 3230

Driver Question

Has there been any new developments in divers to use raspberry pi camera directly in a python program. I've been trying to use it in pygame by using: cam = pygame.camera.Camera("/dev/video2", (640,480)) cam.start() which hasn't worked. I also tried using a subprocess call: cam = pygame.camera.Camera...
by nickneubrand
Sun May 19, 2013 9:15 am
Forum: Camera board
Topic: Raspivid Pygame Stream
Replies: 7
Views: 2060

Re: Raspivid Pygame Stream

Thanks for the reply, I get the concept, but honesty I think this is way out of my range of capability. I'll continue to look at it, but for my low level knowledge on linux I don't think this is going to be a viable option for me.
by nickneubrand
Sun May 19, 2013 8:27 am
Forum: Camera board
Topic: Raspivid Pygame Stream
Replies: 7
Views: 2060

Re: Raspivid Pygame Stream

im completely new to raspberry pi so i have no idea what a "pipe" is
by nickneubrand
Sun May 19, 2013 8:21 am
Forum: Camera board
Topic: Raspivid Pygame Stream
Replies: 7
Views: 2060

Re: Raspivid Pygame Stream

damn, thats upsetting
by nickneubrand
Sun May 19, 2013 5:43 am
Forum: Camera board
Topic: Raspivid Pygame Stream
Replies: 7
Views: 2060

Raspivid Pygame Stream

Hey, Does anyone know what the camera is labeled, when regarding its device name. When you use code in pygame to access a camera you use: cam = pygame.camera.Camera("/dev/video0", (640,480)) The problem is /dev/video0 doesn't work. Is there another label that I can use to get a video stream. Keep in...
by nickneubrand
Fri May 03, 2013 7:29 am
Forum: Other projects
Topic: Webcam to TFT screen
Replies: 9
Views: 4065

Re: Webcam to TFT screen

Hey, so I got my pi and wrote this code in python, using pygame: ____________________________________________________________ import pygame,sys import pygame.camera from pygame.locals import * pygame.init() pygame.camera.init() screen = pygame.display.set_mode([640,480]) cam = pygame.camera.Camera("...

Go to advanced search