Skip to content

Instantly share code, notes, and snippets.

Dmytro Kolesnykov dmtrkl

  • Kyiv, Ukraine
Block or report user

Report or block dmtrkl

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@dmtrkl
dmtrkl / video_track.py
Created Mar 18, 2019
Lucas-Kanade Optical Flow in OpenCV
View video_track.py
import cv2
import numpy as np
cap = cv2.VideoCapture('/home/hydrofire/Study/ITS/Lab5/Material-lab5-2018/motion.avi')
tracking_params = dict(winSize = (10, 10),
maxLevel = 4,
criteria = (cv2.TERM_CRITERIA_EPS | cv2.TERM_CRITERIA_COUNT, 10, 0.03))
feature_params = dict( maxCorners = 50,
You can’t perform that action at this time.