Online pattern recognition and machine learning techniques for computer-vision: Theory and applications