2014-02-09 06:27:51 -0600 | received badge | ● Supporter (source) |
2013-09-02 16:48:22 -0600 | received badge | ● Editor (source) |
2013-09-02 10:11:29 -0600 | asked a question | Java multi-thread cascade Hi, I wrote a multi-thread program to run CascadeClassifier.detectmultiscale(). It works fine on my Linux OS, but it crashes on my Windows 7. I am using INTEL core cpu and OpenCV 246. I am new to JNI, could anyone tell me if the DLL is thread safe? How can I fix this? Here is my exeception:
It runs OK at the beginning, but crushes after running 5 or 10 mins. I used to think there is something wrong with my images, but they work fine in Linux OS. Is it safe that multi threads share the same CascadeClassifier?What is the difference between self-built .SO file in Linux and the prebuilt DLL for Windows? Thanks |