So I have been trying to get face recognition working for a couple weeks now.  I burned up my first LifeCam HD-3000 with a crappy USB Hub, it also took out my Xbox Kinect 360, it was dark days...  I was able to get a new Kinect the same day for $25 from a local game store, I had to order a new LifeCam which came yesterday.  So I started up this work again.  The issue I have been having is that when I attempt to train via the OpenCV feed it does not populate photos into the training folder. It actually will lock up the OpenCV tab I have open and I seem to have to restart MRL to get everything back again. So, I am using a super simple script to start up OpenCV:

opencv = Runtime.createAndStart("opencv","OpenCV")
opencv.addFilter("pdown","PyramidDown")
opencv.setDisplayFilter("pdown")
opencv.capture()
 
I then add the filter Face Recognition (facerec) from the OpenCV tab.  I then select opencv.facerec for input.
I added my name in Name and clicked Train. If I do it fast enough it doesn't lock up OpenCV otherwise it does. This is what my screen looks like:
When I look in the training folder it is empty...  I am not sure exactly what format you need to have for the ones you add into that folder so it will properly learn from other photos, but that may be helpful to know.  
 
So when I look at the log this seems to be what is happening behind the curtain:

12:57:32.858 [opencv_videoProcessor] INFO  c.myrobotlab.opencv.OpenCVFilter - Training Mode for Kyle.

12:57:33.173 [AWT-EventQueue-0] WARN  c.myrobotlab.opencv.OpenCVFilter - No image filter file found.  /Users/kyleclinton/Documents/MyRobotLab/src/resource/facerec/Filter.png

12:57:33.173 [AWT-EventQueue-0] INFO  c.myrobotlab.opencv.OpenCVFilter - Using /Users/kyleclinton/Documents/MyRobotLab/training for training data.

12:57:33.244 [AWT-EventQueue-0] INFO  c.myrobotlab.opencv.OpenCVFilter - No labeled images loaded. training skipped.

 
 
If anyone has any pointers on how I can either train with images taken from elsewhere and placed into the training folder OR if there is a step I am missing on training with the openCV video feed.  I would really like to be able to have Junior use training when talking to someone. Then be able to recognize their face when they see them again. I am thinking I would have it change the predicate in ProgramAB once it has figured out their name and done the openCV Face Recognition Train.  It seems that something is just not flowing right and I can't seem to figure it out what I am missing from watching kwatters how-to video or blog posts.
 
Any help is appreciated!
 
Kyle 
 

 

kyle.clinton

7 years 4 months ago

09:08:28.008 [main] INFO c.m.s.Runtime [Runtime.java:1205] -service webgui WebGui log Log cli Cli gui GUIService python Python -fromAgent
09:08:28.022 [main] INFO c.m.f.Service [Service.java:988] getMessageSet loading 251 non-sub-routable methods
09:08:28.025 [main] INFO c.m.f.Service [Service.java:1453] cfg file /Users/kyleclinton/Documents/MyRobotLab/.myrobotlab/runtime.json does not exist
09:08:28.102 [main] INFO c.m.f.r.ServiceData [ServiceData.java:78] try #1 loading local file /Users/kyleclinton/Documents/MyRobotLab/.myrobotlab/serviceData.json
09:08:28.129 [main] INFO c.m.s.Runtime [Runtime.java:1675] ============== args begin ==============
09:08:28.134 [main] INFO c.m.s.Runtime [Runtime.java:1687] jvmArgs [-Djava.library.path=libraries/native, -Djna.library.path=libraries/native]
09:08:28.135 [main] INFO c.m.s.Runtime [Runtime.java:1689] args [-service, webgui, WebGui, log, Log, cli, Cli, gui, GUIService, python, Python, -fromAgent]
09:08:28.135 [main] INFO c.m.s.Runtime [Runtime.java:1691] ============== args end ==============
09:08:28.136 [main] INFO c.m.s.Runtime [Runtime.java:1693] ============== env begin ==============
09:08:28.140 [main] INFO c.m.s.Runtime [Runtime.java:1698] DYLD_LIBRARY_PATH='pwd'/libraries/native:'pwd'/libraries/native/x86.64.mac:${DYLD_LIBRARY_PATH}
09:08:28.141 [main] INFO c.m.s.Runtime [Runtime.java:1698] PATH=/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin
09:08:28.141 [main] INFO c.m.s.Runtime [Runtime.java:1698] JAVA_ARCH=x86_64
09:08:28.141 [main] INFO c.m.s.Runtime [Runtime.java:1698] TERM=xterm-256color
09:08:28.142 [main] INFO c.m.s.Runtime [Runtime.java:1698] LANG=en_US.UTF-8
09:08:28.142 [main] INFO c.m.s.Runtime [Runtime.java:1698] LOGNAME=kyleclinton
09:08:28.142 [main] INFO c.m.s.Runtime [Runtime.java:1698] TERM_PROGRAM_VERSION=361.1
09:08:28.142 [main] INFO c.m.s.Runtime [Runtime.java:1698] PWD=/Users/kyleclinton/Documents/MyRobotLab
09:08:28.143 [main] INFO c.m.s.Runtime [Runtime.java:1698] XPC_SERVICE_NAME=0
09:08:28.143 [main] INFO c.m.s.Runtime [Runtime.java:1698] _=/usr/bin/java
09:08:28.143 [main] INFO c.m.s.Runtime [Runtime.java:1698] JAVA_MAIN_CLASS_9776=org.myrobotlab.service.Agent
09:08:28.144 [main] INFO c.m.s.Runtime [Runtime.java:1698] JAVA_MAIN_CLASS_9777=org.myrobotlab.service.Runtime
09:08:28.144 [main] INFO c.m.s.Runtime [Runtime.java:1698] SHELL=/bin/bash
09:08:28.144 [main] INFO c.m.s.Runtime [Runtime.java:1698] TERM_PROGRAM=Apple_Terminal
09:08:28.145 [main] INFO c.m.s.Runtime [Runtime.java:1698] SECURITYSESSIONID=186a7
09:08:28.145 [main] INFO c.m.s.Runtime [Runtime.java:1698] OLDPWD=/Users/kyleclinton/Documents
09:08:28.145 [main] INFO c.m.s.Runtime [Runtime.java:1698] USER=kyleclinton
09:08:28.146 [main] INFO c.m.s.Runtime [Runtime.java:1698] TMPDIR=/var/folders/vd/vkd5tc_54sj5n1frff8_1b2h0000gn/T/
09:08:28.146 [main] INFO c.m.s.Runtime [Runtime.java:1698] SSH_AUTH_SOCK=/private/tmp/com.apple.launchd.CiybPIUmnf/Listeners
09:08:28.146 [main] INFO c.m.s.Runtime [Runtime.java:1698] XPC_FLAGS=0x0
09:08:28.146 [main] INFO c.m.s.Runtime [Runtime.java:1698] TERM_SESSION_ID=FC4E2B44-ECB6-490C-A153-AD88286A5FE7
09:08:28.147 [main] INFO c.m.s.Runtime [Runtime.java:1698] __CF_USER_TEXT_ENCODING=0x1F5:0x0:0x0
09:08:28.147 [main] INFO c.m.s.Runtime [Runtime.java:1698] Apple_PubSub_Socket_Render=/private/tmp/com.apple.launchd.rcIMw9ftZO/Render
09:08:28.148 [main] INFO c.m.s.Runtime [Runtime.java:1698] com.apple.java.jvmTask=CommandLine
09:08:28.149 [main] INFO c.m.s.Runtime [Runtime.java:1698] SHLVL=1
09:08:28.150 [main] INFO c.m.s.Runtime [Runtime.java:1698] HOME=/Users/kyleclinton
09:08:28.152 [main] INFO c.m.s.Runtime [Runtime.java:1700] ============== env end ==============
09:08:28.152 [main] INFO c.m.s.Runtime [Runtime.java:1704] ============== normalized ==============
09:08:28.153 [main] INFO c.m.s.Runtime [Runtime.java:1705] 2016/11/24 09:08:28 - GMT - 2016/11/24 15:08:28
09:08:28.164 [main] INFO c.m.s.Runtime [Runtime.java:1706] Pid 9777
09:08:28.164 [main] INFO c.m.s.Runtime [Runtime.java:1707] ivy [runtime,x86.64.mac]
09:08:28.165 [main] INFO c.m.s.Runtime [Runtime.java:1708] os.name [Mac OS X] getOS [mac]
09:08:28.165 [main] INFO c.m.s.Runtime [Runtime.java:1709] os.arch [x86_64] getArch [x86]
09:08:28.165 [main] INFO c.m.s.Runtime [Runtime.java:1710] getBitness [64]
09:08:28.166 [main] INFO c.m.s.Runtime [Runtime.java:1711] java.vm.name [Java HotSpot(TM) 64-Bit Server VM] getVMName

