Python'da OpenCV kullanarak bir videodan farklı görüntü hızı değişmezlerini (ör. Kıvrılma, ıraksama, deformasyon, vb.) Hesaplamaya çalışıyorum. Bunu yapmak için, uzamsal türevleri optik akışının x, y yönlerinde hesaplamalıyım. Ne yazık ki, OpenCV sadece, türevlerini değil, optik akışı hesaplamak için API'ler tedarik ediyor gibi görünmektedir.
Are there any Python libraries out there for computing spatial derivatives of optical flow? I found this SO question that was somewhat similar Lucas Kanade Optical Flow, Direction Vector, and there is code the person wrote for computing spatial derivatives, but if at all possible I'd love a library rather than writing the code myself. Any suggestions would be appreciated!