My take on a optical flow visualization on top of a video. Uses background subtraction (OpenCL) to isolate areas with motion, detects features to track (OpenCL), calculates the optical flow (OpenCL), uses nanovg for rendering (OpenGL) and post-processes the video (OpenCL). Decodes/encodes on the GPU (VAAPI).
My take on a optical flow visualization on top of a video. Uses background subtraction (OpenCL) to isolate areas with motion, detects features to track (OpenCL), calculates the optical flow (OpenCL), uses nanovg for rendering (OpenGL) and post-processes the video (OpenCL). Decodes/encodes on the GPU (VAAPI).