Video tracking can be quite challenging. I compared 3 algorithms based on
OpenCV for a tracking solution:
- Camshift - originally created for face tracking, it locks onto a blob with similar colour. In this case the colours are too similar with the background resulting is appalling performance from camshift.
- Optical Flow - LkDemo shows this technique in use. It works pretty well till an obstruction passes in front of the tracked object clearing all flow points. The flow points then need to be reinitialized.
- Template Tracking - Works much better than the other two. However does not regain lock after obstruction.
No comments:
Post a Comment