-
Notifications
You must be signed in to change notification settings - Fork 19
Have you tried using the star-shaped feature points detector ? #4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hi. I have not tried it, since it was probably a lot of work to run that experiment. Is the software available? Can it be built and used without endless pain? If you try it out, let me know what you find! I'm aware of one chessboard detector that's probably better than mrgingham: boofcv. I performed only very limited testing, so maybe I'm wrong. It's a java thing, so I didn't end up using it. |
Hi, @dkogan I used the star detector from here and added some code to convert corners to .vln format. During the experiment, I took 100 shots of the star template, performed the detection with the Star Detector, and converted the result to .vnl format. For calibration I used the command: The program gave the following error: I assumed that the problem may lie in the small number of corners found in the image, and therefore I selected the 5 most successful shots for verification and repeated the calibration. My question is, can the program give that error because of the large number of undetected corners ? |
Hi. Thanks for doing the work to test this! I'm currently improving the documentation, and this data will help me do that. Thanks! The error you're seeing (non-positive-definite JtJ matrix in CHOLMOD) usually results from some variable in the optimization having zero effect on the problem. When the solver sees that, it tries to correct by adding a bit of L2 regularization to pull everything towards 0, but it's not a "fix", and the root cause should be addressed. The tool needs to be clearer about what's happening, and I can sorta improve that. Here's what's happening in your case:
A simple workaround is to disable the outlier rejection: If I do that, the errors go away, but the resulting residuals are very poor: And two more notes:
and
|
I looked deeper into this, and found a bug in my code. This caused issues in the initialization of incomplete chessboard views, which triggered the problem in this report. Fixed here: be69d9e. I'm about to commit another patch to improve diagnostic printing in such cases as well. I'm closing the report. |
Hello @dkogan Detection on image |
Hi. Yes the detection of frame 252 was OK. The problem was caused by the bug that is fixed in the git. What's your experience with the detector? Did it work OK? Can you share the complete set of code you used to run it over your images? Would you mind if I used your |
Hi, @dkogan At the moment I can't check how good this template is. I would like to check, but now I have other tasks. I have a robot manipulator that can help very well in collecting a sample of images, and I will definitely reach this stage soon. My template is printed on plastic and is not perfectly smooth. I can't offer a simple way to work with this template. To run the detector, I used a program from an open repository. To use it, you need to install all the dependencies suggested in the documentation. In the near future, I will rewrite the detector for my project and make it independent of the main program presented in the author's repository. When I manage to implement this, I would be happy to share it with you. |
I really liked your work and your contribution to the calibration of cameras.
I would like to ask about images with incomplete detection, in the documentation you referred to the works of "Thomas Sheps - Why having 10,000 parameters in your camera model is better than twelve", have you tried using their detector to determine corners ?
The text was updated successfully, but these errors were encountered: