video_process, threshold value is the mean of neighbourhood area, refer
to opencv's adaptiveThreshold