MRL OpenCv , tracking.

Hello , my name is Leonard and am studying automation engineer here in Greece , i have taken a project so am still learning moving from theory to real action :D , i was searching the net for tracking systems found out opencv then i learned that working with it on raspi is a pain in the ,,,, so after 2 weeks i found out about MRL and i was so happy xD so first of all big thanks u made my work easier , now lets begin :

Downloaded and installed MRL  
Installed all packs
Connected my arduino ( 2 servos + a cam) , for tracking.
Started MRL , started arduino servc , checked my servos "ALL GOOD" "Cam:Worky normaly at pc" .
Went at python Typed this code that i found here :

tracker = Runtime.createAndStart("tracker","Tracking")
Tried to run it , didnt started opencv and so on , ive sended a Noworky , 
Tried to open opencv it gives me this error :

NoClassDefFoundError com/googlecode/javacv/cpp/opencv_core$lpllmage .

*Note : am thinking maybe my cam isnt working well with opencv and such thats why its giving me this error , 
Going to python now runing the code above : 

1689815 [Thread-50] ERROR class org.myrobotlab.framework.Service  - Python error - ------Traceback (most recent call last):

In that chaos error i managed to see an error at line 1 it says xD not rly sure what that means.

Anyways ill wait till next week to get my camera for raspi and move MRL there since my project is to make a robot following  a color,an object,a face ... wait a sec ... please tell me that MRL can work on raspi without the need of the pc ? i mean autonomous not like now with arduino and camera etc.

Well thats all thanks again .

Alessandruino's picture

Hi badsoap and welcome :)

Hi badsoap and welcome :)

The problem is with opencv... You are using a raspi right?

Let us check dependencies and opencv native files... We ll let you know how to proceed soon

BadSoap's picture


Hello , no am currently using pc, ill be using raspi next week though  i might have same problem there too so please take your time do your best and thank you so much for this.

Alessandruino's picture

ok bad soap.... i see you are

ok bad soap.... i see you are running on a windows 32 bit machine...right?

1) run mrl, start opencv service and then hit the capture button...then send noworky

2) post a screenshot of the contenent of the libraries/jar folder and the libraries/native/x86.32 folder please

bensonofjohn's picture

I'm experiencing the same or

I'm experiencing the same or similar condition. I can't start the InMoov service as it fails with the log file message

26946 [runtime] INFO  class org.myrobotlab.framework.repo.Repo  - checking peer org.myrobotlab.service.OpenCV dependencies
26946 [runtime] ERROR class org.myrobotlab.framework.Service  - NoClassDefFoundError com/googlecode/javacv/cpp/opencv_core$IplImage
26947 [runtime] ERROR class org.myrobotlab.logging.Logging  - ------
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.myrobotlab.framework.Service.invokeOn(
at org.myrobotlab.framework.Service.invoke(
at Source)
Caused by: java.lang.NoClassDefFoundError: com/googlecode/javacv/cpp/opencv_core$IplImage
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Unknown Source)
at java.lang.Class.privateGetMethodRecursive(Unknown Source)
at java.lang.Class.getMethod0(Unknown Source)
at java.lang.Class.getMethod(Unknown Source)
at org.myrobotlab.framework.Peers.getPeers(
at org.myrobotlab.framework.Peers.getPeers(
at org.myrobotlab.framework.repo.Repo.isServiceTypeInstalled(
at org.myrobotlab.framework.repo.Repo.isServiceTypeInstalled(
at org.myrobotlab.framework.repo.Repo.isServiceTypeInstalled(
at org.myrobotlab.service.Runtime.createService(
at org.myrobotlab.service.Runtime.create(
at org.myrobotlab.service.Runtime.createAndStart(
... 8 more
Caused by: java.lang.ClassNotFoundException: com.googlecode.javacv.cpp.opencv_core$IplImage
at Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 21 more

I'm assuming it is related to the the issue when I try to install all and it No Worky with one download

info retrieve edu.northwestern.topcodes.1.0 
error download failed: edu.northwestern.topcodes#topcodes;1.0!JavaWebCam.dll(native) 
It appears that the opencv files are missing. This is on Windows 8.1 32bit.
bensonofjohn's picture

kwatter gave me the answer,

kwatter gave me the answer, use an older version of MRL. OpenCV works for me with version 1.0.97.