Ask Your Question

humbleAR's profile - activity

2017-12-11 04:29:25 -0600 received badge  Notable Question (source)
2017-11-28 11:49:41 -0600 received badge  Notable Question (source)
2017-09-29 11:37:06 -0600 received badge  Nice Question (source)
2016-11-28 03:27:42 -0600 received badge  Popular Question (source)
2016-05-29 18:07:50 -0600 received badge  Notable Question (source)
2016-01-02 08:59:41 -0600 received badge  Popular Question (source)
2015-04-15 10:22:39 -0600 received badge  Favorite Question (source)
2014-12-03 11:41:51 -0600 received badge  Popular Question (source)
2014-03-03 03:28:58 -0600 asked a question Best method to detect eyeglasses with OpenCV

Hi everyone,

I'm working on a project that involves several features related to face detection and some face information.

One of the features is detection of eyeglasses. This means that I have to make an algorithme that says YES or NO, the face is wearing glasses. I already have a face detector and eyes detectors that work well. We can see it as a detection problem or a classification problem.

I would like to have your opinion on what you consider as being a good method to solve that problem.

Than you much !

2014-02-28 11:30:02 -0600 asked a question Best method to detect eyeglasses

Hi everyone,

I'm working on a project that involves several features related to face detection and some face information.

One of the features is detection of eyeglasses. This means that I have to make an algorithme that says YES or NO, the face is wearing glasses. I already have a face detector and eyes detectors that work well. We can see it as a detection problem or a classification problem.

I would like to have your opinion on what you consider as being a good method to solve that problem.

Than you much !

2013-12-03 10:04:58 -0600 commented answer Problem with SVM predict on android

Thank you for your answer Alexander. Getting deeper in OpenCV code, it seems that commenting the "clean" in the predict solves this specific problem. I will confirm after some in depth testing.

2013-12-02 11:13:57 -0600 answered a question segmentation fault with CvSVM predict

I have exactly the same problem but I don't see an answer for now.

2013-12-02 11:03:22 -0600 asked a question Problem with SVM predict on android

Hello everyone,

I am working on an application on android that uses CvSVM class of OpenCV. I tested the code on my mac without any problem and it provides quite good results. The training and the detection part work quite fine, I tested them on mac OS and I included it in iOS without any problem.

I spent several weeks trying to include it in an android application using the NDK. Without Success. I first tried some basic opencv examples on android and it worked fine. But when using SVM, I have a SIGSEGV (Segmentation Fault) when it enters the predict (CvSVM::predict). There is a std::bad_alloc log.

Here is the most relevant log I got :

01-01 04:51:08.863: I/stderr(10641): terminate called after throwing an instance of 'std::bad_alloc'
01-01 04:51:08.863: I/stderr(10641):   what():  **std::bad_alloc**
01-01 04:51:08.867: A/libc(10641): **Fatal signal 11 (SIGSEGV)** at 0xdeadbaad (code=1), thread 10641 (mples.tutorial2)
01-01 04:51:09.004: I/DEBUG(91): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
01-01 04:51:09.582: I/DEBUG(91): becc40bc  53fb7451  /data/app-lib/org.opencv.samples.tutorial2-1/**libopencv_java.so (CvSVM::predict(float const*, int, bool) const)**

What I already tried (among other things):

  • reducing image size to see if it is a memory problem
  • verify all the classifiers and dictionary
  • verify that there are actually detected key points

I really got our of ideas of what to try to make it work on android. I don't know if there is some restriction on android that makes it impossible to run. It works on iOS and on my Mac OS but not on android.

Thank you much for reading. Any help or suggestion is welcome.

2013-07-31 21:36:49 -0600 received badge  Taxonomist
2012-10-02 03:41:26 -0600 marked best answer Best features to track fish underwater

Hello everyone,

I am currently working on a project that aims to detect fish and track them in a video. For example, draw a white box around a shark and red one around a Thuna. I have good quality pictures of the fish to track. And I'm trying to know which techniques may help me the best and provide robust tracking results on a video in acceptable response time (1 sec to detect is acceptable). There are some information that I think may be useful for you to help me :

  • Colour should be taken in consideration because some fish species have same shape with different colors;
  • Input video quality is quite good;

I would like to know which features would fit this application. I have thought for example to mix SURF and color image moments. Any ideas are welcome, if you can add examples of working similar application to your ideas, I would greatly appreciate it.

video frame :

image description

image from database: image description

Thank you all.

2012-10-02 03:41:04 -0600 commented answer Best features to track fish underwater

Thanks a lot. Since some time passed, I have read some of the papers related to this project but I didn't read the last one that you give as reference. Thanks also for the very clear reconstruction of their approach. This is one of the most complete answers I have seen on a forum in my life.

2012-08-30 03:01:49 -0600 received badge  Scholar (source)
2012-08-29 10:39:05 -0600 commented answer Is HaarDetectObjects rotation invariant ?

Thanks a lot for the info, very helpful.

2012-08-29 10:12:07 -0600 received badge  Critic (source)
2012-08-29 10:02:09 -0600 commented answer Is HaarDetectObjects rotation invariant ?

For example to detect planes that can be flying or landing or taking off...

2012-08-29 09:59:45 -0600 commented answer Is HaarDetectObjects rotation invariant ?

Interesting, so, is there an alternative to that ? I mean, what to do to have something that is rotation invariant ? and as a bonus symmetry invariant ?

2012-08-29 09:44:54 -0600 asked a question Is HaarDetectObjects rotation invariant ?

Hello everyone,

I understand that the HaarDetectObjects function based on Viola-Jones algorithm takes in consideration different window scales so I guess it is scale invariant. But Nothing being said about rotation invariance, I read that it's possible to make it rotation invariant by choosing the right Haar features (for example 4x rotated features by 45 degrees). But is it done by default in the provided XML file ?

Also, I would like to know, if it is symmetry invariant. For example, training on profiles of people looking to the right will work on people looking to the left ?

Thanks in advance.

2012-08-20 13:15:35 -0600 received badge  Good Question (source)
2012-08-20 04:35:25 -0600 received badge  Supporter (source)
2012-08-17 11:47:26 -0600 commented question Best features to track fish underwater

OK @Rui Marques, I exchanged some mails with the guy who made the app on the video. He says that he simply used this implementation of KLT :

http://www.ces.clemson.edu/~stb/klt/

And just changed parameters and number of tracked points. Sounds almost too easy :D

2012-08-17 11:41:47 -0600 commented question Best features to track fish underwater

You mean that he tracks fish using KLT but he doesn't recognize them ? That's not very useful in our case indeed. It's quite interesting to have your opinion on that because I don't and will not have hundreds of pics of every fish. But I think differences between fish species are bigger than differences between human (same specie) faces. You think it will require how many pics approximatively for every specie ? I wanted also to ask about optical flow, do you think it can be of any use here ? for tracking maybe ?

Anyway, I really like your explanations and advices @sammy.

2012-08-17 11:09:44 -0600 commented question Best features to track fish underwater

Very useful comment @sammy , I guess it's better to use texture descriptors in our case, which one you think might be better here ?