Hello community, this is my first post here. I am learning to use OpenCV to help me develop a way to identify video forgeries, such as inter-frame forgery detection. For that, I am using the Gunnar-Farneback method to compute Optical Flow and then following procedures according to this article: Identifying Video Forgery Process Using Optical Flow
The issue is, even though I already learned how to create a process pool in order to distribute processing and enable 100% of my CPU to run my code, it still takes over 30 seconds to process one second of footage. I could exchange my current AMD GPU for a Nvidia one to leverage CUDA, but I would rather avoid the hassle for now if possible.
So my idea now is to use the Lucas-Kanade method instead (as it also recommends in the article above), but from what I’ve seen it does not output the optical flow itself but the position of “Good Points to Track” between frames. Is it possible to calculate the Optical Flow, similar to the output of the Farneback implementation?
I’m sorry if this question is somehow redundant or repeated, but I was unable to find an answer to this by myself.