For calibration to work use the PDF file supplied and attach it to a solid board. And image processing with OpenCV, CUDA, Caffe examples and tutorials written in C++ and Python. Is there another way to get them or am I doing anything complete false from the ground up? I also tried using the images without grayscale but the problem is the same.Ĭhessboard Pdf Open Cv Python. I tried using Images from 500x500 up to 8MP, I sharpened them afterwards, I even used the original Chessboards to get the corners. There are some questions about this problem here on stack overflow but none of the solutions there would work for my problem. The current problem I have is the following: I have the code written down below: import sys import numpy as np import cv2 image = cv2.imread(sys.argv) gray = cv2.cvtColor(image, cv2.COLOR_BGR2GRAY) ret = False ret, corners = cv2.findChessboardCorners(image, (7,6), None) print ret okay so far so good, but it doesn't matter which image I am using my ret variable is turning False every single time, which basically means that there were no corners found. I have to write a camera-calibration an wanted to use python and opencv.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |