Anyone using Processing w/ Pi camera successfully? I have tried 3 different Jessie installations and gotten nowhere. I even installed the experimental Jessie image for Pi 3 linked to in this post: https://github.com/processing/processin ... spberry-Pi
And the Video library will not even install. On my other attempts I got the Processing Video library to install but when trying to open up a capture stream from the Pi camera, it doesn't work, complaining that no camera can be found. The camera works fine with "raspistill" on the command line.
The work done to get Processing running well on the Pi is amazing, and I have a project that requires capturing video when triggered by a sensor, very basic stuff. I know Processing the best, and that's why I need to build it with that. I know something similar can be done with Python, but I don't have time to learn it as well as I need to before the deadline.
Thanks for anyone who can shed some light.
cheers
RL
-
- Posts: 12
- Joined: Mon Apr 11, 2016 12:53 am
Processing+Pi3+Camera = ?
Last edited by richardlikely on Mon Apr 11, 2016 5:44 pm, edited 1 time in total.
Re: Processing+Pi3+Camera = ?
Is the PiCamera activated in the setup?
Raspistill and Raspivid are both included in the Jessie package normally
with python you have to import the picamera module
import picamera
camera=picamera.PiCamera()
cf http://picamera.readthedocs.org/en/rele ... start.html
Raspistill and Raspivid are both included in the Jessie package normally
with python you have to import the picamera module
import picamera
camera=picamera.PiCamera()
cf http://picamera.readthedocs.org/en/rele ... start.html
-
- Posts: 12
- Joined: Mon Apr 11, 2016 12:53 am
Re: Processing+Pi3+Camera = ?
Hi Maikoule
Thanks for the reply. Camera is enabled. I really need to work in Processing, so using Python won't help. :-/
RL
Thanks for the reply. Camera is enabled. I really need to work in Processing, so using Python won't help. :-/
RL
Re: Processing+Pi3+Camera = ?
Try
This enables the official V4L2 driver for the Pi Camera.
ghans
Code: Select all
sudo modprobe bcm2835-v4l2
ghans
• Don't like the board ? Missing features ? Change to the prosilver theme ! You can find it in your settings.
• Don't like to search the forum BEFORE posting 'cos it's useless ? Try googling : yoursearchtermshere site:raspberrypi.org
• Don't like to search the forum BEFORE posting 'cos it's useless ? Try googling : yoursearchtermshere site:raspberrypi.org
-
- Posts: 12
- Joined: Mon Apr 11, 2016 12:53 am
Re: Processing+Pi3+Camera = ?
Than you ghans
ran the command, that went well. Now Processing complains "No such Gstreamer factory: v4l2src" and the sketch hangs when trying to capture the camera.
ran the command, that went well. Now Processing complains "No such Gstreamer factory: v4l2src" and the sketch hangs when trying to capture the camera.
-
- Posts: 2
- Joined: Tue Apr 12, 2016 11:04 pm
Re: Processing+Pi3+Camera = ?
I've been trying to do something similar. I was able to get rid of these errors by installing gstreamer 0.10 and gstreamer 1.0. I think I used the recommended commands on this page:
https://github.com/processing/processin ... spberry-Pi
After doing this, I was able to get a usb webcam to work (kind of) but it still does not recognize the piCamera. If anyone finds a different solution for this, I'm all ears too.
https://github.com/processing/processin ... spberry-Pi
After doing this, I was able to get a usb webcam to work (kind of) but it still does not recognize the piCamera. If anyone finds a different solution for this, I'm all ears too.
-
- Posts: 12
- Joined: Mon Apr 11, 2016 12:53 am
Re: Processing+Pi3+Camera = ?
m_alex_morris wrote:I've been trying to do something similar. I was able to get rid of these errors by installing gstreamer 0.10 and gstreamer 1.0. I think I used the recommended commands on this page:
https://github.com/processing/processin ... spberry-Pi
After doing this, I was able to get a usb webcam to work (kind of) but it still does not recognize the piCamera. If anyone finds a different solution for this, I'm all ears too.
Yeah I have to try to build this thing with Python now. If I can pull it off, it will probably run faster anyway.