jayrambhia / SimpleCV

The Open Source Framework for Machine Vision
http://simplecv.org
BSD 3-Clause "New" or "Revised" License
5 stars 4 forks source link

Bug in LKTracker. #5

Open jayrambhia opened 11 years ago

jayrambhia commented 11 years ago

There is a bug which needs to be fixed in LKTracker. https://github.com/jayrambhia/SimpleCV/blob/develop/SimpleCV/Tracking/LKTracker.py#L142

if not dx or not dy:
    track = LK(img, bb, new_pts)
    return track

This should be LKTrack(img, bb, new_pts)

jayrambhia commented 11 years ago

https://github.com/jayrambhia/SimpleCV/commit/a08cc8e9a0a4d725ed2d6201ba9d79a2a1fb0acd