Hi All,

My name is bharath . I am from India . I started to see myrobotlab quite exciting . I am trying to run different services. I am using the opencv. In that service I want to open a static image. I followed the class files of myrobotlab . I got the reference from below link 

http://rawgit.com/MyRobotLab/myrobotlab/master/javadoc/index.html?overv…

Now I am tring to run the following code , It is showing the following error . I am also new to jython. You can feel free to point out the problem 

regards

Bharath 

GroG

9 years 10 months ago

Hello bharath and Welcome !

Typically you might want to go to a service page to check out how to use a service. 
A list of services is here http://myrobotlab.org/matrix.php 

Each Service will have an example Python which should work .. if it doesn't let us know immediately, and we will fix it.  I can see you want to use an image file as input, and I have added it to the Service page script.

You will need to comment out the opencv.capture() and uncomment the opencv.captureFromImageFile("C:\somePicture.jpg") .  Indentation is very important in Python.

You should get the following.