print(imgray.shape[:2])
print(maskborder.shape[:2])
result2 = result.copy()
for k in keypoints:
    print(int(k.pt[0]), int(k.pt[1]))
seed_pt = int(k.pt[0]), int(k.pt[1])
cv2.floodFill(result2, maskborder, seed_pt, (0, 255, 0))
cv2.imshow('Result', result2)
cv2.imwrite('result.png', result2)
cv2.waitKey(0)
cv2.destroyAllWindows()
How can I fill arbitrary closed regions in Matplotlib?