Multi-threaded OpenCV image analyzing framework