added new param 'doNotCopyGrayscaleImg' for Detect::setInputFrame