java - OpenCV classifier file Parsing error -


i receiving following error:

opencv error: parsing error (haarcascade_upperbody.xml(2): name should start letter or underscore) in icvxmlparsetag, file /build/buildd/opencv-2.4.8+dfsg1/modules/core/src/persistence.cpp, line 2140 exception in thread "main" java.lang.reflect.invocationtargetexception     @ sun.reflect.nativemethodaccessorimpl.invoke0(native method)     @ sun.reflect.nativemethodaccessorimpl.invoke(nativemethodaccessorimpl.java:57)     @ sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:43)     @ java.lang.reflect.method.invoke(method.java:606)     @ org.eclipse.jdt.internal.jarinjarloader.jarrsrcloader.main(jarrsrcloader.java:58)     @ sun.reflect.nativemethodaccessorimpl.invoke0(native method)     @ sun.reflect.nativemethodaccessorimpl.invoke(nativemethodaccessorimpl.java:57)     @ sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:43)     @ java.lang.reflect.method.invoke(method.java:606)     @ org.apache.hadoop.util.runjar.run(runjar.java:221)     @ org.apache.hadoop.util.runjar.main(runjar.java:136) caused by: java.lang.runtimeexception: /build/buildd/opencv-2.4.8+dfsg1/modules/core/src/persistence.cpp:2140: error: (-212) upperbody(2): name should start letter or underscore in function icvxmlparsetag      @ com.googlecode.javacv.cpp.opencv_core.cvload(native method)     @ com.googlecode.javacv.cpp.opencv_core.cvload(opencv_core.java:4589) 

this java project. error happens in line:

cvhaarclassifiercascade classifier = new cvhaarclassifiercascade(                 cvload("haarcascade_upperbody.xml")); 

i checked file , there nothing violating "letter or _ rule".


Comments

Popular posts from this blog

javascript - gulp-nodemon - nodejs restart after file change - Error: listen EADDRINUSE events.js:85 -

Fatal Python error: Py_Initialize: unable to load the file system codec. ImportError: No module named 'encodings' -

javascript - oscilloscope of speaker input stops rendering after a few seconds -