Quantcast
Channel: Processing Forum
Browsing all 1768 articles
Browse latest View live

Re : Capturing images from webcam

Thanks..this will only turn  on my webcam..but the issue is that  i want whenever the code is run it will automatically open the webcam and capture an image..the below program does only opening the...

View Article


Re : Capturing images from webcam

does work for me…maybe put saveFrame("line.bmp"); in the same bracket than image…?      if (webcam.available() == true) {    webcam.read();    image(webcam, 0, 0);    saveFrame("line.bmp");  }but your...

View Article


Re : Capturing images from webcam

thanx for reply..i am using windows platformIs this issue?Does is cause the same problem on LINUX OS?

View Article

Re : Capturing images from webcam

does it write the .bmp for you, and it's still blank ? Or it doesn't write the file ?

View Article

Re : Export video without SaveFrame?

I'm aware of screencasting tools, though that would add a layer of difficulty and distance that I think would keep the kids from being able to do it autonomously.If Processing well and truly has cut...

View Article


Re : Export video without SaveFrame?

Yeah. If you are on a mac, perhaps Syphon could be a viable option to include the capture from within the Processing sketch: http://syphon.v002.info/

View Article

Re : Export video without SaveFrame?

I have a rough solution that calls FFMpeg from Processing to capture directly to video from OpenGL sketches. https://forum.processing.org/topic/realtime-sketch-output-video-captureI may improve it in...

View Article

Measuring Camera Activity to activate a Video in a second Frame

Hello,I'm not very used to processing yet... I've just started making sketches a half year ago. It works very well, but nevertheless I have a problem:I just understand how I can attach videos in...

View Article


Image may be NSFW.
Clik here to view.

Re : Export video without SaveFrame?

I'm actually working through this exact problem- I initially found UMovieMaker but I tested that out last night and the files were HUGE 3.8 gigs for a quicktime movie that's less than a minute and a...

View Article


myVideo variable contains a Null but how to solve this?

This are my first steps in Programming and Processing and I wanted to several videos based on several sensor values from an arduino. However the variable myVideo gives a null and Java is not happy with...

View Article

Re : myVideo variable contains a Null but how to solve this?

The strange thing is that you don't have a variable named myVideo in your code... I will suppose you were talking about myMovie!This variable is null by default, and will change only if you call...

View Article

Re : gesture control interface

I assume that the code above is working...and you are able to move the blob with the arduino controller.Then you can probably try this code:import java.awt.AWTException;import java.awt.Robot; Robot...

View Article

Re : gesture control interface

Also you can try NirCmd.There is a cmd for moving a cursor, so you need to execute the nircmd.exe from within the processing sketch.

View Article


Re : Need help, Null pointer exception

Sorry this is not the full code as it is too long, i tried to shorten it and must of cut a bit out by mistake, I do have all the files in a data file of the sketch and have tried replacing them incase...

View Article

Re : Need help, Null pointer exception

Good idea...A bit of code to get you started:String[] fileNames = {"D1.wav","C#1.wav","A1.wav","A#1.wav","F1.wav","D#1.wav","E1.wav","C1.wav","G#1.wav","G1.wav","G#1.wav","B1.wav",};Movie[] movies =...

View Article


Note that Serial now resets most Arduino boards

After updating from Processing 1.51 to the latest version of Processing 2 I found that my serial communication with an Arduino Uno no longer functioned as expected.  This problem persisted even though...

View Article

ASCII ETX

Hey.Does anyone know how to send an ASCII ETX via Serial.write?I own an old HP 7475A Pen Plotter and i try to reset the Label Function an get back into normal instruction.I´m distressed.Kind...

View Article


Re : ASCII ETX

ETX (end of text) has the Ascii code 3.You can enter a numerical code directly in a char variable:char ETX = 3;then you can write it.

View Article

Record limited sample from LineIn using MInim?

Hi all, I am new to processing (so pelase bear with me) and I am trying to use the minim audio library to record an audio sample 500mS long. But in all the audio recording samples i have seen , the...

View Article

Re : Capturing images from webcam

Just to throw it out there, the code also works on my machine (windows 7 with processing 2b08).

View Article
Browsing all 1768 articles
Browse latest View live