I have series of firstperson game screenshots which will be further used for Simultaneous Localization and Mapping. But the thing is, there are elements of interface you cannot hide. So before searching for similar keypints in cosaqutive images I need to delete any found kp in a few regions from x,y to x1,y1. I know how to access coordinates of keypoints and find those you want to delete. But how to actualy do that?
P. S. I am not native speaker.
I don’t see the problem. You said you know how to do it. Then you ask how to do it. But you said you know how to do it already.
I know how to access coordinates of keypoints and find those you want to delete
I am talking JUST about coordinates.
(x,y) = point.pt
this way you can get coordinates and then iterate through all keypoints to get those you want to delete. I dont know how to delete whole entry of a keypoint.
yes, the pt
attribute of a keypoint contains its coordinates.
I still don’t see the issue.
what parts of the Python language have you learned so far?
please show an attempt to solve the task, as a snippet of code. please show where you see the issue, in that piece of code.