We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
Page Index Toggle Pages: 1
Webcam (Read 2658 times)
Webcam
Apr 26th, 2005, 5:37pm
 
hi,

i want to use a webcam to track videoinformation. I want to use JMyron Plugin to realise that, but i get this error message:

Usage: java [-options] class [args...]
          (to execute a class)
  or  java -jar [-options] jarfile [args...]
          (to execute a jar file)

where options include:
   -client        to select the "client" VM
   -server        to select the "server" VM
   -hotspot        is a synonym for the "client" VM  [deprecated]
                 The default VM is client.

   -cp -classpath <directories and zip/jar files separated by ;>
                 set search path for application classes and resources
   -D<name>=<value>
                 set a system property
   -verbose[:class|gc|jni]
                 enable verbose output
   -version      print product version and exit
   -showversion  print product version and continue
   -? -help      print this help message
   -X            print help on non-standard options
   -ea[:<packagename>...|:<classname>]
   -enableassertions[:<packagename>...|:<classname>]
                 enable assertions
   -da[:<packagename>...|:<classname>]
   -disableassertions[:<packagename>...|:<classname>]
                 disable assertions
   -esa | -enablesystemassertions
                 enable system assertions
   -dsa | -disablesystemassertions
                 disable system assertions

Iam using Processing 0.69 and java 1.4

Thanks for answers

Re: Webcam
Reply #1 - Apr 26th, 2005, 7:18pm
 
Hello orange_dot!!!
I am looking for answers on the same topic!!!!
I am using the new processing 0085 Beta and came across the Myron.
(platform:windows 2000 java 1.5)

Now I have installed all the video components that should be used with a regular movie capture - and it works - so my system is ready for webcam capture and manipulation.
However I cannot make Myron work - I think it works only on previous versions of processing, and I think most of my problem is that the myron components are placed in the wrong place. I know the myron plugin was created on 2004 - and that it reffers to older proccesing versions.
Actually I do not know whether the malfunction is caused by incompatibility or because of processing not finding the correct dll's.
Do you know something I don't, orange_dot??
Or anyone else...
Thank you

Re: Webcam
Reply #2 - Apr 26th, 2005, 8:25pm
 
I recommend writing to the Myron team directly. Myron is a contributed library and I don't think they often look at this board. If you find answers, please post them here for others to learn from.

Thinking a bit more...
1. If you are using 69, please upgrade to using the 85+ (BETA)
2. I don't think Myron has been modified to work with the (BETA) yet. Please try using the Capture class from the  Video Library.
http://processing.org/reference/libraries/video/
Re: Webcam
Reply #3 - Apr 27th, 2005, 10:47pm
 
I submitted a bug report to Myron about compatibility with 0085. Hopefully they will respond soon.
Re: Webcam
Reply #4 - May 20th, 2005, 11:22pm
 
fyi.

I'm using eclipse, have imported processing.core.* and created a class that extends PApplet. I've managed to use JMyron, with a few quirks.. It seems to get an image and can recognise globs, though spiting out pixel values doesnt work properly (sends out an int that pixels[] doesnt like)... Anyway, there is hope for those who really want to do it with the beta until the JMyron crew get a new version out. Will post again if I find out more. Unfortunately I couldnt get OpenGL working (which is the reason I'm tryng the beta in the first place). Can't win em all I guess.. -p
Re: Webcam
Reply #5 - May 22nd, 2005, 4:09pm
 
I've got around the whole JMyron problem by using v3ga's blob detection library inside my code. The blobDetection class is reasonably isolated so it's fairly easy to extract data from it once you've played around with for a while.

Original:

http://www.v3ga.net/show.php?id=12&type=0

Updated for Beta:

http://www.robotacid.com/PBeta/blobV3ga.pde

v3ga has already released a library in the reference section that does what the above code does and more. Still, the code above is simple enough to sift through and get a feel for what's going on and come up with new ideas on how this stuff can be implemented.
Re: Webcam
Reply #6 - May 23rd, 2005, 3:36pm
 
A new version of JMyron is now available for public download , and it works with Processing 0090. Please download this and try it out, and post more bugs to the system is you're having trouble getting it to run. I've only actually tested it on Processing 0090 so far.

On that note, Java users in Eclipse will now be able to properly import JMyron because it's in its own namespace.

http://webcamxtra.sourceforge.net
Re: Webcam
Reply #7 - May 23rd, 2005, 8:08pm
 
Josh Nimoy wrote on May 23rd, 2005, 3:36pm:
A new version of JMyron is now available for public download , and it works with Processing 0090. Please download this and try it out, and post more bugs to the system is you're having trouble getting it to run. I've only actually tested it on Processing 0090 so far.

On that note, Java users in Eclipse will now be able to properly import JMyron because it's in its own namespace.

http://webcamxtra.sourceforge.net

Thank a lot, Josh Nimoy
Re: Webcam
Reply #8 - Jun 13th, 2005, 12:37am
 
Hello,
Does anyone know about this problem?
Can I get some help please?

I downloaded new version of jmyron for processing 0090,
and followed installation instruction,
but it seems it is not working.
When I run 'Myron_simpleCamera' example,
this error message appeared in the window.

java.lang.UnsatisfiedLinkError: native_start

Thank you.
Re: Webcam
Reply #9 - Jun 13th, 2005, 7:19pm
 
I'm using JMyron Beta 2.3 together with processing 91. It works quite fine - at least in OSX.
Page Index Toggle Pages: 1