Questions tagged [kornia]

8 questions
2
votes
1 answer

Unable to find installation candidates for nvidia-cudnn-cu11 when trying to install kornia

I'm trying to install kornia using poetry. System details Python 3.8.5 (I have to use this version) poetry 1.1.13 (upgrading to v1.2 is not an option) I've previously installed kornia (poetry add kornia) but for some unknown reason I'm now getting…
critor
  • 173
  • 2
  • 11
2
votes
1 answer

How to make SIFT more robust to the transformation of an object on the image?

Based on the tutorial Feature Matching + Homography to find Objects I noted a difficulty of SIFT to adapt to the transformations of an object as the size or the partial obstruction. On the image of the second result we even can see that there is no…
Tim
  • 513
  • 5
  • 20
1
vote
1 answer

AttributeError: module 'kornia' has no attribute 'get_perspective_transform'

i am just get github code and while run it give this error i found for solution and get kornia official code for get perspective transform KORNIA SITE CODE : https://kornia.readthedocs.io/en/v0.5.0/tutorials/warp_perspective.html , error is at…
ketan
  • 163
  • 1
  • 9
0
votes
0 answers

Discrepancy between opecv warpPerspective and kornia warp_perspective

Moving some code from cv2 to kornia to use in torch, and having a discrepancy between the different warp perspective functions. As an example, I am using the following image: Using the following code, made sure to keep the flags and params…
Dinari
  • 2,487
  • 13
  • 28
0
votes
1 answer

How to make kornia HomographyWarper behave like OpenCV warpPerspective?

As the title says, I want to use HomographyWarper from kornia so that it gives the same output as OpenCV warpPerspective. import cv2 import numpy as np import torch from kornia.geometry.transform import HomographyWarper from…
Andreas Ziegler
  • 347
  • 2
  • 12
0
votes
1 answer

Python - Why is my conversion of RGB to YDbDr so pixelated?

So I have this original image: Then I have it's YDbDR conversion: it's separated by red, blue and green channels which I know aren't equivalent to YDbDr, but should give a good general gauge on whether the channels have been converted correctly.…
Gooby
  • 621
  • 2
  • 11
  • 32
0
votes
0 answers

Remove motion blur from fast moving objects

I'm trying to implement a motion deblurring algorithm for fast moving objects (license plates) in a video. What are the state of the art algorithms for doing that? I saw extensive researches on single frame deblurring, and video deblurring for the…
Userulli
  • 244
  • 1
  • 7
0
votes
1 answer

can't import kornia.augmentation.functional

I have installed kornia and imorting it like, from kornia.color import * import kornia.augmentation.functional as F_k import kornia as K but the second line is giving error ModuleNotFoundError: No module named 'kornia.augmentation.functional'.…
doc
  • 828
  • 2
  • 6
  • 18