2015-08-05 08:09:59 -0600 | asked a question | Essential matrix 6x3 (expecting 3x3) After calling findEssentialMat() function: I get 6x3 matrix. Next I would like to use recoverPose() function which requires 3x3 essential matrix as an input. Therefore an "assertion fail" error shows up. Why is my essential matrix not 3x3 and what can I do? Console output: |
2015-06-16 07:08:17 -0600 | received badge | ● Enthusiast |
2015-06-09 02:43:16 -0600 | received badge | ● Nice Question (source) |
2015-06-08 08:11:29 -0600 | received badge | ● Student (source) |
2015-06-08 08:08:34 -0600 | received badge | ● Editor (source) |
2015-06-08 08:06:22 -0600 | asked a question | markers detection Greetings everyone! :) I'm working on the solution that will detect markers in the image. I'd like to ask which method available in OpenCV will be a good choice for this task. The detection should be fast enough to work in real time on a modern computer. After a quick research I've decided to use markers similar to those used in car crash-tests. The method should be able to detect multiple markers which are visible from a slight perspective and also with some rotation - just like in the following example: My first idea was to use the cascadeclassifier. I've started with creating positive samples .vec file using: I used "-bgcolor -1 -bgthresh 0" to avoid making any part of the image transparent. Parameters "-maxxangle 0.6 -maxyangle 0.6 -maxzangle 0.2" gives rotation and distortion variance that seems to be quite enough. Negative images dataset was taken from the SUN2012 - I've chosen 1000 images from this set. Then I've done some trainings: and tests, however the results were not satisfying - in example: very low detection rate of markers seen in live camera image. After all, I've also tried training cascadeclassifier to detect my face and in this case results were much better. So my question is whether cascadeclassifier is a good choice for recognizing simple markers? And if yes - what values of the training parameters would give good detection results? Or maybe some other detecting method is better for such task? Thank you in advance for your help. Below is the log from one of many cascade trainings I've done. (more) |