Myron/WebCamXtra Motion Detection ¤ Color Tracking ¤ Glob Distinction ¤ Pixel Adressing ¤ For the Common Man


Home
Download
SVN
Reference
Learning

Join Email List
Messageboards
Report Bugs
Request Features
FAQ
Screenshots
RSS Feeds

Credits

Donations
Learning

JMyron "Hello World" in Processing.

Download and unzip the "JMyron for Processing" package onto your desktop. Open the text file HowToInstall.txt and follow the directions in order to install the JMyron library into your copy of Processing.

Create an empty sketch, and choose the menu "Sketch > Import Library > JMyron" and you will see "import JMyron.*;" appear at the top of the sketch. Then type the following piece of code in and press play.


import JMyron.*;
void setup(){
JMyron m = new JMyron();
println(m.version());
}

Nothing will show up on the sketch window, but look at the print output part of the Processing editor. You should see something like this:

BETA 2.1
 


That is a string that was returned by the function m.version() . If this works then try moving on to the included example called Myron_simpleCamera.



SourceForge.net Logo