reimplemented threading in opencv plugin
updated opencv docs