Quantcast
Channel: OpenCV Q&A Forum - Latest question feed
Viewing all articles
Browse latest Browse all 19555

Calibration with findCirclesGrid - trouble with pattern width/height

$
0
0
Hi, I'm calibrating a GoPro Hero 4. I have calibrated using chessboard pattern. I would like to see if I can get a better calibration with the circles instead. However I'm having some problems determining the correct width/height. Here is the pattern I'm using (generated with the included gen_pattern.py): ![image description](/upfiles/1466012643341173.png) I'm using command: `findCirclesGrid(img, (width, height), cv2.CALIB_CB_ASYMMETRIC_GRID).` I have tried all possible combinations of any way you could count the width (14 or 7) and height (5 or 10), and any combination of the two. I also tried rotating the image. It detected the pattern in the following settings: Wide image, width=7, height=10: ![image description](/upfiles/14660127065741986.png) Looks correct at first glance, but seeing how the dots connect, it's wrong. Wide image, width=5, height=14: ![image description](/upfiles/14660127552286395.png) Clearly wrong. Tall image, width=7, height=10: ![image description](/upfiles/14660131244419054.png) This is actually correct. Tall image, width=5, height=14: ![image description](/upfiles/14660132033452979.png) Again, clearly wrong. So my questions are: 1. Why is there no correct way to detection the image in the wide orientation? 2. If I then choose the tall orientation of the image, does it only work if I had the actual image printout in the tall orientation, when posing it in front of the camera? It seems somewhat less table to me than the chessboard, but I could be wrong? What am I doing wrong? Thanks in advance.

Viewing all articles
Browse latest Browse all 19555

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>