SVM working in real-time