Go to advanced search

by peterst
Sun Sep 27, 2015 6:48 pm
Forum: Official Foundation Display
Topic: Multiscreen=AWESOME- how to support via Python/PyGame?
Replies: 22
Views: 8364

Re: Multiscreen=AWESOME- how to support via Python/PyGame?

the touchevents are used but its not displaying the kivy output on the lcd. So I have X or a console on the LCD and the kivy project on the HDMI; when I touch the LCD touchscreen the touch-events are read (so I'm clicking on the X start button,...) and transfered into the kivy app. I think that bug ...
by peterst
Sun Sep 27, 2015 2:10 pm
Forum: Official Foundation Display
Topic: Multiscreen=AWESOME- how to support via Python/PyGame?
Replies: 22
Views: 8364

Re: Multiscreen=AWESOME- how to support via Python/PyGame?

oh, well...thats..right :) That means that it won't work at all, right?
by peterst
Sun Sep 27, 2015 1:14 pm
Forum: Official Foundation Display
Topic: Multiscreen=AWESOME- how to support via Python/PyGame?
Replies: 22
Views: 8364

Re: Multiscreen=AWESOME- how to support via Python/PyGame?

it will always run on HDMI (starting over ssh console, starting from a local console, starting from an x termina): [INFO ] [Image ] Providers: img_tex, img_dds, img_gif, img_pygame, img_pil (img_ffpyplayer ignored) [DEBUG ] [Cache ] register <kv.texture> with limit=1000, timeout=60 [DEBUG ] [Cache ]...
by peterst
Sat Sep 26, 2015 7:16 pm
Forum: Official Foundation Display
Topic: Multiscreen=AWESOME- how to support via Python/PyGame?
Replies: 22
Views: 8364

Re: Multiscreen=AWESOME- how to support via Python/PyGame?

Now executing KIVY_BCM_DISPMANX_ID=4 LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH python examples/demo/pictures/main.py -d gives me the AWESOME demo on the dsi display WITH touch! Of course with KIVY_BCM_DISPMANX_ID=5 it runs on the HDMI screen, but WITHOUT touch :lol: :lol: :lol: I have it running...
by peterst
Sat Feb 08, 2014 1:40 pm
Forum: Camera board
Topic: multi camera setup
Replies: 7
Views: 3488

Re: multi camera setup

thanks that worked fine!
by peterst
Thu Feb 06, 2014 5:38 pm
Forum: Camera board
Topic: multi camera setup
Replies: 7
Views: 3488

Re: multi camera setup

I've tried to use the --signal mode like this: /opt/vc/bin/raspistill -w 1280 -h 720 -o test%04d.jpg -ISO 500 --nopreview -s -v but after two images it ends with: Received SIGUSR1 Opening output file test0001.jpg Enabling encoder output port Starting capture 1 Finished capture 1 Waiting for SIGUSR1 ...
by peterst
Sat Jul 20, 2013 8:41 am
Forum: Camera board
Topic: RaspiFastCamD: A daemonized and FAST version of raspistill
Replies: 32
Views: 23800

Re: RaspiFastCamD: A daemonized and FAST version of raspisti

Hi, working fine now! Thanks. Would it be possible to take two pictures in different resolutions? E.g. I want to save a high resolution picture and want to display a lower one (just for preview in the framebuffer using pygame).
by peterst
Thu Jul 18, 2013 7:18 pm
Forum: Camera board
Topic: RaspiFastCamD: A daemonized and FAST version of raspistill
Replies: 32
Views: 23800

Re: RaspiFastCamD: A daemonized and FAST version of raspisti

when I try to run it I'll get:

Code: Select all

./raspifastcamd -w 200 -h 200 -o test.jpg 
mmal: main: Failed to create preview component
the normal raspistill works fine
by peterst
Wed Jul 03, 2013 7:53 pm
Forum: Graphics, sound and multimedia
Topic: Get max resolution of webcam?
Replies: 4
Views: 9996

Get max resolution of webcam?

Hi, I have to Pi's and two different cameras (EyeToy and logitech 920) and trying to take pictures with fswebcam (called by a python script). The EyeToy only worsk with 320x240 as a resolution. The Logitech camera can get up to 1280x720. Is there a way to find out the max camera resolution before ca...
by peterst
Thu Jun 20, 2013 5:45 pm
Forum: Graphics, sound and multimedia
Topic: Display Image
Replies: 7
Views: 8916

Re: Display Image

or you could start fbi image.jpg to display it (will display the image using framebuffer)
by peterst
Sat Jun 15, 2013 2:33 pm
Forum: Graphics, sound and multimedia
Topic: Photobooth - Display HD Video in Framebuffer?
Replies: 5
Views: 2951

Re: Photobooth - Display HD Video in Framebuffer?

a c++ version inside xorg isn't running faster: #include <opencv2/objdetect/objdetect.hpp> #include <opencv2/highgui/highgui.hpp> #include <opencv2/imgproc/imgproc.hpp> #include <iostream> #include <stdio.h> using namespace std; using namespace cv; int main(int argc, const char **argv) { CvCapture *...
by peterst
Sat Jun 15, 2013 1:16 pm
Forum: Graphics, sound and multimedia
Topic: Photobooth - Display HD Video in Framebuffer?
Replies: 5
Views: 2951

Re: Photobooth - Display HD Video in Framebuffer?

just tried it running x and only opencv but its still very slow
by peterst
Sat Jun 15, 2013 12:43 pm
Forum: Graphics, sound and multimedia
Topic: Photobooth - Display HD Video in Framebuffer?
Replies: 5
Views: 2951

Re: Photobooth - Display HD Video in Framebuffer?

Thanks I've tried opencv for the webcam part but still pygame to display in framebuffer import pygame import Image from pygame.locals import * import sys import cv2 import numpy cap = cv2.VideoCapture(0) i=0 def get_image(): ret, im = cap.read() im = numpy.array(im) return Image.fromarray(im) pygame...
by peterst
Thu Jun 13, 2013 5:22 pm
Forum: Graphics, sound and multimedia
Topic: Photobooth - Display HD Video in Framebuffer?
Replies: 5
Views: 2951

Photobooth - Display HD Video in Framebuffer?

Hi, I'm trying to convert my raspi into a photobooth. I have a "046d:082d Logitech, Inc. HD Pro Webcam C920" connected to my pi and trying to get the video with pygame into the framebuffer. The script looks like this: import pygame import sys import time import subprocess import pygame.camera pygame...
by peterst
Sat May 25, 2013 10:14 am
Forum: Pidora / Fedora
Topic: Pidora 18 (Raspberry Pi Fedora Remix) Release
Replies: 31
Views: 30289

Re: Pidora 18 (Raspberry Pi Fedora Remix) Release

is xbmc available in pidora?
by peterst
Sun Apr 28, 2013 7:24 pm
Forum: Networking and servers
Topic: Using raspi to display PC desktop on TV
Replies: 2
Views: 1153

Using raspi to display PC desktop on TV

Hi, what would be the easiest/best way to stream my PC desktop (mostly linux but windows would be nice too) to my raspi which is connected to a TV? Use case: I want to show everyone in the room my desktop to talk about designs/code on the big screen. So no games or fast updating images/video. VNC wo...

Go to advanced search