2017-03-10 09:58:05 -0600 | commented question | Errors in detectMultiScale() for face detection Are you sure that the constructor and load() are 'mutually exclusive'? because in some cases, only with the constructor, it not works..Is necessary to call load() to load correctly the xml.. |
2017-03-09 03:17:51 -0600 | commented question | Errors in detectMultiScale() for face detection Thank you for the answer,
We can try this way, but what do you think could change? Do you suspect a problem with the Java bindings?
What do you mean for '"configuration"? Because we have built the two opencv versions always in the same way, and the Java code is always the same.. |
2017-03-08 10:36:00 -0600 | received badge | ● Editor (source) |
2017-03-08 08:27:44 -0600 | asked a question | Errors in detectMultiScale() for face detection Hi guys, My research team and i are working on a JRuby multithreaded application, that calls in an on-demand way a simple java class for face-recognition.
About openCV, we have tested the 3.2.0 and 3.1.0 versions, building it with java bindings in the following way:
putting opencv_320.jar in /usr/share/java, and libopencv_java3**.so in /usr/local/lib . The java code is the following ( we use two face-detectors ): The application generates different threads that call the doFaceRec(..) method provided by FaceRecognition class; through a concurrent-lock mechanism we are sure that only one thread per time calls the doFaceRec(..) method. We tested the application on different machines with same conditions and/or parameters, with no errors:
Unfortunately, we had some errors testing the code in other machines:
Without any limitation on the number of used threads, and using both opencv 3.2.0 and opencv 3.1.0 , we have two different errors ( we show only the errors on opencv3.2.0 because those with opencv3.1.0 are the same ): Error 1: (more) |