Text this: A Self-Adaptive Parameter Optimization Algorithm in a Real-Time Parallel Image Processing System