process webcam images in a working thread.
increase priority of current thread to reduce instrumentation latency.