09:08:28.166 [main] INFO c.m.s.Runtime [Runtime.java:1712] version [1.0.1786]
09:08:28.166 [main] INFO c.m.s.Runtime [Runtime.java:1713] root [/Users/kyleclinton/Documents/MyRobotLab/myrobotlab.jar]
09:08:28.167 [main] INFO c.m.s.Runtime [Runtime.java:1714] cfg dir [/Users/kyleclinton/Documents/MyRobotLab/.myrobotlab]
09:08:28.167 [main] INFO c.m.s.Runtime [Runtime.java:1715] sun.arch.data.model [64]
09:08:28.167 [main] INFO c.m.s.Runtime [Runtime.java:1717] ============== non-normalized ==============
09:08:28.168 [main] INFO c.m.s.Runtime [Runtime.java:1718] java.vm.name [Java HotSpot(TM) 64-Bit Server VM]
09:08:28.168 [main] INFO c.m.s.Runtime [Runtime.java:1719] java.vm.version [25.112-b16]
09:08:28.168 [main] INFO c.m.s.Runtime [Runtime.java:1720] java.vm.vendor [Oracle Corporation]
09:08:28.168 [main] INFO c.m.s.Runtime [Runtime.java:1721] java.vm.version [25.112-b16]
09:08:28.168 [main] INFO c.m.s.Runtime [Runtime.java:1722] java.vm.vendor [1.8.0_112-b16]
09:08:28.169 [main] INFO c.m.s.Runtime [Runtime.java:1725] os.version [10.11.6]
09:08:28.169 [main] INFO c.m.s.Runtime [Runtime.java:1726] os.version [10.11.6]
09:08:28.169 [main] INFO c.m.s.Runtime [Runtime.java:1728] java.home [/Library/Java/JavaVirtualMachines/jdk1.8.0_112.jdk/Contents/Home/jre]
09:08:28.169 [main] INFO c.m.s.Runtime [Runtime.java:1729] java.class.path [/Users/kyleclinton/Documents/MyRobotLab/myrobotlab.jar:./libraries/jar/jython.jar:./libraries/jar/bridj-0.6.2.jar:./libraries/jar/commons-codec-1.9.jar:./libraries/jar/commons-collections-3.2.1.jar:./libraries/jar/commons-io-2.3.jar:./libraries/jar/commons-lang-2.6.jar:./libraries/jar/commons-logging-1.2.jar:./libraries/jar/emotionml-checker-java-1.1.jar:./libraries/jar/freetts-de-1.0.jar:./libraries/jar/freetts-en_us-1.0.jar:./libraries/jar/freetts.jar:./libraries/jar/hsqldb-2.0.0.jar:./libraries/jar/httpclient-4.5.2.jar:./libraries/jar/httpcore-4.4.4.jar:./libraries/jar/icu4j-54.1.1.jar:./libraries/jar/javacpp.jar:./libraries/jar/javacv.jar:./libraries/jar/jl1.0.1.jar:./libraries/jar/json-20090211.jar:./libraries/jar/jssc-2.8.0.jar:./libraries/jar/jtok-core-1.9.1.jar:./libraries/jar/LeapJava.jar:./libraries/jar/log4j-1.2.16.jar:./libraries/jar/marytts-common-5.1.2.jar:./libraries/jar/marytts-lang-de-5.1.2.jar:./libraries/jar/marytts-lang-en-5.1.2.jar:./libraries/jar/marytts-lang-fr-5.1.2.jar:./libraries/jar/marytts-lang-it-5.1.2.jar:./libraries/jar/marytts-lang-ru-5.1.2.jar:./libraries/jar/marytts-lang-sv-5.1.2.jar:./libraries/jar/marytts-lang-te-5.1.2.jar:./libraries/jar/marytts-lang-tr-5.1.2.jar:./libraries/jar/marytts-runtime-5.1.2.jar:./libraries/jar/marytts-signalproc-5.1.2.jar:./libraries/jar/mp3spi1.9.5.jar:./libraries/jar/noggit-0.5.jar:./libraries/jar/opencv-macosx-x86_64.jar:./libraries/jar/opencv.jar:./libraries/jar/opennlp-tools-1.6.0.jar:./libraries/jar/opennlp-uima-1.6.0.jar:./libraries/jar/program-ab-kw-0.0.1.jar:./libraries/jar/SimpleOpenNI.jar:./libraries/jar/solr-solrj-4.10.2.jar:./libraries/jar/sosia.jar:./libraries/jar/tritonus_share-0.3.6.jar:./libraries/jar/videoinput.jar:./libraries/jar/voice-cmu-bdl-hsmm-5.2.jar:./libraries/jar/voice-cmu-slt-hsmm-5.1.2.jar:./libraries/jar/webcam-capture-0.3.10.jar:./bin:./build/classes]
09:08:28.170 [main] INFO c.m.s.Runtime [Runtime.java:1730] java.library.path [libraries/native]
09:08:28.170 [main] INFO c.m.s.Runtime [Runtime.java:1731] user.dir [/Users/kyleclinton/Documents/MyRobotLab]
09:08:28.170 [main] INFO c.m.s.Runtime [Runtime.java:1733] user.home [/Users/kyleclinton]
09:08:28.171 [main] INFO c.m.s.Runtime [Runtime.java:1734] total mem [61] Mb
09:08:28.172 [main] INFO c.m.s.Runtime [Runtime.java:1735] total free [51] Mb
09:08:28.178 [main] INFO c.m.s.Runtime [Runtime.java:1736] total physical mem [4096] Mb
09:08:28.179 [main] INFO c.m.s.Runtime [Runtime.java:1738] getting local repo
09:08:28.180 [main] INFO c.m.s.Runtime [Runtime.java:331] Runtime.createService cli
09:08:28.182 [main] INFO c.m.f.Service [Service.java:988] getMessageSet loading 156 non-sub-routable methods
09:08:28.188 [main] WARN c.m.f.Service [Service.java:1348] no such method Runtime.registered(Cli) :  - attempting upcasting
09:08:28.189 [main] WARN c.m.f.Service [Service.java:1353] ouch! need to search through 251 methods
09:08:28.193 [main] INFO c.m.s.Runtime [Runtime.java:288] createAndStartServices service count 5
09:08:28.194 [main] INFO c.m.s.Runtime [Runtime.java:294] attempting to invoke : org.myrobotlab.service.WebGui named webgui
09:08:28.194 [main] INFO c.m.s.Runtime [Runtime.java:331] Runtime.createService webgui
09:08:28.199 [main] INFO c.m.f.Service [Service.java:988] getMessageSet loading 188 non-sub-routable methods
09:08:28.203 [main] INFO c.m.f.Service [Service.java:368] setting port
09:08:28.204 [main] INFO c.m.f.Service [Service.java:391] setting reference to remote object port
09:08:28.204 [main] INFO c.m.f.Service [Service.java:368] setting sslPort
09:08:28.205 [main] INFO c.m.f.Service [Service.java:391] setting reference to remote object sslPort
09:08:28.207 [main] INFO c.m.f.Service [Service.java:368] setting root
09:08:28.207 [main] INFO c.m.f.Service [Service.java:391] setting reference to remote object root
09:08:28.208 [main] INFO c.m.f.Service [Service.java:368] setting startURL
09:08:28.208 [main] INFO c.m.f.Service [Service.java:391] setting reference to remote object startURL
09:08:28.209 [main] INFO c.m.f.Service [Service.java:368] setting servicePanels
09:08:28.209 [main] INFO c.m.f.Service [Service.java:391] setting reference to remote object servicePanels
09:08:28.209 [main] WARN c.m.f.Service [Service.java:1348] no such method Runtime.registered(WebGui) :  - attempting upcasting
09:08:28.210 [main] WARN c.m.f.Service [Service.java:1353] ouch! need to search through 251 methods
09:08:28.211 [main] WARN c.m.i.FileIO [FileIO.java:351] resource aleady exists - not extracting
09:08:28.313 [main] INFO o.a.c.AtmosphereFramework [AtmosphereFramework.java:577] Installed AtmosphereHandler org.atmosphere.nettosphere.Config$Builder$1 mapped to context-path: /stream
09:08:28.314 [main] INFO o.a.c.AtmosphereFramework [AtmosphereFramework.java:578] Installed the following AtmosphereInterceptor mapped to AtmosphereHandler org.atmosphere.nettosphere.Config$Builder$1
09:08:28.314 [main] INFO o.a.c.AtmosphereFramework [AtmosphereFramework.java:577] Installed AtmosphereHandler org.atmosphere.nettosphere.Config$Builder$1 mapped to context-path: /api
09:08:28.314 [main] INFO o.a.c.AtmosphereFramework [AtmosphereFramework.java:578] Installed the following AtmosphereInterceptor mapped to AtmosphereHandler org.atmosphere.nettosphere.Config$Builder$1
09:08:28.348 [main] WARN o.a.c.AtmosphereFramework [AtmosphereFramework.java:1455] SessionSupport error. Make sure you also define org.atmosphere.cpr.SessionSupport as a listener in web.xml, see <a href="https://github.com/Atmosphere/atmosphere/wiki/Enabling-HttpSession-Support
09:08:28.377">https://github.com/Atmosphere/atmosphere/wiki/Enabling-HttpSession-Supp…</a> [main] INFO o.a.c.AtmosphereFramework [AtmosphereFramework.java:2785] Atmosphere is using org.atmosphere.cpr.DefaultAnnotationProcessor for processing annotation
09:08:28.378 [main] INFO o.a.c.DefaultAnnotationProcessor [DefaultAnnotationProcessor.java:147] AnnotationProcessor class org.atmosphere.cpr.DefaultAnnotationProcessor$BytecodeBasedAnnotationProcessor being used
09:08:28.499 [main] INFO o.a.c.AtmosphereFramework [AtmosphereFramework.java:1728] Installed WebSocketProtocol org.atmosphere.websocket.protocol.SimpleHttpProtocol 
09:08:28.499 [main] INFO o.a.c.AtmosphereFramework [AtmosphereFramework.java:1201] Installing Default AtmosphereInterceptors
09:08:28.499 [main] INFO o.a.c.AtmosphereFramework [AtmosphereFramework.java:1220]      org.atmosphere.interceptor.CorsInterceptor : CORS Interceptor Support
09:08:28.500 [main] INFO o.a.c.AtmosphereFramework [AtmosphereFramework.java:1220]      org.atmosphere.interceptor.CacheHeadersInterceptor : Default Response's Headers Interceptor
09:08:28.501 [main] INFO o.a.c.AtmosphereFramework [AtmosphereFramework.java:1220]      org.atmosphere.interceptor.PaddingAtmosphereInterceptor : Browser Padding Interceptor Support
09:08:28.502 [main] INFO o.a.c.AtmosphereFramework [AtmosphereFramework.java:1220]      org.atmosphere.interceptor.AndroidAtmosphereInterceptor : Android Interceptor Support
09:08:28.502 [main] INFO o.a.c.AtmosphereFramework [AtmosphereFramework.java:1220]      org.atmosphere.interceptor.HeartbeatInterceptor : Heartbeat Interceptor Support
09:08:28.503 [main] INFO o.a.c.AtmosphereFramework [AtmosphereFramework.java:1220]      org.atmosphere.interceptor.SSEAtmosphereInterceptor : SSE Interceptor Support
09:08:28.504 [main] INFO o.a.c.AtmosphereFramework [AtmosphereFramework.java:1220]      org.atmosphere.interceptor.JSONPAtmosphereInterceptor : JSONP Interceptor Support
09:08:28.505 [main] INFO o.a.c.AtmosphereFramework [AtmosphereFramework.java:1220]      org.atmosphere.interceptor.JavaScriptProtocol : Atmosphere JavaScript Protocol
09:08:28.506 [main] INFO o.a.c.AtmosphereFramework [AtmosphereFramework.java:1220]      org.atmosphere.interceptor.WebSocketMessageSuspendInterceptor : org.atmosphere.interceptor.WebSocketMessageSuspendInterceptor
09:08:28.506 [main] INFO o.a.c.AtmosphereFramework [AtmosphereFramework.java:1220]      org.atmosphere.interceptor.OnDisconnectInterceptor : Browser disconnection detection
09:08:28.507 [main] INFO o.a.c.AtmosphereFramework [AtmosphereFramework.java:1220]      org.atmosphere.interceptor.IdleResourceInterceptor : org.atmosphere.interceptor.IdleResourceInterceptor
09:08:28.507 [main] INFO o.a.c.AtmosphereFramework [AtmosphereFramework.java:1210] Set org.atmosphere.cpr.AtmosphereInterceptor.disableDefaults to disable them.
09:08:28.508 [main] INFO o.a.c.AtmosphereFramework [AtmosphereFramework.java:2576] Installed AtmosphereInterceptor CORS Interceptor Support with priority FIRST_BEFORE_DEFAULT 
09:08:28.512 [main] INFO o.a.c.AtmosphereFramework [AtmosphereFramework.java:2576] Installed AtmosphereInterceptor Default Response's Headers Interceptor with priority AFTER_DEFAULT 
09:08:28.513 [main] INFO o.a.c.AtmosphereFramework [AtmosphereFramework.java:2576] Installed AtmosphereInterceptor Browser Padding Interceptor Support with priority AFTER_DEFAULT 
09:08:28.513 [main] INFO o.a.c.AtmosphereFramework [AtmosphereFramework.java:2576] Installed AtmosphereInterceptor Android Interceptor Support with priority AFTER_DEFAULT 
09:08:28.513 [main] INFO o.a.i.HeartbeatInterceptor [HeartbeatInterceptor.java:169] HeartbeatInterceptor configured with padding value 'X', client frequency 60 seconds and server frequency 0 seconds
09:08:28.514 [main] INFO o.a.c.AtmosphereFramework [AtmosphereFramework.java:2576] Installed AtmosphereInterceptor Heartbeat Interceptor Support with priority AFTER_DEFAULT 
09:08:28.514 [main] INFO o.a.c.AtmosphereFramework [AtmosphereFramework.java:2576] Installed AtmosphereInterceptor SSE Interceptor Support with priority AFTER_DEFAULT 
09:08:28.514 [main] INFO o.a.c.AtmosphereFramework [AtmosphereFramework.java:2576] Installed AtmosphereInterceptor JSONP Interceptor Support with priority AFTER_DEFAULT 
09:08:28.515 [main] INFO o.a.c.AtmosphereFramework [AtmosphereFramework.java:2576] Installed AtmosphereInterceptor Atmosphere JavaScript Protocol with priority AFTER_DEFAULT 
09:08:28.515 [main] INFO o.a.c.AtmosphereFramework [AtmosphereFramework.java:2576] Installed AtmosphereInterceptor org.atmosphere.interceptor.WebSocketMessageSuspendInterceptor with priority AFTER_DEFAULT 
09:08:28.515 [main] INFO o.a.c.AtmosphereFramework [AtmosphereFramework.java:2576] Installed AtmosphereInterceptor Browser disconnection detection with priority AFTER_DEFAULT 
09:08:28.516 [main] INFO o.a.c.AtmosphereFramework [AtmosphereFramework.java:2576] Installed AtmosphereInterceptor org.atmosphere.interceptor.IdleResourceInterceptor with priority BEFORE_DEFAULT 
09:08:28.516 [main] INFO o.a.c.AtmosphereFramework [AtmosphereFramework.java:1027] Using EndpointMapper class org.atmosphere.util.DefaultEndpointMapper
09:08:28.517 [main] WARN o.a.c.AtmosphereFramework [AtmosphereFramework.java:1033] No BroadcasterCache configured. Broadcasted message between client reconnection will be LOST. It is recommended to configure the org.atmosphere.cache.UUIDBroadcasterCache
09:08:28.518 [main] INFO o.a.c.AtmosphereFramework [AtmosphereFramework.java:1041] Default Broadcaster Class: org.atmosphere.cpr.DefaultBroadcaster
09:08:28.518 [main] INFO o.a.c.AtmosphereFramework [AtmosphereFramework.java:1042] Broadcaster Shared List Resources: false
09:08:28.518 [main] INFO o.a.c.AtmosphereFramework [AtmosphereFramework.java:1043] Broadcaster Polling Wait Time 100
09:08:28.518 [main] INFO o.a.c.AtmosphereFramework [AtmosphereFramework.java:1044] Shared ExecutorService supported: true
09:08:28.519 [main] INFO o.a.c.AtmosphereFramework [AtmosphereFramework.java:1050] Messaging Thread Pool Size: Unlimited
09:08:28.519 [main] INFO o.a.c.AtmosphereFramework [AtmosphereFramework.java:1060] Async I/O Thread Pool Size: 200
09:08:28.519 [main] INFO o.a.c.AtmosphereFramework [AtmosphereFramework.java:1066] Using BroadcasterFactory: org.atmosphere.cpr.DefaultBroadcasterFactory
09:08:28.520 [main] INFO o.a.c.AtmosphereFramework [AtmosphereFramework.java:1067] Using AtmosphereResurceFactory: org.atmosphere.cpr.DefaultAtmosphereResourceFactory
09:08:28.520 [main] INFO o.a.c.AtmosphereFramework [AtmosphereFramework.java:1068] Using WebSocketProcessor: org.atmosphere.websocket.DefaultWebSocketProcessor
09:08:28.524 [main] INFO o.a.c.AtmosphereFramework [AtmosphereFramework.java:1078] Invoke AtmosphereInterceptor on WebSocket message true
09:08:28.524 [main] INFO o.a.c.AtmosphereFramework [AtmosphereFramework.java:1079] HttpSession supported: true
09:08:28.524 [main] INFO o.a.c.AtmosphereFramework [AtmosphereFramework.java:1081] Atmosphere is using DefaultAtmosphereObjectFactory for dependency injection and object creation
09:08:28.525 [main] INFO o.a.c.AtmosphereFramework [AtmosphereFramework.java:1082] Atmosphere is using async support: org.atmosphere.container.NettyCometSupport running under container: Nettosphere/2.0
09:08:28.526 [main] INFO o.a.c.AtmosphereFramework [AtmosphereFramework.java:1084] Atmosphere Framework 2.3.0 started.
09:08:28.527 [main] INFO o.a.c.AtmosphereFramework [AtmosphereFramework.java:1086] 
 
        For Atmosphere Framework Commercial Support, visit 
        <a href="http://www.async-io.org/">http://www.async-io.org/</a> or send an email to <a href="mailto:support@async-io.org">support@async-io.org</a>
 
