customized by yu with opencv4android added