Ask Your Question

lolbylol's profile - activity

2020-03-26 00:49:59 -0600 received badge  Popular Question (source)
2020-02-20 06:56:47 -0600 received badge  Famous Question (source)
2018-07-03 09:06:21 -0600 received badge  Notable Question (source)
2018-01-19 03:28:49 -0600 received badge  Popular Question (source)
2014-08-07 08:06:55 -0600 asked a question Barrel Distortion removal in python opencv

Hi,

I am using OpenCV 2.4.9 with Pyhton 2.7 and I am trying to figure out how I can program to remove the barrel distortion in the image below.

image description

Can you help me writing the program to make it look like: image description

2014-07-28 08:31:24 -0600 received badge  Supporter (source)
2014-06-12 09:01:27 -0600 commented answer How to find the co-ordinates of keypoints in python?

I tried this method but it didn't worked.It comes that pt is not recognised. Do I have to use it with another command? like cv2.keypoint as cv2.Keypoint is also unrecognised.

2014-06-12 05:39:45 -0600 asked a question How to find the co-ordinates of keypoints in python?

Hello,

I am programming in python with OpenCV 2.4.5. My program is as follows:

fast = cv2.FastFeatureDetector()
kp = fast.detect(crop)
img2 = cv2.drawKeypoints(crop, kp, color=(255,0,0))
print kp

Now I would like to find the X and Y co-ordinates from 'kp'. The type of kp is list and the value which is directly printed is '[< KeyPoint 04ACDBD8>]'. Can you please help me finding the co-ordinates.

Thank you.