09:08:29.592 [main] INFO o.a.n.Nettosphere [Nettosphere.java:118] NettoSphere 2.3.0 Started.
09:08:29.593 [main] INFO c.m.s.WebGui [WebGui.java:387] WebGui webgui started on port 8888
09:08:29.593 [main] INFO c.m.s.WebGui [WebGui.java:390] auto starting default browser
09:08:30.611 [main] INFO c.m.f.Service [Service.java:2002] subscribe [cli/publishStatus ---> webgui/onStatus]
09:08:30.613 [main] INFO c.m.f.Service [Service.java:2002] subscribe [cli/publishState ---> webgui/onState]
09:08:30.613 [main] INFO c.m.f.Service [Service.java:2002] subscribe [runtime/publishStatus ---> webgui/onStatus]
09:08:30.614 [main] INFO c.m.f.Service [Service.java:2002] subscribe [runtime/publishState ---> webgui/onState]
09:08:30.615 [main] INFO c.m.f.Service [Service.java:2002] subscribe [runtime/registered ---> webgui/onRegistered]
09:08:30.615 [main] INFO c.m.f.Service [Service.java:2002] subscribe [webgui/publishStatus ---> webgui/onStatus]
09:08:30.616 [main] INFO c.m.f.Service [Service.java:2002] subscribe [webgui/publishState ---> webgui/onState]
09:08:30.616 [main] INFO c.m.f.Service [Service.java:2002] subscribe [runtime/registered ---> webgui/onRegistered]
09:08:30.617 [main] INFO c.m.f.Service [Service.java:2002] subscribe [runtime/released ---> webgui/onReleased]
09:08:30.617 [main] INFO c.m.s.Runtime [Runtime.java:294] attempting to invoke : org.myrobotlab.service.Log named log
09:08:30.617 [main] INFO c.m.s.Runtime [Runtime.java:331] Runtime.createService log
09:08:30.637 [main] INFO c.m.f.Service [Service.java:988] getMessageSet loading 171 non-sub-routable methods
09:08:30.641 [main] INFO c.m.f.Service [Service.java:368] setting publishLogEventNotifyList
09:08:30.642 [main] INFO c.m.f.Service [Service.java:391] setting reference to remote object publishLogEventNotifyList
09:08:30.643 [main] WARN c.m.f.Service [Service.java:1348] no such method Runtime.registered(Log) :  - attempting upcasting
09:08:30.643 [main] WARN c.m.f.Service [Service.java:1353] ouch! need to search through 251 methods
09:08:30.645 [main] INFO c.m.s.Runtime [Runtime.java:294] attempting to invoke : org.myrobotlab.service.Cli named cli
09:08:30.645 [main] INFO c.m.s.Runtime [Runtime.java:331] Runtime.createService cli
09:08:30.646 [main] INFO c.m.s.Cli [Cli.java:445] stdin already attached
09:08:30.646 [main] INFO c.m.s.Cli [Cli.java:456] stdout already attached
09:08:30.646 [main] INFO c.m.s.Runtime [Runtime.java:294] attempting to invoke : org.myrobotlab.service.GUIService named gui
09:08:30.646 [main] INFO c.m.s.Runtime [Runtime.java:331] Runtime.createService gui
09:08:30.666 [webgui] WARN c.m.f.Service [Service.java:1348] no such method WebGui.onRegistered(Log) :  - attempting upcasting
09:08:30.666 [webgui] WARN c.m.f.Service [Service.java:1353] ouch! need to search through 188 methods
09:08:30.667 [webgui] INFO c.m.f.Service [Service.java:2002] subscribe [log/publishStatus ---> webgui/onStatus]
09:08:30.667 [webgui] INFO c.m.f.Service [Service.java:2002] subscribe [log/publishState ---> webgui/onState]
09:08:30.681 [main] INFO c.m.f.Service [Service.java:988] getMessageSet loading 191 non-sub-routable methods
09:08:30.686 [main] INFO c.m.f.Service [Service.java:368] setting graphXML
09:08:30.687 [main] INFO c.m.f.Service [Service.java:391] setting reference to remote object graphXML
09:08:30.687 [main] INFO c.m.f.Service [Service.java:368] setting lastTabVisited
09:08:30.687 [main] INFO c.m.f.Service [Service.java:391] setting reference to remote object lastTabVisited
09:08:30.688 [main] WARN c.m.f.Service [Service.java:1348] no such method Runtime.registered(GUIService) :  - attempting upcasting
09:08:30.689 [main] WARN c.m.f.Service [Service.java:1353] ouch! need to search through 251 methods
09:08:30.694 [webgui] WARN c.m.f.Service [Service.java:1348] no such method WebGui.onRegistered(GUIService) :  - attempting upcasting
09:08:30.694 [webgui] WARN c.m.f.Service [Service.java:1353] ouch! need to search through 188 methods
09:08:30.695 [webgui] INFO c.m.f.Service [Service.java:2002] subscribe [gui/publishStatus ---> webgui/onStatus]
09:08:30.695 [webgui] INFO c.m.f.Service [Service.java:2002] subscribe [gui/publishState ---> webgui/onState]
09:08:32.474 [New I/O worker #8] INFO c.m.s.WebGui [WebGui.java:494] GET /api/messages
09:08:32.719 [New I/O worker #8] INFO c.m.s.WebGui [WebGui.java:494] POST /api/messages
09:08:32.723 [New I/O worker #8] INFO c.m.f.Service [Service.java:2002] subscribe [runtime/publishNoWorky ---> webgui/onNoWorky]
09:08:33.082 [New I/O worker #8] INFO c.m.s.WebGui [WebGui.java:494] POST /api/messages
09:08:33.083 [New I/O worker #8] INFO c.m.f.Service [Service.java:2002] subscribe [cli/getMethodMap ---> webgui/onMethodMap]
09:08:33.085 [New I/O worker #8] INFO c.m.s.WebGui [WebGui.java:494] POST /api/messages
09:08:33.091 [New I/O worker #8] INFO c.m.s.WebGui [WebGui.java:494] POST /api/messages
09:08:33.092 [New I/O worker #8] INFO c.m.f.Service [Service.java:2002] subscribe [log/getMethodMap ---> webgui/onMethodMap]
09:08:33.094 [New I/O worker #8] INFO c.m.s.WebGui [WebGui.java:494] POST /api/messages
09:08:33.099 [New I/O worker #8] INFO c.m.s.WebGui [WebGui.java:494] POST /api/messages
09:08:33.100 [New I/O worker #8] INFO c.m.f.Service [Service.java:2002] subscribe [webgui/getMethodMap ---> webgui/onMethodMap]
09:08:33.102 [New I/O worker #8] INFO c.m.s.WebGui [WebGui.java:494] POST /api/messages
09:08:33.107 [New I/O worker #8] INFO c.m.s.WebGui [WebGui.java:494] POST /api/messages
09:08:33.108 [New I/O worker #8] INFO c.m.f.Service [Service.java:2002] subscribe [runtime/getMethodMap ---> webgui/onMethodMap]
09:08:33.130 [New I/O worker #8] INFO c.m.s.WebGui [WebGui.java:494] POST /api/messages
09:08:33.163 [New I/O worker #8] INFO c.m.s.WebGui [WebGui.java:494] POST /api/messages
09:08:33.164 [New I/O worker #8] INFO c.m.f.Service [Service.java:2002] subscribe [gui/getMethodMap ---> webgui/onMethodMap]
09:08:33.166 [New I/O worker #8] INFO c.m.s.WebGui [WebGui.java:494] POST /api/messages
09:08:33.230 [New I/O worker #8] INFO c.m.s.WebGui [WebGui.java:494] POST /api/messages
09:08:33.231 [New I/O worker #8] INFO c.m.f.Service [Service.java:2002] subscribe [cli/stdout ---> webgui/onStdout]
09:08:33.233 [New I/O worker #8] INFO c.m.s.WebGui [WebGui.java:494] POST /api/messages
09:08:33.235 [New I/O worker #8] INFO c.m.f.Service [Service.java:2002] subscribe [cli/getPrompt ---> webgui/onPrompt]
09:08:33.237 [New I/O worker #8] INFO c.m.s.WebGui [WebGui.java:494] POST /api/messages
09:08:33.242 [New I/O worker #8] INFO c.m.s.WebGui [WebGui.java:494] POST /api/messages
09:08:33.243 [New I/O worker #8] INFO c.m.f.Service [Service.java:2002] subscribe [cli/publishStatus ---> webgui/onStatus]
09:08:33.245 [New I/O worker #8] INFO c.m.s.WebGui [WebGui.java:494] POST /api/messages
09:08:33.247 [New I/O worker #8] INFO c.m.f.Service [Service.java:2002] subscribe [cli/publishState ---> webgui/onState]
09:08:33.248 [New I/O worker #8] INFO c.m.s.WebGui [WebGui.java:494] POST /api/messages
09:08:33.249 [New I/O worker #8] INFO c.m.f.Service [Service.java:2002] subscribe [cli/getMethodMap ---> webgui/onMethodMap]
09:08:33.251 [New I/O worker #8] INFO c.m.s.WebGui [WebGui.java:494] POST /api/messages
09:08:33.254 [New I/O worker #8] INFO c.m.s.WebGui [WebGui.java:494] POST /api/messages
09:08:33.257 [New I/O worker #8] INFO c.m.s.WebGui [WebGui.java:494] POST /api/messages
09:08:33.258 [New I/O worker #8] INFO c.m.f.Service [Service.java:2002] subscribe [log/publishLogEvent ---> webgui/onLogEvent]
09:08:33.259 [log] INFO c.m.s.Log [Log.java:95] private subscription publishLogEvent webgui onLogEvent
09:08:33.259 [log] INFO c.m.s.Log [Log.java:116] adding addListener from log.publishLogEvent to webgui.onLogEvent
09:08:33.261 [New I/O worker #8] INFO c.m.s.WebGui [WebGui.java:494] POST /api/messages
09:08:33.263 [New I/O worker #8] INFO c.m.f.Service [Service.java:2002] subscribe [log/publishStatus ---> webgui/onStatus]
09:08:33.268 [New I/O worker #8] INFO c.m.s.WebGui [WebGui.java:494] POST /api/messages
09:08:33.271 [New I/O worker #8] INFO c.m.f.Service [Service.java:2002] subscribe [log/publishState ---> webgui/onState]
09:08:33.274 [New I/O worker #8] INFO c.m.s.WebGui [WebGui.java:494] POST /api/messages
09:08:33.276 [New I/O worker #8] INFO c.m.f.Service [Service.java:2002] subscribe [log/getMethodMap ---> webgui/onMethodMap]
09:08:33.278 [New I/O worker #8] INFO c.m.s.WebGui [WebGui.java:494] POST /api/messages
09:08:33.280 [New I/O worker #8] INFO c.m.s.WebGui [WebGui.java:494] POST /api/messages
09:08:33.282 [New I/O worker #8] INFO c.m.s.WebGui [WebGui.java:494] POST /api/messages
09:08:33.284 [New I/O worker #8] INFO c.m.f.Service [Service.java:2002] subscribe [webgui/publishShowAll ---> webgui/onShowAll]
09:08:33.286 [New I/O worker #8] INFO c.m.s.WebGui [WebGui.java:494] POST /api/messages
09:08:33.287 [New I/O worker #8] INFO c.m.f.Service [Service.java:2002] subscribe [webgui/publishHide ---> webgui/onHide]
09:08:33.290 [New I/O worker #8] INFO c.m.s.WebGui [WebGui.java:494] POST /api/messages
09:08:33.291 [New I/O worker #8] INFO c.m.f.Service [Service.java:2002] subscribe [webgui/publishShow ---> webgui/onShow]
09:08:33.293 [New I/O worker #8] INFO c.m.s.WebGui [WebGui.java:494] POST /api/messages
09:08:33.294 [New I/O worker #8] INFO c.m.f.Service [Service.java:2002] subscribe [webgui/publishSet ---> webgui/onSet]
09:08:33.296 [New I/O worker #8] INFO c.m.s.WebGui [WebGui.java:494] POST /api/messages
09:08:33.298 [New I/O worker #8] INFO c.m.f.Service [Service.java:2002] subscribe [webgui/publishStatus ---> webgui/onStatus]
09:08:33.300 [New I/O worker #8] INFO c.m.s.WebGui [WebGui.java:494] POST /api/messages
09:08:33.301 [New I/O worker #8] INFO c.m.f.Service [Service.java:2002] subscribe [webgui/publishState ---> webgui/onState]
09:08:33.303 [New I/O worker #8] INFO c.m.s.WebGui [WebGui.java:494] POST /api/messages
09:08:33.304 [New I/O worker #8] INFO c.m.f.Service [Service.java:2002] subscribe [webgui/getMethodMap ---> webgui/onMethodMap]
09:08:33.306 [New I/O worker #8] INFO c.m.s.WebGui [WebGui.java:494] POST /api/messages
09:08:33.311 [New I/O worker #8] INFO c.m.s.WebGui [WebGui.java:494] POST /api/messages
09:08:33.318 [New I/O worker #8] INFO c.m.s.WebGui [WebGui.java:494] POST /api/messages
09:08:33.321 [New I/O worker #8] INFO c.m.f.Service [Service.java:2002] subscribe [runtime/publishStatus ---> webgui/onStatus]
09:08:33.324 [New I/O worker #8] INFO c.m.s.WebGui [WebGui.java:494] POST /api/messages
09:08:33.325 [New I/O worker #8] INFO c.m.f.Service [Service.java:2002] subscribe [runtime/publishState ---> webgui/onState]
09:08:33.327 [New I/O worker #8] INFO c.m.s.WebGui [WebGui.java:494] POST /api/messages
09:08:33.328 [New I/O worker #8] INFO c.m.f.Service [Service.java:2002] subscribe [runtime/getMethodMap ---> webgui/onMethodMap]
09:08:33.329 [New I/O worker #8] INFO c.m.s.WebGui [WebGui.java:494] POST /api/messages
09:08:33.362 [New I/O worker #8] INFO c.m.s.WebGui [WebGui.java:494] POST /api/messages
09:08:33.368 [New I/O worker #8] INFO c.m.s.WebGui [WebGui.java:494] POST /api/messages
09:08:33.371 [New I/O worker #8] INFO c.m.f.Service [Service.java:2002] subscribe [gui/publishStatus ---> webgui/onStatus]
09:08:33.375 [New I/O worker #8] INFO c.m.s.WebGui [WebGui.java:494] POST /api/messages
09:08:33.376 [New I/O worker #8] INFO c.m.f.Service [Service.java:2002] subscribe [gui/publishState ---> webgui/onState]
09:08:33.378 [New I/O worker #8] INFO c.m.s.WebGui [WebGui.java:494] POST /api/messages
09:08:33.380 [New I/O worker #8] INFO c.m.f.Service [Service.java:2002] subscribe [gui/getMethodMap ---> webgui/onMethodMap]
09:08:33.383 [New I/O worker #8] INFO c.m.s.WebGui [WebGui.java:494] POST /api/messages
09:08:33.385 [New I/O worker #8] INFO c.m.s.WebGui [WebGui.java:494] POST /api/messages
09:08:34.098 [main] INFO c.m.s.GUIService [GUIService.java:345] buildTabPanels service count 5
09:08:34.193 [AWT-EventQueue-0] INFO c.m.f.Service [Service.java:2002] subscribe [cli/publishStatus ---> gui/getStatus]
09:08:34.332 [main] INFO c.m.s.Runtime [Runtime.java:294] attempting to invoke : org.myrobotlab.service.Python named python
09:08:34.333 [main] INFO c.m.s.Runtime [Runtime.java:331] Runtime.createService python
09:08:34.349 [main] INFO c.m.f.Service [Service.java:988] getMessageSet loading 171 non-sub-routable methods
09:08:34.359 [main] WARN c.m.f.Service [Service.java:1348] no such method Runtime.registered(Python) :  - attempting upcasting
09:08:34.360 [main] WARN c.m.f.Service [Service.java:1353] ouch! need to search through 251 methods
09:08:34.361 [main] INFO c.m.s.Python [Python.java:347] creating python python
09:08:34.362 [main] INFO c.m.s.Python [Python.java:533] exec(String) 
from time import sleep
from org.myrobotlab.service import Runtime
from org.myrobotlab.service import Cli
cli = Runtime.getService("cli")
from org.myrobotlab.service import GUIService
gui = Runtime.getService("gui")
from org.myrobotlab.service import Log
log = Runtime.getService("log")
from org.myrobotlab.service import Python
python = Runtime.getService("python")
from org.myrobotlab.service import Runtime
runtime = Runtime.getService("runtime")
from org.myrobotlab.service import WebGui
webgui = Runtime.getService("webgui")
 
 
09:08:34.363 [gui] WARN c.m.f.Service [Service.java:1348] no such method GUIService.registered(Python) :  - attempting upcasting
09:08:34.417 [gui] WARN c.m.f.Service [Service.java:1353] ouch! need to search through 191 methods
09:08:34.423 [webgui] WARN c.m.f.Service [Service.java:1348] no such method WebGui.onRegistered(Python) :  - attempting upcasting
09:08:34.423 [webgui] WARN c.m.f.Service [Service.java:1353] ouch! need to search through 188 methods
09:08:34.424 [webgui] INFO c.m.f.Service [Service.java:2002] subscribe [python/publishStatus ---> webgui/onStatus]
09:08:34.424 [webgui] INFO c.m.f.Service [Service.java:2002] subscribe [python/publishState ---> webgui/onState]
09:08:34.534 [New I/O worker #8] INFO c.m.s.WebGui [WebGui.java:494] POST /api/messages
09:08:34.536 [New I/O worker #8] INFO c.m.f.Service [Service.java:2002] subscribe [python/getMethodMap ---> webgui/onMethodMap]
09:08:34.537 [New I/O worker #8] INFO c.m.s.WebGui [WebGui.java:494] POST /api/messages
09:08:34.595 [AWT-EventQueue-0] INFO c.m.f.Service [Service.java:2002] subscribe [gui/publishStatus ---> gui/getStatus]
09:08:34.660 [AWT-EventQueue-0] INFO c.m.f.Service [Service.java:2002] subscribe [log/publishStatus ---> gui/getStatus]
09:08:34.820 [AWT-EventQueue-0] INFO c.m.f.Service [Service.java:2002] subscribe [runtime/publishStatus ---> gui/getStatus]
09:08:34.980 [AWT-EventQueue-0] INFO c.m.f.Service [Service.java:2002] subscribe [webgui/publishStatus ---> gui/getStatus]
09:08:35.281 [AWT-EventQueue-0] INFO c.m.c.ServiceGUI [PythonGUI.java:265] /Users/kyleclinton/Documents/MyRobotLab/.myrobotlab/untitled.swing.1.py
09:08:35.294 [main] INFO c.m.s.Python [Python.java:468] Python System Path: ['/Users/kyleclinton/Documents/MyRobotLab/libraries/jar/Lib', '/Users/kyleclinton/Documents/MyRobotLab/myrobotlab.jar/Lib', '__classpath__', '__pyclasspath__/', 'pythonModules']
09:08:35.366 [AWT-EventQueue-0] INFO c.m.f.Service [Service.java:2002] subscribe [python/publishStatus ---> gui/getStatus]
09:08:36.050 [main] INFO c.m.f.Service [Service.java:2002] subscribe [runtime/registered ---> python/onRegistered]
09:08:36.296 [main] INFO c.m.s.Python [Python.java:370] created python python
09:08:36.303 [main] INFO c.m.s.Python [Python.java:372] creating module directory pythonModules
09:08:36.337 [python] INFO c.m.i.FileIO [FileIO.java:979] looking for /resource/Python/pythonConsole.py
09:08:36.339 [python] INFO c.m.s.Python [Python.java:533] exec(String) 
import sys
from javax.swing import JFrame
from javax.swing import JPanel
from javax.swing import JLabel
from javax.swing import JTextArea
from javax.swing import JScrollPane
from javax.swing import JTabbedPane
from javax.swing import WindowConstants
from java.awt import BorderLayout
from java.lang import Boolean
 
# myService is a local variable
# created to point to this Python
# service
 
class Console:
 
  def __init__(self):
    self.stdout = None
    self.stderr = None
    
  def write(self,string):
    myService.invoke("publishStdOut", string)
    
  def attach(self):
    if (self.stdout == None):    
      self.stdout = sys.stdout
      self.stderr = sys.stderr
      sys.stdout = self
      sys.stderr = self
   
  def flush(self):
    pass
    
  def detach(self):
    if (self.stdout != None):
      sys.stdout = self.stdout
      sys.stderr = self.stderr
      self.stdout = None
      self.stderr = None
    
console = Console()
console.attach()
 
09:08:36.335 [main] INFO c.m.s.Python [Python.java:774] starting python python
09:08:36.346 [main] INFO c.m.s.Python [Python.java:779] started python python
09:08:59.336 [AWT-EventQueue-0] INFO o.m.c.w.FileUtil [FileUtil.java:52] Loaded: /Users/kyleclinton/Documents/MyRobotLab/py_scripts/junior_sight.py
09:08:59.356 [AWT-EventQueue-0] INFO c.m.c.ServiceGUI [PythonGUI.java:265] /Users/kyleclinton/Documents/MyRobotLab/py_scripts/junior_sight.py
09:09:12.947 [python] INFO c.m.s.Python [Python.java:533] exec(String) 
#from org.myrobotlab.opencv import OpenCVFilterAffine
#from org.myrobotlab.opencv import OpenCV
#from org.myrobotlab.opencv import OpenCVFilterFaceRecognition
 
opencv=Runtime.start("opencv","OpenCV")
opencv.addFilter("pdown","PyramidDown")
opencv.setDisplayFilter("pdown")
opencv.addFilter("pdown2","PyramidDown")
opencv.setDisplayFilter("pdown2")
opencv.capture()
#fr=opencv.addFilter("FaceRecognizer")
#opencv.setDisplayFilter("FaceRecognizer")
#fr.train()# it takes some time to train and be able to recognize face
 
09:09:12.965 [python.interpreter.3] INFO c.m.s.Runtime [Runtime.java:331] Runtime.createService opencv
09:09:12.992 [python.interpreter.3] INFO c.m.f.Service [Service.java:988] getMessageSet loading 208 non-sub-routable methods
09:09:13.073 [python.interpreter.3] INFO c.m.f.Service [Service.java:368] setting undockDisplay
09:09:13.074 [python.interpreter.3] INFO c.m.f.Service [Service.java:368] setting capturing
09:09:13.074 [python.interpreter.3] INFO c.m.f.Service [Service.java:368] setting streamerEnabled
09:09:13.075 [python.interpreter.3] WARN c.m.f.Service [Service.java:1348] no such method Runtime.registered(OpenCV) :  - attempting upcasting
09:09:13.076 [python.interpreter.3] WARN c.m.f.Service [Service.java:1353] ouch! need to search through 251 methods
09:09:13.078 [gui] WARN c.m.f.Service [Service.java:1348] no such method GUIService.registered(OpenCV) :  - attempting upcasting
09:09:13.078 [python] WARN c.m.f.Service [Service.java:1348] no such method Python.onRegistered(OpenCV) :  - attempting upcasting
09:09:13.078 [gui] WARN c.m.f.Service [Service.java:1353] ouch! need to search through 191 methods
09:09:13.079 [python] WARN c.m.f.Service [Service.java:1353] ouch! need to search through 171 methods
09:09:13.079 [python] INFO c.m.s.Python [Python.java:533] exec(String) 
from org.myrobotlab.service import OpenCV
opencv = Runtime.getService("opencv")
 
 
09:09:13.091 [webgui] WARN c.m.f.Service [Service.java:1348] no such method WebGui.onRegistered(OpenCV) :  - attempting upcasting
09:09:13.092 [webgui] WARN c.m.f.Service [Service.java:1353] ouch! need to search through 188 methods
09:09:13.093 [webgui] INFO c.m.f.Service [Service.java:2002] subscribe [opencv/publishStatus ---> webgui/onStatus]
09:09:13.093 [webgui] INFO c.m.f.Service [Service.java:2002] subscribe [opencv/publishState ---> webgui/onState]
09:09:13.314 [New I/O worker #8] INFO c.m.s.WebGui [WebGui.java:494] POST /api/messages
09:09:13.334 [New I/O worker #8] INFO c.m.f.Service [Service.java:2002] subscribe [opencv/getMethodMap ---> webgui/onMethodMap]
09:09:13.336 [New I/O worker #8] INFO c.m.s.WebGui [WebGui.java:494] POST /api/messages
09:09:13.346 [AWT-EventQueue-0] INFO c.m.f.Service [Service.java:2002] subscribe [opencv/publishStatus ---> gui/getStatus]
09:09:13.508 [python.interpreter.3] INFO c.m.o.VideoProcessor [VideoProcessor.java:174] added new filter opencv.pdown, org.myrobotlab.opencv.OpenCVFilterPyramidDown
09:09:13.512 [python.interpreter.3] INFO c.m.s.OpenCV [OpenCV.java:276] pre setDisplayFilter displayFilterinput
09:09:13.513 [python.interpreter.3] INFO c.m.s.OpenCV [OpenCV.java:278] post setDisplayFilter displayFilterpdown
09:09:13.514 [python.interpreter.3] INFO c.m.o.VideoProcessor [VideoProcessor.java:174] added new filter opencv.pdown2, org.myrobotlab.opencv.OpenCVFilterPyramidDown
09:09:13.518 [python.interpreter.3] INFO c.m.s.OpenCV [OpenCV.java:276] pre setDisplayFilter displayFilterpdown
09:09:13.518 [python.interpreter.3] INFO c.m.s.OpenCV [OpenCV.java:278] post setDisplayFilter displayFilterpdown2
09:09:13.519 [python.interpreter.3] INFO c.m.f.Status [Status.java:83] saving opencv.json
09:09:13.522 [python.interpreter.3] INFO c.m.s.Runtime [Runtime.java:331] Runtime.createService opencv.streamer
09:09:13.524 [python.interpreter.3] INFO c.m.f.Service [Service.java:988] getMessageSet loading 152 non-sub-routable methods
09:09:13.525 [python.interpreter.3] INFO c.m.f.Service [Service.java:733] found reservation exchanging reservedKey opencv.streamer for actual name opencv.streamer
09:09:13.529 [python.interpreter.3] INFO c.m.f.Service [Service.java:368] setting listeningPort
09:09:13.529 [python.interpreter.3] INFO c.m.f.Service [Service.java:368] setting mergeSteams
09:09:13.531 [python.interpreter.3] WARN c.m.f.Service [Service.java:1348] no such method Runtime.registered(VideoStreamer) :  - attempting upcasting
09:09:13.531 [python.interpreter.3] WARN c.m.f.Service [Service.java:1353] ouch! need to search through 251 methods
09:09:13.532 [gui] WARN c.m.f.Service [Service.java:1348] no such method GUIService.registered(VideoStreamer) :  - attempting upcasting
09:09:13.533 [python] WARN c.m.f.Service [Service.java:1348] no such method Python.onRegistered(VideoStreamer) :  - attempting upcasting
09:09:13.534 [webgui] WARN c.m.f.Service [Service.java:1348] no such method WebGui.onRegistered(VideoStreamer) :  - attempting upcasting
09:09:13.534 [gui] WARN c.m.f.Service [Service.java:1353] ouch! need to search through 191 methods
09:09:13.534 [python] WARN c.m.f.Service [Service.java:1353] ouch! need to search through 171 methods
09:09:13.534 [webgui] WARN c.m.f.Service [Service.java:1353] ouch! need to search through 188 methods
09:09:13.535 [python] INFO c.m.s.Python [Python.java:533] exec(String) 
from org.myrobotlab.service import VideoStreamer
opencv_streamer = Runtime.getService("opencv.streamer")
 
 
09:09:13.535 [webgui] INFO c.m.f.Service [Service.java:2002] subscribe [opencv.streamer/publishStatus ---> webgui/onStatus]
09:09:13.536 [webgui] INFO c.m.f.Service [Service.java:2002] subscribe [opencv.streamer/publishState ---> webgui/onState]
09:09:13.549 [python.interpreter.3] INFO c.m.f.Service [Service.java:2002] subscribe [opencv/publishDisplay ---> opencv.streamer/onDisplay]
09:09:13.551 [python.interpreter.3] INFO c.m.o.VideoProcessor [VideoProcessor.java:637] starting capture
09:09:13.552 [opencv_videoProcessor] INFO c.m.o.VideoProcessor [VideoProcessor.java:333] video source is camera
09:09:13.553 [opencv_videoProcessor] INFO c.m.o.VideoProcessor [VideoProcessor.java:360] attempting to get frame grabber org.bytedeco.javacv.OpenCVFrameGrabber format null
09:09:13.557 [opencv_videoProcessor] INFO c.m.o.VideoProcessor [VideoProcessor.java:371] using org.bytedeco.javacv.OpenCVFrameGrabber
09:09:13.558 [AWT-EventQueue-0] INFO c.m.f.Instantiator [Instantiator.java:23] class org.myrobotlab.control.opencv.OpenCVFilterPyramidDownGUI not found
09:09:13.559 [AWT-EventQueue-0] INFO c.m.c.OpenCVGUI [OpenCVGUI.java:472] filter PyramidDown does not have a gui defined
09:09:13.596 [AWT-EventQueue-0] INFO c.m.c.OpenCVGUI [OpenCVGUI.java:859] gui valuechange setting to pdown
09:09:13.597 [opencv] INFO c.m.s.OpenCV [OpenCV.java:276] pre setDisplayFilter displayFilterpdown2
09:09:13.597 [opencv] INFO c.m.s.OpenCV [OpenCV.java:278] post setDisplayFilter displayFilterpdown
09:09:13.603 [AWT-EventQueue-0] INFO c.m.f.Instantiator [Instantiator.java:23] class org.myrobotlab.control.opencv.OpenCVFilterPyramidDownGUI not found
09:09:13.604 [AWT-EventQueue-0] INFO c.m.c.OpenCVGUI [OpenCVGUI.java:472] filter PyramidDown does not have a gui defined
09:09:13.611 [AWT-EventQueue-0] INFO c.m.c.OpenCVGUI [OpenCVGUI.java:859] gui valuechange setting to pdown2
09:09:13.614 [opencv] INFO c.m.s.OpenCV [OpenCV.java:276] pre setDisplayFilter displayFilterpdown
09:09:13.615 [opencv] INFO c.m.s.OpenCV [OpenCV.java:278] post setDisplayFilter displayFilterpdown2
09:09:13.818 [AWT-EventQueue-0] INFO c.m.f.Service [Service.java:2002] subscribe [opencv.streamer/publishStatus ---> gui/getStatus]
09:09:14.582 [opencv_videoProcessor] INFO c.m.o.VideoProcessor [VideoProcessor.java:382] wating 300 ms for camera to warm up
09:09:14.883 [opencv_videoProcessor] INFO c.m.o.VideoProcessor [VideoProcessor.java:395] beginning capture
09:09:37.378 [opencv] INFO c.m.o.VideoProcessor [VideoProcessor.java:174] added new filter opencv.facerec, org.myrobotlab.opencv.OpenCVFilterFaceRecognizer
09:09:37.570 [AWT-EventQueue-0] INFO c.m.c.OpenCVGUI [OpenCVGUI.java:859] gui valuechange setting to facerec
09:09:37.574 [opencv] INFO c.m.s.OpenCV [OpenCV.java:276] pre setDisplayFilter displayFilterpdown2
09:09:37.574 [opencv] INFO c.m.s.OpenCV [OpenCV.java:278] post setDisplayFilter displayFilterfacerec
09:09:55.015 [AWT-EventQueue-0] WARN c.m.o.OpenCVFilter [OpenCVFilterFaceRecognizer.java:167] No image filter file found.  /Users/kyleclinton/Documents/MyRobotLab/src/resource/facerec/Filter.png
09:09:55.016 [AWT-EventQueue-0] INFO c.m.o.OpenCVFilter [OpenCVFilterFaceRecognizer.java:187] Using /Users/kyleclinton/Documents/MyRobotLab/training for training data.
09:09:55.229 [AWT-EventQueue-0] INFO c.m.o.OpenCVFilter [OpenCVFilterFaceRecognizer.java:253] No labeled images loaded. training skipped.
09:10:12.858 [New I/O worker #8] INFO c.m.s.WebGui [WebGui.java:494] POST /api/messages
09:10:14.733 [New I/O worker #8] INFO c.m.n.HttpRequest [HttpRequest.java:203] read 397 bytes
09:10:14.734 [New I/O worker #8] INFO c.m.n.HttpRequest [HttpRequest.java:206] Upload: myrobotlab.log<br />Type: text/plain<br />Size: 44.4443359375 Kb<br />Temp file: /tmp/phplFAVy8<br />User: kyle.clinton<br />
<b>Warning</b>:  mkdir() [<a href='function.mkdir'>function.mkdir</a>]: File exists in <b>/var/www/html/myrobotlab/myrobotlab_log/postLogFile.php</b> on line <b>31</b><br />
Stored in: upload/kyle.clinton/1480000210.myrobotlab.log<p>Message successfully sent!</p>
09:10:14.734 [New I/O worker #8] INFO c.m.s.Runtime [Runtime.java:1933] noWorky successfully sent - our crack team of experts will check it out !

GroG

7 years 4 months ago

Hey Kyle,
I recognize you ! Nice OpenCV is running at least.

Geeze, a Mac ? Seems a bit masochistic, but ok..

Did you make any progress, I saw some comments between kwatters and you but don't know if your still stuck.

Mebbe it recognizes you as "null" .. oh hail the mighty /dev/null ! :)

I am able to train Face Recognition when I run MRL through eclipse, but from the latest build or what was the latest build a few weeks ago 1.0.1786 I am not able to do training.  The interesting difference I see that in the version that works face detect seems to also see eyes and mouth and adds boxes around those as well as my head in the 1786 version I only get outlines square for my head. Not sure if that will lead me to finding the issue or not but that is what I have found so far. I hope to get a little bandwidth to work on this again in the next couple days but since my vacation is over I have a few other priorities taking up my time.   

You have to train at least 2 different faces to work with recognition.

Train another user from picture etc..