2015-01-29 12:11:30 -0600 | received badge | ● Student (source) |
2014-05-07 06:16:22 -0600 | received badge | ● Supporter (source) |
2014-05-07 03:44:28 -0600 | answered a question | 2.4.9 Native Android camera S4 still doesn't work I have the same issue with a Nexus 5 |
2014-05-07 02:44:36 -0600 | asked a question | Opencv4Android on Nexus 5, Cannot create OpenGL context When I try to use the VideoCapture native camera it doesn't initialize properly. In the logcat I see: "Cannot create OpenGL context". This error (Cannot create OpenGL context) I also get when I for example create a Mat instance the first time: Mat m = new Mat(500,500,anytype); I have seen that the same (or very similar) problem has existed on Samsung Note and S4 etc so maybe this is the same thing!? I'm running Android 4.4.2 and opencv 2.4.8 (have also tried 2.4.9). Are there any possible work-arounds? |
2014-03-08 01:43:11 -0600 | answered a question | No architectures to compile error when building the framework for IOS maybe you have some special reasons to compile yourself but there is a pre-compiled framework here: http://sourceforge.net/projects/opencvlibrary/files/opencv-ios/2.4.8/opencv2.framework.zip/download which I think is compiled also for 64bit |
2014-03-06 05:20:21 -0600 | answered a question | recompile traincascade to generate opencv_traincascade in linux I have also fiddled with this. I am now using this little script to build it: goto the apps/traincascade folder and run the above. It will generate a "traincascadeLinux" executable. |
2014-03-06 05:14:28 -0600 | asked a question | opencv_traincascade sometimes loops forever (in nextImg()) ? Hello all. I have been using opencv_traincascade a lot. I know that it takes time to train, easilly several days or even a week. I (think) however that sometimes the training gets stuck and never ends. I don't have the full picture of how the training really works in opencv_traincascade but after some analysis I have the feeling that the problem is in CvCascadeImageReader::NegReader::nextImg and/or in combination with CvCascadeClassifier::fillPassedSamples . In CvCascadeImageReader::NegReader::nextImg it seems like there is no "protection" against that the variable "last" just loops around and around without ever finding whatever the code is looking for!!?? It will just pick the same images over and over again in this line: src = imread( imgFilenames[last++], 0 ); So the loop in CvCascadeClassifier::fillPassedSamples will call CvCascadeImageReader::NegReader::nextImg forever!!?? What will stop this loop if the predict(i) call in CvCascadeClassifier::fillPassedSamples never returns 1.0 ? It would be nice if someone with a deep understanding of how the training works could explain the termination criteria in this case! :) Or maybe we have a bug here in the code!!?? Regards, Mats B |
2013-10-16 03:33:21 -0600 | commented answer | Parallelization of linear part of opencv_traincascade hmm this solution do parallelize a part of the code but unfortunately it doesnt seem to help much since the "nature" of that part is such that it doesn't help much, if anything at all :( So, back to the drawingboard... |
2013-10-15 14:58:18 -0600 | received badge | ● Necromancer (source) |
2013-10-15 14:55:36 -0600 | answered a question | Parallelization of linear part of opencv_traincascade I made an attempt to solve this by using parallel_for_ that seems to work. At the top of cascadeclassifier.cpp I added: Then, also in cascadeclassifier.cpp, I updated the I have only tried this on OSX. It seems to work alright and it for sure use all of my cores :) There are however more code that could be paralellized (like in /MB |